/*! For license information please see core.js.LICENSE.txt */ (()=>{var e,t={1669:e=>{"use strict";e.exports=jQuery},5169:(e,t,r)=>{"use strict";var n=r(2891),a=r(1003),o=r.n(a),i=r(2427),u=r.n(i),s=r(1238),l=r(5996),c=r(5556),d=r.n(c);d().shape({live:d().bool.isRequired,status:d().string.isRequired}).isRequired;var p=r(862),h=r.n(p);const f=({name:e,component:t,className:r,duration:n,children:a})=>u().createElement(h(),{component:t,transitionEnterTimeout:n,transitionLeaveTimeout:n,transitionName:`w-transition-${e}`,className:r},a);f.propTypes={name:d().oneOf(["push","pop"]).isRequired,component:d().string,className:d().string,duration:d().number,children:d().node},f.defaultProps={component:"div",children:null,className:null,duration:210};var m=r(1669),D=r.n(m);class g{constructor(e,t={},r=!0){this.opts=t;const n=D()("#"+e+"-ADD");this.formContainer=D()("#"+e+"-FORMS"),this.totalFormsInput=D()("#"+e+"-TOTAL_FORMS");const a=document.getElementById(e+"-EMPTY_FORM_TEMPLATE");if(this.emptyFormTemplate=a.innerHTML,r){if(t.onInit)for(let e=0;e{this.addForm()})}}get formCount(){return parseInt(this.totalFormsInput.val(),10)}addForm(e={}){const t=this.formCount,r=this.emptyFormTemplate.replace(/__prefix__(.*?('|"|\\u0022))/g,t+"$1");this.formContainer.append(r),this.totalFormsInput.val(this.formCount+1),"runCallbacks"in e&&!e.runCallbacks||(this.opts.onAdd&&this.opts.onAdd(t),this.opts.onInit&&this.opts.onInit(t))}}var v=r(2898);class b extends n.Controller{static values={continue:{type:Boolean,default:!1},url:String};click(){this.element.click()}noop(){}createFormElement(){const e=document.createElement("form");e.action=this.urlValue,e.method="POST";const t=document.createElement("input");if(t.type="hidden",t.name="csrfmiddlewaretoken",t.value=v.HE.CSRF_TOKEN,e.appendChild(t),!this.continueValue){const t=document.createElement("input");t.type="hidden",t.name="next",t.value=window.location.href,e.appendChild(t)}return e}post(e){e.preventDefault(),e.stopPropagation();const t=this.createFormElement();document.body.appendChild(t),t.submit()}sendBeacon(){navigator.sendBeacon(this.urlValue,new FormData(this.createFormElement()))}reload(){window.location.reload()}forceReload(){window.addEventListener("w-unsaved:confirm",e=>{e.preventDefault()},{once:!0}),window.location.reload()}redirect(e){const t=e?.params?.url??e?.detail?.url??this.element.value;t&&window.location.assign(t)}reset(e){const t=this.element,r=t.value,{value:n=""}={value:t instanceof HTMLInputElement?t.defaultValue:"",...e?.params,...e?.detail};r!==n&&(t.value=n,this.dispatch("change",{bubbles:!0,cancelable:!1,prefix:"",target:t}))}select(){const e=this.element;e&&(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)&&e.select()}}var y=new Map;function F(e){var t=y.get(e);t&&t.destroy()}function w(e){var t=y.get(e);t&&t.update()}var E=null;"undefined"==typeof window?((E=function(e){return e}).destroy=function(e){return e},E.update=function(e){return e}):((E=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!y.has(e)){var t,r=null,n=window.getComputedStyle(e),a=(t=e.value,function(){i({testForHeightReduction:""===t||!e.value.startsWith(t),restoreTextAlign:null}),t=e.value}),o=function(t){e.removeEventListener("autosize:destroy",o),e.removeEventListener("autosize:update",u),e.removeEventListener("input",a),window.removeEventListener("resize",u),Object.keys(t).forEach(function(r){return e.style[r]=t[r]}),y.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",o),e.addEventListener("autosize:update",u),e.addEventListener("input",a),window.addEventListener("resize",u),e.style.overflowX="hidden",e.style.wordWrap="break-word",y.set(e,{destroy:o,update:u}),u()}function i(t){var a,o,u=t.restoreTextAlign,s=void 0===u?null:u,l=t.testForHeightReduction,c=void 0===l||l,d=n.overflowY;if(0!==e.scrollHeight&&("vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),c&&(a=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push([e.parentNode,e.parentNode.scrollTop]),e=e.parentNode;return function(){return t.forEach(function(e){var t=e[0],r=e[1];t.style.scrollBehavior="auto",t.scrollTop=r,t.style.scrollBehavior=null})}}(e),e.style.height=""),o="content-box"===n.boxSizing?e.scrollHeight-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):e.scrollHeight+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),"none"!==n.maxHeight&&o>parseFloat(n.maxHeight)?("hidden"===n.overflowY&&(e.style.overflow="scroll"),o=parseFloat(n.maxHeight)):"hidden"!==n.overflowY&&(e.style.overflow="hidden"),e.style.height=o+"px",s&&(e.style.textAlign=s),a&&a(),r!==o&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),r=o),d!==n.overflow&&!s)){var p=n.textAlign;"hidden"===n.overflow&&(e.style.textAlign="start"===p?"end":"start"),i({restoreTextAlign:p,testForHeightReduction:!0})}}function u(){i({testForHeightReduction:!0,restoreTextAlign:null})}}(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],F),e},E.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],w),e});const C=E;var x=r(8667);class A extends n.Controller{resizeObserver;resize(){C.update(this.element)}initialize(){this.resize=(0,x.s)(this.resize.bind(this),50)}connect(){C(this.element),this.resizeObserver=new ResizeObserver(this.resize),this.resizeObserver.observe(this.element)}disconnect(){this.resizeObserver?.disconnect(),C.destroy(this.element)}}class T extends n.Controller{static values={arguments:{type:Array,default:[]},data:{type:Object,default:{}}};connect(){const e=window.telepath;if(!e)throw new Error("`window.telepath` is not available.");const t=this.element,r=t.id;if(!r)throw new Error("Controlled element needs an id attribute.");const n=e.unpack(this.dataValue),a=n.render(t,r,...this.argumentsValue);a.element.id=`${r}-root`,a.element.rootBlock=a,this.dispatch("ready",{detail:{...n},cancelable:!1})}}class k extends n.Controller{static classes=["actionInactive"];static targets=["action","all","item"];lastChanged;shiftActive;connect(){this.toggle(),this.handleShiftKey=this.handleShiftKey.bind(this),document.addEventListener("keydown",this.handleShiftKey),document.addEventListener("keyup",this.handleShiftKey)}getValidTargets(e=null,t=this.itemTargets,r=`data-${this.identifier}-group-param`){const n=t.filter(({disabled:e})=>!e);if(!e)return n;const a=e.split(" ");return n.filter(e=>{const t=new Set((e.getAttribute(r)||"").split(" "));return a.some(t.has.bind(t))})}handleShiftKey(e){if(!e)return;const{shiftKey:t,type:r}=e;"keydown"===r&&t&&(this.shiftActive=!0),"keyup"===r&&this.shiftActive&&(this.shiftActive=!1)}toggle(e){const{group:t=null}={...e?.detail,...e?.params},r=this.getValidTargets(t),n=this.lastChanged;if(this.shiftActive&&n instanceof HTMLElement){this.shiftActive=!1;const t=r.findIndex(e=>e===n);if(-1===t)return;const a=r.findIndex(t=>t===e?.target),[o,i]=[t,a].sort((e,t)=>e-t);r.forEach((e,n)=>{n>=o&&n<=i&&(e.checked=!!r[t].checked,this.dispatch("change",{target:e,bubbles:!0}))})}this.lastChanged=r.find(t=>t.contains(e?.target))??null;const a=r.filter(e=>e.checked).length,o=a>0,i=a===r.length;this.getValidTargets(t,this.allTargets).forEach(e=>{e.checked=i});const u=this.actionInactiveClasses;u.length&&this.actionTargets.forEach(e=>{u.forEach(t=>{e.classList.toggle(t,!o)})})}toggleAll(e){const{force:t=null,group:r=null}={...e.detail,...e.params};this.lastChanged=null;let n=!1;if("boolean"==typeof t)n=t;else if(e.target instanceof HTMLInputElement)n=e.target.checked;else{const e=this.allTargets[0];n=!e?.checked}this.getValidTargets(r).forEach(e=>{e.checked!==n&&(e.checked=n,e.dispatchEvent(new Event("change",{bubbles:!0})))}),this.toggle(e)}disconnect(){document?.removeEventListener("keydown",this.handleShiftKey),document?.removeEventListener("keyup",this.handleShiftKey)}}const N=(...e)=>e.flat(1),B=JSON.parse('[{"LATIN_MAP:und":[["À","A"],["Á","A"],["Â","A"],["Ã","A"],["Ä","A"],["Å","A"],["Æ","AE"],["Ç","C"],["È","E"],["É","E"],["Ê","E"],["Ë","E"],["Ì","I"],["Í","I"],["Î","I"],["Ï","I"],["Ð","D"],["Ñ","N"],["Ò","O"],["Ó","O"],["Ô","O"],["Õ","O"],["Ö","O"],["Ő","O"],["Ø","O"],["Ù","U"],["Ú","U"],["Û","U"],["Ü","U"],["Ű","U"],["Ý","Y"],["Þ","TH"],["Ÿ","Y"],["ß","ss"],["à","a"],["á","a"],["â","a"],["ã","a"],["ä","a"],["å","a"],["æ","ae"],["ç","c"],["è","e"],["é","e"],["ê","e"],["ë","e"],["ì","i"],["í","i"],["î","i"],["ï","i"],["ð","d"],["ñ","n"],["ò","o"],["ó","o"],["ô","o"],["õ","o"],["ö","o"],["ő","o"],["ø","o"],["ù","u"],["ú","u"],["û","u"],["ü","u"],["ű","u"],["ý","y"],["þ","th"],["ÿ","y"]]},{"LATIN_SYMBOLS_MAP":[["©","(c)"]]},{"GREEK_MAP:el":[["α","a"],["β","b"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","h"],["θ","8"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","3"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","w"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","h"],["ώ","w"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","H"],["Θ","8"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","3"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","W"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","H"],["Ώ","W"],["Ϊ","I"],["Ϋ","Y"]]},{"TURKISH_MAP:tr":[["ş","s"],["Ş","S"],["ı","i"],["İ","I"],["ç","c"],["Ç","C"],["ü","u"],["Ü","U"],["ö","o"],["Ö","O"],["ğ","g"],["Ğ","G"]]},{"ROMANIAN_MAP:ro":[["ă","a"],["î","i"],["ș","s"],["ț","t"],["â","a"],["Ă","A"],["Î","I"],["Ș","S"],["Ț","T"],["Â","A"]]},{"RUSSIAN_MAP:ru":[["а","a"],["б","b"],["в","v"],["г","g"],["д","d"],["е","e"],["ё","yo"],["ж","zh"],["з","z"],["и","i"],["й","j"],["к","k"],["л","l"],["м","m"],["н","n"],["о","o"],["п","p"],["р","r"],["с","s"],["т","t"],["у","u"],["ф","f"],["х","x"],["ц","c"],["ч","ch"],["ш","sh"],["щ","shh"],["ъ",""],["ы","y"],["ь",""],["э","e"],["ю","yu"],["я","ya"],["А","A"],["Б","B"],["В","V"],["Г","G"],["Д","D"],["Е","E"],["Ё","Yo"],["Ж","Zh"],["З","Z"],["И","I"],["Й","J"],["К","K"],["Л","L"],["М","M"],["Н","N"],["О","O"],["П","P"],["Р","R"],["С","S"],["Т","T"],["У","U"],["Ф","F"],["Х","X"],["Ц","C"],["Ч","Ch"],["Ш","Sh"],["Щ","Shh"],["Ъ",""],["Ы","Y"],["Ь",""],["Э","E"],["Ю","Yu"],["Я","Ya"]]},{"UKRAINIAN_MAP:uk":[["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"],["Г","H"],["г","h"],["И","Y"],["и","y"],["Й","Y"],["й","i"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Щ","Shch"],["щ","shch"]]},{"BELARUSIAN_MAP:be":[["а","a"],["б","b"],["в","v"],["г","g"],["д","d"],["е","je"],["ё","jo"],["ж","zh"],["з","z"],["і","i"],["й","j"],["к","k"],["л","l"],["м","m"],["н","n"],["о","o"],["п","p"],["р","r"],["с","s"],["т","t"],["у","u"],["ў","w"],["ф","f"],["х","h"],["ц","c"],["ч","ch"],["ш","sh"],["ы","y"],["ь",""],["э","e"],["ю","ju"],["я","ja"],["А","A"],["Б","B"],["В","V"],["Г","G"],["Д","D"],["Е","Je"],["Ё","Jo"],["Ж","Zh"],["З","Z"],["І","I"],["Й","J"],["К","K"],["Л","L"],["М","M"],["Н","N"],["О","O"],["П","P"],["Р","R"],["С","S"],["Т","T"],["У","U"],["Ў","W"],["Ф","F"],["Х","H"],["Ц","C"],["Ч","Ch"],["Ш","Sh"],["Ъ",""],["Ы","Y"],["Э","E"],["Ю","Ju"],["Я","Ja"]]},{"CZECH_MAP:cs":[["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"]]},{"SLOVAK_MAP:sk":[["á","a"],["ä","a"],["č","c"],["ď","d"],["é","e"],["í","i"],["ľ","l"],["ĺ","l"],["ň","n"],["ó","o"],["ô","o"],["ŕ","r"],["š","s"],["ť","t"],["ú","u"],["ý","y"],["ž","z"],["Á","a"],["Ä","A"],["Č","C"],["Ď","D"],["É","E"],["Í","I"],["Ľ","L"],["Ĺ","L"],["Ň","N"],["Ó","O"],["Ô","O"],["Ŕ","R"],["Š","S"],["Ť","T"],["Ú","U"],["Ý","Y"],["Ž","Z"]]},{"POLISH_MAP:pl":[["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ó","o"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ó","O"],["Ś","S"],["Ź","Z"],["Ż","Z"]]},{"LATVIAN_MAP:lv":[["ā","a"],["č","c"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["š","s"],["ū","u"],["ž","z"],["Ā","A"],["Č","C"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Š","S"],["Ū","U"],["Ž","Z"]]},{"ARABIC_MAP:ar":[["أ","a"],["ب","b"],["ت","t"],["ث","th"],["ج","g"],["ح","h"],["خ","kh"],["د","d"],["ذ","th"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","th"],["ع","aa"],["غ","gh"],["ف","f"],["ق","k"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","o"],["ي","y"]]},{"LITHUANIAN_MAP:lt":[["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ž","Z"]]},{"SERBIAN_MAP:sr":[["ђ","dj"],["ј","j"],["љ","lj"],["њ","nj"],["ћ","c"],["џ","dz"],["đ","dj"],["Ђ","Dj"],["Ј","j"],["Љ","Lj"],["Њ","Nj"],["Ћ","C"],["Џ","Dz"],["Đ","Dj"]]},{"AZERBAIJANI_MAP:az":[["ç","c"],["ə","e"],["ğ","g"],["ı","i"],["ö","o"],["ş","s"],["ü","u"],["Ç","C"],["Ə","E"],["Ğ","G"],["İ","I"],["Ö","O"],["Ş","S"],["Ü","U"]]},{"GEORGIAN_MAP:ka":[["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","j"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","f"],["ქ","q"],["ღ","g"],["ყ","y"],["შ","sh"],["ჩ","ch"],["ც","c"],["ძ","dz"],["წ","w"],["ჭ","ch"],["ხ","x"],["ჯ","j"],["ჰ","h"]]}]'),R={};var S;!function(e){e.Format="format",e.Identity="identity",e.Slugify="slugify",e.Urlify="urlify"}(S||(S={}));class O extends n.Controller{static values={allowUnicode:{default:!1,type:Boolean},formatters:{default:[],type:Array},locale:{default:"",type:String},trim:{default:!1,type:Boolean}};defaultRegexFlags="gu";regexCache={};undeterminedLocale="und";applyUpdate(e,t,r){this.element.value=t,this.dispatch("applied",{cancelable:!1,detail:{action:e,cleanValue:t,sourceValue:r}})}compare(e){if(!this.element.value)return!0;const t=this[e.detail?.compareAs||e.params?.compareAs||S.Slugify]({detail:{value:e.detail?.value||""}},{ignoreUpdate:!0,runFormat:!0}),r=this.compareValues(t,this.element.value);return r||e?.preventDefault(),r}compareValues(...e){return 1===new Set(e.map(e=>`${e}`)).size}identity(){const e=S.Identity,t=this.element.value;return this.applyUpdate(e,t,t),t}format(e,{ignoreUpdate:t=!1}={}){const{value:r=this.element.value}=e?.detail||{};if(!r)return"";const n=this.formattersValue.reduce((e,[t=[],r=""])=>{const[n="",a=this.defaultRegexFlags]=N(t);return e[a.includes("g")?"replaceAll":"replace"](this.getRegex(n,a),r)},this.prepareValue(r));return t||this.applyUpdate(S.Format,n,r),n}formattersValueChanged(e){if(e?.length){this.regexCache={};try{this.format({detail:{value:"__PLACEHOLDER__"}},{ignoreUpdate:!0})}catch(t){this.context.application.handleError(t,"Invalid regex pattern passed to formatters.",{formatters:[...e]})}}}getRegex(e,t){const r=[e,t].join(":");if(this.regexCache[r])return this.regexCache[r];const n=new RegExp(e,t);return this.regexCache[r]=n,n}localeValueChanged(e){e||(this.localeValue=v.HE.ACTIVE_CONTENT_LOCALE||this.undeterminedLocale)}prepareValue(e="",{runFormat:t=!1}={}){const r=this.trimValue?e.trim():e;return t?this.format({detail:{value:r}},{ignoreUpdate:!0}):r}slugify(e,{ignoreUpdate:t=!1,runFormat:r=!t}={}){const{value:n=this.element.value}=e?.detail||{},a=this.prepareValue(n,{runFormat:r});if(!a)return"";const o=((e,{allowUnicode:t=!1}={})=>{let r;const n=/^[\p{L}\p{N}_-]+$/u;return r=t?e.replace(/\s+/g,"-").toLowerCase().split("").filter(e=>n.test(e)).join(""):e.replace(/\s+/g,"-").replace(/[^A-Za-z0-9\-_]/g,"").toLowerCase(),r})(a,{allowUnicode:this.allowUnicodeValue});return t||this.applyUpdate(S.Slugify,o,n),o}urlify(e,{ignoreUpdate:t=!1,runFormat:r=!t}={}){const{value:n=this.element.value}=e?.detail||{},a=this.prepareValue(n,{runFormat:r});if(!a)return"";const o=((e,{allowUnicode:t=!1,locale:r="en",numChars:n=255}={})=>{let a=e;return t||(a=((e="")=>{if(R[e])return R[e];const[t]=e.toLowerCase().split("-"),r=Object.fromEntries(B.map(e=>Object.entries(e)).flat().map(([e,t])=>{const[,...r]=e.toLowerCase().split(":");return[r,t]}).sort(([e=[]]=[],[r=[]]=[])=>{const n=e.includes(t),a=r.includes(t);return n&&!a?-1:!n&&a?1:0}).flatMap(([,e])=>e).reverse()),n=new RegExp(Object.keys(r).join("|"),"g"),a=e=>e.replace(n,e=>r[e]);return R[t]=a,a})(r)(a)),a=a.toLowerCase(),a=t?a.replace(/[^-_\p{L}\p{N}\s]/gu,""):a.replace(/[^-\w\s]/g,""),a=a.replace(/[-\s]+/g,"-"),a=a.substring(0,n),a=a.replace(/-+$/g,""),a})(a,{allowUnicode:this.allowUnicodeValue,locale:this.localeValue})||this.slugify({detail:{value:a}},{ignoreUpdate:!0});return t||this.applyUpdate(S.Urlify,o,n),o}}class _ extends n.Controller{static targets=["value"];copy(e){const{value:t=(this.hasValueTarget?this.valueTarget.value:this.element.value||null)}={...e.detail,...e.params};t&&(this.dispatch("copy").defaultPrevented||new Promise((e,r)=>{navigator.clipboard?navigator.clipboard.writeText(t).then(e,r):r()}).then(()=>this.dispatch("copied",{detail:{clear:!0,type:"success"}})).catch(()=>this.dispatch("error",{detail:{clear:!0,type:"error"}})))}}var P=r(3476);class I extends n.Controller{static classes=["added","hide","show"];static targets=["container","template"];static values={autoClear:{default:0,type:Number},clearDelay:{default:0,type:Number},showDelay:{default:0,type:Number}};isClearing;add(e){const{clear:t=!1,text:r="",type:n=null}={...e?.detail,...e?.params};this.element.classList.add(...this.addedClasses),t&&this.clear();const a=this.getTemplateContent(n);if(!a)return;const o=a.lastElementChild;o instanceof HTMLElement&&r&&(o.textContent=r),this.containerTarget.appendChild(a),(0,x.s)(()=>{this.element.classList.remove(...this.hideClasses),this.element.classList.add(...this.showClasses),this.dispatch("added",{cancelable:!1})},this.showDelayValue||null)().then(()=>{this.autoClearValue&&(0,x.s)(()=>{this.clear()},this.autoClearValue)()})}clear(e){if(this.isClearing=!1,!e)return void(this.containerTarget.innerHTML="");const t=this.clearDelayValue||null,r=this.element;this.isClearing=!0,r.classList.remove(...this.addedClasses),r.classList.remove(...this.showClasses),r.classList.add(...this.hideClasses),(0,x.s)(P.l,t)().then(()=>{this?.isClearing&&(this.containerTarget.innerHTML="",this.dispatch("cleared",{cancelable:!1}),this.isClearing=!1)})}getTemplateContent(e){const t=e&&this.templateTargets.find(({dataset:t})=>t.type===e)||this.templateTarget,r=t.content.firstElementChild?.cloneNode(!0);return r instanceof HTMLElement?r:null}}var M=r(2833);class L extends n.Controller{static classes=["active"];static targets=["label","total"];static values={container:{default:"body",type:String},find:{default:":not([hidden]):is(.error-message,.help-critical)",type:String},labels:{default:[],type:Array},min:{default:0,type:Number},total:{default:0,type:Number}};connect(){this.count()}count(){return this.totalValue=[...document.querySelectorAll(this.containerValue||"body")].map(e=>e.querySelectorAll(this.findValue).length).reduce((e,t)=>e+t,0),this.totalValue}getLabel(e){const t=(0,M.WI)("%(num)s error","%(num)s errors",e);if(this.labelsValue.length>1){const[t,r=this.labelsValue[1],n="__total__"]=this.labelsValue;return(0,M.WI)(t,r,e).replace(n,`${e}`)}return t.replace("%(num)s",`${e}`)}minValueChanged(){this.totalValueChanged(this.count())}totalValueChanged(e){const t=this.minValue;this.hasActiveClass&&this.element.classList.toggle(this.activeClass,e>t),this.hasLabelTarget&&(this.labelTarget.textContent=e>t?this.getLabel(e):""),this.hasTotalTarget&&(this.totalTarget.textContent=e>t?`${e}`:"")}}var V=r(9104);class j extends n.Controller{static classes=["dismissed"];static values={dismissed:{default:!1,type:Boolean},id:{default:"",type:String}};toggle(e){this.element.classList.add(this.dismissedClass),this.dismissedValue=!0,this.patch(e)}patch(e){var t;this.idValue&&(t={[this.idValue]:e?.params?.value??this.dismissedValue},fetch(v.HE.ADMIN_URLS?.DISMISSIBLES,{method:"PATCH",headers:{[v.HE.CSRF_HEADER_NAME]:v.HE.CSRF_TOKEN,"Content-Type":"application/json"},body:JSON.stringify(t),mode:"same-origin"}))}}class q extends n.Controller{static targets=["count","menu","toggle"];static values={activeSubmenu:{default:"",type:String},countAttr:{default:"",type:String}};static outlets=["w-action","w-dropdown"];countTargetConnected(){this.updateCount()}connect(){this.open=this.open.bind(this)}wActionOutletConnected(e,t){t.addEventListener("click",this.open)}wActionOutletDisconnected(e,t){t.removeEventListener("click",this.open)}updateCount(){const e=document.querySelectorAll(`[${this.countAttrValue}]`).length;this.countTargets.forEach(t=>{const r=t.dataset.countName,n=r?document.querySelectorAll(`[${this.countAttrValue}=${r}]`).length:e;t.hidden=0===n,t.textContent=n.toString()})}open(e){const t=e.target?.closest("button");this.activeSubmenuValue=t.getAttribute("aria-controls")||""}close(){this.activeSubmenuValue=""}delayedClose(){setTimeout(()=>this.close(),200)}activeSubmenuValueChanged(e,t){if(t){const e=document.querySelector(`[aria-controls="${t}"]`);this.toggle(!1,e)}if(e){const t=document.querySelector(`[aria-controls="${e}"]`);this.toggle(!0,t)}}preventOutletClickaway(e){const t=e.detail.target;if(!t)return;const r=this.toggleTargets.map(e=>e.getAttribute("aria-controls")),n=t.closest("button")?.getAttribute("aria-controls")||"";r.includes(n)&&e.preventDefault()}toggle(e,t){this.hasWDropdownOutlet&&e&&this.wDropdownOutlet.show();const r=t.getAttribute("aria-controls"),n=this.element.querySelector(`#${r}`);n&&(t.setAttribute("aria-expanded",e.toString()),n.hidden=!e,this.menuTarget.hidden=e,e?n.focus():t.focus())}}var z=r(7381);const $={name:"hideOnEsc",defaultValue:!0,fn({hide:e}){function t(t){"Escape"===t.key&&e()}return{onShow(){document.addEventListener("keydown",t)},onHide(){document.removeEventListener("keydown",t)}}}};class U extends n.Controller{static values={content:String,offset:Array,placement:{default:"bottom",type:String}};static targets=["content"];tippy;connect(){this.tippy=(0,z.Ay)(this.element,this.options)}contentValueChanged(e,t){t&&t!==e&&this.tippy?.setProps(this.options)}placementValueChanged(e,t){t&&t!==e&&this.tippy?.setProps(this.options)}hide(){this.tippy?.hide()}show(){this.tippy?.show()}get options(){let e=this.contentValue;return this.hasContentTarget&&(this.contentTarget.hidden=!1,e=this.contentTarget),{content:e,placement:this.placementValue,plugins:this.plugins,...this.hasOffsetValue&&{offset:this.offsetValue}}}get plugins(){return[$]}disconnect(){this.tippy?.destroy()}}const H={name:"hideTooltipOnBreadcrumbAndCollapse",fn({hide:e}){function t(){e()}return{onShow(){document.addEventListener("w-breadcrumbs:opened",t),document.addEventListener("w-breadcrumbs:closed",t)},onHide(){document.removeEventListener("w-breadcrumbs:closed",t),document.removeEventListener("w-breadcrumbs:opened",t)}}}},W={name:"hideTooltipOnClickInside",defaultValue:!0,fn(e){const t=()=>e.hide();return{onShow(){e.popper.addEventListener("click",t)},onHide(){e.popper.removeEventListener("click",t)}}}},G={name:"rotateToggleIcon",fn(e){const t=e.reference.querySelector(".icon-arrow-down, .icon-arrow-up");return t?{onShow:()=>t.classList.add("w-rotate-180"),onHide:()=>t.classList.remove("w-rotate-180")}:{}}};class K extends n.Controller{static targets=["toggle","content"];static values={hideOnClick:{default:!1,type:Boolean},keepMounted:{default:!1,type:Boolean},offset:Array,theme:{default:"dropdown",type:String}};tippy;connect(){this.tippy=(0,z.Ay)(this.toggleTarget,this.options)}hide(){this.tippy?.hide()}show(){this.tippy?.show()}get options(){const e=this.toggleTarget.getAttribute("aria-label");let t;return this.hasContentTarget&&(this.contentTarget.hidden=!1),e&&(t=(0,z.Ay)(this.toggleTarget,{content:e,placement:"bottom",plugins:[$]})),{...this.hasContentTarget?{content:this.contentTarget}:{},trigger:"click",...this.themeOptions,interactive:!0,...this.hasOffsetValue&&{offset:this.offsetValue},getReferenceClientRect:()=>this.reference.getBoundingClientRect(),theme:this.themeValue,onCreate:e=>{if(this.keepMountedValue){const{popper:t}=e;this.element.append(t),t.hidden=!0}},onShow:e=>{if(t&&t.disable(),this.keepMountedValue){const{popper:t}=e;t.hidden=!1}},onShown:()=>{this.dispatch("shown")},onHide:()=>{this.dispatch("hide"),t&&t.enable()},onHidden:e=>{if(this.keepMountedValue){const{popper:t}=e;this.element.append(t),t.hidden=!0}}}}get themeOptions(){return{dropdown:{arrow:!0,maxWidth:350,placement:"bottom",plugins:this.plugins},popup:{arrow:!0,placement:"bottom",plugins:this.plugins,trigger:"mouseenter focus click"},drilldown:{arrow:!1,maxWidth:"none",placement:"bottom-end",hideOnClick:!1,plugins:this.plugins.concat([this.hideTooltipOnClickAway])},"dropdown-button":{arrow:!1,maxWidth:"none",placement:"bottom-start",plugins:this.plugins}}[this.themeValue]}get hideTooltipOnClickAway(){return{name:"hideTooltipOnClickAway",fn:e=>{const t=t=>{this.dispatch("clickaway",{cancelable:!0,detail:{target:t.target}}).defaultPrevented||!e.state.isShown||this.reference.contains(t.target)&&!this.toggleTarget.contains(t.target)||e.hide()};return{onShow(){document.addEventListener("click",t)},onHide(){document.removeEventListener("click",t)}}}}}get plugins(){const e=[H,$,G];return this.hideOnClickValue&&e.push(W),e}get reference(){const e=this.toggleTarget.parentElement;return"dropdown-button"===this.themeValue?e.parentElement:e}disconnect(){this.tippy&&(this.element?.append(this.tippy.popper),this.tippy.popper.hidden=!0,this.tippy.destroy())}}var Y=r(1245);class Z extends n.Controller{static values={target:String};get target(){const e=this.targetValue||this.element.getAttribute("href")||"main";return this.element.closest(e)||document.querySelector(e)}focus(){const e=this.target;e&&!this.dispatch("focus",{bubbles:!0,cancelable:!0,target:e}).defaultPrevented&&((0,Y.s)(e),this.dispatch("focused",{bubbles:!0,cancelable:!1,target:e}))}}var X=r(6032);class J extends n.Controller{static classes=["deleted"];static targets=["child","deleted","deleteInput","forms","minFormsInput","maxFormsInput","template","totalFormsInput"];static values={min:{default:0,Number},max:{default:1e3,Number},total:{default:0,Number}};elementPrefixRegex=/__prefix__(.*?['"])/g;initialize(){this.totalValue=parseInt(this.totalFormsInputTarget.value,10),this.minValue=parseInt(this.minFormsInputTarget.value,10),this.maxValue=parseInt(this.maxFormsInputTarget.value,10)}connect(){this.dispatch("ready",{cancelable:!1,detail:{minValue:this.minValue,maxValue:this.maxValue,totalValue:this.totalValue}})}add(){this.childTargets.length>=this.maxValue||this.dispatch("adding",{cancelable:!0,detail:{formIndex:this.totalValue}}).defaultPrevented||this.formsTarget.appendChild(this.newChild)}delete(e){const t=this.childTargets.find(t=>t.contains(e.target));if(!t)throw new Error(`Could not find child form target for event target: ${e.target}.`);if(this.childTargets.length<=this.minValue)return;if(this.dispatch("removing",{target:t,cancelable:!0}).defaultPrevented)return;const r=`data-${this.identifier}-target`;t.setAttribute(r,(t.getAttribute(r)?.split(" ")??[]).filter(e=>"child"!==e).concat(["deleted"]).join(" "))}childTargetConnected(e){const t=this.childTargets.length+this.deletedTargets.length;t!==this.totalValue&&(this.totalValue=t,this.dispatch("added",{target:e,cancelable:!1,detail:{formIndex:t-1}}))}childTargetDisconnected(e){const t=this.deletedClasses;e.classList.add(...t),((e,{maxDelay:t=350}={})=>new Promise(r=>{if(!t||t<=0)return void r(null);let n;const a=t=>{t&&t.target!==e||(window.clearTimeout(n),e.removeEventListener("transitionend",a),e.removeEventListener("animationend",a),r(t||null))};e.addEventListener("animationend",a),e.addEventListener("transitionend",a),n=window.setTimeout(a,t)}))(e,t.length?{}:{maxDelay:0}).then(()=>{e.setAttribute("hidden",""),this.dispatch("removed",{target:e,cancelable:!1})});const r=this.deleteInputTargets.find(t=>e.contains(t));if(!r)throw new Error(`Could not find "deleteInput" target within removed form. ${e.nodeName} with id '${e.id}'.`);"1"!==r.value&&(r.value="1",this.dispatch("change",{prefix:"",target:r,cancelable:!1}))}totalValueChanged(e,t){if(e===t||void 0===t)return;const r=this.totalFormsInputTarget;r.value!==`${e}`&&(r.value=`${e}`,this.dispatch("change",{prefix:"",target:r,cancelable:!1}))}get newChild(){const e=this.templateTarget.content.firstElementChild?.cloneNode(!0);if(!(e instanceof HTMLElement))throw new Error("Invalid template content, must be a single node.");const t=this.childTargets.length+this.deletedTargets.length,r=document.createElement("template");r.innerHTML=e.outerHTML.replace(this.elementPrefixRegex,t+"$1");const n=r.content.firstElementChild?.cloneNode(!0);return(0,X.v)(n),n}}class Q extends n.Controller{static classes=["ready","remove"];static values={delay:{default:-1,type:Number},detail:{default:{},type:Object},event:{default:"",type:String}};connect(){this.ready()}ready(){const e=this.delayValue,t={...this.detailValue};(0,x.s)(()=>!0,e<0?null:e)().then(()=>{this.element.classList.add(...this.readyClasses),this.element.classList.remove(...this.removeClasses),this.dispatch("ready",{bubbles:!0,cancelable:!0,detail:t}).defaultPrevented||(this.eventValue.split(" ").filter(Boolean).forEach(e=>{this.dispatch(e,{bubbles:!0,cancelable:!1,detail:t,prefix:""})}),this.remove())})}remove(){const e=this.element;this.constructor.classes.forEach(t=>{e.removeAttribute(`data-${this.identifier}-${t}-class`)}),Object.keys(this.constructor.values).forEach(t=>{e.removeAttribute(`data-${this.identifier}-${t}-value`)});const t=this.application.schema.controllerAttribute,r=(e.getAttribute(t)?.split(" ")??[]).filter(e=>e!==this.identifier).join(" ");r?e.setAttribute(t,r):e.removeAttribute(t)}}var ee,te=r(6411),re=r.n(te);r(9610),function(e){e.CLICK="click",e.FOCUS="focus"}(ee||(ee={}));class ne extends n.Controller{static targets=["element"];static values={action:{default:"",type:String},key:{default:"",type:String},scope:{default:"",type:String}};static get shouldLoad(){return!!v.HE.KEYBOARD_SHORTCUTS_ENABLED}initialize(){if(this.handleKey=this.handleKey.bind(this),!this.keyValue){const e=[...this.elementTargets,this.element].find(e=>e.hasAttribute("aria-keyshortcuts"))?.getAttribute("aria-keyshortcuts");e&&(this.keyValue=e)}}handleKey(e){e.preventDefault&&e.preventDefault();const t=this.elementTargets.length>0?this.elementTargets[0]:this.element;this.actionValue===ee.FOCUS?this.handleFocus(t):this.handleClick(t)}handleClick(e){e.click()}handleFocus(e){(0,Y.s)(e),e instanceof HTMLInputElement&&e.value&&e.select&&e.select()}keyValueChanged(e,t){t&&t!==e&&re().unbind(t),e&&("global"===this.scopeValue?re().bindGlobal(e,this.handleKey):re().bind(e,this.handleKey))}}class ae extends n.Controller{static localizeTimeZone(e,t){return new Intl.DateTimeFormat(document.documentElement.lang,{timeZone:e,timeZoneName:t}).formatToParts(new Date).find(e=>"timeZoneName"===e.type).value}static getTZLabel(e){return`${ae.localizeTimeZone(e,"short")} (${ae.localizeTimeZone(e,"long")})`}localizeTimeZoneOptions(e){const t=e?.target||this.element,r=e?.params?.serverTimeZone;Array.from(t.options).forEach(e=>{const t=e.value||r;if(!t)return;const n=ae.getTZLabel(t),a=e,o=(0,M.AP)("%(time_zone_option)s: %(localized_time_zone_label)s");a.textContent=o.replace("%(time_zone_option)s",a.textContent??"").replace("%(localized_time_zone_label)s",n)})}}var oe,ie=r(246);!function(e){e.Up="UP",e.Down="DOWN"}(oe||(oe={}));class ue extends n.Controller{static classes=["active","chosen","drag","ghost"];static targets=["handle","item"];static values={animation:{default:200,type:Number},container:{default:"",type:String},message:{default:"",type:String},url:String};order;sortable;constructor(e){super(e),this.order=[]}connect(){const e=this.containerValue,t=e&&this.element.querySelector(e)||this.element;this.sortable=ie.Ay.create(t,this.options),this.order=this.sortable.toArray(),this.dispatch("ready",{cancelable:!1,detail:{order:this.order}})}get options(){const e=this.identifier;return{...this.hasGhostClass?{ghostClass:this.ghostClass}:{},...this.hasChosenClass?{chosenClass:this.chosenClass}:{},...this.hasDragClass?{dragClass:this.dragClass}:{},animation:this.animationValue,dataIdAttr:`data-${e}-item-id`,draggable:`[data-${e}-target="item"]`,handle:`[data-${e}-target="handle"]`,onStart:()=>{this.element.classList.add(...this.activeClasses)},onEnd:({item:e,newIndex:t,oldIndex:r})=>{this.element.classList.remove(...this.activeClasses),r!==t&&(this.order=this.sortable.toArray(),this.submit({...this.getItemData(e),newIndex:t}))}}}getItemData(e){const t=this.identifier,r=e instanceof HTMLElement&&e.closest(`[data-${t}-target='item']`);return r?{id:r.getAttribute(`data-${t}-item-id`)||"",label:r.getAttribute(`data-${t}-item-label`)||""}:{id:"",label:""}}apply({currentTarget:e}){const{id:t,label:r}=this.getItemData(e),n=this.order.indexOf(t);this.submit({id:t,label:r,newIndex:n})}move({currentTarget:e},t){const r=this.identifier,n=e instanceof HTMLElement&&e.closest(`[data-${r}-target='item']`);if(!n)return;const a=n.getAttribute(`data-${r}-item-id`)||"",o=this.order.indexOf(a);this.order.splice(o,1),t===oe.Down?this.order.splice(o+1,0,a):t===oe.Up&&o>0?this.order.splice(o-1,0,a):this.order.splice(o,0,a),this.sortable.sort(this.order,!0)}up(e){this.move(e,oe.Up),e.currentTarget?.focus()}down(e){this.move(e,oe.Down),e.currentTarget?.focus()}submit({id:e,label:t,newIndex:r}){let n=this.urlValue.replace("999999",e);null!==r&&(n+="?position="+r);const a=(this.messageValue||"__LABEL__").replace("__LABEL__",t);fetch(n,{method:"POST",headers:{[v.HE.CSRF_HEADER_NAME]:v.HE.CSRF_TOKEN}}).then(e=>{if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`)}).then(()=>{this.dispatch("w-messages:add",{prefix:"",target:window.document,detail:{clear:!0,text:a,type:"success"},cancelable:!1})}).catch(e=>{throw e})}disconnect(){this.sortable&&this.sortable.destroy()}}var se=r(8609),le=r.n(se),ce=r(2178),de=r(1319);const pe={ar:181,zh:260,nl:228,en:238,fi:195,fr:214,de:260,he:224,it:285,ko:226,es:278,sv:218},he=(e,t,...r)=>!t||t<=0||t>=2**31?null:setInterval(e,t,...r);var fe,me,De,ge=r(2277);class ve extends n.Controller{static classes=["hasErrors","proxy","selectedSize"];static targets=["iframe","mode","newTab","size","spinner"];static values={autoUpdateInterval:{default:500,type:Number},deviceLocalStorageKey:{default:"wagtail:preview-panel-device",type:String},deviceWidthProperty:{default:"--preview-device-width",type:String},panelWidthProperty:{default:"--preview-panel-width",type:String},renderUrl:{default:"",type:String},url:{default:"",type:String}};static outlets=["w-progress"];static fallbackWidth=375..toString();static scrollRestoreTimeout=1e4;ready=!1;available=!0;formPayload="";spinnerTimeout=null;updateInterval=null;updatePromise=null;reloadPromise=null;#e=null;contentChecksPromise=null;get activeSizeInput(){return this.sizeTargets.find(e=>e.checked)||null}get renderUrl(){const e=new URL(this.renderUrlValue,window.location.href);return this.hasModeTarget&&e.searchParams.set("mode",this.modeTarget.value),e}connect(){if(!this.urlValue)throw new Error(`The preview panel controller requires the data-${this.identifier}-url-value attribute to be set`);this.resizeObserver=this.observePanelSize(),this.editForm=document.querySelector("[data-edit-form]"),this.sidePanelContainer=this.element.parentElement,this.activatePreview=this.activatePreview.bind(this),this.deactivatePreview=this.deactivatePreview.bind(this),this.setPreviewData=this.setPreviewData.bind(this),this.checkAndUpdatePreview=this.checkAndUpdatePreview.bind(this),this.runChecks=this.runChecks.bind(this),this.sidePanelContainer.addEventListener("show",this.activatePreview),this.sidePanelContainer.addEventListener("hide",this.deactivatePreview),this.setUpContentChecks(),this.restoreLastSavedPreferences()}setUpContentChecks(){this.checksSidePanel=document.querySelector('[data-side-panel="checks"]'),this.a11yRowTemplate=document.querySelector("#w-a11y-result-row-template"),this.checksPanel=document.querySelector("[data-checks-panel]"),this.axeConfig=(0,ce.$R)(document.body),this.checksToggleCounter=document.querySelector('[data-side-panel-toggle="checks"] [data-side-panel-toggle-counter]'),this.checksPanelCounter=document.querySelector('[data-side-panel="checks"] [data-a11y-result-count]'),this.checksSidePanel&&this.checksPanel&&this.a11yRowTemplate&&this.axeConfig&&this.checksToggleCounter&&this.checksPanelCounter?(this.axeConfig.context.include={fromFrames:["#w-preview-iframe"].concat(this.axeConfig.context.include)},this.axeConfig.context.exclude?.length>0&&(this.axeConfig.context.exclude={fromFrames:["#w-preview-iframe"].concat(this.axeConfig.context.exclude)}),this.contentExtractorOptions={targetElement:'main, [role="main"]'},le().configure((0,ce.ip)(this.axeConfig.spec)),le().registerPlugin(de.$),this.checksSidePanel.addEventListener("show",this.activatePreview),this.checksSidePanel.addEventListener("hide",this.deactivatePreview),window.addEventListener("message",this.runChecks),this.contentChecksEnabled=!0):this.contentChecksEnabled=!1}renderUrlValueChanged(e){e||(this.renderUrlValue=this.urlValue),this.updateNewTabLink()}autoUpdateIntervalValueChanged(){this.updateInterval?this.addInterval():this.autoUpdateIntervalValue||this.clearInterval()}restoreLastSavedPreferences(){let e=null;try{e=localStorage.getItem(this.deviceLocalStorageKeyValue)}catch(e){}const t=this.sizeTargets.find(t=>t.value===e)||this.activeSizeInput||this.sizeTargets[0];t.click(),this.applySelectedSizeClass(t.value)}activatePreview(){this.checkAndUpdatePreview(),this.addInterval()}addInterval(){this.clearInterval(),this.updateInterval=he(this.checkAndUpdatePreview,this.autoUpdateIntervalValue),this.updateInterval&&(this.setPreviewData=(0,x.s)(this.setPreviewData,this.autoUpdateIntervalValue))}clearInterval(){"restore"in this.setPreviewData&&(this.setPreviewData=this.setPreviewData.restore()),this.updateInterval&&(window.clearInterval(this.updateInterval),this.updateInterval=null)}deactivatePreview(){this.clearInterval()}setPreviewMode(){this.updateNewTabLink(),this.setPreviewDataWithAlert()}updateNewTabLink(){this.hasNewTabTarget&&(this.newTabTarget.href=this.renderUrl.toString())}togglePreviewSize(e){const t=e.target,r=t.value,n=t.dataset.deviceWidth;this.setPreviewWidth(n),this.applySelectedSizeClass(r);try{localStorage.setItem(this.deviceLocalStorageKeyValue,r)}catch(e){}}setPreviewWidth(e){let t=e;e||(t=this.activeSizeInput?.dataset.deviceWidth||ve.fallbackWidth),this.available||(t=ve.fallbackWidth),this.element.style.setProperty(this.deviceWidthPropertyValue,t)}applySelectedSizeClass(e){this.sizeTargets.forEach(t=>{t.labels?.forEach(r=>r.classList.toggle(this.selectedSizeClass,t.value===e))})}observePanelSize(){const e=new ResizeObserver(e=>this.element.style.setProperty(this.panelWidthPropertyValue,e[0].contentRect.width.toString()));return e.observe(this.element),e}async checkAndUpdatePreview(){if(!this.updatePromise&&this.hasChanges())return this.setPreviewData()}hasChanges(){const e=new URLSearchParams(new FormData(this.editForm)).toString(),t=this.formPayload!==e;return this.formPayload=e,t}setPreviewData=async()=>this.updatePromise?this.updatePromise:this.dispatch("update").defaultPrevented?void 0:(this.updatePromise=(async()=>{this.hasSpinnerTarget&&(this.spinnerTimeout=setTimeout(()=>{this.spinnerTarget.hidden=!1},2e3));try{const e=await fetch(this.urlValue,{method:"POST",body:new FormData(this.editForm)}),t=await e.json();return this.dispatch("json",{cancelable:!1,detail:{data:t}}),this.element.classList.toggle(this.hasErrorsClass,!t.is_valid),this.available=t.is_available,t.is_valid?this.reloadIframe():this.ready?this.finishUpdate():t.is_available?this.updatePromise=this.clearPreviewData().then(()=>!1):this.reloadIframe(),t.is_valid}catch(e){throw this.dispatch("error",{cancelable:!1,detail:{error:e}}),this.finishUpdate(),e}})(),this.updatePromise);async clearPreviewData(){return fetch(this.urlValue,{headers:{[v.HE.CSRF_HEADER_NAME]:v.HE.CSRF_TOKEN},method:"DELETE"}).then(e=>(this.available=!1,this.reloadIframe(),e))}reloadIframe(){if(this.reloadPromise=new Promise(e=>{this.#e=e}),this.dispatch("load").defaultPrevented)return void this.finishUpdate();const e=this.iframeTarget.cloneNode();e.removeAttribute("id");const t=this.renderUrl;t.searchParams.set("in_preview_panel","true"),e.src=t.toString(),e.classList.add(this.proxyClass),this.iframeTarget.insertAdjacentElement("afterend",e)}async replaceIframe(e){const t=this.iframeTarget.id,r=e.target;r.src&&(this.ready&&await this.restoreScrollPosition(r),this.iframeTargets.forEach(e=>{e!==r&&e.remove()}),r.id=t,r.classList.remove(this.proxyClass),this.dispatch("loaded",{cancelable:!1}),this.finishUpdate())}async restoreScrollPosition(e){const t={oldIframe:!1,newIframe:!1};try{t.oldIframe=!this.iframeTarget.contentWindow?.location.origin}catch{t.oldIframe=!0}try{t.newIframe=!e.contentWindow?.location.origin}catch{t.newIframe=!0}return t.oldIframe!==t.newIframe?Promise.resolve():t.oldIframe||t.newIframe?new Promise(t=>{const r=n=>{const a=(0,ge.j)(n);if(a)switch(a.type){case"w-preview:request-scroll":this.iframeTarget.contentWindow?.postMessage({wagtail:{type:"w-preview:get-scroll-position"}},a.origin);break;case"w-preview:set-scroll-position":e.contentWindow?.postMessage({wagtail:a},a.origin),window.removeEventListener("message",r),t()}};window.addEventListener("message",r),setTimeout(()=>{window.removeEventListener("message",r),t()},ve.scrollRestoreTimeout)}):(e.contentWindow?.scroll({top:this.iframeTarget.contentWindow?.scrollY,left:this.iframeTarget.contentWindow?.scrollX,behavior:"instant"}),Promise.resolve())}async runChecks(e){if(e&&"message"===e.type){const t=(0,ge.j)(e);if("w-userbar:axe-ready"!==t?.type)return this.contentChecksPromise}return this.contentChecksPromise&&await this.contentChecksPromise,this.contentChecksPromise=(async()=>{await this.runAccessibilityChecks(),await this.runContentChecks(),this.contentChecksPromise=null})(),this.contentChecksPromise}async runAccessibilityChecks(){const{results:e,a11yErrorsNumber:t}=await(0,ce.lc)(this.axeConfig);this.checksToggleCounter.textContent=t.toString(),this.checksToggleCounter.hidden=0===t,this.checksPanelCounter.textContent=t.toString(),this.checksPanelCounter.classList.toggle("has-errors",t>0),(0,ce.ZG)(this.checksPanel,e,this.axeConfig,this.a11yRowTemplate,()=>this.newTabTarget.click())}async runContentChecks(){const e=await this.extractContent();if(!e)return;const t=((e,t)=>{const r=new Intl.Segmenter(e,{granularity:"word"});return Array.from(r.segment(t)).reduce((e,t)=>t.isWordLike?e+1:e,0)})(e.lang,e.innerText),r=((e,t)=>{const r=e.split("-")[0],n=pe[r]||pe.en;return Math.round(t/n)})(e.lang,t),n=((e,t)=>{const r=new Intl.Segmenter(e,{granularity:"sentence"}),n=Array.from(r.segment(t)).length,a=new Intl.Segmenter(e,{granularity:"word"});let o=0,i=0;for(const{segment:e,isWordLike:r}of a.segment(t))r&&(o+=1,e.length>6&&(i+=1));return 0===n||o<10?0:o/n+i/o*100})(e.lang,e.innerText),a=(e=>e<35?(0,M.AP)("Good"):e<45?(0,M.AP)("Fair"):(0,M.AP)("Complex"))(n),o={wordCount:t,readingTime:r,lixScore:n,readabilityScore:a};this.dispatch("content",{detail:{content:e,metrics:o}}),(({wordCount:e,readingTime:t,readabilityScore:r})=>{const n=document.querySelector("[data-content-word-count]"),a=document.querySelector("[data-content-reading-time]"),o=document.querySelector("[data-content-readability-score]");n&&a&&(n.textContent=e.toString(),a.textContent=(0,M.WI)("%(num)s min","%(num)s mins",t).replace("%(num)s",`${t}`),o&&(o.textContent=r.toString()))})(o)}async extractContent(e){return this.ready||(await this.checkAndUpdatePreview(),await this.reloadPromise),(e=>new Promise(t=>{le().plugins.wagtailPreview.run("extractor","extract",e,e=>{t(e)})}))(e||this.contentExtractorOptions)}finishUpdate(){this.spinnerTimeout&&(clearTimeout(this.spinnerTimeout),this.spinnerTimeout=null),this.hasSpinnerTarget&&(this.spinnerTarget.hidden=!0),this.hasWProgressOutlet&&(this.wProgressOutlet.loadingValue=!1),this.updatePromise=null,this.setPreviewWidth(),this.ready||(this.ready=!0,this.dispatch("ready",{cancelable:!1})),this.dispatch("updated",{cancelable:!1}),this.#e?.(),this.reloadPromise=null,this.#e=null}async setPreviewDataWithAlert(){try{return await this.setPreviewData()}catch{return void window.alert((0,M.AP)("Error while sending preview data."))}}async openPreviewInNewTab(e){const t=e.currentTarget,r=await this.setPreviewDataWithAlert(),n=new URL(t.href);return n.search="",window.open(t.href,n.toString()),r}disconnect(){this.sidePanelContainer.removeEventListener("show",this.activatePreview),this.sidePanelContainer.removeEventListener("hide",this.deactivatePreview),this.contentChecksEnabled&&(window.removeEventListener("message",this.runChecks),this.checksSidePanel.removeEventListener("show",this.activatePreview),this.checksSidePanel.removeEventListener("hide",this.deactivatePreview)),this.resizeObserver.disconnect()}}class be extends n.Controller{static classes=["active"];static targets=["label"];static values={active:{default:"",type:String},duration:{default:3e4,type:Number},label:{default:"",type:String},loading:{default:!1,type:Boolean}};timer;connect(){if(this.hasLabelTarget)return;const e=this.element.querySelector("em");e&&e.setAttribute(`data-${this.identifier}-target`,"label")}activate(){const e=this.element.closest("form");e&&e.checkValidity&&!e.noValidate&&!e.checkValidity()||window.setTimeout(()=>{this.loadingValue=!0,this.timer=window.setTimeout(()=>{this.loadingValue=!1},this.durationValue)})}deactivate(){this.loadingValue=!1,this.timer&&clearTimeout(this.timer)}loadingValueChanged(e){const t=this.hasActiveClass?this.activeClass:"button-longrunning-active";this.element.classList.toggle(t,e),this.labelValue||(this.labelValue=this.hasLabelTarget?this.labelTarget.textContent:this.element.textContent),e?(this.element.setAttribute("disabled",""),this.activeValue&&this.hasLabelTarget&&(this.labelTarget.textContent=this.activeValue)):(this.element.removeAttribute("disabled"),this.labelValue&&this.hasLabelTarget&&(this.labelTarget.textContent=this.labelValue))}disconnect(){this.deactivate()}}!function(e){e.OPENED="opened",e.CLOSED="closed"}(fe||(fe={}));class ye extends n.Controller{static classes=["closed","closeIcon","opened","openedContent","openIcon"];static targets=["content","toggle"];static values={closed:{default:!1,type:Boolean},peeking:{default:!1,type:Boolean},peekTarget:{default:"",type:String},storageKey:{default:"",type:String}};cleanUpPeekListener;connect(){const e=!!this.peekTargetValue&&this.element.closest(this.peekTargetValue);if(e){const t=()=>{this.peekingValue&&this.close(),this.peekingValue=!1};e.addEventListener("mouseleave",t,{passive:!0}),this.cleanUpPeekListener=()=>{e.removeEventListener("mouseleave",t)}}if(this.storageKeyValue){const e=this.stored;"boolean"==typeof e&&e!==this.closedValue?this.closedValue=e:this.stored=this.closedValue}new Promise(e=>{setTimeout(e)}).then(()=>{this.dispatch("ready",{cancelable:!1,detail:{closed:this.closedValue}})})}closedValueChanged(e,t){if(t===e)return;const r=this.closedClasses,n=this.openedClasses,a=this.contentTargets,o=void 0===t,i=this.peekingValue,u=this.openedContentClasses,s=this.toggles;if(i||this.updateToggleIcon(e),e){if(this.dispatch("closing",{cancelable:!0}).defaultPrevented)return;s.forEach(e=>{e.setAttribute("aria-expanded","false")}),a.forEach(e=>{e.classList.remove(...u),e.hidden=!0}),this.element.classList.add(...r),this.element.classList.remove(...n),this.dispatch("closed",{cancelable:!1})}else{if(this.dispatch("opening",{cancelable:!0}).defaultPrevented)return;s.forEach(e=>{e.setAttribute("aria-expanded","true")}),a.forEach(e=>{e.classList.add(...u),e.hidden=!1}),this.element.classList.remove(...r),this.element.classList.add(...n),this.dispatch("opened",{cancelable:!1})}o||s.forEach(t=>{this.dispatch("toggled",{cancelable:!1,detail:{closed:e},target:t})})}close(){this.closedValue=!0}open(){this.closedValue=!1}peek(){this.closedValue&&(this.peekingValue=!0,this.open())}toggle(){if(this.stored=!this.peekingValue&&!this.closedValue,this.peekingValue)return this.peekingValue=!1,void this.updateToggleIcon(!1);this.closedValue=!this.closedValue}get toggles(){const e=this.contentTargets.map(e=>e.id).flatMap(e=>Array.from(document.querySelectorAll(`[aria-controls~="${e}"]`))).concat(...this.toggleTargets);return Array.from(new Set(e))}updateToggleIcon(e=!1){if(!this.hasCloseIconClass||!this.hasOpenIconClass)return;const t=this.closeIconClass,r=this.openIconClass;t!==r&&this.toggles.map(e=>{const t=e.querySelector(".icon"),r=t?.querySelector("use");return r&&t?[t,r]:[]}).filter(({length:e})=>e).forEach(([n,a])=>{e?(n.classList.remove(t),n.classList.add(r),a.setAttribute("href",`#${r}`)):(n.classList.remove(r),n.classList.add(t),a.setAttribute("href",`#${t}`))})}get localStorageKey(){const e=this.storageKeyValue;return e?["wagtail",this.identifier,e].join(":"):null}get stored(){const e=this.localStorageKey;if(e)try{const t=localStorage.getItem(e);if(null===t)return;return t===fe.CLOSED}catch(e){}}set stored(e){const t=this.localStorageKey;if(t)try{e?localStorage.setItem(t,fe.CLOSED):localStorage.setItem(t,fe.OPENED)}catch(e){}}disconnect(){this.cleanUpPeekListener?.call(this)}}!function(e){e.Enable="enable",e.Show="show"}(me||(me={})),function(e){e.All="all",e.Any="any"}(De||(De={}));class Fe extends n.Controller{static targets=["enable","show"];initialize(){this.rulesCache={},this.resolve=(0,x.s)(this.resolve.bind(this),50),this.form=this.findForm()}findForm(){const e=this.element;return e instanceof HTMLFormElement?e:"form"in e?e.form:e.closest("form")}resolve(){if(!this.hasEnableTarget&&!this.hasShowTarget)return;const e=new FormData(this.form),t=([t,r])=>{const n=e.getAll(t);return 0===r.length&&0===n.length||r.some(e=>n.includes(e))};this.enableTargets.forEach(e=>{const r=me.Enable,{match:n,rules:a}=this.parseRules(e,r),o=n===De.Any?a.some(t):a.every(t);o!==!e.disabled&&(this.dispatch("effect",{bubbles:!0,cancelable:!0,detail:{effect:r,enable:o},target:e}).defaultPrevented||(e.disabled=!o))}),this.showTargets.forEach(e=>{const r=me.Show,{match:n,rules:a}=this.parseRules(e,r),o=n===De.Any?a.some(t):a.every(t);o!==!e.hidden&&(this.dispatch("effect",{bubbles:!0,cancelable:!0,detail:{effect:r,show:o},target:e}).defaultPrevented||(e.hidden=!o))}),this.dispatch("resolved",{bubbles:!0,cancelable:!1})}parseRules(e,t=me.Enable){const r={match:De.All,rules:[]};if(!e)return r;let n=`data-${this.identifier}-${t}`,a=e.getAttribute(n);if(a||(n=`data-${this.identifier}`,a=e.getAttribute(n)),!a)return r;const o=this.rulesCache[a];if(o)return o;let i;try{i=JSON.parse(a)}catch(e){return this.context.handleError(e,`Unable to parse rule at the attribute '${n}'.`),r}const u=(Array.isArray(i)?i:Object.entries(i)).filter(Array.isArray).map(([e="",t=""]=[])=>[e,N(t).map(String)]),[,[s=De.All]=[]]=u.find(([e])=>""===e)||[];if(!Object.values(De).includes(s))return this.context.handleError(new Error(`Invalid match value: '${s}'.`),`Match value must be one of: '${Object.values(De).join("', '")}'.`),r;const l={match:s,rules:u.filter(([e])=>e)};return this.rulesCache[a]=l,l}enableTargetConnected(){this.resolve()}enableTargetDisconnected(){this.resolve()}showTargetConnected(){this.resolve()}showTargetDisconnected(){this.resolve()}}class we extends n.Controller{static values={interval:{type:Number,default:1e4},intercept:{type:Boolean,default:!1}};static outlets=["w-dialog"];static targets=["unsavedChanges","reload"];lastActionButton;initialize(){this.showConfirmationDialog=this.showConfirmationDialog.bind(this),this.confirmAction=this.confirmAction.bind(this),this.ping=this.ping.bind(this)}connect(){this.ping()}get interceptTargets(){return document?.querySelectorAll('[data-edit-form] button:is([type="submit"], [data-workflow-action-name])')}ping(){this.dispatch("ping")}intervalValueChanged(){this.addInterval()}addInterval(){this.clearInterval(),this.interval=he(this.ping,this.intervalValue)}clearInterval(){this.interval&&(window.clearInterval(this.interval),this.interval=null)}dispatchVisibilityState(){this.dispatch(document.visibilityState)}showConfirmationDialog(e){this.lastActionButton=e.target,this.interceptValue&&this.hasWDialogOutlet&&(this.lastActionButton?.closest('[data-controller="w-dialog"]')?.dispatchEvent(new Event("w-dialog:hide")),e.preventDefault(),e.stopImmediatePropagation(),this.wDialogOutlet.hasConfirmTarget&&this.lastActionButton&&(this.wDialogOutlet.confirmTarget.textContent=this.lastActionButton.textContent),this.wDialogOutlet.show())}confirmAction(){this.interceptValue=!1,this.lastActionButton?.click(),this.interceptValue=!0}wDialogOutletConnected(){this.interceptTargets.forEach(e=>{e.addEventListener("click",this.showConfirmationDialog,{capture:!0})}),this.wDialogOutlet.element.addEventListener("w-dialog:confirmed",this.confirmAction)}wDialogOutletDisconnected(){this.interceptTargets?.forEach(e=>{e.removeEventListener("click",this.showConfirmationDialog,{capture:!0})})}setUnsavedChanges(e){if(!this.hasUnsavedChangesTarget)return;const t=e.type.split(":")[1];this.unsavedChangesTarget.checked="clear"!==t,this.reloadTargets.forEach(e=>this.reloadTargetConnected(e))}reloadTargetConnected(e){this.hasUnsavedChangesTarget&&this.unsavedChangesTarget.checked&&e.dataset.dialogId?(e.removeAttribute("data-action"),e.setAttribute("data-a11y-dialog-show",e.dataset.dialogId)):(e.removeAttribute("data-a11y-dialog-show"),e.setAttribute("data-action","w-action#reload"))}get swapController(){return this.application.getControllerForElementAndIdentifier(this.element,"w-swap")}get actionController(){return this.application.getControllerForElementAndIdentifier(this.element,"w-action")}updateSessionData(e){const{detail:t}=e;if(!t||!t.data)return;const r=t.data,n=this.swapController;n&&r.ping_url&&(n.srcValue=r.ping_url);const a=this.actionController;a&&r.release_url&&(a.urlValue=r.release_url),r.other_sessions&&(this.interceptValue=r.other_sessions.some(e=>e.revision_id))}disconnect(){this.interval&&window.clearInterval(this.interval)}}class Ee extends n.Controller{submit(){const e=this.element.form;if(!e)throw new Error(`${this.identifier} controlled element must be part of a
`);e.requestSubmit?e.requestSubmit():e.submit()}}class Ce extends n.Controller{static defaultClearParam="p";static targets=["input"];static values={icon:{default:"",type:String},loading:{default:!1,type:Boolean},reflect:{default:!1,type:Boolean},defer:{default:!1,type:Boolean},src:{default:"",type:String},jsonPath:{default:"",type:String},target:{default:"#listing-results",type:String},wait:{default:200,type:Number}};abortController;iconElement;replaceLazy;searchLazy;submitLazy;writeDeferred;connect(){this.srcValue=this.srcValue||this.formElement.getAttribute("action")||"";const e=this.target;this.iconElement=null;const t=(this.hasInputTarget?this.inputTarget:this.element).parentElement;this.iconElement=t?.querySelector("use")||null,this.iconValue=this.iconElement?.getAttribute("href")||"",this.loadingValue=!1,this.replaceLazy=(0,x.s)(this.replace.bind(this),this.waitValue),this.searchLazy=(0,x.s)(this.search.bind(this),this.waitValue),this.submitLazy=(0,x.s)(this.submit.bind(this),this.waitValue),this.dispatch("ready",{cancelable:!1,target:e})}get target(){const e=this.targetValue,t=document.querySelector(e),r=t&&t instanceof HTMLElement,n=!!this.srcValue,a=[];if(r||a.push(`Cannot find valid target element at "${e}"`),n||a.push("Cannot find valid src URL value"),a.length)throw new Error(a.join(", "));return t}loadingValueChanged(e,t){if(this.deferValue)return;const r=void 0===t?null:this.target;e?(r?.setAttribute("aria-busy","true"),this.iconElement?.setAttribute("href","#icon-spinner")):(r?.removeAttribute("aria-busy"),this.iconElement?.setAttribute("href",this.iconValue))}search(e){const t=(e?.detail?.clear||e?.params?.clear||this.constructor.defaultClearParam).split(" "),r=this.hasInputTarget?this.inputTarget:this.element,n=r.name,a=new URLSearchParams(window.location.search),o=a.get(n)||"",i=r.value||"";if(o.trim()===i.trim())return;i?a.set(n,i):a.delete(n),t.forEach(e=>{a.delete(e)});const u="?"+a.toString(),s=this.srcValue;this.replace(s+u).then(()=>{window.history.replaceState(null,"",u)})}get formElement(){return this.hasInputTarget&&this.inputTarget.form||this.element}submit(){const e=this.formElement;let t=new FormData(e),r=this.srcValue;"GET"===e.getAttribute("method")?.toUpperCase()&&(r+="?"+new URLSearchParams(t).toString(),t=void 0),this.replace(r,t)}reflectParams(e){const t=new URL(e,window.location.href).searchParams,r=new URLSearchParams;t.forEach((e,t)=>{""===e.trim()||t.startsWith("_w_")||r.append(t,e)});const n=`?${r.toString()}`;window.history.replaceState(null,"",n)}async replace(e,t){const r=this.target,n=("string"==typeof e?e:e?.detail?.url||e?.params?.url||"")||this.srcValue;this.abortController&&this.abortController.abort(),this.abortController=new AbortController;const{signal:a}=this.abortController;if(this.loadingValue=!0,this.dispatch("begin",{cancelable:!0,detail:{requestUrl:n},target:this.target}).defaultPrevented)return Promise.resolve();const o=this.formElement.getAttribute("method")?.toUpperCase()||"GET";return fetch(n,{headers:{"x-requested-with":"XMLHttpRequest",[v.HE.CSRF_HEADER_NAME]:v.HE.CSRF_TOKEN},signal:a,method:o,body:"GET"!==o?t:void 0}).then(async e=>{if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);if(this.jsonPathValue){let t;try{const r=await e.json();this.dispatch("json",{cancelable:!1,detail:{requestUrl:n,data:r}}),t=this.jsonPathValue.split(".").reduce((e,t)=>e[t],r)}catch{t=void 0}if("string"!=typeof t)throw new Error(`Unable to parse as JSON at path "${this.jsonPathValue}" to a string`);return t}return e.text()}).then(e=>{const t=async()=>(this.writeDeferred=void 0,r.innerHTML=e,this.reflectValue&&(this.dispatch("reflect",{cancelable:!0,detail:{requestUrl:n},target:r}).defaultPrevented||this.reflectParams(n)),this.dispatch("success",{cancelable:!1,detail:{requestUrl:n,results:e},target:r}),e),a='[aria-expanded="true"], [aria-describedby^="tippy"]',o=document.activeElement&&r.contains(document.activeElement),i=r.querySelector(a);return this.deferValue&&(o||i)?new Promise((n,u)=>{this.writeDeferred=t;const s=()=>{if(this.writeDeferred){const e=document.activeElement&&r.contains(document.activeElement),t=r.querySelector(a);if(e||t)return!1;this.writeDeferred().then(n).catch(u)}else n(e);return!0};if(o){const e=t=>{r.contains(t.relatedTarget)||s()&&r.removeEventListener("focusout",e)};r.addEventListener("focusout",e)}if(i){new MutationObserver((e,t)=>{s()&&t.disconnect()}).observe(r,{attributeFilter:["aria-expanded","aria-describedby"],subtree:!0})}}):t()}).catch(e=>{a.aborted||(this.dispatch("error",{cancelable:!1,detail:{error:e,requestUrl:n},target:r}),console.error("Error fetching %s",n,e))}).finally(()=>{a===this.abortController?.signal&&(this.loadingValue=!1)})}disconnect(){this.loadingValue=!1,this.replaceLazy?.cancel(),this.searchLazy?.cancel(),this.submitLazy?.cancel()}}class xe extends n.Controller{static values={debounce:{default:100,type:Number},delay:{default:0,type:Number},disabled:{default:!1,type:Boolean},name:{default:"",type:String},normalize:{default:!1,type:Boolean},quiet:{default:!1,type:Boolean},target:String};connect(){this.processTargetElements("start",{},!0),this.apply=(0,x.s)(this.apply.bind(this),this.debounceValue)}check({params:{bubbles:e=!1}={}}){this.processTargetElements("check",{bubbles:e},!0)}get value(){if(!this.normalizeValue)return this.element.value;const e=this.element,t=e.value||"";return"file"===e.getAttribute("type")?(t.split("\\").at(-1)||"").replace(/\.[^.]+$/,""):t}apply({params:{bubbles:e=!1,apply:t}={}}){const r=e=>{e.value=t||this.value,this.quietValue||this.dispatch("change",{cancelable:!1,prefix:"",target:e})};this.processTargetElements("apply",{bubbles:e}).forEach(e=>{this.delayValue?setTimeout(()=>{r(e)},this.delayValue):r(e)})}clear({params:{bubbles:e=!1}={}}){this.processTargetElements("clear",{bubbles:e}).forEach(e=>{setTimeout(()=>{e.setAttribute("value",""),this.quietValue||this.dispatch("change",{cancelable:!1,prefix:"",target:e})},this.delayValue)})}ping({params:{bubbles:e=!0}={}}){this.processTargetElements("ping",{bubbles:e})}processTargetElements(e,t={},r=!1){if(!r&&this.disabledValue)return[];const n=this.nameValue||"",a=[...document.querySelectorAll(this.targetValue)],o=a.filter(r=>!this.dispatch(e,{bubbles:!1,cancelable:!0,...t,detail:{element:this.element,...n?{name:n}:{},value:this.value},target:r}).defaultPrevented);return r&&(this.disabledValue=a.length>o.length),o}static afterLoad(e){const t=["wagtail:images-upload","wagtail:documents-upload"];document.addEventListener(`${e}:apply`,e=>{const{detail:{element:r,name:n="",value:a}={}}=e,o=e.target;if(!(t.includes(n)&&r&&o&&"value"in o))return;const i=r.closest("form");if(e.preventDefault(),o.value)return;const u={title:a},s=new CustomEvent(n,{bubbles:!0,cancelable:!0,detail:{data:u,filename:r.value.split("\\").at(-1),maxTitleLength:parseInt(o.getAttribute("maxLength")||"0",10)||null}}),l=i?.dispatchEvent(s);l&&(o.value=u.title)})}}var Ae=r(4072);class Te extends n.Controller{static classes=["active"];static targets=["panel","trigger"];static values={activePanelId:{default:"",type:String},useLocation:{default:!1,type:Boolean}};historyStateKey="tabs-panel-id";tabs=[];connect(){this.historyStateKey=`${this.identifier}-panel-id`,this.tabs=this.validatedTabs;const e=this.setInitialPanel();this.panelTargets.filter(({id:t})=>t!==e).forEach(e=>{e.hidden=!0}),this.dispatch("ready",{cancelable:!1,detail:{current:e}});const t=(0,x.s)(()=>{this.tabs=this.validatedTabs},10);this.panelTargetConnected=t,this.panelTargetDisconnected=t,this.triggerTargetConnected=t,this.triggerTargetDisconnected=t}activePanelIdValueChanged(e,t){const r=this.tabs;if(0===r.length)return;if(!e)return;if(e===t)return;const n=this.panelTargets,a=n.find(({id:t})=>t===e);a&&(this.triggerTargets.forEach(n=>{if(n.getAttribute("aria-controls")!==e)return n.removeAttribute("aria-selected"),void(r.includes(n)&&n.setAttribute("tabindex","-1"));n.setAttribute("aria-selected","true"),r.includes(n)&&n.setAttribute("tabindex","0"),this.dispatch("selected",{bubbles:!0,cancelable:!1,detail:{current:e,previous:t,tabs:this.element},target:n})}),Promise.resolve((async()=>{const e=this.activeClasses,r=n.find(({id:e})=>e===t);return r?(r.classList.remove(...e),await this.afterTransition(r),r.hidden=!0,e):e})()).then(async e=>{a.hidden=!1,await this.afterTransition(a),a.classList.add(...e),await this.afterTransition(a)}),t&&(this.syncLocation(),this.dispatch("changed",{bubbles:!0,cancelable:!1,detail:{current:e,previous:t,tabs:this.element},target:a})))}async afterTransition(e){const{transitionDelay:t,transitionDuration:r}=getComputedStyle(e),n=1e3*((parseFloat(r)||0)+(parseFloat(t)||0));return n<=0?e:new Promise(t=>{let r;const a=n=>{n&&n.target!==e||(window.clearTimeout(r),e.removeEventListener("transitionend",a),e.removeEventListener("animationend",a),t(e))};e.addEventListener("animationend",a,{once:!0}),e.addEventListener("transitionend",a,{once:!0}),r=window.setTimeout(a,n)})}get locationPanelId(){if(!this.useLocationValue)return null;const e=window.location.hash;if(!e)return null;const t=e.slice(1),r=document.getElementById(t)||(0,Ae.KX)();return r&&this.panelTargets.find(e=>e.contains(r))?.id||null}select(e){if(!e)return null;if("state"in e&&e.state){const t=e.state[this.historyStateKey],r=this.tabs.find(e=>e.getAttribute("aria-controls")===t);if(r)return this.select({target:r,params:{id:t,focus:!0}})}let t=e?.target instanceof HTMLElement&&e.target||null;const{focus:r=!1,id:n=""}={id:t?.getAttribute("aria-controls")||"",..."params"in e&&e.params,..."detail"in e&&e.detail};return"tab"!==t?.getAttribute("role")&&(t=this.tabs.find(e=>e.getAttribute("aria-controls")===n)||null),n?(this.activePanelIdValue=n,t&&r&&(0,Y.s)(t),n):null}selectInside(e){const t=e.currentTarget;if(!t)return;const r=this.panelTargets.find(e=>e.contains(t))?.id;r&&this.select({target:t,params:{id:r,focus:!1}})}selectFirst(e){const t=this.tabs[0];return this.select({target:t,params:{focus:Boolean(e)}})}selectLast(e){const t=this.tabs[this.tabs.length-1];return this.select({target:t,params:{focus:Boolean(e)}})}selectNext(e){const t=this.activePanelIdValue,r=this.tabs,n=r.findIndex(e=>e.getAttribute("aria-controls")===t),a=r[(n+1)%r.length];return this.select({target:a,params:{focus:Boolean(e)}})}selectPrevious(e){const t=this.activePanelIdValue,r=this.tabs,n=r.findIndex(e=>e.getAttribute("aria-controls")===t),a=r[(n-1+r.length)%r.length];return this.select({target:a,params:{focus:Boolean(e)}})}setInitialPanel(){const e=this.activePanelIdValue,t=this.locationPanelId||e||this.triggerTargets.find(e=>"true"===e.getAttribute("aria-selected"))?.getAttribute("aria-controls")||this.selectFirst();return t&&e===t?this.activePanelIdValueChanged(t,""):this.activePanelIdValue=t,t}syncLocation(){if(!this.useLocationValue)return null;const e=this.activePanelIdValue,t=this.historyStateKey;if(!window.history.state||window.history.state[t]!==e){const r={[t]:e};return window.history.pushState(r,"",`#${e}`),e}return null}get validatedTabs(){const e=this.identifier,t=this.element.querySelector('[role="tablist"]');if(!t)throw new Error("There must be an element with `role='tablist'` within the controller's scope.");const r=this.panelTargets.map(e=>{if("tabpanel"!==e.getAttribute("role"))throw new Error("Tab panel elements must have the `role='tabpanel'` attribute set",{cause:e});return e});if(!r.length)throw new Error(`Tabs must be supplied with at least one panel target using 'data-${e}-target="panel"'.`);const n=this.triggerTargets.filter(n=>{const a=`data-${e}-id-param`,o=n.getAttribute("aria-controls")||n.getAttribute("href")?.replace("#","")||n.getAttribute(a),i=r.find(({id:e})=>e===o);if(!o||!i)throw new Error(`Cannot find matching a matching panel for the trigger/tab in 'aria-controls', 'href' or '${a}'.`,{cause:n});if(n.setAttribute("aria-controls",o),!t.contains(n))return!1;if(!(i.getAttribute("aria-labelledby")||"").split(" ").includes(n.id))throw new Error("Panel targets must have a panels must be labelled by their tab.",{cause:i});if("tab"!==n.getAttribute("role"))throw new Error("Tabs must use `role=tab`.",{cause:n});return!0});if(!n.length)throw new Error(`Tabs must be supplied with at least one valid tab target using 'data-${e}-target="trigger"' within role="tablist".`);if(n.length!==r.length)throw new Error('Each tab panel must have a valid tab within the "role=tablist".');return n}}class ke extends n.Controller{static values={delay:{type:Number,default:0},options:{default:{},type:Object},url:{default:"",type:String}};autocompleteAbort=null;autocompleteLazy;tagit;initialize(){this.autocompleteLazy=(0,x.s)(this.autocomplete.bind(this),this.delayValue)}connect(){const e=this.cleanTag.bind(this),t={source:(e,t)=>{this.autocompleteLazy.cancel(),this.autocompleteLazy(e).then(t)}};D()(this.element).tagit({autocomplete:t,preprocessTag:e,...this.optionsValue})}async autocomplete({term:e}){this.autocompleteAbort&&this.autocompleteAbort.abort(),this.autocompleteAbort=new AbortController;const{signal:t}=this.autocompleteAbort;try{const r=new URL(this.urlValue,window.location.origin);r.searchParams.set("term",e);const n=await fetch(r.toString(),{headers:{Accept:"application/json"},method:"GET",signal:t}),a=await n.json();return Array.isArray(a)?a:[]}catch(t){t instanceof DOMException&&"AbortError"===t.name||this.context.application.handleError(t,"Network or API error during autocomplete request.",{term:e,url:this.urlValue})}finally{this.autocompleteAbort=null}return[]}cleanTag(e){return e&&'"'!==e[0]&&e.indexOf(" ")>-1?`"${e}"`:e}clear(){D()(this.element).tagit("removeAll")}disconnect(){this.autocompleteAbort&&(this.autocompleteAbort.abort(),this.autocompleteAbort=null)}}var Ne=r(2223);const Be={initial:1e4,long:3e3,notify:30,short:300};class Re extends n.Controller{static values={confirmation:{default:!1,type:Boolean},durations:{default:Be,type:Object},force:{default:!1,type:Boolean},hasComments:{default:!1,type:Boolean},hasEdits:{default:!1,type:Boolean},watch:{default:"edits",type:String}};initialFormData;observer;runningCheck;initialize(){this.notify=(0,x.s)(this.notify.bind(this),this.durationsValue.notify)}connect(){this.clear();const e=this.durationsValue,t=this.watchValue;t.includes("comments")&&this.watchComments(e),this.forceValue?this.hasEditsValue=!0:t.includes("edits")&&this.watchEdits(e),this.dispatch("ready",{cancelable:!1})}get formData(){const e=["comment_","comments-","csrfmiddlewaretoken","next"],t=new FormData(this.element);return JSON.stringify([...t.entries()].filter(([t])=>!e.some(e=>t.startsWith(e))),(e,t)=>t instanceof File?{name:t.name,size:t.size,type:t.type}:t)}check(){if(!this.initialFormData)return;const{long:e,short:t}=this.durationsValue;this.runningCheck&&this.runningCheck.cancel(),this.runningCheck=(0,x.s)(()=>{this.hasEditsValue=this.initialFormData!==this.formData},this.hasEditsValue?e:t),this.runningCheck()}clear(){this.hasCommentsValue=!1,this.hasEditsValue=!1}confirm(e){if(this.confirmationValue&&(this.hasCommentsValue||this.hasEditsValue)){if(this.dispatch("confirm",{cancelable:!0}).defaultPrevented)return;e.preventDefault()}}hasCommentsValueChanged(e,t){e!==t&&this.notify()}hasEditsValueChanged(e,t){e!==t&&this.notify()}getIsValidNode(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;const t=["input","textarea","select"];return t.includes(e.localName)||null!==e.querySelector(t.join(","))}notify(){const e=this.hasCommentsValue,t=this.hasEditsValue;if(!e&&!t)return void this.dispatch("clear",{cancelable:!1});const[r]=[t&&e&&"all",e&&"comments",t&&"edits"].filter(Boolean);this.dispatch("add",{cancelable:!1,detail:{type:r}})}submit(){this.confirmationValue=!1}watchComments({long:e,short:t}){let r;const{commentApp:n}=window.comments,a=n.selectors.selectIsDirty(n.store.getState());this.dispatch("watch-edits",{cancelable:!1,detail:{initialComments:a}}),this.hasCommentsValue=a,n.store.subscribe(()=>{r&&r.cancel(),r=(0,x.s)(()=>{this.hasCommentsValue=n.selectors.selectIsDirty(n.store.getState())},this.hasCommentsValue?e:t),r()})}watchEdits({initial:e}){const t=this.element;(0,x.s)(()=>{const e=this.formData;this.initialFormData=e,this.dispatch("watch-edits",{cancelable:!1,detail:{initialFormData:e}});const r=new MutationObserver(e=>{e.some(e=>Array.from(e.addedNodes).some(this.getIsValidNode)||Array.from(e.removedNodes).some(this.getIsValidNode))&&this.check()});r.observe(t,{attributes:!1,childList:!0,subtree:!0}),this.observer=r},e)()}disconnect(){this.runningCheck&&this.runningCheck.cancel(),this.observer&&this.observer.disconnect()}}class Se extends Error{constructor(e){super(e),this.message=`Version number '${e}' is not formatted correctly.`}}class Oe extends Error{constructor(){super(),this.message="Can only compare prerelease versions"}}class _e{static MAJOR=new _e("Major");static MINOR=new _e("Minor");static PATCH=new _e("Patch");static PRE_RELEASE_STEP=new _e("PreReleaseStep");static PRE_RELEASE_VERSION=new _e("PreReleaseVersion");constructor(e){this.name=e}}class Pe{constructor(e){const t=e.match(/^(?\d+)\.{1}(?\d+)((\.{1}(?\d+))|(?a|b|rc|\.dev){1}(?\d+)){0,1}$/);if(null===t)throw new Se(e);const r=t.groups;this.major=parseInt(r.major,10),this.minor=parseInt(r.minor,10),this.patch=r.patch?parseInt(r.patch,10):0,this.preReleaseStep=r.preReleaseStep?r.preReleaseStep:null,this.preReleaseVersion=r.preReleaseVersion?parseInt(r.preReleaseVersion,10):null}isPreRelease(){return null!==this.preReleaseStep}isPreReleaseStepBehind(e){if(!this.isPreRelease()||!e.isPreRelease())throw new Oe;return"a"===this.preReleaseStep&&("b"===e.preReleaseStep||"rc"===e.preReleaseStep)||"b"===this.preReleaseStep&&"rc"===e.preReleaseStep}howMuchBehind(e){if(this.major{if(200!==t.status)throw Error(`Unexpected response from ${e}. Status: ${t.status}`);return t.json()}).then(e=>{let n=e;if(e&&e.lts&&r&&(n=e.lts),!n?.version)return;const a=new Pe(n.version),o=t.howMuchBehind(a);if(!o||!this.knownVersion.howMuchBehind(a))return;let i;if(i=o===_e.MAJOR||o===_e.MINOR?n.minorUrl:n.url,this.hasLatestVersionTarget){const e=[n.version,r?"(LTS)":""].join(" ").trim();this.latestVersionTarget.textContent=e}this.hasLinkTarget&&this.linkTarget.setAttribute("href",i||""),this.hasDismissTarget&&this.dismissTarget.setAttribute("data-w-dismissible-value-param",n.version),this.element.hidden=!1}).catch(t=>{console.error(`Error fetching ${e}. Error: ${t}`)})}}var Me;!function(e){e.Active="active",e.Inactive=""}(Me||(Me={}));class Le extends n.Controller{static classes=["active","inactive"];static values={delay:{type:Number,default:0},mode:{type:String,default:Me.Inactive},switchKey:{type:String,default:""}};initialize(){const e=this.delayValue;e<=0||(this.activate=(0,x.s)(this.activate.bind(this),e),this.deactivate=(0,x.s)(this.deactivate.bind(this),2*e))}activate(){this.modeValue=Me.Active}deactivate(){this.modeValue=Me.Inactive}modeValueChanged(e,t){const r=this.element,n=this.activeClasses,a=this.inactiveClasses;if(n.length+a.length&&t!==e){if(void 0===t){if(n.every(e=>r.classList.contains(e))&&(this.modeValue=Me.Active,0!==n.length))return;if(a.every(e=>r.classList.contains(e)))return void(this.modeValue=Me.Inactive)}e===Me.Active?(r.classList.add(...n),r.classList.remove(...a)):(r.classList.add(...a),r.classList.remove(...n))}}noop(){}switch(e){const{switchKey:t,...r}={switchKey:this.switchKeyValue||Me.Active,...e?.detail,...e?.params},n=t.startsWith("!"),a=n?t.slice(1):t;if(!a||!(a in r))return;const o=!!r[a]===n?Me.Inactive:Me.Active;this.modeValue=o}}const Ve=[{controllerConstructor:b,identifier:"w-action"},{controllerConstructor:A,identifier:"w-autosize"},{controllerConstructor:T,identifier:"w-block"},{controllerConstructor:k,identifier:"w-bulk"},{controllerConstructor:O,identifier:"w-clean"},{controllerConstructor:O,identifier:"w-slug"},{controllerConstructor:_,identifier:"w-clipboard"},{controllerConstructor:I,identifier:"w-clone"},{controllerConstructor:I,identifier:"w-messages"},{controllerConstructor:L,identifier:"w-count"},{controllerConstructor:V.v,identifier:"w-dialog"},{controllerConstructor:j,identifier:"w-dismissible"},{controllerConstructor:q,identifier:"w-drilldown"},{controllerConstructor:K,identifier:"w-dropdown"},{controllerConstructor:Z,identifier:"w-focus"},{controllerConstructor:J,identifier:"w-formset"},{controllerConstructor:Q,identifier:"w-init"},{controllerConstructor:ne,identifier:"w-kbd"},{controllerConstructor:ae,identifier:"w-locale"},{controllerConstructor:ue,identifier:"w-orderable"},{controllerConstructor:ve,identifier:"w-preview"},{controllerConstructor:be,identifier:"w-progress"},{controllerConstructor:ye,identifier:"w-breadcrumbs"},{controllerConstructor:ye,identifier:"w-reveal"},{controllerConstructor:Fe,identifier:"w-rules"},{controllerConstructor:we,identifier:"w-session"},{controllerConstructor:Ee,identifier:"w-submit"},{controllerConstructor:Ce,identifier:"w-swap"},{controllerConstructor:xe,identifier:"w-sync"},{controllerConstructor:Te,identifier:"w-tabs"},{controllerConstructor:ke,identifier:"w-tag"},{controllerConstructor:Ne.I,identifier:"w-teleport"},{controllerConstructor:U,identifier:"w-tooltip"},{controllerConstructor:Re,identifier:"w-unsaved"},{controllerConstructor:Ie,identifier:"w-upgrade"},{controllerConstructor:Le,identifier:"w-zone"}];class je{type;prefix;constructor(e){this.type=e.type,this.prefix=e.prefix}getPanelByName(e){return null}}const qe=(e,t=!("true"===e.getAttribute("aria-expanded")))=>{const r=document.querySelector(`#${e.getAttribute("aria-controls")}`);r&&(e.setAttribute("aria-expanded",`${t}`),t?r.removeAttribute("hidden"):"onbeforematch"in document.body?r.setAttribute("hidden","until-found"):r.setAttribute("hidden",""),e.dispatchEvent(new CustomEvent("commentAnchorVisibilityChange",{bubbles:!0})),e.dispatchEvent(new CustomEvent("wagtail:panel-toggle",{bubbles:!0,cancelable:!1,detail:{expanded:t}})))};function ze(e){const t=e.closest("[data-panel]"),r=document.querySelector(`#${e.getAttribute("aria-controls")}`);if(!r||!t||t.collapsibleInitialised)return;t.collapsibleInitialised=!0;const n=qe.bind(null,e),a=t.classList.contains("collapsed"),o=r.querySelector('[aria-invalid="true"], .error, .w-field--error'),i=a&&!o;i&&n(!1),e.addEventListener("click",n.bind(null,void 0));const u=t.querySelector("[data-panel-heading]");u&&u.addEventListener("click",n.bind(null,void 0)),r.addEventListener("beforematch",n.bind(null,!0)),e.dispatchEvent(new CustomEvent("wagtail:panel-init",{bubbles:!0,cancelable:!1,detail:{expanded:!i}}))}class $e extends g{constructor(e,t=!0){if(super(e.formsetPrefix,e,t),this.type=e.type,this.prefix=e.prefix,this.relationName=e.relationName,this.formsElt=D()("#"+e.formsetPrefix+"-FORMS"),t){this.opts.canOrder&&(this.sortable=ie.Ay.create(this.formsElt.get(0),{handle:"[data-inline-panel-child-drag]",animation:200,onEnd:this.handleDragEnd.bind(this),setData:e=>{e.setData("application/vnd.wagtail.type","inlinepanel-child")}}));for(let e=0;e{this.formsElt.get(0)?.dispatchEvent(new CustomEvent("w-formset:ready",{bubbles:!0,cancelable:!1,detail:{...e}}))})}}updateControlStates(){this.updateChildCount(),this.updateMoveButtonDisabledStates(),this.updateAddButtonState()}initChildControls(e){const t="inline_child_"+e,r="id_"+e+"-DELETE",n=D()("#"+t),a=n.find("[data-inline-panel-child-move-up]:first "),o=n.find("[data-inline-panel-child-move-down]:first ");D()("#"+r+"-button").on("click",()=>{D()("#"+r).val("1").get(0).dispatchEvent(new Event("change",{bubbles:!0})),n.addClass("deleted").slideUp(()=>{this.updateControlStates(),n.get(0).dispatchEvent(new CustomEvent("w-formset:removed",{bubbles:!0,cancelable:!1,detail:{...this.opts}}))})}),this.opts.canOrder&&(a.on("click",()=>{const t=n.find(`input[name="${e}-ORDER"]`),r=t.val(),a=n.prevAll(":not(.deleted)").first();if(!a.length)return;const o=a[0].id.replace("inline_child_",""),i=a.find(`input[name="${o}-ORDER"]`),u=i.val();this.animateSwap(n,a),n.insertBefore(a),t.val(u),i.val(r),this.updateControlStates()}),o.on("click",()=>{const t=n.find(`input[name="${e}-ORDER"]`),r=t.val(),a=n.nextAll(":not(.deleted)").first();if(!a.length)return;const o=a[0].id.replace("inline_child_",""),i=a.find(`input[name="${o}-ORDER"]`),u=i.val();this.animateSwap(n,a),n.insertAfter(a),t.val(u),i.val(r),this.updateControlStates()})),"1"===D()("#"+r).val()&&(D()("#"+t).addClass("deleted").hide(0,()=>{this.updateControlStates()}),D()("#"+t).find(".error-message").remove())}updateMoveButtonDisabledStates(){if(this.opts.canOrder){const e=this.formsElt.children(":not(.deleted)");e.each(function(t){const r=0===t,n=t===e.length-1;D()("[data-inline-panel-child-move-up]:first",this).prop("disabled",r),D()("[data-inline-panel-child-move-down]:first",this).prop("disabled",n)})}}updateChildCount(){this.formsElt.children(":not(.deleted)").each(function(e){D()("[data-inline-panel-child-count]",this).first().text(` ${e+1}`)})}getChildCount(){return D()("> [data-inline-panel-child]",this.formsElt).not(".deleted").length}updateAddButtonState(){if(this.opts.maxForms){const e=D()("#"+this.opts.formsetPrefix+"-ADD");this.getChildCount()>=this.opts.maxForms?e.prop("disabled",!0):e.prop("disabled",!1)}}animateSwap(e,t){const r=this.formsElt,n=r.children(":not(.deleted)");r.css({position:"relative",height:r.height()}),n.each(function(){D()(this).css("top",D()(this).position().top)}).css({position:"absolute",width:"100%"}),e.animate({top:t.position().top},200,()=>{r.removeAttr("style"),n.removeAttr("style")}),t.animate({top:e.position().top},200,()=>{r.removeAttr("style"),n.removeAttr("style")})}initialFocus(e){e&&e.length&&(e.attr("tabindex")||(e.attr("tabindex",-1),e.one("blur",()=>{"-1"===e.attr("tabindex")&&e.removeAttr("tabindex")})),e[0].scrollIntoView({behavior:"smooth"}),e.focus())}addForm(e={}){super.addForm({runCallbacks:!1});const t=this.formCount-1,r=this.opts.emptyChildFormPrefix.replace(/__prefix__/g,t);this.initChildControls(r),this.opts.canOrder&&D()("#id_"+r+"-ORDER").val(t+1).get(0).dispatchEvent(new Event("change",{bubbles:!0})),this.updateControlStates(),function(e=document.querySelectorAll("[data-panel-toggle]")){e.forEach(ze)}(document.querySelectorAll(`#inline_child_${r} [data-panel-toggle]`)),"runCallbacks"in e&&!e.runCallbacks||(this.opts.onAdd&&this.opts.onAdd(t),this.opts.onInit&&this.opts.onInit(t)),this.initialFocus(D()(`#inline_child_${r}-panel-content`));const n=this.formsElt.children().last().get(0);n&&n.dispatchEvent(new CustomEvent("w-formset:added",{bubbles:!0,cancelable:!1,detail:{formIndex:t,...this.opts}}))}updateOrderValues(){this.formsElt.children(":not(.deleted)").each((e,t)=>{const r=t.id.replace("inline_child_","");D()(t).find(`[name="${r}-ORDER"]`).val(e+1)})}handleDragEnd(e){const{oldIndex:t,newIndex:r}=e;t!==r&&(this.updateOrderValues(),this.updateControlStates())}getPanelByName(e){return e===this.relationName?this:null}}class Ue extends $e{constructor(e,t=!0){super(e),this.chooserWidgetFactory=window.telepath.unpack(JSON.parse(document.getElementById(`${e.formsetPrefix}-CHOOSER_WIDGET`).textContent)),t&&document.getElementById(`${e.formsetPrefix}-OPEN_MODAL`).addEventListener("click",()=>{this.chooserWidgetFactory.openModal(t=>{t.forEach(t=>{if(e.maxForms&&this.getChildCount()>=e.maxForms)return;this.addForm();const r=this.formCount-1,n=`${e.formsetPrefix}-${r}-${e.chooserFieldName}`;this.chooserWidgetFactory.getById(n).setStateFromModalData(t)})},{multiple:!0})})}updateOpenModalButtonState(){if(this.opts.maxForms){const e=document.getElementById(`${this.opts.formsetPrefix}-OPEN_MODAL`);this.getChildCount()>=this.opts.maxForms?(e.setAttribute("disabled","true"),e.setAttribute("data-force-disabled","true")):(e.removeAttribute("disabled"),e.removeAttribute("data-force-disabled"))}}updateControlStates(){super.updateControlStates(),this.updateOpenModalButtonState()}}class He extends n.Application{queryController(e){return this.getControllerForElementAndIdentifier(document.querySelector(`[${this.schema.controllerAttribute}~="${e}"]`),e)}queryControllerAll(e){return Array.from(document.querySelectorAll(`[${this.schema.controllerAttribute}~="${e}"]`)).map(t=>this.getControllerForElementAndIdentifier(t,e)).filter(Boolean)}}var We=r(4327);window.StimulusModule=n;const Ge=window.wagtail||{};Ge.app=(({debug:e=!1,definitions:t=[],root:r=document.documentElement}={})=>{const n=He.start(r);return n.debug=e,n.load(t),n})({definitions:Ve}),Ge.components={Icon:s.A,Portal:l.A},window.wagtailConfig=v.HE,window.wagtail=Ge,window.escapeHtml=We.Z,window.InlinePanel=$e,window.MultipleChooserPanel=Ue,window.telepath||(window.telepath=new(o())),window.telepath.register("wagtail.panels.Panel",je),window.telepath.register("wagtail.panels.PanelGroup",class extends je{children;constructor(e){super(e),this.children=e.children}getPanelByName(e){for(const t of this.children){const r=t.getPanelByName(e);if(r)return r}return null}}),window.telepath.register("wagtail.panels.FieldPanel",class extends je{#t;fieldName;widget;constructor(e){super(e),this.fieldName=e.fieldName,this.widget=e.widget}getBoundWidget(){if(void 0!==this.#t)return this.#t;if(this.widget.getByName){const e=document.getElementById(`${this.prefix}-wrapper`);this.#t=this.widget.getByName(this.fieldName,e||document.body)}else this.#t=null;return this.#t}getPanelByName(e){return e===this.fieldName?this:null}getErrorMessage(){const e=document.getElementById(`${this.prefix}-errors`);return e?.querySelector(".error-message")?.textContent?.trim()}setErrorMessage(e){const t=`${this.prefix}-errors`,r=document.getElementById(t);if(!r)return;const n=this.getBoundWidget()?.input;if(e){if(r.innerHTML='\n \n

\n ',r.querySelector(".error-message").textContent=e,n){n.setAttribute("aria-invalid","true");const e=(n.getAttribute("aria-describedby")||"").split(" ").filter(Boolean);e.includes(t)||e.push(t),n.setAttribute("aria-describedby",e.join(" "))}}else if(r.innerHTML="",n){n.removeAttribute("aria-invalid");const e=(n.getAttribute("aria-describedby")||"").split(" ").filter(e=>e!==t).join(" ");n.setAttribute("aria-describedby",e)}}}),window.telepath.register("wagtail.panels.InlinePanel",$e),window.telepath.register("wagtail.panels.MultipleChooserPanel",Ue),window.buildExpandingFormset=function(e,t={}){return new g(e,t)}},8609:function(e,t,r){var n,a;e=r.nmd(e),function o(i){var u=i,s=i.document;function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=c||{};function d(e){this.name="SupportError",this.cause=e.cause,this.message="`".concat(e.cause,"` - feature unsupported in your environment."),e.ruleId&&(this.ruleId=e.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=(new Error).stack}c.version="4.10.3",void 0===(a=function(){return c}.apply(t,[]))||(e.exports=a),"object"===l(e)&&e.exports&&"function"==typeof o.toString&&(c.source="("+o.toString()+')(typeof window === "object" ? window : this);',e.exports=c),"function"==typeof i.getComputedStyle&&(i.axe=c),d.prototype=Object.create(Error.prototype),d.prototype.constructor=d;var p=["node"],h=["relatedNodes"],f=["node"],m=["variant"],D=["matches"],g=["chromium"],v=["noImplicit"],b=["noPresentational"],y=["precision","format","inGamut"],F=["space"],w=["algorithm"],E=["method"],C=["maxDeltaE","deltaEMethod","steps","maxSteps"],x=["node"],A=["environmentData"],T=["environmentData"],k=["environmentData"],N=["environmentData"],B=["environmentData"];function R(e,t,r){return t=O(t),function(e,t){if(t&&("object"==l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,S()?Reflect.construct(t,r||[],O(e).constructor):t.apply(e,r))}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(S=function(){return!!e})()}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function _(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&P(e,t)}function P(e,t){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},P(e,t)}function I(e,t,r){L(e,t),t.set(e,r)}function M(e,t){L(e,t),t.add(e)}function L(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function V(e,t){return e.get(q(e,t))}function j(e,t,r){return e.set(q(e,t),r),r}function q(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function z(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function ee(e,t){if(e){if("string"==typeof e)return te(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?te(e,t):void 0}}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0?1:-1}}),Fe=pe(function(e,t){"use strict";t.exports=be()()?Math.sign:ye()}),we=pe(function(e,t){"use strict";var r=Fe(),n=Math.abs,a=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*a(n(e)):e}}),Ee=pe(function(e,t){"use strict";var r=we(),n=Math.max;t.exports=function(e){return n(0,r(e))}}),Ce=pe(function(e,t){"use strict";var r=Ee();t.exports=function(e,t,n){var a;return isNaN(e)?(a=t)>=0?n&&a?a-1:a:1:!1!==e&&r(e)}}),xe=pe(function(e,t){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}}),Ae=pe(function(e,t){"use strict";var r=ge();t.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}}),Te=pe(function(e,t){"use strict";var r=xe(),n=Ae(),a=Function.prototype.bind,o=Function.prototype.call,i=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(e,t){return function(s,l){var c,d=arguments[2],p=arguments[3];return s=Object(n(s)),r(l),c=i(s),p&&c.sort("function"==typeof p?a.call(p,s):void 0),"function"!=typeof e&&(e=c[e]),o.call(e,c,function(e,r){return u.call(s,e)?o.call(l,d,s[e],e,s,r):t})}}}),ke=pe(function(e,t){"use strict";t.exports=Te()("forEach")}),Ne=pe(function(){}),Be=pe(function(e,t){"use strict";t.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}}),Re=pe(function(e,t){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}}),Se=pe(function(e,t){"use strict";var r=ge(),n=Object.keys;t.exports=function(e){return n(r(e)?Object(e):e)}}),Oe=pe(function(e,t){"use strict";t.exports=Re()()?Object.keys:Se()}),_e=pe(function(e,t){"use strict";var r=Oe(),n=Ae(),a=Math.max;t.exports=function(e,t){var o,i,u,s=a(arguments.length,2);for(e=Object(n(e)),u=function(r){try{e[r]=t[r]}catch(e){o||(o=e)}},i=1;i-1}}),Ge=pe(function(e,t){"use strict";t.exports=He()()?String.prototype.contains:We()}),Ke=pe(function(e,t){"use strict";var r=je(),n=Ue(),a=Pe(),o=ve(),i=Ge(),u=t.exports=function(e,t){var n,u,s,l,c;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],r(e)?(n=i.call(e,"c"),u=i.call(e,"e"),s=i.call(e,"w")):(n=s=!0,u=!1),c={value:t,configurable:n,enumerable:u,writable:s},l?a(o(l),c):c};u.gs=function(e,t,u){var s,l,c,d;return"string"!=typeof e?(c=u,u=t,t=e,e=null):c=arguments[3],r(t)?n(t)?r(u)?n(u)||(c=u,u=void 0):u=void 0:(c=t,t=u=void 0):t=void 0,r(e)?(s=i.call(e,"c"),l=i.call(e,"e")):(s=!0,l=!1),d={get:t,set:u,configurable:s,enumerable:l},c?a(o(c),d):d}}),Ye=pe(function(e,t){"use strict";var r,n,a,o,i,u,s,c=Ke(),d=xe(),p=Function.prototype.apply,h=Function.prototype.call,f=Object.create,m=Object.defineProperty,D=Object.defineProperties,g=Object.prototype.hasOwnProperty,v={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n,o;return d(t),o=this,r.call(this,e,n=function(){a.call(o,e,n),p.call(t,this,arguments)}),n.__eeOnceListener__=t,this},a=function(e,t){var r,n,a,o;if(d(t),!g.call(this,"__ee__"))return this;if(!(r=this.__ee__)[e])return this;if(n=r[e],"object"===l(n))for(o=0;a=n[o];++o)a!==t&&a.__eeOnceListener__!==t||(2===n.length?r[e]=n[o?0:1]:n.splice(o,1));else n!==t&&n.__eeOnceListener__!==t||delete r[e];return this},o=function(e){var t,r,n,a,o;if(g.call(this,"__ee__")&&(a=this.__ee__[e]))if("object"===l(a)){for(r=arguments.length,o=new Array(r-1),t=1;t=55296&&v<=56319&&(w+=e[++f]),w=E?d.call(E,C,w,m):w,t?(p.value=w,h(D,m,p)):D[m]=w,++m;g=m}if(void 0===g)for(g=o(e.length),t&&(D=new t(g)),f=0;f=0?s(c):n(this.length)-s(u(c));t"}}}),Pt=pe(function(e,t){"use strict";var r=_t(),n=/[\n\r\u2028\u2029]/g;t.exports=function(e){var t=r(e);return t.length>100&&(t=t.slice(0,99)+"…"),t.replace(n,function(e){return JSON.stringify(e).slice(1,-1)})}}),It=pe(function(e,t){function r(e){return!!e&&("object"===l(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=r,t.exports.default=r}),Mt=pe(function(){"use strict";var e=Tt(),t=Bt(),r=Ot(),n=Pt(),a=It(),o=kt(),i=Object.create,u=t("then","then:finally","done","done:finally");Ne().promise=function(t,s){var l=i(null),c=i(null),d=i(null);if(!0===t)t=null;else if(t=r(t),!u[t])throw new TypeError("'"+n(t)+"' is not valid promise mode");s.on("set",function(e,r,n){var i=!1;if(!a(n))return c[e]=n,void s.emit("setasync",e,1);l[e]=1,d[e]=n;var u=function(t){var r=l[e];if(i)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");r&&(delete l[e],c[e]=t,s.emit("setasync",e,r))},p=function(){i=!0,l[e]&&(delete l[e],delete d[e],s.delete(e))},h=t;if(h||(h="then"),"then"===h){var f=function(){o(p)};"function"==typeof(n=n.then(function(e){o(u.bind(this,e))},f)).finally&&n.finally(f)}else if("done"===h){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");n.done(u,p)}else if("done:finally"===h){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof n.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");n.done(u),n.finally(p)}}),s.on("get",function(e,t,r){var n;if(l[e])++l[e];else{n=d[e];var i=function(){s.emit("getasync",e,t,r)};a(n)?"function"==typeof n.done?n.done(i):n.then(function(){o(i)}):i()}}),s.on("delete",function(e){if(delete d[e],l[e])delete l[e];else if(hasOwnProperty.call(c,e)){var t=c[e];delete c[e],s.emit("deleteasync",e,[t])}}),s.on("clear",function(){var t=c;c=i(null),l=i(null),d=i(null),s.emit("clearasync",e(t,function(e){return[e]}))})}}),Lt=pe(function(){"use strict";var e=xe(),t=ke(),r=Ne(),n=Function.prototype.apply;r.dispose=function(a,o,i){var u;if(e(a),i.async&&r.async||i.promise&&r.promise)return o.on("deleteasync",u=function(e,t){n.call(a,null,t)}),void o.on("clearasync",function(e){t(e,function(e,t){u(t,e)})});o.on("delete",u=function(e,t){a(t)}),o.on("clear",function(e){t(e,function(e,t){u(t,e)})})}}),Vt=pe(function(e,t){"use strict";t.exports=2147483647}),jt=pe(function(e,t){"use strict";var r=Ee(),n=Vt();t.exports=function(e){if((e=r(e))>n)throw new TypeError(e+" exceeds maximum possible timeout");return e}}),qt=pe(function(){"use strict";var e=pt(),t=ke(),r=kt(),n=It(),a=jt(),o=Ne(),i=Function.prototype,u=Math.max,s=Math.min,l=Object.create;o.maxAge=function(c,d,p){var h,f,m,D;(c=a(c))&&(h=l(null),f=p.async&&o.async||p.promise&&o.promise?"async":"",d.on("set"+f,function(e){h[e]=setTimeout(function(){d.delete(e)},c),"function"==typeof h[e].unref&&h[e].unref(),D&&(D[e]&&"nextTick"!==D[e]&&clearTimeout(D[e]),D[e]=setTimeout(function(){delete D[e]},m),"function"==typeof D[e].unref&&D[e].unref())}),d.on("delete"+f,function(e){clearTimeout(h[e]),delete h[e],D&&("nextTick"!==D[e]&&clearTimeout(D[e]),delete D[e])}),p.preFetch&&(m=!0===p.preFetch||isNaN(p.preFetch)?.333:u(s(Number(p.preFetch),1),0))&&(D={},m=(1-m)*c,d.on("get"+f,function(t,a,o){D[t]||(D[t]="nextTick",r(function(){var r;"nextTick"===D[t]&&(delete D[t],d.delete(t),p.async&&(a=e(a)).push(i),r=d.memoized.apply(o,a),p.promise&&n(r)&&("function"==typeof r.done?r.done(i,i):r.then(i,i)))}))})),d.on("clear"+f,function(){t(h,function(e){clearTimeout(e)}),h={},D&&(t(D,function(e){"nextTick"!==e&&clearTimeout(e)}),D={})}))}}),zt=pe(function(e,t){"use strict";var r=Ee(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(e){var t,o=0,i=1,u=n(null),s=n(null),l=0;return e=r(e),{hit:function(r){var n=s[r],c=++l;if(u[c]=r,s[r]=c,!n){if(++o<=e)return;return r=u[i],t(r),r}if(delete u[n],i===n)for(;!a.call(u,++i););},delete:t=function(e){var t=s[e];if(t&&(delete u[t],delete s[e],--o,i===t)){if(!o)return l=0,void(i=1);for(;!a.call(u,++i););}},clear:function(){o=0,i=1,u=n(null),s=n(null),l=0}}}}),$t=pe(function(){"use strict";var e=Ee(),t=zt(),r=Ne();r.max=function(n,a,o){var i,u,s;(n=e(n))&&(u=t(n),i=o.async&&r.async||o.promise&&r.promise?"async":"",a.on("set"+i,s=function(e){void 0!==(e=u.hit(e))&&a.delete(e)}),a.on("get"+i,s),a.on("delete"+i,u.delete),a.on("clear"+i,u.clear))}}),Ut=pe(function(){"use strict";var e=Ke(),t=Ne(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,o,i){var u,s;u=r(null),s=i.async&&t.async||i.promise&&t.promise?"async":"",o.on("set"+s,function(e,t){u[e]=t||1}),o.on("get"+s,function(e){++u[e]}),o.on("delete"+s,function(e){delete u[e]}),o.on("clear"+s,function(){u={}}),n(o.memoized,{deleteRef:e(function(){var e=o.get(arguments);return null===e?null:u[e]?! --u[e]&&(o.delete(e),!0):null}),getRefCount:e(function(){var e=o.get(arguments);return null===e?0:u[e]?u[e]:0})})}}),Ht=pe(function(e,t){"use strict";var r=ve(),n=Ce(),a=gt();t.exports=function(e){var t,o=r(arguments[1]);return o.normalizer||0!==(t=o.length=n(o.length,e.length,o.async))&&(o.primitive?!1===t?o.normalizer=vt():t>1&&(o.normalizer=bt()(t)):o.normalizer=!1===t?Ct()():1===t?xt()():At()(t)),o.async&&Nt(),o.promise&&Mt(),o.dispose&&Lt(),o.maxAge&&qt(),o.max&&$t(),o.refCounter&&Ut(),a(e,o)}}),Wt=pe(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},e.escapeIdentifier=function(t){for(var r=t.length,n="",a=0;a="A"&&o<="Z"||o>="a"&&o<="z"||0!==a&&o>="0"&&o<="9")n+=o;else{var i=o.charCodeAt(0);if(55296==(63488&i)){var u=t.charCodeAt(a++);if(55296!=(64512&i)||56320!=(64512&u))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&u)+65536}n+="\\"+i.toString(16)+" "}a++}return n},e.escapeStr=function(t){for(var r,n=t.length,a="",o=0;o":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}}),Gt=pe(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Wt();e.parseCssSelector=function(e,r,n,a,o,i){var u=e.length,s="";function l(n,a){var o="";for(r++,s=e.charAt(r);r=u)throw Error("Expected symbol but end of file reached.");if(s=e.charAt(r),t.identSpecialChars[s])n+=s;else{if(t.isHex(s)){var a=s;for(r++,s=e.charAt(r);t.isHex(s);)a+=s,r++,s=e.charAt(r);" "===s&&(r++,s=e.charAt(r)),n+=String.fromCharCode(parseInt(a,16));continue}n+=s}}r++,s=e.charAt(r)}return n}function d(){s=e.charAt(r);for(var t=!1;" "===s||"\t"===s||"\n"===s||"\r"===s||"\f"===s;)t=!0,r++,s=e.charAt(r);return t}function p(){var t=h();if(!t)return null;var n=t;for(s=e.charAt(r);","===s;){if(r++,d(),"selectors"!==n.type&&(n={type:"selectors",selectors:[t]}),!(t=h()))throw Error('Rule expected after ",".');n.selectors.push(t)}return n}function h(){d();var t={type:"ruleSet"},n=f();if(!n)return null;for(var a=t;n&&(n.type="rule",a.rule=n,a=n,d(),s=e.charAt(r),!(r>=u||","===s||")"===s));)if(o[s]){var i=s;if(r++,d(),!(n=f()))throw Error('Rule expected after "'+i+'".');n.nestingOperator=i}else(n=f())&&(n.nestingOperator=null);return t}function f(){for(var o=null;r=u)throw Error('Expected "=" but end of file reached.');if("="!==s)throw Error('Expected "=" but "'+s+'" found.');h.operator=f+"=",r++,d();var m="";if(h.valueType="string",'"'===s)m=l('"',t.doubleQuotesEscapeChars);else if("'"===s)m=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)r++,m=c(),h.valueType="substitute";else{for(;r=u)throw Error('Expected "]" but end of file reached.');if("]"!==s)throw Error('Expected "]" but "'+s+'" found.');r++,h.value=m}((o=o||{}).attrs=o.attrs||[]).push(h)}else{if(":"!==s)break;r++;var D=c(),g={name:D};if("("===s){r++;var v="";if(d(),"selector"===n[D])g.valueType="selector",v=p();else{if(g.valueType=n[D]||"string",'"'===s)v=l('"',t.doubleQuotesEscapeChars);else if("'"===s)v=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)r++,v=c(),g.valueType="substitute";else{for(;r=u)throw Error('Expected ")" but end of file reached.');if(")"!==s)throw Error('Expected ")" but "'+s+'" found.');r++,g.value=v}((o=o||{}).pseudos=o.pseudos||[]).push(g)}return o}return function(){var t=p();if(r>>0}}),a=Math.LN2,o=Math.abs,i=Math.floor,u=Math.log,s=Math.min,c=Math.pow,d=Math.round;function p(e,t,r){return er?r:e}var h,f=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,r=[];for(t in e)n.HasOwnProperty(e,t)&&r.push(t);return r};function m(e){if(f&&h){var t,r=f(e);for(t=0;t>r}function g(e,t){var r=32-t;return e<>>r}function v(e){return[255&e]}function b(e){return D(e[0],8)}function y(e){return[255&e]}function F(e){return g(e[0],8)}function w(e){return[(e=d(Number(e)))<0?0:e>255?255:255&e]}function E(e){return[e>>8&255,255&e]}function C(e){return D(e[0]<<8|e[1],16)}function x(e){return[e>>8&255,255&e]}function A(e){return g(e[0]<<8|e[1],16)}function T(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function k(e){return D(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function N(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function B(e){return g(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function R(e,t,r){var n,l,d,p,h,f,m,D=(1<.5||t%2?t+1:t}for(e!=e?(l=(1<=c(2,1-D)?(l=s(i(u(e)/a),1023),(d=g(e/c(2,l)*c(2,r)))/c(2,r)>=2&&(l+=1,d=1),l>D?(l=(1<>=1;return p.reverse(),i=p.join(""),u=(1<0?s*c(2,l-u)*(1+d/c(2,r)):0!==d?s*c(2,-(u-1))*(d/c(2,r)):s<0?-0:0}function O(e){return S(e,11,52)}function _(e){return R(e,11,52)}function P(e){return S(e,8,23)}function I(e){return R(e,8,23)}h=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,r){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return n.HasProperty(r,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,r.get),n.HasProperty(r,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,r.set),n.HasProperty(r,"value")&&(e[t]=r.value),e},function(){function t(e){if((e=n.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;tthis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=n.ToUint32(a),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(u=arguments[0],this.length=n.ToUint32(u.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,s=0;s1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t=this.length)){for(var t=[],r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;rthis.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+o*this.BYTES_PER_ELEMENT,p=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(h=[],u=0,s=r.byteOffset;uthis.length)throw new RangeError("Offset plus length of array is out of range");for(u=0;uthis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:n.ToUint32(a),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");m(this)}function i(r){return function(o,i){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");o+=this.byteOffset;var u,s=new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT),l=[];for(u=0;uthis.byteLength)throw new RangeError("Array index out of range");var s,l=new r([i]),c=new e.Uint8Array(l.buffer),d=[];for(s=0;s0)throw new TypeError("WeakMap iterable is not supported")}function r(e,r){if(!a(e)||!t.call(e,"_id"))throw new TypeError(r+" method called on incompatible receiver "+l(e))}function o(){return Math.random().toString().substring(2)}return n(e.prototype,"delete",function(e){if(r(this,"delete"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))}),n(e.prototype,"get",function(e){if(r(this,"get"),a(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}}),n(e.prototype,"has",function(e){if(r(this,"has"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)}),n(e.prototype,"set",function(e,t){if(r(this,"set"),!a(e))throw new TypeError("Invalid value used as weak map key");var o=e[this._id];return o&&o[0]===e?(o[1]=t,this):(n(e,this._id,[e,t]),this)}),n(e,"_polyfill",!0),e}()}function a(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==i?i:void 0!==u?u:e)}),Qt=pe(function(e,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};t.exports=r("object"==("undefined"==typeof globalThis?"undefined":l(globalThis))&&globalThis)||r("object"==(void 0===i?"undefined":l(i))&&i)||r("object"==("undefined"==typeof self?"undefined":l(self))&&self)||r("object"==(void 0===u?"undefined":l(u))&&u)||function(){return this}()||e||Function("return this")()}),er=pe(function(e,t){"use strict";t.exports=function(e){try{return!!e()}catch(e){return!0}}}),tr=pe(function(e,t){"use strict";var r=er();t.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}),rr=pe(function(e,t){"use strict";var r=tr(),n=Function.prototype,a=n.apply,o=n.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":l(Reflect))&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})}),nr=pe(function(e,t){"use strict";var r=tr(),n=Function.prototype,a=n.call,o=r&&n.bind.bind(a,a);t.exports=r?o:function(e){return function(){return a.apply(e,arguments)}}}),ar=pe(function(e,t){"use strict";var r=nr(),n=r({}.toString),a=r("".slice);t.exports=function(e){return a(n(e),8,-1)}}),or=pe(function(e,t){"use strict";var r=ar(),n=nr();t.exports=function(e){if("Function"===r(e))return n(e)}}),ir=pe(function(e,t){"use strict";var r="object"==(void 0===s?"undefined":l(s))&&s.all,n=void 0===r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}}),ur=pe(function(e,t){"use strict";var r=ir(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}}),sr=pe(function(e,t){"use strict";var r=er();t.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}),lr=pe(function(e,t){"use strict";var r=tr(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}}),cr=pe(function(e){"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t}),dr=pe(function(e,t){"use strict";t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),pr=pe(function(e,t){"use strict";var r=nr(),n=er(),a=ar(),o=Object,i=r("".split);t.exports=n(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===a(e)?i(e,""):o(e)}:o}),hr=pe(function(e,t){"use strict";t.exports=function(e){return null==e}}),fr=pe(function(e,t){"use strict";var r=hr(),n=TypeError;t.exports=function(e){if(r(e))throw new n("Can't call method on "+e);return e}}),mr=pe(function(e,t){"use strict";var r=pr(),n=fr();t.exports=function(e){return r(n(e))}}),Dr=pe(function(e,t){"use strict";var r=ur(),n=ir(),a=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==l(e)?null!==e:r(e)||e===a}:function(e){return"object"==l(e)?null!==e:r(e)}}),gr=pe(function(e,t){"use strict";t.exports={}}),vr=pe(function(e,t){"use strict";var r=gr(),n=Qt(),a=ur(),o=function(e){return a(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(r[e])||o(n[e]):r[e]&&r[e][t]||n[e]&&n[e][t]}}),br=pe(function(e,t){"use strict";var r=nr();t.exports=r({}.isPrototypeOf)}),yr=pe(function(e,t){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""}),Fr=pe(function(e,t){"use strict";var r,n,a=Qt(),o=yr(),i=a.process,u=a.Deno,s=i&&i.versions||u&&u.version,l=s&&s.v8;l&&(n=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n}),wr=pe(function(e,t){"use strict";var r=Fr(),n=er(),a=Qt().String;t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),Er=pe(function(e,t){"use strict";var r=wr();t.exports=r&&!Symbol.sham&&"symbol"==l(Symbol.iterator)}),Cr=pe(function(e,t){"use strict";var r=vr(),n=ur(),a=br(),o=Er(),i=Object;t.exports=o?function(e){return"symbol"==l(e)}:function(e){var t=r("Symbol");return n(t)&&a(t.prototype,i(e))}}),xr=pe(function(e,t){"use strict";var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}}),Ar=pe(function(e,t){"use strict";var r=ur(),n=xr(),a=TypeError;t.exports=function(e){if(r(e))return e;throw new a(n(e)+" is not a function")}}),Tr=pe(function(e,t){"use strict";var r=Ar(),n=hr();t.exports=function(e,t){var a=e[t];return n(a)?void 0:r(a)}}),kr=pe(function(e,t){"use strict";var r=lr(),n=ur(),a=Dr(),o=TypeError;t.exports=function(e,t){var i,u;if("string"===t&&n(i=e.toString)&&!a(u=r(i,e)))return u;if(n(i=e.valueOf)&&!a(u=r(i,e)))return u;if("string"!==t&&n(i=e.toString)&&!a(u=r(i,e)))return u;throw new o("Can't convert object to primitive value")}}),Nr=pe(function(e,t){"use strict";t.exports=!0}),Br=pe(function(e,t){"use strict";var r=Qt(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}}),Rr=pe(function(e,t){"use strict";var r=Qt(),n=Br(),a="__core-js_shared__",o=r[a]||n(a,{});t.exports=o}),Sr=pe(function(e,t){"use strict";var r=Nr(),n=Rr();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),Or=pe(function(e,t){"use strict";var r=fr(),n=Object;t.exports=function(e){return n(r(e))}}),_r=pe(function(e,t){"use strict";var r=nr(),n=Or(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(n(e),t)}}),Pr=pe(function(e,t){"use strict";var r=nr(),n=0,a=Math.random(),o=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++n+a,36)}}),Ir=pe(function(e,t){"use strict";var r=Qt(),n=Sr(),a=_r(),o=Pr(),i=wr(),u=Er(),s=r.Symbol,l=n("wks"),c=u?s.for||s:s&&s.withoutSetter||o;t.exports=function(e){return a(l,e)||(l[e]=i&&a(s,e)?s[e]:c("Symbol."+e)),l[e]}}),Mr=pe(function(e,t){"use strict";var r=lr(),n=Dr(),a=Cr(),o=Tr(),i=kr(),u=Ir(),s=TypeError,l=u("toPrimitive");t.exports=function(e,t){if(!n(e)||a(e))return e;var u,c=o(e,l);if(c){if(void 0===t&&(t="default"),u=r(c,e,t),!n(u)||a(u))return u;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}}),Lr=pe(function(e,t){"use strict";var r=Mr(),n=Cr();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}}),Vr=pe(function(e,t){"use strict";var r=Qt(),n=Dr(),a=r.document,o=n(a)&&n(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}}),jr=pe(function(e,t){"use strict";var r=sr(),n=er(),a=Vr();t.exports=!r&&!n(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})}),qr=pe(function(e){"use strict";var t=sr(),r=lr(),n=cr(),a=dr(),o=mr(),i=Lr(),u=_r(),s=jr(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=o(e),t=i(t),s)try{return l(e,t)}catch(e){}if(u(e,t))return a(!r(n.f,e,t),e[t])}}),zr=pe(function(e,t){"use strict";var r=er(),n=ur(),a=/#|\.prototype\./,o=function(e,t){var a=u[i(e)];return a===l||a!==s&&(n(t)?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=o.data={},s=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o}),$r=pe(function(e,t){"use strict";var r=or(),n=Ar(),a=tr(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}}),Ur=pe(function(e,t){"use strict";var r=sr(),n=er();t.exports=r&&n(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),Hr=pe(function(e,t){"use strict";var r=Dr(),n=String,a=TypeError;t.exports=function(e){if(r(e))return e;throw new a(n(e)+" is not an object")}}),Wr=pe(function(e){"use strict";var t=sr(),r=jr(),n=Ur(),a=Hr(),o=Lr(),i=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";e.f=t?n?function(e,t,r){if(a(e),t=o(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=s(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:c in r?r[c]:n[c],enumerable:l in r?r[l]:n[l],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(a(e),t=o(t),a(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new i("Accessors not supported");return"value"in n&&(e[t]=n.value),e}}),Gr=pe(function(e,t){"use strict";var r=sr(),n=Wr(),a=dr();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}}),Kr=pe(function(e,t){"use strict";var r=Qt(),n=rr(),a=or(),o=ur(),i=qr().f,u=zr(),s=gr(),c=$r(),d=Gr(),p=_r(),h=function(e){var t=function(r,a,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,a)}return new e(r,a,o)}return n(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var n,f,m,D,g,v,b,y,F,w=e.target,E=e.global,C=e.stat,x=e.proto,A=E?r:C?r[w]:(r[w]||{}).prototype,T=E?s:s[w]||d(s,w,{})[w],k=T.prototype;for(D in t)f=!(n=u(E?D:w+(C?".":"#")+D,e.forced))&&A&&p(A,D),v=T[D],f&&(b=e.dontCallGetSet?(F=i(A,D))&&F.value:A[D]),g=f&&b?b:t[D],f&&l(v)==l(g)||(y=e.bind&&f?c(g,r):e.wrap&&f?h(g):x&&o(g)?a(g):g,(e.sham||g&&g.sham||v&&v.sham)&&d(y,"sham",!0),d(T,D,y),x&&(p(s,m=w+"Prototype")||d(s,m,{}),d(s[m],D,g),e.real&&k&&(n||!k[D])&&d(k,D,g)))}}),Yr=pe(function(){"use strict";Kr()({target:"Object",stat:!0},{hasOwn:_r()})}),Zr=pe(function(e,t){"use strict";Yr();var r=gr();t.exports=r.Object.hasOwn}),Xr=pe(function(e,t){"use strict";var r=Zr();t.exports=r}),Jr=pe(function(e,t){"use strict";var r=Xr();t.exports=r}),Qr=pe(function(e,t){"use strict";var r=Sr(),n=Pr(),a=r("keys");t.exports=function(e){return a[e]||(a[e]=n(e))}}),en=pe(function(e,t){"use strict";var r=er();t.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})}),tn=pe(function(e,t){"use strict";var r=_r(),n=ur(),a=Or(),o=Qr(),i=en(),u=o("IE_PROTO"),s=Object,l=s.prototype;t.exports=i?s.getPrototypeOf:function(e){var t=a(e);if(r(t,u))return t[u];var o=t.constructor;return n(o)&&t instanceof o?o.prototype:t instanceof s?l:null}}),rn=pe(function(e,t){"use strict";var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}}),nn=pe(function(e,t){"use strict";var r=rn();t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}}),an=pe(function(e,t){"use strict";var r=nn(),n=Math.max,a=Math.min;t.exports=function(e,t){var o=r(e);return o<0?n(o+t,0):a(o,t)}}),on=pe(function(e,t){"use strict";var r=nn(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}}),un=pe(function(e,t){"use strict";var r=on();t.exports=function(e){return r(e.length)}}),sn=pe(function(e,t){"use strict";var r=mr(),n=an(),a=un(),o=function(e){return function(t,o,i){var u,s=r(t),l=a(s),c=n(i,l);if(e&&o!=o){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===o)return e||c||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}}),ln=pe(function(e,t){"use strict";t.exports={}}),cn=pe(function(e,t){"use strict";var r=nr(),n=_r(),a=mr(),o=sn().indexOf,i=ln(),u=r([].push);t.exports=function(e,t){var r,s=a(e),l=0,c=[];for(r in s)!n(i,r)&&n(s,r)&&u(c,r);for(;t.length>l;)n(s,r=t[l++])&&(~o(c,r)||u(c,r));return c}}),dn=pe(function(e,t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),pn=pe(function(e,t){"use strict";var r=cn(),n=dn();t.exports=Object.keys||function(e){return r(e,n)}}),hn=pe(function(e,t){"use strict";var r=sr(),n=er(),a=nr(),o=tn(),i=pn(),u=mr(),s=a(cr().f),l=a([].push),c=r&&n(function(){var e=Object.create(null);return e[2]=2,!s(e,2)}),d=function(e){return function(t){for(var n,a=u(t),d=i(a),p=c&&null===o(a),h=d.length,f=0,m=[];h>f;)n=d[f++],r&&!(p?n in a:s(a,n))||l(m,e?[n,a[n]]:a[n]);return m}};t.exports={entries:d(!0),values:d(!1)}}),fn=pe(function(){"use strict";var e=Kr(),t=hn().values;e({target:"Object",stat:!0},{values:function(e){return t(e)}})}),mn=pe(function(e,t){"use strict";fn();var r=gr();t.exports=r.Object.values}),Dn=pe(function(e,t){"use strict";var r=mn();t.exports=r}),gn=pe(function(e,t){"use strict";var r=Dn();t.exports=r}),vn=pe(function(e,t){"use strict";var r={};r[Ir()("toStringTag")]="z",t.exports="[object z]"===String(r)}),bn=pe(function(e,t){"use strict";var r=vn(),n=ur(),a=ar(),o=Ir()("toStringTag"),i=Object,u="Arguments"===a(function(){return arguments}());t.exports=r?a:function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=i(e),o))?r:u?a(t):"Object"===(s=a(t))&&n(t.callee)?"Arguments":s}}),yn=pe(function(e,t){"use strict";var r=bn(),n=String;t.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}}),Fn=pe(function(e,t){"use strict";var r=nr(),n=nn(),a=yn(),o=fr(),i=r("".charAt),u=r("".charCodeAt),s=r("".slice),l=function(e){return function(t,r){var l,c,d=a(o(t)),p=n(r),h=d.length;return p<0||p>=h?e?"":void 0:(l=u(d,p))<55296||l>56319||p+1===h||(c=u(d,p+1))<56320||c>57343?e?i(d,p):l:e?s(d,p,p+2):c-56320+(l-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}}),wn=pe(function(e,t){"use strict";var r=Qt(),n=ur(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a))}),En=pe(function(e,t){"use strict";var r,n,a,o,i,u=wn(),s=Qt(),l=Dr(),c=Gr(),d=_r(),p=Rr(),h=Qr(),f=ln(),m="Object already initialized",D=s.TypeError,g=s.WeakMap;u||p.state?((o=p.state||(p.state=new g)).get=o.get,o.has=o.has,o.set=o.set,r=function(e,t){if(o.has(e))throw new D(m);return t.facade=e,o.set(e,t),t},n=function(e){return o.get(e)||{}},a=function(e){return o.has(e)}):(f[i=h("state")]=!0,r=function(e,t){if(d(e,i))throw new D(m);return t.facade=e,c(e,i,t),t},n=function(e){return d(e,i)?e[i]:{}},a=function(e){return d(e,i)}),t.exports={set:r,get:n,has:a,enforce:function(e){return a(e)?n(e):r(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=n(t)).type!==e)throw new D("Incompatible receiver, "+e+" required");return r}}}}),Cn=pe(function(e,t){"use strict";var r=sr(),n=_r(),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,i=n(a,"name"),u=i&&"something"===function(){}.name,s=i&&(!r||r&&o(a,"name").configurable);t.exports={EXISTS:i,PROPER:u,CONFIGURABLE:s}}),xn=pe(function(e){"use strict";var t=sr(),r=Ur(),n=Wr(),a=Hr(),o=mr(),i=pn();e.f=t&&!r?Object.defineProperties:function(e,t){a(e);for(var r,u=o(t),s=i(t),l=s.length,c=0;l>c;)n.f(e,r=s[c++],u[r]);return e}}),An=pe(function(e,t){"use strict";var r=vr();t.exports=r("document","documentElement")}),Tn=pe(function(e,t){"use strict";var r,n=Hr(),a=xn(),o=dn(),i=ln(),u=An(),l=Vr(),c=Qr(),d="prototype",p="script",h=c("IE_PROTO"),f=function(){},m=function(e){return"<"+p+">"+e+""},D=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;g=void 0!==s?s.domain&&r?D(r):(t=l("iframe"),n="java"+p+":",t.style.display="none",u.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):D(r);for(var a=o.length;a--;)delete g[d][o[a]];return g()};i[h]=!0,t.exports=Object.create||function(e,t){var r;return null!==e?(f[d]=n(e),r=new f,f[d]=null,r[h]=e):r=g(),void 0===t?r:a.f(r,t)}}),kn=pe(function(e,t){"use strict";var r=Gr();t.exports=function(e,t,n,a){return a&&a.enumerable?e[t]=n:r(e,t,n),e}}),Nn=pe(function(e,t){"use strict";var r,n,a,o=er(),i=ur(),u=Dr(),s=Tn(),l=tn(),c=kn(),d=Ir(),p=Nr(),h=d("iterator"),f=!1;[].keys&&("next"in(a=[].keys())?(n=l(l(a)))!==Object.prototype&&(r=n):f=!0),!u(r)||o(function(){var e={};return r[h].call(e)!==e})?r={}:p&&(r=s(r)),i(r[h])||c(r,h,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}}),Bn=pe(function(e,t){"use strict";var r=vn(),n=bn();t.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}}),Rn=pe(function(e,t){"use strict";var r=vn(),n=Wr().f,a=Gr(),o=_r(),i=Bn(),u=Ir()("toStringTag");t.exports=function(e,t,s,l){if(e){var c=s?e:e.prototype;o(c,u)||n(c,u,{configurable:!0,value:t}),l&&!r&&a(c,"toString",i)}}}),Sn=pe(function(e,t){"use strict";t.exports={}}),On=pe(function(e,t){"use strict";var r=Nn().IteratorPrototype,n=Tn(),a=dr(),o=Rn(),i=Sn(),u=function(){return this};t.exports=function(e,t,s,l){var c=t+" Iterator";return e.prototype=n(r,{next:a(+!l,s)}),o(e,c,!1,!0),i[c]=u,e}}),_n=pe(function(e,t){"use strict";var r=nr(),n=Ar();t.exports=function(e,t,a){try{return r(n(Object.getOwnPropertyDescriptor(e,t)[a]))}catch(e){}}}),Pn=pe(function(e,t){"use strict";var r=ur(),n=String,a=TypeError;t.exports=function(e){if("object"==l(e)||r(e))return e;throw new a("Can't set "+n(e)+" as a prototype")}}),In=pe(function(e,t){"use strict";var r=_n(),n=Hr(),a=Pn();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,o={};try{(e=r(Object.prototype,"__proto__","set"))(o,[]),t=o instanceof Array}catch(e){}return function(r,o){return n(r),a(o),t?e(r,o):r.__proto__=o,r}}():void 0)}),Mn=pe(function(e,t){"use strict";var r=Kr(),n=lr(),a=Nr(),o=Cn(),i=ur(),u=On(),s=tn(),l=In(),c=Rn(),d=Gr(),p=kn(),h=Ir(),f=Sn(),m=Nn(),D=o.PROPER,g=o.CONFIGURABLE,v=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,y=h("iterator"),F="keys",w="values",E="entries",C=function(){return this};t.exports=function(e,t,o,h,m,x,A){u(o,t,h);var T,k,N,B=function(e){if(e===m&&P)return P;if(!b&&e&&e in O)return O[e];switch(e){case F:case w:case E:return function(){return new o(this,e)}}return function(){return new o(this)}},R=t+" Iterator",S=!1,O=e.prototype,_=O[y]||O["@@iterator"]||m&&O[m],P=!b&&_||B(m),I="Array"===t&&O.entries||_;if(I&&(T=s(I.call(new e)))!==Object.prototype&&T.next&&(a||s(T)===v||(l?l(T,v):i(T[y])||p(T,y,C)),c(T,R,!0,!0),a&&(f[R]=C)),D&&m===w&&_&&_.name!==w&&(!a&&g?d(O,"name",w):(S=!0,P=function(){return n(_,this)})),m)if(k={values:B(w),keys:x?P:B(F),entries:B(E)},A)for(N in k)(b||S||!(N in O))&&p(O,N,k[N]);else r({target:t,proto:!0,forced:b||S},k);return a&&!A||O[y]===P||p(O,y,P,{name:m}),f[t]=P,k}}),Ln=pe(function(e,t){"use strict";t.exports=function(e,t){return{value:e,done:t}}}),Vn=pe(function(){"use strict";var e=Fn().charAt,t=yn(),r=En(),n=Mn(),a=Ln(),o="String Iterator",i=r.set,u=r.getterFor(o);n(String,"String",function(e){i(this,{type:o,string:t(e),index:0})},function(){var t,r=u(this),n=r.string,o=r.index;return o>=n.length?a(void 0,!0):(t=e(n,o),r.index+=t.length,a(t,!1))})}),jn=pe(function(e,t){"use strict";var r=lr(),n=Hr(),a=Tr();t.exports=function(e,t,o){var i,u;n(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw o;return o}i=r(i,e)}catch(e){u=!0,i=e}if("throw"===t)throw o;if(u)throw i;return n(i),o}}),qn=pe(function(e,t){"use strict";var r=Hr(),n=jn();t.exports=function(e,t,a,o){try{return o?t(r(a)[0],a[1]):t(a)}catch(t){n(e,"throw",t)}}}),zn=pe(function(e,t){"use strict";var r=Ir(),n=Sn(),a=r("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||o[a]===e)}}),$n=pe(function(e,t){"use strict";var r=nr(),n=ur(),a=Rr(),o=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),t.exports=a.inspectSource}),Un=pe(function(e,t){"use strict";var r=nr(),n=er(),a=ur(),o=bn(),i=vr(),u=$n(),s=function(){},l=[],c=i("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.test(s),f=function(e){if(!a(e))return!1;try{return c(s,l,e),!0}catch(e){return!1}},m=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(e){return!0}};m.sham=!0,t.exports=!c||n(function(){var e;return f(f.call)||!f(Object)||!f(function(){e=!0})||e})?m:f}),Hn=pe(function(e,t){"use strict";var r=Lr(),n=Wr(),a=dr();t.exports=function(e,t,o){var i=r(t);i in e?n.f(e,i,a(0,o)):e[i]=o}}),Wn=pe(function(e,t){"use strict";var r=bn(),n=Tr(),a=hr(),o=Sn(),i=Ir()("iterator");t.exports=function(e){if(!a(e))return n(e,i)||n(e,"@@iterator")||o[r(e)]}}),Gn=pe(function(e,t){"use strict";var r=lr(),n=Ar(),a=Hr(),o=xr(),i=Wn(),u=TypeError;t.exports=function(e,t){var s=arguments.length<2?i(e):t;if(n(s))return a(r(s,e));throw new u(o(e)+" is not iterable")}}),Kn=pe(function(e,t){"use strict";var r=$r(),n=lr(),a=Or(),o=qn(),i=zn(),u=Un(),s=un(),l=Hn(),c=Gn(),d=Wn(),p=Array;t.exports=function(e){var t=a(e),h=u(this),f=arguments.length,m=f>1?arguments[1]:void 0,D=void 0!==m;D&&(m=r(m,f>2?arguments[2]:void 0));var g,v,b,y,F,w,E=d(t),C=0;if(!E||this===p&&i(E))for(g=s(t),v=h?new this(g):p(g);g>C;C++)w=D?m(t[C],C):t[C],l(v,C,w);else for(F=(y=c(t,E)).next,v=h?new this:[];!(b=n(F,y)).done;C++)w=D?o(y,m,[b.value,C],!0):b.value,l(v,C,w);return v.length=C,v}}),Yn=pe(function(e,t){"use strict";var r,n,a=Ir()("iterator"),o=!1;try{r=0,(n={next:function(){return{done:!!r++}},return:function(){o=!0}})[a]=function(){return this},Array.from(n,function(){throw 2})}catch(e){}t.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var n={};n[a]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}}),Zn=pe(function(){"use strict";var e=Kr(),t=Kn();e({target:"Array",stat:!0,forced:!Yn()(function(e){Array.from(e)})},{from:t})}),Xn=pe(function(e,t){"use strict";Vn(),Zn();var r=gr();t.exports=r.Array.from}),Jn=pe(function(e,t){"use strict";var r=Xn();t.exports=r}),Qn=pe(function(e,t){"use strict";var r=Jn();t.exports=r}),ea=pe(function(e,t){!function(){"use strict";var n={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":l(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){i.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==i)return i;if(void 0!==u)return u;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),n.encodeHTMLSource=function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},r=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(r,function(e){return t[e]||e}):""}},void 0!==t&&t.exports?t.exports=n:void 0===(a=function(){return n}.call(e,r,e,t))||(t.exports=a);var o={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},s=/$^/;function c(e,t,r){return("string"==typeof t?t:t.toString()).replace(e.define||s,function(t,n,a,o){return 0===n.indexOf("def.")&&(n=n.substring(4)),n in r||(":"===a?(e.defineParams&&o.replace(e.defineParams,function(e,t,a){r[n]={arg:t,text:a}}),n in r||(r[n]=o)):new Function("def","def['"+n+"']="+o)(r)),""}).replace(e.use||s,function(t,n){e.useParams&&(n=n.replace(e.useParams,function(e,t,n,a){if(r[n]&&r[n].arg&&a){var o=(n+":"+a).replace(/'|\\/g,"_");return r.__exp=r.__exp||{},r.__exp[o]=r[n].text.replace(new RegExp("(^|[^\\w$])"+r[n].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+o+"']"}}));var a=new Function("def","return "+n)(r);return a?c(e,a,r):a})}function d(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}n.template=function(e,t,r){var a,i,u=(t=t||n.templateSettings).append?o.append:o.split,l=0,p=t.use||t.define?c(t,e,r||{}):e;p=("var out='"+(t.strip?p.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):p).replace(/'|\\/g,"\\$&").replace(t.interpolate||s,function(e,t){return u.start+d(t)+u.end}).replace(t.encode||s,function(e,t){return a=!0,u.startencode+d(t)+u.end}).replace(t.conditional||s,function(e,t,r){return t?r?"';}else if("+d(r)+"){out+='":"';}else{out+='":r?"';if("+d(r)+"){out+='":"';}out+='"}).replace(t.iterate||s,function(e,t,r,n){return t?(l+=1,i=n||"i"+l,t=d(t),"';var arr"+l+"="+t+";if(arr"+l+"){var "+r+","+i+"=-1,l"+l+"=arr"+l+".length-1;while("+i+"",sameOrigin:""};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;ta[t]=r,ta[t+"_PRIO"]=n,ta[t+"_GROUP"]=a,ta.results[n]=r,ta.resultGroups[n]=a,ta.resultGroupMap[r]=a}),Object.freeze(ta.results),Object.freeze(ta.resultGroups),Object.freeze(ta.resultGroupMap),Object.freeze(ta);var ra=ta,na=function(){"object"===("undefined"==typeof console?"undefined":l(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},aa=/[\t\r\n\f]/g,oa=X(function e(){Y(this,e),this.parent=void 0},[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(e){var t=this.attr("class");if(!t)return!1;var r=" "+e+" ";return(" "+t+" ").replace(aa," ").indexOf(r)>=0}}]),ia={};he(ia,{DqElement:function(){return ao},aggregate:function(){return ua},aggregateChecks:function(){return ha},aggregateNodeResults:function(){return ma},aggregateResult:function(){return ga},areStylesSet:function(){return va},assert:function(){return ba},checkHelper:function(){return oo},clone:function(){return io},closest:function(){return Eo},collectResultsFromFrames:function(){return bi},contains:function(){return yi},convertSelector:function(){return yo},cssParser:function(){return lo},deepMerge:function(){return Fi},escapeSelector:function(){return Fa},extendMetaData:function(){return wi},filterHtmlAttrs:function(){return gm},finalizeRuleResult:function(){return fa},findBy:function(){return Di},getAllChecks:function(){return mi},getAncestry:function(){return Ya},getBaseLang:function(){return ef},getCheckMessage:function(){return cf},getCheckOption:function(){return df},getEnvironmentData:function(){return pf},getFlattenedTree:function(){return Xh},getFrameContexts:function(){return xf},getFriendlyUriEnd:function(){return xa},getNodeAttributes:function(){return Aa},getNodeFromTree:function(){return to},getPreloadConfig:function(){return dm},getRootNode:function(){return Ai},getRule:function(){return Af},getScroll:function(){return kf},getScrollState:function(){return Bf},getSelector:function(){return Wa},getSelectorData:function(){return ja},getShadowSelector:function(){return Ra},getStandards:function(){return Rf},getStyleSheetFactory:function(){return Of},getXpath:function(){return Xa},injectStyle:function(){return _f},isArrayLike:function(){return Pf},isContextObject:function(){return Lf},isContextProp:function(){return Vf},isContextSpec:function(){return Mf},isHidden:function(){return zf},isHtmlElement:function(){return $f},isLabelledFramesSelector:function(){return jf},isLabelledShadowDomSelector:function(){return qf},isNodeInContext:function(){return Uf},isShadowRoot:function(){return Ci},isValidLang:function(){return Nm},isXHTML:function(){return Ba},matchAncestry:function(){return Wf},matches:function(){return co},matchesExpression:function(){return wo},matchesSelector:function(){return Ta},memoize:function(){return Na},mergeResults:function(){return vi},nodeLookup:function(){return Kf},nodeSerializer:function(){return fi},nodeSorter:function(){return Gf},objectHasOwn:function(){return If},parseCrossOriginStylesheet:function(){return Xf},parseSameOriginStylesheet:function(){return Yf},parseStylesheet:function(){return Zf},parseTabindex:function(){return Jf},performanceTimer:function(){return Qf},pollyfillElementsFromPoint:function(){return em},preload:function(){return lm},preloadCssom:function(){return am},preloadMedia:function(){return sm},processMessage:function(){return lf},publishMetaData:function(){return pm},querySelectorAll:function(){return fm},querySelectorAllFilter:function(){return nm},queue:function(){return ko},respondable:function(){return ui},ruleShouldRun:function(){return Dm},select:function(){return bm},sendCommandToFrame:function(){return li},setScrollState:function(){return Fm},shadowSelect:function(){return wm},shadowSelectAll:function(){return Cm},shouldPreload:function(){return cm},toArray:function(){return ya},tokenList:function(){return Uh},uniqueArray:function(){return tm},uuid:function(){return Uo},validInputTypes:function(){return Am},validLangs:function(){return km}});var ua=function(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map(function(t){return e.indexOf(t)}).sort();return e[n.pop()]},sa=ra.CANTTELL_PRIO,la=ra.FAIL_PRIO,ca=[];ca[ra.PASS_PRIO]=!0,ca[ra.CANTTELL_PRIO]=null,ca[ra.FAIL_PRIO]=!1;var da=["any","all","none"];function pa(e,t){return da.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(e){return t(e,n)}),r},{})}var ha=function(e){var t=Object.assign({},e);pa(t,function(e,t){var r=void 0===e.result?-1:ca.indexOf(e.result);e.priority=-1!==r?r:ra.CANTTELL_PRIO,"none"===t&&(e.priority===ra.PASS_PRIO?e.priority=ra.FAIL_PRIO:e.priority===ra.FAIL_PRIO&&(e.priority=ra.PASS_PRIO))});var r={all:t.all.reduce(function(e,t){return Math.max(e,t.priority)},0),none:t.none.reduce(function(e,t){return Math.max(e,t.priority)},0),any:t.any.reduce(function(e,t){return Math.min(e,t.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return da.forEach(function(e){t[e]=t[e].filter(function(n){return n.priority===t.priority&&n.priority===r[e]}),t[e].forEach(function(e){return n.push(e.impact)})}),[sa,la].includes(t.priority)?t.impact=ua(ra.impact,n):t.impact=null,pa(t,function(e){delete e.result,delete e.priority}),t.result=ra.results[t.priority],delete t.priority,t};function fa(e){var t=c._audit.rules.find(function(t){return t.id===e.id});return t&&t.impact&&e.nodes.forEach(function(e){["any","all","none"].forEach(function(r){(e[r]||[]).forEach(function(e){e.impact=t.impact})})}),Object.assign(e,ma(e.nodes)),delete e.nodes,e}var ma=function(e){var t={};if((e=e.map(function(e){if(e.any&&e.all&&e.none)return ha(e);if(Array.isArray(e.node))return fa(e);throw new TypeError("Invalid Result type")}))&&e.length){var r=e.map(function(e){return e.result});t.result=ua(ra.results,r,t.result)}else t.result="inapplicable";ra.resultGroups.forEach(function(e){return t[e]=[]}),e.forEach(function(e){var r=ra.resultGroupMap[e.result];t[r].push(e)});var n=ra.FAIL_GROUP;if(0===t[n].length&&(n=ra.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(e){return e.impact});t.impact=ua(ra.impact,a)||null}else t.impact=null;return t};function Da(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),ra.resultGroups.forEach(function(e){delete n[e]}),e[r].push(n)}var ga=function(e){var t={};return ra.resultGroups.forEach(function(e){return t[e]=[]}),e.forEach(function(e){e.error?Da(t,e,ra.CANTTELL_GROUP):e.result===ra.NA?Da(t,e,ra.NA_GROUP):ra.resultGroups.forEach(function(r){Array.isArray(e[r])&&e[r].length>0&&Da(t,e,r)})}),t},va=function e(t,r,n){var a=i.getComputedStyle(t,null);if(!a)return!1;for(var o=0;o=1&&t<=31||127==t||0==a&&t>=48&&t<=57||1==a&&t>=48&&t<=57&&45==i?"\\"+t.toString(16)+" ":0==a&&1==n&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+r.charAt(a):r.charAt(a):o+="�";return o};function wa(e,t){return[e.substring(0,t),e.substring(t)]}function Ea(e){return e.replace(/\s+$/,"")}var Ca,xa=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=void 0===n?25:n,o=function(e){var t=e,r="",n="",a="",o="",i="";if(e.includes("#")){var u=W(wa(e,e.indexOf("#")),2);e=u[0],i=u[1]}if(e.includes("?")){var s=W(wa(e,e.indexOf("?")),2);e=s[0],o=s[1]}if(e.includes("://")){var l=W(e.split("://"),2);r=l[0];var c=W(wa(e=l[1],e.indexOf("/")),2);n=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=W(wa(e=e.substr(2),e.indexOf("/")),2);n=d[0],e=d[1]}if("www."===n.substr(0,4)&&(n=n.substr(4)),n&&n.includes(":")){var p=W(wa(n,n.indexOf(":")),2);n=p[0],a=p[1]}return{original:t,protocol:r,domain:n,port:a,path:e,query:o,hash:i}}(e),i=o.path,u=o.domain,s=o.hash,l=i.substr(i.substr(0,i.length-2).lastIndexOf("/")+1);if(s)return l&&(l+s).length<=a?Ea(l+s):l.length<2&&s.length>2&&s.length<=a?Ea(s):void 0;if(u&&u.length1)&&(-1!==c||l.length>2)&&l.length<=a&&!l.match(/index(\.[a-zA-Z]{2-4})?/)&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==e.length&&(e.match(/[0-9]/g)||"").length>=e.length/2}(l)?Ea(l):void 0}},Aa=function(e){return e.attributes instanceof i.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},Ta=function(e,t){return Ca&&e[Ca]||(Ca=function(e){var t,r,n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length;for(t=0;t2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var n=t.getRootNode&&t.getRootNode()||s;if(11!==n.nodeType)return e(t,r,n);for(var a=[];11===n.nodeType;){if(!n.host)return"";a.unshift({elm:t,doc:n}),n=(t=n.host).getRootNode()}return a.unshift({elm:t,doc:n}),a.map(function(t){return e(t.elm,r,t.doc)})}var Sa=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],Oa=31,_a=/([\\"])/g,Pa=/(\r\n|\r|\n)/g;function Ia(e){return e.replace(_a,"\\$1").replace(Pa,"\\a ")}function Ma(e,t){var r,n=t.name;if(-1!==n.indexOf("href")||-1!==n.indexOf("src")){var a=xa(e.getAttribute(n));r=a?Fa(t.name)+'$="'+Ia(a)+'"':Fa(t.name)+'="'+Ia(e.getAttribute(n))+'"'}else r=Fa(n)+'="'+Ia(t.value)+'"';return r}function La(e,t){return e.count "+n:u,a=!a||a.length>ra.selectorSimilarFilterLimit?Ga(r,n):a.filter(function(e){return Ta(e,n)}),e=e.parentElement}while((a.length>1||i)&&e&&11!==e.nodeType);return 1===a.length?n:-1!==n.indexOf(" > ")?":root"+n.substring(n.indexOf(" > ")):":root"}var Wa=Na(function(e,t){return Ra(Ha,e,t)}),Ga=Na(function(e,t){return Array.from(e.querySelectorAll(t))});function Ka(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if("head"!==t&&"body"!==t&&(null==n?void 0:n.children.length)>1){var o=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(o,")")}return r?Ka(r)+" > "+t+a:t+a}function Ya(e,t){return Ra(Ka,e,t)}function Za(e,t){var r,n;if(!e)return[];if(!t&&9===e.nodeType)return[{str:"html"}];if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=Za(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do{1===r.nodeType&&r.nodeName===e.nodeName&&n++,r=r.previousSibling}while(r);1===n&&(n=null)}else if(e.nextSibling){r=e.nextSibling;do{1===r.nodeType&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling)}while(r)}if(1===e.nodeType){var a={};a.str=e.nodeName.toLowerCase();var o=e.getAttribute&&Fa(e.getAttribute("id"));o&&1===e.ownerDocument.querySelectorAll("#"+o).length&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a)}return t}var Xa=function(e){return Za(e).reduce(function(e,t){return t.id?"/".concat(t.str,"[@id='").concat(t.id,"']"):e+"/".concat(t.str)+(t.count>0?"[".concat(t.count,"]"):"")},"")},Ja={},Qa={set:function(e,t){!function(e){ba("string"==typeof e,"key must be a string, "+l(e)+" given"),ba(""!==e,"key must not be empty")}(e),Ja[e]=t},get:function(e,t){if(function(e){ba("function"==typeof e||void 0===e,"creator must be a function or undefined, "+l(e)+" given")}(t),e in Ja)return Ja[e];if("function"==typeof t){var r=t();return ba(void 0!==r,"Cache creator function should not return undefined"),this.set(e,r),Ja[e]}},clear:function(){Ja={}}},eo=Qa,to=function(e,t){var r=t||e;return eo.get("nodeMap")?eo.get("nodeMap").get(r):null},ro="DqElm.RunOptions",no=Na(function(e,t,r){var n,a,o,u,s,l;return null!==(n=t)&&void 0!==n||(t=null),null!==(a=r)&&void 0!==a||(r={}),t||(t=null!==(s=eo.get(ro))&&void 0!==s?s:{}),this.spec=r,e instanceof oa?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=to(e)),this.fromFrame=(null===(o=this.spec.selector)||void 0===o?void 0:o.length)>1,this._includeElementInJson=t.elementRef,t.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(u=this._virtualNode)||void 0===u?void 0:u.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,c._audit.noHtml||(this.source=null!==(l=this.spec.source)&&void 0!==l?l:function(e){if(null==e||!e.outerHTML)return"";var t=e.outerHTML;return t||"function"!=typeof i.XMLSerializer||(t=(new i.XMLSerializer).serializeToString(e)),function(e,t){if(t=t||300,e.length>t){var r=e.indexOf(">");e=e.substring(0,r+1)}return e}(t||"")}(this._element)),this});no.prototype={get selector(){return this.spec.selector||[Wa(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Ya(this.element)]},get xpath(){return this.spec.xpath||[Xa(this.element)]},get element(){return this._element},toJSON:function(){var e={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(e.element=this._element),e}},no.fromFrame=function(e,t,r){var n=no.mergeSpecs(e,r);return new no(r.element,t,n)},no.mergeSpecs=function(e,t){return H({},e,{selector:[].concat($(t.selector),$(e.selector)),ancestry:[].concat($(t.ancestry),$(e.ancestry)),xpath:[].concat($(t.xpath),$(e.xpath)),nodeIndexes:[].concat($(t.nodeIndexes),$(e.nodeIndexes)),fromFrame:!0})},no.setRunOptions=function(e){var t=e.elementRef,r=e.absolutePaths;eo.set(ro,{elementRef:t,absolutePaths:r})};var ao=no,oo=function(e,t,r,n){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==0?(e.result=t,r(e)):n(t)}},data:function(t){e.data=t},relatedNodes:function(t){i.Node&&(t=t instanceof i.Node||t instanceof oa?[t]:ya(t),e.relatedNodes=[],t.forEach(function(t){if(t instanceof oa&&(t=t.actualNode),t instanceof i.Node){var r=new ao(t);e.relatedNodes.push(r)}}))}}};function io(e){return uo(e,new Map)}function uo(e,t){var r,n;if(null===e||"object"!==l(e))return e;if(null!==(r=i)&&void 0!==r&&r.Node&&e instanceof i.Node||null!==(n=i)&&void 0!==n&&n.HTMLCollection&&e instanceof i.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach(function(e){a.push(uo(e,t))}),a}var o={};for(var u in t.set(e,o),e)o[u]=uo(e[u],t);return o}var so=new(fe(Yt()).CssSelectorParser);so.registerSelectorPseudos("not"),so.registerSelectorPseudos("is"),so.registerNestingOperators(">"),so.registerAttrEqualityMods("^","$","*","~");var lo=so;function co(e,t){return yo(t).some(function(t){return wo(e,t)})}function po(e,t){return function(e,t){return 1===e.props.nodeType&&("*"===t.tag||e.props.nodeName===t.tag)}(e,t)&&function(e,t){return!t.classes||t.classes.every(function(t){return e.hasClass(t.value)})}(e,t)&&function(e,t){return!t.attributes||t.attributes.every(function(t){var r=e.attr(t.key);return null!==r&&t.test(r)})}(e,t)&&function(e,t){return!t.id||e.props.id===t.id}(e,t)&&(r=e,!((n=t).pseudos&&!n.pseudos.every(function(e){if("not"===e.name)return!e.expressions.some(function(e){return wo(r,e)});if("is"===e.name)return e.expressions.some(function(e){return wo(r,e)});throw new Error("the pseudo selector "+e.name+" has not yet been implemented")})));var r,n}var ho,fo=(ho=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(ho,"\\")}),mo=/\\/g;function Do(e){if(e)return e.map(function(e){var t,r,n=e.name.replace(mo,""),a=(e.value||"").replace(mo,"");switch(e.operator){case"^=":r=new RegExp("^"+fo(a));break;case"$=":r=new RegExp(fo(a)+"$");break;case"~=":r=new RegExp("(^|\\s)"+fo(a)+"(\\s|$)");break;case"|=":r=new RegExp("^"+fo(a)+"(-|$)");break;case"=":t=function(e){return a===e};break;case"*=":t=function(e){return e&&e.includes(a)};break;case"!=":t=function(e){return a!==e};break;default:t=function(e){return null!==e}}return""===a&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),t||(t=function(e){return e&&r.test(e)}),{key:n,value:a,type:void 0===e.value?"attrExist":"attrValue",test:t}})}function go(e){if(e)return e.map(function(e){return{value:e=e.replace(mo,""),regexp:new RegExp("(^|\\s)"+fo(e)+"(\\s|$)")}})}function vo(e){if(e)return e.map(function(e){var t;return["is","not"].includes(e.name)&&(t=bo(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}})}function bo(e){return e.map(function(e){for(var t=[],r=e.rule;r;)t.push({tag:r.tagName?r.tagName.toLowerCase():"*",combinator:r.nestingOperator?r.nestingOperator:" ",id:r.id,attributes:Do(r.attrs),classes:go(r.classNames),pseudos:vo(r.pseudos)}),r=r.rule;return t})}function yo(e){var t=lo.parse(e);return bo(t=t.selectors?t.selectors:[t])}function Fo(e,t,r,n){if(!e)return!1;for(var a=Array.isArray(t)?t[r]:t,o=po(e,a);!o&&n&&e.parent;)o=po(e=e.parent,a);if(r>0){if(!1===[" ",">"].includes(a.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+a.combinator);o=o&&Fo(e.parent,t,r-1," "===a.combinator)}return o}function wo(e,t,r){return Fo(e,t,t.length-1,r)}var Eo=function(e,t){for(;e;){if(co(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function Co(){}function xo(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var Ao,To,ko=function(){var e,t=[],r=0,n=0,a=Co,o=!1,i=function(t){e=t,setTimeout(function(){null!=e&&na("Uncaught error (of queue)",e)},1)},u=i;function s(e){return function(r){t[e]=r,(n-=1)||a===Co||(o=!0,a(t))}}function c(e){return a=Co,u(e),t}var d={defer:function(a){if("object"===l(a)&&a.then&&a.catch){var i=a;a=function(e,t){i.then(e).catch(t)}}if(xo(a),void 0===e){if(o)throw new Error("Queue already completed");return t.push(a),++n,function(){for(var e=t.length;r>>((3&t)<<3)&255;return Ro}}for(var So="function"==typeof i.Buffer?i.Buffer:Array,Oo=[],_o={},Po=0;Po<256;Po++)Oo[Po]=(Po+256).toString(16).substr(1),_o[Oo[Po]]=Po;function Io(e,t){var r=t||0,n=Oo;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var Mo=To(),Lo=[1|Mo[0],Mo[1],Mo[2],Mo[3],Mo[4],Mo[5]],Vo=16383&(Mo[6]<<8|Mo[7]),jo=0,qo=0;function zo(e,t,r){var n=t&&r||0,a=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:Vo,i=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:qo+1,s=i-jo+(u-qo)/1e4;if(s<0&&null==e.clockseq&&(o=o+1&16383),(s<0||i>jo)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");jo=i,qo=u,Vo=o;var l=(1e4*(268435455&(i+=122192928e5))+u)%4294967296;a[n++]=l>>>24&255,a[n++]=l>>>16&255,a[n++]=l>>>8&255,a[n++]=255&l;var c=i/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=255&c,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=o>>>8|128,a[n++]=255&o;for(var d=e.node||Lo,p=0;p<6;p++)a[n+p]=d[p];return t||Io(a)}function $o(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"==e?new So(16):null,e=null);var a=(e=e||{}).random||(e.rng||To)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;o++)t[n+o]=a[o];return t||Io(a)}(Ao=$o).v1=zo,Ao.v4=$o,Ao.parse=function(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){a<16&&(t[n+a++]=_o[e])});a<16;)t[n+a++]=0;return t},Ao.unparse=Io,Ao.BufferClass=So,c._uuid=zo();var Uo=$o,Ho=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Wo(){var e="axeAPI",t="";return void 0!==c&&c._audit&&c._audit.application&&(e=c._audit.application),void 0!==c&&(t=c.version),e+"."+t}function Go(e){Yo(e),ba(i.parent===e,"Source of the response must be the parent window.")}function Ko(e){Yo(e),ba(e.parent===i,"Respondable target must be a frame in the current window")}function Yo(e){ba(i!==e,"Messages can not be sent to the same window.")}var Zo={},Xo=[];function Jo(){var e="".concat($o(),":").concat($o());return Xo.includes(e)?Jo():(Xo.push(e),e)}function Qo(e,t,r,n){if(r?Go(e):Ko(e),t.message instanceof Error&&!r)return c.log(t.message),!1;var a=function(e){var t=e.topic,r=e.channelId,n=e.message,a={channelId:r,topic:t,messageId:e.messageId,keepalive:!!e.keepalive,source:Wo()};return n instanceof Error?a.error={name:n.name,message:n.message,stack:n.stack}:a.payload=n,JSON.stringify(a)}(H({messageId:Jo()},t)),o=c._audit.allowedOrigins;return!(!o||!o.length||("function"==typeof n&&function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];ba(!Zo[e],"A replyHandler already exists for this message channel."),Zo[e]={replyHandler:t,sendToParent:r}}(t.channelId,n,r),o.forEach(function(t){try{e.postMessage(a,t)}catch(r){if(r instanceof e.DOMException)throw new Error('allowedOrigins value "'.concat(t,'" is not a valid origin'));throw r}}),0))}function ei(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(n,a,o){Qo(e,{channelId:t,message:n,keepalive:a},r,o)}}function ti(e,t){var r,n=e.origin,a=e.data,o=e.source;try{var u=function(e){var t,r,n,a,o;try{t=JSON.parse(e)}catch(e){return}if(null!==(u=t)&&"object"===l(u)&&"string"==typeof u.channelId&&u.source===Wo()){var u,s=t,c=s.topic,d=s.channelId,p=s.messageId,h=s.keepalive;return{topic:c,message:"object"===l(t.error)?(r=t.error,n=r.message||"Unknown error occurred",a=Ho.includes(r.name)?r.name:"Error",o=i[a]||Error,r.stack&&(n+="\n"+r.stack.replace(r.message,"")),new o(n)):t.payload,messageId:p,channelId:d,keepalive:!!h}}}(a)||{},s=u.channelId,d=u.message,p=u.messageId;if(!function(e){var t=c._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}(n)||(r=p,Xo.includes(r)||(Xo.push(r),0)))return;if(d instanceof Error&&o.parent!==i)return c.log(d),!1;try{if(u.topic){var h=ei(o,s);Go(o),t(u,h)}else!function(e,t){var r=t.channelId,n=t.message,a=t.keepalive,o=function(e){return Zo[e]}(r)||{},i=o.replyHandler,u=o.sendToParent;if(i){u?Go(e):Ko(e);var s=ei(e,r,u);!a&&r&&function(e){delete Zo[e]}(r);try{i(n,a,s)}catch(e){c.log(e),s(e,a)}}}(o,u)}catch(e){!function(e,t,r){if(!e.parent!==i)return c.log(t);try{Qo(e,{topic:null,channelId:r,message:t,messageId:Jo(),keepalive:!0},!0)}catch(e){return c.log(e)}}(o,e,s)}}catch(e){return c.log(e),!1}}var ri,ni,ai={open:function(e){if("function"==typeof i.addEventListener){var t=function(t){ti(t,e)};return i.addEventListener("message",t,!1),function(){i.removeEventListener("message",t,!1)}}},post:function(e,t,r){return"function"==typeof i.addEventListener&&Qo(e,t,!1,r)}};function oi(e){e.updateMessenger(ai)}var ii={};function ui(e,t,r,n,a){var o={topic:t,message:r,channelId:"".concat($o(),":").concat($o()),keepalive:n};return ni(e,o,a)}function si(e,t){var r=e.topic,n=e.message,a=e.keepalive,o=ii[r];if(o)try{o(n,a,t)}catch(e){c.log(e),t(e,a)}}function li(e,t,r,n){var a,o,i=e.contentWindow,u=null!==(a=null===(o=t.options)||void 0===o?void 0:o.pingWaitTime)&&void 0!==a?a:500;if(!i)return na("Frame does not have a content window",e),void r(null);if(0!==u){var s=setTimeout(function(){s=setTimeout(function(){t.debug?n(di("No response from frame",e)):r(null)},0)},u);ui(i,"axe.ping",null,void 0,function(){clearTimeout(s),ci(e,t,r,n)})}else ci(e,t,r,n)}function ci(e,t,r,n){var a,o,i=null!==(a=null===(o=t.options)||void 0===o?void 0:o.frameWaitTime)&&void 0!==a?a:6e4,u=e.contentWindow,s=setTimeout(function(){n(di("Axe in frame timed out",e))},i);ui(u,"axe.start",t,void 0,function(e){clearTimeout(s),e instanceof Error==0?r(e):n(e)})}function di(e,t){var r;return c._tree&&(r=Wa(t)),new Error(e+": "+(r||t))}ui.updateMessenger=function(e){var t=e.open,r=e.post;ba("function"==typeof t,"open callback must be a function"),ba("function"==typeof r,"post callback must be a function"),ri&&ri();var n=t(si);n?(ba("function"==typeof n,"open callback must return a cleanup function"),ri=n):ri=null,ni=r},ui.subscribe=function(e,t){ba("function"==typeof t,"Subscriber callback must be a function"),ba(!ii[e],"Topic ".concat(e," is already registered to.")),ii[e]=t},ui.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i).frameElement},oi(ui);var pi=null,hi={update:function(e){ba("object"===l(e),"serializer must be an object"),pi=e},toSpec:function(e){return hi.dqElmToSpec(new ao(e))},dqElmToSpec:function(e,t){var r;return e instanceof ao==0?e:(t&&(e=function(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,o=!1!==t.selectors||r;return(e=new ao(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:o?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"})).fromFrame=r,e}(e,t)),"function"==typeof(null===(r=pi)||void 0===r?void 0:r.toSpec)?pi.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var r;return"function"==typeof(null===(r=pi)||void 0===r?void 0:r.mergeSpecs)?pi.mergeSpecs(e,t):ao.mergeSpecs(e,t)},mapRawResults:function(e){return e.map(function(e){return H({},e,{nodes:hi.mapRawNodeResults(e.nodes)})})},mapRawNodeResults:function(e){return null==e?void 0:e.map(function(e){var t=e.node,r=z(e,p);r.node=hi.dqElmToSpec(t);for(var n=0,a=["any","all","none"];n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Math.max(null==e?void 0:e.length,null==t?void 0:t.length),n=0;n0||0===o&&n.selector.length(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var Si=Na(function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(Si(e.parent))):t}),Oi=Si,_i=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Pi=/(\w+)\((\d+)/;function Ii(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Mi(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function Li(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Vi(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function ji(e){return"true"===e.attr("aria-hidden")}function qi(e){return"0"===e.getComputedStylePropertyValue("opacity")}function zi(e){var t=kf(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===r||0===n)}function $i(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=e.getComputedStylePropertyValue("position");if("fixed"===t)return!1;var r=Oi(e);if(!r.length)return!1;var n=e.boundingClientRect;return r.some(function(r){if("absolute"===t&&!function(e,t){for(var r=e.parent;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return!0;r=r.parent}return!1}(e,r)&&"static"===r.getComputedStylePropertyValue("position"))return!1;var a=r.boundingClientRect;return a.width<2||a.height<2||!Ri(n,a)})}function Ui(e){var t=e.getComputedStylePropertyValue("clip").match(_i),r=e.getComputedStylePropertyValue("clip-path").match(Pi);if(t&&5===t.length){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}function Hi(e,t){var r=Eo(e,"map");if(!r)return!0;var n=r.attr("name");if(!n)return!0;var a=Ai(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=fm(c._tree,'img[usemap="#'.concat(Fa(n),'"]'));return!o||!o.length||o.some(function(e){return!t(e)})}function Wi(e){var t;return"details"===(null===(t=e.parent)||void 0===t?void 0:t.props.nodeName)&&(("summary"!==e.props.nodeName||e.parent.children.find(function(e){return"summary"===e.props.nodeName})!==e)&&!e.parent.hasAttr("open"))}var Gi=[Mi,Li,Vi,Wi];function Ki(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=void 0!==n&&n;return e=Kf(e).vNode,r?Yi(e,a):Zi(e,a)}var Yi=Na(function(e,t){return!(!Ii(e)&&(!e.actualNode||!Gi.some(function(r){return r(e,{isAncestor:t})})&&e.actualNode.isConnected))}),Zi=Na(function(e,t){return!!Yi(e,t)||!!e.parent&&Zi(e.parent,!0)}),Xi=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){var r=t.parentNode;if(1===r.nodeType)return r;if(r.host)return r.host}return null},Ji=function(e){if(!e.nodeType&&e.document&&(e=e.document),9===e.nodeType){var t=e.documentElement,r=e.body;return{left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return{left:e.scrollLeft,top:e.scrollTop}},Qi=function(e){var t=Ji(s),r=t.left,n=t.top,a=e.getBoundingClientRect();return{top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}},eu=function(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(r)return{width:r.clientWidth,height:r.clientHeight};var n=t.body;return{width:n.clientWidth,height:n.clientHeight}},tu=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=Kf(e).domNode;if(t){var r,n=s.documentElement,a=i.getComputedStyle(t),o=i.getComputedStyle(s.body||n).getPropertyValue("direction"),u=Qi(t);if(u.bottom<0&&(function(e,t){for(e=Xi(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=Xi(e)}return!0}(t,u.bottom)||"absolute"===a.position))return!0;if(0===u.left&&0===u.right)return!1;if("ltr"===o){if(u.right<=0)return!0}else if(r=Math.max(n.scrollWidth,eu(i).width),u.left>=r)return!0;return!1}},ru=[qi,zi,$i,Ui,tu];function nu(e){return e=Kf(e).vNode,au(e)}var au=Na(function(e,t){return e.actualNode&&"area"===e.props.nodeName?!Hi(e,au):!Ki(e,{skipAncestors:!0,isAncestor:t})&&(!e.actualNode||!ru.some(function(r){return r(e,{isAncestor:t})}))&&(!e.parent||au(e.parent,!0))});function ou(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),o=Math.min(e.left,t.left);return new i.DOMRect(o,r,n-o,a-r)}function iu(e,t){var r=e.x,n=e.y,a=t.top,o=t.right,i=t.bottom,u=t.left;return n>=a&&r<=o&&n<=i&&r>=u}var uu={};function su(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom);return r>=n||a>=o?null:new i.DOMRect(r,a,n-r,o-a)}function lu(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new i.DOMPoint(t+n/2,r+a/2)}he(uu,{getBoundingRect:function(){return ou},getIntersectionRect:function(){return su},getOffset:function(){return pu},getRectCenter:function(){return lu},hasVisualOverlap:function(){return mu},isPointInRect:function(){return iu},rectHasMinimumSize:function(){return du},rectsOverlap:function(){return Ri},splitRects:function(){return Du}});var cu=.05;function du(e,t){var r=t.width,n=t.height;return r+cu>=e&&n+cu>=e}function pu(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,n=es(e),a=es(t);if(!n.length||!a.length)return null;var o,i=lu(n.reduce(ou)),u=1/0,s=Q(a);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(iu(i,l))return 0;var c=fu(i,hu(i,l));u=Math.min(u,c)}}catch(e){s.e(e)}finally{s.f()}if(du(2*r,ts(t)))return u;var d=fu(i,lu(a.reduce(ou)))-r;return Math.max(0,Math.min(u,d))}function hu(e,t){return{x:e.xt.right?t.right:e.x,y:e.yt.bottom?t.bottom:e.y}}function fu(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function mu(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return!(r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top)&&Hu(e,t)>0}function Du(e,t){var r,n=[e],a=Q(t);try{var o=function(){var e=r.value;if((n=n.reduce(function(t,r){return t.concat(function(e,t){var r,n,a=e.top,o=e.left,i=e.bottom,u=e.right,s=at.top,l=ot.left,c=[];if(gu(t.top,a,i)&&l&&c.push({top:a,left:o,bottom:t.top,right:u}),gu(t.right,o,u)&&s&&c.push({top:a,left:t.right,bottom:i,right:u}),gu(t.bottom,a,i)&&l&&c.push({top:t.bottom,right:u,bottom:i,left:o}),gu(t.left,o,u)&&s&&c.push({top:a,left:o,bottom:i,right:t.left}),0===c.length){if(n=t,(r=e).top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right)return[];c.push(e)}return c.map(vu)}(r,e))},[])).length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(r=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}return n}var gu=function(e,t,r){return e>t&&e0&&void 0!==arguments[0]?arguments[0]:s.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(eo.get("gridCreated")&&!r)return ra.gridSize;if(eo.set("gridCreated",!0),!r){var n,a=to(s.documentElement);if(a||(a=new $h(s.documentElement)),Eu=0,a._stackingOrder=[ku(bu,Eu++,null)],null!==(n=t)&&void 0!==n||(t=new Ru),Bu(t,a),kf(a.actualNode)){var o=new Ru(a);a._subGrid=o}}for(var u=s.createTreeWalker(e,i.NodeFilter.SHOW_ELEMENT,null,!1),l=r?u.nextNode():u.currentNode;l;){var d=to(l);d&&d.parent?r=d.parent:l.assignedSlot?r=to(l.assignedSlot):l.parentElement?r=to(l.parentElement):l.parentNode&&to(l.parentNode)&&(r=to(l.parentNode)),d||(d=new c.VirtualNode(l,r)),d._stackingOrder=Tu(d,r,Eu++);var p=Nu(d,r),h=p?p._subGrid:t;if(kf(d.actualNode)){var f=new Ru(d);d._subGrid=f}var m=d.boundingClientRect;0!==m.width&&0!==m.height&&nu(l)&&Bu(h,d),Ci(l)&&Cu(l.shadowRoot,h,d),l=u.nextNode()}return ra.gridSize}function xu(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if("fixed"===r||"sticky"===r)return!0;if("auto"!==n&&"static"!==r)return!0;if("1"!==e.getComputedStylePropertyValue("opacity"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none"))return!0;var a=e.getComputedStylePropertyValue("mix-blend-mode");if(a&&"normal"!==a)return!0;var o=e.getComputedStylePropertyValue("filter");if(o&&"none"!==o)return!0;var i=e.getComputedStylePropertyValue("perspective");if(i&&"none"!==i)return!0;var u=e.getComputedStylePropertyValue("clip-path");if(u&&"none"!==u)return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none"))return!0;if("isolate"===e.getComputedStylePropertyValue("isolation"))return!0;var s=e.getComputedStylePropertyValue("will-change");if("transform"===s||"opacity"===s)return!0;if("touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling"))return!0;var l=e.getComputedStylePropertyValue("contain");return!!["layout","paint","strict","content"].includes(l)||!("auto"===n||!Au(t))}function Au(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function Tu(e,t,r){var n=t._stackingOrder.slice();if(xu(e,t)){var a=n.findIndex(function(e){var t=e.stackLevel;return[bu,Fu,wu].includes(t)});-1!==a&&n.splice(a,n.length-a)}var o=function(e,t){var r=function(e,t){return"static"!==e.getComputedStylePropertyValue("position")||Au(t)?e.getComputedStylePropertyValue("z-index"):"auto"}(e,t);return["auto","0"].includes(r)?"static"!==e.getComputedStylePropertyValue("position")?wu:"none"!==e.getComputedStylePropertyValue("float")?Fu:xu(e,t)?yu:null:parseInt(r)}(e,t);return null!==o&&n.push(ku(o,r,e)),n}function ku(e,t,r){return{stackLevel:e,treeOrder:t,vNode:r}}function Nu(e,t){for(var r=null,n=[e];t;){if(kf(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=to(t.actualNode.parentElement||t.actualNode.parentNode)}return n.forEach(function(e){return e._scrollRegionParent=r}),r}function Bu(e,t){var r=Oi(t);t.clientRects.forEach(function(n){var a,o=r.reduce(function(e,t){return e&&su(e,t.boundingClientRect)},n);if(o){null!==(a=t._grid)&&void 0!==a||(t._grid=e);var i=e.getGridPositionOfRect(o);e.loopGridPosition(i,function(e){e.includes(t)||e.push(t)})}})}var Ru=X(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Y(this,e),this.container=t,this.cells=[]},[{key:"toGridIndex",value:function(e){return Math.floor(e/ra.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,r,n=e.x,a=e.y;ba(this.boundaries,"Grid does not have cells added");var o=this.toGridIndex(a),i=this.toGridIndex(n);ba(iu({y:o,x:i},this.boundaries),"Element midpoint exceeds the grid bounds");var u=null!==(t=this.cells[o-this.cells._negativeIndex])&&void 0!==t?t:[];return null!==(r=u[i-u._negativeIndex])&&void 0!==r?r:[]}},{key:"loopGridPosition",value:function(e,t){var r=e,n=r.left,a=r.right,o=r.top,i=r.bottom;this.boundaries&&(e=ou(this.boundaries,e)),this.boundaries=e,Su(this.cells,o,i,function(e,r){Su(e,n,a,function(e,n){t(e,{row:r,col:n})})})}},{key:"getGridPositionOfRect",value:function(e){var t=e.top,r=e.right,n=e.bottom,a=e.left,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t=this.toGridIndex(t-o),r=this.toGridIndex(r+o-1),n=this.toGridIndex(n+o-1),a=this.toGridIndex(a-o),new i.DOMRect(a,t,r-a,n-t)}}]);function Su(e,t,r,n){var a;if(null!==(a=e._negativeIndex)&&void 0!==a||(e._negativeIndex=0),t1&&void 0!==arguments[1]?arguments[1]:0;if(Cu(),null===(t=e._grid)||void 0===t||null===(t=t.cells)||void 0===t||!t.length)return[];var n=e.boundingClientRect,a=e._grid,o=_u(e),i=a.getGridPositionOfRect(n,r),u=[];return a.loopGridPosition(i,function(t){var r,n=Q(t);try{for(n.s();!(r=n.n()).done;){var a=r.value;a&&a!==e&&!u.includes(a)&&o===_u(a)&&u.push(a)}}catch(e){n.e(e)}finally{n.f()}}),u}var _u=Na(function(e){return!!e&&("fixed"===e.getComputedStylePropertyValue("position")||_u(e.parent))}),Pu=Na(function(){var e;if(!c._tree)return null;var t=nm(c._tree[0],"dialog[open]",function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&nu(e)});return t.length?t.find(function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left-10,t.top-10).includes(e.actualNode)})||(null!==(e=t.find(function(e){var t,r=null!==(t=function(e){Cu();var t=c._tree[0]._grid,r=new i.DOMRect(0,0,i.innerWidth,i.innerHeight);if(t)for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Mu(e,n):Lu(e,n)}var Mu=Na(function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var r=Pu();if(r&&!yi(r,e))return!0}return!1}),Lu=Na(function(e,t){return!!Mu(e,t)||!!e.parent&&Lu(e.parent,!0)}),Vu=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"],ju=function(e){var t,r=Kf(e).vNode;if(t=r.props.nodeName,Vu.includes(t)&&r.hasAttr("disabled")||Iu(r))return!0;for(var n=r.parent,a=[],o=!1;n&&n.shadowId===r.shadowId&&!o&&(a.push(n),"legend"!==n.props.nodeName);){if(void 0!==n._inDisabledFieldset){o=n._inDisabledFieldset;break}"fieldset"===n.props.nodeName&&n.hasAttr("disabled")&&(o=!0),n=n.parent}return a.forEach(function(e){return e._inDisabledFieldset=o}),!!o||"area"!==r.props.nodeName&&!!r.actualNode&&Ki(r)},qu=/^\/\#/,zu=/^#[!/]/;function $u(e){var t,r=e.getAttribute("href");if(!r||"#"===r)return!1;if(qu.test(r))return!0;var n=e.hash,a=e.protocol,o=e.hostname,u=e.port,s=e.pathname;if(zu.test(n))return!1;if("#"===r.charAt(0))return!0;if("string"!=typeof(null===(t=i.location)||void 0===t?void 0:t.origin)||-1===i.location.origin.indexOf("://"))return null;var l,c=i.location.origin+i.location.pathname;return l=o?"".concat(a,"//").concat(o).concat(u?":".concat(u):""):i.location.origin,(l+=s?("/"!==s[0]?"/":"")+s:i.location.pathname)===c}var Uu=function(e,t){var r=e.getAttribute(t);if(!r)return null;if("href"===t&&!$u(e))return null;-1!==r.indexOf("#")&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=s.getElementById(r);return n||((n=s.getElementsByName(r)).length?n[0]:null)};function Hu(e,t){Cu();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;ne._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel2&&void 0!==arguments[2]&&arguments[2],n=lu(t),a=e.getCellFromPoint(n)||[],o=Math.floor(n.x),i=Math.floor(n.y),u=a.filter(function(e){return e.clientRects.some(function(e){var t=e.left,r=e.top;return o=Math.floor(t)&&i=Math.floor(r)})}),l=e.container;return l&&(u=Ku(l._grid,l.boundingClientRect,!0).concat(u)),r||(u=u.sort(Hu).map(function(e){return e.actualNode}).concat(s.documentElement).filter(function(e,t,r){return r.indexOf(e)===t})),u}var Yu=function(e){Cu();var t=to(e),r=t._grid;return r?Ku(r,t.boundingClientRect):[]},Zu=function(e){return fm(e,"*").filter(function(e){var t=e.isFocusable,r=Jf(e.actualNode.getAttribute("tabindex"));return null!==r?t&&r>=0:t})},Xu=function(e){var t=Kf(e).vNode;if(!t||ju(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!fm(t,"summary").length}return!1};function Ju(e){var t=Kf(e).vNode;return!(1!==t.props.nodeType||ju(t)||!Xu(t)&&null===Jf(t.attr("tabindex")))}function Qu(e){var t=Kf(e).vNode;return 1===t.props.nodeType&&!(Jf(t.attr("tabindex"))<=-1)&&Ju(t)}var es=Na(function(e){var t=e.boundingClientRect,r=Ou(e).filter(function(t){return mu(e,t)&&"none"!==t.getComputedStylePropertyValue("pointer-events")&&!function(e,t){return yi(e,t)&&!Qu(t)}(e,t)});return r.length?Du(t,r.map(function(e){return e.boundingClientRect})):[t]}),ts=Na(function(e,t){return function(e,t){return e.reduce(function(e,r){var n=du(t,e);return n!==du(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r})}(es(e),t)}),rs={};he(rs,{accessibleText:function(){return as},accessibleTextVirtual:function(){return xl},autocomplete:function(){return Nl},formControlValue:function(){return hl},formControlValueMethods:function(){return dl},hasUnicode:function(){return El},isHumanInterpretable:function(){return kl},isIconLigature:function(){return Cl},isValidAutocomplete:function(){return Bl},label:function(){return _l},labelText:function(){return Dl},labelVirtual:function(){return Ol},nativeElementType:function(){return Pl},nativeTextAlternative:function(){return Fl},nativeTextMethods:function(){return yl},removeUnicode:function(){return Tl},sanitize:function(){return ws},subtreeText:function(){return ml},titleText:function(){return Ys},unsupported:function(){return Js},visible:function(){return Sl},visibleTextNodes:function(){return Il},visibleVirtual:function(){return tl}});var ns=function(e,t){e=e.actualNode||e;try{var r=Ti(e),n=[],a=e.getAttribute(t);if(a){a=Uh(a);for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{},r=Kf(e).vNode;return 1!==(null==r?void 0:r.props.nodeType)||1!==r.props.nodeType||t.inLabelledByContext||t.inControlContext||!r.attr("aria-labelledby")?"":ns(r,"aria-labelledby").filter(function(e){return e}).reduce(function(e,n){var a=as(n,H({inLabelledByContext:!0,startNode:t.startNode||r},t));return e?"".concat(e," ").concat(a):a},"")};function is(e){var t=Kf(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var us={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},ss={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},ls={ariaAttrs:us,ariaRoles:H({},ss,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:{a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},cssColors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},cs=H({},ls),ds=cs,ps=function(e){var t=ds.ariaRoles[e];return!!t&&!!t.unsupported},hs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=void 0!==n&&n,o=ds.ariaRoles[e],i=ps(e);return!(!o||a&&i||!r&&"abstract"===o.type)},fs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(1!==(e=e instanceof oa?e:to(e)).props.nodeType)return null;var o=(e.attr("role")||"").trim().toLowerCase();return(r?Uh(o):[o]).find(function(e){return!(!a&&"doc-"===e.substr(0,4))&&hs(e,{allowAbstract:n})})||null},ms=function(e){return Object.keys(ds.htmlElms).filter(function(t){var r=ds.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):!!r.variant&&!(!r.variant.default||!r.variant.default.contentTypes)&&r.variant.default.contentTypes.includes(e)})},Ds=function(){return eo.get("globalAriaAttrs",function(){return Object.keys(ds.ariaAttrs).filter(function(e){return ds.ariaAttrs[e].global})})},gs=Na(function(e){for(var t=[],r=e.rows,n=0,a=r.length;n1&&void 0!==arguments[1]?arguments[1]:{}).checkTitle,r=void 0!==t&&t;return!!(ws(os(e))||ws(is(e))||r&&1===(null==e?void 0:e.props.nodeType)&&ws(e.attr("title")))}var As={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:function(e){return Eo(e.parent,Es())&&!xs(e,{checkTitle:!0})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return Eo(e,Cs())?null:"contentinfo"},form:function(e){return xs(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return Eo(e,Cs())?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),r=Ds().find(function(t){return e.hasAttr(t)});return!t||r||Ju(e)?"img":"presentation"},input:function(e){var t;if(e.hasAttr("list")){var r=ns(e.actualNode,"list").filter(function(e){return!!e})[0];t=r&&"datalist"===r.nodeName.toLowerCase()}switch(e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return t?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return t?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(e){return xs(e)?"region":null},select:function(e){return e.hasAttr("multiple")||parseInt(e.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){var t=Eo(e,"table"),r=fs(t);return["grid","treegrid"].includes(r)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return ys(e)?"columnheader":Fs(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"},Ts=function(e,t){var r=l(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===r)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e},ks=function(e,t){return Ts(!!xl(e),t)},Ns=function(e,t){if("object"!==l(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(r){return Ts(e(r),t[r])})},Bs=function(e,t){return e=Kf(e).vNode,Ns(function(t){return e.attr(t)},t)};function Rs(e,t){return!!t(e)}var Ss=function(e,t){return Ts(fs(e),t)},Os=function(e,t){return Ts(zs(e),t)},_s=function(e,t){return e=Kf(e).vNode,Ts(e.props.nodeName,t)},Ps=function(e,t){return e=Kf(e).vNode,Ns(function(t){return e.props[t]},t)},Is=function(e,t){return Ts(Gs(e),t)},Ms={hasAccessibleName:ks,attributes:Bs,condition:Rs,explicitRole:Ss,implicitRole:Os,nodeName:_s,properties:Ps,semanticRole:Is},Ls=function e(t,r){return t=Kf(t).vNode,Array.isArray(r)?r.some(function(r){return e(t,r)}):"string"==typeof r?co(t,r):Object.keys(r).every(function(e){if(!Ms[e])throw new Error('Unknown matcher type "'.concat(e,'"'));var n=Ms[e],a=r[e];return n(t,a)})},Vs=function(e,t){return Ls(e,t)};Vs.hasAccessibleName=ks,Vs.attributes=Bs,Vs.condition=Rs,Vs.explicitRole=Ss,Vs.fromDefinition=Ls,Vs.fromFunction=Ns,Vs.fromPrimative=Ts,Vs.implicitRole=Os,Vs.nodeName=_s,Vs.properties=Ps,Vs.semanticRole=Is;var js=Vs,qs=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,r=void 0!==t&&t,n=ds.htmlElms[e.props.nodeName];if(!n)return{};if(!n.variant)return n;var a=n.variant,o=z(n,m);for(var i in a)if(a.hasOwnProperty(i)&&"default"!==i){for(var u=a[i],s=u.matches,l=z(u,D),c=Array.isArray(s)?s:[s],d=0;d1&&void 0!==arguments[1]?arguments[1]:{}).chromium,r=e instanceof oa?e:to(e);if(e=r.actualNode,!r)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=r.props.nodeName,a=As[n];return!a&&t?qs(r).chromiumRole||null:"function"==typeof a?a(r):a||null},$s={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function Us(e,t){var r=$s[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=fs(e.parent,t);return["none","presentation"].includes(n)&&!Ws(e.parent)?n:n?null:Us(e.parent,t)}function Hs(e,t){var r=t.chromium,n=z(t,g),a=zs(e,{chromium:r});return a?Us(e,n)||a:null}function Ws(e){return Ds().some(function(t){return e.hasAttr(t)})||Ju(e)}var Gs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noPresentational,n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noImplicit,n=z(t,v),a=Kf(e).vNode;if(1!==a.props.nodeType)return null;var o=fs(a,n);return o?["presentation","none"].includes(o)&&Ws(a)?r?null:Hs(a,n):o:r?null:Hs(a,n)}(e,z(t,b));return r&&["presentation","none"].includes(n)?null:n},Ks=["iframe"],Ys=function(e){var t=Kf(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!Vs(t,Ks)&&["none","presentation"].includes(Gs(t))?"":t.attr("title"):""},Zs=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof oa?e:to(e)).props.nodeType)return!1;var r=Gs(e),n=ds.ariaRoles[r];return!(!n||!n.nameFromContent)||!t&&(!n||["presentation","none"].includes(r))},Xs=function(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=ns(t,"aria-owns").filter(function(e){return!!e}).map(function(e){return c.utils.getNodeFromTree(e)});return[].concat($(r),$(n))}return $(r)},Js={accessibleNameFromFieldValue:["progressbar"]};function Qs(e){return e=Kf(e).vNode,el(e)}var el=Na(function(e,t){return!ji(e)&&!Iu(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!Hi(e,el):!Ki(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||el(e.parent,!0)))}),tl=function e(t,r,n){var a=Kf(t).vNode,o=r?Qs:nu,i=!t.actualNode||t.actualNode&&o(t),u=a.children.map(function(t){var a=t.props,o=a.nodeType,u=a.nodeValue;if(3===o){if(u&&i)return u}else if(!n)return e(t,r)}).join("");return ws(u)},rl=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"],nl=function(e){var t=(e=e instanceof oa?e:to(e)).props.nodeName;return"textarea"===t||"input"===t&&!rl.includes((e.attr("type")||"").toLowerCase())},al=function(e){return"select"===(e=e instanceof oa?e:to(e)).props.nodeName},ol=function(e){return"textbox"===fs(e)},il=function(e){return"listbox"===fs(e)},ul=function(e){return"combobox"===fs(e)},sl=["progressbar","scrollbar","slider","spinbutton"],ll=function(e){var t=fs(e);return sl.includes(t)},cl=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],dl={nativeTextboxValue:function(e){var t=Kf(e).vNode;return nl(t)&&t.props.value||""},nativeSelectValue:function(e){var t=Kf(e).vNode;if(!al(t))return"";var r=fm(t,"option"),n=r.filter(function(e){return e.props.selected});return n.length||n.push(r[0]),n.map(function(e){return tl(e)}).join(" ")||""},ariaTextboxValue:function(e){var t=Kf(e),r=t.vNode,n=t.domNode;return ol(r)?!n||n&&!Ki(n)?tl(r,!0):n.textContent:""},ariaListboxValue:pl,ariaComboboxValue:function(e,t){var r=Kf(e).vNode;if(!ul(r))return"";var n=Xs(r).filter(function(e){return"listbox"===Gs(e)})[0];return n?pl(n,t):""},ariaRangeValue:function(e){var t=Kf(e).vNode;if(!ll(t)||!t.hasAttr("aria-valuenow"))return"";var r=+t.attr("aria-valuenow");return isNaN(r)?"0":String(r)}};function pl(e,t){var r=Kf(e).vNode;if(!il(r))return"";var n=Xs(r).filter(function(e){return"option"===Gs(e)&&"true"===e.attr("aria-selected")});return 0===n.length?"":xl(n[0],t)}var hl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode,n=Js.accessibleNameFromFieldValue||[],a=Gs(e);if(t.startNode===e||!cl.includes(a)||n.includes(a))return"";var o=Object.keys(dl).map(function(e){return dl[e]}).reduce(function(r,n){return r||n(e,t)},"");return t.debug&&na(o||"{empty-value}",r,t),o},fl=ms("phrasing").concat(["#text"]),ml=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=xl.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,o=n.inControlContext,i=n.inLabelledByContext,u=Gs(e),s=qs(e,{noMatchAccessibleName:!0}).contentTypes;return r(e,t)||1!==e.props.nodeType||null!=s&&s.includes("embedded")||cl.includes(u)?"":t.subtreeDescendant||t.inLabelledByContext||Zs(e,{strict:a})?(a||(t=H({subtreeDescendant:!o&&!i},t)),Xs(e).reduce(function(e,r){return function(e,t,r){var n=t.props.nodeName,a=xl(t,r);return a?(fl.includes(n)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a)),e+a):e}(e,r,t)},"")):""},Dl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=xl.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return"";t.startNode||(t.startNode=e);var n,a=H({inControlContext:!0},t),o=function(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return ki({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=Eo(e,"label");return i?(n=[].concat($(o),[i.actualNode])).sort(Gf):n=o,n.map(function(e){return as(e,a)}).filter(function(e){return""!==e}).join(" ")},gl={submit:"Submit",image:"Submit",reset:"Reset",button:""};function vl(e,t){return t.attr(e)||""}function bl(e,t,r){var n=t.actualNode,a=[e=e.toLowerCase(),n.nodeName.toLowerCase()].join(","),o=n.querySelector(a);return o&&o.nodeName.toLowerCase()===e?as(o,r):""}var yl={valueText:function(e){return e.props.value||""},buttonDefaultText:function(e){return gl[e.props.type]||""},tableCaptionText:bl.bind(null,"caption"),figureText:bl.bind(null,"figcaption"),svgTitleText:bl.bind(null,"title"),fieldsetLegendText:bl.bind(null,"legend"),altText:vl.bind(null,"alt"),tableSummaryText:vl.bind(null,"summary"),titleText:Ys,subtreeText:ml,labelText:Dl,singleSpace:function(){return" "},placeholderText:vl.bind(null,"placeholder")};function Fl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(Gs(e)))return"";var n=function(e){return(qs(e,{noMatchAccessibleName:!0}).namingMethods||[]).map(function(e){return yl[e]})}(e),a=n.reduce(function(r,n){return r||n(e,t)},"");return t.debug&&c.log(a||"{empty-value}",r,t),a}var wl=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF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ECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},El=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,o=!1;return r&&(o||(o=/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\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B\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g.test(e))),n&&(o||(o=/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g.test(e)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(e)||/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g.test(e))),a&&(o||(o=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(e))),o};function Cl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!ws(n)||El(n,{emoji:!0,nonBmp:!0}))return!1;var a=eo.get("canvasContext",function(){return s.createElement("canvas").getContext("2d",{willReadFrequently:!0})}),o=a.canvas,u=eo.get("fonts",function(){return{}}),l=i.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");u[l]||(u[l]={occurrences:0,numLigatures:0});var c=u[l];if(c.occurrences>=r){if(c.numLigatures/c.occurrences===1)return!0;if(0===c.numLigatures)return!1}c.occurrences++;var d=30,p="".concat(d,"px ").concat(l);a.font=p;var h=n.charAt(0),f=a.measureText(h).width;if(0===f)return c.numLigatures++,!0;if(f<30){var m=30/f;f*=m,p="".concat(d*=m,"px ").concat(l)}o.width=f,o.height=d,a.font=p,a.textAlign="left",a.textBaseline="top",a.fillText(h,0,0);var D=new Uint32Array(a.getImageData(0,0,f,d).data.buffer);if(!D.some(function(e){return e}))return c.numLigatures++,!0;a.clearRect(0,0,f,d),a.fillText(n,0,0);var g=new Uint32Array(a.getImageData(0,0,f,d).data.buffer),v=D.reduce(function(e,t,r){return 0===t&&0===g[r]||0!==t&&0!==g[r]?e:++e},0),b=n.split("").reduce(function(e,t){return e+a.measureText(t).width},0),y=a.measureText(n).width;return v/D.length>=t&&1-y/b>=t&&(c.numLigatures++,!0)}function xl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){return t.startNode||(t=H({startNode:e},t)),1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=H({includeHidden:!Qs(e)},t)),t}(e,t),function(e,t){return!!e&&(1===e.props.nodeType&&!t.includeHidden&&!Qs(e))}(e,t))return"";if(function(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,o=null!==(r=t.occurrenceThreshold)&&void 0!==r?r:t.occuranceThreshold;return!(3!==e.props.nodeType||!n)&&Cl(e,a,o)}(e,t))return"";var r=[os,is,Fl,hl,ml,Al,Ys].reduce(function(r,n){return t.startNode===e&&(r=ws(r)),""!==r?r:n(e,t)},"");return t.debug&&c.log(r||"{empty-value}",e.actualNode,t),r}function Al(e){return 3!==e.props.nodeType?"":e.props.nodeValue}xl.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var Tl=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\u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(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"")),n&&(e=e.replace(/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g,"").replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"").replace(/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g,"")),a&&(e=e.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),e},kl=function(e){return function(e){return 0===ws(e).length}(e)||function(e){return 1===e.length&&e.match(/\D/)}(e)||function(e){return["aa","abc"].includes(e.toLowerCase())}(e)||function(e){var t=Tl(e,{emoji:!0,nonBmp:!0,punctuations:!0});return!ws(t)}(e)?0:1},Nl={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]},Bl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.looseTyped,n=void 0!==r&&r,a=t.stateTerms,o=void 0===a?[]:a,i=t.locations,u=void 0===i?[]:i,s=t.qualifiers,l=void 0===s?[]:s,c=t.standaloneTerms,d=void 0===c?[]:c,p=t.qualifiedTerms,h=void 0===p?[]:p,f=t.ignoredValues,m=void 0===f?[]:f;if(e=e.toLowerCase().trim(),(o=o.concat(Nl.stateTerms)).includes(e)||""===e)return!0;l=l.concat(Nl.qualifiers),u=u.concat(Nl.locations),d=d.concat(Nl.standaloneTerms),h=h.concat(Nl.qualifiedTerms);var D=e.split(/\s+/g);if("webauthn"===D[D.length-1]&&(D.pop(),0===D.length))return!1;if(!n&&(D[0].length>8&&"section-"===D[0].substr(0,8)&&D.shift(),u.includes(D[0])&&D.shift(),l.includes(D[0])&&(D.shift(),d=[]),1!==D.length))return!1;var g=D[D.length-1];return m.includes(g)?void 0:d.includes(g)||h.includes(g)},Rl=function(e){var t;return e.attr("aria-labelledby")&&(t=ns(e.actualNode,"aria-labelledby").map(function(e){var t=to(e);return t?tl(t):""}).join(" ").trim())||(t=e.attr("aria-label"))&&(t=ws(t))?t:null},Sl=function(e,t,r){return e=to(e),tl(e,t,r)},Ol=function(e){var t,r;if(r=Rl(e))return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=Fa(e.attr("id"));if(r=(t=Ti(e.actualNode).querySelector('label[for="'+n+'"]'))&&Sl(t,!0))return r}return(r=(t=Eo(e,"label"))&&tl(t,!0))||null},_l=function(e){return e=to(e),Ol(e)},Pl=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],Il=function e(t){var r=nu(t),n=[];return t.children.forEach(function(t){3===t.actualNode.nodeType?r&&n.push(t):n=n.concat(e(t))}),n},Ml=Na(function(e){var t=to(e),r=t.boundingClientRect,n=[],a=Oi(t);return e.childNodes.forEach(function(e){if(3===e.nodeType&&""!==ws(e.nodeValue)){var t=function(e){var t=s.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}(e);(function(e,t){return e.some(function(e){return!iu(lu(e),t)})})(t,r)||n.push.apply(n,$(Ll(t,a)))}}),n.length?n:Ll([r],a)});function Ll(e,t){var r=[];return e.forEach(function(e){if(!(e.width<1||e.height<1)){var n=t.reduce(function(e,t){return e&&su(e,t.boundingClientRect)},e);n&&r.push(n)}}),r}var Vl=function(e){Cu();var t=to(e)._grid;return t?Ml(e).map(function(e){return Ku(t,e)}):[]},jl=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"],ql=function(e){var t=Kf(e).vNode,r=c.commons.aria.getExplicitRole(t);if(r)return-1!==jl.indexOf(r);switch(t.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return"hidden"!==t.props.type;default:return!1}},zl=["head","title","template","script","style","iframe","object","video","audio","noscript"];function $l(e){return!zl.includes(e.props.nodeName)&&e.children.some(function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()})}var Ul=function e(t,r,n){return $l(t)||ql(t.actualNode)||!n&&!!Rl(t)||!r&&t.children.some(function(t){return 1===t.actualNode.nodeType&&e(t)})},Hl=function(e,t,r){return e=to(e),Ul(e,t,r)};function Wl(e){return!(void 0!==e.children&&!$l(e))||(1===e.props.nodeType&&ql(e)?!!c.commons.text.accessibleTextVirtual(e):e.children.some(function(e){return!e.attr("lang")&&Wl(e)&&!Ki(e)}))}var Gl=function(e){return Jf(e.getAttribute("tabindex"))>-1&&Ju(e)&&!Xu(e)};function Kl(e,t){var r=Kf(e),n=r.vNode,a=r.domNode;return n?(void 0===n._isHiddenWithCSS&&(n._isHiddenWithCSS=Yl(a,t)),n._isHiddenWithCSS):Yl(a,t)}function Yl(e,t){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var r=i.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");if("none"===r.getPropertyValue("display"))return!0;var n=["hidden","collapse"],a=r.getPropertyValue("visibility");if(n.includes(a)&&!t)return!0;if(n.includes(a)&&t&&n.includes(t))return!0;var o=Xi(e);return!(!o||n.includes(a))&&Kl(o,a)}var Zl=Kl,Xl=function(e){var t=e.doctype;return null!==t&&"html"===t.name&&!t.publicId&&!t.systemId},Jl=function(e){var t;(e instanceof oa||null!==(t=i)&&void 0!==t&&t.Node&&e instanceof i.Node)&&(e=c.commons.aria.getRole(e));var r=ds.ariaRoles[e];return(null==r?void 0:r.type)||null};function Ql(e,t){!1!==t(e.actualNode)&&e.children.forEach(function(e){return Ql(e,t)})}var ec=["block","list-item","table","flex","grid","inline-block"];function tc(e){var t=i.getComputedStyle(e).getPropertyValue("display");return ec.includes(t)||"table-"===t.substr(0,6)}var rc=function(e,t){if(tc(e))return!1;var r=function(e){for(var t=Xi(e);t&&!tc(t);)t=Xi(t);return to(t)}(e),n="",a="",o=0;return Ql(r,function(t){if(2===o)return!1;if(3===t.nodeType&&(n+=t.nodeValue),1===t.nodeType){var r=(t.nodeName||"").toUpperCase();if(t===e&&(o=1),["BR","HR"].includes(r))0===o?(n="",a=""):o=2;else{if("none"===t.style.display||"hidden"===t.style.overflow||!["",null,"none"].includes(t.style.float)||!["",null,"relative"].includes(t.style.position))return!1;if("widget"===Jl(t))return a+=t.textContent,!1}}}),n=ws(n),null!=t&&t.noLengthCompare?0!==n.length:(a=ws(a),n.length>a.length)},nc=function(e){var t=(e=e||{}).modalPercent||.75;if(eo.get("isModalOpen"))return eo.get("isModalOpen");if(nm(c._tree[0],"dialog, [role=dialog], [aria-modal=true]",nu).length)return eo.set("isModalOpen",!0),!0;for(var r,n=eu(i),a=n.width*t,o=n.height*t,u=(n.width-a)/2,l=(n.height-o)/2,d=[{x:u,y:l},{x:n.width-u,y:l},{x:n.width/2,y:n.height/2},{x:u,y:n.height-l},{x:n.width-u,y:n.height-l}].map(function(e){return Array.from(s.elementsFromPoint(e.x,e.y))}),p=function(){var e=d[h].find(function(e){var t=i.getComputedStyle(e);return parseInt(t.width,10)>=a&&parseInt(t.height,10)>=o&&"none"!==t.getPropertyValue("pointer-events")&&("absolute"===t.position||"fixed"===t.position)});if(e&&d.every(function(t){return t.includes(e)}))return eo.set("isModalOpen",!0),{v:!0}},h=0;h1&&void 0!==arguments[1]?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n,a=0,o=0,i=Q(r.getClientRects());try{for(i.s();!(n=i.n()).done;){var u=n.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else{if(0!==o)return!0;a=u.bottom,o++}}}catch(e){i.e(e)}finally{i.f()}return!1}var oc=function(e){return e instanceof i.Node},ic="color.incompleteData",uc={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var r=eo.get(ic,function(){return{}});return t&&(r[e]=t),r[e]},get:function(e){var t=eo.get(ic);return null==t?void 0:t[e]},clear:function(){eo.set(ic,{})}},sc=uc,lc=function(e,t){var r=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r))return sc.set("bgColor","imgNode"),!0;var n=(t=t||i.getComputedStyle(e)).getPropertyValue("background-image"),a="none"!==n;if(a){var o=/gradient/.test(n);sc.set("bgColor",o?"bgGradient":"bgImage")}return a},cc={};he(cc,{ArrayFrom:function(){return gh.default},Colorjs:function(){return dh},CssSelectorParser:function(){return Dc.CssSelectorParser},doT:function(){return gc.default},emojiRegexText:function(){return wl},memoize:function(){return vc.default}});var dc=fe(Zt()),pc=fe(Xt()),hc=(fe(Jt()),fe(Jr())),fc=fe(gn()),mc=fe(Qn());"hasOwn"in Object||(Object.hasOwn=hc.default),"values"in Object||(Object.values=fc.default),"Promise"in i||dc.default.polyfill(),"Uint32Array"in i||(i.Uint32Array=pc.Uint32Array),i.Uint32Array&&("some"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r>>0,a=arguments[1],o=0;o>>0,o=0;o=0?n=o:(n=r+o)<0&&(n=0);n>>0,n=arguments.length>=2?arguments[1]:void 0,a=0;athis.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r},[]):Array.prototype.slice.call(this)},writable:!0}),i.Node&&!("isConnected"in i.Node.prototype)&&Object.defineProperty(i.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Dc=fe(Yt()),gc=fe(ea()),vc=fe(Ht());function bc(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(e){return[e]}));var n=t[0].length,a=t[0].map(function(e,r){return t.map(function(e){return e[r]})}),o=e.map(function(e){return a.map(function(t){var r=0;if(!Array.isArray(e)){var n,a=Q(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;r+=e*o}}catch(e){a.e(e)}finally{a.f()}return r}for(var i=0;ir)return+e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function Ec(e){if(e){e=e.trim();var t=/^-?[\d.]+$/,r=e.match(/^([a-z]+)\((.+?)\)$/i);if(r){var n=[];return r[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(e,r){/%$/.test(r)?(r=new Number(r.slice(0,-1)/100)).type="":/deg$/.test(r)?((r=new Number(+r.slice(0,-3))).type="",r.unit="deg"):t.test(r)&&((r=new Number(r)).type=""),e.startsWith("/")&&((r=r instanceof Number?r:new Number(r)).alpha=!0),n.push(r)}),{name:r[1].toLowerCase(),rawName:r[1],rawArgs:r[2],args:n}}}}function Cc(e){return e[e.length-1]}function xc(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Ac(e,t,r){return(r-e)/(t-e)}function Tc(e,t,r){return xc(t[0],t[1],Ac(e[0],e[1],r))}function kc(e){return e.map(function(e){return e.split("|").map(function(e){var t=(e=e.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var r=new String(t[1]);return r.range=[+t[2],+t[3]],r}return e})})}var Nc=Object.freeze({__proto__:null,isString:yc,type:Fc,toPrecision:wc,parseFunction:Ec,last:Cc,interpolate:xc,interpolateInv:Ac,mapRange:Tc,parseCoordGrammar:kc,multiplyMatrices:bc}),Bc=X(function e(){Y(this,e)},[{key:"add",value:function(e,t,r){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach(function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)},this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach(function(e){e.call(t&&t.context?t.context:t,t)})}}]),Rc=new Bc,Sc={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Oc={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function _c(e){return Array.isArray(e)?e:Oc[e]}function Pc(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=_c(e),t=_c(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(e||t?"":"/").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(Rc.run("chromatic-adaptation-start",a),a.M||(a.W1===Oc.D65&&a.W2===Oc.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===Oc.D50&&a.W2===Oc.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),Rc.run("chromatic-adaptation-end",a),a.M)return bc(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Ic=(e=new WeakSet,t=new WeakMap,X(function r(n){var a,o,i,u,s,l,c;Y(this,r),M(this,e),I(this,t,void 0),this.id=n.id,this.name=n.name,this.base=n.base?Ic.get(n.base):null,this.aliases=n.aliases,this.base&&(this.fromBase=n.fromBase,this.toBase=n.toBase);var d=null!==(a=n.coords)&&void 0!==a?a:this.base.coords;this.coords=d;var p=null!==(o=null!==(i=n.white)&&void 0!==i?i:this.base.white)&&void 0!==o?o:"D65";for(var h in this.white=_c(p),this.formats=null!==(u=n.formats)&&void 0!==u?u:{},this.formats){var f=this.formats[h];f.type||(f.type="function"),f.name||(f.name=h)}!n.cssId||null!==(s=this.formats.functions)&&void 0!==s&&s.color?null===(l=this.formats)||void 0===l||!l.color||null!==(c=this.formats)&&void 0!==c&&c.color.id||(this.formats.color.id=this.id):(this.formats.color={id:n.cssId},Object.defineProperty(this,"cssId",{value:n.cssId})),this.referred=n.referred,j(t,this,q(e,this,Lc).call(this).reverse()),Rc.run("colorspace-init-end",this)},[{key:"inGamut",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,r=void 0===t?75e-6:t;if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:r});var n=Object.values(this.coords);return e.every(function(e,t){var a=n[t];if("angle"!==a.type&&a.range){if(Number.isNaN(e))return!0;var o=W(a.range,2),i=o[0],u=o[1];return(void 0===i||e>=i-r)&&(void 0===u||e<=u+r)}return!0})}},{key:"cssId",get:function(){var e;return(null===(e=this.formats.functions)||void 0===e||null===(e=e.color)||void 0===e?void 0:e.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(t){return"object"===l(t)?t=q(e,this,Mc).call(this,t):(r="default"===t?Object.values(this.formats)[0]:this.formats[t])?r=q(e,this,Mc).call(this,r):null;var r}},{key:"to",value:function(e,r){if(1===arguments.length){var n=[e.space,e.coords];e=n[0],r=n[1]}if(this===(e=Ic.get(e)))return r;r=r.map(function(e){return Number.isNaN(e)?0:e});for(var a,o,i=V(t,this),u=V(t,e),s=0;so;l--)r=i[l].toBase(r);for(var c=o+1;c1?r-1:0),a=1;a=0){var u=Object.entries(r.coords)[n];if(u)return H({space:r,id:u[0],index:n},u[1])}r=Ic.get(r);var s=n.toLowerCase(),l=0;for(var c in r.coords){var d,p=r.coords[c];if(c.toLowerCase()===s||(null===(d=p.name)||void 0===d?void 0:d.toLowerCase())===s)return H({space:r,id:c,index:l},p);l++}throw new TypeError('No "'.concat(n,'" coordinate found in ').concat(r.name,". Its coordinates are: ").concat(Object.keys(r.coords).join(", ")))}}]));function Mc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=kc(e.coords);var t=Object.entries(this.coords).map(function(t,r){var n=W(t,2),a=(n[0],n[1]),o=e.coordGrammar[r][0],i=a.range||a.refRange,u=o.range,s="";return""==o?(u=[0,100],s="%"):""==o&&(s="deg"),{fromRange:i,toRange:u,suffix:s}});e.serializeCoords=function(e,r){return e.map(function(e,n){var a=t[n],o=a.fromRange,i=a.toRange,u=a.suffix;return o&&i&&(e=Tc(o,i,e)),e=wc(e,r),u&&(e+=u),e})}}return e}function Lc(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Vc=Ic;me(Vc,"registry",{}),me(Vc,"DEFAULT_FORMAT",{type:"functions",name:"color"});var jc=new Vc({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),qc=function(e){function t(e){var r,n,a,o;return Y(this,t),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=jc),e.toXYZ_M&&e.fromXYZ_M&&(null!==(a=e.toBase)&&void 0!==a||(e.toBase=function(t){var r=bc(e.toXYZ_M,t);return n.white!==n.base.white&&(r=Pc(n.white,n.base.white,r)),r}),null!==(o=e.fromBase)&&void 0!==o||(e.fromBase=function(t){return t=Pc(n.base.white,n.white,t),bc(e.fromXYZ_M,t)})),null!==(r=e.referred)&&void 0!==r||(e.referred="display"),n=R(this,t,[e])}return _(t,e),X(t)}(Vc);function zc(e){var t,r={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(Rc.run("parse-start",r),r.color)return r.color;if(r.parsed=Ec(r.str),r.parsed){var n=r.parsed.name;if("color"===n){var a,o=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,u=Q(Vc.all);try{var s,l=function(){var e,t=a.value,n=t.getFormat("color");if(n&&(o===n.id||null!==(e=n.ids)&&void 0!==e&&e.includes(o))){var u=Object.keys(t.coords).length,s=Array(u).fill(0);return s.forEach(function(e,t){return s[t]=r.parsed.args[t]||0}),{v:{spaceId:t.id,coords:s,alpha:i}}}};for(u.s();!(a=u.n()).done;)if(s=l())return s.v}catch(e){u.e(e)}finally{u.f()}var c="";if(o in Vc.registry){var d,p=null===(d=Vc.registry[o].formats)||void 0===d||null===(d=d.functions)||void 0===d||null===(d=d.color)||void 0===d?void 0:d.id;p&&(c="Did you mean color(".concat(p,")?"))}throw new TypeError("Cannot parse color(".concat(o,"). ")+(c||"Missing a plugin?"))}var h,f=Q(Vc.all);try{var m,D=function(){var e=h.value,t=e.getFormat(n);if(t&&"function"===t.type){var a=1;(t.lastAlpha||Cc(r.parsed.args).alpha)&&(a=r.parsed.args.pop());var o=r.parsed.args;return t.coordGrammar&&Object.entries(e.coords).forEach(function(e,r){var a,i=W(e,2),u=i[0],s=i[1],l=t.coordGrammar[r],c=null===(a=o[r])||void 0===a?void 0:a.type;if(!(l=l.find(function(e){return e==c}))){var d=s.name||u;throw new TypeError("".concat(c," not allowed for ").concat(d," in ").concat(n,"()"))}var p=l.range;""===c&&(p||(p=[0,1]));var h=s.range||s.refRange;p&&h&&(o[r]=Tc(p,h,o[r]))}),{v:{spaceId:e.id,coords:o,alpha:a}}}};for(f.s();!(h=f.n()).done;)if(m=D())return m.v}catch(e){f.e(e)}finally{f.f()}}else{var g,v=Q(Vc.all);try{for(v.s();!(g=v.n()).done;){var b=g.value;for(var y in b.formats){var F=b.formats[y];if("custom"===F.type&&(!F.test||F.test(r.str))){var w,E=F.parse(r.str);if(E)return null!==(w=E.alpha)&&void 0!==w||(E.alpha=1),E}}}}catch(e){v.e(e)}finally{v.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function $c(e){if(!e)throw new TypeError("Empty color reference");yc(e)&&(e=zc(e));var t=e.space||e.spaceId;return t instanceof Vc||(e.space=Vc.get(t)),void 0===e.alpha&&(e.alpha=1),e}function Uc(e,t){return(t=Vc.get(t)).from(e)}function Hc(e,t){var r=Vc.resolveCoord(t,e.space),n=r.space,a=r.index;return Uc(e,n)[a]}function Wc(e,t,r){return t=Vc.get(t),e.coords=t.to(e.space,r),e}function Gc(e,t,r){if(e=$c(e),2===arguments.length&&"object"===Fc(arguments[1])){var n=arguments[1];for(var a in n)Gc(e,a,n[a])}else{"function"==typeof r&&(r=r(Hc(e,t)));var o=Vc.resolveCoord(t,e.space),i=o.space,u=o.index,s=Uc(e,i);s[u]=r,Wc(e,i,s)}return e}var Kc=new Vc({id:"xyz-d50",name:"XYZ D50",white:"D50",base:jc,fromBase:function(e){return Pc(jc.white,"D50",e)},toBase:function(e){return Pc("D50",jc.white,e)},formats:{color:{}}}),Yc=216/24389,Zc=24/116,Xc=24389/27,Jc=Oc.D50,Qc=new Vc({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Jc,base:Kc,fromBase:function(e){var t=e.map(function(e,t){return e/Jc[t]}),r=t.map(function(e){return e>Yc?Math.cbrt(e):(Xc*e+16)/116});return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>Zc?Math.pow(t[0],3):(116*t[0]-16)/Xc,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/Xc,t[2]>Zc?Math.pow(t[2],3):(116*t[2]-16)/Xc].map(function(e,t){return e*Jc[t]})},formats:{lab:{coords:[" | ","",""]}}});function ed(e){return(e%360+360)%360}var td=new Vc({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Qc,fromBase:function(e){var t,r=W(e,3),n=r[0],a=r[1],o=r[2];return t=Math.abs(a)<.02&&Math.abs(o)<.02?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),ed(t)]},toBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2];return n<0&&(n=0),isNaN(a)&&(a=0),[r,n*Math.cos(a*Math.PI/180),n*Math.sin(a*Math.PI/180)]},formats:{lch:{coords:[" | ",""," | "]}}}),rd=Math.pow(25,7),nd=Math.PI,ad=180/nd,od=nd/180;function id(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.kL,a=void 0===n?1:n,o=r.kC,i=void 0===o?1:o,u=r.kH,s=void 0===u?1:u,l=W(Qc.from(e),3),c=l[0],d=l[1],p=l[2],h=td.from(Qc,[c,d,p])[1],f=W(Qc.from(t),3),m=f[0],D=f[1],g=f[2],v=td.from(Qc,[m,D,g])[1];h<0&&(h=0),v<0&&(v=0);var b=(h+v)/2,y=Math.pow(b,7),F=.5*(1-Math.sqrt(y/(y+rd))),w=(1+F)*d,E=(1+F)*D,C=Math.sqrt(Math.pow(w,2)+Math.pow(p,2)),x=Math.sqrt(Math.pow(E,2)+Math.pow(g,2)),A=0===w&&0===p?0:Math.atan2(p,w),T=0===E&&0===g?0:Math.atan2(g,E);A<0&&(A+=2*nd),T<0&&(T+=2*nd);var k,N=m-c,B=x-C,R=(T*=ad)-(A*=ad),S=A+T,O=Math.abs(R);C*x===0?k=0:O<=180?k=R:R>180?k=R-360:R<-180?k=R+360:console.log("the unthinkable has happened");var _,P=2*Math.sqrt(x*C)*Math.sin(k*od/2),I=(c+m)/2,M=(C+x)/2,L=Math.pow(M,7);_=C*x===0?S:O<=180?S/2:S<360?(S+360)/2:(S-360)/2;var V=Math.pow(I-50,2),j=1+.015*V/Math.sqrt(20+V),q=1+.045*M,z=1;z-=.17*Math.cos((_-30)*od),z+=.24*Math.cos(2*_*od),z+=.32*Math.cos((3*_+6)*od);var $=1+.015*M*(z-=.2*Math.cos((4*_-63)*od)),U=30*Math.exp(-1*Math.pow((_-275)/25,2)),H=2*Math.sqrt(L/(L+rd)),G=-1*Math.sin(2*U*od)*H,K=Math.pow(N/(a*j),2);return K+=Math.pow(B/(i*q),2),K+=Math.pow(P/(s*$),2),K+=G*(B/(i*q))*(P/(s*$)),Math.sqrt(K)}function ud(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.space,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,n=void 0===r?75e-6:r;e=$c(e),t=Vc.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:n})}function sd(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function ld(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.method,n=void 0===r?Sc.gamut_mapping:r,a=t.space,o=void 0===a?e.space:a;if(yc(arguments[1])&&(o=arguments[1]),ud(e,o=Vc.get(o),{epsilon:0}))return e;var i=cd(e,o);if("clip"!==n&&!ud(e,o)){var u=ld(sd(i),{method:"clip",space:o});if(id(e,u)>2){for(var s=Vc.resolveCoord(n),l=s.space,c=s.id,d=cd(i,l),p=(s.range||s.refRange)[0],h=Hc(d,c);h-p>.01;){var f=sd(d);id(d,f=ld(f,{space:o,method:"clip"}))-2<.01?p=Hc(d,c):h=Hc(d,c),Gc(d,c,(p+h)/2)}i=cd(d,o)}else i=u}if("clip"===n||!ud(i,o,{epsilon:0})){var m=Object.values(o.coords).map(function(e){return e.range||[]});i.coords=i.coords.map(function(e,t){var r=W(m[t],2),n=r[0],a=r[1];return void 0!==n&&(e=Math.max(n,e)),void 0!==a&&(e=Math.min(e,a)),e})}return o!==e.space&&(i=cd(i,e.space)),e.coords=i.coords,e}function cd(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=$c(e);var n=(t=Vc.get(t)).from(e),a={space:t,coords:n,alpha:e.alpha};return r&&(a=ld(a)),a}function dd(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.precision,i=void 0===o?Sc.precision:o,u=a.format,s=void 0===u?"default":u,l=a.inGamut,c=void 0===l||l,d=z(a,y),p=s;s=null!==(t=null!==(r=(e=$c(e)).space.getFormat(s))&&void 0!==r?r:e.space.getFormat("default"))&&void 0!==t?t:Vc.DEFAULT_FORMAT,c||(c=s.toGamut);var h=e.coords;if(h=h.map(function(e){return e||0}),c&&!ud(e)&&(h=ld(sd(e),!0===c?void 0:c).coords),"custom"===s.type){if(d.precision=i,!s.serialize)throw new TypeError("format ".concat(p," can only be used to parse colors, not for serialization"));n=s.serialize(h,e.alpha,d)}else{var f=s.name||"color";s.serializeCoords?h=s.serializeCoords(h,i):null!==i&&(h=h.map(function(e){return wc(e,i)}));var m=$(h);if("color"===f){var D,g=s.id||(null===(D=s.ids)||void 0===D?void 0:D[0])||e.space.id;m.unshift(g)}var v=e.alpha;null!==i&&(v=wc(v,i));var b=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(v):"";n="".concat(f,"(").concat(m.join(s.commas?", ":" ")).concat(b,")")}return n}ld.returns="color",cd.returns="color";var pd=new qc({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],fromXYZ_M:[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],formats:{color:{}}}),hd=1.09929682680944,fd=.018053968510807,md=new qc({id:"rec2020",name:"REC.2020",base:pd,toBase:function(e){return e.map(function(e){return e<4.5*fd?e/4.5:Math.pow((e+hd-1)/hd,1/.45)})},fromBase:function(e){return e.map(function(e){return e>=fd?hd*Math.pow(e,.45)-(hd-1):4.5*e})},formats:{color:{}}}),Dd=new qc({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],fromXYZ_M:[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]]}),gd=new qc({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),vd={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},bd=Array(3).fill(" | [0, 255]"),yd=Array(3).fill("[0, 255]"),Fd=new qc({id:"srgb",name:"sRGB",base:gd,fromBase:function(e){return e.map(function(e){var t=e<0?-1:1,r=e*t;return r>.0031308?t*(1.055*Math.pow(r,1/2.4)-.055):12.92*e})},toBase:function(e){return e.map(function(e){var t=e<0?-1:1,r=e*t;return r<.04045?e/12.92:t*Math.pow((r+.055)/1.055,2.4)})},formats:{rgb:{coords:bd},rgb_number:{name:"rgb",commas:!0,coords:yd,noAlpha:!0},color:{},rgba:{coords:bd,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:yd},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,function(e){t.push(parseInt(e,16)/255)}),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,n=void 0===r||r;t<1&&e.push(t),e=e.map(function(e){return Math.round(255*e)});var a=n&&e.every(function(e){return e%17==0});return"#"+e.map(function(e){return a?(e/17).toString(16):e.toString(16).padStart(2,"0")}).join("")}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=vd.black,t.alpha=0):t.coords=vd[e],t.coords)return t}}}}),wd=new qc({id:"p3",name:"P3",base:Dd,fromBase:Fd.fromBase,toBase:Fd.toBase,formats:{color:{id:"display-p3"}}});if(Sc.display_space=Fd,"undefined"!=typeof CSS&&null!==(o=CSS)&&void 0!==o&&o.supports)for(var Ed=0,Cd=[Qc,md,wd];Ed1&&void 0!==arguments[1]?arguments[1]:{},n=r.space,a=void 0===n?Sc.display_space:n,o=z(r,F),i=dd(e,o);if("undefined"==typeof CSS||null!==(t=CSS)&&void 0!==t&&t.supports("color",i)||!Sc.display_space)(i=new String(i)).color=e;else{var u=cd(e,a);(i=new String(dd(u,o))).color=u}return i}function Nd(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",n=(r=Vc.get(r)).from(e),a=r.from(t);return Math.sqrt(n.reduce(function(e,t,r){var n=a[r];return isNaN(t)||isNaN(n)?e:e+Math.pow(n-t,2)},0))}function Bd(e){return Hc(e,[jc,"y"])}function Rd(e,t){Gc(e,[jc,"y"],t)}var Sd=Object.freeze({__proto__:null,getLuminance:Bd,setLuminance:Rd,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Bd(this)},set:function(e){Rd(this,e)}})}});function Od(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function _d(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}var Pd=216/24389,Id=24/116,Md=24389/27,Ld=Oc.D65,Vd=new Vc({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Ld,base:jc,fromBase:function(e){var t=e.map(function(e,t){return e/Ld[t]}),r=t.map(function(e){return e>Pd?Math.cbrt(e):(Md*e+16)/116});return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>Id?Math.pow(t[0],3):(116*t[0]-16)/Md,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/Md,t[2]>Id?Math.pow(t[2],3):(116*t[2]-16)/Md].map(function(e,t){return e*Ld[t]})},formats:{"lab-d65":{coords:[" | ","",""]}}}),jd=.5*Math.pow(5,.5)+.5,qd=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=$c(e),t=$c(t);var r=Math.max(Bd(e),0),n=Math.max(Bd(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return(r+.05)/(n+.05)},contrastAPCA:function(e,t){var r,n,a,o;t=$c(t),e=$c(e);var i=W((t=cd(t,"srgb")).coords,3);n=i[0],a=i[1],o=i[2];var u=.2126729*_d(n)+.7151522*_d(a)+.072175*_d(o),s=W((e=cd(e,"srgb")).coords,3);n=s[0],a=s[1],o=s[2];var l=.2126729*_d(n)+.7151522*_d(a)+.072175*_d(o),c=Od(u),d=Od(l),p=d>c;return r=Math.abs(d-c)<5e-4?0:p?1.14*(Math.pow(d,.56)-Math.pow(c,.57)):1.14*(Math.pow(d,.65)-Math.pow(c,.62)),100*(Math.abs(r)<.1?0:r>0?r-.027:r+.027)},contrastMichelson:function(e,t){e=$c(e),t=$c(t);var r=Math.max(Bd(e),0),n=Math.max(Bd(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}var o=r+n;return 0===o?0:(r-n)/o},contrastWeber:function(e,t){e=$c(e),t=$c(t);var r=Math.max(Bd(e),0),n=Math.max(Bd(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return 0===n?5e4:(r-n)/n},contrastLstar:function(e,t){e=$c(e),t=$c(t);var r=Hc(e,[Qc,"l"]),n=Hc(t,[Qc,"l"]);return Math.abs(r-n)},contrastDeltaPhi:function(e,t){e=$c(e),t=$c(t);var r=Hc(e,[Vd,"l"]),n=Hc(t,[Vd,"l"]),a=Math.abs(Math.pow(r,jd)-Math.pow(n,jd)),o=Math.pow(a,1/jd)*Math.SQRT2-40;return o<7.5?0:o}});function zd(e){var t=W(Uc(e,jc),3),r=t[0],n=t[1],a=r+15*n+3*t[2];return[4*r/a,9*n/a]}function $d(e){var t=W(Uc(e,jc),3),r=t[0],n=t[1],a=r+n+t[2];return[r/a,n/a]}var Ud=Object.freeze({__proto__:null,uv:zd,xy:$d,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return zd(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return $d(this)}})}}),Hd=Math.PI/180,Wd=new Vc({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:jc,fromBase:function(e){return e.map(function(e){return Math.max(203*e,0)})},toBase:function(e){return e.map(function(e){return Math.max(e/203,0)})}}),Gd=1.15,Kd=.66,Yd=2610/Math.pow(2,14),Zd=Math.pow(2,14)/2610,Xd=3424/Math.pow(2,12),Jd=2413/Math.pow(2,7),Qd=2392/Math.pow(2,7),ep=1.7*2523/Math.pow(2,5),tp=Math.pow(2,5)/(1.7*2523),rp=-.56,np=16295499532821565e-27,ap=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],op=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],ip=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],up=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],sp=new Vc({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:Wd,fromBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2],o=bc(ap,[Gd*r-(Gd-1)*a,Kd*n-(Kd-1)*r,a]).map(function(e){var t=Xd+Jd*Math.pow(e/1e4,Yd),r=1+Qd*Math.pow(e/1e4,Yd);return Math.pow(t/r,ep)}),i=W(bc(ip,o),3),u=i[0],s=i[1],l=i[2];return[(1+rp)*u/(1+rp*u)-np,s,l]},toBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2],o=bc(up,[(r+np)/(1+rp-rp*(r+np)),n,a]).map(function(e){var t=Xd-Math.pow(e,tp),r=Qd*Math.pow(e,tp)-Jd;return 1e4*Math.pow(t/r,Zd)}),i=W(bc(op,o),3),u=i[0],s=i[1],l=i[2],c=(u+(Gd-1)*l)/Gd;return[c,(s+(Kd-1)*c)/Kd,l]},formats:{color:{}}}),lp=new Vc({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:sp,fromBase:function(e){var t,r=W(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a) | ","",""]}}}),Ap=Object.freeze({__proto__:null,deltaE76:function(e,t){return Nd(e,t,"lab")},deltaECMC:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.l,a=void 0===n?2:n,o=r.c,i=void 0===o?1:o,u=W(Qc.from(e),3),s=u[0],l=u[1],c=u[2],d=W(td.from(Qc,[s,l,c]),3),p=d[1],h=d[2],f=W(Qc.from(t),3),m=f[0],D=f[1],g=f[2],v=td.from(Qc,[m,D,g])[1];p<0&&(p=0),v<0&&(v=0);var b=s-m,y=p-v,F=l-D,w=c-g,E=Math.pow(F,2)+Math.pow(w,2)-Math.pow(y,2),C=.511;s>=16&&(C=.040975*s/(1+.01765*s));var x,A=.0638*p/(1+.0131*p)+.638;Number.isNaN(h)&&(h=0),x=h>=164&&h<=345?.56+Math.abs(.2*Math.cos((h+168)*Hd)):.36+Math.abs(.4*Math.cos((h+35)*Hd));var T=Math.pow(p,4),k=Math.sqrt(T/(T+1900)),N=A*(k*x+1-k),B=Math.pow(b/(a*C),2);return B+=Math.pow(y/(i*A),2),B+=E/Math.pow(N,2),Math.sqrt(B)},deltaE2000:id,deltaEJz:function(e,t){var r=W(lp.from(e),3),n=r[0],a=r[1],o=r[2],i=W(lp.from(t),3),u=i[0],s=i[1],l=i[2],c=n-u,d=a-s;Number.isNaN(o)&&Number.isNaN(l)?(o=0,l=0):Number.isNaN(o)?o=l:Number.isNaN(l)&&(l=o);var p=o-l,h=2*Math.sqrt(a*s)*Math.sin(p/2*(Math.PI/180));return Math.sqrt(Math.pow(c,2)+Math.pow(d,2)+Math.pow(h,2))},deltaEITP:function(e,t){var r=W(yp.from(e),3),n=r[0],a=r[1],o=r[2],i=W(yp.from(t),3),u=i[0],s=i[1],l=i[2];return 720*Math.sqrt(Math.pow(n-u,2)+.25*Math.pow(a-s,2)+Math.pow(o-l,2))},deltaEOK:function(e,t){var r=W(xp.from(e),3),n=r[0],a=r[1],o=r[2],i=W(xp.from(t),3),u=n-i[0],s=a-i[1],l=o-i[2];return Math.sqrt(Math.pow(u,2)+Math.pow(s,2)+Math.pow(l,2))}});function Tp(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};yc(r)&&(r={method:r});var n=r,a=n.method,o=void 0===a?Sc.deltaE:a,i=z(n,E);for(var u in e=$c(e),t=$c(t),Ap)if("deltae"+o.toLowerCase()===u.toLowerCase())return Ap[u](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(o))}var kp=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return Gc(e,[Vc.get("oklch","lch"),"l"],function(e){return e*(1+t)})},darken:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return Gc(e,[Vc.get("oklch","lch"),"l"],function(e){return e*(1-t)})}});function Np(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[$c(e),$c(t)];if(e=a[0],t=a[1],"object"===Fc(r)){var o=[.5,r];r=o[0],n=o[1]}var i=n;return Rp(e,t,{space:i.space,outputSpace:i.outputSpace,premultiplied:i.premultiplied})(r)}function Bp(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Sp(e)){n=t;var a=W((r=e).rangeArgs.colors,2);e=a[0],t=a[1]}var o=n,i=o.maxDeltaE,u=o.deltaEMethod,s=o.steps,l=void 0===s?2:s,c=o.maxSteps,d=void 0===c?1e3:c,p=z(o,C);if(!r){var h=[$c(e),$c(t)];r=Rp(e=h[0],t=h[1],p)}var f=Tp(e,t),m=i>0?Math.max(l,Math.ceil(f/i)+1):l,D=[];if(void 0!==d&&(m=Math.min(m,d)),1===m)D=[{p:.5,color:r(.5)}];else{var g=1/(m-1);D=Array.from({length:m},function(e,t){var n=t*g;return{p:n,color:r(n)}})}if(i>0)for(var v=D.reduce(function(e,t,r){if(0===r)return 0;var n=Tp(t.color,D[r-1].color,u);return Math.max(e,n)},0);v>i;){v=0;for(var b=1;b2&&void 0!==arguments[2]?arguments[2]:{};if(Sp(e)){var n=e,a=t;return Rp.apply(void 0,$(n.rangeArgs.colors).concat([H({},n.rangeArgs.options,a)]))}var o=r.space,i=r.outputSpace,u=r.progression,s=r.premultiplied;e=$c(e),t=$c(t),e=sd(e),t=sd(t);var l={colors:[e,t],options:r};if(o=o?Vc.get(o):Vc.registry[Sc.interpolationSpace]||e.space,i=i?Vc.get(i):o,e=cd(e,o),t=cd(t,o),e=ld(e),t=ld(t),o.coords.h&&"angle"===o.coords.h.type){var c=r.hue=r.hue||"shorter",d=[o,"h"],p=[Hc(e,d),Hc(t,d)],h=p[0],f=p[1],m=function(e,t){if("raw"===e)return t;var r=W(t.map(ed),2),n=r[0],a=r[1],o=a-n;return"increasing"===e?o<0&&(a+=360):"decreasing"===e?o>0&&(n+=360):"longer"===e?-1800?a+=360:n+=360):"shorter"===e&&(o>180?n+=360:o<-180&&(a+=360)),[n,a]}(c,[h,f]),D=W(m,2);h=D[0],f=D[1],Gc(e,d,h),Gc(t,d,f)}return s&&(e.coords=e.coords.map(function(t){return t*e.alpha}),t.coords=t.coords.map(function(e){return e*t.alpha})),Object.assign(function(r){r=u?u(r):r;var n=e.coords.map(function(e,n){return xc(e,t.coords[n],r)}),a=xc(e.alpha,t.alpha,r),l={space:o,coords:n,alpha:a};return s&&(l.coords=l.coords.map(function(e){return e/a})),i!==o&&(l=cd(l,i)),l},{rangeArgs:l})}function Sp(e){return"function"===Fc(e)&&!!e.rangeArgs}Sc.interpolationSpace="lab";var Op=Object.freeze({__proto__:null,mix:Np,steps:Bp,range:Rp,isRange:Sp,register:function(e){e.defineFunction("mix",Np,{returns:"color"}),e.defineFunction("range",Rp,{returns:"function"}),e.defineFunction("steps",Bp,{returns:"array"})}}),_p=new Vc({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:Fd,fromBase:function(e){var t=Math.max.apply(Math,$(e)),r=Math.min.apply(Math,$(e)),n=W(e,3),a=n[0],o=n[1],i=n[2],u=NaN,s=0,l=(r+t)/2,c=t-r;if(0!==c){switch(s=0===l||1===l?0:(t-l)/Math.min(l,1-l),t){case a:u=(o-i)/c+(o | ","",""]},hsla:{coords:[" | ","",""],commas:!0,lastAlpha:!0}}}),Pp=new Vc({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:_p,fromBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)+(n/=100)*Math.min(a,1-a);return[r,0===o?0:200*(1-a/o),100*o]},toBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)*(1-(n/=100)/2);return[r,0===o||1===o?0:(a-o)/Math.min(o,1-o)*100,100*o]},formats:{color:{toGamut:!0}}}),Ip=new Vc({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:Pp,fromBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2];return[r,a*(100-n)/100,100-a]},toBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2],o=(n/=100)+(a/=100);if(o>=1)return[r,0,n/o*100];var i=1-a;return[r,100*(0===i?0:1-n/i),100*i]},formats:{hwb:{toGamut:!0,coords:[" | ","",""]}}}),Mp=new qc({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],fromXYZ_M:[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]]}),Lp=new qc({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:Mp,toBase:function(e){return e.map(function(e){return Math.pow(Math.abs(e),563/256)*Math.sign(e)})},fromBase:function(e){return e.map(function(e){return Math.pow(Math.abs(e),256/563)*Math.sign(e)})},formats:{color:{id:"a98-rgb"}}}),Vp=new qc({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Kc,toXYZ_M:[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],fromXYZ_M:[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]]}),jp=1/512,qp=new qc({id:"prophoto",name:"ProPhoto",base:Vp,toBase:function(e){return e.map(function(e){return e<.03125?e/16:Math.pow(e,1.8)})},fromBase:function(e){return e.map(function(e){return e>=jp?Math.pow(e,1/1.8):16*e})},formats:{color:{id:"prophoto-rgb"}}}),zp=new Vc({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:xp,fromBase:function(e){var t,r=W(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a) | ",""," | "]}}}),$p=2610/Math.pow(2,14),Up=Math.pow(2,14)/2610,Hp=2523/Math.pow(2,5),Wp=Math.pow(2,5)/2523,Gp=3424/Math.pow(2,12),Kp=2413/Math.pow(2,7),Yp=2392/Math.pow(2,7),Zp=new qc({id:"rec2100pq",name:"REC.2100-PQ",base:pd,toBase:function(e){return e.map(function(e){return 1e4*Math.pow(Math.max(Math.pow(e,Wp)-Gp,0)/(Kp-Yp*Math.pow(e,Wp)),Up)/203})},fromBase:function(e){return e.map(function(e){var t=Math.max(203*e/1e4,0),r=Gp+Kp*Math.pow(t,$p),n=1+Yp*Math.pow(t,$p);return Math.pow(r/n,Hp)})},formats:{color:{id:"rec2100-pq"}}}),Xp=.17883277,Jp=.28466892,Qp=.55991073,eh=3.7743,th=new qc({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:pd,toBase:function(e){return e.map(function(e){return e<=.5?Math.pow(e,2)/3*eh:Math.exp((e-Qp)/Xp+Jp)/12*eh})},fromBase:function(e){return e.map(function(e){return(e/=eh)<=1/12?Math.sqrt(3*e):Xp*Math.log(12*e-Jp)+Qp})},formats:{color:{id:"rec2100-hlg"}}}),rh={};function nh(e){var t=e.id;e.toCone_M,e.fromCone_M,rh[t]=arguments[0]}function ah(e,t){var r=rh[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],n=W(bc(r.toCone_M,e),3),a=n[0],o=n[1],i=n[2],u=W(bc(r.toCone_M,t),3),s=bc([[u[0]/a,0,0],[0,u[1]/o,0],[0,0,u[2]/i]],r.toCone_M);return bc(r.fromCone_M,s)}Rc.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=ah(e.W1,e.W2,e.options.method))}),Rc.add("chromatic-adaptation-end",function(e){e.M||(e.M=ah(e.W1,e.W2,e.options.method))}),nh({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),nh({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),nh({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),nh({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(Oc,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),Oc.ACES=[.32168/.33767,1,.34065/.33767];var oh=new qc({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:Oc.ACES,toXYZ_M:[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],fromXYZ_M:[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],formats:{color:{}}}),ih=Math.pow(2,-16),uh=-.35828683,sh=(Math.log2(65504)+9.72)/17.52,lh=new qc({id:"acescc",name:"ACEScc",coords:{r:{range:[uh,sh],name:"Red"},g:{range:[uh,sh],name:"Green"},b:{range:[uh,sh],name:"Blue"}},referred:"scene",base:oh,toBase:function(e){return e.map(function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-ih):e1?t-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:t,n=r.instance,a=void 0===n||n,o=r.returns,i=function(){var e=t.apply(void 0,arguments);if("color"===o)e=dh.get(e);else if("function"===o){var r=e;e=function(){var e=r.apply(void 0,arguments);return dh.get(e)},Object.assign(e,r)}else"array"===o&&(e=e.map(function(e){return dh.get(e)}));return e};e in dh||(dh[e]=i),a&&(dh.prototype[e]=function(){for(var e=arguments.length,t=new Array(e),r=0;r=0)return e[a]}return Reflect.get(e,r,n)},set:function(n,a,o,i){if(a&&"symbol"!==l(a)&&!(a in n)||a>=0){var u=Vc.resolveCoord([t,a]).index;if(u>=0)return n[u]=o,r.setAll(e,n),!0}return Reflect.set(n,a,o,i)}})},set:function(t){this.setAll(e,t)},configurable:!0,enumerable:!0})}Rc.add("colorspace-init-end",function(e){var t;Dh(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach(function(t){Dh(t,e)})}),dh.extend(Ap),dh.extend({deltaE:Tp}),dh.extend(kp),dh.extend({contrast:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};yc(r)&&(r={algorithm:r});var n=r,a=n.algorithm,o=z(n,w);if(!a){var i=Object.keys(qd).map(function(e){return e.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(i))}for(var u in e=$c(e),t=$c(t),qd)if("contrast"+a.toLowerCase()===u.toLowerCase())return qd[u](e,t,o);throw new TypeError("Unknown contrast algorithm: ".concat(a))}}),dh.extend(Ud),dh.extend(Sd),dh.extend(Op),dh.extend(qd);var gh=fe(Qn());gc.default.templateSettings.strip=!1;var vh=/^#[0-9a-f]{3,8}$/i,bh=/hsl\(\s*([-\d.]+)(rad|turn)/,yh=(L=new WeakMap,Z=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,ae=new WeakMap,oe=new WeakSet,X(function e(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(Y(this,e),M(this,oe),I(this,L,void 0),I(this,Z,void 0),I(this,te,void 0),I(this,re,void 0),I(this,ne,void 0),I(this,ae,void 0),t instanceof yh){var o=t.r,i=t.g,u=t.b;return this.r=o,this.g=i,this.b=u,void(this.alpha=t.alpha)}this.red=t,this.green=r,this.blue=n,this.alpha=a},[{key:"r",get:function(){return V(L,this)},set:function(e){j(L,this,e),j(re,this,Math.round(255*Eh(e,0,1)))}},{key:"g",get:function(){return V(Z,this)},set:function(e){j(Z,this,e),j(ne,this,Math.round(255*Eh(e,0,1)))}},{key:"b",get:function(){return V(te,this)},set:function(e){j(te,this,e),j(ae,this,Math.round(255*Eh(e,0,1)))}},{key:"red",get:function(){return V(re,this)},set:function(e){j(L,this,e/255),j(re,this,Eh(e,0,255))}},{key:"green",get:function(){return V(ne,this)},set:function(e){j(Z,this,e/255),j(ne,this,Eh(e,0,255))}},{key:"blue",get:function(){return V(ae,this)},set:function(e){j(te,this,e/255),j(ae,this,Eh(e,0,255))}},{key:"toHexString",value:function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),r=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?e:"0"+e)+(this.green>15.5?t:"0"+t)+(this.blue>15.5?r:"0"+r)}},{key:"toJSON",value:function(){return{red:this.red,green:this.green,blue:this.blue,alpha:this.alpha}}},{key:"parseString",value:function(e){e=e.replace(bh,function(e,t,r){var n=t+r;switch(r){case"rad":return e.replace(n,180*t/Math.PI);case"turn":return e.replace(n,360*t)}});try{var t;"Prototype"in i&&"Version"in i.Prototype&&(t=Array.from,Array.from=gh.default);var r=new dh(e).to("srgb");t&&(Array.from=t,t=null),this.r=r.r,this.g=r.g,this.b=r.b,this.alpha=+r.alpha}catch(t){throw new Error('Unable to parse color "'.concat(e,'"'))}return this}},{key:"parseRgbString",value:function(e){this.parseString(e)}},{key:"parseHexString",value:function(e){e.match(vh)&&![6,8].includes(e.length)&&this.parseString(e)}},{key:"parseColorFnString",value:function(e){this.parseString(e)}},{key:"getRelativeLuminance",value:function(){var e=this.r,t=this.g,r=this.b;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))}},{key:"getLuminosity",value:function(){return.3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(e){var t=e-this.getLuminosity();return q(oe,this,Fh).call(this,t).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(e){var t=new yh(this),r=W([{name:"r",value:t.r},{name:"g",value:t.g},{name:"b",value:t.b}].sort(function(e,t){return e.value-t.value}),3),n=r[0],a=r[1],o=r[2];return o.value>n.value?(a.value=(a.value-n.value)*e/(o.value-n.value),o.value=e):a.value=o.value=0,n.value=0,t[o.name]=o.value,t[n.name]=n.value,t[a.name]=a.value,t}},{key:"clip",value:function(){var e=new yh(this),t=e.getLuminosity(),r=Math.min(e.r,e.g,e.b),n=Math.max(e.r,e.g,e.b);return r<0&&(e.r=t+(e.r-t)*t/(t-r),e.g=t+(e.g-t)*t/(t-r),e.b=t+(e.b-t)*t/(t-r)),n>1&&(e.r=t+(e.r-t)*(1-t)/(n-t),e.g=t+(e.g-t)*(1-t)/(n-t),e.b=t+(e.b-t)*(1-t)/(n-t)),e}}]));function Fh(e){var t=new yh(this);return t.r+=e,t.g+=e,t.b+=e,t}var wh=yh;function Eh(e,t,r){return Math.min(Math.max(t,e),r)}var Ch=function(e){var t=new wh;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r}return t},xh=function(e){var t=i.getComputedStyle(e);return lc(e,t)||1===Ch(t).alpha};function Ah(e){if(!e.href)return!1;var t=eo.get("firstPageLink",Th);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function Th(){return(i.location.origin?fm(c._tree,'a[href]:not([href^="javascript:"])').find(function(e){return!$u(e.actualNode)}):fm(c._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var kh=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Nh=/(\w+)\((\d+)/;var Bh=function e(t,r,n){var a;if(!t)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var o=t instanceof oa?t:to(t);t=o?o.actualNode:t;var u="_isVisible"+(r?"ScreenReader":""),s=null!==(a=i.Node)&&void 0!==a?a:{},l=s.DOCUMENT_NODE,d=s.DOCUMENT_FRAGMENT_NODE,p=o?o.props.nodeType:t.nodeType,h=o?o.props.nodeName:t.nodeName.toLowerCase();if(o&&void 0!==o[u])return o[u];if(p===l)return!0;if(["style","script","noscript","template"].includes(h))return!1;if(t&&p===d&&(t=t.host),r&&"true"===(o?o.attr("aria-hidden"):t.getAttribute("aria-hidden")))return!1;if(!t){var f=o.parent,m=!0;return f&&(m=e(f,r,!0)),o&&(o[u]=m),m}var D=i.getComputedStyle(t,null);if(null===D)return!1;if("area"===h)return function(t,r,n){var a=Bi(t,"map");if(!a)return!1;var o=a.getAttribute("name");if(!o)return!1;var i=Ti(t);if(!i||9!==i.nodeType)return!1;var u=fm(c._tree,'img[usemap="#'.concat(Fa(o),'"]'));return!(!u||!u.length)&&u.some(function(t){return e(t.actualNode,r,n)})}(t,r,n);if("none"===D.getPropertyValue("display"))return!1;var g=parseInt(D.getPropertyValue("height")),v=parseInt(D.getPropertyValue("width")),b=kf(t),y=b&&0===g,F=b&&0===v,w="absolute"===D.getPropertyValue("position")&&(g<2||v<2)&&"hidden"===D.getPropertyValue("overflow");if(!r&&(function(e){var t=e.getPropertyValue("clip").match(kh),r=e.getPropertyValue("clip-path").match(Nh);if(t&&5===t.length){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}(D)||"0"===D.getPropertyValue("opacity")||y||F||w))return!1;if(!n&&("hidden"===D.getPropertyValue("visibility")||!r&&tu(t)))return!1;var E=t.assignedSlot?t.assignedSlot:t.parentNode,C=!1;return E&&(C=e(E,r,!0)),o&&(o[u]=C),C},Rh=function(e,t){for(var r=["fixed","sticky"],n=[],a=!1,o=0;oMath.ceil(u.left+u.width)||Math.floor(e.top+e.height)>Math.ceil(u.top+u.height))})}var Ph=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(n.elementsFromPoint(t,r)||[]).filter(function(e){return Ti(e)===n}).reduce(function(n,o){if(Ci(o)){var i=e(t,r,o.shadowRoot,a+1);(n=n.concat(i)).length&&Sh(n[0],o)&&n.push(o)}else n.push(o);return n},[])};function Ih(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;nl&&e.left>r.right||e.top>u&&e.top>r.bottom||e.rightr.right||e.top>r.bottom)||"scroll"===c.overflow||"auto"===c.overflow||t instanceof i.HTMLBodyElement||t instanceof i.HTMLHtmlElement},qh=0,zh=function(e){function t(e,r,n){var a;if(Y(this,t),(a=R(this,t)).shadowId=n,a.children=[],a.actualNode=e,a.parent=r,r||(qh=0),a.nodeIndex=qh++,a._isHidden=null,a._cache={},a._isXHTML=Ba(e.ownerDocument),"input"===e.nodeName.toLowerCase()){var o=e.getAttribute("type");o=a._isXHTML?o:(o||"").toLowerCase(),Am().includes(o)||(o="text"),a._type=o}return eo.get("nodeMap")&&eo.get("nodeMap").set(e,a),a}return _(t,e),X(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var e=this.actualNode,t=e.nodeType,r=e.nodeName,n=e.id,a=e.nodeValue;this._cache.props={nodeType:t,nodeName:this._isXHTML?r:r.toLowerCase(),id:n,type:this._type,nodeValue:a},1===t&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate)}return this._cache.props}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;return this._cache.hasOwnProperty("attrNames")||(e=this.actualNode.attributes instanceof i.NamedNodeMap?this.actualNode.attributes:this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(e).map(function(e){return e.name})),this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var t="computedStyle_"+e;return this._cache.hasOwnProperty(t)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=i.getComputedStyle(this.actualNode)),this._cache[t]=this._cache.computedStyle.getPropertyValue(e)),this._cache[t]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Ju(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Zu(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(e){return e.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])}(oa),$h=zh,Uh=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},Hh=" [idsMap]";function Wh(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,o=0;o1&&t[o].some(function(e){return Gh(e)}))return;var i=new Set;t.forEach(function(e){var t,r=function(e,t,r){var n=e[e.length-1],a=null,o=e.length>1||!!n.pseudos||!!n.classes;if(Gh(n))a=t["*"];else{if(n.id){var i;if(!t[Hh]||!Object.hasOwn(t[Hh],n.id)||null===(i=t[Hh][n.id])||void 0===i||!i.length)return;a=t[Hh][n.id].filter(function(e){return e.shadowId===r})}if(n.tag&&"*"!==n.tag){var u;if(null===(u=t[n.tag])||void 0===u||!u.length)return;var s=t[n.tag];a=a?Kh(s,a):s}if(n.classes){var l;if(null===(l=t["[class]"])||void 0===l||!l.length)return;var c=t["[class]"];a=a?Kh(c,a):c}if(n.attributes)for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:s.documentElement,t=arguments.length>1?arguments[1]:void 0;Lh=!1;var r={};eo.set("nodeMap",new WeakMap),eo.set("selectorMap",r);var n=Qh(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Lh,n}function Jh(e,t,r){var n=new $h(e,t,r);return Zh(n,eo.get("selectorMap")),n}function Qh(e,t,r){var n,a;function o(e,r,n){var a=Qh(r,t,n);return a&&(e=e.concat(a)),e}e.documentElement&&(e=e.documentElement);var u=e.nodeName.toLowerCase();return Ci(e)?(Lh=!0,n=Jh(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=a.reduce(function(e,t){return o(e,t,n)},[]),[n]):"content"===u&&"function"==typeof e.getDistributedNodes?(a=Array.from(e.getDistributedNodes())).reduce(function(e,t){return o(e,t,r)},[]):"slot"===u&&"function"==typeof e.assignedNodes?((a=Array.from(e.assignedNodes())).length||(a=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e)),i.getComputedStyle(e),a.reduce(function(e,t){return o(e,t,r)},[])):1===e.nodeType?(n=Jh(e,r,t),a=Array.from(e.childNodes),n.children=a.reduce(function(e,t){return o(e,t,n)},[]),[n]):3===e.nodeType?[Jh(e,r)]:void 0}var ef=function(e){return e?e.trim().split("-")[0].toLowerCase():""},tf=function(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(e){if(t[e].length){var r=c._audit.data.failureSummaries[e];return r&&"function"==typeof r.failureMessage?r.failureMessage(t[e].map(function(e){return e.message||""})):void 0}}).filter(function(e){return void 0!==e}).join("\n\n")};function rf(){var e=c._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var nf=ra.resultGroups;function af(e,t){var r=c.utils.aggregateResult(e);return nf.forEach(function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(r[e]||[]).forEach(function(e){Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=[e.nodes[0]])}),r[e]=(r[e]||[]).map(function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=e.nodes.map(function(e){if("object"===l(e.node)){var r=of(e.node,t);Object.assign(e,r)}return delete e.result,delete e.node,function(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(e){return Array.isArray(e.relatedNodes)}).forEach(function(e){e.relatedNodes=e.relatedNodes.map(function(e){return of(e,t)})})})}(e,t),e})),nf.forEach(function(t){return delete e[t]}),delete e.pageLevel,delete e.result,e})}),r}function of(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=fi.dqElmToSpec(e,t);var r,n,a,o,i,u={};return c._audit.noHtml?u.html=null:u.html=null!==(r=e.source)&&void 0!==r?r:"Undefined",t.elementRef&&!e.fromFrame&&(u.element=null!==(n=e.element)&&void 0!==n?n:null),(!1!==t.selectors||e.fromFrame)&&(u.target=null!==(a=e.selector)&&void 0!==a?a:[":root"]),t.ancestry&&(u.ancestry=null!==(o=e.ancestry)&&void 0!==o?o:[":root"]),t.xpath&&(u.xpath=null!==(i=e.xpath)&&void 0!==i?i:["/"]),u}var uf=/\$\{\s?data\s?\}/g;function sf(e,t){if("string"==typeof t)return e.replace(uf,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=void 0===t[r]?"":String(t[r]);e=e.replace(n,a)}return e}var lf=function e(t,r){if(t){if(Array.isArray(r))return r.values=r.join(", "),"string"==typeof t.singular&&"string"==typeof t.plural?sf(1===r.length?t.singular:t.plural,r):sf(t,r);if("string"==typeof t)return sf(t,r);if("string"==typeof r)return sf(t[r],r);var n=t.default||rf();return r&&r.messageKey&&t[r.messageKey]&&(n=t[r.messageKey]),e(n,r)}},cf=function(e,t,r){var n=c._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return lf(n.messages[t],r)},df=function(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],o=e.enabled,i=e.options;return a&&(a.hasOwnProperty("enabled")&&(o=a.enabled),a.hasOwnProperty("options")&&(i=a.options)),n&&(n.hasOwnProperty("enabled")&&(o=n.enabled),n.hasOwnProperty("options")&&(i=n.options)),{enabled:o,options:i,absolutePaths:r.absolutePaths}};function pf(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t&&"object"===l(t)?t:"object"!==l(r)?{}:{testEngine:{name:"axe-core",version:c.version},testRunner:{name:c._audit.brand},testEnvironment:hf(r),timestamp:(new Date).toISOString(),url:null===(e=r.location)||void 0===e?void 0:e.href}}function hf(e){if(!e.navigator||"object"!==l(e.navigator))return{};var t,r=e.navigator,n=e.innerHeight,a=e.innerWidth,o=(t=e.screen).orientation||t.msOrientation||t.mozOrientation||{},i=o.angle,u=o.type;return{userAgent:r.userAgent,windowWidth:a,windowHeight:n,orientationAngle:i,orientationType:u}}function ff(e,t){var r=t.focusable,n=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:r&&mf(e),size:Df(e),page:n}}function mf(e){var t=Jf(e.getAttribute("tabindex"));return null===t||t>=0}function Df(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r}return{width:t,height:r}}function gf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];Pf(e)||(e=[e]);for(var r=0;r1)Ef(e,t,o);else{var u=Cm(o[0]);r.push.apply(r,$(u.map(function(e){return to(e)})))}}return r.filter(function(e){return e})}function Ef(e,t,r){e.frames=e.frames||[],Cm(r.shift()).forEach(function(n){var a=e.frames.find(function(e){return e.node===n});a||(a=ff(n,e),e.frames.push(a)),a[t].push(r)})}function Cf(e,t){var r,n,a,o,u,c=this;e=io(e),this.frames=[],this.page="boolean"==typeof(null===(r=e)||void 0===r?void 0:r.page)?e.page:void 0,this.initiator="boolean"!=typeof(null===(n=e)||void 0===n?void 0:n.initiator)||e.initiator,this.focusable="boolean"!=typeof(null===(a=e)||void 0===a?void 0:a.focusable)||e.focusable,this.size="object"===l(null===(o=e)||void 0===o?void 0:o.size)?e.size:{},e=function(e){if(Lf(e)){var t=" must be used inside include or exclude. It should not be on the same object.";Ff(!If(e,"fromFrames"),"fromFrames"+t),Ff(!If(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!Vf(e))return{include:[s],exclude:[]};e={include:e,exclude:[]}}var r=gf(e.include);return 0===r.length&&r.push(s),{include:r,exclude:gf(e.exclude)}}(e),this.flatTree=null!=t?t:Xh(function(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new Cf(e).frames.map(function(e){var t=e.node,r=z(e,x);return r.initiator=!1,{frameSelector:Ya(t),frameContext:r}})}function Af(e){var t=c._audit.rules.find(function(t){return t.id===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function Tf(e,t){var r=e.getPropertyValue(t);return["scroll","auto"].includes(r)}var kf=Na(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=i.getComputedStyle(e),o=Tf(a,"overflow-x"),u=Tf(a,"overflow-y");return r&&o||n&&u?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}});function Nf(e){return Array.from(e.children||e.childNodes||[]).reduce(function(e,t){var r=kf(t);return r&&e.push(r),e.concat(Nf(t))},[])}var Bf=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}].concat(Nf(s.body))};function Rf(){return io(ds)}var Sf,Of=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=void 0!==n&&n,o=t.shadowId,i=t.root,u=t.priority,s=t.isLink,l=void 0!==s&&s,c=e.createElement("style");if(l){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d)}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:o,root:i,priority:u}}},_f=function(e){if(Sf&&Sf.parentNode)return void 0===Sf.styleSheet?Sf.appendChild(s.createTextNode(e)):Sf.styleSheet.cssText+=e,Sf;if(e){var t=s.head||s.getElementsByTagName("head")[0];return(Sf=s.createElement("style")).type="text/css",void 0===Sf.styleSheet?Sf.appendChild(s.createTextNode(e)):Sf.styleSheet.cssText=e,t.appendChild(Sf),Sf}};function Pf(e){return!!e&&"object"===l(e)&&"number"==typeof e.length&&e instanceof i.Node==0}function If(e,t){return!(!e||"object"!==l(e))&&Object.prototype.hasOwnProperty.call(e,t)}function Mf(e){return Lf(e)||Vf(e)}function Lf(e){return["include","exclude"].some(function(t){return If(e,t)&&Vf(e[t])})}function Vf(e){return"string"==typeof e||e instanceof i.Node||jf(e)||qf(e)||Pf(e)}function jf(e){return If(e,"fromFrames")}function qf(e){return If(e,"fromShadowDom")}var zf=function e(t,r){var n=to(t);if(9===t.nodeType)return!1;if(11===t.nodeType&&(t=t.host),n&&null!==n._isHidden)return n._isHidden;var a=i.getComputedStyle(t,null);if(!a||!t.parentNode||"none"===a.getPropertyValue("display")||!r&&"hidden"===a.getPropertyValue("visibility")||"true"===t.getAttribute("aria-hidden"))return!0;var o=e(t.assignedSlot?t.assignedSlot:t.parentNode,!0);return n&&(n._isHidden=o),o},$f=function(e){var t,r,n=null!==(t=null===(r=e.props)||void 0===r?void 0:r.nodeName)&&void 0!==t?t:e.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==e.namespaceURI&&!!ds.htmlElms[n]};function Uf(e,t){var r=t.include,n=void 0===r?[]:r,a=t.exclude,o=void 0===a?[]:a,i=n.filter(function(t){return yi(t,e)});if(0===i.length)return!1;var u=o.filter(function(t){return yi(t,e)});if(0===u.length)return!0;var s=Hf(i);return yi(Hf(u),s)}function Hf(e){var t,r,n=Q(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;t&&yi(a,t)||(t=a)}}catch(e){n.e(e)}finally{n.f()}return t}function Wf(e,t){return e.length===t.length&&e.every(function(e,r){var n=t[r];return Array.isArray(e)?e.length===n.length&&e.every(function(e,t){return n[t]===e}):e===n})}var Gf=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function Kf(e){return e instanceof oa?{vNode:e,domNode:e.actualNode}:{vNode:to(e),domNode:e}}var Yf=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=Array.from(e.cssRules);if(!o)return Promise.resolve();var i=o.filter(function(e){return 3===e.type});if(!i.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var u=i.filter(function(e){return e.href}).map(function(e){return e.href}).filter(function(e){return!n.includes(e)}).map(function(e,a){var o=[].concat($(r),[a]),i=/^https?:\/\/|^\/\//i.test(e);return Xf(e,t,o,n,i)}),s=o.filter(function(e){return 3!==e.type});return s.length?(u.push(Promise.resolve(t.convertDataToStylesheet({data:s.map(function(e){return e.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)):Promise.all(u)},Zf=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(e){try{return!(!e.cssRules&&e.href)}catch(e){return!1}}(e)?Yf(e,t,r,n,a):Xf(e.href,t,r,n,!0)},Xf=function(e,t,r,n,a){return n.push(e),new Promise(function(t,r){var n=new i.XMLHttpRequest;n.open("GET",e),n.timeout=ra.preload.timeout,n.addEventListener("error",r),n.addEventListener("timeout",r),n.addEventListener("loadend",function(e){if(e.loaded&&n.responseText)return t(n.responseText);r(n.responseText)}),n.send()}).then(function(e){var o=t.convertDataToStylesheet({data:e,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return Zf(o.sheet,t,r,n,o.isCrossOrigin)})},Jf=function(e){if("string"!=typeof e)return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null},Qf=function(){function e(){if(i.performance&&i.performance)return i.performance.now()}var t=null,r=e();return{start:function(){this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function(){this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function(e){i.performance&&void 0!==i.performance.mark&&i.performance.mark(e)},measure:function(e,t,r){i.performance&&void 0!==i.performance.measure&&i.performance.measure(e,t,r)},logMeasures:function(e){function t(e){na("Measure "+e.name+" took "+e.duration+"ms")}if(i.performance&&void 0!==i.performance.getEntriesByType)for(var r=i.performance.getEntriesByName("mark_axe_start")[0],n=i.performance.getEntriesByType("measure").filter(function(e){return e.startTime>=r.startTime}),a=0;a"].includes(b[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+v[1].combinator);">"===b[0].combinator?(c=c||[]).push(b):(d=d||[]).push(b)}v[0].id&&l.shadowId!==o.parentShadowId||null===(g=o.anyLevel)||void 0===g||!g.includes(v)||(d=d||[]).push(v)}for(l.children&&l.children.length&&(a.push(o),o=rm(l.children,d,c,l.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop()}return i}(e,n,r)},am=function(e){var t=e.treeRoot,r=function(e){var t=[],r=nm(e,"*",function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)}).map(function(e){return{shadowId:e.shadowId,rootNode:Ai(e.actualNode)}});return tm(r,[])}(void 0===t?c._tree[0]:t);if(!r.length)return Promise.resolve();var n=s.implementation.createHTMLDocument("Dynamic document for loading cssom");return function(e,t){var r=[];return e.forEach(function(e,n){var a=e.rootNode,o=e.shadowId,i=function(e,t,r){var n;return n=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(im).reduce(function(r,n){var a=n.nodeName.toUpperCase(),o="STYLE"===a?n.textContent:n,i=t({data:o,isLink:"LINK"===a,root:e});return i.sheet&&r.push(i.sheet),r},[])}(e,r):function(e){return Array.from(e.styleSheets).filter(function(e){return!!e.media&&um(e.media.mediaText)})}(e),function(e){var t=[];return e.filter(function(e){return!e.href||!t.includes(e.href)&&(t.push(e.href),!0)})}(n)}(a,o,t);if(!i)return Promise.all(r);var u=n+1,s={rootNode:a,shadowId:o,convertDataToStylesheet:t,rootIndex:u},l=[],c=Promise.all(i.map(function(e,t){return Zf(e,s,[u,t],l)}));r.push(c)}),Promise.all(r)}(r,Of(n)).then(function(e){return om(e)})};function om(e){return e.reduce(function(e,t){return Array.isArray(t)?e.concat(om(t)):e.concat(t)},[])}function im(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a="LINK"===t&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||a&&um(e.media)}function um(e){return!e||!e.toUpperCase().includes("PRINT")}var sm=function(e){var t=e.treeRoot,r=void 0===t?c._tree[0]:t,n=nm(r,"video[autoplay], audio[autoplay]",function(e){var t=e.actualNode;return!("none"===t.preload&&0===t.readyState&&t.networkState!==t.NETWORK_LOADING||t.hasAttribute("paused")||t.hasAttribute("muted")||(t.hasAttribute("src")?!t.getAttribute("src"):Array.from(t.getElementsByTagName("source")).filter(function(e){return!!e.getAttribute("src")}).length<=0))});return Promise.all(n.map(function(e){var t,r=e.actualNode;return t=r,new Promise(function(e){t.readyState>0&&e(t),t.addEventListener("loadedmetadata",function r(){t.removeEventListener("loadedmetadata",r),e(t)})})}))};function lm(e){var t={cssom:am,media:sm};return cm(e)?new Promise(function(r,n){var a=dm(e),o=a.assets,i=a.timeout,u=setTimeout(function(){return n(new Error("Preload assets timed out."))},i);Promise.all(o.map(function(r){return t[r](e).then(function(e){return t={},a=e,(n=J(n=r))in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t;var t,n,a})})).then(function(e){var t=e.reduce(function(e,t){return H({},e,t)},{});clearTimeout(u),r(t)}).catch(function(e){clearTimeout(u),n(e)})}):Promise.resolve()}function cm(e){return!e||void 0===e.preload||null===e.preload||("boolean"==typeof e.preload?e.preload:(t=e.preload,"object"===l(t)&&Array.isArray(t.assets)));var t}function dm(e){var t=ra.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload)return a;if("boolean"==typeof e.preload)return a;if(!e.preload.assets.every(function(e){return r.includes(e.toLowerCase())}))throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=tm(e.preload.assets.map(function(e){return e.toLowerCase()}),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function pm(e){var t=c._audit.data.checks||{},r=c._audit.data.rules||{},n=Di(c._audit.rules,"id",e.id)||{};e.tags=io(n.tags||[]);var a=hm(t,!0,n),o=hm(t,!1,n);e.nodes.forEach(function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)}),wi(e,io(r[e.id]||{}))}function hm(e,t,r){return function(n){var a=e[n.id]||{},o=a.messages||{},i=Object.assign({},a);delete i.messages,r.reviewOnFail||void 0!==n.result?i.message=n.result===t?o.pass:o.fail:("object"!==l(o.incomplete)||Array.isArray(n.data)||(i.message=function(e,t){function r(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:rf()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:r(t);try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch(n){return"string"==typeof e.missingData?t.incomplete[e.missingData]:r(t)}}(n.data,o)),i.message||(i.message=o.incomplete)),"function"!=typeof i.message&&(i.message=lf(i.message,n.data)),wi(n,i)}}var fm=function(e,t){return nm(e,t)};function mm(e,t){var r,n,a=c._audit&&c._audit.tagExclude?c._audit.tagExclude:[];return t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=(n=Array.isArray(n)?n:[n]).concat(a.filter(function(e){return-1===r.indexOf(e)}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(e){return-1===r.indexOf(e)})),!!(r.some(function(t){return-1!==e.tags.indexOf(t)})||0===r.length&&!1!==e.enabled)&&n.every(function(t){return-1===e.tags.indexOf(t)})}var Dm=function(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===n.type?-1!==n.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:"tag"===n.type&&n.values?mm(e,n.values):mm(e,[]))};function gm(e,t){if(!t)return e;var r=e.cloneNode(!1),n=Aa(r);if(1===r.nodeType){var a=r.outerHTML;r=eo.get(a,function(){return vm(r,n,e,t)})}else r=vm(r,n,e,t);return Array.from(e.childNodes).forEach(function(e){r.appendChild(gm(e,t))}),r}function vm(e,t,r,n){return t?(e=s.createElement(e.nodeName),Array.from(t).forEach(function(t){(function(e,t,r){return void 0!==r[t]&&(!0===r[t]||Ta(e,r[t]))})(r,t.name,n)||e.setAttribute(t.name,t.value)}),e):e}function bm(e,t){var r,n=[];if(c._selectCache)for(var a=0,o=c._selectCache.length;a1&&void 0!==arguments[1]?arguments[1]:s,r=Array.isArray(e)?$(e):[e];return 0===e.length?[]:xm(r,t)}function xm(e,t){var r,n=K(r=e)||U(r)||ee(r)||G(),a=n[0],o=n.slice(1),i=t.querySelectorAll(a);if(0===o.length)return Array.from(i);var u,s=[],l=Q(i);try{for(l.s();!(u=l.n()).done;){var c=u.value;null!=c&&c.shadowRoot&&s.push.apply(s,$(xm(o,c.shadowRoot)))}}catch(e){l.e(e)}finally{l.f()}return s}var Am=function(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},Tm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,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,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function km(e){e=Array.isArray(e)?e:Tm;var t=[];return e.forEach(function(e,r){var n=String.fromCharCode(r+96).replace("`","");Array.isArray(e)?t=t.concat(km(e).map(function(e){return n+e})):t.push(n)}),t}var Nm=function(e){for(var t=Tm;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++)if(!(t=t[e.charCodeAt(r)-96]))return!1;return!0},Bm=function(e){function t(e){var r,n,a,o;return Y(this,t),(r=R(this,t))._props=function(e){var t,r,n,a=null!==(t=e.nodeName)&&void 0!==t?t:Sm[e.nodeType],o=null!==(r=null!==(n=e.nodeType)&&void 0!==n?n:Rm[e.nodeName])&&void 0!==r?r:1;ba("number"==typeof o,"nodeType has to be a number, got '".concat(o,"'")),ba("string"==typeof a,"nodeName has to be a string, got '".concat(a,"'"));var i=null;"input"===(a=a.toLowerCase())&&(i=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),Am().includes(i)||(i="text"));var u=H({},e,{nodeType:o,nodeName:a});return i&&(u.type=i),delete u.attributes,Object.freeze(u)}(e),r._attrs=(n=e.attributes,a=void 0===n?{}:n,o={htmlFor:"for",className:"class"},Object.keys(a).reduce(function(e,t){var r=a[t];return ba("object"!==l(r)||null===r,"expects attributes not to be an object, '".concat(t,"' was")),void 0!==r&&(e[o[t]||t]=null!==r?String(r):null),e},{})),r}return _(t,e),X(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){var t;return null!==(t=this._attrs[e])&&void 0!==t?t:null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])}(oa),Rm={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Sm={};Object.keys(Rm).forEach(function(e){Sm[Rm[e]]=e});var Om,_m=Bm,Pm=function(e,t){if(e=e||function(){},t=t||c.log,!c._audit)throw new Error("No audit configured");var r=c.utils.queue(),n=[];Object.keys(c.plugins).forEach(function(e){r.defer(function(t){var r=function(e){n.push(e),t()};try{c.plugins[e].cleanup(t,r)}catch(e){r(e)}})});var a=c.utils.getFlattenedTree(s.body);c.utils.querySelectorAll(a,"iframe, frame").forEach(function(e){r.defer(function(t,r){return c.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,r)})}),r.then(function(r){0===n.length?e(r):t(n)}).catch(t)},Im={};function Mm(e){return Im.hasOwnProperty(e)}function Lm(e){return"string"==typeof e&&Im[e]?Im[e]:"function"==typeof e?e:Om}var Vm={};he(Vm,{getAllCells:function(){return jm},getCellPosition:function(){return vs},getHeaders:function(){return zm},getScope:function(){return bs},isColumnHeader:function(){return ys},isDataCell:function(){return $m},isDataTable:function(){return Um},isHeader:function(){return Hm},isRowHeader:function(){return Fs},toArray:function(){return gs},toGrid:function(){return gs},traverse:function(){return Gm}});var jm=function(e){var t,r,n,a,o=[];for(t=0,n=e.rows.length;t=h&&!n;D--)for(var g=p;g>=f;g--){var v=r[D]?r[D][g]:void 0;if(v){var b=c.utils.getNodeFromTree(v);if(b[a]){n=b[a];break}m.push(v)}}return n=(n||[]).concat(m.filter(o)),m.forEach(function(e){c.utils.getNodeFromTree(e)[a]=n}),n}var zm=function(e,t){if(e.getAttribute("headers")){var r=ns(e,"headers");if(r.filter(function(e){return e}).length)return r}t||(t=gs(Bi(e,"table")));var n=vs(e,t),a=qm("row",n,t),o=qm("col",n,t);return[].concat(a,o).reverse()},$m=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return hs(t)?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()},Um=function(e){var t=(e.getAttribute("role")||"").toLowerCase();if(("presentation"===t||"none"===t)&&!Ju(e))return!1;if("true"===e.getAttribute("contenteditable")||Bi(e,'[contenteditable="true"]'))return!0;if("grid"===t||"treegrid"===t||"table"===t)return!0;if("landmark"===Jl(t))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,n=e.children.length;r=5)return!0;if(l)return!0;for(var D=0;D=20||!(Qi(e).width>.95*eu(i).width)&&!(u<10)&&!e.querySelector("object, embed, iframe, applet")},Hm=function(e){if(ys(e)||Fs(e))return!0;if(e.getAttribute("id")){var t=Fa(e.getAttribute("id"));return!!s.querySelector('[headers~="'.concat(t,'"]'))}return!1};function Wm(e,t,r,n){var a,o=r[t.y]?r[t.y][t.x]:void 0;return o?"function"==typeof n&&!0===(a=n(o,t,r))?[o]:((a=Wm(e,{x:t.x+e.x,y:t.y+e.y},r,n)).unshift(o),a):[]}var Gm=function(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return Wm(e,{x:t.x+e.x,y:t.y+e.y},r,n)},Km={};he(Km,{allowedAttr:function(){return Ym},arialabelText:function(){return is},arialabelledbyText:function(){return os},getAccessibleRefs:function(){return Jm},getElementUnallowedRoles:function(){return rD},getExplicitRole:function(){return fs},getImplicitRole:function(){return zs},getOwnedVirtual:function(){return Xs},getRole:function(){return Gs},getRoleType:function(){return Jl},getRolesByType:function(){return aD},getRolesWithNameFromContents:function(){return iD},implicitNodes:function(){return dD},implicitRole:function(){return zs},isAccessibleRef:function(){return pD},isAriaRoleAllowedOnElement:function(){return Qm},isComboboxPopup:function(){return hD},isUnsupportedRole:function(){return ps},isValidRole:function(){return hs},label:function(){return mD},labelVirtual:function(){return Rl},lookupTable:function(){return cD},namedFromContents:function(){return Zs},requiredAttr:function(){return DD},requiredContext:function(){return gD},requiredOwned:function(){return vD},validateAttr:function(){return yD},validateAttrValue:function(){return bD}});var Ym=function(e){var t=ds.ariaRoles[e],r=$(Ds());return t?(t.allowedAttrs&&r.push.apply(r,$(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,$(t.requiredAttrs)),r):r},Zm=/^idrefs?$/;function Xm(e,t,r){if(e.hasAttribute){if("LABEL"===e.nodeName.toUpperCase()&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e])}for(var a=0;a1&&void 0!==arguments[1])||arguments[1],r=Kf(e).vNode;if(!$f(r))return[];var n=r.props.nodeName,a=zs(r)||tD[n];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Uh(e.attr("role").toLowerCase());t=t.concat(r)}return t.filter(function(e){return hs(e)})}(r).filter(function(e){return!function(e,t,r,n){return!(!r||e!==n)||(!eD.includes(e)||Jl(e)===n)&&Qm(t,e)}(e,r,t,a)})},nD=function(e){return Object.keys(ds.ariaRoles).filter(function(t){return ds.ariaRoles[t].type===e})},aD=function(e){return nD(e)},oD=function(){return eo.get("ariaRolesNameFromContent",function(){return Object.keys(ds.ariaRoles).filter(function(e){return ds.ariaRoles[e].nameFromContent})})},iD=function(){return oD()},uD=function(e){return null===e},sD=function(e){return null!==e},lD={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};lD.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sD}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sD}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sD}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sD}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sD}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:sD}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:sD}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:sD}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:sD}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:sD}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:sD}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:sD}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:sD}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:sD}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},lD.implicitHtmlRole=As,lD.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:sD}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:sD}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof c.AbstractVirtualNode||(e=c.utils.getNodeFromTree(e)),Number(e.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],lD.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:uD}},{nodeName:"img",attributes:{alt:uD}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],lD.evaluateRoleForElement={A:function(e){var t=e.node,r=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||!t.href.length||r},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,r=e.role,n=e.out;return"menu"===t.getAttribute("type")?"menuitem"===r:n},IMG:function(e){var t=e.node,r=e.role,n=e.out;switch(t.alt){case null:return n;case"":return"presentation"===r||"none"===r;default:return"presentation"!==r&&"none"!==r}},INPUT:function(e){var t=e.node,r=e.role,n=e.out;switch(t.type){case"button":case"image":return n;case"checkbox":return!("button"!==r||!t.hasAttribute("aria-pressed"))||n;case"radio":return"menuitemradio"===r;case"text":return"combobox"===r||"searchbox"===r||"spinbutton"===r;case"tel":return"combobox"===r||"spinbutton"===r;case"url":case"search":case"email":return"combobox"===r;default:return!1}},LI:function(e){var t=e.node,r=e.out;return!c.utils.matchesSelector(t,"ol li, ul li")||r},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){var t=e.node;return!c.utils.matchesSelector(t,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node,r=e.role;return!t.multiple&&t.size<=1&&"menu"===r},SVG:function(e){var t=e.node,r=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||r}},lD.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var cD=lD,dD=function(e){var t=null,r=cD.role[e];return r&&r.implicit&&(t=io(r.implicit)),t},pD=function(e){return!!Jm(e).length};function hD(e){var t,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,n=Gs(e);if(null!==(t=r)&&void 0!==t||(r=us["aria-haspopup"].values),!r.includes(n))return!1;var a=function(e){for(;e=e.parent;)if(null!==Gs(e,{noPresentational:!0}))return e;return null}(e);if(fD(a))return!0;var o=e.props.id;if(!o)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var i=Ai(e.actualNode).querySelectorAll('[aria-owns~="'.concat(o,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(o,'"][role~="combobox"]:not(select)'));return Array.from(i).some(fD)}var fD=function(e){return e&&"combobox"===Gs(e)},mD=function(e){return e=to(e),Rl(e)},DD=function(e){var t=ds.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?$(t.requiredAttrs):[]},gD=function(e){var t=ds.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?$(t.requiredContext):null},vD=function(e){var t=ds.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?$(t.requiredOwned):null},bD=function(e,t){var r,n,a=(e=e instanceof oa?e:to(e)).attr(t),o=ds.ariaAttrs[t];if(!o)return!0;if(o.allowEmpty&&(!a||""===a.trim()))return!0;switch(o.type){case"boolean":return["true","false"].includes(a.toLowerCase());case"nmtoken":return"string"==typeof a&&o.values.includes(a.toLowerCase());case"nmtokens":return(n=Uh(a)).reduce(function(e,t){return e&&o.values.includes(t)},0!==n.length);case"idref":try{var i=Ti(e.actualNode);return!(!a||!i.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return ns(e,t).some(function(e){return!!e});case"string":return""!==a.trim();case"decimal":return!(!(r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!r[1]&&!r[2]);case"int":var u=void 0!==o.minValue?o.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=u}},yD=function(e){return!!ds.ariaAttrs[e]};function FD(e){return"caption"===e.props.nodeName}var wD={};he(wD,{getAriaRolesByType:function(){return nD},getAriaRolesSupportingNameFromContent:function(){return oD},getElementSpec:function(){return qs},getElementsByContentType:function(){return ms},getGlobalAriaAttrs:function(){return Ds},implicitHtmlRoles:function(){return As}});var ED=["alert","log","status"];function CD(e,t){var r=e.actualNode;if("button"===Gs(e)||function(e,t){var r=e.actualNode,n=Gs(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),o=nD("landmark");return!(!["assertive","polite"].includes(a)&&!ED.includes(n))||(!!o.includes(n)||!(!t.regionMatcher||!js(e,t.regionMatcher)))}(e,t)||["iframe","frame"].includes(e.props.nodeName)||Ah(e.actualNode)&&Uu(e.actualNode,"href")||!Qs(r)){for(var n=e;n;)n._hasRegionDescendant=!0,n=n.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return r!==s.body&&Hl(r,!0)&&!function(e){return["none","presentation"].includes(Gs(e))&&!$l(e)}(e)?[e]:e.children.filter(function(e){return 1===e.actualNode.nodeType}).map(function(e){return CD(e,t)}).reduce(function(e,t){return e.concat(t)},[])}function xD(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function AD(e){var t=i.getComputedStyle(function(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&void 0!==t;){var a=-1;if(0===(e=t).children.length)return e;do{a++,n=e.children[a].textContent.trim()}while(""===n&&a+1t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)},!1)}var kD=/[;,\s]/,ND=/^[0-9.]+$/,BD={};he(BD,{aria:function(){return Km},color:function(){return RD},dom:function(){return xi},forms:function(){return dg},matches:function(){return js},math:function(){return uu},standards:function(){return wD},table:function(){return Vm},text:function(){return rs},utils:function(){return ia}});var RD={};he(RD,{Color:function(){return wh},centerPointOfRect:function(){return SD},elementHasImage:function(){return lc},elementIsDistinct:function(){return _D},filteredRectStack:function(){return ID},flattenColors:function(){return VD},flattenShadowColors:function(){return qD},getBackgroundColor:function(){return ag},getBackgroundStack:function(){return zD},getContrast:function(){return ug},getForegroundColor:function(){return sg},getOwnBackgroundColor:function(){return Ch},getRectStack:function(){return PD},getStackingContext:function(){return QD},getStrokeColorsFromShadows:function(){return KD},getTextShadowColors:function(){return XD},hasValidContrastRatio:function(){return cg},incompleteData:function(){return sc},parseTextShadows:function(){return ZD},stackingContextToColor:function(){return eg}});var SD=function(e){if(!(e.left>i.innerWidth||e.top>i.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),i.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),i.innerHeight-1)}};function OD(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(e){return e.trim().toLowerCase()})}var _D=function(e,t){var r=i.getComputedStyle(e);if("none"!==r.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce(function(e,t){var n=new wh;return n.parseString(r.getPropertyValue(t+"-color")),e||"none"!==r.getPropertyValue(t+"-style")&&parseFloat(r.getPropertyValue(t+"-width"))>0&&0!==n.alpha},!1))return!0;var n=i.getComputedStyle(t);if(OD(r)[0]!==OD(n)[0])return!0;var a=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(e,t){return e||r.getPropertyValue(t)!==n.getPropertyValue(t)},!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(a=a||o!==n.getPropertyValue("text-decoration")),a},PD=function(e){var t=Yu(e),r=Vl(e);return!r||r.length<=1?[t]:r.some(function(e){return void 0===e})?null:(r.splice(0,0,t),r)},ID=function(e){var t=PD(e);if(t&&1===t.length)return t[0];if(t&&t.length>1){var r,n=t.shift();return t.forEach(function(a,o){if(0!==o){var i=t[o-1],u=t[o];r=i.every(function(e,t){return e===u[t]})||n.includes(e)}}),r?t[0]:(sc.set("bgColor","elmPartiallyObscuring"),null)}return sc.set("bgColor","outsideViewport"),null},MD=["hue","saturation","color","luminosity"],LD={normal:function(e,t){return t},multiply:function(e,t){return t*e},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return this["hard-light"](t,e)},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"hard-light":function(e,t){return t<=.5?this.multiply(e,2*t):this.screen(e,2*t-1)},"soft-light":function(e,t){return t<=.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<=.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},hue:function(e,t){return t.setSaturation(e.getSaturation()).setLuminosity(e.getLuminosity())},saturation:function(e,t){return e.setSaturation(t.getSaturation()).setLuminosity(e.getLuminosity())},color:function(e,t){return t.setLuminosity(e.getLuminosity())},luminosity:function(e,t){return e.setLuminosity(t.getLuminosity())}};function VD(e,t){var r,n=function(e,t,r){if(MD.includes(r))return LD[r](e,t);var n=new wh;return["r","g","b"].forEach(function(a){n[a]=LD[r](e[a],t[a])}),n}(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal"),a=jD(e.red,e.alpha,t.red,t.alpha,255*n.r),o=jD(e.green,e.alpha,t.green,t.alpha,255*n.g),i=jD(e.blue,e.alpha,t.blue,t.alpha,255*n.b),u=(r=e.alpha+t.alpha*(1-e.alpha),Math.min(Math.max(0,r),1));if(0===u)return new wh(a,o,i,u);var s=Math.round(a/u),l=Math.round(o/u),c=Math.round(i/u);return new wh(s,l,c,u)}function jD(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function qD(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,o=(1-r)*t.blue+r*e.blue,i=e.alpha+t.alpha*(1-e.alpha);return new wh(n,a,o,i)}function zD(e){for(var t=Vl(e).map(function(t){return function(e){var t=e.indexOf(s.body),r=e,n=Ch(i.getComputedStyle(s.documentElement));if(t>1&&0===n.alpha&&!lc(s.documentElement)){t>1&&(r.splice(t,1),r.push(s.body));var a=r.indexOf(s.documentElement);a>0&&(r.splice(a,1),r.push(s.documentElement))}return r}(t=Rh(t,e))}),r=0;r1&&void 0!==arguments[1]?arguments[1]:{}).ignoreEdgeCount,r=void 0!==t&&t,n=function(e){var t,r={},n=Q(e);try{for(n.s();!(t=n.n()).done;){var a,o=t.value,i=o.colorStr,u=o.pixels;null!==(a=r[i])&&void 0!==a||(r[i]={top:[],right:[],bottom:[],left:[]});var s=r[i],l=W(u,2),c=l[0],d=l[1];c>HD?s.right.push(c):-c>HD&&s.left.push(-c),d>HD?s.bottom.push(d):-d>HD&&s.top.push(-d)}}catch(e){n.e(e)}finally{n.f()}return r}(e),a=Object.entries(n).map(function(e){var t=W(e,2),r=t[0],n=t[1],a=GD.filter(function(e){return 0!==n[e].length}).length;return{colorStr:r,sides:n,edgeCount:a}});return!r&&a.some(function(e){var t=e.edgeCount;return t>1&&t<4})?null:a.map(YD).filter(function(e){return null!==e})}function YD(e){var t=e.colorStr,r=e.sides;if(4!==e.edgeCount)return null;var n=new wh;n.parseString(t);var a=0,o=!0;return GD.forEach(function(e){a+=r[e].length/4,o&&(o=r[e].every(function(e){return e>WD}))}),o||(n.alpha=1-Math.pow(UD,a)),n}function ZD(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return[];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),o=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)ba(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(o){ba(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(o[0],"").trim();var i=parseFloat(("."===o[1][0]?"0":"")+o[1]);t.pixels.push(i)}else{if(","!==r[0])throw new Error("Unable to process text-shadows: ".concat(r));ba(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim()}}return n.forEach(function(e){var t=e.pixels;2===t.length&&t.push(0)}),n}function XD(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,o=[],u=i.getComputedStyle(e),s=u.getPropertyValue("text-shadow");if("none"===s)return o;var l=u.getPropertyValue("font-size"),c=parseInt(l);ba(!1===isNaN(c),"Unable to determine font-size value ".concat(l));var d,p=[],h=Q(ZD(s));try{for(h.s();!(d=h.n()).done;){var f=d.value,m=f.colorStr||u.getPropertyValue("color"),D=W(f.pixels,3),g=D[0],v=D[1],b=D[2],y=void 0===b?0:b;if(!(n&&y>=c*n))if(r&&y0){var F=KD(p,{ignoreEdgeCount:a});if(null===F)return null;o.push.apply(o,$(F)),p.splice(0,p.length)}var w=JD({colorStr:m,offsetX:g,offsetY:v,blurRadius:y,fontSize:c});o.push(w)}}}catch(e){h.e(e)}finally{h.f()}if(p.length>0){var E=KD(p,{ignoreEdgeCount:a});if(null===E)return null;o.push.apply(o,$(E))}return o}function JD(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,o=e.fontSize;if(r>a||n>a)return new wh(0,0,0,0);var i=new wh;return i.parseString(t),i.alpha*=function(e,t){return 0===e?1:.185/(e/t+.4)}(a,o),i}function QD(e,t){var r,n=to(e);if(n._stackingContext)return n._stackingContext;var a=[],o=new Map;return(t=null!==(r=t)&&void 0!==r?r:zD(e)).forEach(function(e){var t,r=to(e),n=function(e){var t=new wh;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}(r),i=r._stackingOrder.filter(function(e){return!!e.vNode});i.forEach(function(e,t){var r,n=e.vNode,u=null===(r=i[t-1])||void 0===r?void 0:r.vNode,s=ng(o,n,u);0!==t||o.get(n)||a.unshift(s),o.set(n,s)});var u=null===(t=i[i.length-1])||void 0===t?void 0:t.vNode,s=ng(o,r,u);i.length||a.unshift(s),s.bgColor=n}),n._stackingContext=a,a}function eg(e){var t;if(null===(t=e.descendants)||void 0===t||!t.length){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=VD(e.descendants.reduce(tg,rg()),e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function tg(e,t){var r;return r=e instanceof wh?e:eg(e).color,VD(eg(t).color,r,t.blendMode)}function rg(e,t){var r,n;return{vNode:e,ancestor:t,opacity:parseFloat(null!==(r=null==e?void 0:e.getComputedStylePropertyValue("opacity"))&&void 0!==r?r:1),bgColor:new wh(0,0,0,0),blendMode:(n=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),n||void 0),descendants:[]}}function ng(e,t,r){var n,a=e.get(r),o=null!==(n=e.get(t))&&void 0!==n?n:rg(t,a);return a&&r!==t&&!a.descendants.includes(o)&&a.descendants.unshift(o),o}function ag(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,n=to(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,$(a.bgElms)),sc.set("bgColor",a.incompleteData),a.bgColor;var o=function(e,t,r){var n,a,o=zD(e);if(!o)return null;var u=Ml(e),l=null!==(n=XD(e,{minRatio:r,ignoreEdgeCount:!0}))&&void 0!==n?n:[];l.length&&(l=[{color:l.reduce(qD)}]);for(var c=0;c=r.top&&e.bottom<=a&&e.left>=r.left&&e.right<=n})}function ig(e){return e||void 0}var ug=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=VD(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};function sg(e,t,r){for(var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.getComputedStyle(e),u=[function(){return function(e,t){var r=t.textStrokeEmMin,n=void 0===r?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(0===a)return null;var o=e.getPropertyValue("font-size"),i=a/parseFloat(o);if(isNaN(i)||io,contrastRatio:a,expectedContrastRatio:o}},dg={};he(dg,{isAriaCombobox:function(){return ul},isAriaListbox:function(){return il},isAriaRange:function(){return ll},isAriaTextbox:function(){return ol},isDisabled:function(){return hg},isNativeSelect:function(){return al},isNativeTextbox:function(){return nl}});var pg=["fieldset","button","select","input","textarea"],hg=function e(t){var r=t._isDisabled;if("boolean"==typeof r)return r;var n=t.props.nodeName,a=t.attr("aria-disabled");return r=!(!pg.includes(n)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=r,r};function fg(e,t){if(!e||!t)return!1;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);return r.length===n.length&&r.every(function(r){var n=e[r],a=t[r];return l(n)===l(a)&&("object"===l(n)||"object"===l(a)?fg(n,a):n===a)})}function mg(e){var t=Gs(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),o=W(e.props.nodeName.match(/h(\d)/)||[],2)[1];return r?o&&!n?parseInt(o,10):isNaN(a)||a<1?o?parseInt(o,10):2:a||-1:-1}function Dg(e,t){var r,n=null===(r=t.data)||void 0===r?void 0:r.headingOrder,a=vg(t.node.ancestry,1);if(!n)return e;var o=n.map(function(e){return function(e,t){return H({},e,{ancestry:t.concat(e.ancestry)})}(e,a)}),i=function(e,t){for(;t.length;){var r=gg(e,t);if(-1!==r)return r;t=vg(t,1)}return-1}(e,a);return-1===i?e.push.apply(e,$(o)):e.splice.apply(e,[i,0].concat($(o))),e}function gg(e,t){return e.findIndex(function(e){return Wf(e.ancestry,t)})}function vg(e,t){return e.slice(0,e.length-t)}function bg(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function yg(e){return e.getComputedStylePropertyValue("pointer-events")}function Fg(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function wg(e,t){return yi(e,t)&&!Qu(t)}function Eg(e){return e.map(function(e){return e.actualNode})}function Cg(e){return Math.round(10*e)/10}function xg(e,t,r){var n=r.validRoles,a=void 0===n?[]:n,o=r.validNodeNames,i=void 0===o?[]:o,u=e.props,s=u.nodeName,l=u.nodeType,c=u.nodeValue,d=t?"div > ":"";if(3===l&&""!==c.trim())return d+"#text";if(1!==l||!Qs(e))return!1;var p=fs(e);return p?!a.includes(p)&&d+"[role=".concat(p,"]"):!i.includes(s)&&d+s}function Ag(e){return"div"===e.props.nodeName&&null===fs(e)}function Tg(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map(function(e){return{vChild:e,nested:t}})}function kg(e){return""!==(e||"").trim()}function Ng(e){var t=Tl(e,{emoji:!0,nonBmp:!0,punctuations:!0});return ws(t)}function Bg(e){if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach(function(e){"widget"===Jl(e)&&Ju(e)?t.push(e):t.push.apply(t,$(Bg(e)))}),t}function Rg(e){var t=Jf(e.attr("tabindex"));return null!==t&&t<0}function Sg(e){if(Qu(e))return!0;if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return!1}return e.children.some(function(e){return Sg(e)})}var Og=["block","list-item","table","flex","grid","inline-block"];function _g(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==Og.indexOf(t)||"table-"===t.substr(0,6)}function Pg(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var Ig=["block","list-item","table","flex","grid","inline-block"];function Mg(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==Ig.indexOf(t)||"table-"===t.substr(0,6)}var Lg=Na(function(e,t){var r=i.getComputedStyle(e,t),n=function(e,t){return r.getPropertyValue(e)===t};if(n("content","none")||n("display","none")||n("visibility","hidden")||!1===n("position","absolute"))return 0;if(0===Ch(r).alpha&&n("background-image","none"))return 0;var a=Vg(r.getPropertyValue("width")),o=Vg(r.getPropertyValue("height"));return"px"!==a.unit||"px"!==o.unit?0===a.value||0===o.value?0:1/0:a.value*o.value});function Vg(e){var t=W(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3),r=t[1],n=void 0===r?"":r,a=t[2],o=void 0===a?"":a;return{value:parseFloat(n),unit:o.toLowerCase()}}var jg={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},qg={alert:!0,alertdialog:!0,application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,dialog:!0,form:!0,log:!0,main:!0,navigation:!0,region:!0,search:!1,status:!0,tabpanel:!0};function zg(e,t,r,n){var a=fs(e);if(r||(r=gD(a)),!r)return null;for(var o=r.includes("group"),i=n?e:e.parent;i;){var u=Gs(i,{noPresentational:!0});if(u){if("group"!==u||!o)return r.includes(u)?null:r;t.includes(a)&&r.push(a),r=r.filter(function(e){return"group"!==e}),i=i.parent}else i=i.parent}return r}function $g(e){var t=e.vNode;return 3===t.props.nodeType?t.props.nodeValue.trim().length>0:Ul(t,!1,!0)}var Ug=Na(function(e){if(e){var t=Gs(e,{noPresentational:!0,chromium:!0});return t?Jl(t):Ug(e.parent)}});function Hg(e){var t,r,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,a=arguments.length>2?arguments[2]:void 0,o=null!==(t=null==n||null===(r=n.filter)||void 0===r?void 0:r.call(n,function(e){return a.hasAttr(e)}))&&void 0!==t?t:[];if(0===o.length)return!0;var i=function(e){if(e.parent)return Eo(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),u=i&&Gs(i);if(!u||"treegrid"===u)return!0;var s="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:s,invalidAttrs:o,ownerRole:u}),!1}function Wg(e,t,r){var n,a=r.props,o=a.nodeName,i=a.type,u=(n=r.attr("aria-checked"))?(n=n.toLowerCase(),["mixed","true"].includes(n)?n:"false"):"";if("input"!==o||"checkbox"!==i||!u)return!0;var s,l=(s=r).props.indeterminate?"mixed":s.props.checked?"true":"false";return u===l||(this.data({messageKey:"checkbox",checkState:l}),!1)}var Gg={row:Hg,checkbox:Wg};function Kg(e,t,r){return"aria-required"===e&&"false"===t||!("aria-multiline"!==e||"false"!==t||!r.hasAttr("contenteditable"))}var Yg=function(e,t){try{return"svg"===t.props.nodeName||!!Eo(t,"svg")}catch(e){return!1}},Zg=[function(e,t){return Xg(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!Yg(0,t)},function(e,t){return Ju(t)},function(e,t){return Qu(t)||!Jg(t)},function(e){return!rc(e,{noLengthCompare:!0})}];function Xg(e){return"widget"===Jl(e)}var Jg=Na(function e(t){return!(null==t||!t.parent)&&(!(!Xg(t.parent)||!Qu(t.parent))||e(t.parent))}),Qg=function(e,t){var r=fs(t);return!(r&&!["none","presentation"].includes(r)&&!(ss[r]||{}).accessibleNameRequired&&!Ju(t))};function ev(e){var t;if(null==e||null===(t=e.ownerDocument)||void 0===t||!t.createRange)return!0;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),0===r.getClientRects().length}var tv=function(e,t,r){return r.initiator},rv={emoji:!0,nonBmp:!1,punctuations:!0};function nv(e){return!e||"true"!==e.getAttribute("aria-hidden")&&nv(Xi(e))}var av={"abstractrole-evaluate":function(e,t,r){var n=Uh(r.attr("role")).filter(function(e){return"abstract"===Jl(e)});return n.length>0&&(this.data(n),!0)},"accesskeys-after":function(e){var t={};return e.filter(function(e){if(!e.data)return!1;var r=e.data.toUpperCase();return t[r]?(t[r].relatedNodes.push(e.relatedNodes[0]),!1):(t[r]=e,e.relatedNodes=[],!0)}).map(function(e){return e.result=!!e.relatedNodes.length,e})},"accesskeys-evaluate":function(e,t,r){return Ki(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),!0},"alt-space-value-evaluate":function(e,t,r){var n=r.attr("alt");return"string"==typeof n&&/^\s+$/.test(n)},"aria-allowed-attr-evaluate":function(e,t,r){var n=[],a=Gs(r),o=Ym(a);Array.isArray(t[a])&&(o=tm(t[a].concat(o)));var i,u=Q(r.attrNames);try{for(u.s();!(i=u.n()).done;){var s=i.value;!yD(s)||o.includes(s)||Kg(s,r.attr(s),r)||n.push(s)}}catch(e){u.e(e)}finally{u.f()}return!n.length||(this.data(n.map(function(e){return e+'="'+r.attr(e)+'"'})),!(a||$f(r)||Ju(r))&&void 0)},"aria-allowed-attr-matches":function(e,t){var r=/^aria-/,n=t.attrNames;if(n.length)for(var a=0,o=n.length;a1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=void 0===n||n,o=t.ignoredTags,i=void 0===o?[]:o,u=r.props.nodeName;if(i.map(function(e){return e.toLowerCase()}).includes(u))return!0;var s=rD(r,a);if(s.length){if(this.data(s),!Qs(r))return;return!1}return!0},"aria-allowed-role-matches":function(e,t){return null!==fs(t,{dpub:!0,fallback:!0})},"aria-busy-evaluate":function(e,t,r){return"true"===r.attr("aria-busy")},"aria-conditional-attr-evaluate":function(e,t,r){var n=Gs(r);return!Gg[n]||Gg[n].call(this,e,t,r)},"aria-conditional-checkbox-attr-evaluate":Wg,"aria-conditional-row-attr-evaluate":Hg,"aria-errormessage-evaluate":function(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),o=r.attr("aria-invalid");return!r.hasAttr("aria-invalid")||"false"===o||-1!==t.indexOf(n)||!a||(this.data(Uh(n)),function(e){if(""===e.trim())return ds.ariaAttrs["aria-errormessage"].allowEmpty;var t;try{t=e&&ns(r,"aria-errormessage")[0]}catch(t){return void this.data({messageKey:"idrefs",values:Uh(e)})}return t?Qs(t)?"alert"===t.getAttribute("role")||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||Uh(r.attr("aria-describedby")).indexOf(e)>-1:(this.data({messageKey:"hidden",values:Uh(e)}),!1):void 0}.call(this,n))},"aria-has-attr-matches":function(e,t){var r=/^aria-/;return t.attrNames.some(function(e){return r.test(e)})},"aria-hidden-body-evaluate":function(e,t,r){return"true"!==r.attr("aria-hidden")},"aria-hidden-focus-matches":function(e){return nv(Xi(e))},"aria-label-evaluate":function(e,t,r){return!!ws(is(r))},"aria-labelledby-evaluate":function(e,t,r){try{return!!ws(os(r))}catch(e){return}},"aria-level-evaluate":function(e,t,r){var n=r.attr("aria-level");if(!(parseInt(n,10)>6))return!0},"aria-prohibited-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=(null==t?void 0:t.elementsAllowedAriaLabel)||[],a=r.props.nodeName,o=Gs(r,{chromium:!0}),i=function(e,t,r,n){var a=ds.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||"widget"===Ug(e)?[]:["aria-label","aria-labelledby"]}(r,o,a,n).filter(function(e){return!!r.attrNames.includes(e)&&""!==ws(r.attr(e))});if(0===i.length)return!1;var u=r.hasAttr("role")?"hasRole":"noRole";u+=i.length>1?"Plural":"Singular",this.data({role:o,nodeName:a,messageKey:u,prohibited:i});var s=ml(r,{subtreeDescendant:!0});return""===ws(s)||void 0},"aria-required-attr-evaluate":function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=fs(n),o=n.attrNames,i=DD(a);if(Array.isArray(r[a])&&(i=tm(r[a],i)),!a||!o.length||!i.length)return!0;if(function(e,t){return"separator"===t&&!Ju(e)}(n,a)||function(e,t){return"combobox"===t&&"false"===e.attr("aria-expanded")}(n,a))return!0;if("slider"===a&&null!==(t=n.attr("aria-valuetext"))&&void 0!==t&&t.trim())return!0;var u=qs(n),s=i.filter(function(e){return!n.attr(e)&&!function(e,t){var r;return void 0!==(null===(r=e.implicitAttrs)||void 0===r?void 0:r[t])}(u,e)});return!s.length||(this.data(s),!1)},"aria-required-children-evaluate":function(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=fs(r,{dpub:!0}),o=vD(a);if(null===o)return!0;var i=function(e,t){for(var r,n=[],a=Xs(e),o=function(){if(3===r.props.nodeType&&n.push({vNode:r,role:null}),1!==r.props.nodeType||!Qs(r))return 1;var e=Gs(r,{noPresentational:!0}),o=function(e){return Ds().find(function(t){return e.hasAttr(t)})}(r),i=!!o||Ju(r);if(!e&&!i||["group","rowgroup"].includes(e)&&t.some(function(t){return t===e}))a.push.apply(a,$(r.children));else if(e||i){var u=o||"tabindex";n.push({role:e,attr:u,vNode:r})}};r=a.shift();)o();return n}(r,o),u=i.filter(function(e){var t=e.role;return 1===e.vNode.props.nodeType&&!o.includes(t)});return u.length?(this.relatedNodes(u.map(function(e){return e.vNode})),this.data({messageKey:"unallowed",values:u.map(function(e){return function(e,t){var r=e.props,n=r.nodeName;if(3===r.nodeType)return"#text";var a=fs(e,{dpub:!0});return a?"[role=".concat(a,"]"):t?n+"[".concat(t,"]"):n}(e.vNode,e.attr)}).filter(function(e,t,r){return r.indexOf(e)===t}).join(", ")}),!1):!!function(e,t){return t.some(function(t){var r=t.role;return r&&e.includes(r)})}(o,i)||("true"===r.attr("aria-busy")?(this.data({messageKey:"aria-busy"}),!0):(this.data(o),!(!n.includes(a)||i.some($g))&&void 0))},"aria-required-children-matches":function(e,t){var r=fs(t,{dpub:!0});return!!vD(r)},"aria-required-parent-evaluate":function(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=zg(r,n);if(!a)return!0;var o=function(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=Fa(e.getAttribute("id"));(r=Ti(e).querySelector("[aria-owns~=".concat(n,"]")))&&t.push(r)}e=e.parentElement}return t.length?t:null}(e);if(o)for(var i=0,u=o.length;i1&&void 0!==arguments[1]?arguments[1]:{},r=Gs(arguments.length>2?arguments[2]:void 0);return!!(t.supportedRoles||[]).includes(r)||!(!r||"presentation"===r||"none"===r)&&void 0},"aria-unsupported-attr-evaluate":function(e,t,r){var n=r.attrNames.filter(function(t){var r=ds.ariaAttrs[t];if(!yD(t))return!1;var n=r.unsupported;return"object"!==l(n)?!!n:!js(e,n.exceptions)});return!!n.length&&(this.data(n),!0)},"aria-valid-attr-evaluate":function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach(function(e){-1===t.indexOf(e)&&a.test(e)&&!yD(e)&&n.push(e)}),!n.length||(this.data(n),!1)},"aria-valid-attr-value-evaluate":function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",o=[],i=/^aria-/,u=["aria-errormessage"],s={"aria-controls":function(){var e=!1===["false",null].includes(r.attr("aria-haspopup"));return e&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),"false"!==r.attr("aria-expanded")&&"false"!==r.attr("aria-selected")&&!1===e},"aria-current":function(e){e||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent")},"aria-owns":function(){return"false"!==r.attr("aria-expanded")},"aria-describedby":function(e){e||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(e){e||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return r.attrNames.forEach(function(e){if(!u.includes(e)&&!t.includes(e)&&i.test(e)){var l,c=r.attr(e);try{l=bD(r,e)}catch(t){return n="".concat(e,'="').concat(c,'"'),void(a="idrefs")}s[e]&&!s[e](l)||l||(""!==c||function(e){var t;return"string"===(null===(t=ds.ariaAttrs[e])||void 0===t?void 0:t.type)}(e)?o.push("".concat(e,'="').concat(c,'"')):(n=e,a="empty"))}}),o.length?(this.data(o),!1):!n||void this.data({messageKey:a,needsReview:n})},"attr-non-space-content-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||"string"!=typeof t.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),!1;var n=r.attr(t.attribute);return!!ws(n)||(this.data({messageKey:"emptyAttr"}),!1)},"autocomplete-appropriate-evaluate":function(e,t,r){if("input"!==r.props.nodeName)return!0;var n=["text","search","number","tel"],a=["text","search","url"],o={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};"object"===l(t)&&Object.keys(t).forEach(function(e){o[e]||(o[e]=[]),o[e]=o[e].concat(t[e])});var i=r.attr("autocomplete").split(/\s+/g).map(function(e){return e.toLowerCase()}),u=i[i.length-1];if(Nl.stateTerms.includes(u))return!0;var s=o[u],c=r.hasAttr("type")?ws(r.attr("type")).toLowerCase():"text";return c=Am().includes(c)?c:"text",void 0===s?"text"===c:s.includes(c)},"autocomplete-matches":function(e,t){var r=t.attr("autocomplete");if(!r||""===ws(r))return!1;var n=t.props.nodeName;if(!1===["textarea","input","select"].includes(n))return!1;if("input"===n&&["submit","reset","button","hidden"].includes(t.props.type))return!1;var a=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||"true"===a.toLowerCase())return!1;var o=t.attr("role"),i=Jf(t.attr("tabindex"));if(i<0&&o){var u=ds.ariaRoles[o];if(void 0===u||"widget"!==u.type)return!1}return!(i<0&&t.actualNode&&!nu(t)&&!Qs(t))},"autocomplete-valid-evaluate":function(e,t,r){var n=r.attr("autocomplete")||"";return Bl(n,t)},"avoid-inline-spacing-evaluate":function(e,t){var r=t.cssProperties.filter(function(t){if("important"===e.style.getPropertyPriority(t))return t});return!(r.length>0&&(this.data(r),1))},"braille-label-equivalent-evaluate":function(e,t,r){var n;if(!(null!==(n=r.attr("aria-braillelabel"))&&void 0!==n?n:"").trim())return!0;try{return""!==ws(xl(r))}catch(e){return}},"braille-roledescription-equivalent-evaluate":function(e,t,r){var n,a=null!==(n=r.attr("aria-brailleroledescription"))&&void 0!==n?n:"";if(""===ws(a))return!0;var o=r.attr("aria-roledescription");return"string"!=typeof o?(this.data({messageKey:"noRoleDescription"}),!1):""!==ws(o)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":function(e,t,r){return!tv(0,0,r)||!!e.querySelector("a[href]")},"caption-evaluate":function(e,t,r){return!fm(r,"track").some(function(e){return"captions"===(e.attr("kind")||"").toLowerCase()})&&void 0},"caption-faked-evaluate":function(e){var t=gs(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1||r.reduce(function(e,t,n){return e||t!==r[n+1]&&void 0!==r[n+1]},!1)},"color-contrast-evaluate":function(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,o=t.ignorePseudo,u=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,c=t.contrastRatio,d=t.shadowOutlineEmMax,p=t.pseudoSizeThreshold;if(!nu(e))return this.data({messageKey:"hidden"}),!0;var h=tl(r,!1,!0);if(n&&function(e){var t={nonBmp:!0},r=El(e,t),n=""===ws(Tl(e,t));return r&&n}(h))this.data({messageKey:"nonBmp"});else{var f=i.getComputedStyle(e),m=parseFloat(f.getPropertyValue("font-size")),D=f.getPropertyValue("font-weight"),g=parseFloat(D)>=u||"bold"===D,v=Math.ceil(72*m)/96,b=g&&vi)return e}while(e=e.parent)}}(r,{ignorePseudo:o,pseudoSizeThreshold:p});if(E)return this.data({fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:g?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:y+":1"}),void this.relatedNodes(E.actualNode);var C=XD(e,{minRatio:.001,maxRatio:d});if(null!==C){var x=[],A=ag(e,x,d),T=sg(e,!1,A,t),k=null,N=null,B=null;if(0===C.length)k=ug(A,T);else if(T&&A){B=[].concat($(C),[A]).reduce(qD);var R=ug(A,T),S=ug(A,B),O=ug(B,T);(k=Math.max(R,S,O))!==R&&(N=S>O?"shadowOnBgColor":"fgOnShadowColor")}var _=k>y;if("number"==typeof F&&("number"!=typeof k||kw))return this.data({contrastRatio:k}),!0;var P,I=Math.floor(100*k)/100;null===A?P=sc.get("bgColor"):_||(P=N);var M=1===I,L=1===h.length;return M?P=sc.set("bgColor","equalRatio"):_||!L||a||(P="shortTextContent"),this.data({fgColor:T?T.toHexString():void 0,bgColor:A?A.toHexString():void 0,contrastRatio:I,fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:g?"bold":"normal",messageKey:P,expectedContrastRatio:y+":1",shadowColor:B?B.toHexString():void 0}),null===T||null===A||M||L&&!a&&!_?(P=null,sc.clear(),void this.relatedNodes(x)):(_||this.relatedNodes(x),_)}this.data({messageKey:"complexTextShadows"})}},"color-contrast-matches":function(e,t){var r=t.props,n=r.nodeName,a=r.type;if("option"===n)return!1;if("select"===n&&!e.options.length)return!1;if("input"===n&&["hidden","range","color","checkbox","radio","image"].includes(a))return!1;if(hg(t)||Iu(t))return!1;if(["input","select","textarea"].includes(n)){var o=i.getComputedStyle(e),u=parseInt(o.getPropertyValue("text-indent"),10);if(u){var l=e.getBoundingClientRect();if(l={top:l.top,bottom:l.bottom,left:l.left+u,right:l.right+u},!jh(l,e))return!1}return!0}var c=Ni(t,"label");if("label"===n||c){var d=c||e,p=c?to(c):t;if(d.htmlFor){var h=Ti(d).getElementById(d.htmlFor),f=h&&to(h);if(f&&hg(f))return!1}var m=fm(p,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(m&&hg(m))return!1}for(var D=[],g=t;g;){if(g.props.id){var v=Jm(g).filter(function(e){return Uh(e.getAttribute("aria-labelledby")||"").includes(g.props.id)}).map(function(e){return to(e)});D.push.apply(D,$(v))}g=g.parent}if(D.length>0&&D.every(hg))return!1;if(!function(e){var t=tl(e,!1,!0);return""!==t&&""!==Tl(t,rv)&&e.children.some(function(e){return"#text"===e.props.nodeName&&!Cl(e)})}(t))return!1;for(var b=s.createRange(),y=t.children,F=0;F=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1},"data-table-matches":function(e){return Um(e)},"deprecatedrole-evaluate":function(e,t,r){var n=Gs(r,{dpub:!0,fallback:!0}),a=ds.ariaRoles[n];return!(null==a||!a.deprecated||(this.data(n),0))},"dlitem-evaluate":function(e){var t=Xi(e),r=t.nodeName.toUpperCase(),n=fs(t);return"DIV"===r&&["presentation","none",null].includes(n)&&(r=(t=Xi(t)).nodeName.toUpperCase(),n=fs(t)),"DL"===r&&!(n&&!["presentation","none","list"].includes(n))},"doc-has-title-evaluate":function(){var e=s.title;return!!ws(e)},"duplicate-id-active-matches":function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Fa(t),'"]'),n=Array.from(Ti(e).querySelectorAll(r));return!pD(e)&&n.some(Ju)},"duplicate-id-after":function(e){var t=[];return e.filter(function(e){return-1===t.indexOf(e.data)&&(t.push(e.data),!0)})},"duplicate-id-aria-matches":function(e){return pD(e)},"duplicate-id-evaluate":function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var r=Ti(e),n=Array.from(r.querySelectorAll('[id="'.concat(Fa(t),'"]'))).filter(function(t){return t!==e});return n.length&&this.relatedNodes(n),this.data(t),0===n.length},"duplicate-id-misc-matches":function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Fa(t),'"]'),n=Array.from(Ti(e).querySelectorAll(r));return!pD(e)&&n.every(function(e){return!Ju(e)})},"duplicate-img-label-evaluate":function(e,t,r){if(["none","presentation"].includes(Gs(r)))return!1;var n=Eo(r,t.parentSelector);if(!n)return!1;var a=tl(n,!0).toLowerCase();return""!==a&&a===xl(r).toLowerCase()},"exists-evaluate":function(){},"explicit-evaluate":function(e,t,r){var n=this;if(!r.attr("id"))return!1;if(r.actualNode){var a=Ti(r.actualNode),o=Fa(r.attr("id")),i=Array.from(a.querySelectorAll('label[for="'.concat(o,'"]')));if(this.relatedNodes(i),!i.length)return!1;try{return i.some(function(e){if(nu(e)){var t=ws(as(e,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:t}),!!t}return!0})}catch(e){return}}},"fallbackrole-evaluate":function(e,t,r){var n=Uh(r.attr("role"));return!(n.length<=1)&&(!function(e,t){return!zs(e)&&2===t.length&&t.includes("none")&&t.includes("presentation")}(r,n)||void 0)},"focusable-content-evaluate":function(e,t,r){var n=r.tabbableElements;return!!n&&n.filter(function(e){return e!==r}).length>0},"focusable-disabled-evaluate":function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter(function(e){return n.includes(e.props.nodeName)});return this.relatedNodes(o.map(function(e){return e.actualNode})),!(0!==o.length&&!nc())||!!o.every(function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t})&&void 0},"focusable-element-evaluate":function(e,t,r){return!(!r.hasAttr("contenteditable")||!function e(t){var n=t.attr("contenteditable");if("true"===n||""===n)return!0;if("false"===n)return!1;var a=Eo(r.parent,"[contenteditable]");return!!a&&e(a)}(r))||Qu(r)},"focusable-modal-open-evaluate":function(e,t,r){var n=r.tabbableElements.map(function(e){return e.actualNode});return!n||!n.length||!nc()||void this.relatedNodes(n)},"focusable-no-name-evaluate":function(e,t,r){if(!Qu(r))return!1;try{return!xl(r)}catch(e){return}},"focusable-not-tabbable-evaluate":function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter(function(e){return!n.includes(e.props.nodeName)});return this.relatedNodes(o.map(function(e){return e.actualNode})),!(0!==o.length&&!nc())||!!o.every(function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t})&&void 0},"frame-focusable-content-evaluate":function(e,t,r){if(r.children)try{return!r.children.some(function(e){return Sg(e)})}catch(e){return}},"frame-focusable-content-matches":function(e,t,r){var n,a;return!r.initiator&&!r.focusable&&(null===(n=r.size)||void 0===n?void 0:n.width)*(null===(a=r.size)||void 0===a?void 0:a.height)>1},"frame-tested-after":function(e){var t={};return e.filter(function(e){if("html"!==e.node.ancestry[e.node.ancestry.length-1]){var r=e.node.ancestry.flat(1/0).join(" > ");return t[r]=e,!0}var n=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > ");return t[n]&&(t[n].result=!0),!1})},"frame-tested-evaluate":function(e,t){return!t.isViolation&&void 0},"frame-title-has-text-matches":function(e){var t=e.getAttribute("title");return!!ws(t)},"has-alt-evaluate":function(e,t,r){var n=r.props.nodeName;return!!["img","input","area"].includes(n)&&r.hasAttr("alt")},"has-descendant-after":function(e){return e.some(function(e){return!0===e.result})&&e.forEach(function(e){e.result=!0}),e},"has-descendant-evaluate":function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&nc())return!0;var n=nm(r,t.selector,function(e){return Qs(e)});return this.relatedNodes(n.map(function(e){return e.actualNode})),n.length>0},"has-global-aria-attribute-evaluate":function(e,t,r){var n=Ds().filter(function(e){return r.hasAttr(e)});return this.data(n),n.length>0},"has-implicit-chromium-role-matches":function(e,t){return null!==zs(t,{chromium:!0})},"has-lang-evaluate":function(e,t,r){var n=void 0!==s&&Ba(s);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&kg(r.attr("xml:lang"))&&!kg(r.attr("lang"))&&!n?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some(function(e){return kg(r.attr(e))})||(this.data({messageKey:"noLang"}),!1)},"has-text-content-evaluate":function(e,t,r){try{return""!==ws(ml(r))}catch(e){return}},"has-widget-role-evaluate":function(e){var t=e.getAttribute("role");if(null===t)return!1;var r=Jl(t);return"widget"===r||"composite"===r},"heading-matches":function(e,t){return"heading"===Gs(t)},"heading-order-after":function(e){var t=function(e){return(e=$(e)).sort(function(e,t){var r=e.node,n=t.node;return r.ancestry.length-n.ancestry.length}),e.reduce(Dg,[]).filter(function(e){return-1!==e.level})}(e);return e.forEach(function(e){e.result=function(e,t){var r,n,a,o,i=gg(t,e.node.ancestry),u=null!==(r=null===(n=t[i])||void 0===n?void 0:n.level)&&void 0!==r?r:-1,s=null!==(a=null===(o=t[i-1])||void 0===o?void 0:o.level)&&void 0!==a?a:-1;return 0===i||(-1!==u?u-s<=1:void 0)}(e,t)}),e},"heading-order-evaluate":function(){var e=eo.get("headingOrder");if(e)return!0;var t=nm(c._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",Qs);return e=t.map(function(e){return{ancestry:[Ya(e.actualNode)],level:mg(e)}}),this.data({headingOrder:e}),eo.set("headingOrder",t),!0},"help-same-as-label-evaluate":function(e,t,r){var n=Ol(r),a=e.getAttribute("title");return!!n&&(a||(a="",e.getAttribute("aria-describedby")&&(a=ns(e,"aria-describedby").map(function(e){return e?as(e):""}).join(""))),ws(a)===ws(n))},"hidden-content-evaluate":function(e,t,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&Ul(r)){var n=i.getComputedStyle(e);if("none"===n.getPropertyValue("display"))return;if("hidden"===n.getPropertyValue("visibility")){var a=Xi(e),o=a&&i.getComputedStyle(a);if(!o||"hidden"!==o.getPropertyValue("visibility"))return}}return!0},"hidden-explicit-label-evaluate":function(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Ti(e),a=Fa(e.getAttribute("id")),o=n.querySelector('label[for="'.concat(a,'"]'));if(o&&!Qs(o)){var i;try{i=xl(r).trim()}catch(e){return}return""===i}}return!1},"html-namespace-matches":function(e,t){return!Yg(0,t)},"html5-scope-evaluate":function(e){return!Xl(s)||"TH"===e.nodeName.toUpperCase()},"identical-links-same-purpose-after":function(e){if(e.length<2)return e;for(var t=e.filter(function(e){return void 0!==e.result}),r=[],n={},a=function(e){var a,o=t[e],i=o.data,u=i.name,s=i.urlProps;if(n[u])return 1;var l=t.filter(function(t,r){return t.data.name===u&&r!==e}),c=l.every(function(e){return fg(e.data.urlProps,s)});l.length&&!c&&(o.result=void 0),o.relatedNodes=[],(a=o.relatedNodes).push.apply(a,$(l.map(function(e){return e.relatedNodes[0]}))),n[u]=l,r.push(o)},o=0;o=a)&&("number"!=typeof o||h<=o):void 0},"inserted-into-focus-order-matches":function(e){return Gl(e)},"internal-link-present-evaluate":function(e,t,r){return fm(r,"a[href]").some(function(e){return/^#[^/!]/.test(e.attr("href"))})},"invalid-children-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var o=Tg(r.children);o.length;){var i,u=o.shift(),s=u.vChild,l=u.nested;if(t.divGroups&&!l&&Ag(s)){if(!s.children)return;var c=Tg(s.children,!0);o.push.apply(o,$(c))}else{var d=xg(s,l,t);d&&(a.includes(d)||a.push(d),1===(null==s||null===(i=s.actualNode)||void 0===i?void 0:i.nodeType)&&n.push(s.actualNode))}}return 0!==a.length&&(this.data({values:a.join(", ")}),this.relatedNodes(n),!0)}},"invalidrole-evaluate":function(e,t,r){var n=Uh(r.attr("role"));return!!n.every(function(e){return!hs(e.toLowerCase(),{allowAbstract:!0})})&&(this.data(n),!0)},"is-element-focusable-evaluate":function(e,t,r){return Ju(r)},"is-initiator-matches":tv,"is-on-screen-evaluate":function(e){return nu(e)},"is-visible-matches":function(e){return nu(e)},"is-visible-on-screen-matches":function(e,t){return nu(t)},"label-content-name-mismatch-evaluate":function(e,t,r){var n,a,o,i,u=null==t?void 0:t.pixelThreshold,s=null!==(n=null==t?void 0:t.occurrenceThreshold)&&void 0!==n?n:null==t?void 0:t.occuranceThreshold,l=as(e).toLowerCase(),c=ws(ml(r,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:u,occurrenceThreshold:s})).toLowerCase();return!c||(kl(l)<1||kl(c)<1?void 0:(a=c,o=Ng(l),i=Ng(a),!(!o||!i)&&o.includes(i)))},"label-content-name-mismatch-matches":function(e,t){var r=Gs(e);return!!(r&&nD("widget").includes(r)&&oD().includes(r)&&(ws(is(t))||ws(os(e)))&&ws(tl(t)))},"label-matches":function(e,t){if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;var r=t.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(r)},"landmark-has-body-context-matches":function(e,t){return e.hasAttribute("role")||!Ni(t,"article, aside, main, nav, section")},"landmark-is-top-level-evaluate":function(e){var t=nD("landmark"),r=Xi(e),n=Gs(e);for(this.data({role:n});r;){var a=r.getAttribute("role");if(a||"FORM"===r.nodeName.toUpperCase()||(a=zs(r)),a&&t.includes(a)&&("main"!==a||"complementary"!==n))return!1;r=Xi(r)}return!0},"landmark-is-unique-after":function(e){var t=[];return e.filter(function(e){var r=t.find(function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText});return r?(r.result=!1,r.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)})},"landmark-is-unique-evaluate":function(e,t,r){var n=Gs(e),a=xl(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),!0},"landmark-unique-matches":function(e,t){return function(e){var t=nD("landmark"),r=Gs(e);if(!r)return!1;var n=e.props.nodeName;return"section"===n||"form"===n?!!xl(e):t.indexOf(r)>=0||"region"===r}(t)&&Qs(t)},"layout-table-matches":function(e){return!Um(e)&&!Ju(e)},"link-in-text-block-evaluate":function(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(Mg(e))return!1;for(var a=Xi(e);a&&1===a.nodeType&&!Mg(a);)a=Xi(a);if(a){this.relatedNodes([a]);var o=sg(e),i=sg(a),u=ag(e),s=ag(a),l=o&&i?Pg(o,i):void 0;if(l&&(l=Math.floor(100*l)/100),l&&l>=r)return!0;var c=u&&s?Pg(u,s):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=r)return!0;if(!c){var d,p=null!==(d=sc.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:p}),void sc.clear()}if(l)return!(!n||1!==l||1!==c)||(1===l&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:u?u.toHexString():void 0,parentBackgroundColor:s?s.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:l,requiredContrastRatio:r,nodeColor:o?o.toHexString():void 0,parentColor:i?i.toHexString():void 0}),!1))}},"link-in-text-block-matches":function(e){var t=ws(e.innerText),r=e.getAttribute("role");return(!r||"link"===r)&&!!t&&!!nu(e)&&rc(e)},"link-in-text-block-style-evaluate":function(e){if(_g(e))return!1;for(var t=Xi(e);t&&1===t.nodeType&&!_g(t);)t=Xi(t);if(t){if(this.relatedNodes([t]),_D(e,t))return!0;if(!function(e){for(var t=0,r=["before","after"];tt.maxDelay},"meta-viewport-scale-evaluate":function(e,t,r){var n=t||{},a=n.scaleMinimum,o=void 0===a?2:a,i=n.lowerBound,u=void 0!==i&&i,s=r.attr("content")||"";if(!s)return!0;var l=s.split(/[;,]/).reduce(function(e,t){var r=t.trim();if(!r)return e;var n=W(r.split("="),2),a=n[0],o=n[1];if(!a||!o)return e;var i=a.toLowerCase().trim(),u=o.toLowerCase().trim();return"maximum-scale"===i&&"yes"===u&&(u=1),"maximum-scale"===i&&parseFloat(u)<0||(e[i]=u),e},{});if(u&&l["maximum-scale"]&&parseFloat(l["maximum-scale"])-1&&c<1?(this.data("user-scalable"),!1):!(l["maximum-scale"]&&parseFloat(l["maximum-scale"])1){var o=a.filter(function(e){return Qs(e)});if(o.length>1)return;return!ns(e,"aria-labelledby").includes(o[0])&&void 0}return!1},"nested-interactive-matches":function(e,t){var r=Gs(t);return!!r&&!!ds.ariaRoles[r].childrenPresentational},"no-autoplay-audio-evaluate":function(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(e.duration){var n=t.allowedDuration,a=void 0===n?3:n;return function(e){if(!e.currentSrc)return 0;var t=function(e){var t=e.match(/#t=(.*)/);if(t)return W(t,2)[1].split(",").map(function(e){return/:/.test(e)?function(e){for(var t=e.split(":"),r=0,n=1;t.length>0;)r+=n*parseInt(t.pop(),10),n*=60;return parseFloat(r)}(e):parseFloat(e)})}(e.currentSrc);return t?1===t.length?Math.abs(e.duration-t[0]):Math.abs(t[1]-t[0]):Math.abs(e.duration-(e.currentTime||0))}(e)<=a||!!r}console.warn("axe.utils.preloadMedia did not load metadata")},"no-autoplay-audio-matches":function(e){return!!e.currentSrc&&!e.hasAttribute("paused")&&!e.hasAttribute("muted")},"no-empty-role-matches":function(e,t){return!!t.hasAttr("role")&&!!t.attr("role").trim()},"no-explicit-name-required-matches":Qg,"no-focusable-content-evaluate":function(e,t,r){if(r.children)try{var n=Bg(r);if(!n.length)return!0;var a=n.filter(Rg);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":function(e,t,r){var n,a,o=Gs(r,{noImplicit:!0});this.data(o);try{n=ws(Dl(r)).toLowerCase(),a=ws(xl(r)).toLowerCase()}catch(e){return}return!(!a&&!n)&&!((a||!n)&&a.includes(n))&&void 0},"no-naming-method-matches":function(e,t){var r=qs(t).namingMethods;return!(r&&0!==r.length||"combobox"===fs(t)&&fm(t,'input:not([type="hidden"])').length||hD(t,{popupRoles:["listbox"]}))},"no-negative-tabindex-matches":function(e,t){var r=Jf(t.attr("tabindex"));return null===r||r>=0},"no-role-matches":function(e,t){return!t.attr("role")},"non-empty-if-present-evaluate":function(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),o=r.attr("value");return o&&this.data({messageKey:"has-label"}),!("input"!==n||!["submit","reset"].includes(a))&&null===o},"not-html-matches":function(e,t){return"html"!==t.props.nodeName},"object-is-loaded-matches":function(e,t){return[Qg,ev].every(function(r){return r(e,t)})},"only-dlitems-evaluate":function(e,t,r){var n=["definition","term","list"],a=r.children.reduce(function(e,t){var r=t.actualNode;return"DIV"===r.nodeName.toUpperCase()&&null===Gs(r)?e.concat(t.children):e.concat(t)},[]).reduce(function(e,t){var r=t.actualNode,a=r.nodeName.toUpperCase();if(1===r.nodeType&&Qs(r)){var o=fs(r);("DT"!==a&&"DD"!==a||o)&&(n.includes(o)||e.badNodes.push(r))}else 3===r.nodeType&&""!==r.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0);return e},{badNodes:[],hasNonEmptyTextNode:!1});return a.badNodes.length&&this.relatedNodes(a.badNodes),!!a.badNodes.length||a.hasNonEmptyTextNode},"only-listitems-evaluate":function(e,t,r){var n=!1,a=!1,o=!0,i=[],u=[],s=[];return r.children.forEach(function(e){var t=e.actualNode;if(3!==t.nodeType||""===t.nodeValue.trim()){if(1===t.nodeType&&Qs(t)){o=!1;var r="LI"===t.nodeName.toUpperCase(),l=Gs(e),c="listitem"===l;r||c||i.push(t),r&&!c&&(u.push(t),s.includes(l)||s.push(l)),c&&(a=!0)}}else n=!0}),n||i.length?(this.relatedNodes(i),!0):!o&&!a&&(this.relatedNodes(u),this.data({messageKey:"roleNotValid",roles:s.join(", ")}),!0)},"p-as-heading-evaluate":function(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e),o=(t=t||{}).margins||[],i=n.slice(a+1).find(function(e){return"P"===e.nodeName.toUpperCase()}),u=n.slice(0,a).reverse().find(function(e){return"P"===e.nodeName.toUpperCase()}),s=AD(e),l=i?AD(i):null,c=u?AD(u):null,d=t.passLength,p=t.failLength,h=e.textContent.trim().length,f=null==i?void 0:i.textContent.trim().length;if(h>f*d)return!0;if(!l||!TD(s,l,o))return!0;var m=Ni(r,"blockquote");return!!(m&&"BLOCKQUOTE"===m.nodeName.toUpperCase()||c&&!TD(s,c,o)||h>f*p)&&void 0},"p-as-heading-matches":function(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim();return!(0===r.length||(r.match(/[.!?:;](?![.!?:;])/g)||[]).length>=2)&&0!==t.slice(t.indexOf(e)+1).filter(function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()}).length},"page-no-duplicate-after":function(e){return e.filter(function(e){return"ignored"!==e.data})},"page-no-duplicate-evaluate":function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(!eo.get(n)){eo.set(n,!0);var a=nm(c._tree[0],t.selector,function(e){return Qs(e)});return"string"==typeof t.nativeScopeFilter&&(a=a.filter(function(e){return e.actualNode.hasAttribute("role")||!Ni(e,t.nativeScopeFilter)})),"string"==typeof t.role&&(a=a.filter(function(e){return Gs(e)===t.role})),this.relatedNodes(a.filter(function(e){return e!==r}).map(function(e){return e.actualNode})),a.length<=1}this.data("ignored")},"presentation-role-conflict-matches":function(e,t){return null!==zs(t,{chromiumRoles:!0})},"presentational-role-evaluate":function(e,t,r){var n=fs(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),!1;var a=Gs(r);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(n))return!1;var o,i=Ds().some(function(e){return r.hasAttr(e)}),u=Ju(r);return o=i&&!u?"globalAria":!i&&u?"focusable":"both",this.data({messageKey:o,role:a}),!1},"region-after":function(e){var t=e.filter(function(e){return e.data.isIframe});return e.forEach(function(e){if(!e.result&&1!==e.node.ancestry.length){var r,n=e.node.ancestry.slice(0,-1),a=Q(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(Wf(n,o.node.ancestry)){e.result=o.result;break}}}catch(e){a.e(e)}finally{a.f()}}}),t.forEach(function(e){e.result||(e.result=!0)}),e},"region-evaluate":function(e,t,r){return this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)}),!eo.get("regionlessNodes",function(){return function(e){return CD(c._tree[0],e).map(function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==s.body;)e=e.parent;return e}).filter(function(e,t,r){return r.indexOf(e)===t})}(t)}).includes(r)},"same-caption-summary-evaluate":function(e,t,r){if(void 0!==r.children){var n=r.attr("summary"),a=r.children.find(FD),o=!!a&&ws(ml(a));return!(!o||!n)&&ws(n).toLowerCase()===ws(o).toLowerCase()}},"scope-value-evaluate":function(e,t){var r=e.getAttribute("scope").toLowerCase();return-1!==t.values.indexOf(r)},"scrollable-region-focusable-matches":function(e,t){return void 0!==kf(e,13)&&!1===hD(t)&&fm(t,"*").some(function(e){return Ul(e,!0,!0)})},"skip-link-evaluate":function(e){var t=Uu(e,"href");return!!t&&(Qs(t)||void 0)},"skip-link-matches":function(e){return Ah(e)&&tu(e)},"structured-dlitems-evaluate":function(e,t,r){var n=r.children;if(!n||!n.length)return!1;for(var a,o=!1,i=!1,u=0;u=n||(i=Math.min(i,l),o.push(s)))}}}catch(e){u.e(e)}finally{u.f()}return 0===o.length?(this.data({closestOffset:i,minOffset:n}),!0):(this.relatedNodes(o.map(function(e){return e.actualNode})),o.some(Qu)?(this.data({closestOffset:i,minOffset:n}),!Qu(r)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n}))},"target-size-evaluate":function(e,t,r){var n=(null==t?void 0:t.minSize)||24,a=r.boundingClientRect;if(du(10*n,a))return this.data({messageKey:"large",minSize:n}),!0;var o=du.bind(null,n),i=Ou(r),u=function(e,t){return t.filter(function(t){return!bg(t,e)&&wg(e,t)})}(r,i),s=function(e,t){var r,n=[],a=[],o=Q(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;!wg(e,i)&&mu(e,i)&&"none"!==yg(i)&&(bg(e,i)?n.push(i):a.push(i))}}catch(e){o.e(e)}finally{o.f()}return{fullyObscuringElms:n,partialObscuringElms:a}}(r,i),l=s.fullyObscuringElms,c=s.partialObscuringElms;if(u.length&&(l.length||!o(a)))return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(Eg(u));if(l.length)return this.relatedNodes(Eg(l)),this.data({messageKey:"obscured"}),!0;var d=!Qu(r)&&void 0;if(!o(a))return this.data(H({minSize:n},Fg(a))),d;var p=c.filter(function(e){return"widget"===Jl(e)&&Ju(e)});if(!p.length)return this.data(H({minSize:n},Fg(a))),!0;var h=function(e,t){var r,n=e.boundingClientRect,a=t.map(function(e){return e.boundingClientRect});try{r=Du(n,a)}catch(e){return null}return function(e,t){return e.reduce(function(e,r){var n=du(t,e);return n!==du(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r})}(r)}(r,p);if(h){if(!o(h)){if(u.length)return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(Eg(u));var f=p.every(Qu),m="partiallyObscured".concat(f?"":"NonTabbable");return this.data(H({messageKey:m,minSize:n},Fg(h))),this.relatedNodes(Eg(p)),f?d:void 0}return this.data(H({minSize:n},Fg(h||a))),this.relatedNodes(Eg(p)),!0}this.data({minSize:n,messageKey:"tooManyRects"})},"td-has-header-evaluate":function(e){var t=[],r=jm(e),n=gs(e);return r.forEach(function(e){Hl(e)&&$m(e)&&!mD(e)&&(zm(e,n).some(function(e){return null!==e&&!!Hl(e)})||t.push(e))}),!t.length||(this.relatedNodes(t),!1)},"td-headers-attr-evaluate":function(e){for(var t=[],r=[],n=[],a=0;a0?(this.relatedNodes(n),!1):!r.length||void this.relatedNodes(r)},"th-has-data-cells-evaluate":function(e){var t=jm(e),r=this,n=[];t.forEach(function(e){var t=e.getAttribute("headers");t&&(n=n.concat(t.split(/\s+/)));var r=e.getAttribute("aria-labelledby");r&&(n=n.concat(r.split(/\s+/)))});var a=t.filter(function(e){return""!==ws(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(e.getAttribute("role")))}),o=gs(e),i=!0;return a.forEach(function(e){if(!e.getAttribute("id")||!n.includes(e.getAttribute("id"))){var t=vs(e,o),a=!1;ys(e)&&(a=Gm("down",t,o).find(function(t){return!ys(t)&&zm(t,o).includes(e)})),!a&&Fs(e)&&(a=Gm("right",t,o).find(function(t){return!Fs(t)&&zm(t,o).includes(e)})),a||r.relatedNodes(e),i=i&&a}}),!!i||void 0},"title-only-evaluate":function(e,t,r){var n=Ol(r),a=Ys(r),o=r.attr("aria-describedby");return!(n||!a&&!o)},"unique-frame-title-after":function(e){var t={};return e.forEach(function(e){t[e.data]=void 0!==t[e.data]?++t[e.data]:0}),e.forEach(function(e){e.result=!!t[e.data]}),e},"unique-frame-title-evaluate":function(e,t,r){var n=ws(r.attr("title")).toLowerCase();return this.data(n),!0},"unsupportedrole-evaluate":function(e,t,r){var n=Gs(r,{dpub:!0,fallback:!0}),a=ps(n);return a&&this.data(n),a},"valid-lang-evaluate":function(e,t,r){var n=[];return t.attributes.forEach(function(e){var a=r.attr(e);if("string"==typeof a){var o=ef(a),i=t.value?!t.value.map(ef).includes(o):!Nm(o);(""!==o&&i||""!==a&&!ws(a))&&n.push(e+'="'+r.attr(e)+'"')}}),!(!n.length||"html"!==r.props.nodeName&&!Wl(r)||(this.data(n),0))},"valid-scrollable-semantics-evaluate":function(e,t){return function(e,t){var r=fs(e);return r&&(qg[r]||t.roles.includes(r))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return jg[t]||!1}(e)},"widget-not-inline-matches":function(e,t){return Zg.every(function(r){return r(e,t)})},"window-is-top-matches":function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top},"xml-lang-mismatch-evaluate":function(e,t,r){return ef(r.attr("lang"))===ef(r.attr("xml:lang"))},"xml-lang-mismatch-matches":function(e){var t=ef(e.getAttribute("lang")),r=ef(e.getAttribute("xml:lang"));return Nm(t)&&Nm(r)}},ov=av,iv=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function uv(e){if("string"==typeof e){if(ov[e])return ov[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function sv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==l(e))&&(e={value:e}),e}function lv(e){e&&(this.id=e.id,this.configure(e))}lv.prototype.enabled=!0,lv.prototype.run=function(e,t,r,n,a){var o=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,i=this.getOptions(t.options);if(o){var u,s=new iv(this),l=oo(s,t,n,a);try{u=this.evaluate.call(l,e.actualNode,i,e,r)}catch(t){return e&&e.actualNode&&(t.errorNode=fi.toSpec(e)),void a(t)}l.isAsync||(s.result=u,n(s))}else n(null)},lv.prototype.runSync=function(e,t,r){var n=(t=t||{}).enabled;if(!(void 0===n?this.enabled:n))return null;var a,o=this.getOptions(t.options),i=new iv(this),u=oo(i,t);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{a=this.evaluate.call(u,e.actualNode,o,e,r)}catch(t){throw e&&e.actualNode&&(t.errorNode=fi.toSpec(e)),t}return i.result=a,i},lv.prototype.configure=function(e){var t=this;e.evaluate&&!ov[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this._internalCheck?this.options=sv(e.options):this.options=e.options),["evaluate","after"].filter(function(t){return e.hasOwnProperty(t)}).forEach(function(r){return t[r]=uv(e[r])})},lv.prototype.getOptions=function(e){return this._internalCheck?Fi(this.options,sv(e||{})):e||this.options};var cv=lv,dv=function(e){this.id=e.id,this.result=ra.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function pv(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(ba(ra.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=uv(e.matches))}function hv(e){if(e.length){var t=!1,r={};return e.forEach(function(e){var n=e.results.filter(function(e){return e});r[e.type]=n,n.length&&(t=!0)}),t?r:null}}pv.prototype.matches=function(){return!0},pv.prototype.gather=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,a="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;t.performanceTimer&&Qf.mark(r);var i=bm(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&Qf.mark(a),i=i.filter(function(e){return Qs(e)}),t.performanceTimer&&(Qf.mark(o),Qf.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,o))),t.performanceTimer&&(Qf.mark(n),Qf.measure("rule_"+this.id+"#gather",r,n)),i},pv.prototype.runChecks=function(e,t,r,n,a,o){var i=this,u=ko();this[e].forEach(function(e){var a=i._audit.checks[e.id||e],o=df(a,i.id,r);u.defer(function(e,r){a.run(t,o,n,e,r)})}),u.then(function(t){t=t.filter(function(e){return e}),a({type:e,results:t})}).catch(o)},pv.prototype.runChecksSync=function(e,t,r,n){var a=this,o=[];return this[e].forEach(function(e){var i=a._audit.checks[e.id||e],u=df(i,a.id,r);o.push(i.runSync(t,u,n))}),{type:e,results:o=o.filter(function(e){return e})}},pv.prototype.run=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;r.performanceTimer&&this._trackPerformance();var o,i=ko(),u=new dv(this);try{o=this.gatherAndMatchNodes(e,r)}catch(e){return void a(new d({cause:e,ruleId:this.id}))}r.performanceTimer&&this._logGatherPerformance(o),o.forEach(function(n){i.defer(function(a,o){var i=ko();["any","all","none"].forEach(function(a){i.defer(function(o,i){t.runChecks(a,n,r,e,o,i)})}),i.then(function(e){var r=hv(e);r&&(r.node=new ao(n),u.nodes.push(r),t.reviewOnFail&&(["any","all"].forEach(function(e){r[e].forEach(function(e){!1===e.result&&(e.result=void 0)})}),r.none.forEach(function(e){!0===e.result&&(e.result=void 0)}))),a()}).catch(function(e){return o(e)})})}),i.then(function(){r.performanceTimer&&t._logRulePerformance(),setTimeout(function(){n(u)},0)}).catch(function(e){r.performanceTimer&&t._logRulePerformance(),a(e)})},pv.prototype.runSync=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.performanceTimer&&this._trackPerformance();var n,a=new dv(this);try{n=this.gatherAndMatchNodes(e,r)}catch(e){throw new d({cause:e,ruleId:this.id})}return r.performanceTimer&&this._logGatherPerformance(n),n.forEach(function(n){var o=[];["any","all","none"].forEach(function(a){o.push(t.runChecksSync(a,n,r,e))});var i=hv(o);i&&(i.node=n.actualNode?new ao(n):null,a.nodes.push(i),t.reviewOnFail&&(["any","all"].forEach(function(e){i[e].forEach(function(e){!1===e.result&&(e.result=void 0)})}),i.none.forEach(function(e){!0===e.result&&(e.result=void 0)})))}),r.performanceTimer&&this._logRulePerformance(),a},pv.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},pv.prototype._logGatherPerformance=function(e){na("gather (",e.length,"):",Qf.timeElapsed()+"ms"),Qf.mark(this._markChecksStart)},pv.prototype._logRulePerformance=function(){Qf.mark(this._markChecksEnd),Qf.mark(this._markEnd),Qf.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Qf.measure("rule_"+this.id,this._markStart,this._markEnd)},pv.prototype.gatherAndMatchNodes=function(e,t){var r=this,n="mark_matches_start_"+this.id,a="mark_matches_end_"+this.id,o=this.gather(e,t);return t.performanceTimer&&Qf.mark(n),o=o.filter(function(t){return r.matches(t.actualNode,t,e)}),t.performanceTimer&&(Qf.mark(a),Qf.measure("rule_"+this.id+"#matches",n,a)),o},pv.prototype.after=function(e,t){var r,n=this,a=mi(r=this).map(function(e){var t=r._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null}).filter(Boolean),o=this.id;return a.forEach(function(r){var a,i,u,s=(a=e.nodes,i=r.id,u=[],a.forEach(function(e){mi(e).forEach(function(t){t.id===i&&(t.node=e.node,u.push(t))})}),u),l=df(r,o,t),c=r.after(s,l.options);n.reviewOnFail&&c.forEach(function(e){var t=(n.any.includes(e.id)||n.all.includes(e.id))&&!1===e.result,r=n.none.includes(e.id)&&!0===e.result;(t||r)&&(e.result=void 0)}),s.forEach(function(e){delete e.node,-1===c.indexOf(e)&&(e.filtered=!0)})}),e.nodes=function(e){var t=["any","all","none"],r=e.nodes.filter(function(e){var r=0;return t.forEach(function(t){e[t]=e[t].filter(function(e){return!0!==e.filtered}),r+=e[t].length}),r>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(e,r){if(e)return t.forEach(function(t){e[t].push.apply(e[t],r[t])}),e})]),r}(e),e},pv.prototype.configure=function(e){e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("actIds")&&(this.actIds=e.actIds),e.hasOwnProperty("matches")&&(this.matches=uv(e.matches)),e.impact&&(ba(ra.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var fv=fe(ea()),mv=/\{\{.+?\}\}/g,Dv=X(function e(t){Y(this,e),this.lang="en",this.defaultConfig=t,this.standards=ds,this._init(),this._defaultLocale=null},[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),r=0;r0&&void 0!==arguments[0]?arguments[0]:null,r=(c.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(n){e.data.rules[n.id]||(e.data.rules[n.id]={});var a=e.data.rules[n.id];("string"!=typeof a.helpUrl||t&&a.helpUrl===xv(t,n.id,r))&&(a.helpUrl=xv(e,n.id,r))})}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),gv=Dv;function vv(){return i.origin&&"null"!==i.origin?i.origin:i.location&&i.location.origin&&"null"!==i.location.origin?i.location.origin:void 0}function bv(e,t,r){var n,a;for(n=0,a=e.length;n2&&void 0!==arguments[2]?arguments[2]:{};r.reporter=r.reporter||c._audit.reporter||"v1",c._selectorData={},t instanceof oa||(t=new _m(t));var n=Af(e);if(!n)throw new Error("unknown rule `"+e+"`");var a={initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},o=(n=Object.create(n,{excludeHidden:{value:!1}})).runSync(a,r);pm(o),fa(o);var i=ga([o]);return i.violations.forEach(function(e){return e.nodes.forEach(function(e){e.failureSummary=tf(e)})}),H({},pf(),i,{toolOptions:r})},c.run=function(){for(var e=arguments.length,t=new Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:{};a=io(a);var o=(e.find(function(e){return e.environmentData})||{}).environmentData;c._audit.normalizeOptions(a),a.reporter=null!==(t=null!==(r=a.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",function(e){var t,r=[],n=Q(e);try{for(n.s();!(t=n.n()).done;){var a=t.value,o=r.shift();if(a){a.frameSpec=null!=o?o:null;var i=Sv(a);r.unshift.apply(r,$(i))}}}catch(e){n.e(e)}finally{n.f()}}(e);var i=vi(e);return(i=c._audit.after(i,a)).forEach(pm),function(e,t){return new Promise(function(r,n){Lm(t.reporter)(e,t,r,n)})}(i=i.map(fa),H({environmentData:o},a))},c.commons=BD,c.utils=ia,c.addReporter("na",function(e,t,r){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=z(n,A);r(H({},pf(a),{toolOptions:o},af(e,t)))}),c.addReporter("no-passes",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=z(n,T);t.resultTypes=["violations"];var i=af(e,t).violations;r(H({},pf(a),{toolOptions:o,violations:i}))}),c.addReporter("rawEnv",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=z(n,k);Ov(e,o,function(e){var t=pf(a);r({raw:e,env:t})})}),c.addReporter("raw",Ov),c.addReporter("v1",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=z(n,N),i=af(e,t),u=function(e){e.nodes.forEach(function(e){e.failureSummary=tf(e)})};i.incomplete.forEach(u),i.violations.forEach(u),r(H({},pf(a),{toolOptions:o},i))}),c.addReporter("v2",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=z(n,B),i=af(e,t);r(H({},pf(a),{toolOptions:o},i))},!0)}(),c._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure elements of image maps have alternative text",help:"Active elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure