CoreFiles by mySites.guru
jooa11y-es5.min.js1 lines, 102,471 bytes, from Joomla_4.3.2-Stable-Full_Package.zip
Raw History Compare with 4.3.1
md5
2cd6d073a3389eaecccf9d1d050f88a1
sha1
83c111eb30b6940e2884e43507bc94e8b289bfc2
sha256
5153ee3152a8563db4729760eaca4690eb1d0dfce2f316fe8d4a5926a4deb2fd
!function(){"use strict";function e(){e=function(){return t};var t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var a=t&&t.prototype instanceof p?t:p,i=Object.create(a.prototype),s=new x(r||[]);return o(i,"_invoke",{value:_(e,n,s)}),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f={};function p(){}function h(){}function g(){}var m={};c(m,i,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(S([])));b&&b!==n&&r.call(b,i)&&(m=b);var v=g.prototype=p.prototype=Object.create(m);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,a,i,s){var l=d(e[o],e,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var a;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return a=a?a.then(o,o):o()}})}function _(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return T()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var s=L(i,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function L(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,L(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function S(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:T}}function T(){return{value:void 0,done:!0}}return h.prototype=g,o(v,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:h,configurable:!0}),h.displayName=c(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,l,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},A(E.prototype),c(E.prototype,s,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new E(u(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},A(v),c(v,l,"Generator"),c(v,i,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=S,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(I),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function t(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 n(e){return function(){var n=this,r=arguments;return new Promise((function(o,a){var i=e.apply(n,r);function s(e){t(i,o,a,s,l,"next",e)}function l(e){t(i,o,a,s,l,"throw",e)}s(void 0)}))}}var r="top",o="bottom",a="right",i="left",s="auto",l=[r,o,a,i],c="start",u="end",d="clippingParents",f="viewport",p="popper",h="reference",g=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),m=[].concat(l,[s]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),y=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function b(e){return e?(e.nodeName||"").toLowerCase():null}function v(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function A(e){return e instanceof v(e).Element||e instanceof Element}function E(e){return e instanceof v(e).HTMLElement||e instanceof HTMLElement}function _(e){return"undefined"!=typeof ShadowRoot&&(e instanceof v(e).ShadowRoot||e instanceof ShadowRoot)}var L={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];E(o)&&b(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}),{});E(r)&&b(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function j(e){return e.split("-")[0]}var I=Math.max,x=Math.min,S=Math.round;function T(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(E(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(r=S(n.width)/i||1),a>0&&(o=S(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 w(e){var t=T(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 O(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function N(e){return v(e).getComputedStyle(e)}function C(e){return["table","td","th"].indexOf(b(e))>=0}function R(e){return((A(e)?e.ownerDocument:e.document)||window.document).documentElement}function M(e){return"html"===b(e)?e:e.assignedSlot||e.parentNode||(_(e)?e.host:null)||R(e)}function k(e){return E(e)&&"fixed"!==N(e).position?e.offsetParent:null}function H(e){for(var t=v(e),n=k(e);n&&C(n)&&"static"===N(n).position;)n=k(n);return n&&("html"===b(n)||"body"===b(n)&&"static"===N(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&E(e)&&"fixed"===N(e).position)return null;for(var n=M(e);E(n)&&["html","body"].indexOf(b(n))<0;){var r=N(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 G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function D(e,t,n){return I(e,x(t,n))}function B(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function P(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var W=function(e,t){return B("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:P(e,l))};var q={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,s=e.name,l=e.options,c=n.elements.arrow,u=n.modifiersData.popperOffsets,d=j(n.placement),f=G(d),p=[i,a].indexOf(d)>=0?"height":"width";if(c&&u){var h=W(l.padding,n),g=w(c),m="y"===f?r:i,y="y"===f?o:a,b=n.rects.reference[p]+n.rects.reference[f]-u[f]-n.rects.popper[p],v=u[f]-n.rects.reference[f],A=H(c),E=A?"y"===f?A.clientHeight||0:A.clientWidth||0:0,_=b/2-v/2,L=h[m],I=E-g[p]-h[y],x=E/2-g[p]/2+_,S=D(L,x,I),T=f;n.modifiersData[s]=((t={})[T]=S,t.centerOffset=S-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)))&&O(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function F(e){return e.split("-")[1]}var U={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(e){var t,n=e.popper,s=e.popperRect,l=e.placement,c=e.variation,d=e.offsets,f=e.position,p=e.gpuAcceleration,h=e.adaptive,g=e.roundOffsets,m=e.isFixed,y=d.x,b=void 0===y?0:y,A=d.y,E=void 0===A?0:A,_="function"==typeof g?g({x:b,y:E}):{x:b,y:E};b=_.x,E=_.y;var L=d.hasOwnProperty("x"),j=d.hasOwnProperty("y"),I=i,x=r,T=window;if(h){var w=H(n),O="clientHeight",C="clientWidth";if(w===v(n)&&"static"!==N(w=R(n)).position&&"absolute"===f&&(O="scrollHeight",C="scrollWidth"),l===r||(l===i||l===a)&&c===u)x=o,E-=(m&&T.visualViewport?T.visualViewport.height:w[O])-s.height,E*=p?1:-1;if(l===i||(l===r||l===o)&&c===u)I=a,b-=(m&&T.visualViewport?T.visualViewport.width:w[C])-s.width,b*=p?1:-1}var M,k=Object.assign({position:f},h&&U),G=!0===g?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:S(t*r)/r||0,y:S(n*r)/r||0}}({x:b,y:E}):{x:b,y:E};return b=G.x,E=G.y,p?Object.assign({},k,((M={})[x]=j?"0":"",M[I]=L?"0":"",M.transform=(T.devicePixelRatio||1)<=1?"translate("+b+"px, "+E+"px)":"translate3d("+b+"px, "+E+"px, 0)",M)):Object.assign({},k,((t={})[x]=j?E+"px":"",t[I]=L?b+"px":"",t.transform="",t))}var K={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:j(t.placement),variation:F(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,$(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,$(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={passive:!0};var Y={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=v(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,V)})),s&&l.addEventListener("resize",n.update,V),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,V)})),s&&l.removeEventListener("resize",n.update,V)}},data:{}},z={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,(function(e){return z[e]}))}var X={start:"end",end:"start"};function J(e){return e.replace(/start|end/g,(function(e){return X[e]}))}function Z(e){var t=v(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ee(e){return T(R(e)).left+Z(e).scrollLeft}function te(e){var t=N(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ne(e){return["html","body","#document"].indexOf(b(e))>=0?e.ownerDocument.body:E(e)&&te(e)?e:ne(M(e))}function re(e,t){var n;void 0===t&&(t=[]);var r=ne(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=v(r),i=o?[a].concat(a.visualViewport||[],te(r)?r:[]):r,s=t.concat(i);return o?s:s.concat(re(M(i)))}function oe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ae(e,t){return t===f?oe(function(e){var t=v(e),n=R(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+ee(e),y:s}}(e)):A(t)?function(e){var t=T(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):oe(function(e){var t,n=R(e),r=Z(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=I(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=I(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+ee(e),l=-r.scrollTop;return"rtl"===N(o||n).direction&&(s+=I(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}(R(e)))}function ie(e,t,n){var r="clippingParents"===t?function(e){var t=re(M(e)),n=["absolute","fixed"].indexOf(N(e).position)>=0&&E(e)?H(e):e;return A(n)?t.filter((function(e){return A(e)&&O(e,n)&&"body"!==b(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],i=o.reduce((function(t,n){var r=ae(e,n);return t.top=I(r.top,t.top),t.right=x(r.right,t.right),t.bottom=x(r.bottom,t.bottom),t.left=I(r.left,t.left),t}),ae(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 se(e){var t,n=e.reference,s=e.element,l=e.placement,d=l?j(l):null,f=l?F(l):null,p=n.x+n.width/2-s.width/2,h=n.y+n.height/2-s.height/2;switch(d){case r:t={x:p,y:n.y-s.height};break;case o:t={x:p,y:n.y+n.height};break;case a:t={x:n.x+n.width,y:h};break;case i:t={x:n.x-s.width,y:h};break;default:t={x:n.x,y:n.y}}var g=d?G(d):null;if(null!=g){var m="y"===g?"height":"width";switch(f){case c:t[g]=t[g]-(n[m]/2-s[m]/2);break;case u:t[g]=t[g]+(n[m]/2-s[m]/2)}}return t}function le(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=void 0===i?e.placement:i,c=n.boundary,u=void 0===c?d:c,g=n.rootBoundary,m=void 0===g?f:g,y=n.elementContext,b=void 0===y?p:y,v=n.altBoundary,E=void 0!==v&&v,_=n.padding,L=void 0===_?0:_,j=B("number"!=typeof L?L:P(L,l)),I=b===p?h:p,x=e.rects.popper,S=e.elements[E?I:b],w=ie(A(S)?S:S.contextElement||R(e.elements.popper),u,m),O=T(e.elements.reference),N=se({reference:O,element:x,strategy:"absolute",placement:s}),C=oe(Object.assign({},x,N)),M=b===p?C:O,k={top:w.top-M.top+j.top,bottom:M.bottom-w.bottom+j.bottom,left:w.left-M.left+j.left,right:M.right-w.right+j.right},H=e.modifiersData.offset;if(b===p&&H){var G=H[s];Object.keys(k).forEach((function(e){var t=[a,o].indexOf(e)>=0?1:-1,n=[r,o].indexOf(e)>=0?"y":"x";k[e]+=G[n]*t}))}return k}function ce(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?m:c,d=F(r),f=d?s?g:g.filter((function(e){return F(e)===d})):l,p=f.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=f);var h=p.reduce((function(t,n){return t[n]=le(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[j(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}var ue={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,l=e.name;if(!t.modifiersData[l]._skip){for(var u=n.mainAxis,d=void 0===u||u,f=n.altAxis,p=void 0===f||f,h=n.fallbackPlacements,g=n.padding,m=n.boundary,y=n.rootBoundary,b=n.altBoundary,v=n.flipVariations,A=void 0===v||v,E=n.allowedAutoPlacements,_=t.options.placement,L=j(_),I=h||(L===_||!A?[Q(_)]:function(e){if(j(e)===s)return[];var t=Q(e);return[J(e),t,J(t)]}(_)),x=[_].concat(I).reduce((function(e,n){return e.concat(j(n)===s?ce(t,{placement:n,boundary:m,rootBoundary:y,padding:g,flipVariations:A,allowedAutoPlacements:E}):n)}),[]),S=t.rects.reference,T=t.rects.popper,w=new Map,O=!0,N=x[0],C=0;C<x.length;C++){var R=x[C],M=j(R),k=F(R)===c,H=[r,o].indexOf(M)>=0,G=H?"width":"height",D=le(t,{placement:R,boundary:m,rootBoundary:y,altBoundary:b,padding:g}),B=H?k?a:i:k?o:r;S[G]>T[G]&&(B=Q(B));var P=Q(B),W=[];if(d&&W.push(D[M]<=0),p&&W.push(D[B]<=0,D[P]<=0),W.every((function(e){return e}))){N=R,O=!1;break}w.set(R,W)}if(O)for(var q=function(e){var t=x.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return N=t,"break"},U=A?3:1;U>0;U--){if("break"===q(U))break}t.placement!==N&&(t.modifiersData[l]._skip=!0,t.placement=N,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function de(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 fe(e){return[r,a,o,i].some((function(t){return e[t]>=0}))}var pe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,s=n.offset,l=void 0===s?[0,0]:s,c=m.reduce((function(e,n){return e[n]=function(e,t,n){var o=j(e),s=[i,r].indexOf(o)>=0?-1:1,l="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=l[0],u=l[1];return c=c||0,u=(u||0)*s,[i,a].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}}(n,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[o]=c}};var he={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,s=e.name,l=n.mainAxis,u=void 0===l||l,d=n.altAxis,f=void 0!==d&&d,p=n.boundary,h=n.rootBoundary,g=n.altBoundary,m=n.padding,y=n.tether,b=void 0===y||y,v=n.tetherOffset,A=void 0===v?0:v,E=le(t,{boundary:p,rootBoundary:h,padding:m,altBoundary:g}),_=j(t.placement),L=F(t.placement),S=!L,T=G(_),O="x"===T?"y":"x",N=t.modifiersData.popperOffsets,C=t.rects.reference,R=t.rects.popper,M="function"==typeof A?A(Object.assign({},t.rects,{placement:t.placement})):A,k="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(N){if(u){var W,q="y"===T?r:i,U="y"===T?o:a,$="y"===T?"height":"width",K=N[T],V=K+E[q],Y=K-E[U],z=b?-R[$]/2:0,Q=L===c?C[$]:R[$],X=L===c?-R[$]:-C[$],J=t.elements.arrow,Z=b&&J?w(J):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[q],ne=ee[U],re=D(0,C[$],Z[$]),oe=S?C[$]/2-z-re-te-k.mainAxis:Q-re-te-k.mainAxis,ae=S?-C[$]/2+z+re+ne+k.mainAxis:X+re+ne+k.mainAxis,ie=t.elements.arrow&&H(t.elements.arrow),se=ie?"y"===T?ie.clientTop||0:ie.clientLeft||0:0,ce=null!=(W=null==B?void 0:B[T])?W:0,ue=K+ae-ce,de=D(b?x(V,K+oe-ce-se):V,K,b?I(Y,ue):Y);N[T]=de,P[T]=de-K}if(f){var fe,pe="x"===T?r:i,he="x"===T?o:a,ge=N[O],me="y"===O?"height":"width",ye=ge+E[pe],be=ge-E[he],ve=-1!==[r,i].indexOf(_),Ae=null!=(fe=null==B?void 0:B[O])?fe:0,Ee=ve?ye:ge-C[me]-R[me]-Ae+k.altAxis,_e=ve?ge+C[me]+R[me]-Ae-k.altAxis:be,Le=b&&ve?function(e,t,n){var r=D(e,t,n);return r>n?n:r}(Ee,ge,_e):D(b?Ee:ye,ge,b?_e:be);N[O]=Le,P[O]=Le-ge}t.modifiersData[s]=P}},requiresIfExists:["offset"]};function ge(e,t,n){void 0===n&&(n=!1);var r,o,a=E(t),i=E(t)&&function(e){var t=e.getBoundingClientRect(),n=S(t.width)/e.offsetWidth||1,r=S(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=R(t),l=T(e,i),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==b(t)||te(s))&&(c=(r=t)!==v(r)&&E(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Z(r)),E(t)?((u=T(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=ee(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function me(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 ye={placement:"bottom",modifiers:[],strategy:"absolute"};function be(){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 ve(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?ye:o;return function(e,t,n){void 0===n&&(n=a);var o,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},ye,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:A(e)?re(e):e.contextElement?re(e.contextElement):[],popper:re(t)};var i,c,f=function(e){var t=me(e);return y.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(be(t,n)){s.rects={reference:ge(t,H(n),"fixed"===s.options.strategy),popper:w(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(!be(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 Ae=ve({defaultModifiers:[Y,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=se({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},K,L,pe,ue,he,q,{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=le(t,{elementContext:"reference"}),s=le(t,{altBoundary:!0}),l=de(i,r),c=de(s,o,a),u=fe(l),d=fe(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})}}]}),Ee="tippy-box",_e="tippy-content",Le="tippy-backdrop",je="tippy-arrow",Ie="tippy-svg-arrow",xe={passive:!0,capture:!0},Se=function(){return document.body};function Te(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function we(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Oe(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ne(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Ce(e){return[].concat(e)}function Re(e,t){-1===e.indexOf(t)&&e.push(t)}function Me(e){return[].slice.call(e)}function ke(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function He(){return document.createElement("div")}function Ge(e){return["Element","Fragment"].some((function(t){return we(e,t)}))}function De(e){return Ge(e)?[e]:function(e){return we(e,"NodeList")}(e)?Me(e):Array.isArray(e)?e:Me(document.querySelectorAll(e))}function Be(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Pe(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function We(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function qe(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 Fe={isTouch:!1},Ue=0;function $e(){Fe.isTouch||(Fe.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ke))}function Ke(){var e=performance.now();e-Ue<20&&(Fe.isTouch=!1,document.removeEventListener("mousemove",Ke)),Ue=e}function Ve(){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 Ye=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,ze=Object.assign({appendTo:Se,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}),Qe=Object.keys(ze);function Xe(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=ze[o])?r:a);return t}),{});return Object.assign({},e,t)}function Je(e,t){var n=Object.assign({},t,{content:Oe(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Xe(Object.assign({},ze,{plugins:t}))):Qe).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({},ze.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}var Ze=function(){return"innerHTML"};function et(e,t){e[Ze()]=t}function tt(e){var t=He();return!0===e?t.className=je:(t.className=Ie,Ge(e)?t.appendChild(e):et(t,e)),t}function nt(e,t){Ge(t.content)?(et(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?et(e,t.content):e.textContent=t.content)}function rt(e){var t=e.firstElementChild,n=Me(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(_e)})),arrow:n.find((function(e){return e.classList.contains(je)||e.classList.contains(Ie)})),backdrop:n.find((function(e){return e.classList.contains(Le)}))}}function ot(e){var t=He(),n=He();n.className=Ee,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=He();function o(n,r){var o=rt(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||nt(i,e.props),r.arrow?s?n.arrow!==r.arrow&&(a.removeChild(s),a.appendChild(tt(r.arrow))):a.appendChild(tt(r.arrow)):s&&a.removeChild(s)}return r.className=_e,r.setAttribute("data-state","hidden"),nt(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}ot.$$tippy=!0;var at=1,it=[],st=[];function lt(e,t){var n,r,o,a,i,s,l,c,u=Je(e,Object.assign({},ze,Xe(ke(t)))),d=!1,f=!1,p=!1,h=!1,g=[],m=Ne(V,u.interactiveDebounce),y=at++,b=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),v={id:y,reference:e,popper:He(),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(v.state.isDestroyed)return;R("onBeforeUpdate",[v,t]),$();var n=v.props,r=Je(e,Object.assign({},n,ke(t),{ignoreAttributes:!0}));v.props=r,U(),n.interactiveDebounce!==r.interactiveDebounce&&(H(),m=Ne(V,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Ce(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");k(),C(),_&&_(n,r);v.popperInstance&&(X(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));R("onAfterUpdate",[v,t])},setContent:function(e){v.setProps({content:e})},show:function(){var e=v.state.isVisible,t=v.state.isDestroyed,n=!v.state.isEnabled,r=Fe.isTouch&&!v.props.touch,o=Te(v.props.duration,0,ze.duration);if(e||t||n||r)return;if(T().hasAttribute("disabled"))return;if(R("onShow",[v],!1),!1===v.props.onShow(v))return;v.state.isVisible=!0,S()&&(E.style.visibility="visible");C(),P(),v.state.isMounted||(E.style.transition="none");if(S()){var a=O();Be([a.box,a.content],0)}s=function(){var e;if(v.state.isVisible&&!h){if(h=!0,E.offsetHeight,E.style.transition=v.props.moveTransition,S()&&v.props.animation){var t=O(),n=t.box,r=t.content;Be([n,r],o),Pe([n,r],"visible")}M(),k(),Re(st,v),null==(e=v.popperInstance)||e.forceUpdate(),R("onMount",[v]),v.props.animation&&S()&&function(e,t){q(e,t)}(o,(function(){v.state.isShown=!0,R("onShown",[v])}))}},function(){var e,t=v.props.appendTo,n=T();e=v.props.interactive&&t===Se||"parent"===t?n.parentNode:Oe(t,[n]);e.contains(E)||e.appendChild(E);v.state.isMounted=!0,X()}()},hide:function(){var e=!v.state.isVisible,t=v.state.isDestroyed,n=!v.state.isEnabled,r=Te(v.props.duration,1,ze.duration);if(e||t||n)return;if(R("onHide",[v],!1),!1===v.props.onHide(v))return;v.state.isVisible=!1,v.state.isShown=!1,h=!1,d=!1,S()&&(E.style.visibility="hidden");if(H(),W(),C(!0),S()){var o=O(),a=o.box,i=o.content;v.props.animation&&(Be([a,i],r),Pe([a,i],"hidden"))}M(),k(),v.props.animation?S()&&function(e,t){q(e,(function(){!v.state.isVisible&&E.parentNode&&E.parentNode.contains(E)&&t()}))}(r,v.unmount):v.unmount()},hideWithInteractivity:function(e){w().addEventListener("mousemove",m),Re(it,m),m(e)},enable:function(){v.state.isEnabled=!0},disable:function(){v.hide(),v.state.isEnabled=!1},unmount:function(){v.state.isVisible&&v.hide();if(!v.state.isMounted)return;J(),Z().forEach((function(e){e._tippy.unmount()})),E.parentNode&&E.parentNode.removeChild(E);st=st.filter((function(e){return e!==v})),v.state.isMounted=!1,R("onHidden",[v])},destroy:function(){if(v.state.isDestroyed)return;v.clearDelayTimeouts(),v.unmount(),$(),delete e._tippy,v.state.isDestroyed=!0,R("onDestroy",[v])}};if(!u.render)return v;var A=u.render(v),E=A.popper,_=A.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+v.id,v.popper=E,e._tippy=v,E._tippy=v;var L=b.map((function(e){return e.fn(v)})),j=e.hasAttribute("aria-expanded");return U(),k(),C(),R("onCreate",[v]),u.showOnCreate&&ee(),E.addEventListener("mouseenter",(function(){v.props.interactive&&v.state.isVisible&&v.clearDelayTimeouts()})),E.addEventListener("mouseleave",(function(){v.props.interactive&&v.props.trigger.indexOf("mouseenter")>=0&&w().addEventListener("mousemove",m)})),v;function I(){var e=v.props.touch;return Array.isArray(e)?e:[e,0]}function x(){return"hold"===I()[0]}function S(){var e;return!(null==(e=v.props.render)||!e.$$tippy)}function T(){return l||e}function w(){var e,t,n=T().parentNode;return n?null!=(t=Ce(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function O(){return rt(E)}function N(e){return v.state.isMounted&&!v.state.isVisible||Fe.isTouch||a&&"focus"===a.type?0:Te(v.props.delay,e?0:1,ze.delay)}function C(e){void 0===e&&(e=!1),E.style.pointerEvents=v.props.interactive&&!e?"":"none",E.style.zIndex=""+v.props.zIndex}function R(e,t,n){var r;(void 0===n&&(n=!0),L.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=v.props)[e].apply(r,t)}function M(){var t=v.props.aria;if(t.content){var n="aria-"+t.content,r=E.id;Ce(v.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(v.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(){!j&&v.props.aria.expanded&&Ce(v.props.triggerTarget||e).forEach((function(e){v.props.interactive?e.setAttribute("aria-expanded",v.state.isVisible&&e===T()?"true":"false"):e.removeAttribute("aria-expanded")}))}function H(){w().removeEventListener("mousemove",m),it=it.filter((function(e){return e!==m}))}function G(t){if(!Fe.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!v.props.interactive||!qe(E,n)){if(Ce(v.props.triggerTarget||e).some((function(e){return qe(e,n)}))){if(Fe.isTouch)return;if(v.state.isVisible&&v.props.trigger.indexOf("click")>=0)return}else R("onClickOutside",[v,t]);!0===v.props.hideOnClick&&(v.clearDelayTimeouts(),v.hide(),f=!0,setTimeout((function(){f=!1})),v.state.isMounted||W())}}}function D(){p=!0}function B(){p=!1}function P(){var e=w();e.addEventListener("mousedown",G,!0),e.addEventListener("touchend",G,xe),e.addEventListener("touchstart",B,xe),e.addEventListener("touchmove",D,xe)}function W(){var e=w();e.removeEventListener("mousedown",G,!0),e.removeEventListener("touchend",G,xe),e.removeEventListener("touchstart",B,xe),e.removeEventListener("touchmove",D,xe)}function q(e,t){var n=O().box;function r(e){e.target===n&&(We(n,"remove",r),t())}if(0===e)return t();We(n,"remove",i),We(n,"add",r),i=r}function F(t,n,r){void 0===r&&(r=!1),Ce(v.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;x()&&(F("touchstart",K,{passive:!0}),F("touchend",Y,{passive:!0})),(e=v.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(Ye?"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(v.state.isEnabled&&!Q(e)&&!f){var r="focus"===(null==(t=a)?void 0:t.type);a=e,l=e.currentTarget,k(),!v.state.isVisible&&we(e,"MouseEvent")&&it.forEach((function(t){return t(e)})),"click"===e.type&&(v.props.trigger.indexOf("mouseenter")<0||d)&&!1!==v.props.hideOnClick&&v.state.isVisible?n=!0:ee(e),"click"===e.type&&(d=!n),n&&!r&&te(e)}}function V(e){var t=e.target,n=T().contains(t)||E.contains(t);if("mousemove"!==e.type||!n){var r=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);(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}))})(r,e)&&(H(),te(e))}}function Y(e){Q(e)||v.props.trigger.indexOf("click")>=0&&d||(v.props.interactive?v.hideWithInteractivity(e):te(e))}function z(e){v.props.trigger.indexOf("focusin")<0&&e.target!==T()||v.props.interactive&&e.relatedTarget&&E.contains(e.relatedTarget)||te(e)}function Q(e){return!!Fe.isTouch&&x()!==e.type.indexOf("touch")>=0}function X(){J();var t=v.props,n=t.popperOptions,r=t.placement,o=t.offset,a=t.getReferenceClientRect,i=t.moveTransition,l=S()?rt(E).arrow:null,c=a?{getBoundingClientRect:a,contextElement:a.contextElement||T()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(S()){var n=O().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={}}}},d=[{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}},u];S()&&l&&d.push({name:"arrow",options:{element:l,padding:3}}),d.push.apply(d,(null==n?void 0:n.modifiers)||[]),v.popperInstance=Ae(c,E,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:d}))}function J(){v.popperInstance&&(v.popperInstance.destroy(),v.popperInstance=null)}function Z(){return Me(E.querySelectorAll("[data-tippy-root]"))}function ee(e){v.clearDelayTimeouts(),e&&R("onTrigger",[v,e]),P();var t=N(!0),r=I(),o=r[0],a=r[1];Fe.isTouch&&"hold"===o&&a&&(t=a),t?n=setTimeout((function(){v.show()}),t):v.show()}function te(e){if(v.clearDelayTimeouts(),R("onUntrigger",[v,e]),v.state.isVisible){if(!(v.props.trigger.indexOf("mouseenter")>=0&&v.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=N(!1);t?r=setTimeout((function(){v.state.isVisible&&v.hide()}),t):o=requestAnimationFrame((function(){v.hide()}))}}else W()}}function ct(e,t){void 0===t&&(t={});var n=ze.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",$e,xe),window.addEventListener("blur",Ve);var r=Object.assign({},t,{plugins:n}),o=De(e).reduce((function(e,t){var n=t&&lt(t,r);return n&&e.push(n),e}),[]);return Ge(e)?o[0]:o}ct.defaultProps=ze,ct.setDefaultProps=function(e){Object.keys(e).forEach((function(t){ze[t]=e[t]}))},ct.currentInput=Fe,Object.assign({},L,{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)}}),ct.setDefaultProps({render:ot});var ut=function(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML.replaceAll('"',"&quot;").replaceAll("'","&#039;").replaceAll("`","&#x60;")},dt={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}},ft={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"]};ft.embeddedContent=ft.videoContent+", "+ft.audioContent;var pt=function(e,t){var n=t?Object.assign(ft,t):ft;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},ht=function(){function t(t){var r=this;this.checkAll=n(e().mark((function t(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r.errorCount=0,r.warningCount=0,r.$root=document.querySelector(r.options.checkRoot),r.findElements(),r.checkHeaders(),r.checkLinkText(),r.checkUnderline(),r.checkAltText(),"On"===localStorage.getItem("jooa11y-remember-contrast")&&r.checkContrast(),"On"===localStorage.getItem("jooa11y-remember-labels")&&r.checkLabels(),"On"===localStorage.getItem("jooa11y-remember-links-advanced")&&r.checkLinksAdvanced(),"On"===localStorage.getItem("jooa11y-remember-readability")&&r.checkReadability(),r.checkEmbeddedContent(),r.checkQA(),r.panelActive?r.resetAll():r.updatePanel(),r.initializeTooltips(),r.detectOverflow(),r.nudge(),document.getElementsByClassName("jooa11y-on").length||r.updateBadge();case 19:case"end":return e.stop()}}),t)}))),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=dt._("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=dt._("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=dt._("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=dt._("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=dt._("SHOW_SETTINGS"),r.setAttribute("aria-expanded","false")):(r.classList.add("jooa11y-settings-active"),o.classList.add("jooa11y-active"),r.textContent=dt._("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=dt._("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=""+dt._("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=pt(this,t);var o=document.createElement("div");o.setAttribute("id","jooa11y-container"),o.setAttribute("role","region"),o.setAttribute("lang",this.options.langCode),o.setAttribute("aria-label",dt._("CONTAINER_LABEL"));var a="On"===localStorage.getItem("jooa11y-remember-contrast"),i="On"===localStorage.getItem("jooa11y-remember-labels"),s="On"===localStorage.getItem("jooa11y-remember-links-advanced"),l="On"===localStorage.getItem("jooa11y-remember-readability");o.innerHTML='<button type="button" aria-expanded="false" id="jooa11y-toggle" aria-describedby="jooa11y-notification-badge" aria-label="'+dt._("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">'+dt._("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">'+dt._("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">'+dt._("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">'+dt._("CONTRAST")+'</label>\n                            <button id="jooa11y-contrast-toggle"\n                            aria-labelledby="check-contrast"\n                            class="jooa11y-settings-switch"\n                            aria-pressed="'+(a?"true":"false")+'">'+(a?dt._("ON"):dt._("OFF"))+'</button>\n                        </li>\n                        <li>\n                            <label id="check-labels" for="jooa11y-labels-toggle">'+dt._("FORM_LABELS")+'</label>\n                            <button id="jooa11y-labels-toggle" aria-labelledby="check-labels" class="jooa11y-settings-switch"\n                            aria-pressed="'+(i?"true":"false")+'">'+(i?dt._("ON"):dt._("OFF"))+'</button>\n                        </li>\n                        <li>\n                            <label id="check-changerequest" for="jooa11y-links-advanced-toggle">'+dt._("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="'+(s?"true":"false")+'">'+(s?dt._("ON"):dt._("OFF"))+'</button>\n                        </li>\n                        <li>\n                            <label id="check-readability" for="jooa11y-readability-toggle">'+dt._("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="'+(l?"true":"false")+'">'+(l?dt._("ON"):dt._("OFF"))+'</button>\n                        </li>\n                        <li>\n                            <label id="dark-mode" for="jooa11y-theme-toggle">'+dt._("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="'+dt._("ALERT_CLOSE")+'" aria-describedby="jooa11y-alert-heading jooa11y-panel-alert-text"></button>\n                    <h2 id="jooa11y-alert-heading">'+dt._("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="'+dt._("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                    '+dt._("SHOW_OUTLINE")+'\n                </button>\n                <button type="button" role="tab" aria-expanded="false" id="jooa11y-settings-toggle" aria-controls="jooa11y-settings-panel">\n                    '+dt._("SHOW_SETTINGS")+'\n                </button>\n                <div style="width:35px"></div>\n            </div></div>',document.body.append(o),this.settingPanelToggles(),this.jooa11yMainToggle(),this.sanitizeHTMLandComputeARIA(),this.initializeJumpToIssueTooltip()}var r=t.prototype;return r.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()}}},r.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"}},r.settingPanelToggles=function(){var t=this,r=document.getElementById("jooa11y-contrast-toggle");r.onclick=n(e().mark((function n(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("On"!==localStorage.getItem("jooa11y-remember-contrast")){e.next=9;break}return localStorage.setItem("jooa11y-remember-contrast","Off"),r.textContent=dt._("OFF"),r.setAttribute("aria-pressed","false"),t.resetAll(!1),e.next=7,t.checkAll();case 7:e.next=15;break;case 9:return localStorage.setItem("jooa11y-remember-contrast","On"),r.textContent=dt._("ON"),r.setAttribute("aria-pressed","true"),t.resetAll(!1),e.next=15,t.checkAll();case 15:case"end":return e.stop()}}),n)})));var o=document.getElementById("jooa11y-labels-toggle");o.onclick=n(e().mark((function n(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("On"!==localStorage.getItem("jooa11y-remember-labels")){e.next=9;break}return localStorage.setItem("jooa11y-remember-labels","Off"),o.textContent=dt._("OFF"),o.setAttribute("aria-pressed","false"),t.resetAll(!1),e.next=7,t.checkAll();case 7:e.next=15;break;case 9:return localStorage.setItem("jooa11y-remember-labels","On"),o.textContent=dt._("ON"),o.setAttribute("aria-pressed","true"),t.resetAll(!1),e.next=15,t.checkAll();case 15:case"end":return e.stop()}}),n)})));var a=document.getElementById("jooa11y-links-advanced-toggle");a.onclick=n(e().mark((function n(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("On"!==localStorage.getItem("jooa11y-remember-links-advanced")){e.next=9;break}return localStorage.setItem("jooa11y-remember-links-advanced","Off"),a.textContent=dt._("OFF"),a.setAttribute("aria-pressed","false"),t.resetAll(!1),e.next=7,t.checkAll();case 7:e.next=15;break;case 9:return localStorage.setItem("jooa11y-remember-links-advanced","On"),a.textContent=dt._("ON"),a.setAttribute("aria-pressed","true"),t.resetAll(!1),e.next=15,t.checkAll();case 15:case"end":return e.stop()}}),n)})));var i=document.getElementById("jooa11y-readability-toggle");i.onclick=n(e().mark((function n(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("On"!==localStorage.getItem("jooa11y-remember-readability")){e.next=10;break}return localStorage.setItem("jooa11y-remember-readability","Off"),i.textContent=dt._("OFF"),i.setAttribute("aria-pressed","false"),document.getElementById("jooa11y-readability-panel").classList.remove("jooa11y-active"),t.resetAll(!1),e.next=8,t.checkAll();case 8:e.next=17;break;case 10:return localStorage.setItem("jooa11y-remember-readability","On"),i.textContent=dt._("ON"),i.setAttribute("aria-pressed","true"),document.getElementById("jooa11y-readability-panel").classList.add("jooa11y-active"),t.resetAll(!1),e.next=17,t.checkAll();case 17:case"end":return e.stop()}}),n)}))),"On"===localStorage.getItem("jooa11y-remember-readability")&&document.getElementById("jooa11y-readability-panel").classList.add("jooa11y-active");var s=window.matchMedia("(prefers-color-scheme: dark)"),l=document.getElementById("jooa11y-theme-toggle"),c=document.querySelector("html"),u=localStorage.getItem("jooa11y-remember-theme");s.matches?(l.textContent=dt._("ON"),l.setAttribute("aria-pressed","true")):(l.textContent=dt._("OFF"),l.setAttribute("aria-pressed","false")),s.addEventListener("change",(function(e){e.matches?(c.setAttribute("data-jooa11y-theme","dark"),l.textContent=dt._("ON"),l.setAttribute("aria-pressed","true"),localStorage.setItem("jooa11y-remember-theme","")):(c.setAttribute("data-jooa11y-theme","light"),l.textContent=dt._("OFF"),l.setAttribute("aria-pressed","false"),localStorage.setItem("jooa11y-remember-theme",""))})),l.onclick=n(e().mark((function t(){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"dark"===(n=localStorage.getItem("jooa11y-remember-theme"))?(c.setAttribute("data-jooa11y-theme","light"),localStorage.setItem("jooa11y-remember-theme","light"),l.textContent=dt._("OFF"),l.setAttribute("aria-pressed","false")):"light"===n?(c.setAttribute("data-jooa11y-theme","dark"),localStorage.setItem("jooa11y-remember-theme","dark"),l.textContent=dt._("ON"),l.setAttribute("aria-pressed","true")):s.matches?(c.setAttribute("data-jooa11y-theme","light"),localStorage.setItem("jooa11y-remember-theme","light"),l.textContent=dt._("OFF"),l.setAttribute("aria-pressed","false")):(c.setAttribute("data-jooa11y-theme","dark"),localStorage.setItem("jooa11y-remember-theme","dark"),l.textContent=dt._("OFF"),l.setAttribute("aria-pressed","true"));case 2:case"end":return e.stop()}}),t)}))),"dark"===u?(c.setAttribute("data-jooa11y-theme","dark"),localStorage.setItem("jooa11y-remember-theme","dark"),l.textContent=dt._("ON"),l.setAttribute("aria-pressed","true")):"light"===u&&(c.setAttribute("data-jooa11y-theme","light"),localStorage.setItem("jooa11y-remember-theme","light"),l.textContent=dt._("OFF"),l.setAttribute("aria-pressed","false"))},r.initializeJumpToIssueTooltip=function(){ct("#jooa11y-cycle-toggle",{content:'<div style="text-align:center">'+dt._("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})},r.doInitialCheck=function(){"Closed"!==localStorage.getItem("jooa11y-remember-panel")&&localStorage.getItem("jooa11y-remember-panel")||(this.panelActive=!0,this.checkAll())},r.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")},r.clearEverything=function(){},r.initializeTooltips=function(){ct(".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})},r.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")}))},r.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=dt.sprintf("PANEL_STATUS_ICON",e))},r.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=dt.sprintf("PANEL_STATUS_BOTH",this.errorCount,this.warningCount)):this.errorCount>0?(t.setAttribute("class","jooa11y-errors"),n.textContent=dt.sprintf("PANEL_STATUS_ERRORS",this.errorCount)):this.warningCount>0?(t.setAttribute("class","jooa11y-warnings"),n.textContent=dt.sprintf("PANEL_STATUS_WARNINGS",this.warningCount)):(t.setAttribute("class","jooa11y-good"),n.textContent=dt._("PANEL_STATUS_NONE"),0===r.length&&(e.disabled=!0,e.setAttribute("style","cursor: default !important;")))},r.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)}))},r.checkHeaders=function(){var e,t=this;this.$h.forEach((function(n,r){var o,a=t.computeTextNodeWithImage(n),i=ut(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=dt.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=dt.sprintf("HEADING_EMPTY_WITH_IMAGE",o),n.classList.add("jooa11y-error-text"))}else l=dt.sprintf("HEADING_EMPTY",o),n.classList.add("jooa11y-error-text");else 0===r&&1!==o&&2!==o?l=dt._("HEADING_FIRST"):n.textContent.trim().length>170&&(c=dt._("HEADING_LONG")+" . "+dt.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'>"+dt._("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'>"+dt._("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(dt._("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(dt._("ERROR"),l)),document.querySelector("#jooa11y-outline-list").insertAdjacentHTML("beforeend",f)):null!=c&&n.closest("a")?(t.warningCount++,n.closest("a").insertAdjacentHTML("afterend",t.annotate(dt._("WARNING"),c)),document.querySelector("#jooa11y-outline-list").insertAdjacentHTML("beforeend",p)):null!=c?(n.insertAdjacentHTML("beforebegin",t.annotate(dt._("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'>"+dt._("ERROR")+"</span></span>\n                    <span class='jooa11y-red-text jooa11y-bold'>"+dt._("PANEL_HEADING_MISSING_ONE")+"</span>\n                </div>"),document.querySelector("#jooa11y-container").insertAdjacentHTML("afterend",this.annotateBanner(dt._("ERROR"),dt._("HEADING_MISSING_ONE"))))},r.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(dt._("GOOD"),dt.sprintf("LINK_LABEL",n),!0));else if(a){var m=a;t.classList.add("jooa11y-good-border"),t.insertAdjacentHTML("beforebegin",e.annotate(dt._("GOOD"),dt.sprintf("LINK_LABEL",m),!0))}else t.children.length?i||s||l?(t.classList.add("jooa11y-good-border"),t.insertAdjacentHTML("beforebegin",e.annotate(dt._("GOOD"),dt.sprintf("LINK_LABEL",n),!0))):(e.errorCount++,t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("afterend",e.annotate(dt._("ERROR"),dt.sprintf("LINK_EMPTY_LINK_NO_LABEL"),!0))):(e.errorCount++,t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("afterend",e.annotate(dt._("ERROR"),dt._("LINK_EMPTY"),!0)));else null!==g[0]?r?t.insertAdjacentHTML("beforebegin",e.annotate(dt._("GOOD"),dt.sprintf("LINK_LABEL",n),!0)):o?t.insertAdjacentHTML("beforebegin",e.annotate(dt._("GOOD"),dt.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(dt._("ERROR"),dt.sprintf("LINK_STOPWORD",g[0])+' <hr aria-hidden="true"> '+dt._("LINK_STOPWORD_TIP"),!0))):null!==g[1]?(e.warningCount++,t.classList.add("jooa11y-warning-text"),t.insertAdjacentHTML("afterend",e.annotate(dt._("WARNING"),dt.sprintf("LINK_BEST_PRACTICES",g[1])+' <hr aria-hidden="true"> '+dt._("LINK_BEST_PRACTICES_DETAILS"),!0))):null!=g[2]&&n.length>40&&(e.warningCount++,t.classList.add("jooa11y-warning-text"),t.insertAdjacentHTML("afterend",e.annotate(dt._("WARNING"),dt._("LINK_URL")+' <hr aria-hidden="true"> '+dt._("LINK_URL_TIP"),!0)))}))},r.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(dt._("WARNING"),dt._("LINK_IDENTICAL_NAME")+' <hr aria-hidden="true"> '+dt.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(dt._("WARNING"),dt._("NEW_TAB_WARNING")+' <hr aria-hidden="true"> '+dt._("NEW_TAB_WARNING_TIP"),!0))),o&&!u&&(e.warningCount++,t.classList.add("jooa11y-warning-text"),t.insertAdjacentHTML("afterend",e.annotate(dt._("WARNING"),dt._("FILE_TYPE_WARNING")+' <hr aria-hidden="true"> '+dt._("FILE_TYPE_WARNING_TIP"),!0)))}))},r.checkUnderline=function(){var e=this;Array.from(this.$root.querySelectorAll("u")).forEach((function(t){e.warningCount++,t.insertAdjacentHTML("beforebegin",e.annotate(dt._("WARNING"),dt._("TEXT_UNDERLINE_WARNING")+' <hr aria-hidden="true"> '+dt._("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(dt._("WARNING"),dt._("TEXT_UNDERLINE_WARNING")+' <hr aria-hidden="true"> '+dt._("TEXT_UNDERLINE_WARNING_TIP"),!0)))}))},r.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(dt._("ERROR"),dt._("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(dt._("ERROR"),dt._("MISSING_ALT_LINK_MESSAGE"),!1,!0))):(t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("beforebegin",e.annotate(dt._("ERROR"),dt._("MISSING_ALT_MESSAGE"),!1,!0)));else{var r=ut(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(dt._("ERROR"),dt.sprintf("LINK_IMAGE_BAD_ALT_MESSAGE",r,o[0])+' <hr aria-hidden="true"> '+dt._("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(dt._("ERROR"),dt.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(dt._("WARNING"),dt.sprintf("LINK_IMAGE_SUS_ALT_MESSAGE",r,o[1])+' <hr aria-hidden="true"> '+dt.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(dt._("ERROR"),dt._("LINK_ALT_HAS_BAD_WORD_MESSAGE")+' <hr aria-hidden="true"> '+dt.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(dt._("ERROR"),dt.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(dt._("WARNING"),dt.sprintf("LINK_ALT_HAS_SUS_WORD_MESSAGE",r,o[1])+' <hr aria-hidden="true"> '+dt.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(dt._("WARNING"),dt._("HYPERLINK_ALT_LENGTH_MESSAGE")+' <hr aria-hidden="true"> '+dt.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(dt._("WARNING"),dt._("LINK_IMAGE_LINK_ALT_TEXT_MESSAGE")+' <hr aria-hidden="true"> '+dt.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(dt._("WARNING"),dt._("LINK_ANCHOR_LINK_AND_ALT_MESSAGE")+' <hr aria-hidden="true"> '+dt.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(dt._("WARNING"),dt._("IMAGE_FIGURE_DECORATIVE")+' <hr aria-hidden="true"> '+dt._("IMAGE_FIGURE_DECORATIVE_INFO"),!1,!0)))}else e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("beforebegin",e.annotate(dt._("WARNING"),dt._("LINK_DECORATIVE_MESSAGE"),!1,!0));else if(n.length>250)e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("beforebegin",e.annotate(dt._("WARNING"),dt._("LINK_ALT_TOO_LONG_MESSAGE")+' <hr aria-hidden="true"> '+dt.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(dt._("WARNING"),dt.sprintf("IMAGE_FIGURE_DUPLICATE_ALT",r)+' <hr aria-hidden="true"> '+dt._("IMAGE_FIGURE_DECORATIVE_INFO"),!1,!0)))}else t.insertAdjacentHTML("beforebegin",e.annotate(dt._("GOOD"),""+dt.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(dt._("ERROR"),dt._("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(dt._("ERROR"),dt._("LINK_IMAGE_LINK_NULL_ALT_NO_TEXT_MESSAGE"),!1,!0))):t.closest("a[href]").insertAdjacentHTML("beforebegin",e.annotate(dt._("GOOD"),dt._("LINK_LINK_HAS_ALT_MESSAGE"),!1,!0)))}}))},r.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(dt._("ERROR"),dt._("LABELS_MISSING_IMAGE_INPUT_MESSAGE"),!0)))}else if("reset"===r)e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("afterend",e.annotate(dt._("WARNING"),dt._("LABELS_INPUT_RESET_MESSAGE")+' <hr aria-hidden="true"> '+dt._("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(dt._("WARNING"),dt._("LABELS_ARIA_LABEL_INPUT_MESSAGE")+' <hr aria-hidden="true"> '+dt.sprintf("LABELS_ARIA_LABEL_INPUT_MESSAGE_INFO",a),!0))}else e.warningCount++,t.classList.add("jooa11y-warning-border"),t.insertAdjacentHTML("afterend",e.annotate(dt._("WARNING"),dt._("LABELS_ARIA_LABEL_INPUT_MESSAGE")+' <hr aria-hidden="true"> '+dt.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(dt._("ERROR"),dt._("LABELS_NO_FOR_ATTRIBUTE_MESSAGE")+' <hr aria-hidden="true"> '+dt.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(dt._("ERROR"),dt._("LABELS_MISSING_LABEL_MESSAGE"),!0))}))},r.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(dt._("WARNING"),dt._("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(dt._("WARNING"),dt._("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(dt._("ERROR"),dt._("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(dt._("WARNING"),dt._("EMBED_GENERAL_WARNING"))))}))},r.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(dt._("ERROR"),dt.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(dt._("WARNING"),dt.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(dt._("WARNING"),dt._("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(dt._("ERROR"),dt._("TABLES_MISSING_HEADINGS")))),r.length>0&&(e.errorCount++,r.forEach((function(t){t.classList.add("jooa11y-error-border"),t.insertAdjacentHTML("beforebegin",e.annotate(dt._("ERROR"),dt._("TABLES_SEMANTIC_HEADING")+' <hr aria-hidden="true"> '+dt._("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(dt._("ERROR"),dt._("TABLES_EMPTY_HEADING")+' <hr aria-hidden="true"> '+dt._("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(dt._("ERROR"),dt._("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(dt._("WARNING"),dt._("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(dt._("WARNING"),dt.sprintf("QA_BLOCKQUOTE_MESSAGE",n)+' <hr aria-hidden="true"> '+dt._("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(dt._("WARNING"),dt.sprintf("QA_FAKE_HEADING",a)+' <hr aria-hidden="true"> '+dt._("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(dt._("WARNING"),dt.sprintf("QA_FAKE_HEADING",l)+' <hr aria-hidden="true"> '+dt._("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(dt._("WARNING"),dt._("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'+dt.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(dt._("WARNING"),dt.sprintf("QA_SHOULD_BE_LIST",r)+' <hr aria-hidden="true"> '+dt._("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++},r.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(dt._("ERROR"),dt._("CONTRAST_ERROR_INPUT_MESSAGE")+'\n                         <hr aria-hidden="true">\n                         '+dt.sprintf("CONTRAST_ERROR_INPUT_MESSAGE_INFO",r),!0)):n.insertAdjacentHTML("beforebegin",e.annotate(dt._("ERROR"),dt.sprintf("CONTRAST_ERROR_MESSAGE",r,s)+'\n                        <hr aria-hidden="true">\n                        '+dt.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(dt._("WARNING"),dt._("CONTRAST_WARNING_MESSAGE")+' <hr aria-hidden="true"> '+dt.sprintf("CONTRAST_WARNING_MESSAGE_INFO",i),!0))}))},r.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 v=r(l[b]);1===v&&(m+=1),2===v&&(y+=1),g+=v}"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 A=document.getElementById("jooa11y-readability-info");if(0===s.length)A.innerHTML=dt._("READABILITY_NO_P_OR_LI_MESSAGE");else if(c>30){var E=h.toFixed(1),_=(c/f).toFixed(1),L=Math.round((c-(m+y))/c*100);A.innerHTML=E>=0&&E<30?"<span>"+E+'</span> <span class="jooa11y-readability-score">'+dt._("VERY_DIFFICULT_READABILITY")+"</span>":E>31&&E<49?"<span>"+E+'</span> <span class="jooa11y-readability-score">'+dt._("DIFFICULT_READABILITY")+"</span>":E>50&&E<60?"<span>"+E+'</span> <span class="jooa11y-readability-score">'+dt._("FAIRLY_DIFFICULT_READABILITY")+"</span>":"<span>"+E+'</span> <span class="jooa11y-readability-score">'+dt._("GOOD_READABILITY")+"</span>",document.getElementById("jooa11y-readability-details").innerHTML="<li><span class='jooa11y-bold'>"+dt._("AVG_WORD_PER_SENTENCE")+"</span> "+_+"</li>\n                <li><span class='jooa11y-bold'>"+dt._("COMPLEX_WORDS")+"</span> "+L+"%</li>\n                <li><span class='jooa11y-bold'>"+dt._("TOTAL_WORDS")+"</span> "+c+"</li>"}else A.textContent=dt._("READABILITY_NOT_ENOUGH_CONTENT_MESSAGE")},r.annotate=function(e,t,n){var r;void 0===n&&(n=!1);var o=[dt._("ERROR"),dt._("WARNING"),dt._("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=ut(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>'},r.annotateBanner=function(e,t){var n,r=[dt._("ERROR"),dt._("WARNING"),dt._("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>"},t}();if(!Joomla)throw new Error("Joomla API is not properly initialised");dt.translate=function(e){return Joomla.Text._("PLG_SYSTEM_JOOA11Y_"+e,e)};var gt=Joomla.getOptions("jooa11yOptions");window.addEventListener("load",(function(){new ht(gt).doInitialCheck()}))}();

The same content is in 13 releases, Joomla 4.3.0-beta4 to 4.3.4. See them all, or every version of this file.