[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/plg_system_jooa11y/js/ -> jooa11y-es5.min.js (source)

   1  !function(){"use strict";function e(e,t,n,r,o,a,i){try{var s=e[a](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function t(t){return function(){var n=this,r=arguments;return new Promise((function(o,a){var i=t.apply(n,r);function s(t){e(i,o,a,s,l,"next",t)}function l(t){e(i,o,a,s,l,"throw",t)}s(void 0)}))}}var n="top",r="bottom",o="right",a="left",i="auto",s=[n,r,o,a],l="start",c="end",u="viewport",d="popper",f=s.reduce((function(e,t){return e.concat([t+"-"+l,t+"-"+c])}),[]),p=[].concat(s,[i]).reduce((function(e,t){return e.concat([t,t+"-"+l,t+"-"+c])}),[]),h=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function g(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function y(e){return e instanceof m(e).Element||e instanceof Element}function b(e){return e instanceof m(e).HTMLElement||e instanceof HTMLElement}function A(e){return"undefined"!=typeof ShadowRoot&&(e instanceof m(e).ShadowRoot||e instanceof ShadowRoot)}var v={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];b(o)&&g(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});b(r)&&g(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function E(e){return e.split("-")[0]}var _=Math.max,j=Math.min,L=Math.round;function I(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(b(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(r=L(n.width)/i||1),a>0&&(o=L(n.height)/a||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function S(e){var t=I(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function T(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&A(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function x(e){return m(e).getComputedStyle(e)}function O(e){return["table","td","th"].indexOf(g(e))>=0}function N(e){return((y(e)?e.ownerDocument:e.document)||window.document).documentElement}function w(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(A(e)?e.host:null)||N(e)}function C(e){return b(e)&&"fixed"!==x(e).position?e.offsetParent:null}function R(e){for(var t=m(e),n=C(e);n&&O(n)&&"static"===x(n).position;)n=C(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===x(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&b(e)&&"fixed"===x(e).position)return null;for(var n=w(e);b(n)&&["html","body"].indexOf(g(n))<0;){var r=x(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function M(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function k(e,t,n){return _(e,j(t,n))}function H(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function G(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function D(e){return e.split("-")[1]}var B={top:"auto",right:"auto",bottom:"auto",left:"auto"};function W(e){var t,i=e.popper,s=e.popperRect,l=e.placement,u=e.variation,d=e.offsets,f=e.position,p=e.gpuAcceleration,h=e.adaptive,g=e.roundOffsets,y=e.isFixed,b=d.x,A=void 0===b?0:b,v=d.y,E=void 0===v?0:v,_="function"==typeof g?g({x:A,y:E}):{x:A,y:E};A=_.x,E=_.y;var j=d.hasOwnProperty("x"),I=d.hasOwnProperty("y"),S=a,T=n,O=window;if(h){var w=R(i),C="clientHeight",M="clientWidth";if(w===m(i)&&"static"!==x(w=N(i)).position&&"absolute"===f&&(C="scrollHeight",M="scrollWidth"),w=w,l===n||(l===a||l===o)&&u===c)T=r,E-=(y&&O.visualViewport?O.visualViewport.height:w[C])-s.height,E*=p?1:-1;if(l===a||(l===n||l===r)&&u===c)S=o,A-=(y&&O.visualViewport?O.visualViewport.width:w[M])-s.width,A*=p?1:-1}var k,H=Object.assign({position:f},h&&B),G=!0===g?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:L(t*r)/r||0,y:L(n*r)/r||0}}({x:A,y:E}):{x:A,y:E};return A=G.x,E=G.y,p?Object.assign({},H,((k={})[T]=I?"0":"",k[S]=j?"0":"",k.transform=(O.devicePixelRatio||1)<=1?"translate("+A+"px, "+E+"px)":"translate3d("+A+"px, "+E+"px, 0)",k)):Object.assign({},H,((t={})[T]=I?E+"px":"",t[S]=j?A+"px":"",t.transform="",t))}var q={passive:!0};var P={left:"right",right:"left",bottom:"top",top:"bottom"};function F(e){return e.replace(/left|right|bottom|top/g,(function(e){return P[e]}))}var U={start:"end",end:"start"};function $(e){return e.replace(/start|end/g,(function(e){return U[e]}))}function K(e){var t=m(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function V(e){return I(N(e)).left+K(e).scrollLeft}function Y(e){var t=x(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function z(e){return["html","body","#document"].indexOf(g(e))>=0?e.ownerDocument.body:b(e)&&Y(e)?e:z(w(e))}function Q(e,t){var n;void 0===t&&(t=[]);var r=z(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=m(r),i=o?[a].concat(a.visualViewport||[],Y(r)?r:[]):r,s=t.concat(i);return o?s:s.concat(Q(w(i)))}function X(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function J(e,t){return t===u?X(function(e){var t=m(e),n=N(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,i=0,s=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,s=r.offsetTop)),{width:o,height:a,x:i+V(e),y:s}}(e)):y(t)?function(e){var t=I(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):X(function(e){var t,n=N(e),r=K(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=_(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=_(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+V(e),l=-r.scrollTop;return"rtl"===x(o||n).direction&&(s+=_(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}(N(e)))}function Z(e,t,n){var r="clippingParents"===t?function(e){var t=Q(w(e)),n=["absolute","fixed"].indexOf(x(e).position)>=0&&b(e)?R(e):e;return y(n)?t.filter((function(e){return y(e)&&T(e,n)&&"body"!==g(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],i=o.reduce((function(t,n){var r=J(e,n);return t.top=_(r.top,t.top),t.right=j(r.right,t.right),t.bottom=j(r.bottom,t.bottom),t.left=_(r.left,t.left),t}),J(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function ee(e){var t,i=e.reference,s=e.element,u=e.placement,d=u?E(u):null,f=u?D(u):null,p=i.x+i.width/2-s.width/2,h=i.y+i.height/2-s.height/2;switch(d){case n:t={x:p,y:i.y-s.height};break;case r:t={x:p,y:i.y+i.height};break;case o:t={x:i.x+i.width,y:h};break;case a:t={x:i.x-s.width,y:h};break;default:t={x:i.x,y:i.y}}var g=d?M(d):null;if(null!=g){var m="y"===g?"height":"width";switch(f){case l:t[g]=t[g]-(i[m]/2-s[m]/2);break;case c:t[g]=t[g]+(i[m]/2-s[m]/2)}}return t}function te(e,t){void 0===t&&(t={});var a=t,i=a.placement,l=void 0===i?e.placement:i,c=a.boundary,f=void 0===c?"clippingParents":c,p=a.rootBoundary,h=void 0===p?u:p,g=a.elementContext,m=void 0===g?d:g,b=a.altBoundary,A=void 0!==b&&b,v=a.padding,E=void 0===v?0:v,_=H("number"!=typeof E?E:G(E,s)),j=m===d?"reference":d,L=e.rects.popper,S=e.elements[A?j:m],T=Z(y(S)?S:S.contextElement||N(e.elements.popper),f,h),x=I(e.elements.reference),O=ee({reference:x,element:L,strategy:"absolute",placement:l}),w=X(Object.assign({},L,O)),C=m===d?w:x,R={top:T.top-C.top+_.top,bottom:C.bottom-T.bottom+_.bottom,left:T.left-C.left+_.left,right:C.right-T.right+_.right},M=e.modifiersData.offset;if(m===d&&M){var k=M[l];Object.keys(R).forEach((function(e){var t=[o,r].indexOf(e)>=0?1:-1,a=[n,r].indexOf(e)>=0?"y":"x";R[e]+=k[a]*t}))}return R}function ne(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?p:c,d=D(r),h=d?l?f:f.filter((function(e){return D(e)===d})):s,g=h.filter((function(e){return u.indexOf(e)>=0}));0===g.length&&(g=h);var m=g.reduce((function(t,n){return t[n]=te(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[E(n)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function re(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function oe(e){return[n,o,r,a].some((function(t){return e[t]>=0}))}function ae(e,t,n){void 0===n&&(n=!1);var r,o,a=b(t),i=b(t)&&function(e){var t=e.getBoundingClientRect(),n=L(t.width)/e.offsetWidth||1,r=L(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=N(t),l=I(e,i),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==g(t)||Y(s))&&(c=(r=t)!==m(r)&&b(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:K(r)),b(t)?((u=I(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=V(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function ie(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var se={placement:"bottom",modifiers:[],strategy:"absolute"};function le(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function ce(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?se:o;return function(e,t,n){void 0===n&&(n=a);var o,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},se,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},a,s.options,o),s.scrollParents={reference:y(e)?Q(e):e.contextElement?Q(e.contextElement):[],popper:Q(t)};var i,c,f=function(e){var t=ie(e);return h.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,s.options.modifiers),c=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=f.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:s,name:t,instance:u,options:r}),i=function(){};l.push(a||i)}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(le(t,n)){s.rects={reference:ae(t,R(n),"fixed"===s.options.strategy),popper:S(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],a=o.fn,i=o.options,l=void 0===i?{}:i,d=o.name;"function"==typeof a&&(s=a({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),c=!0}};if(!le(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var ue=ce({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,s=void 0===i||i,l=m(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,q)})),s&&l.addEventListener("resize",n.update,q),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,q)})),s&&l.removeEventListener("resize",n.update,q)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ee({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,c={placement:E(t.placement),variation:D(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,W(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,W(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},v,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,i=e.name,s=r.offset,l=void 0===s?[0,0]:s,c=p.reduce((function(e,r){return e[r]=function(e,t,r){var i=E(e),s=[a,n].indexOf(i)>=0?-1:1,l="function"==typeof r?r(Object.assign({},t,{placement:e})):r,c=l[0],u=l[1];return c=c||0,u=(u||0)*s,[a,o].indexOf(i)>=0?{x:u,y:c}:{x:c,y:u}}(r,t.rects,l),e}),{}),u=c[t.placement],d=u.x,f=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=f),t.modifiersData[i]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,s=e.options,c=e.name;if(!t.modifiersData[c]._skip){for(var u=s.mainAxis,d=void 0===u||u,f=s.altAxis,p=void 0===f||f,h=s.fallbackPlacements,g=s.padding,m=s.boundary,y=s.rootBoundary,b=s.altBoundary,A=s.flipVariations,v=void 0===A||A,_=s.allowedAutoPlacements,j=t.options.placement,L=E(j),I=h||(L===j||!v?[F(j)]:function(e){if(E(e)===i)return[];var t=F(e);return[$(e),t,$(t)]}(j)),S=[j].concat(I).reduce((function(e,n){return e.concat(E(n)===i?ne(t,{placement:n,boundary:m,rootBoundary:y,padding:g,flipVariations:v,allowedAutoPlacements:_}):n)}),[]),T=t.rects.reference,x=t.rects.popper,O=new Map,N=!0,w=S[0],C=0;C<S.length;C++){var R=S[C],M=E(R),k=D(R)===l,H=[n,r].indexOf(M)>=0,G=H?"width":"height",B=te(t,{placement:R,boundary:m,rootBoundary:y,altBoundary:b,padding:g}),W=H?k?o:a:k?r:n;T[G]>x[G]&&(W=F(W));var q=F(W),P=[];if(d&&P.push(B[M]<=0),p&&P.push(B[W]<=0,B[q]<=0),P.every((function(e){return e}))){w=R,N=!1;break}O.set(R,P)}if(N)for(var U=function(e){var t=S.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return w=t,"break"},K=v?3:1;K>0;K--){if("break"===U(K))break}t.placement!==w&&(t.modifiersData[c]._skip=!0,t.placement=w,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,s=e.name,c=i.mainAxis,u=void 0===c||c,d=i.altAxis,f=void 0!==d&&d,p=i.boundary,h=i.rootBoundary,g=i.altBoundary,m=i.padding,y=i.tether,b=void 0===y||y,A=i.tetherOffset,v=void 0===A?0:A,L=te(t,{boundary:p,rootBoundary:h,padding:m,altBoundary:g}),I=E(t.placement),T=D(t.placement),x=!T,O=M(I),N="x"===O?"y":"x",w=t.modifiersData.popperOffsets,C=t.rects.reference,H=t.rects.popper,G="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,B="number"==typeof G?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,q={x:0,y:0};if(w){if(u){var P,F="y"===O?n:a,U="y"===O?r:o,$="y"===O?"height":"width",K=w[O],V=K+L[F],Y=K-L[U],z=b?-H[$]/2:0,Q=T===l?C[$]:H[$],X=T===l?-H[$]:-C[$],J=t.elements.arrow,Z=b&&J?S(J):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ne=ee[F],re=ee[U],oe=k(0,C[$],Z[$]),ae=x?C[$]/2-z-oe-ne-B.mainAxis:Q-oe-ne-B.mainAxis,ie=x?-C[$]/2+z+oe+re+B.mainAxis:X+oe+re+B.mainAxis,se=t.elements.arrow&&R(t.elements.arrow),le=se?"y"===O?se.clientTop||0:se.clientLeft||0:0,ce=null!=(P=null==W?void 0:W[O])?P:0,ue=K+ie-ce,de=k(b?j(V,K+ae-ce-le):V,K,b?_(Y,ue):Y);w[O]=de,q[O]=de-K}if(f){var fe,pe="x"===O?n:a,he="x"===O?r:o,ge=w[N],me="y"===N?"height":"width",ye=ge+L[pe],be=ge-L[he],Ae=-1!==[n,a].indexOf(I),ve=null!=(fe=null==W?void 0:W[N])?fe:0,Ee=Ae?ye:ge-C[me]-H[me]-ve+B.altAxis,_e=Ae?ge+C[me]+H[me]-ve-B.altAxis:be,je=b&&Ae?function(e,t,n){var r=k(e,t,n);return r>n?n:r}(Ee,ge,_e):k(b?Ee:ye,ge,b?_e:be);w[N]=je,q[N]=je-ge}t.modifiersData[s]=q}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,l=e.name,c=e.options,u=i.elements.arrow,d=i.modifiersData.popperOffsets,f=E(i.placement),p=M(f),h=[a,o].indexOf(f)>=0?"height":"width";if(u&&d){var g=function(e,t){return H("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:G(e,s))}(c.padding,i),m=S(u),y="y"===p?n:a,b="y"===p?r:o,A=i.rects.reference[h]+i.rects.reference[p]-d[p]-i.rects.popper[h],v=d[p]-i.rects.reference[p],_=R(u),j=_?"y"===p?_.clientHeight||0:_.clientWidth||0:0,L=A/2-v/2,I=g[y],T=j-m[h]-g[b],x=j/2-m[h]/2+L,O=k(I,x,T),N=p;i.modifiersData[l]=((t={})[N]=O,t.centerOffset=O-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&T(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=te(t,{elementContext:"reference"}),s=te(t,{altBoundary:!0}),l=re(i,r),c=re(s,o,a),u=oe(l),d=oe(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),de="tippy-content",fe="tippy-arrow",pe="tippy-svg-arrow",he={passive:!0,capture:!0},ge=function(){return document.body};function me(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function ye(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function be(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ae(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function ve(e){return[].concat(e)}function Ee(e,t){-1===e.indexOf(t)&&e.push(t)}function _e(e){return[].slice.call(e)}function je(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Le(){return document.createElement("div")}function Ie(e){return["Element","Fragment"].some((function(t){return ye(e,t)}))}function Se(e){return Ie(e)?[e]:function(e){return ye(e,"NodeList")}(e)?_e(e):Array.isArray(e)?e:_e(document.querySelectorAll(e))}function Te(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function xe(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Oe(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function Ne(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var we={isTouch:!1},Ce=0;function Re(){we.isTouch||(we.isTouch=!0,window.performance&&document.addEventListener("mousemove",Me))}function Me(){var e=performance.now();e-Ce<20&&(we.isTouch=!1,document.removeEventListener("mousemove",Me)),Ce=e}function ke(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var He=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,Ge=Object.assign({appendTo:ge,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),De=Object.keys(Ge);function Be(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,a=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Ge[o])?r:a);return t}),{});return Object.assign({},e,t)}function We(e,t){var n=Object.assign({},t,{content:be(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Be(Object.assign({},Ge,{plugins:t}))):De).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Ge.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function qe(e,t){e.innerHTML=t}function Pe(e){var t=Le();return!0===e?t.className=fe:(t.className=pe,Ie(e)?t.appendChild(e):qe(t,e)),t}function Fe(e,t){Ie(t.content)?(qe(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?qe(e,t.content):e.textContent=t.content)}function Ue(e){var t=e.firstElementChild,n=_e(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(de)})),arrow:n.find((function(e){return e.classList.contains(fe)||e.classList.contains(pe)})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function $e(e){var t=Le(),n=Le();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Le();function o(n,r){var o=Ue(t),a=o.box,i=o.content,s=o.arrow;r.theme?a.setAttribute("data-theme",r.theme):a.removeAttribute("data-theme"),"string"==typeof r.animation?a.setAttribute("data-animation",r.animation):a.removeAttribute("data-animation"),r.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?a.setAttribute("role",r.role):a.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Fe(i,e.props),r.arrow?s?n.arrow!==r.arrow&&(a.removeChild(s),a.appendChild(Pe(r.arrow))):a.appendChild(Pe(r.arrow)):s&&a.removeChild(s)}return r.className=de,r.setAttribute("data-state","hidden"),Fe(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}$e.$$tippy=!0;var Ke=1,Ve=[],Ye=[];function ze(e,t){var n,r,o,a,i,s,l,c,u=We(e,Object.assign({},Ge,Be(je(t)))),d=!1,f=!1,p=!1,h=!1,g=[],m=Ae(V,u.interactiveDebounce),y=Ke++,b=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),A={id:y,reference:e,popper:Le(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:b,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){if(A.state.isDestroyed)return;R("onBeforeUpdate",[A,t]),$();var n=A.props,r=We(e,Object.assign({},n,je(t),{ignoreAttributes:!0}));A.props=r,U(),n.interactiveDebounce!==r.interactiveDebounce&&(H(),m=Ae(V,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?ve(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");k(),C(),_&&_(n,r);A.popperInstance&&(X(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));R("onAfterUpdate",[A,t])},setContent:function(e){A.setProps({content:e})},show:function(){var e=A.state.isVisible,t=A.state.isDestroyed,n=!A.state.isEnabled,r=we.isTouch&&!A.props.touch,o=me(A.props.duration,0,Ge.duration);if(e||t||n||r)return;if(x().hasAttribute("disabled"))return;if(R("onShow",[A],!1),!1===A.props.onShow(A))return;A.state.isVisible=!0,T()&&(E.style.visibility="visible");C(),W(),A.state.isMounted||(E.style.transition="none");if(T()){var a=N(),i=a.box,l=a.content;Te([i,l],0)}s=function(){var e;if(A.state.isVisible&&!h){if(h=!0,E.offsetHeight,E.style.transition=A.props.moveTransition,T()&&A.props.animation){var t=N(),n=t.box,r=t.content;Te([n,r],o),xe([n,r],"visible")}M(),k(),Ee(Ye,A),null==(e=A.popperInstance)||e.forceUpdate(),R("onMount",[A]),A.props.animation&&T()&&function(e,t){P(e,t)}(o,(function(){A.state.isShown=!0,R("onShown",[A])}))}},function(){var e,t=A.props.appendTo,n=x();e=A.props.interactive&&t===ge||"parent"===t?n.parentNode:be(t,[n]);e.contains(E)||e.appendChild(E);A.state.isMounted=!0,X()}()},hide:function(){var e=!A.state.isVisible,t=A.state.isDestroyed,n=!A.state.isEnabled,r=me(A.props.duration,1,Ge.duration);if(e||t||n)return;if(R("onHide",[A],!1),!1===A.props.onHide(A))return;A.state.isVisible=!1,A.state.isShown=!1,h=!1,d=!1,T()&&(E.style.visibility="hidden");if(H(),q(),C(!0),T()){var o=N(),a=o.box,i=o.content;A.props.animation&&(Te([a,i],r),xe([a,i],"hidden"))}M(),k(),A.props.animation?T()&&function(e,t){P(e,(function(){!A.state.isVisible&&E.parentNode&&E.parentNode.contains(E)&&t()}))}(r,A.unmount):A.unmount()},hideWithInteractivity:function(e){O().addEventListener("mousemove",m),Ee(Ve,m),m(e)},enable:function(){A.state.isEnabled=!0},disable:function(){A.hide(),A.state.isEnabled=!1},unmount:function(){A.state.isVisible&&A.hide();if(!A.state.isMounted)return;J(),Z().forEach((function(e){e._tippy.unmount()})),E.parentNode&&E.parentNode.removeChild(E);Ye=Ye.filter((function(e){return e!==A})),A.state.isMounted=!1,R("onHidden",[A])},destroy:function(){if(A.state.isDestroyed)return;A.clearDelayTimeouts(),A.unmount(),$(),delete e._tippy,A.state.isDestroyed=!0,R("onDestroy",[A])}};if(!u.render)return A;var v=u.render(A),E=v.popper,_=v.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+A.id,A.popper=E,e._tippy=A,E._tippy=A;var j=b.map((function(e){return e.fn(A)})),L=e.hasAttribute("aria-expanded");return U(),k(),C(),R("onCreate",[A]),u.showOnCreate&&ee(),E.addEventListener("mouseenter",(function(){A.props.interactive&&A.state.isVisible&&A.clearDelayTimeouts()})),E.addEventListener("mouseleave",(function(){A.props.interactive&&A.props.trigger.indexOf("mouseenter")>=0&&O().addEventListener("mousemove",m)})),A;function I(){var e=A.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===I()[0]}function T(){var e;return!(null==(e=A.props.render)||!e.$$tippy)}function x(){return l||e}function O(){var e,t,n=x().parentNode;return n?null!=(t=ve(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function N(){return Ue(E)}function w(e){return A.state.isMounted&&!A.state.isVisible||we.isTouch||a&&"focus"===a.type?0:me(A.props.delay,e?0:1,Ge.delay)}function C(e){void 0===e&&(e=!1),E.style.pointerEvents=A.props.interactive&&!e?"":"none",E.style.zIndex=""+A.props.zIndex}function R(e,t,n){var r;(void 0===n&&(n=!0),j.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=A.props)[e].apply(r,t)}function M(){var t=A.props.aria;if(t.content){var n="aria-"+t.content,r=E.id;ve(A.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(A.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function k(){!L&&A.props.aria.expanded&&ve(A.props.triggerTarget||e).forEach((function(e){A.props.interactive?e.setAttribute("aria-expanded",A.state.isVisible&&e===x()?"true":"false"):e.removeAttribute("aria-expanded")}))}function H(){O().removeEventListener("mousemove",m),Ve=Ve.filter((function(e){return e!==m}))}function G(t){if(!we.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!A.props.interactive||!Ne(E,n)){if(ve(A.props.triggerTarget||e).some((function(e){return Ne(e,n)}))){if(we.isTouch)return;if(A.state.isVisible&&A.props.trigger.indexOf("click")>=0)return}else R("onClickOutside",[A,t]);!0===A.props.hideOnClick&&(A.clearDelayTimeouts(),A.hide(),f=!0,setTimeout((function(){f=!1})),A.state.isMounted||q())}}}function D(){p=!0}function B(){p=!1}function W(){var e=O();e.addEventListener("mousedown",G,!0),e.addEventListener("touchend",G,he),e.addEventListener("touchstart",B,he),e.addEventListener("touchmove",D,he)}function q(){var e=O();e.removeEventListener("mousedown",G,!0),e.removeEventListener("touchend",G,he),e.removeEventListener("touchstart",B,he),e.removeEventListener("touchmove",D,he)}function P(e,t){var n=N().box;function r(e){e.target===n&&(Oe(n,"remove",r),t())}if(0===e)return t();Oe(n,"remove",i),Oe(n,"add",r),i=r}function F(t,n,r){void 0===r&&(r=!1),ve(A.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),g.push({node:e,eventType:t,handler:n,options:r})}))}function U(){var e;S()&&(F("touchstart",K,{passive:!0}),F("touchend",Y,{passive:!0})),(e=A.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(F(e,K),e){case"mouseenter":F("mouseleave",Y);break;case"focus":F(He?"focusout":"blur",z);break;case"focusin":F("focusout",z)}}))}function $(){g.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),g=[]}function K(e){var t,n=!1;if(A.state.isEnabled&&!Q(e)&&!f){var r="focus"===(null==(t=a)?void 0:t.type);a=e,l=e.currentTarget,k(),!A.state.isVisible&&ye(e,"MouseEvent")&&Ve.forEach((function(t){return t(e)})),"click"===e.type&&(A.props.trigger.indexOf("mouseenter")<0||d)&&!1!==A.props.hideOnClick&&A.state.isVisible?n=!0:ee(e),"click"===e.type&&(d=!n),n&&!r&&te(e)}}function V(e){var t=e.target,n=x().contains(t)||E.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,a=e.props.interactiveBorder,i=o.placement.split("-")[0],s=o.modifiersData.offset;if(!s)return!0;var l="bottom"===i?s.top.y:0,c="top"===i?s.bottom.y:0,u="right"===i?s.left.x:0,d="left"===i?s.right.x:0,f=t.top-r+l>a,p=r-t.bottom-c>a,h=t.left-n+u>a,g=n-t.right-d>a;return f||p||h||g}))}(Z().concat(E).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null})).filter(Boolean),e)&&(H(),te(e))}function Y(e){Q(e)||A.props.trigger.indexOf("click")>=0&&d||(A.props.interactive?A.hideWithInteractivity(e):te(e))}function z(e){A.props.trigger.indexOf("focusin")<0&&e.target!==x()||A.props.interactive&&e.relatedTarget&&E.contains(e.relatedTarget)||te(e)}function Q(e){return!!we.isTouch&&S()!==e.type.indexOf("touch")>=0}function X(){J();var t=A.props,n=t.popperOptions,r=t.placement,o=t.offset,a=t.getReferenceClientRect,i=t.moveTransition,l=T()?Ue(E).arrow:null,c=a?{getBoundingClientRect:a,contextElement:a.contextElement||x()}:e,u=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!i}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(T()){var n=N().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];T()&&l&&u.push({name:"arrow",options:{element:l,padding:3}}),u.push.apply(u,(null==n?void 0:n.modifiers)||[]),A.popperInstance=ue(c,E,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:u}))}function J(){A.popperInstance&&(A.popperInstance.destroy(),A.popperInstance=null)}function Z(){return _e(E.querySelectorAll("[data-tippy-root]"))}function ee(e){A.clearDelayTimeouts(),e&&R("onTrigger",[A,e]),W();var t=w(!0),r=I(),o=r[0],a=r[1];we.isTouch&&"hold"===o&&a&&(t=a),t?n=setTimeout((function(){A.show()}),t):A.show()}function te(e){if(A.clearDelayTimeouts(),R("onUntrigger",[A,e]),A.state.isVisible){if(!(A.props.trigger.indexOf("mouseenter")>=0&&A.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=w(!1);t?r=setTimeout((function(){A.state.isVisible&&A.hide()}),t):o=requestAnimationFrame((function(){A.hide()}))}}else q()}}function Qe(e,t){void 0===t&&(t={});var n=Ge.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Re,he),window.addEventListener("blur",ke);var r=Object.assign({},t,{plugins:n}),o=Se(e).reduce((function(e,t){var n=t&&ze(t,r);return n&&e.push(n),e}),[]);return Ie(e)?o[0]:o}Qe.defaultProps=Ge,Qe.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Ge[t]=e[t]}))},Qe.currentInput=we,Object.assign({},v,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),Qe.setDefaultProps({render:$e});var Xe=function(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML.replaceAll('"',"&quot;").replaceAll("'","&#039;").replaceAll("`","&#x60;")},Je={langStrings:{},addI18n:function(e){this.langStrings=e},_:function(e){return this.translate(e)},sprintf:function(e){for(var t=this._(e),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r&&r.length&&r.forEach((function(e){t=t.replace(/%\([a-zA-z]+\)/,e)})),t},translate:function(e){return this.langStrings[e]||e}},Ze={langCode:"en",checkRoot:"main",readabilityRoot:"main",readabilityLang:"en",containerIgnore:".jooa11y-ignore",outlineIgnore:"",headerIgnore:"",imageIgnore:"",linkIgnore:"",linkIgnoreSpan:"noscript, span.sr-only-example",linksToFlag:"",videoContent:"video, [src*='youtube.com'], [src*='vimeo.com'], [src*='yuja.com'], [src*='panopto.com']",audioContent:"audio, [src*='soundcloud.com'], [src*='simplecast.com'], [src*='podbean.com'], [src*='buzzsprout.com'], [src*='blubrry.com'], [src*='transistor.fm'], [src*='fusebox.fm'], [src*='libsyn.com']",embeddedContent:"",suspiciousAltWords:["image","graphic","picture","photo"],placeholderAltStopWords:["alt","image","photo","decorative","photo","placeholder","placeholder image","spacer","."],partialAltStopWords:["click","click here","click here for more","click here to learn more","click here to learn more.","check out","download","download here","download here.","find out","find out more","find out more.","form","here","here.","info","information","link","learn","learn more","learn more.","learn to","more","page","paper","read more","read","read this","this","this page","this page.","this website","this website.","view","view our","website","."],warningAltWords:["< "," >","click here"],newWindowPhrases:["external","new tab","new window","pop-up","pop up"],fileTypePhrases:["document","pdf","doc","docx","word","mp3","ppt","text","pptx","powerpoint","txt","exe","dmg","rtf","install","windows","macos","spreadsheet","worksheet","csv","xls","xlsx","video","mp4","mov","avi"]};Ze.embeddedContent=Ze.videoContent+", "+Ze.audioContent;var et=function(){function e(e){var n=this;this.checkAll=t(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n.errorCount=0,n.warningCount=0,n.$root=document.querySelector(n.options.checkRoot),n.findElements(),n.checkHeaders(),n.checkLinkText(),n.checkUnderline(),n.checkAltText(),"On"===localStorage.getItem("jooa11y-remember-contrast")&&n.checkContrast(),"On"===localStorage.getItem("jooa11y-remember-labels")&&n.checkLabels(),"On"===localStorage.getItem("jooa11y-remember-links-advanced")&&n.checkLinksAdvanced(),"On"===localStorage.getItem("jooa11y-remember-readability")&&n.checkReadability(),n.checkEmbeddedContent(),n.checkQA(),n.panelActive?n.resetAll():n.updatePanel(),n.initializeTooltips(),n.detectOverflow(),n.nudge(),document.getElementsByClassName("jooa11y-on").length||n.updateBadge();case 19:case"end":return e.stop()}}),e)}))),this.nudge=function(){document.querySelectorAll(".jooa11y-instance, .jooa11y-instance-inline").forEach((function(e){var t=e.nextElementSibling;null!==t&&(t.classList.contains("jooa11y-instance")||t.classList.contains("jooa11y-instance-inline"))&&t.querySelector("button").setAttribute("style","margin: -10px -20px !important;")}))},this.buildPanel=function(){var e=document.getElementById("jooa11y-outline-toggle"),t=document.getElementById("jooa11y-outline-panel"),n=document.getElementById("jooa11y-outline-list"),r=document.getElementById("jooa11y-settings-toggle"),o=document.getElementById("jooa11y-settings-panel"),a=document.getElementById("jooa11y-settings-content"),i=document.querySelectorAll(".jooa11y-heading-label");e.addEventListener("click",(function(){"true"===e.getAttribute("aria-expanded")?(e.classList.remove("jooa11y-outline-active"),t.classList.remove("jooa11y-active"),e.textContent=Je._("SHOW_OUTLINE"),e.setAttribute("aria-expanded","false"),localStorage.setItem("jooa11y-remember-outline","Closed")):(e.classList.add("jooa11y-outline-active"),t.classList.add("jooa11y-active"),e.textContent=Je._("HIDE_OUTLINE"),e.setAttribute("aria-expanded","true"),localStorage.setItem("jooa11y-remember-outline","Opened")),document.querySelector("#jooa11y-outline-header > h2").focus(),i.forEach((function(e){return e.classList.toggle("jooa11y-label-visible")})),o.classList.remove("jooa11y-active"),r.classList.remove("jooa11y-settings-active"),r.setAttribute("aria-expanded","false"),r.textContent=Je._("SHOW_SETTINGS"),n.clientHeight>250&&n.setAttribute("tabindex","0")})),"Opened"===localStorage.getItem("jooa11y-remember-outline")&&(e.classList.add("jooa11y-outline-active"),t.classList.add("jooa11y-active"),e.textContent=Je._("HIDE_OUTLINE"),e.setAttribute("aria-expanded","true"),i.forEach((function(e){return e.classList.toggle("jooa11y-label-visible")})),n.clientHeight>250&&n.setAttribute("tabindex","0")),r.addEventListener("click",(function(){"true"===r.getAttribute("aria-expanded")?(r.classList.remove("jooa11y-settings-active"),o.classList.remove("jooa11y-active"),r.textContent=Je._("SHOW_SETTINGS"),r.setAttribute("aria-expanded","false")):(r.classList.add("jooa11y-settings-active"),o.classList.add("jooa11y-active"),r.textContent=Je._("HIDE_SETTINGS"),r.setAttribute("aria-expanded","true")),document.querySelector("#jooa11y-settings-header > h2").focus(),t.classList.remove("jooa11y-active"),e.classList.remove("jooa11y-outline-active"),e.setAttribute("aria-expanded","false"),e.textContent=Je._("SHOW_OUTLINE"),i.forEach((function(e){return e.classList.remove("jooa11y-label-visible")})),localStorage.setItem("jooa11y-remember-outline","Closed"),a.clientHeight>350&&a.setAttribute("tabindex","0")})),document.getElementById("jooa11y-panel-controls").addEventListener("keydown",(function(e){var t=document.querySelectorAll("#jooa11y-outline-toggle[role=tab], #jooa11y-settings-toggle[role=tab]");if("ArrowRight"===e.key)for(var n=0;n<t.length;n++)if("true"===t[n].getAttribute("aria-expanded")||"false"===t[n].getAttribute("aria-expanded")){t[n+1].focus(),e.preventDefault();break}if("ArrowDown"===e.key)for(var r=0;r<t.length;r++)if("true"===t[r].getAttribute("aria-expanded")||"false"===t[r].getAttribute("aria-expanded")){t[r+1].focus(),e.preventDefault();break}if("ArrowLeft"===e.key)for(var o=t.length-1;o>0;o--)if("true"===t[o].getAttribute("aria-expanded")||"false"===t[o].getAttribute("aria-expanded")){t[o-1].focus(),e.preventDefault();break}if("ArrowUp"===e.key)for(var a=t.length-1;a>0;a--)if("true"===t[a].getAttribute("aria-expanded")||"false"===t[a].getAttribute("aria-expanded")){t[a-1].focus(),e.preventDefault();break}}));var s=document.getElementById("jooa11y-close-alert"),l=document.getElementById("jooa11y-panel-alert"),c=document.getElementById("jooa11y-panel-alert-text"),u=document.getElementById("jooa11y-cycle-toggle");s.addEventListener("click",(function(){for(l.classList.remove("jooa11y-active");c.firstChild;)c.removeChild(c.firstChild);document.querySelectorAll(".jooa11y-pulse-border").forEach((function(e){return e.classList.remove("jooa11y-pulse-border")})),u.focus()}))},this.skipToIssue=function(){var e=0,t=document.querySelectorAll(".jooa11y-btn").length;document.addEventListener("keyup",(function(e){(e.altKey&&"Period"===e.code||"KeyS"==e.code)&&(n(),e.preventDefault())})),document.getElementById("jooa11y-cycle-toggle").addEventListener("click",(function(e){n(),e.preventDefault()}));var n=function(){var n,r=document.querySelectorAll(".jooa11y-btn"),o=document.getElementById("jooa11y-panel-alert"),a=document.getElementById("jooa11y-panel-alert-text"),i=document.getElementById("jooa11y-panel-alert-preview"),s=function(e,t,n){for(;null!==e;){if(window.getComputedStyle(e).getPropertyValue(t)===n)return e;e=e.parentElement}return null},l=function(e){var t=e.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+n}},c=r[e].offsetTop;if(0===c){var u=s(r[e],"display","none");n=l(u.previousElementSibling).top-50}else n=l(r[e]).top-50;c>=0?(setTimeout((function(){window.scrollTo({top:n,behavior:"smooth"})}),1),r.forEach((function(e){var t=s(e,"display","none");null!==t&&t.previousElementSibling.classList.add("jooa11y-pulse-border")})),r[e].focus()):r[e].focus(),0===c?(o.classList.add("jooa11y-active"),a.textContent=""+Je._("PANEL_STATUS_HIDDEN"),i.innerHTML=r[e].getAttribute("data-tippy-content")):c<1&&(o.classList.remove("jooa11y-active"),document.querySelectorAll(".jooa11y-pulse-border").forEach((function(e){return e.classList.remove("jooa11y-pulse-border")}))),(e+=1)>=t&&(e=0)}},this.containerIgnore="",this.imageIgnore="",this.headerIgnore="",this.linkIgnore="",this.options=function(e,t){var n=t?Object.assign(Ze,t):Ze;if(["langCode","checkRoot"].forEach((function(e){if(!n[e])throw new Error("Option ["+e+"] is required")})),n.readabilityRoot||(n.readabilityRoot=n.checkRoot),n.containerIgnore){var r=n.containerIgnore.split(",").map((function(e){return e+" *, "+e}));n.containerIgnore='[aria-hidden="true"], #jooa11y-container *, .jooa11y-instance *, '+r.join(", ")}else n.containerIgnore='[aria-hidden="true"], #jooa11y-container *, .jooa11y-instance *';return e.containerIgnore=n.containerIgnore,e.imageIgnore=e.containerIgnore+', [role="presentation"], [src^="https://trck.youvisit.com"]',n.imageIgnore&&(e.imageIgnore=n.imageIgnore+","+e.imageIgnore),e.headerIgnore=n.containerIgnore,n.headerIgnore&&(e.headerIgnore=n.headerIgnore+","+e.headerIgnore),e.linkIgnore=e.containerIgnore+', [aria-hidden="true"], .anchorjs-link',n.linkIgnore&&(e.linkIgnore=n.linkIgnore+","+e.linkIgnore),n}(this,e);var r=document.createElement("div");r.setAttribute("id","jooa11y-container"),r.setAttribute("role","region"),r.setAttribute("lang",this.options.langCode),r.setAttribute("aria-label",Je._("CONTAINER_LABEL"));var o="On"===localStorage.getItem("jooa11y-remember-contrast"),a="On"===localStorage.getItem("jooa11y-remember-labels"),i="On"===localStorage.getItem("jooa11y-remember-links-advanced"),s="On"===localStorage.getItem("jooa11y-remember-readability");r.innerHTML='<button type="button" aria-expanded="false" id="jooa11y-toggle" aria-describedby="jooa11y-notification-badge" aria-label="'+Je._("MAIN_TOGGLE_LABEL")+'">\n                    <svg role=\'img\' focusable=\'false\' width=\'35px\' height=\'35px\' aria-hidden=\'true\' xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 512 512\'><path fill=\'#ffffff\' d=\'M256 48c114.953 0 208 93.029 208 208 0 114.953-93.029 208-208 208-114.953 0-208-93.029-208-208 0-114.953 93.029-208 208-208m0-40C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 56C149.961 64 64 149.961 64 256s85.961 192 192 192 192-85.961 192-192S362.039 64 256 64zm0 44c19.882 0 36 16.118 36 36s-16.118 36-36 36-36-16.118-36-36 16.118-36 36-36zm117.741 98.023c-28.712 6.779-55.511 12.748-82.14 15.807.851 101.023 12.306 123.052 25.037 155.621 3.617 9.26-.957 19.698-10.217 23.315-9.261 3.617-19.699-.957-23.316-10.217-8.705-22.308-17.086-40.636-22.261-78.549h-9.686c-5.167 37.851-13.534 56.208-22.262 78.549-3.615 9.255-14.05 13.836-23.315 10.217-9.26-3.617-13.834-14.056-10.217-23.315 12.713-32.541 24.185-54.541 25.037-155.621-26.629-3.058-53.428-9.027-82.141-15.807-8.6-2.031-13.926-10.648-11.895-19.249s10.647-13.926 19.249-11.895c96.686 22.829 124.283 22.783 220.775 0 8.599-2.03 17.218 3.294 19.249 11.895 2.029 8.601-3.297 17.219-11.897 19.249z\'/></svg>\n                    <div id="jooa11y-notification-badge">\n                        <span id="jooa11y-notification-count"></span>\n                    </div>\n                </button><div id="jooa11y-panel"><div id="jooa11y-outline-panel" role="tabpanel" aria-labelledby="jooa11y-outline-header">\n                <div id="jooa11y-outline-header" class="jooa11y-header-text">\n                    <h2 tabindex="-1">'+Je._("PAGE_OUTLINE")+'</h2>\n                </div>\n                <div id="jooa11y-outline-content">\n                    <ul id="jooa11y-outline-list"></ul>\n                </div><div id="jooa11y-readability-panel">\n                    <div id="jooa11y-readability-content">\n                        <h2 class="jooa11y-header-text-inline">'+Je._("READABILITY")+'</h2>\n                        <p id="jooa11y-readability-info"></p>\n                        <ul id="jooa11y-readability-details"></ul>\n                    </div>\n                </div>\n            </div><div id="jooa11y-settings-panel" role="tabpanel" aria-labelledby="jooa11y-settings-header">\n                <div id="jooa11y-settings-header" class="jooa11y-header-text">\n                    <h2 tabindex="-1">'+Je._("SETTINGS")+'</h2>\n                </div>\n                <div id="jooa11y-settings-content">\n                    <ul id="jooa11y-settings-options">\n                        <li>\n                            <label id="check-contrast" for="jooa11y-contrast-toggle">'+Je._("CONTRAST")+'</label>\n                            <button id="jooa11y-contrast-toggle"\n                            aria-labelledby="check-contrast"\n                            class="jooa11y-settings-switch"\n                            aria-pressed="'+(o?"true":"false")+'">'+(o?Je._("ON"):Je._("OFF"))+'</button>\n                        </li>\n                        <li>\n                            <label id="check-labels" for="jooa11y-labels-toggle">'+Je._("FORM_LABELS")+'</label>\n                            <button id="jooa11y-labels-toggle" aria-labelledby="check-labels" class="jooa11y-settings-switch"\n                            aria-pressed="'+(a?"true":"false")+'">'+(a?Je._("ON"):Je._("OFF"))+'</button>\n                        </li>\n                        <li>\n                            <label id="check-changerequest" for="jooa11y-links-advanced-toggle">'+Je._("LINKS_ADVANCED")+'<span class="jooa11y-badge">AAA</span></label>\n                            <button id="jooa11y-links-advanced-toggle" aria-labelledby="check-changerequest" class="jooa11y-settings-switch"\n                            aria-pressed="'+(i?"true":"false")+'">'+(i?Je._("ON"):Je._("OFF"))+'</button>\n                        </li>\n                        <li>\n                            <label id="check-readability" for="jooa11y-readability-toggle">'+Je._("READABILITY")+'<span class="jooa11y-badge">AAA</span></label>\n                            <button id="jooa11y-readability-toggle" aria-labelledby="check-readability" class="jooa11y-settings-switch"\n                            aria-pressed="'+(s?"true":"false")+'">'+(s?Je._("ON"):Je._("OFF"))+'</button>\n                        </li>\n                        <li>\n                            <label id="dark-mode" for="jooa11y-theme-toggle">'+Je._("DARK_MODE")+'</label>\n                            <button id="jooa11y-theme-toggle" aria-labelledby="dark-mode" class="jooa11y-settings-switch"></button>\n                        </li>\n                    </ul>\n                </div>\n            </div><div id="jooa11y-panel-alert">\n                <div class="jooa11y-header-text">\n                    <button id="jooa11y-close-alert" class="jooa11y-close-btn" aria-label="'+Je._("ALERT_CLOSE")+'" aria-describedby="jooa11y-alert-heading jooa11y-panel-alert-text"></button>\n                    <h2 id="jooa11y-alert-heading">'+Je._("ALERT_TEXT")+'</h2>\n                </div>\n                <p id="jooa11y-panel-alert-text"></p>\n                <div id="jooa11y-panel-alert-preview"></div>\n            </div><div id="jooa11y-panel-content">\n                <button id="jooa11y-cycle-toggle" type="button" aria-label="'+Je._("SHORTCUT_SR")+'">\n                    <div class="jooa11y-panel-icon"></div>\n                </button>\n                <div id="jooa11y-panel-text"><p id="jooa11y-status" aria-live="polite"></p></div>\n            </div><div id="jooa11y-panel-controls" role="tablist" aria-orientation="horizontal">\n                <button type="button" role="tab" aria-expanded="false" id="jooa11y-outline-toggle" aria-controls="jooa11y-outline-panel">\n                    '+Je._("SHOW_OUTLINE")+'\n                </button>\n                <button type="button" role="tab" aria-expanded="false" id="jooa11y-settings-toggle" aria-controls="jooa11y-settings-panel">\n                    '+Je._("SHOW_SETTINGS")+'\n                </button>\n                <div style="width:35px"></div>\n            </div></div>',document.body.append(r),this.settingPanelToggles(),this.jooa11yMainToggle(),this.sanitizeHTMLandComputeARIA(),this.initializeJumpToIssueTooltip()}var n=e.prototype;return n.jooa11yMainToggle=function(){var e=this,t=document.getElementById("jooa11y-toggle");t.addEventListener("click",(function(n){"Opened"===localStorage.getItem("jooa11y-remember-panel")?(localStorage.setItem("jooa11y-remember-panel","Closed"),t.classList.remove("jooa11y-on"),t.setAttribute("aria-expanded","false"),e.resetAll(),e.updateBadge(),n.preventDefault()):(localStorage.setItem("jooa11y-remember-panel","Opened"),t.classList.add("jooa11y-on"),t.setAttribute("aria-expanded","true"),e.checkAll(),document.getElementById("jooa11y-notification-badge").style.display="none",n.preventDefault())})),"Opened"===localStorage.getItem("jooa11y-remember-panel")&&(t.classList.add("jooa11y-on"),t.setAttribute("aria-expanded","true")),t.classList.contains("jooa11y-on")&&(t.classList.toggle("loading-jooa11y"),t.setAttribute("aria-expanded","true"),setTimeout(this.checkAll,800)),document.onkeydown=function(n){if(("key"in(n=n||window.event)?"Escape"===n.key||"Esc"===n.key:27===n.keyCode)&&document.getElementById("jooa11y-panel").classList.contains("jooa11y-active")&&(t.setAttribute("aria-expanded","false"),t.classList.remove("jooa11y-on"),t.click(),e.resetAll()),n.altKey&&"KeyA"==n.code){var r=document.getElementById("jooa11y-toggle");r.click(),r.focus(),n.preventDefault()}}},n.sanitizeHTMLandComputeARIA=function(){this.computeTextNodeWithImage=function(e){var t=Array.from(e.querySelectorAll("img")),n="";if(0===t.length&&e.textContent.trim().length>1)n=e.textContent.trim();else if(t.length&&0===e.textContent.trim().length){var r=t[0].getAttribute("alt");r&&" "!==r?void 0!==r&&(n=r):n=" "}else t.length&&e.textContent.trim().length&&(t.forEach((function(e){e.insertAdjacentHTML("afterend"," <span class='jooa11y-clone-image-text' aria-hidden='true'>"+t[0].getAttribute("alt")+"</span> ")})),n=e.textContent.trim());return n},this.computeAriaLabel=function(e){if(e.matches("[aria-label]"))return e.getAttribute("aria-label");if(e.matches("[aria-labelledby]")){var t=e.getAttribute("aria-labelledby").split(/\s+/);if(t.length>0){var n="";return t.forEach((function(e){null===document.querySelector("#"+e)?n+=" ":n+=document.querySelector("#"+e).firstChild.nodeValue+" "})),n}return""}if(Array.from(e.children).filter((function(e){return e.matches("[aria-label]")})).length>0)return Array.from(e.children)[0].getAttribute("aria-label");if(Array.from(e.children).filter((function(e){return e.matches("[title]")})).length>0)return Array.from(e.children)[0].getAttribute("title");if(Array.from(e.children).filter((function(e){return e.matches("[aria-labelledby]")})).length>0){var r=Array.from(e.children)[0].getAttribute("aria-labelledby").split(/\s+/);if(r.length>0){var o="";return r.forEach((function(e){null===document.querySelector("#"+e)?o+=" ":o+=document.querySelector("#"+e).firstChild.nodeValue+" "})),o}return""}return"noAria"}},n.settingPanelToggles=function(){var e=this,n=document.getElementById("jooa11y-contrast-toggle");n.onclick=t(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("On"!==localStorage.getItem("jooa11y-remember-contrast")){t.next=9;break}return localStorage.setItem("jooa11y-remember-contrast","Off"),n.textContent=Je._("OFF"),n.setAttribute("aria-pressed","false"),e.resetAll(!1),t.next=7,e.checkAll();case 7:t.next=15;break;case 9:return localStorage.setItem("jooa11y-remember-contrast","On"),n.textContent=Je._("ON"),n.setAttribute("aria-pressed","true"),e.resetAll(!1),t.next=15,e.checkAll();case 15:case"end":return t.stop()}}),t)})));var r=document.getElementById("jooa11y-labels-toggle");r.onclick=t(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("On"!==localStorage.getItem("jooa11y-remember-labels")){t.next=9;break}return localStorage.setItem("jooa11y-remember-labels","Off"),r.textContent=Je._("OFF"),r.setAttribute("aria-pressed","false"),e.resetAll(!1),t.next=7,e.checkAll();case 7:t.next=15;break;case 9:return localStorage.setItem("jooa11y-remember-labels","On"),r.textContent=Je._("ON"),r.setAttribute("aria-pressed","true"),e.resetAll(!1),t.next=15,e.checkAll();case 15:case"end":return t.stop()}}),t)})));var o=document.getElementById("jooa11y-links-advanced-toggle");o.onclick=t(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("On"!==localStorage.getItem("jooa11y-remember-links-advanced")){t.next=9;break}return localStorage.setItem("jooa11y-remember-links-advanced","Off"),o.textContent=Je._("OFF"),o.setAttribute("aria-pressed","false"),e.resetAll(!1),t.next=7,e.checkAll();case 7:t.next=15;break;case 9:return localStorage.setItem("jooa11y-remember-links-advanced","On"),o.textContent=Je._("ON"),o.setAttribute("aria-pressed","true"),e.resetAll(!1),t.next=15,e.checkAll();case 15:case"end":return t.stop()}}),t)})));var a=document.getElementById("jooa11y-readability-toggle");a.onclick=t(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("On"!==localStorage.getItem("jooa11y-remember-readability")){t.next=10;break}return localStorage.setItem("jooa11y-remember-readability","Off"),a.textContent=Je._("OFF"),a.setAttribute("aria-pressed","false"),document.getElementById("jooa11y-readability-panel").classList.remove("jooa11y-active"),e.resetAll(!1),t.next=8,e.checkAll();case 8:t.next=17;break;case 10:return localStorage.setItem("jooa11y-remember-readability","On"),a.textContent=Je._("ON"),a.setAttribute("aria-pressed","true"),document.getElementById("jooa11y-readability-panel").classList.add("jooa11y-active"),e.resetAll(!1),t.next=17,e.checkAll();case 17:case"end":return t.stop()}}),t)}))),"On"===localStorage.getItem("jooa11y-remember-readability")&&document.getElementById("jooa11y-readability-panel").classList.add("jooa11y-active");var i=window.matchMedia("(prefers-color-scheme: dark)"),s=document.getElementById("jooa11y-theme-toggle"),l=document.querySelector("html"),c=localStorage.getItem("jooa11y-remember-theme");i.matches?(s.textContent=Je._("ON"),s.setAttribute("aria-pressed","true")):(s.textContent=Je._("OFF"),s.setAttribute("aria-pressed","false")),i.addEventListener("change",(function(e){e.matches?(l.setAttribute("data-jooa11y-theme","dark"),s.textContent=Je._("ON"),s.setAttribute("aria-pressed","true"),localStorage.setItem("jooa11y-remember-theme","")):(l.setAttribute("data-jooa11y-theme","light"),s.textContent=Je._("OFF"),s.setAttribute("aria-pressed","false"),localStorage.setItem("jooa11y-remember-theme",""))})),s.onclick=t(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"dark"===(t=localStorage.getItem("jooa11y-remember-theme"))?(l.setAttribute("data-jooa11y-theme","light"),localStorage.setItem("jooa11y-remember-theme","light"),s.textContent=Je._("OFF"),s.setAttribute("aria-pressed","false")):"light"===t?(l.setAttribute("data-jooa11y-theme","dark"),localStorage.setItem("jooa11y-remember-theme","dark"),s.textContent=Je._("ON"),s.setAttribute("aria-pressed","true")):i.matches?(l.setAttribute("data-jooa11y-theme","light"),localStorage.setItem("jooa11y-remember-theme","light"),s.textContent=Je._("OFF"),s.setAttribute("aria-pressed","false")):(l.setAttribute("data-jooa11y-theme","dark"),localStorage.setItem("jooa11y-remember-theme","dark"),s.textContent=Je._("OFF"),s.setAttribute("aria-pressed","true"));case 2:case"end":return e.stop()}}),e)}))),"dark"===c?(l.setAttribute("data-jooa11y-theme","dark"),localStorage.setItem("jooa11y-remember-theme","dark"),s.textContent=Je._("ON"),s.setAttribute("aria-pressed","true")):"light"===c&&(l.setAttribute("data-jooa11y-theme","light"),localStorage.setItem("jooa11y-remember-theme","light"),s.textContent=Je._("OFF"),s.setAttribute("aria-pressed","false"))},n.initializeJumpToIssueTooltip=function(){Qe("#jooa11y-cycle-toggle",{content:'<div style="text-align:center">'+Je._("SHORTCUT_TOOLTIP")+' &raquo;<br><span class="jooa11y-shortcut-icon"></span></div>',allowHTML:!0,delay:[900,0],trigger:"mouseenter focusin",arrow:!0,placement:"top",theme:"jooa11y-theme",aria:{content:null,expanded:!1},appendTo:document.body})},n.doInitialCheck=function(){"Closed"!==localStorage.getItem("jooa11y-remember-panel")&&localStorage.getItem("jooa11y-remember-panel")||(this.panelActive=!0,this.checkAll())},n.resetAll=function(e){void 0===e&&(e=!0),this.panelActive=!1,this.clearEverything();var t=document.getElementById("jooa11y-outline-toggle"),n=t.cloneNode(!0);t.parentNode.replaceChild(n,t);var r=document.getElementById("jooa11y-settings-toggle"),o=r.cloneNode(!0);r.parentNode.replaceChild(o,r),document.querySelectorAll(".jooa11y-error-border").forEach((function(e){return e.classList.remove("jooa11y-error-border")})),document.querySelectorAll(".jooa11y-error-text").forEach((function(e){return e.classList.remove("jooa11y-error-text")})),document.querySelectorAll(".jooa11y-warning-border").forEach((function(e){return e.classList.remove("jooa11y-warning-border")})),document.querySelectorAll(".jooa11y-warning-text").forEach((function(e){return e.classList.remove("jooa11y-warning-text")})),document.querySelectorAll("p").forEach((function(e){return e.classList.remove("jooa11y-fake-list")})),document.querySelectorAll(".jooa11y-warning-uppercase").forEach((function(e){return e.outerHTML=e.innerHTML})),document.querySelectorAll(".jooa11y-good-border").forEach((function(e){return e.classList.remove("jooa11y-good-border")})),document.querySelectorAll(".jooa11y-good-text").forEach((function(e){return e.classList.remove("jooa11y-good-text")})),document.querySelectorAll("\n                .jooa11y-instance,\n                .jooa11y-instance-inline,\n                .jooa11y-heading-label,\n                #jooa11y-outline-list li,\n                .jooa11y-readability-period,\n                #jooa11y-readability-info span,\n                #jooa11y-readability-details li,\n                .jooa11y-clone-image-text\n            ").forEach((function(e){return e.parentNode.removeChild(e)})),document.querySelectorAll(".jooa11y-overflow").forEach((function(e){return e.classList.remove("jooa11y-overflow")})),document.querySelectorAll(".jooa11y-fake-heading").forEach((function(e){return e.classList.remove("jooa11y-fake-heading")})),document.querySelectorAll(".jooa11y-pulse-border").forEach((function(e){return e.classList.remove("jooa11y-pulse-border")})),document.querySelector("#jooa11y-panel-alert").classList.remove("jooa11y-active");for(var a=document.querySelector("#jooa11y-panel-alert-text");a.firstChild;)a.removeChild(a.firstChild);for(var i=document.querySelector("#jooa11y-status");i.firstChild;)i.removeChild(i.firstChild);e&&document.querySelector("#jooa11y-panel").classList.remove("jooa11y-active")},n.clearEverything=function(){},n.initializeTooltips=function(){Qe(".jooa11y-btn",{interactive:!0,trigger:"mouseenter click focusin",arrow:!0,delay:[200,0],theme:"jooa11y-theme",placement:"bottom",allowHTML:!0,aria:{content:"describedby"},appendTo:document.body})},n.detectOverflow=function(){document.querySelectorAll(".jooa11y-btn").forEach((function(e){var t=function(e,t,n){for(;null!==e;){if(window.getComputedStyle(e).getPropertyValue(t)===n)return e;e=e.parentElement}return null}(e,"overflow","hidden");null!==t&&t.classList.add("jooa11y-overflow")}))},n.updateBadge=function(){var e=this.errorCount+this.warningCount,t=document.getElementById("jooa11y-notification-badge");0===e?t.style.display="none":(t.style.display="flex",document.getElementById("jooa11y-notification-count").innerHTML=Je.sprintf("PANEL_STATUS_ICON",e))},n.updatePanel=function(){this.panelActive=!0,this.errorCount,this.warningCount,this.buildPanel(),this.skipToIssue();var e=document.getElementById("jooa11y-cycle-toggle");e.disabled=!1,e.setAttribute("style","cursor: pointer !important;"),document.getElementById("jooa11y-panel").classList.add("jooa11y-active");var t=document.getElementById("jooa11y-panel-content"),n=document.getElementById("jooa11y-status"),r=document.querySelectorAll(".jooa11y-btn");this.errorCount>0&&this.warningCount>0?(t.setAttribute("class","jooa11y-errors"),n.textContent=Je.sprintf("PANEL_STATUS_BOTH",this.errorCount,this.warningCount)):this.errorCount>0?(t.setAttribute("class","jooa11y-errors"),n.textContent=Je.sprintf("PANEL_STATUS_ERRORS",this.errorCount)):this.warningCount>0?(t.setAttribute("class","jooa11y-warnings"),n.textContent=Je.sprintf("PANEL_STATUS_WARNINGS",this.warningCount)):(t.setAttribute("class","jooa11y-good"),n.textContent=Je._("PANEL_STATUS_NONE"),0===r.length&&(e.disabled=!0,e.setAttribute("style","cursor: default !important;")))},n.findElements=function(){var e=this,t=Array.from(this.$root.querySelectorAll("h1, h2, h3, h4, h5, h6, [role='heading'][aria-level]")),n=Array.from(this.$root.querySelectorAll("p"));this.$containerExclusions=Array.from(document.querySelectorAll(this.containerIgnore)),this.$h=t.filter((function(t){return!e.$containerExclusions.includes(t)})),this.$p=n.filter((function(t){return!e.$containerExclusions.includes(t)}))},n.checkHeaders=function(){var e,t=this;this.$h.forEach((function(n,r){var o,a=t.computeTextNodeWithImage(n),i=Xe(a);o=n.getAttribute("aria-level")?+n.getAttribute("aria-level"):+n.tagName.slice(1);var s=n.textContent.trim().length,l=null,c=null;if(o-e>1&&0!==r)l=Je.sprintf("HEADING_NON_CONSECUTIVE_LEVEL",e,o);else if(0===n.textContent.trim().length)if(n.querySelectorAll("img").length){var u=n.querySelector("img").getAttribute("alt");void 0!==u&&" "!==u&&""!==u||(l=Je.sprintf("HEADING_EMPTY_WITH_IMAGE",o),n.classList.add("jooa11y-error-text"))}else l=Je.sprintf("HEADING_EMPTY",o),n.classList.add("jooa11y-error-text");else 0===r&&1!==o&&2!==o?l=Je._("HEADING_FIRST"):n.textContent.trim().length>170&&(c=Je._("HEADING_LONG")+" . "+Je.sprintf("HEADING_LONG_INFO",s));e=o;var d="<li class='jooa11y-outline-"+o+"'>\n                <span class='jooa11y-badge'>"+o+"</span>\n                <span class='jooa11y-outline-list-item'>"+i+"</span>\n            </li>",f="<li class='jooa11y-outline-"+o+"'>\n                <span class='jooa11y-badge jooa11y-error-badge'>\n                <span aria-hidden='true'>&#10007;</span>\n                <span class='jooa11y-visually-hidden'>"+Je._("ERROR")+"</span> "+o+"</span>\n                <span class='jooa11y-outline-list-item jooa11y-red-text jooa11y-bold'>"+i+"</span>\n            </li>",p="<li class='jooa11y-outline-"+o+"'>\n                <span class='jooa11y-badge jooa11y-warning-badge'>\n                <span aria-hidden='true'>&#x3f;</span>\n                <span class='jooa11y-visually-hidden'>"+Je._("WARNING")+"</span> "+o+"</span>\n                <span class='jooa11y-outline-list-item jooa11y-yellow-text jooa11y-bold'>"+i+"</span>\n            </li>",h=[];t.options.outlineIgnore&&(h=Array.from(document.querySelectorAll(t.options.outlineIgnore))),h.includes(n)||(n.insertAdjacentHTML("beforeend","<span class='jooa11y-heading-label'>H"+o+"</span>"),null!=l&&n.closest("a")?(t.errorCount++,n.classList.add("jooa11y-error-border"),n.closest("a").insertAdjacentHTML("afterend",t.annotate(Je._("ERROR"),l,!0)),document.querySelector("#jooa11y-outline-list").insertAdjacentHTML("beforeend",f)):null!=l?(t.errorCount++,n.classList.add("jooa11y-error-border"),n.insertAdjacentHTML("beforebegin",t.annotate(Je._("ERROR"),l)),document.querySelector("#jooa11y-outline-list").insertAdjacentHTML("beforeend",f)):null!=c&&n.closest("a")?(t.warningCount++,n.closest("a").insertAdjacentHTML("afterend",t.annotate(Je._("WARNING"),c)),document.querySelector("#jooa11y-outline-list").insertAdjacentHTML("beforeend",p)):null!=c?(n.insertAdjacentHTML("beforebegin",t.annotate(Je._("WARNING"),c)),document.querySelector("#jooa11y-outline-list").insertAdjacentHTML("beforeend",p)):null!=l&&null!=c||document.querySelector("#jooa11y-outline-list").insertAdjacentHTML("beforeend",d))})),0===Array.from(this.$root.querySelectorAll('h1, [role="heading"][aria-level="1"]')).filter((function(e){return!t.$containerExclusions.includes(e)})).length&&(this.errorCount++,document.querySelector("#jooa11y-outline-header").insertAdjacentHTML("afterend","<div class='jooa11y-instance jooa11y-missing-h1'>\n                    <span class='jooa11y-badge jooa11y-error-badge'><span aria-hidden='true'>&#10007;</span><span class='jooa11y-visually-hidden'>"+Je._("ERROR")+"</span></span>\n                    <span class='jooa11y-red-text jooa11y-bold'>"+Je._("PANEL_HEADING_MISSING_ONE")+"</span>\n                </div>"),document.querySelector("#jooa11y-container").insertAdjacentHTML("afterend",this.annotateBanner(Je._("ERROR"),Je._("HEADING_MISSING_ONE"))))},n.checkLinkText=function(){var e=this,t=Array.from(this.$root.querySelectorAll(this.linkIgnore));Array.from(this.$root.querySelectorAll("a[href]")).filter((function(e){return!t.includes(e)})).forEach((function(t){var n=e.computeAriaLabel(t),r=t.getAttribute("aria-labelledby"),o=t.getAttribute("aria-label"),a=t.getAttribute("title"),i=null,s=null,l=null;if(t.children.length){var c=t.children[0];i=c.getAttribute("aria-labelledby"),s=c.getAttribute("aria-label"),l=c.getAttribute("title")}var u,d,f,p,h,g=(u=(f=t,p=e.options.linkIgnoreSpan,h=f.cloneNode(!0),Array.from(p?h.querySelectorAll(p):h.children).forEach((function(e){e.parentElement.removeChild(e)})),h).textContent.trim(),d=[null,null,null],e.options.partialAltStopWords.forEach((function(e){if(u.length===e.length&&u.toLowerCase().indexOf(e)>=0)return d[0]=e,!1})),e.options.warningAltWords.forEach((function(e){if(u.toLowerCase().indexOf(e)>=0)return d[1]=e,!1})),["http",".asp",".htm",".php",".edu/",".com/",".net/",".org/",".us/",".ca/",".de/",".icu/",".uk/",".ru/",".info/",".top/",".xyz/",".tk/",".cn/",".ga/",".cf/",".nl/",".io/"].forEach((function(e){if(u.toLowerCase().indexOf(e)>=0)return d[2]=e,!1})),d);if("noAria"===n&&(n=t.textContent),t.getAttribute("href")&&!t.textContent.trim())if(t.querySelectorAll("img").length);else if(r||o)t.classList.add("jooa11y-good-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("GOOD"),Je.sprintf("LINK_LABEL",n),!0));else if(a){var m=a;t.classList.add("jooa11y-good-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("GOOD"),Je.sprintf("LINK_LABEL",m),!0))}else t.children.length?i||s||l?(t.classList.add("jooa11y-good-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("GOOD"),Je.sprintf("LINK_LABEL",n),!0))):(e.errorCount++,t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("afterend",e.annotate(Je._("ERROR"),Je.sprintf("LINK_EMPTY_LINK_NO_LABEL"),!0))):(e.errorCount++,t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("afterend",e.annotate(Je._("ERROR"),Je._("LINK_EMPTY"),!0)));else null!==g[0]?r?t.insertAdjacentHTML("beforebegin",e.annotate(Je._("GOOD"),Je.sprintf("LINK_LABEL",n),!0)):o?t.insertAdjacentHTML("beforebegin",e.annotate(Je._("GOOD"),Je.sprintf("LINK_LABEL",o),!0)):"true"===t.getAttribute("aria-hidden")&&"-1"===t.getAttribute("tabindex")||(e.errorCount++,t.classList.add("jooa11y-error-text"),t.insertAdjacentHTML("afterend",e.annotate(Je._("ERROR"),Je.sprintf("LINK_STOPWORD",g[0])+' <hr aria-hidden="true"> '+Je._("LINK_STOPWORD_TIP"),!0))):null!==g[1]?(e.warningCount++,t.classList.add("jooa11y-warning-text"),t.insertAdjacentHTML("afterend",e.annotate(Je._("WARNING"),Je.sprintf("LINK_BEST_PRACTICES",g[1])+' <hr aria-hidden="true"> '+Je._("LINK_BEST_PRACTICES_DETAILS"),!0))):null!=g[2]&&n.length>40&&(e.warningCount++,t.classList.add("jooa11y-warning-text"),t.insertAdjacentHTML("afterend",e.annotate(Je._("WARNING"),Je._("LINK_URL")+' <hr aria-hidden="true"> '+Je._("LINK_URL_TIP"),!0)))}))},n.checkLinksAdvanced=function(){var e=this,t=Array.from(this.$root.querySelectorAll(this.linkIgnore+", #jooa11y-container a, .jooa11y-exclude")),n=Array.from(this.$root.querySelectorAll("a[href]")).filter((function(e){return!t.includes(e)})),r={};n.forEach((function(t){var n=e.computeAriaLabel(t);"noAria"===n&&(n=t.textContent);var o=t.matches("\n                    a[href$='.pdf'],\n                    a[href$='.doc'],\n                    a[href$='.zip'],\n                    a[href$='.mp3'],\n                    a[href$='.txt'],\n                    a[href$='.exe'],\n                    a[href$='.dmg'],\n                    a[href$='.rtf'],\n                    a[href$='.pptx'],\n                    a[href$='.ppt'],\n                    a[href$='.xls'],\n                    a[href$='.xlsx'],\n                    a[href$='.csv'],\n                    a[href$='.mp4'],\n                    a[href$='.mov'],\n                    a[href$='.avi']\n                "),a=t.querySelector("img"),i=a&&a.getAttribute("alt")||"",s=n.trim().toLowerCase()+" "+i,l=t.getAttribute("href");0!==n.length&&(r[s]&&0!==s.length?r[l]||(e.warningCount++,t.classList.add("jooa11y-warning-text"),t.insertAdjacentHTML("afterend",e.annotate(Je._("WARNING"),Je._("LINK_IDENTICAL_NAME")+' <hr aria-hidden="true"> '+Je.sprintf("LINK_IDENTICAL_NAME_TIP",n),!0))):(r[s]=!0,r[l]=!0));var c=e.options.newWindowPhrases.some((function(e){return n.toLowerCase().indexOf(e)>=0})),u=e.options.fileTypePhrases.some((function(e){return n.toLowerCase().indexOf(e)>=0}));"_blank"!==t.getAttribute("target")||o||c||(e.warningCount++,t.classList.add("jooa11y-warning-text"),t.insertAdjacentHTML("afterend",e.annotate(Je._("WARNING"),Je._("NEW_TAB_WARNING")+' <hr aria-hidden="true"> '+Je._("NEW_TAB_WARNING_TIP"),!0))),o&&!u&&(e.warningCount++,t.classList.add("jooa11y-warning-text"),t.insertAdjacentHTML("afterend",e.annotate(Je._("WARNING"),Je._("FILE_TYPE_WARNING")+' <hr aria-hidden="true"> '+Je._("FILE_TYPE_WARNING_TIP"),!0)))}))},n.checkUnderline=function(){var e=this;Array.from(this.$root.querySelectorAll("u")).forEach((function(t){e.warningCount++,t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("TEXT_UNDERLINE_WARNING")+' <hr aria-hidden="true"> '+Je._("TEXT_UNDERLINE_WARNING_TIP"),!0))})),Array.from(this.$root.querySelectorAll("h1, h2, h3, h4, h5, h6, p, div, span, li, blockquote")).forEach((function(t){"underline"===getComputedStyle(t).textDecorationLine&&(e.warningCount++,t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("TEXT_UNDERLINE_WARNING")+' <hr aria-hidden="true"> '+Je._("TEXT_UNDERLINE_WARNING_TIP"),!0)))}))},n.checkAltText=function(){var e=this,t=Array.from(this.$root.querySelectorAll("img")),n=Array.from(this.$root.querySelectorAll(this.imageIgnore));t.filter((function(e){return!n.includes(e)})).forEach((function(t){var n=t.getAttribute("alt");if(null===n)t.closest("a[href]")?t.closest("a[href]").textContent.trim().length>1?(t.classList.add("jooa11y-error-border"),t.closest("a[href]").insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je._("MISSING_ALT_LINK_BUT_HAS_TEXT_MESSAGE"),!1,!0))):0===t.closest("a[href]").textContent.trim().length&&(t.classList.add("jooa11y-error-border"),t.closest("a[href]").insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je._("MISSING_ALT_LINK_MESSAGE"),!1,!0))):(t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je._("MISSING_ALT_MESSAGE"),!1,!0)));else{var r=Xe(n),o=function(t){var n=[null,null,null];return[".png",".jpg",".jpeg",".gif",".tiff",".svg"].forEach((function(e){t.toLowerCase().indexOf(e)>=0&&(n[0]=e)})),e.options.suspiciousAltWords.forEach((function(e){t.toLowerCase().indexOf(e)>=0&&(n[1]=e)})),e.options.placeholderAltStopWords.forEach((function(e){t.length===e.length&&t.toLowerCase().indexOf(e)>=0&&(n[2]=e)})),n}(r),a=n.length;if(null!=o[0]&&t.closest("a[href]"))e.errorCount++,t.classList.add("jooa11y-error-border"),t.closest("a[href]").insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je.sprintf("LINK_IMAGE_BAD_ALT_MESSAGE",r,o[0])+' <hr aria-hidden="true"> '+Je._("LINK_IMAGE_BAD_ALT_MESSAGE_INFO"),!1));else if(null!=o[2]&&t.closest("a[href]"))e.errorCount++,t.classList.add("jooa11y-error-border"),t.closest("a[href]").insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je.sprintf("LINK_IMAGE_PLACEHOLDER_ALT_MESSAGE",r),!1,!0));else if(null!=o[1]&&t.closest("a[href]"))e.warningCount++,t.classList.add("jooa11y-warning-border"),t.closest("a[href]").insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je.sprintf("LINK_IMAGE_SUS_ALT_MESSAGE",r,o[1])+' <hr aria-hidden="true"> '+Je.sprintf("LINK_IMAGE_SUS_ALT_MESSAGE_INFO",r),!1));else if(null!=o[0])e.errorCount++,t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je._("LINK_ALT_HAS_BAD_WORD_MESSAGE")+' <hr aria-hidden="true"> '+Je.sprintf("LINK_ALT_HAS_BAD_WORD_MESSAGE_INFO",o[0],r),!1));else if(null!=o[2])e.errorCount++,t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je.sprintf("LINK_ALT_PLACEHOLDER_MESSAGE",r),!1));else if(null!=o[1])e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je.sprintf("LINK_ALT_HAS_SUS_WORD_MESSAGE",r,o[1])+' <hr aria-hidden="true"> '+Je.sprintf("LINK_ALT_HAS_SUS_WORD_MESSAGE_INFO",r),!1));else if(""!==n&&" "!==n||!t.closest("a[href]")){if(n.length>250&&t.closest("a[href]"))e.warningCount++,t.classList.add("jooa11y-warning-border"),t.closest("a[href]").insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("HYPERLINK_ALT_LENGTH_MESSAGE")+' <hr aria-hidden="true"> '+Je.sprintf("HYPERLINK_ALT_LENGTH_MESSAGE_INFO",r,a),!1));else if(""!==n&&t.closest("a[href]")&&0===t.closest("a[href]").textContent.trim().length)e.warningCount++,t.classList.add("jooa11y-warning-border"),t.closest("a[href]").insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("LINK_IMAGE_LINK_ALT_TEXT_MESSAGE")+' <hr aria-hidden="true"> '+Je.sprintf("LINK_IMAGE_LINK_ALT_TEXT_MESSAGE_INFO",r),!1));else if(""!==n&&t.closest("a[href]")&&t.closest("a[href]").textContent.trim().length>1)e.warningCount++,t.classList.add("jooa11y-warning-border"),t.closest("a[href]").insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("LINK_ANCHOR_LINK_AND_ALT_MESSAGE")+' <hr aria-hidden="true"> '+Je.sprintf("LINK_ANCHOR_LINK_AND_ALT_MESSAGE_INFO",r),!1));else if(""===n||" "===n)if(t.closest("figure")){var i=t.closest("figure").querySelector("figcaption");null!==i&&i.textContent.trim().length>=1&&(e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("IMAGE_FIGURE_DECORATIVE")+' <hr aria-hidden="true"> '+Je._("IMAGE_FIGURE_DECORATIVE_INFO"),!1,!0)))}else e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("LINK_DECORATIVE_MESSAGE"),!1,!0));else if(n.length>250)e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("LINK_ALT_TOO_LONG_MESSAGE")+' <hr aria-hidden="true"> '+Je.sprintf("LINK_ALT_TOO_LONG_MESSAGE_INFO",r,a),!1));else if(""!==n)if(t.closest("figure")){var s=t.closest("figure").querySelector("figcaption");null!==s&&s.textContent.trim().toLowerCase===r.trim().toLowerCase&&(e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je.sprintf("IMAGE_FIGURE_DUPLICATE_ALT",r)+' <hr aria-hidden="true"> '+Je._("IMAGE_FIGURE_DECORATIVE_INFO"),!1,!0)))}else t.insertAdjacentHTML("beforebegin",e.annotate(Je._("GOOD"),""+Je.sprintf("LINK_PASS_ALT",r),!1,!0))}else"-1"===t.closest("a[href]").getAttribute("tabindex")&&"true"===t.closest("a[href]").getAttribute("aria-hidden")||("true"===t.closest("a[href]").getAttribute("aria-hidden")?(e.errorCount++,t.classList.add("jooa11y-error-border"),t.closest("a[href]").insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je._("LINK_HYPERLINKED_IMAGE_ARIA_HIDDEN"),!1,!0))):0===t.closest("a[href]").textContent.trim().length?(e.errorCount++,t.classList.add("jooa11y-error-border"),t.closest("a[href]").insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je._("LINK_IMAGE_LINK_NULL_ALT_NO_TEXT_MESSAGE"),!1,!0))):t.closest("a[href]").insertAdjacentHTML("beforebegin",e.annotate(Je._("GOOD"),Je._("LINK_LINK_HAS_ALT_MESSAGE"),!1,!0)))}}))},n.checkLabels=function(){var e=this;Array.from(this.$root.querySelectorAll("input, select, textarea")).filter((function(t){return!(e.$containerExclusions.includes(t)||(n=t,n.getAttribute("hidden")||0===n.offsetWidth&&0===n.offsetHeight||"none"===getComputedStyle(n).getPropertyValue("display")));var n})).forEach((function(t){var n=e.computeAriaLabel(t),r=t.getAttribute("type");if("submit"===r||"button"===r||"hidden"===r);else if("image"===r){var o=t.getAttribute("alt");o&&" "!==o||t.getAttribute("aria-label")||(e.errorCount++,t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("afterend",e.annotate(Je._("ERROR"),Je._("LABELS_MISSING_IMAGE_INPUT_MESSAGE"),!0)))}else if("reset"===r)e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("afterend",e.annotate(Je._("WARNING"),Je._("LABELS_INPUT_RESET_MESSAGE")+' <hr aria-hidden="true"> '+Je._("LABELS_INPUT_RESET_MESSAGE_TIP"),!0));else if(t.getAttribute("aria-label")||t.getAttribute("aria-labelledby")||t.getAttribute("title"))if(t.getAttribute("title")){var a=t.getAttribute("title");e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("afterend",e.annotate(Je._("WARNING"),Je._("LABELS_ARIA_LABEL_INPUT_MESSAGE")+' <hr aria-hidden="true"> '+Je.sprintf("LABELS_ARIA_LABEL_INPUT_MESSAGE_INFO",a),!0))}else e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("afterend",e.annotate(Je._("WARNING"),Je._("LABELS_ARIA_LABEL_INPUT_MESSAGE")+' <hr aria-hidden="true"> '+Je.sprintf("LABELS_ARIA_LABEL_INPUT_MESSAGE_INFO",n),!0));else if(t.closest("label")&&t.closest("label").textContent.trim());else if(t.getAttribute("id")&&Array.from(t.parentElement.children).filter((function(e){return"LABEL"===e.nodeName})).length){var i=Array.from(t.parentElement.children).filter((function(e){return"LABEL"===e.nodeName})),s=!1;i.forEach((function(e){s||e.getAttribute("for")===t.getAttribute("id")&&(s=!0)})),s||(e.errorCount++,t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("afterend",e.annotate(Je._("ERROR"),Je._("LABELS_NO_FOR_ATTRIBUTE_MESSAGE")+' <hr aria-hidden="true"> '+Je.sprintf("LABELS_NO_FOR_ATTRIBUTE_MESSAGE_INFO",t.getAttribute("id")),!0)))}else e.errorCount++,t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("afterend",e.annotate(Je._("ERROR"),Je._("LABELS_MISSING_LABEL_MESSAGE"),!0))}))},n.checkEmbeddedContent=function(){var e=this,t=Array.from(this.$root.querySelectorAll("iframe, audio, video")).filter((function(t){return!e.$containerExclusions.includes(t)}));t.filter((function(t){return t.matches(e.options.videoContent)})).forEach((function(t){var n=t.getElementsByTagName("TRACK");"VIDEO"===t.tagName&&n.length||(e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("EMBED_VIDEO"))))})),t.filter((function(t){return t.matches(e.options.audioContent)})).forEach((function(t){e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("EMBED_AUDIO")))})),t.forEach((function(t){"VIDEO"===t.tagName||"AUDIO"===t.tagName||"true"===t.getAttribute("aria-hidden")||null!==t.getAttribute("hidden")||"none"===t.style.display||"presentation"===t.getAttribute("role")||null!==t.getAttribute("title")&&""!==t.getAttribute("title")||null!==t.getAttribute("aria-label")&&""!==t.getAttribute("aria-label")||null===t.getAttribute("aria-labelledby")&&(t.classList.contains("jooa11y-warning-border")&&t.classList.remove("jooa11y-warning-border"),e.errorCount++,t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je._("EMBED_MISSING_TITLE"))))})),t.filter((function(t){return!t.matches(e.options.embeddedContent)})).forEach((function(t){"VIDEO"===t.tagName||"AUDIO"===t.tagName||"true"===t.getAttribute("aria-hidden")||null!==t.getAttribute("hidden")||"none"===t.style.display||"presentation"===t.getAttribute("role")||"-1"===t.getAttribute("tabindex")||(e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("EMBED_GENERAL_WARNING"))))}))},n.checkQA=function(){var e=this;(this.options.linksToFlag?Array.from(this.$root.querySelectorAll(this.options.linksToFlag)):[]).filter((function(t){return!e.$containerExclusions.includes(t)})).forEach((function(t){e.errorCount++,t.classList.add("jooa11y-error-text"),t.insertAdjacentHTML("afterend",e.annotate(Je._("ERROR"),Je.sprintf("QA_BAD_LINK",t.getAttribute("href")),!0))}));var t=Array.from(this.$root.querySelectorAll('a[href$=".pdf"]')).filter((function(t){return!e.$containerExclusions.includes(t)})),n=t[0],r=t.length;t.length>0&&(this.warningCount++,t.forEach((function(e){e.classList.add("jooa11y-warning-text"),e.querySelector("img")&&e.classList.remove("jooa11y-warning-text")})),n.insertAdjacentHTML("afterend",this.annotate(Je._("WARNING"),Je.sprintf("QA_PDF_COUNT",r),!0))),Array.from(this.$root.querySelectorAll("h1, h2, h3, h4, h5, h6, p, li:not([class^='jooa11y']), blockquote")).filter((function(t){return!e.$containerExclusions.includes(t)})).forEach((function(e){var t=e.innerHTML;e.innerHTML=t.replace(/(?!<a[^>]*?>)(\b[A-Z][',!:A-Z\s]{15,}|\b[A-Z]{15,}\b)(?![^<]*?<\/a>)/g,"<span class='jooa11y-warning-uppercase'>$1</span>")}));var o=document.querySelectorAll(".jooa11y-warning-uppercase");o.forEach((function(t){t.insertAdjacentHTML("afterend",e.annotate(Je._("WARNING"),Je._("QA_UPPERCASE_WARNING"),!0))})),o.length>0&&this.warningCount++,Array.from(this.$root.querySelectorAll("table:not([role='presentation'])")).filter((function(t){return!e.$containerExclusions.includes(t)})).forEach((function(t){var n=t.querySelectorAll("th"),r=t.querySelectorAll("h1, h2, h3, h4, h5, h6");0===n.length&&(e.errorCount++,t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je._("TABLES_MISSING_HEADINGS")))),r.length>0&&(e.errorCount++,r.forEach((function(t){t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je._("TABLES_SEMANTIC_HEADING")+' <hr aria-hidden="true"> '+Je._("TABLES_SEMANTIC_HEADING_INFO")))}))),n.forEach((function(t){0===t.textContent.trim().length&&(e.errorCount++,t.classList.add("jooa11y-error-border"),t.innerHTML=e.annotate(Je._("ERROR"),Je._("TABLES_EMPTY_HEADING")+' <hr aria-hidden="true"> '+Je._("TABLES_EMPTY_HEADING_INFO")))}))}));var a=document.querySelector("html").getAttribute("lang");(!a||a.length<2)&&(this.errorCount++,document.getElementById("jooa11y-container").insertAdjacentHTML("afterend",this.annotateBanner(Je._("ERROR"),Je._("QA_PAGE_LANGUAGE_MESSAGE"))));Array.from(this.$root.querySelectorAll("strong, em")).filter((function(t){return!e.$containerExclusions.includes(t)})).forEach((function(t){t.textContent.trim().length>200&&(e.warningCount++,t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("QA_BAD_ITALICS"))))})),Array.from(this.$root.querySelectorAll("blockquote")).filter((function(t){return!e.$containerExclusions.includes(t)})).forEach((function(t){var n=t.textContent;n.trim().length<25&&(e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je.sprintf("QA_BLOCKQUOTE_MESSAGE",n)+' <hr aria-hidden="true"> '+Je._("QA_BLOCKQUOTE_MESSAGE_TIP"))))})),this.$p.forEach((function(t){var n=t.innerHTML.indexOf("</strong><br>"),r=t.innerHTML.indexOf("<br></strong>");if(t&&t.textContent.trim().length>=300){var o=t.firstChild;if("STRONG"===o.tagName&&(-1!==r||-1!==n)){var a=o.textContent;!t.closest("table")&&a.length<=120&&(o.classList.add("jooa11y-fake-heading","jooa11y-warning-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je.sprintf("QA_FAKE_HEADING",a)+' <hr aria-hidden="true"> '+Je._("QA_FAKE_HEADING_INFO"))))}}if(/^<(strong)>.+<\/\1>$/.test(t.innerHTML.trim())){var i=t.previousElementSibling,s="";if(null!==i&&(s=i.tagName),!t.closest("table")&&t.textContent.length<=120&&"H"!==s.charAt(0)){var l=t.textContent;t.classList.add("jooa11y-fake-heading","jooa11y-warning-border"),t.firstChild.insertAdjacentHTML("afterend",e.annotate(Je._("WARNING"),Je.sprintf("QA_FAKE_HEADING",l)+' <hr aria-hidden="true"> '+Je._("QA_FAKE_HEADING_INFO")))}}})),this.$root.querySelectorAll(".jooa11y-fake-heading").length>0&&this.warningCount++;var i=this.$root.querySelectorAll("[id]"),s={};i.forEach((function(t){var n=t.id;n&&(void 0===s[n]?s[n]=1:(t.classList.add("sa11y-error-border"),t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("QA_DUPLICATE_ID")+'\n\t\t\t\t\t\t\t\t<hr aria-hidden="true">\n\t\t\t\t\t\t\t\t'+Je.sprintf("QA_DUPLICATE_ID_TIP",n),!0))))}));var l="",c={b:"a",B:"A",2:"1"},u=/a\.|a\)|A\.|A\)|1\.|1\)|\*\s|-\s|--|•\s|→\s|✓\s|✔\s|✗\s|✖\s|✘\s|❯\s|›\s|»\s/,d=function(e){return e.replace(/^b|^B|^2/,(function(e){return c[e]}))};this.$p.forEach((function(t){var n=!1,r=t.textContent.substring(0,2);if(r.trim().length>0&&r!==l&&r.match(u)){var o=t.innerHTML.indexOf("<br>");if(-1!==o){var a=t.innerHTML.substring(o+4).trim().substring(0,2);r===d(a)&&(n=!0)}if(!n)if("P"===t.nextElementSibling.nodeName?t.nextElementSibling:null)r===d(t.nextElementSibling.textContent.substring(0,2))&&(n=!0);n?(e.warningCount++,t.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je.sprintf("QA_SHOULD_BE_LIST",r)+' <hr aria-hidden="true"> '+Je._("QA_SHOULD_BE_LIST_TIP"))),t.classList.add("jooa11y-fake-list"),l=r):l=""}else l=""})),this.$root.querySelectorAll(".jooa11y-fake-list").length>0&&this.warningCount++},n.checkContrast=function(){var e=this,t=Array.from(this.$root.querySelectorAll("* > :not(.jooa11y-heading-label)")).filter((function(t){return!e.$containerExclusions.includes(t)})),n={errors:[],warnings:[]},r=t,o={parseRgb:function(e){var t,n,r,o,a;if(n=e.match(/rgb\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*\)/)){for(r=n.slice(1,4),t=o=0;o<=2;t=++o)r[t]=+r[t];r[3]=1}else if(n=e.match(/rgba\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*,\s*([01]|[01]?\.\d+)\)/))for(r=n.slice(1,5),t=a=0;a<=3;t=++a)r[t]=+r[t];return r},relativeLuminance:function(e){for(var t=[],n=0;n<3;n++){var r=e[n]/255;t.push(r<.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrastRatio:function(e,t){var n=o.relativeLuminance(o.parseRgb(e)),r=o.relativeLuminance(o.parseRgb(t));return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},getBackground:function(e){var t=getComputedStyle(e),n=t.backgroundColor,r=t.backgroundImage,a=(o.parseRgb(n)+"").split(",");return a[3]<1&&a[3]>0?"alpha":"rgba(0, 0, 0, 0)"!==n&&"transparent"!==n&&"none"===r&&"0"!==a[3]?n:"none"!==r?"image":"HTML"===e.tagName?"rgb(255, 255, 255)":o.getBackground(e.parentNode)},check:function(){n={errors:[],warnings:[]};for(var e=0;e<r.length;e++)!function(e){if(o){var t,r,a,i=getComputedStyle(e),s=i.color,l=i.fill,c=3*parseInt(i.fontSize)/4,u=i.fontWeight,d=e.tagName,f=o.getBackground(e),p=[].reduce.call(e.childNodes,(function(e,t){return e+(3===t.nodeType?t.textContent:"")}),"").trim();"SVG"===d?(t=Math.round(100*o.contrastRatio(l,f))/100)<3&&(r={elem:e,ratio:t+":1"},n.errors.push(r)):(p.length||"INPUT"===d||"SELECT"===d||"TEXTAREA"===d)&&("image"===f||"alpha"===f?(a={elem:e},n.warnings.push(a)):(t=Math.round(100*o.contrastRatio(s,f))/100,c>=18||c>=14&&u>=700?t<3&&(r={elem:e,ratio:t+":1"},n.errors.push(r)):t<4.5&&(r={elem:e,ratio:t+":1"},n.errors.push(r))))}}(r[e]);return n}};o.check(),n.errors.forEach((function(t){for(var n=t.elem,r=t.ratio,o=n.cloneNode(!0),a=o.querySelectorAll(".jooa11y-heading-label"),i=0;i<a.length;i++)o.removeChild(a[i]);var s=o.textContent;e.errorCount++,"INPUT"===n.tagName?n.insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je._("CONTRAST_ERROR_INPUT_MESSAGE")+'\n                         <hr aria-hidden="true">\n                         '+Je.sprintf("CONTRAST_ERROR_INPUT_MESSAGE_INFO",r),!0)):n.insertAdjacentHTML("beforebegin",e.annotate(Je._("ERROR"),Je.sprintf("CONTRAST_ERROR_MESSAGE",r,s)+'\n                        <hr aria-hidden="true">\n                        '+Je.sprintf("CONTRAST_ERROR_MESSAGE_INFO",r,s),!0))})),n.warnings.forEach((function(t){for(var n=t.elem,r=n.cloneNode(!0),o=r.querySelectorAll(".jooa11y-heading-label"),a=0;a<o.length;a++)r.removeChild(o[a]);var i=r.textContent;e.warningCount++,n.insertAdjacentHTML("beforebegin",e.annotate(Je._("WARNING"),Je._("CONTRAST_WARNING_MESSAGE")+' <hr aria-hidden="true"> '+Je.sprintf("CONTRAST_WARNING_MESSAGE_INFO",i),!0))}))},n.checkReadability=function(){var e=this,t=document.querySelector(this.options.readabilityRoot),n=Array.from(t.querySelectorAll("p, li")).filter((function(t){return!e.$containerExclusions.includes(t)}));function r(e){if((e=e.toLowerCase().replace(".","").replace("\n","")).length<=3)return 1;var t=(e=(e=e.replace(/(?:[^laeiouy]es|ed|[^laeiouy]e)$/,"")).replace(/^y/,"")).match(/[aeiouy]{1,2}/g),n=0;return t&&(n=t.length),n}n.forEach((function(e){var t=e.textContent;t.length>=120&&"."!==t.charAt(t.length-1)&&e.insertAdjacentHTML("beforeend","<span class='jooa11y-readability-period jooa11y-visually-hidden'>.</span>")}));for(var o=[],a=0;a<n.length;a++){var i=n[a];""!==i.textContent.replace(/ |\n/g,"")&&o.push(i.textContent)}for(var s=o.join(" ").trim().toString(),l=s.replace(/[.!?-]+/g," ").split(" "),c=0,u=0;u<l.length;u++)0!=l[u]&&(c+=1);for(var d=s.split(/[.!?]+/),f=0,p=0;p<d.length;p++)""!==d[p]&&(f+=1);for(var h,g=0,m=0,y=0,b=0;b<l.length;b++)if(0!=l[b]){var A=r(l[b]);1===A&&(m+=1),2===A&&(y+=1),g+=A}"en"===this.options.readabilityLang?h=206.835-1.015*c/f-84.6*g/c:"fr"===this.options.readabilityLang?h=207-1.015*c/f-73.6*g/c:"es"===this.options.readabilityLang&&(h=206.84-1.02*c/f-100*g/c*.6),h>100?h=100:h<0&&(h=0);var v=document.getElementById("jooa11y-readability-info");if(0===s.length)v.innerHTML=Je._("READABILITY_NO_P_OR_LI_MESSAGE");else if(c>30){var E=h.toFixed(1),_=(c/f).toFixed(1),j=Math.round((c-(m+y))/c*100);v.innerHTML=E>=0&&E<30?"<span>"+E+'</span> <span class="jooa11y-readability-score">'+Je._("VERY_DIFFICULT_READABILITY")+"</span>":E>31&&E<49?"<span>"+E+'</span> <span class="jooa11y-readability-score">'+Je._("DIFFICULT_READABILITY")+"</span>":E>50&&E<60?"<span>"+E+'</span> <span class="jooa11y-readability-score">'+Je._("FAIRLY_DIFFICULT_READABILITY")+"</span>":"<span>"+E+'</span> <span class="jooa11y-readability-score">'+Je._("GOOD_READABILITY")+"</span>",document.getElementById("jooa11y-readability-details").innerHTML="<li><span class='jooa11y-bold'>"+Je._("AVG_WORD_PER_SENTENCE")+"</span> "+_+"</li>\n                <li><span class='jooa11y-bold'>"+Je._("COMPLEX_WORDS")+"</span> "+j+"%</li>\n                <li><span class='jooa11y-bold'>"+Je._("TOTAL_WORDS")+"</span> "+c+"</li>"}else v.textContent=Je._("READABILITY_NOT_ENOUGH_CONTENT_MESSAGE")},n.annotate=function(e,t,n){var r;void 0===n&&(n=!1);var o=[Je._("ERROR"),Je._("WARNING"),Je._("GOOD")];if(-1===o.indexOf(e))throw Error("Invalid type ["+e+"] for annotation");var a=((r={})[o[0]]="error",r[o[1]]="warning",r[o[2]]="good",r);return t&&"[object Function]"==={}.toString.call(t)&&(t=t()),t=Xe(t),"\n        <div class="+(n?"jooa11y-instance-inline":"jooa11y-instance")+'>\n            <button\n            type="button"\n            aria-label="'+[e]+'"\n            class="jooa11y-btn jooa11y-'+a[e]+"-btn"+(n?"-text":"")+'"\n            data-tippy-content="<div lang=\''+this.options.langCode+"'>\n                <div class='jooa11y-header-text'>"+[e]+"</div>\n                "+t+'\n            </div>\n        ">\n        </button>\n        </div>'},n.annotateBanner=function(e,t){var n,r=[Je._("ERROR"),Je._("WARNING"),Je._("GOOD")];if(-1===r.indexOf(e))throw Error("Invalid type ["+e+"] for annotation");var o=((n={})[r[0]]="error",n[r[1]]="warning",n[r[2]]="good",n);return t&&"[object Function]"==={}.toString.call(t)&&(t=t()),'<div class="jooa11y-instance jooa11y-'+o[e]+'-message-container">\n      <div role="region" aria-label="'+[e]+'" class="jooa11y-'+o[e]+'-message" lang="'+this.options.langCode+'">\n          '+t+"\n      </div>\n  </div>"},e}();if(!Joomla)throw new Error("Joomla API is not properly initialised");Je.translate=function(e){return Joomla.Text._("PLG_SYSTEM_JOOA11Y_"+e,e)};var tt=Joomla.getOptions("jooa11yOptions");window.addEventListener("load",(function(){new et(tt).doInitialCheck()}))}();


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer