rastrillo / fiesta Public

Clone
git clone https://amadan.net/rastrillo/fiesta

Plain git — no account needed to clone.

Download

Download this file

File too large to show in full — download it above (showing a truncated preview below).

1/*! axe v4.10.3
2 * Copyright (c) 2015 - 2025 Deque Systems, Inc.
3 *
4 * Your use of this Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 *
8 * This entire copyright notice must appear in every copy of this file you
9 * distribute or in any file that contains substantial portions of this source
10 * code.
11 */
12!function i(window){var q=window,document=window.document;function te(e){return(te="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})(e)}var axe=axe||{};function _(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}axe.version="4.10.3","function"==typeof define&&define.amd&&define("axe-core",[],function(){return axe}),"object"===("undefined"==typeof module?"undefined":te(module))&&module.exports&&"function"==typeof i.toString&&(axe.source="("+i.toString()+')(typeof window === "object" ? window : this);',module.exports=axe),"function"==typeof window.getComputedStyle&&(window.axe=axe),(_.prototype=Object.create(Error.prototype)).constructor=_;var M=["node"],P=["relatedNodes"],I=["node"],B=["variant"],j=["matches"],L=["chromium"],z=["noImplicit"],V=["noPresentational"],$=["precision","format","inGamut"],H=["space"],U=["algorithm"],G=["method"],W=["maxDeltaE","deltaEMethod","steps","maxSteps"],Y=["node"],K=["environmentData"],X=["environmentData"],Z=["environmentData"],J=["environmentData"],Q=["environmentData"];function ee(e){return he(e)||fe(e)||we(e)||me()}function ne(e,t,n){t=ae(t);var r=e,t=re()?Reflect.construct(t,n||[],ae(e).constructor):t.apply(e,n);if(t&&("object"==te(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==(t=r))return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}function re(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(re=function(){return!!e})()}function ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function oe(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&&ie(e,t)}function ie(e,t){return(ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function le(e,t,n){se(e,t),t.set(e,n)}function ue(e,t){se(e,t),t.add(e)}function se(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ce(e,t){return e.get(pe(e,t))}function de(e,t,n){e.set(pe(e,t),n)}function pe(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function b(e,t){if(null==e)return{};var n,r=((e,t)=>{if(null==e)return{};var n,r={};for(n in e)!{}.hasOwnProperty.call(e,n)||t.includes(n)||(r[n]=e[n]);return r})(e,t);if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(e),o=0;o<a.length;o++)n=a[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r}function w(e){return(e=>{if(Array.isArray(e))return De(e)})(e)||fe(e)||we(e)||(()=>{throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function fe(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)!{}.hasOwnProperty.call(r,n)||(e[n]=r[n])}return e}).apply(null,arguments)}function D(e,t){return he(e)||((e,t)=>{var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],u=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,a=e}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}})(e,t)||we(e,t)||me()}function me(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function he(e){if(Array.isArray(e))return e}function ge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ye(r.key),r)}}function ve(e,t,n){return t&&be(e.prototype,t),n&&be(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ye(e){e=((e,t)=>{if("object"!=te(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);if(n=n.call(e,t||"default"),"object"==te(n))throw new TypeError("@@toPrimitive must return a primitive value.");return n})(e,"string");return"symbol"==te(e)?e:e+""}function x(e,t){var n,r,a,o,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return a=!(r=!0),{s:function(){i=i.call(e)},n:function(){var e=i.next();return r=e.done,e},e:function(e){a=!0,n=e},f:function(){try{r||null==i.return||i.return()}finally{if(a)throw n}}};if(Array.isArray(e)||(i=we(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function we(e,t){var n;if(e)return"string"==typeof e?De(e,t):"Map"===(n="Object"===(n={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?De(e,t):void 0}function De(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function te(e){return(te="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})(e)}var xe=void 0,Ee=void 0,Fe=void 0,Ae=void 0,Ce=void 0,ke=void 0,Ne=void 0,Te=void 0,Re=void 0,Se=void 0,Oe=void 0;function e(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}}function _e(e,t){for(var n in t)je(e,n,{get:t[n],enumerable:!0})}function Me(t,n,r){if(n&&"object"===te(n)||"function"==typeof n){var a,o=x(ze(n));try{for(o.s();!(a=o.n()).done;)(()=>{var e=a.value;qe.call(t,e)||"default"===e||je(t,e,{get:function(){return n[e]},enumerable:!(r=Ve(n,e))||r.enumerable})})()}catch(e){o.e(e)}finally{o.f()}}return t}function Pe(e){return Me((t=je(null!=e?Be(Le(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),je(t,"__esModule",{value:!0})),e);var t}function Ie(e,t,n){e=e,t="symbol"!==te(t)?t+"":t,n=n,t in e?je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}var Be=Object.create,je=Object.defineProperty,Le=Object.getPrototypeOf,qe=Object.prototype.hasOwnProperty,ze=Object.getOwnPropertyNames,Ve=Object.getOwnPropertyDescriptor,$e=e(function(e,t){t.exports=function(){}}),He=e(function(e,t){var n=$e()();t.exports=function(e){return e!==n&&null!==e}}),Ue=e(function(e,t){var o=He(),n=Array.prototype.forEach,r=Object.create;t.exports=function(e){var a=r(null);return n.call(arguments,function(e){if(o(e)){var t,n=Object(e),r=a;for(t in n)r[t]=n[t]}}),a}}),Ge=e(function(e,t){t.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20)}}),We=e(function(e,t){t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:0<e?1:-1}}),Ye=e(function(e,t){t.exports=Ge()()?Math.sign:We()}),Ke=e(function(e,t){var n=Ye(),r=Math.abs,a=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?n(e)*a(r(e)):e}}),Xe=e(function(e,t){var n=Ke(),r=Math.max;t.exports=function(e){return r(0,n(e))}}),Ze=e(function(e,t){var r=Xe();t.exports=function(e,t,n){return isNaN(e)?0<=t?n&&t?t-1:t:1:!1!==e&&r(e)}}),Je=e(function(e,t){t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}}),Qe=e(function(e,t){var n=He();t.exports=function(e){if(n(e))return e;throw new TypeError("Cannot use null or undefined")}}),et=e(function(e,t){var l=Je(),u=Qe(),s=Function.prototype.bind,c=Function.prototype.call,d=Object.keys,p=Object.prototype.propertyIsEnumerable;t.exports=function(o,i){return function(n,r){var e,a=arguments[2],t=arguments[3];return n=Object(u(n)),l(r),e=d(n),t&&e.sort("function"==typeof t?s.call(t,n):void 0),"function"!=typeof o&&(o=e[o]),c.call(o,e,function(e,t){return p.call(n,e)?c.call(r,a,n[e],e,n,t):i})}}}),tt=e(function(e,t){t.exports=et()("forEach")}),nt=e(function(){}),rt=e(function(e,t){t.exports=function(){var e=Object.assign;return"function"==typeof e&&(e(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}}),at=e(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}}),ot=e(function(e,t){var n=He(),r=Object.keys;t.exports=function(e){return r(n(e)?Object(e):e)}}),it=e(function(e,t){t.exports=at()()?Object.keys:ot()}),lt=e(function(e,t){var i=it(),l=Qe(),u=Math.max;t.exports=function(t,n){var r,e,a,o=u(arguments.length,2);for(t=Object(l(t)),a=function(e){try{t[e]=n[e]}catch(e){r=r||e}},e=1;e<o;++e)i(n=arguments[e]).forEach(a);if(void 0!==r)throw r;return t}}),ut=e(function(e,t){t.exports=rt()()?Object.assign:lt()}),st=e(function(e,t){var n=He(),r={function:!0,object:!0};t.exports=function(e){return n(e)&&r[te(e)]||!1}}),ct=e(function(e,r){var a=ut(),o=st(),i=He(),l=Error.captureStackTrace;r.exports=function(e){var e=new Error(e),t=arguments[1],n=arguments[2];return i(n)||o(t)&&(n=t,t=null),i(n)&&a(e,n),i(t)&&(e.code=t),l&&l(e,r.exports),e}}),dt=e(function(e,t){var a=Qe(),o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols;t.exports=function(t,n){var r,e=Object(a(n));if(t=Object(a(t)),l(e).forEach(function(e){try{o(t,e,i(n,e))}catch(e){r=e}}),"function"==typeof u&&u(e).forEach(function(e){try{o(t,e,i(n,e))}catch(e){r=e}}),void 0!==r)throw r;return t}}),pt=e(function(e,t){function n(e,t){return t}var r,a,o,i,l,u=Xe();try{Object.defineProperty(n,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===n.length?(r={configurable:!0,writable:!1,enumerable:!1},a=Object.defineProperty,t.exports=function(e,t){return t=u(t),e.length===t?e:(r.value=t,a(e,"length",r))}):(i=dt(),l=[],o=function(e){var t,n=0;if(l[e])return l[e];for(t=[];e--;)t.push("a"+(++n).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},t.exports=function(e,t){if(t=u(t),e.length===t)return e;t=o(t)(e);try{i(t,e)}catch(e){}return t})}),ft=e(function(e,t){t.exports=function(e){return null!=e}}),mt=e(function(e,t){var n=ft(),r={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!n(e)&&hasOwnProperty.call(r,te(e))}}),ht=e(function(e,t){var n=mt();t.exports=function(e){if(!n(e))return!1;try{return e.constructor?e.constructor.prototype===e:!1}catch(e){return!1}}}),gt=e(function(e,t){var n=ht();t.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!n(e)}}),bt=e(function(e,t){var n=gt(),r=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(e){return!!n(e)&&!r.test(a.call(e))}}),vt=e(function(e,t){var n="razdwatrzy";t.exports=function(){return"function"==typeof n.contains&&!0===n.contains("dwa")&&!1===n.contains("foo")}}),yt=e(function(e,t){var n=String.prototype.indexOf;t.exports=function(e){return-1<n.call(this,e,arguments[1])}}),wt=e(function(e,t){t.exports=vt()()?String.prototype.contains:yt()}),Dt=e(function(e,t){var i=ft(),o=bt(),l=ut(),u=Ue(),s=wt();(t.exports=function(e,t){var n,r,a,o;return arguments.length<2||"string"!=typeof e?(o=t,t=e,e=null):o=arguments[2],i(e)?(n=s.call(e,"c"),r=s.call(e,"e"),a=s.call(e,"w")):r=!(n=a=!0),e={value:t,configurable:n,enumerable:r,writable:a},o?l(u(o),e):e}).gs=function(e,t,n){var r,a;return"string"!=typeof e?(a=n,n=t,t=e,e=null):a=arguments[3],i(t)?o(t)?i(n)?o(n)||(a=n,n=void 0):n=void 0:(a=t,t=n=void 0):t=void 0,e=i(e)?(r=s.call(e,"c"),s.call(e,"e")):!(r=!0),t={get:t,set:n,configurable:r,enumerable:e},a?l(u(a),t):t}}),xt=e(function(e,t){var n=Dt(),i=Je(),l=Function.prototype.apply,u=Function.prototype.call,r=Object.create,a=Object.defineProperty,o=Object.defineProperties,s=Object.prototype.hasOwnProperty,c={configurable:!0,enumerable:!1,writable:!0},d=function(e,t){var n;return i(t),s.call(this,"__ee__")?n=this.__ee__:(n=c.value=r(null),a(this,"__ee__",c),c.value=null),n[e]?"object"===te(n[e])?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},p=function(e,t){var n,r;return i(t),r=this,d.call(this,e,n=function(){f.call(r,e,n),l.call(t,this,arguments)}),n.__eeOnceListener__=t,this},f=function(e,t){var n,r,a,o;if(i(t),s.call(this,"__ee__")&&(n=this.__ee__)[e])if("object"===te(r=n[e]))for(o=0;a=r[o];++o)a!==t&&a.__eeOnceListener__!==t||(2===r.length?n[e]=r[o?0:1]:r.splice(o,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},m=function(e){var t,n,r,a,o;if(s.call(this,"__ee__")&&(a=this.__ee__[e]))if("object"===te(a)){for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];for(a=a.slice(),t=0;r=a[t];++t)l.call(r,this,o)}else switch(arguments.length){case 1:u.call(a,this);break;case 2:u.call(a,this,arguments[1]);break;case 3:u.call(a,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];l.call(a,this,o)}},h={on:d,once:p,off:f,emit:m},g={on:n(d),once:n(p),off:n(f),emit:n(m)},b=o({},g);t.exports=e=function(e){return null==e?r(b):o(Object(e),g)},e.methods=h}),Et=e(function(e,t){t.exports=function(){var e,t=Array.from;return"function"==typeof t&&(e=t(t=["raz","dwa"]),Boolean(e&&e!==t&&"dwa"===e[1]))}}),Ft=e(function(e,t){t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":te(globalThis))&&!!globalThis&&globalThis.Array===Array}}),At=e(function(e,t){function n(){if("object"===("undefined"==typeof self?"undefined":te(self))&&self)return self;if("object"===(void 0===window?"undefined":te(window))&&window)return window;throw new Error("Unable to resolve global `this`")}t.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return n()}try{return __global__?__global__:n()}finally{delete Object.prototype.__global__}}()}),Ct=e(function(e,t){t.exports=Ft()()?globalThis:At()}),kt=e(function(e,t){var n=Ct(),r={object:!0,symbol:!0};t.exports=function(){var e,t=n.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!r[te(t.iterator)]&&!!r[te(t.toPrimitive)]&&!!r[te(t.toStringTag)]}}),Nt=e(function(e,t){t.exports=function(e){return!!e&&("symbol"===te(e)||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}}),Tt=e(function(e,t){var n=Nt();t.exports=function(e){if(n(e))return e;throw new TypeError(e+" is not a symbol")}}),Rt=e(function(e,t){var a=Dt(),n=Object.create,o=Object.defineProperty,i=Object.prototype,l=n(null);t.exports=function(e){for(var t,n,r=0;l[e+(r||"")];)++r;return l[e+=r||""]=!0,o(i,t="@@"+e,a.gs(null,function(e){n||(n=!0,o(this,t,a(e)),n=!1)})),t}}),St=e(function(e,t){var n=Dt(),r=Ct().Symbol;t.exports=function(e){return Object.defineProperties(e,{hasInstance:n("",r&&r.hasInstance||e("hasInstance")),isConcatSpreadable:n("",r&&r.isConcatSpreadable||e("isConcatSpreadable")),iterator:n("",r&&r.iterator||e("iterator")),match:n("",r&&r.match||e("match")),replace:n("",r&&r.replace||e("replace")),search:n("",r&&r.search||e("search")),species:n("",r&&r.species||e("species")),split:n("",r&&r.split||e("split")),toPrimitive:n("",r&&r.toPrimitive||e("toPrimitive")),toStringTag:n("",r&&r.toStringTag||e("toStringTag")),unscopables:n("",r&&r.unscopables||e("unscopables"))})}}),Ot=e(function(e,t){var n=Dt(),r=Tt(),a=Object.create(null);t.exports=function(t){return Object.defineProperties(t,{for:n(function(e){return a[e]||(a[e]=t(String(e)))}),keyFor:n(function(e){for(var t in r(e),a)if(a[t]===e)return t})})}}),_t=e(function(e,t){var n,r,a,o=Dt(),i=Tt(),l=Ct().Symbol,u=Rt(),s=St(),c=Ot(),d=Object.create,p=Object.defineProperties,f=Object.defineProperty;if("function"==typeof l)try{String(l()),a=!0}catch(e){}else l=null;r=function(e){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return n(e)},t.exports=n=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return a?l(t):(n=d(r.prototype),t=void 0===t?"":String(t),p(n,{__description__:o("",t),__name__:o("",u(t))}))},s(n),c(n),p(r.prototype,{constructor:o(n),toString:o("",function(){return this.__name__})}),p(n.prototype,{toString:o(function(){return"Symbol ("+i(this).__description__+")"}),valueOf:o(function(){return i(this)})}),f(n.prototype,n.toPrimitive,o("",function(){var e=i(this);return"symbol"===te(e)?e:e.toString()})),f(n.prototype,n.toStringTag,o("c","Symbol")),f(r.prototype,n.toStringTag,o("c",n.prototype[n.toStringTag])),f(r.prototype,n.toPrimitive,o("c",n.prototype[n.toPrimitive]))}),Mt=e(function(e,t){t.exports=kt()()?Ct().Symbol:_t()}),Pt=e(function(e,t){var n=Object.prototype.toString,r=n.call(function(){return arguments}());t.exports=function(e){return n.call(e)===r}}),It=e(function(e,t){var n=Object.prototype.toString,r=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(e){return"function"==typeof e&&r(n.call(e))}}),Bt=e(function(e,t){var n=Object.prototype.toString,r=n.call("");t.exports=function(e){return"string"==typeof e||e&&"object"===te(e)&&(e instanceof String||n.call(e)===r)||!1}}),jt=e(function(e,t){var f=Mt().iterator,m=Pt(),h=It(),g=Xe(),b=Je(),v=Qe(),y=He(),w=Bt(),D=Array.isArray,x=Function.prototype.call,E={configurable:!0,enumerable:!0,writable:!0,value:null},F=Object.defineProperty;t.exports=function(e){var t,n,r,a,o,i,l,u,s,c,d=arguments[1],p=arguments[2];if(e=Object(v(e)),y(d)&&b(d),this&&this!==Array&&h(this))t=this;else{if(!d){if(m(e))return 1!==(o=e.length)?Array.apply(null,e):((a=new Array(1))[0]=e[0],a);if(D(e)){for(a=new Array(o=e.length),n=0;n<o;++n)a[n]=e[n];return a}}a=[]}if(!D(e))if(void 0!==(s=e[f])){for(l=b(s).call(e),t&&(a=new t),u=l.next(),n=0;!u.done;)c=d?x.call(d,p,u.value,n):u.value,t?(E.value=c,F(a,n,E)):a[n]=c,u=l.next(),++n;o=n}else if(w(e)){for(o=e.length,t&&(a=new t),r=n=0;n<o;++n)c=e[n],n+1<o&&55296<=(i=c.charCodeAt(0))&&i<=56319&&(c+=e[++n]),c=d?x.call(d,p,c,r):c,t?(E.value=c,F(a,r,E)):a[r]=c,++r;o=r}if(void 0===o)for(o=g(e.length),t&&(a=new t(o)),n=0;n<o;++n)c=d?x.call(d,p,e[n],n):e[n],t?(E.value=c,F(a,n,E)):a[n]=c;return t&&(E.value=null,a.length=o),a}}),Lt=e(function(e,t){t.exports=Et()()?Array.from:jt()}),qt=e(function(e,t){var n=Lt(),r=Array.isArray;t.exports=function(e){return r(e)?e:n(e)}}),zt=e(function(e,t){var n=qt(),r=He(),a=Je(),o=Array.prototype.slice,i=function(n){return this.map(function(e,t){return e?e(n[t]):n[t]}).concat(o.call(n,this.length))};t.exports=function(e){return(e=n(e)).forEach(function(e){r(e)&&a(e)}),i.bind(e)}}),Vt=e(function(e,t){var n=Je();t.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:n(e.get)},void 0!==e.set?(t.set=n(e.set),e.delete&&(t.delete=n(e.delete)),e.clear&&(t.clear=n(e.clear))):t.set=t.get,t)}}),$t=e(function(e,t){var g=ct(),b=pt(),v=Dt(),n=xt().methods,y=zt(),w=Vt(),D=Function.prototype.apply,x=Function.prototype.call,E=Object.create,F=Object.defineProperties,A=n.on,C=n.emit;t.exports=function(a,t,e){var o,i,l,n,r,u,s,c,d,p,f,m=E(null),h=!1!==t?t:isNaN(a.length)?1:a.length;return e.normalizer&&(p=w(e.normalizer),i=p.get,l=p.set,n=p.delete,r=p.clear),null!=e.resolvers&&(f=y(e.resolvers)),p=i?b(function(e){var t,n,r=arguments;if(f&&(r=f(r)),null!==(t=i(r))&&hasOwnProperty.call(m,t))return s&&o.emit("get",t,r,this),m[t];if(n=1===r.length?x.call(a,this,r[0]):D.call(a,this,r),null===t){if(null!==(t=i(r)))throw g("Circular invocation","CIRCULAR_INVOCATION");t=l(r)}else if(hasOwnProperty.call(m,t))throw g("Circular invocation","CIRCULAR_INVOCATION");return m[t]=n,c&&o.emit("set",t,null,n),n},h):0===t?function(){var e;if(hasOwnProperty.call(m,"data"))return s&&o.emit("get","data",arguments,this),m.data;if(e=arguments.length?D.call(a,this,arguments):x.call(a,this),hasOwnProperty.call(m,"data"))throw g("Circular invocation","CIRCULAR_INVOCATION");return m.data=e,c&&o.emit("set","data",null,e),e}:function(e){var t,n=arguments;if(f&&(n=f(arguments)),t=String(n[0]),hasOwnProperty.call(m,t))return s&&o.emit("get",t,n,this),m[t];if(n=1===n.length?x.call(a,this,n[0]):D.call(a,this,n),hasOwnProperty.call(m,t))throw g("Circular invocation","CIRCULAR_INVOCATION");return m[t]=n,c&&o.emit("set",t,null,n),n},o={original:a,memoized:p,profileName:e.profileName,get:function(e){return f&&(e=f(e)),i?i(e):String(e[0])},has:function(e){return hasOwnProperty.call(m,e)},delete:function(e){var t;hasOwnProperty.call(m,e)&&(n&&n(e),t=m[e],delete m[e],d)&&o.emit("delete",e,t)},clear:function(){var e=m;r&&r(),m=E(null),o.emit("clear",e)},on:function(e,t){return"get"===e?s=!0:"set"===e?c=!0:"delete"===e&&(d=!0),A.call(this,e,t)},emit:C,updateEnv:function(){a=o.original}},e=i?b(function(e){var t=arguments;f&&(t=f(t)),null!==(t=i(t))&&o.delete(t)},h):0===t?function(){return o.delete("data")}:function(e){return f&&(e=f(arguments)[0]),o.delete(e)},h=b(function(){var e=arguments;return 0===t?m.data:(f&&(e=f(e)),e=i?i(e):String(e[0]),m[e])}),u=b(function(){var e=arguments;return 0===t?o.has("data"):(f&&(e=f(e)),null!==(e=i?i(e):String(e[0]))&&o.has(e))}),F(p,{__memoized__:v(!0),delete:v(e),clear:v(o.clear),_get:v(h),_has:v(u)}),o}}),Ht=e(function(e,t){var o=Je(),i=tt(),l=nt(),u=$t(),s=Ze();t.exports=function e(t){var n,r,a;if(o(t),(n=Object(arguments[1])).async&&n.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!n.force?t:(r=s(n.length,t.length,n.async&&l.async),a=u(t,r,n),i(l,function(e,t){n[t]&&e(n[t],a,n)}),e.__profiler__&&e.__profiler__(a),a.updateEnv(),a.memoized)}}),Ut=e(function(e,t){t.exports=function(e){var t,n,r=e.length;if(!r)return"";for(t=String(e[n=0]);--r;)t+=""+e[++n];return t}}),Gt=e(function(e,t){t.exports=function(a){return a?function(e){for(var t=String(e[0]),n=0,r=a;--r;)t+=""+e[++n];return t}:function(){return""}}}),Wt=e(function(e,t){t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}}),Yt=e(function(e,t){t.exports=function(e){return e!=e}}),Kt=e(function(e,t){t.exports=Wt()()?Number.isNaN:Yt()}),Xt=e(function(e,t){var a=Kt(),o=Xe(),i=Qe(),l=Array.prototype.indexOf,u=Object.prototype.hasOwnProperty,s=Math.abs,c=Math.floor;t.exports=function(e){var t,n,r;if(!a(e))return l.apply(this,arguments);for(n=o(i(this).length),e=arguments[1],t=e=isNaN(e)?0:0<=e?c(e):o(this.length)-c(s(e));t<n;++t)if(u.call(this,t)&&(r=this[t],a(r)))return t;return-1}}),Zt=e(function(e,t){var s=Xt(),n=Object.create;t.exports=function(){var o=0,l=[],u=n(null);return{get:function(e){var t,n=0,r=l,a=e.length;if(0===a)return r[a]||null;if(r=r[a]){for(;n<a-1;){if(-1===(t=s.call(r[0],e[n])))return null;r=r[1][t],++n}return-1===(t=s.call(r[0],e[n]))?null:r[1][t]||null}return null},set:function(e){var t,n=0,r=l,a=e.length;if(0===a)r[a]=++o;else{for(r[a]||(r[a]=[[],[]]),r=r[a];n<a-1;)-1===(t=s.call(r[0],e[n]))&&(t=r[0].push(e[n])-1,r[1].push([[],[]])),r=r[1][t],++n;-1===(t=s.call(r[0],e[n]))&&(t=r[0].push(e[n])-1),r[1][t]=++o}return u[o]=e,o},delete:function(e){var t,n=0,r=l,a=u[e],o=a.length,i=[];if(0===o)delete r[o];else if(r=r[o]){for(;n<o-1;){if(-1===(t=s.call(r[0],a[n])))return;i.push(r,t),r=r[1][t],++n}if(-1===(t=s.call(r[0],a[n])))return;for(e=r[1][t],r[0].splice(t,1),r[1].splice(t,1);!r[0].length&&i.length;)t=i.pop(),(r=i.pop())[0].splice(t,1),r[1].splice(t,1)}delete u[e]},clear:function(){l=[],u=n(null)}}}}),Jt=e(function(e,t){var a=Xt();t.exports=function(){var t=0,n=[],r=[];return{get:function(e){e=a.call(n,e[0]);return-1===e?null:r[e]},set:function(e){return n.push(e[0]),r.push(++t),t},delete:function(e){e=a.call(r,e);-1!==e&&(n.splice(e,1),r.splice(e,1))},clear:function(){n=[],r=[]}}}}),Qt=e(function(e,t){var s=Xt(),n=Object.create;t.exports=function(i){var a=0,l=[[],[]],u=n(null);return{get:function(e){for(var t,n=0,r=l;n<i-1;){if(-1===(t=s.call(r[0],e[n])))return null;r=r[1][t],++n}return-1!==(t=s.call(r[0],e[n]))&&r[1][t]||null},set:function(e){for(var t,n=0,r=l;n<i-1;)-1===(t=s.call(r[0],e[n]))&&(t=r[0].push(e[n])-1,r[1].push([[],[]])),r=r[1][t],++n;return-1===(t=s.call(r[0],e[n]))&&(t=r[0].push(e[n])-1),r[1][t]=++a,u[a]=e,a},delete:function(e){for(var t,n=0,r=l,a=[],o=u[e];n<i-1;){if(-1===(t=s.call(r[0],o[n])))return;a.push(r,t),r=r[1][t],++n}if(-1!==(t=s.call(r[0],o[n]))){for(e=r[1][t],r[0].splice(t,1),r[1].splice(t,1);!r[0].length&&a.length;)t=a.pop(),(r=a.pop())[0].splice(t,1),r[1].splice(t,1);delete u[e]}},clear:function(){l=[[],[]],u=n(null)}}}}),en=e(function(e,t){var n=Je(),r=tt(),l=Function.prototype.call;t.exports=function(e,a){var o={},i=arguments[2];return n(a),r(e,function(e,t,n,r){o[t]=l.call(a,i,e,t,n,r)}),o}}),tn=e(function(e,t){function o(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}function n(e){var t,n,r=document.createTextNode(""),a=0;return new e(function(){var e;if(t)n&&(t=n.concat(t));else{if(!n)return;t=n}if(n=t,t=null,"function"==typeof n)e=n,n=null,e();else for(r.data=a=++a%2;n;)e=n.shift(),n.length||(n=null),e()}).observe(r,{characterData:!0}),function(e){o(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,r.data=a=++a%2)}}t.exports=(()=>{if("object"===("undefined"==typeof process?"undefined":te(process))&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(o(e))};if("object"===(void 0===document?"undefined":te(document))&&document){if("function"==typeof MutationObserver)return n(MutationObserver);if("function"==typeof WebKitMutationObserver)return n(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(o(e))}:"function"==typeof setTimeout||"object"===("undefined"==typeof setTimeout?"undefined":te(setTimeout))?function(e){setTimeout(o(e),0)}:null})()}),nn=e(function(){var p=Lt(),t=en(),n=dt(),a=pt(),f=tn(),m=Array.prototype.slice,h=Function.prototype.apply,g=Object.create;nt().async=function(e,i){var l,u,s,c=g(null),d=g(null),o=i.memoized,r=i.original;i.memoized=a(function(e){var t=arguments,n=t[t.length-1];return"function"==typeof n&&(l=n,t=m.call(t,0,-1)),o.apply(u=this,s=t)},o);try{n(i.memoized,o)}catch(e){}i.on("get",function(t){var n,r,a;l&&(c[t]?("function"==typeof c[t]?c[t]=[c[t],l]:c[t].push(l),l=null):(n=l,r=u,a=s,l=u=s=null,f(function(){var e;hasOwnProperty.call(d,t)?(e=d[t],i.emit("getasync",t,a,r),h.call(n,e.context,e.args)):(l=n,u=r,s=a,o.apply(r,a))})))}),i.original=function(){var e,t,n,o;return l?(e=p(arguments),n=l,l=u=s=null,e.push(t=function e(t){var n,r,a=e.id;if(null==a)f(h.bind(e,this,arguments));else if(delete e.id,n=c[a],delete c[a],n)return r=p(arguments),i.has(a)&&(t?i.delete(a):(d[a]={context:this,args:r},i.emit("setasync",a,"function"==typeof n?1:n.length))),"function"==typeof n?o=h.call(n,this,r):n.forEach(function(e){o=h.call(e,this,r)},this),o}),o=h.call(r,this,e),t.cb=n,l=t,o):h.call(r,this,arguments)},i.on("set",function(e){l?(c[e]?"function"==typeof c[e]?c[e]=[c[e],l.cb]:c[e].push(l.cb):c[e]=l.cb,delete l.cb,l.id=e,l=null):i.delete(e)}),i.on("delete",function(e){var t;hasOwnProperty.call(c,e)||d[e]&&(t=d[e],delete d[e],i.emit("deleteasync",e,m.call(t.args,1)))}),i.on("clear",function(){var e=d;d=g(null),i.emit("clearasync",t(e,function(e){return m.call(e.args,1)}))})}}),rn=e(function(e,t){var n=Array.prototype.forEach,r=Object.create;t.exports=function(e){var t=r(null);return n.call(arguments,function(e){t[e]=!0}),t}}),an=e(function(e,t){t.exports=function(e){return"function"==typeof e}}),on=e(function(e,t){var n=an();t.exports=function(e){try{return e&&n(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}}),ln=e(function(e,t){var n=Qe(),r=on();t.exports=function(e){return r(n(e))}}),un=e(function(e,t){var n=an();t.exports=function(e){try{return e&&n(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}}),sn=e(function(e,t){var n=un(),r=/[\n\r\u2028\u2029]/g;t.exports=function(e){e=n(e);return e=(e=100<e.length?e.slice(0,99)+"…":e).replace(r,function(e){return JSON.stringify(e).slice(1,-1)})}}),cn=e(function(e,t){function n(e){return!!e&&("object"===te(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=n,t.exports.default=n}),dn=e(function(){var t=en(),e=rn(),n=ln(),r=sn(),f=cn(),m=tn(),a=Object.create,o=e("then","then:finally","done","done:finally");nt().promise=function(u,s){var c=a(null),d=a(null),p=a(null);if(!0===u)u=null;else if(u=n(u),!o[u])throw new TypeError("'"+r(u)+"' is not valid promise mode");s.on("set",function(n,e,t){var r=!1;if(f(t)){c[n]=1,p[n]=t;var a=function(e){var t=c[n];if(r)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.");t&&(delete c[n],d[n]=e,s.emit("setasync",n,t))},o=function(){r=!0,c[n]&&(delete c[n],delete p[n],s.delete(n))},i=u;if("then"===(i=i||"then")){var l=function(){m(o)};"function"==typeof(t=t.then(function(e){m(a.bind(this,e))},l)).finally&&t.finally(l)}else if("done"===i){if("function"!=typeof t.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");t.done(a,o)}else if("done:finally"===i){if("function"!=typeof t.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof t.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");t.done(a),t.finally(o)}}else d[n]=t,s.emit("setasync",n,1)}),s.on("get",function(e,t,n){var r,a;c[e]?++c[e]:(r=p[e],a=function(){s.emit("getasync",e,t,n)},f(r)?"function"==typeof r.done?r.done(a):r.then(function(){m(a)}):a())}),s.on("delete",function(e){var t;delete p[e],c[e]?delete c[e]:hasOwnProperty.call(d,e)&&(t=d[e],delete d[e],s.emit("deleteasync",e,[t]))}),s.on("clear",function(){var e=d;d=a(null),c=a(null),p=a(null),s.emit("clearasync",t(e,function(e){return[e]}))})}}),pn=e(function(){var a=Je(),o=tt(),i=nt(),l=Function.prototype.apply;i.dispose=function(n,e,t){var r;a(n),t.async&&i.async||t.promise&&i.promise?(e.on("deleteasync",r=function(e,t){l.call(n,null,t)}),e.on("clearasync",function(e){o(e,function(e,t){r(t,e)})})):(e.on("delete",r=function(e,t){n(t)}),e.on("clear",function(e){o(e,function(e,t){r(t,e)})}))}}),fn=e(function(e,t){t.exports=2147483647}),mn=e(function(e,t){var n=Xe(),r=fn();t.exports=function(e){if(e=n(e),r<e)throw new TypeError(e+" exceeds maximum possible timeout");return e}}),hn=e(function(){var l=Lt(),u=tt(),s=tn(),c=cn(),d=mn(),p=nt(),f=Function.prototype,m=Math.max,h=Math.min,g=Object.create;p.maxAge=function(t,a,o){var n,e,r,i;(t=d(t))&&(n=g(null),e=o.async&&p.async||o.promise&&p.promise?"async":"",a.on("set"+e,function(e){n[e]=setTimeout(function(){a.delete(e)},t),"function"==typeof n[e].unref&&n[e].unref(),i&&(i[e]&&"nextTick"!==i[e]&&clearTimeout(i[e]),i[e]=setTimeout(function(){delete i[e]},r),"function"==typeof i[e].unref)&&i[e].unref()}),a.on("delete"+e,function(e){clearTimeout(n[e]),delete n[e],i&&("nextTick"!==i[e]&&clearTimeout(i[e]),delete i[e])}),o.preFetch&&(r=!0===o.preFetch||isNaN(o.preFetch)?.333:m(h(Number(o.preFetch),1),0))&&(i={},r=(1-r)*t,a.on("get"+e,function(t,n,r){i[t]||(i[t]="nextTick",s(function(){var e;"nextTick"===i[t]&&(delete i[t],a.delete(t),o.async&&(n=l(n)).push(f),e=a.memoized.apply(r,n),o.promise)&&c(e)&&("function"==typeof e.done?e.done(f,f):e.then(f,f))}))})),a.on("clear"+e,function(){u(n,function(e){clearTimeout(e)}),n={},i&&(u(i,function(e){"nextTick"!==e&&clearTimeout(e)}),i={})}))}}),gn=e(function(e,t){var n=Xe(),c=Object.create,d=Object.prototype.hasOwnProperty;t.exports=function(r){var a,o=0,i=1,l=c(null),u=c(null),s=0;return r=n(r),{hit:function(e){var t=u[e],n=++s;if(l[n]=e,u[e]=n,!t)return++o<=r?void 0:(e=l[i],a(e),e);if(delete l[t],i===t)for(;!d.call(l,++i););},delete:a=function(e){var t=u[e];if(t&&(delete l[t],delete u[e],--o,i===t))if(o)for(;!d.call(l,++i););else s=0,i=1},clear:function(){o=0,i=1,l=c(null),u=c(null),s=0}}}}),bn=e(function(){var a=Xe(),o=gn(),i=nt();i.max=function(e,t,n){var r;(e=a(e))&&(r=o(e),e=n.async&&i.async||n.promise&&i.promise?"async":"",t.on("set"+e,n=function(e){void 0!==(e=r.hit(e))&&t.delete(e)}),t.on("get"+e,n),t.on("delete"+e,r.delete),t.on("clear"+e,r.clear))}}),vn=e(function(){var a=Dt(),o=nt(),i=Object.create,l=Object.defineProperties;o.refCounter=function(e,t,n){var r=i(null),n=n.async&&o.async||n.promise&&o.promise?"async":"";t.on("set"+n,function(e,t){r[e]=t||1}),t.on("get"+n,function(e){++r[e]}),t.on("delete"+n,function(e){delete r[e]}),t.on("clear"+n,function(){r={}}),l(t.memoized,{deleteRef:a(function(){var e=t.get(arguments);return null!==e&&r[e]?!--r[e]&&(t.delete(e),!0):null}),getRefCount:a(function(){var e=t.get(arguments);return null!==e&&r[e]||0})})}}),yn=e(function(e,t){var r=Ue(),a=Ze(),o=Ht();t.exports=function(e){var t,n=r(arguments[1]);return n.normalizer||0!==(t=n.length=a(n.length,e.length,n.async))&&(n.primitive?!1===t?n.normalizer=Ut():1<t&&(n.normalizer=Gt()(t)):n.normalizer=!1===t?Zt()():1===t?Jt()():Qt()(t)),n.async&&nn(),n.promise&&dn(),n.dispose&&pn(),n.maxAge&&hn(),n.max&&bn(),n.refCounter&&vn(),o(e,n)}}),wn=e(function(i){Object.defineProperty(i,"__esModule",{value:!0}),i.isIdentStart=function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"-"===e||"_"===e},i.isIdent=function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"0"<=e&&e<="9"||"-"===e||"_"===e},i.isHex=function(e){return"a"<=e&&e<="f"||"A"<=e&&e<="F"||"0"<=e&&e<="9"},i.escapeIdentifier=function(e){for(var t=e.length,n="",r=0;r<t;){var a=e.charAt(r);if(i.identSpecialChars[a])n+="\\"+a;else if("_"===a||"-"===a||"A"<=a&&a<="Z"||"a"<=a&&a<="z"||0!==r&&"0"<=a&&a<="9")n+=a;else{a=a.charCodeAt(0);if(55296==(63488&a)){var o=e.charCodeAt(r++);if(55296!=(64512&a)||56320!=(64512&o))throw Error("UCS-2(decode): illegal sequence");a=((1023&a)<<10)+(1023&o)+65536}n+="\\"+a.toString(16)+" "}r++}return n},i.escapeStr=function(e){for(var t,n=e.length,r="",a=0;a<n;){var o=e.charAt(a);'"'===o?o='\\"':"\\"===o?o="\\\\":void 0!==(t=i.strReplacementsRev[o])&&(o=t),r+=o,a++}return'"'+r+'"'},i.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},i.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},i.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},i.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}}),Dn=e(function(e){Object.defineProperty(e,"__esModule",{value:!0});var b=wn();e.parseCssSelector=function(o,i,l,u,a,s){var c=o.length,d="";function p(e,t){var n="";for(i++,d=o.charAt(i);i<c;){if(d===e)return i++,n;if("\\"===d){i++;var r;if((d=o.charAt(i))===e)n+=e;else if(void 0!==(r=t[d]))n+=r;else{if(b.isHex(d)){var a=d;for(i++,d=o.charAt(i);b.isHex(d);)a+=d,i++,d=o.charAt(i);" "===d&&(i++,d=o.charAt(i)),n+=String.fromCharCode(parseInt(a,16));continue}n+=d}}else n+=d;i++,d=o.charAt(i)}return n}function f(){var e="";for(d=o.charAt(i);i<c;){if(!b.isIdent(d)){if("\\"!==d)return e;if(c<=++i)throw Error("Expected symbol but end of file reached.");if(d=o.charAt(i),!b.identSpecialChars[d]&&b.isHex(d)){var t=d;for(i++,d=o.charAt(i);b.isHex(d);)t+=d,i++,d=o.charAt(i);" "===d&&(i++,d=o.charAt(i)),e+=String.fromCharCode(parseInt(t,16));continue}}e+=d,i++,d=o.charAt(i)}return e}function m(){d=o.charAt(i);for(;" "===d||"\t"===d||"\n"===d||"\r"===d||"\f"===d;)i++,d=o.charAt(i)}function h(){var e=n();if(!e)return null;var t=e;for(d=o.charAt(i);","===d;){if(i++,m(),"selectors"!==t.type&&(t={type:"selectors",selectors:[e]}),!(e=n()))throw Error('Rule expected after ",".');t.selectors.push(e)}return t}function n(){m();var e={type:"ruleSet"},t=g();if(!t)return null;for(var n=e;t&&(t.type="rule",n.rule=t,n=t,m(),d=o.charAt(i),!(c<=i||","===d||")"===d));)if(a[d]){var r=d;if(i++,m(),!(t=g()))throw Error('Rule expected after "'+r+'".');t.nestingOperator=r}else(t=g())&&(t.nestingOperator=null);return e}function g(){for(var e=null;i<c;)if("*"===(d=o.charAt(i)))i++,(e=e||{}).tagName="*";else if(b.isIdentStart(d)||"\\"===d)(e=e||{}).tagName=f();else if("."===d)i++,((e=e||{}).classNames=e.classNames||[]).push(f());else if("#"===d)i++,(e=e||{}).id=f();else if("["===d){i++,m();var t={name:f()};if(m(),"]"===d)i++;else{var n="";if(u[d]&&(n=d,i++,d=o.charAt(i)),c<=i)throw Error('Expected "=" but end of file reached.');if("="!==d)throw Error('Expected "=" but "'+d+'" found.');t.operator=n+"=",i++,m();var r="";if(t.valueType="string",'"'===d)r=p('"',b.doubleQuotesEscapeChars);else if("'"===d)r=p("'",b.singleQuoteEscapeChars);else if(s&&"$"===d)i++,r=f(),t.valueType="substitute";else{for(;i<c&&"]"!==d;)r+=d,i++,d=o.charAt(i);r=r.trim()}if(m(),c<=i)throw Error('Expected "]" but end of file reached.');if("]"!==d)throw Error('Expected "]" but "'+d+'" found.');i++,t.value=r}((e=e||{}).attrs=e.attrs||[]).push(t)}else{if(":"!==d)break;i++;n=f(),t={name:n};if("("===d){i++;var a="";if(m(),"selector"===l[n])t.valueType="selector",a=h();else{if(t.valueType=l[n]||"string",'"'===d)a=p('"',b.doubleQuotesEscapeChars);else if("'"===d)a=p("'",b.singleQuoteEscapeChars);else if(s&&"$"===d)i++,a=f(),t.valueType="substitute";else{for(;i<c&&")"!==d;)a+=d,i++,d=o.charAt(i);a=a.trim()}m()}if(c<=i)throw Error('Expected ")" but end of file reached.');if(")"!==d)throw Error('Expected ")" but "'+d+'" found.');i++,t.value=a}((e=e||{}).pseudos=e.pseudos||[]).push(t)}return e}var e=h();if(i<c)throw Error('Rule expected but "'+o.charAt(i)+'" found.');return e}}),xn=e(function(e){Object.defineProperty(e,"__esModule",{value:!0});var o=wn();e.renderEntity=function t(e){var n="";switch(e.type){case"ruleSet":for(var r=e.rule,a=[];r;)r.nestingOperator&&a.push(r.nestingOperator),a.push(t(r)),r=r.rule;n=a.join(" ");break;case"selectors":n=e.selectors.map(t).join(", ");break;case"rule":e.tagName&&(n="*"===e.tagName?"*":o.escapeIdentifier(e.tagName)),e.id&&(n+="#"+o.escapeIdentifier(e.id)),e.classNames&&(n+=e.classNames.map(function(e){return"."+o.escapeIdentifier(e)}).join("")),e.attrs&&(n+=e.attrs.map(function(e){return"operator"in e?"substitute"===e.valueType?"["+o.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+o.escapeIdentifier(e.name)+e.operator+o.escapeStr(e.value)+"]":"["+o.escapeIdentifier(e.name)+"]"}).join("")),e.pseudos&&(n+=e.pseudos.map(function(e){return e.valueType?"selector"===e.valueType?":"+o.escapeIdentifier(e.name)+"("+t(e.value)+")":"substitute"===e.valueType?":"+o.escapeIdentifier(e.name)+"($"+e.value+")":"numeric"===e.valueType?":"+o.escapeIdentifier(e.name)+"("+e.value+")":":"+o.escapeIdentifier(e.name)+"("+o.escapeIdentifier(e.value)+")":":"+o.escapeIdentifier(e.name)}).join(""));break;default:throw Error('Unknown entity type: "'+e.type+'".')}return n}}),En=e(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Dn(),n=xn();function r(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}r.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)this.pseudos[r[n]]="selector";return this},r.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)delete this.pseudos[r[n]];return this},r.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)this.pseudos[r[n]]="numeric";return this},r.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)delete this.pseudos[r[n]];return this},r.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)this.ruleNestingOperators[r[n]]=!0;return this},r.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)delete this.ruleNestingOperators[r[n]];return this},r.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)this.attrEqualityMods[r[n]]=!0;return this},r.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)delete this.attrEqualityMods[r[n]];return this},r.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},r.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},r.prototype.parse=function(e){return t.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},r.prototype.render=function(e){return n.renderEntity(e).trim()},e.CssSelectorParser=r}),Fn=e(function(e,t){var n;n=function(){function u(e){return"function"==typeof e}var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,t=void 0,a=void 0,i=function(e,t){d[r]=e,d[r+1]=t,2===(r+=2)&&(a?a(p):I())};var e=void 0!==window?window:void 0,o=e||{},o=o.MutationObserver||o.WebKitMutationObserver,l="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),s="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function c(){var e=setTimeout;return function(){return e(p,1)}}var d=new Array(1e3);function p(){for(var e=0;e<r;e+=2)(0,d[e])(d[e+1]),d[e]=void 0,d[e+1]=void 0;r=0}function f(){try{var e=Function("return this")().require("vertx");return void 0!==(t=e.runOnLoop||e.runOnContext)?function(){t(p)}:c()}catch(e){return c()}}var m,h,g,I=void 0;function b(e,t){var n,r=this,a=new this.constructor(w),o=(void 0===a[y]&&O(a),r._state);return o?(n=arguments[o-1],i(function(){return R(o,a,n,r._result)})):N(r,a,e,t),a}function v(e){var t;return e&&"object"===te(e)&&e.constructor===this?e:(A(t=new this(w),e),t)}var I=l?function(){return process.nextTick(p)}:o?(h=0,l=new o(p),g=document.createTextNode(""),l.observe(g,{characterData:!0}),function(){g.data=h=++h%2}):s?((m=new MessageChannel).port1.onmessage=p,function(){return m.port2.postMessage(0)}):(void 0===e?f:c)(),y=Math.random().toString(36).substring(2);function w(){}var D=void 0,x=1,E=2;function B(e,r,a){i(function(t){var n=!1,e=((e,t,n,r)=>{try{e.call(t,n,r)}catch(e){return e}})(a,r,function(e){n||(n=!0,(r!==e?A:C)(t,e))},function(e){n||(n=!0,k(t,e))},t._label);!n&&e&&(n=!0,k(t,e))},e)}function F(e,t,n){var r,a;t.constructor===e.constructor&&n===b&&t.constructor.resolve===v?(r=e,(a=t)._state===x?C(r,a._result):a._state===E?k(r,a._result):N(a,void 0,function(e){return A(r,e)},function(e){return k(r,e)})):void 0!==n&&u(n)?B(e,t,n):C(e,t)}function A(t,e){if(t===e)k(t,new TypeError("You cannot resolve a promise with itself"));else if(r=te(n=e),null===n||"object"!==r&&"function"!==r)C(t,e);else{n=void 0;try{n=e.then}catch(e){return void k(t,e)}F(t,e,n)}var n,r}function j(e){e._onerror&&e._onerror(e._result),T(e)}function C(e,t){e._state===D&&(e._result=t,e._state=x,0!==e._subscribers.length)&&i(T,e)}function k(e,t){e._state===D&&(e._state=E,e._result=t,i(j,e))}function N(e,t,n,r){var a=e._subscribers,o=a.length;e._onerror=null,a[o]=t,a[o+x]=n,a[o+E]=r,0===o&&e._state&&i(T,e)}function T(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r,a=void 0,o=e._result,i=0;i<t.length;i+=3)r=t[i],a=t[i+n],r?R(n,r,a,o):a(o);e._subscribers.length=0}}function R(e,t,n,r){var a=u(n),o=void 0,i=void 0,l=!0;if(a){try{o=n(r)}catch(e){l=!1,i=e}if(t===o)return void k(t,new TypeError("A promises callback cannot return that same promise."))}else o=r;t._state===D&&(a&&l?A(t,o):!1===l?k(t,i):e===x?C(t,o):e===E&&k(t,o))}var S=0;function O(e){e[y]=S++,e._state=void 0,e._result=void 0,e._subscribers=[]}_.prototype._enumerate=function(e){for(var t=0;this._state===D&&t<e.length;t++)this._eachEntry(e[t],t)},_.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===v){var a,o=void 0,i=void 0,l=!1;try{o=t.then}catch(e){l=!0,i=e}o===b&&t._state!==D?this._settledAt(t._state,e,t._result):"function"!=typeof o?(this._remaining--,this._result[e]=t):n===M?(a=new n(w),l?k(a,i):F(a,t,o),this._willSettleAt(a,e)):this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},_.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===D&&(this._remaining--,e===E?k(r,n):this._result[t]=n),0===this._remaining&&C(r,this._result)},_.prototype._willSettleAt=function(e,t){var n=this;N(e,void 0,function(e){return n._settledAt(x,t,e)},function(e){return n._settledAt(E,t,e)})};var L=_;function _(e,t){this._instanceConstructor=e,this.promise=new e(w),this.promise[y]||O(this.promise),n(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0!==this.length&&(this.length=this.length||0,this._enumerate(t),0!==this._remaining)||C(this.promise,this._result)):k(this.promise,new Error("Array Methods must be provided an Array"))}P.prototype.catch=function(e){return this.then(null,e)},P.prototype.finally=function(t){var n=this.constructor;return u(t)?this.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){throw e})}):this.then(t,t)};var M=P;function P(e){if(this[y]=S++,this._result=this._state=void 0,this._subscribers=[],w!==e){if("function"!=typeof e)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof P))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");var t=this;try{e(function(e){A(t,e)},function(e){k(t,e)})}catch(e){k(t,e)}}}return M.prototype.then=b,M.all=function(e){return new L(this,e).promise},M.race=function(a){var o=this;return n(a)?new o(function(e,t){for(var n=a.length,r=0;r<n;r++)o.resolve(a[r]).then(e,t)}):new o(function(e,t){return t(new TypeError("You must pass an array to race."))})},M.resolve=v,M.reject=function(e){var t=new this(w);return k(t,e),t},M._setScheduler=function(e){a=e},M._setAsap=function(e){i=e},M._asap=i,M.polyfill=function(){var e=void 0;if(void 0!==q)e=q;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=M},M.Promise=M},"object"===te(e=e)&&void 0!==t?t.exports=n():"function"==typeof define&&define.amd?define(n):e.ES6Promise=n()}),t=e(function(l){var t,n,r=1e5,p=(t=Object.prototype.toString,n=Object.prototype.hasOwnProperty,{Class:function(e){return t.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return n.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return e>>0},ToUint32:function(e){return e>>>0}}),f=Math.LN2,m=Math.abs,h=Math.floor,g=Math.log,b=Math.min,v=Math.pow,I=Math.round;function a(e,t,n){return e<t?t:n<e?n:e}var o,e,i,u,s,c,d,y,w,D,x,E=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,n=[];for(t in e)p.HasOwnProperty(e,t)&&n.push(t);return n};function F(e){if(E&&o)for(var t=E(e),n=0;n<t.length;n+=1)o(e,t[n],{value:e[t[n]],writable:!1,enumerable:!1,configurable:!1})}function B(n){if(o){if(n.length>r)throw new RangeError("Array too large for polyfill");for(var e=0;e<n.length;e+=1)(t=>{o(n,t,{get:function(){return n._getter(t)},set:function(e){n._setter(t,e)},enumerable:!0,configurable:!1})})(e)}}function A(e,t){t=32-t;return e<<t>>t}function C(e,t){t=32-t;return e<<t>>>t}function j(e){return[255&e]}function L(e){return A(e[0],8)}function q(e){return[255&e]}function k(e){return C(e[0],8)}function z(e){return[(e=I(Number(e)))<0?0:255<e?255:255&e]}function V(e){return[e>>8&255,255&e]}function $(e){return A(e[0]<<8|e[1],16)}function H(e){return[e>>8&255,255&e]}function U(e){return C(e[0]<<8|e[1],16)}function G(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function W(e){return A(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function Y(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function K(e){return C(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function N(e,t,n){var r,a,o,i,l,u,s,c=(1<<t-1)-1;function d(e){var t=h(e),e=e-t;return!(e<.5)&&(.5<e||t%2)?t+1:t}for(e!=e?(a=(1<<t)-1,o=v(2,n-1),r=0):e===1/0||e===-1/0?(a=(1<<t)-1,r=e<(o=0)?1:0):0===e?r=1/e==-1/(o=a=0)?1:0:(r=e<0,(e=m(e))>=v(2,1-c)?(a=b(h(g(e)/f),1023),2<=(o=d(e/v(2,a)*v(2,n)))/v(2,n)&&(a+=1,o=1),c<a?(a=(1<<t)-1,o=0):(a+=c,o-=v(2,n))):(a=0,o=d(e/v(2,1-c-n)))),l=[],i=n;i;--i)l.push(o%2?1:0),o=h(o/2);for(i=t;i;--i)l.push(a%2?1:0),a=h(a/2);for(l.push(r?1:0),l.reverse(),u=l.join(""),s=[];u.length;)s.push(parseInt(u.substring(0,8),2)),u=u.substring(8);return s}function T(e,t,n){for(var r,a,o,i,l,u,s=[],c=e.length;c;--c)for(a=e[c-1],r=8;r;--r)s.push(a%2?1:0),a>>=1;return s.reverse(),u=s.join(""),o=(1<<t-1)-1,i=parseInt(u.substring(0,1),2)?-1:1,l=parseInt(u.substring(1,1+t),2),u=parseInt(u.substring(1+t),2),l===(1<<t)-1?0===u?1/0*i:NaN:0<l?i*v(2,l-o)*(1+u/v(2,n)):0!==u?i*v(2,-(o-1))*(u/v(2,n)):i<0?-0:0}function X(e){return T(e,11,52)}function Z(e){return N(e,11,52)}function J(e){return T(e,8,23)}function Q(e){return N(e,8,23)}function R(e){if((e=p.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;t<this.byteLength;t+=1)this._bytes[t]=0;F(this)}function ee(){}function S(e,t,n){var l=function(e,t,n){var r,a,o,i;if(arguments.length&&"number"!=typeof e)if("object"===te(e)&&e.constructor===l)for(this.length=(r=e).length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new R(this.byteLength),o=this.byteOffset=0;o<this.length;o+=1)this._setter(o,r._getter(o));else if("object"!==te(e)||(e instanceof R||"ArrayBuffer"===p.Class(e))){if("object"!==te(e)||!(e instanceof R||"ArrayBuffer"===p.Class(e)))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=p.ToUint32(t),this.byteOffset>this.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=p.ToUint32(n),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(this.length=p.ToUint32((a=e).length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new R(this.byteLength),o=this.byteOffset=0;o<this.length;o+=1)i=a[o],this._setter(o,Number(i));else{if(this.length=p.ToInt32(e),n<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new R(this.byteLength),this.byteOffset=0}this.constructor=l,F(this),B(this)};return(l.prototype=new ee).BYTES_PER_ELEMENT=e,l.prototype._pack=t,l.prototype._unpack=n,l.BYTES_PER_ELEMENT=e,l.prototype.get=l.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(!((e=p.ToUint32(e))>=this.length)){for(var t=[],n=0,r=this.byteOffset+e*this.BYTES_PER_ELEMENT;n<this.BYTES_PER_ELEMENT;n+=1,r+=1)t.push(this.buffer._bytes[r]);return this._unpack(t)}},l.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if((e=p.ToUint32(e))<this.length)for(var n=this._pack(t),r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)this.buffer._bytes[a]=n[r]},l.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var n,r,a,o,i,l,u,s,c,d;if("object"===te(e)&&e.constructor===this.constructor){if(n=e,(a=p.ToUint32(t))+n.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(s=this.byteOffset+a*this.BYTES_PER_ELEMENT,c=n.length*this.BYTES_PER_ELEMENT,n.buffer===this.buffer){for(d=[],i=0,l=n.byteOffset;i<c;i+=1,l+=1)d[i]=n.buffer._bytes[l];for(i=0,u=s;i<c;i+=1,u+=1)this.buffer._bytes[u]=d[i]}else for(i=0,l=n.byteOffset,u=s;i<c;i+=1,l+=1,u+=1)this.buffer._bytes[u]=n.buffer._bytes[l]}else{if("object"!==te(e)||void 0===e.length)throw new TypeError("Unexpected argument type(s)");if(o=p.ToUint32((r=e).length),(a=p.ToUint32(t))+o>this.length)throw new RangeError("Offset plus length of array is out of range");for(i=0;i<o;i+=1)l=r[i],this._setter(a+i,Number(l))}},l.prototype.subarray=function(e,t){e=p.ToInt32(e),t=p.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=a(e,0,this.length);t=(t=a(t,0,this.length))-e;return new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,t=t<0?0:t)},l}function O(e,t){return p.IsCallable(e.get)?e.get(t):e[t]}function _(e,t,n){if(0===arguments.length)e=new l.ArrayBuffer(0);else if(!(e instanceof l.ArrayBuffer||"ArrayBuffer"===p.Class(e)))throw new TypeError("TypeError");if(this.buffer=e||new l.ArrayBuffer(0),this.byteOffset=p.ToUint32(t),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:p.ToUint32(n),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");F(this)}function M(o){return function(e,t){if((e=p.ToUint32(e))+o.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");e+=this.byteOffset;for(var n=new l.Uint8Array(this.buffer,e,o.BYTES_PER_ELEMENT),r=[],a=0;a<o.BYTES_PER_ELEMENT;a+=1)r.push(O(n,a));return Boolean(t)===Boolean(x)&&r.reverse(),O(new o(new l.Uint8Array(r).buffer),0)}}function P(i){return function(e,t,n){if((e=p.ToUint32(e))+i.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");for(var t=new i([t]),r=new l.Uint8Array(t.buffer),a=[],o=0;o<i.BYTES_PER_ELEMENT;o+=1)a.push(O(r,o));Boolean(n)===Boolean(x)&&a.reverse(),new l.Uint8Array(this.buffer,e,i.BYTES_PER_ELEMENT).set(a)}}o=Object.defineProperty&&(()=>{try{return Object.defineProperty({},"x",{}),1}catch(e){}})()?Object.defineProperty:function(e,t,n){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return p.HasProperty(n,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,n.get),p.HasProperty(n,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,n.set),p.HasProperty(n,"value")&&(e[t]=n.value),e},l.ArrayBuffer=l.ArrayBuffer||R,D=S(1,j,L),e=S(1,q,k),i=S(1,z,k),u=S(2,V,$),s=S(2,H,U),c=S(4,G,W),d=S(4,Y,K),y=S(4,Q,J),w=S(8,Z,X),l.Int8Array=l.Int8Array||D,l.Uint8Array=l.Uint8Array||e,l.Uint8ClampedArray=l.Uint8ClampedArray||i,l.Int16Array=l.Int16Array||u,l.Uint16Array=l.Uint16Array||s,l.Int32Array=l.Int32Array||c,l.Uint32Array=l.Uint32Array||d,l.Float32Array=l.Float32Array||y,l.Float64Array=l.Float64Array||w,D=new l.Uint16Array([4660]),x=18===O(new l.Uint8Array(D.buffer),0),_.prototype.getUint8=M(l.Uint8Array),_.prototype.getInt8=M(l.Int8Array),_.prototype.getUint16=M(l.Uint16Array),_.prototype.getInt16=M(l.Int16Array),_.prototype.getUint32=M(l.Uint32Array),_.prototype.getInt32=M(l.Int32Array),_.prototype.getFloat32=M(l.Float32Array),_.prototype.getFloat64=M(l.Float64Array),_.prototype.setUint8=P(l.Uint8Array),_.prototype.setInt8=P(l.Int8Array),_.prototype.setUint16=P(l.Uint16Array),_.prototype.setInt16=P(l.Int16Array),_.prototype.setUint32=P(l.Uint32Array),_.prototype.setInt32=P(l.Int32Array),_.prototype.setFloat32=P(l.Float32Array),_.prototype.setFloat64=P(l.Float64Array),l.DataView=l.DataView||_}),An=e(function(e){function t(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(l(this,"_id","_WeakMap_"+n()+"."+n()),0<arguments.length)throw new TypeError("WeakMap iterable is not supported")}function r(e,t){if(!a(e)||!o.call(e,"_id"))throw new TypeError(t+" method called on incompatible receiver "+te(e))}function n(){return Math.random().toString().substring(2)}function a(e){return Object(e)===e}var o,i,l;(e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==window?window:void 0!==q?q:e).WeakMap||(o=Object.prototype.hasOwnProperty,i=Object.defineProperty&&(()=>{try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}})(),e.WeakMap=((l=function(e,t,n){i?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n})(t.prototype,"delete",function(e){var t;return r(this,"delete"),!!a(e)&&!(!(t=e[this._id])||t[0]!==e||(delete e[this._id],0))}),l(t.prototype,"get",function(e){var t;return r(this,"get"),a(e)&&(t=e[this._id])&&t[0]===e?t[1]:void 0}),l(t.prototype,"has",function(e){var t;return r(this,"has"),!!a(e)&&!(!(t=e[this._id])||t[0]!==e)}),l(t.prototype,"set",function(e,t){var n;if(r(this,"set"),a(e))return(n=e[this._id])&&n[0]===e?n[1]=t:l(e,this._id,[e,t]),this;throw new TypeError("Invalid value used as weak map key")}),l(t,"_polyfill",!0),t))}),Cn=e(function(e,t){function n(e){return e&&e.Math===Math&&e}t.exports=n("object"==("undefined"==typeof globalThis?"undefined":te(globalThis))&&globalThis)||n("object"==(void 0===window?"undefined":te(window))&&window)||n("object"==("undefined"==typeof self?"undefined":te(self))&&self)||n("object"==(void 0===q?"undefined":te(q))&&q)||function(){return this}()||e||Function("return this")()}),kn=e(function(e,t){t.exports=function(e){try{return!!e()}catch(e){return!0}}}),Nn=e(function(e,t){var n=kn();t.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}),Tn=e(function(e,t){var n=Nn(),r=Function.prototype,a=r.apply,o=r.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":te(Reflect))&&Reflect.apply||(n?o.bind(a):function(){return o.apply(a,arguments)})}),Rn=e(function(e,t){var n=Nn(),r=Function.prototype,a=r.call,r=n&&r.bind.bind(a,a);t.exports=n?r:function(e){return function(){return a.apply(e,arguments)}}}),Sn=e(function(e,t){var n=Rn(),r=n({}.toString),a=n("".slice);t.exports=function(e){return a(r(e),8,-1)}}),On=e(function(e,t){var n=Sn(),r=Rn();t.exports=function(e){if("Function"===n(e))return r(e)}}),_n=e(function(e,t){var n="object"==(void 0===document?"undefined":te(document))&&document.all;t.exports={all:n,IS_HTMLDDA:void 0===n&&void 0!==n}}),Mn=e(function(e,t){var n=_n(),r=n.all;t.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}}),Pn=e(function(e,t){var n=kn();t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}),In=e(function(e,t){var n=Nn(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}}),Bn=e(function(e){var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(e){e=n(this,e);return!!e&&e.enumerable}:t}),jn=e(function(e,t){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),Ln=e(function(e,t){var n=Rn(),r=kn(),a=Sn(),o=Object,i=n("".split);t.exports=r(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===a(e)?i(e,""):o(e)}:o}),qn=e(function(e,t){t.exports=function(e){return null==e}}),zn=e(function(e,t){var n=qn(),r=TypeError;t.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}}),Vn=e(function(e,t){var n=Ln(),r=zn();t.exports=function(e){return n(r(e))}}),$n=e(function(e,t){var n=Mn(),r=_n(),a=r.all;t.exports=r.IS_HTMLDDA?function(e){return"object"==te(e)?null!==e:n(e)||e===a}:function(e){return"object"==te(e)?null!==e:n(e)}}),Hn=e(function(e,t){t.exports={}}),Un=e(function(e,t){function n(e){return o(e)?e:void 0}var r=Hn(),a=Cn(),o=Mn();t.exports=function(e,t){return arguments.length<2?n(r[e])||n(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}}),Gn=e(function(e,t){var n=Rn();t.exports=n({}.isPrototypeOf)}),Wn=e(function(e,t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""}),Yn=e(function(e,t){var n,r,a=Cn(),o=Wn(),i=a.process,a=a.Deno,i=i&&i.versions||a&&a.version,a=i&&i.v8;!(r=a?0<(n=a.split("."))[0]&&n[0]<4?1:+(n[0]+n[1]):r)&&o&&(!(n=o.match(/Edge\/(\d+)/))||74<=n[1])&&(n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]),t.exports=r}),Kn=e(function(e,t){var n=Yn(),r=kn(),a=Cn().String;t.exports=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})}),Xn=e(function(e,t){var n=Kn();t.exports=n&&!Symbol.sham&&"symbol"==te(Symbol.iterator)}),Zn=e(function(e,t){var n=Un(),r=Mn(),a=Gn(),o=Xn(),i=Object;t.exports=o?function(e){return"symbol"==te(e)}:function(e){var t=n("Symbol");return r(t)&&a(t.prototype,i(e))}}),Jn=e(function(e,t){var n=String;t.exports=function(e){try{return n(e)}catch(e){return"Object"}}}),Qn=e(function(e,t){var n=Mn(),r=Jn(),a=TypeError;t.exports=function(e){if(n(e))return e;throw new a(r(e)+" is not a function")}}),er=e(function(e,t){var n=Qn(),r=qn();t.exports=function(e,t){e=e[t];return r(e)?void 0:n(e)}}),tr=e(function(e,t){var a=In(),o=Mn(),i=$n(),l=TypeError;t.exports=function(e,t){var n,r;if("string"===t&&o(n=e.toString)&&!i(r=a(n,e)))return r;if(o(n=e.valueOf)&&!i(r=a(n,e)))return r;if("string"!==t&&o(n=e.toString)&&!i(r=a(n,e)))return r;throw new l("Can't convert object to primitive value")}}),nr=e(function(e,t){t.exports=!0}),rr=e(function(e,t){var r=Cn(),a=Object.defineProperty;t.exports=function(t,n){try{a(r,t,{value:n,configurable:!0,writable:!0})}catch(e){r[t]=n}return n}}),ar=e(function(e,t){var n=Cn(),r=rr(),a="__core-js_shared__",n=n[a]||r(a,{});t.exports=n}),or=e(function(e,t){var n=nr(),r=ar();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:n?"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"})}),ir=e(function(e,t){var n=zn(),r=Object;t.exports=function(e){return r(n(e))}}),lr=e(function(e,t){var n=Rn(),r=ir(),a=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(r(e),t)}}),ur=e(function(e,t){var n=Rn(),r=0,a=Math.random(),o=n(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+a,36)}}),sr=e(function(e,t){var n=Cn(),r=or(),a=lr(),o=ur(),i=Kn(),l=Xn(),u=n.Symbol,s=r("wks"),c=l?u.for||u:u&&u.withoutSetter||o;t.exports=function(e){return a(s,e)||(s[e]=i&&a(u,e)?u[e]:c("Symbol."+e)),s[e]}}),cr=e(function(e,t){var r=In(),a=$n(),o=Zn(),i=er(),l=tr(),n=sr(),u=TypeError,s=n("toPrimitive");t.exports=function(e,t){if(!a(e)||o(e))return e;var n=i(e,s);if(n){if(n=r(n,e,t=void 0===t?"default":t),!a(n)||o(n))return n;throw new u("Can't convert object to primitive value")}return l(e,t=void 0===t?"number":t)}}),dr=e(function(e,t){var n=cr(),r=Zn();t.exports=function(e){e=n(e,"string");return r(e)?e:e+""}}),pr=e(function(e,t){var n=Cn(),r=$n(),a=n.document,o=r(a)&&r(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}}),fr=e(function(e,t){var n=Pn(),r=kn(),a=pr();t.exports=!n&&!r(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})}),mr=e(function(e){var t=Pn(),n=In(),r=Bn(),a=jn(),o=Vn(),i=dr(),l=lr(),u=fr(),s=Object.getOwnPropertyDescriptor;e.f=t?s:function(e,t){if(e=o(e),t=i(t),u)try{return s(e,t)}catch(e){}if(l(e,t))return a(!n(r.f,e,t),e[t])}}),hr=e(function(e,t){function n(e,t){return(e=l[i(e)])===s||e!==u&&(a(t)?r(t):!!t)}var r=kn(),a=Mn(),o=/#|\.prototype\./,i=n.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=n.data={},u=n.NATIVE="N",s=n.POLYFILL="P";t.exports=n}),gr=e(function(e,t){var n=On(),r=Qn(),a=Nn(),o=n(n.bind);t.exports=function(e,t){return r(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}}),br=e(function(e,t){var n=Pn(),r=kn();t.exports=n&&r(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),vr=e(function(e,t){var n=$n(),r=String,a=TypeError;t.exports=function(e){if(n(e))return e;throw new a(r(e)+" is not an object")}}),yr=e(function(e){var t=Pn(),r=fr(),n=br(),a=vr(),o=dr(),i=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",d="writable";e.f=t?n?function(e,t,n){var r;return a(e),t=o(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]&&(r=u(e,t))&&r[d]&&(e[t]=n.value,n={configurable:(c in n?n:r)[c],enumerable:(s in n?n:r)[s],writable:!1}),l(e,t,n)}:l:function(e,t,n){if(a(e),t=o(t),a(n),r)try{return l(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}}),wr=e(function(e,t){var n=Pn(),r=yr(),a=jn();t.exports=n?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}}),Dr=e(function(e,t){function h(r){function a(e,t,n){if(this instanceof a){switch(arguments.length){case 0:return new r;case 1:return new r(e);case 2:return new r(e,t)}return new r(e,t,n)}return o(r,this,arguments)}return a.prototype=r.prototype,a}var g=Cn(),o=Tn(),b=On(),v=Mn(),y=mr().f,w=hr(),D=Hn(),x=gr(),E=wr(),F=lr();t.exports=function(e,t){var n,r,a,o,i,l,u=e.target,s=e.global,c=e.stat,d=e.proto,p=s?g:c?g[u]:(g[u]||{}).prototype,f=s?D:D[u]||E(D,u,{})[u],m=f.prototype;for(r in t)i=!(n=w(s?r:u+(c?".":"#")+r,e.forced))&&p&&F(p,r),o=f[r],i&&(l=e.dontCallGetSet?(l=y(p,r))&&l.value:p[r]),a=i&&l?l:t[r],i&&te(o)==te(a)||(i=e.bind&&i?x(a,g):e.wrap&&i?h(a):d&&v(a)?b(a):a,(e.sham||a&&a.sham||o&&o.sham)&&E(i,"sham",!0),E(f,r,i),d&&(F(D,o=u+"Prototype")||E(D,o,{}),E(D[o],r,a),e.real)&&m&&(n||!m[r])&&E(m,r,a))}}),xr=e(function(){Dr()({target:"Object",stat:!0},{hasOwn:lr()})}),Er=e(function(e,t){xr();var n=Hn();t.exports=n.Object.hasOwn}),Fr=e(function(e,t){var n=Er();t.exports=n}),Ar=e(function(e,t){var n=Fr();t.exports=n}),Cr=e(function(e,t){var n=or(),r=ur(),a=n("keys");t.exports=function(e){return a[e]||(a[e]=r(e))}}),kr=e(function(e,t){var n=kn();t.exports=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})}),Nr=e(function(e,t){var n=lr(),r=Mn(),a=ir(),o=Cr(),i=kr(),l=o("IE_PROTO"),u=Object,s=u.prototype;t.exports=i?u.getPrototypeOf:function(e){var t,e=a(e);return n(e,l)?e[l]:(t=e.constructor,r(t)&&e instanceof t?t.prototype:e instanceof u?s:null)}}),Tr=e(function(e,t){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){e=+e;return(0<e?r:n)(e)}}),Rr=e(function(e,t){var n=Tr();t.exports=function(e){e=+e;return e!=e||0==e?0:n(e)}}),Sr=e(function(e,t){var n=Rr(),r=Math.max,a=Math.min;t.exports=function(e,t){e=n(e);return e<0?r(e+t,0):a(e,t)}}),Or=e(function(e,t){var n=Rr(),r=Math.min;t.exports=function(e){return 0<e?r(n(e),9007199254740991):0}}),_r=e(function(e,t){var n=Or();t.exports=function(e){return n(e.length)}}),Mr=e(function(e,t){function n(l){return function(e,t,n){var r,a=u(e),o=c(a),i=s(n,o);if(l&&t!=t){for(;i<o;)if((r=a[i++])!=r)return!0}else for(;i<o;i++)if((l||i in a)&&a[i]===t)return l||i||0;return!l&&-1}}var u=Vn(),s=Sr(),c=_r();t.exports={includes:n(!0),indexOf:n(!1)}}),Pr=e(function(e,t){t.exports={}}),Ir=e(function(e,t){var n=Rn(),i=lr(),l=Vn(),u=Mr().indexOf,s=Pr(),c=n([].push);t.exports=function(e,t){var n,r=l(e),a=0,o=[];for(n in r)!i(s,n)&&i(r,n)&&c(o,n);for(;t.length>a;)!i(r,n=t[a++])||~u(o,n)||c(o,n);return o}}),Br=e(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),jr=e(function(e,t){var n=Ir(),r=Br();t.exports=Object.keys||function(e){return n(e,r)}}),Lr=e(function(e,t){function n(u){return function(e){for(var t,n=p(e),r=d(n),a=h&&null===c(n),o=r.length,i=0,l=[];i<o;)t=r[i++],s&&!(a?t in n:f(n,t))||m(l,u?[t,n[t]]:n[t]);return l}}var s=Pn(),r=kn(),a=Rn(),c=Nr(),d=jr(),p=Vn(),f=a(Bn().f),m=a([].push),h=s&&r(function(){var e=Object.create(null);return e[2]=2,!f(e,2)});t.exports={entries:n(!0),values:n(!1)}}),qr=e(function(){var e=Dr(),t=Lr().values;e({target:"Object",stat:!0},{values:function(e){return t(e)}})}),zr=e(function(e,t){qr();var n=Hn();t.exports=n.Object.values}),Vr=e(function(e,t){var n=zr();t.exports=n}),$r=e(function(e,t){var n=Vr();t.exports=n}),Hr=e(function(e,t){var n={};n[sr()("toStringTag")]="z",t.exports="[object z]"===String(n)}),Ur=e(function(e,t){var n=Hr(),r=Mn(),a=Sn(),o=sr()("toStringTag"),i=Object,l="Arguments"===a(function(){return arguments}());t.exports=n?a:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=((e,t)=>{try{return e[t]}catch(e){}})(e=i(e),o))?t:l?a(e):"Object"===(t=a(e))&&r(e.callee)?"Arguments":t}}),Gr=e(function(e,t){var n=Ur(),r=String;t.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}}),Wr=e(function(e,t){function n(a){return function(e,t){var n,e=i(l(e)),t=o(t),r=e.length;return t<0||r<=t?a?"":void 0:(n=s(e,t))<55296||56319<n||t+1===r||(r=s(e,t+1))<56320||57343<r?a?u(e,t):n:a?c(e,t,t+2):r-56320+(n-55296<<10)+65536}}var r=Rn(),o=Rr(),i=Gr(),l=zn(),u=r("".charAt),s=r("".charCodeAt),c=r("".slice);t.exports={codeAt:n(!1),charAt:n(!0)}}),Yr=e(function(e,t){var n=Cn(),r=Mn(),n=n.WeakMap;t.exports=r(n)&&/native code/.test(String(n))}),Kr=e(function(e,t){var n,r,a,o,i=Yr(),l=Cn(),u=$n(),s=wr(),c=lr(),d=ar(),p=Cr(),f=Pr(),m="Object already initialized",h=l.TypeError,l=l.WeakMap,g=i||d.state?((a=d.state||(d.state=new l)).get=a.get,a.has=a.has,a.set=a.set,n=function(e,t){if(a.has(e))throw new h(m);return t.facade=e,a.set(e,t),t},r=function(e){return a.get(e)||{}},function(e){return a.has(e)}):(f[o=p("state")]=!0,n=function(e,t){if(c(e,o))throw new h(m);return t.facade=e,s(e,o,t),t},r=function(e){return c(e,o)?e[o]:{}},function(e){return c(e,o)});t.exports={set:n,get:r,has:g,enforce:function(e){return g(e)?r(e):n(e,{})},getterFor:function(t){return function(e){if(u(e)&&(e=r(e)).type===t)return e;throw new h("Incompatible receiver, "+t+" required")}}}}),Xr=e(function(e,t){var n=Pn(),r=lr(),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,r=r(a,"name"),i=r&&"something"===function(){}.name,n=r&&(!n||o(a,"name").configurable);t.exports={EXISTS:r,PROPER:i,CONFIGURABLE:n}}),Zr=e(function(e){var t=Pn(),n=br(),l=yr(),u=vr(),s=Vn(),c=jr();e.f=t&&!n?Object.defineProperties:function(e,t){u(e);for(var n,r=s(t),a=c(t),o=a.length,i=0;i<o;)l.f(e,n=a[i++],r[n]);return e}}),Jr=e(function(e,t){var n=Un();t.exports=n("document","documentElement")}),Qr=e(function(e,t){function r(){}function a(e){e.write(b("")),e.close();var t=e.parentWindow.Object;return e=null,t}var o,i=vr(),l=Zr(),u=Br(),n=Pr(),s=Jr(),c=pr(),d=Cr(),p=">",f="<",m="prototype",h="script",g=d("IE_PROTO"),b=function(e){return f+h+p+e+f+"/"+h+p},v=function(){try{o=new ActiveXObject("htmlfile")}catch(e){}v=void 0===document||document.domain&&o?a(o):(e=c("iframe"),t="java"+h+":",e.style.display="none",s.appendChild(e),e.src=String(t),(t=e.contentWindow.document).open(),t.write(b("document.F=Object")),t.close(),t.F);for(var e,t,n=u.length;n--;)delete v[m][u[n]];return v()};n[g]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(r[m]=i(e),n=new r,r[m]=null,n[g]=e):n=v(),void 0===t?n:l.f(n,t)}}),ea=e(function(e,t){var a=wr();t.exports=function(e,t,n,r){return r&&r.enumerable?e[t]=n:a(e,t,n),e}}),ta=e(function(e,t){var n,r,a=kn(),o=Mn(),i=$n(),l=Qr(),u=Nr(),s=ea(),c=sr(),d=nr(),p=c("iterator"),c=!1;[].keys&&("next"in(r=[].keys())?(u=u(u(r)))!==Object.prototype&&(n=u):c=!0),!i(n)||a(function(){var e={};return n[p].call(e)!==e})?n={}:d&&(n=l(n)),o(n[p])||s(n,p,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:c}}),na=e(function(e,t){var n=Hr(),r=Ur();t.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}}),ra=e(function(e,t){var a=Hr(),o=yr().f,i=wr(),l=lr(),u=na(),s=sr()("toStringTag");t.exports=function(e,t,n,r){e&&(n=n?e:e.prototype,l(n,s)||o(n,s,{configurable:!0,value:t}),r)&&!a&&i(n,"toString",u)}}),aa=e(function(e,t){t.exports={}}),oa=e(function(e,t){function a(){return this}var o=ta().IteratorPrototype,i=Qr(),l=jn(),u=ra(),s=aa();t.exports=function(e,t,n,r){t+=" Iterator";return e.prototype=i(o,{next:l(+!r,n)}),u(e,t,!1,!0),s[t]=a,e}}),ia=e(function(e,t){var r=Rn(),a=Qn();t.exports=function(e,t,n){try{return r(a(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}}),la=e(function(e,t){var n=Mn(),r=String,a=TypeError;t.exports=function(e){if("object"==te(e)||n(e))return e;throw new a("Can't set "+r(e)+" as a prototype")}}),ua=e(function(e,t){var a=ia(),o=vr(),i=la();t.exports=Object.setPrototypeOf||("__proto__"in{}?(()=>{var n,r=!1,e={};try{(n=a(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(e){}return function(e,t){return o(e),i(t),r?n(e,t):e.__proto__=t,e}})():void 0)}),sa=e(function(e,t){function h(){return this}var g=Dr(),b=In(),v=nr(),n=Xr(),y=Mn(),w=oa(),D=Nr(),x=ua(),E=ra(),F=wr(),A=ea(),r=sr(),C=aa(),a=ta(),k=n.PROPER,N=n.CONFIGURABLE,T=a.IteratorPrototype,R=a.BUGGY_SAFARI_ITERATORS,S=r("iterator"),O="values";t.exports=function(e,t,n,r,a,o,i){w(n,t,r);function l(e){if(e===a&&f)return f;if(!R&&e&&e in d)return d[e];switch(e){case"keys":case O:case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}}var u,s,r=t+" Iterator",c=!1,d=e.prototype,p=d[S]||d["@@iterator"]||a&&d[a],f=!R&&p||l(a),m="Array"===t&&d.entries||p;if(m&&(m=D(m.call(new e)))!==Object.prototype&&m.next&&(v||D(m)===T||(x?x(m,T):y(m[S])||A(m,S,h)),E(m,r,!0,!0),v)&&(C[r]=h),k&&a===O&&p&&p.name!==O&&(!v&&N?F(d,"name",O):(c=!0,f=function(){return b(p,this)})),a)if(u={values:l(O),keys:o?f:l("keys"),entries:l("entries")},i)for(s in u)!R&&!c&&s in d||A(d,s,u[s]);else g({target:t,proto:!0,forced:R||c},u);return v&&!i||d[S]===f||A(d,S,f,{name:a}),C[t]=f,u}}),ca=e(function(e,t){t.exports=function(e,t){return{value:e,done:t}}}),da=e(function(){var r=Wr().charAt,t=Gr(),e=Kr(),n=sa(),a=ca(),o="String Iterator",i=e.set,l=e.getterFor(o);n(String,"String",function(e){i(this,{type:o,string:t(e),index:0})},function(){var e=l(this),t=e.string,n=e.index;return n>=t.length?a(void 0,!0):(t=r(t,n),e.index+=t.length,a(t,!1))})}),pa=e(function(e,t){var o=In(),i=vr(),l=er();t.exports=function(e,t,n){var r,a;i(e);try{if(!(r=l(e,"return"))){if("throw"===t)throw n;return n}r=o(r,e)}catch(e){a=!0,r=e}if("throw"===t)throw n;if(a)throw r;return i(r),n}}),fa=e(function(e,t){var a=vr(),o=pa();t.exports=function(t,e,n,r){try{return r?e(a(n)[0],n[1]):e(n)}catch(e){o(t,"throw",e)}}}),ma=e(function(e,t){var n=sr(),r=aa(),a=n("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||o[a]===e)}}),ha=e(function(e,t){var n=Rn(),r=Mn(),a=ar(),o=n(Function.toString);r(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),t.exports=a.inspectSource}),ga=e(function(e,t){function n(){}function r(e){if(!l(e))return!1;try{return p(n,d,e),!0}catch(e){return!1}}function a(e){if(!l(e))return!1;switch(u(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!m(f,c(e))}catch(e){return!0}}var o=Rn(),i=kn(),l=Mn(),u=Ur(),s=Un(),c=ha(),d=[],p=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,m=o(f.exec),h=!f.test(n);a.sham=!0,t.exports=!p||i(function(){var e;return r(r.call)||!r(Object)||!r(function(){e=!0})||e})?a:r}),ba=e(function(e,t){var r=dr(),a=yr(),o=jn();t.exports=function(e,t,n){t=r(t);t in e?a.f(e,t,o(0,n)):e[t]=n}}),va=e(function(e,t){var n=Ur(),r=er(),a=qn(),o=aa(),i=sr()("iterator");t.exports=function(e){if(!a(e))return r(e,i)||r(e,"@@iterator")||o[n(e)]}}),ya=e(function(e,t){var n=In(),r=Qn(),a=vr(),o=Jn(),i=va(),l=TypeError;t.exports=function(e,t){t=arguments.length<2?i(e):t;if(r(t))return a(n(t,e));throw new l(o(e)+" is not iterable")}}),wa=e(function(e,t){var p=gr(),f=In(),m=ir(),h=fa(),g=ma(),b=ga(),v=_r(),y=ba(),w=ya(),D=va(),x=Array;t.exports=function(e){var t,n,r,a,o,i,l=m(e),e=b(this),u=arguments.length,s=1<u?arguments[1]:void 0,c=void 0!==s,u=(c&&(s=p(s,2<u?arguments[2]:void 0)),D(l)),d=0;if(!u||this===x&&g(u))for(t=v(l),n=e?new this(t):x(t);d<t;d++)i=c?s(l[d],d):l[d],y(n,d,i);else for(o=(a=w(l,u)).next,n=e?new this:[];!(r=f(o,a)).done;d++)i=c?h(a,s,[r.value,d],!0):r.value,y(n,d,i);return n.length=d,n}}),Da=e(function(e,t){var n,r,a=sr()("iterator"),o=!1;try{n=0,(r={next:function(){return{done:!!n++}},return:function(){o=!0}})[a]=function(){return this},Array.from(r,function(){throw 2})}catch(e){}t.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var n=!1;try{var r={};r[a]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}}),xa=e(function(){var e=Dr(),t=wa();e({target:"Array",stat:!0,forced:!Da()(function(e){Array.from(e)})},{from:t})}),Ea=e(function(e,t){da(),xa();var n=Hn();t.exports=n.Array.from}),Fa=e(function(e,t){var n=Ea();t.exports=n}),Aa=e(function(e,t){var n=Fa();t.exports=n}),Ca=e(function(e,t){var l={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};if("object"!==("undefined"==typeof globalThis?"undefined":te(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){window.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==window)return window;if(void 0!==q)return q;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}l.encodeHTMLSource=function(e){var t={"&":"&#38;","<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","/":"&#47;"},n=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(n,function(e){return t[e]||e}):""}},void 0!==t&&t.exports?t.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):globalThis.doT=l;var u={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},s=/$^/;function c(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}l.template=function(e,t,n){var r,a,o=(t=t||l.templateSettings).append?u.append:u.split,i=0,n=t.use||t.define?function n(a,e,o){return("string"==typeof e?e:e.toString()).replace(a.define||s,function(e,r,t,n){return(r=0===r.indexOf("def.")?r.substring(4):r)in o||(":"===t?(a.defineParams&&n.replace(a.defineParams,function(e,t,n){o[r]={arg:t,text:n}}),r in o||(o[r]=n)):new Function("def","def['"+r+"']="+n)(o)),""}).replace(a.use||s,function(e,t){return a.useParams&&(t=t.replace(a.useParams,function(e,t,n,r){var a;if(o[n]&&o[n].arg&&r)return a=(n+":"+r).replace(/'|\\/g,"_"),o.__exp=o.__exp||{},o.__exp[a]=o[n].text.replace(new RegExp("(^|[^\\w$])"+o[n].arg+"([^\\w$])","g"),"$1"+r+"$2"),t+"def.__exp['"+a+"']"})),(t=new Function("def","return "+t)(o))&&n(a,t,o)})}(t,e,n||{}):e,n=("var out='"+(t.strip?n.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):n).replace(/'|\\/g,"\\$&").replace(t.interpolate||s,function(e,t){return o.start+c(t)+o.end}).replace(t.encode||s,function(e,t){return r=!0,o.startencode+c(t)+o.end}).replace(t.conditional||s,function(e,t,n){return t?n?"';}else if("+c(n)+"){out+='":"';}else{out+='":n?"';if("+c(n)+"){out+='":"';}out+='"}).replace(t.iterate||s,function(e,t,n,r){return t?(i+=1,a=r||"i"+i,t=c(t),"';var arr"+i+"="+t+";if(arr"+i+"){var "+n+","+a+"=-1,l"+i+"=arr"+i+".length-1;while("+a+"<l"+i+"){"+n+"=arr"+i+"["+a+"+=1];out+='"):"';} } out+='"}).replace(t.evaluate||s,function(e,t){return"';"+c(t)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,"");r&&(t.selfcontained||!globalThis||globalThis._encodeHTML||(globalThis._encodeHTML=l.encodeHTMLSource(t.doNotSkipEncoded)),n="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+l.encodeHTMLSource.toString()+"("+(t.doNotSkipEncoded||"")+"));"+n);try{return new Function(t.varname,n)}catch(e){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+n),e}},l.compile=function(e,t){return l.template(e,null,t)}}),ka={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>"},f=([{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,n=e.value,r=e.priority,e=e.group;ka[t]=n,ka[t+"_PRIO"]=r,ka[t+"_GROUP"]=e,ka.results[r]=n,ka.resultGroups[r]=e,ka.resultGroupMap[n]=e}),Object.freeze(ka.results),Object.freeze(ka.resultGroups),Object.freeze(ka.resultGroupMap),Object.freeze(ka),ka),Na=function(){"object"===("undefined"==typeof console?"undefined":te(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},Ta=/[\t\r\n\f]/g,p=ve(function e(){ge(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");return!!t&&(e=" "+e+" ",0<=(" "+t+" ").replace(Ta," ").indexOf(e))}}]),Ra={},Sa=(_e(Ra,{DqElement:function(){return wo},aggregate:function(){return Sa},aggregateChecks:function(){return Ba},aggregateNodeResults:function(){return La},aggregateResult:function(){return za},areStylesSet:function(){return Va},assert:function(){return E},checkHelper:function(){return Do},clone:function(){return xo},closest:function(){return Oo},collectResultsFromFrames:function(){return Ci},contains:function(){return ki},convertSelector:function(){return Ro},cssParser:function(){return Eo},deepMerge:function(){return Ni},escapeSelector:function(){return m},extendMetaData:function(){return Ti},filterHtmlAttrs:function(){return xf},finalizeRuleResult:function(){return ja},findBy:function(){return Ei},getAllChecks:function(){return xi},getAncestry:function(){return ho},getBaseLang:function(){return fp},getCheckMessage:function(){return xp},getCheckOption:function(){return Ep},getEnvironmentData:function(){return Fp},getFlattenedTree:function(){return cp},getFrameContexts:function(){return Rp},getFriendlyUriEnd:function(){return Wa},getNodeAttributes:function(){return Ya},getNodeFromTree:function(){return g},getPreloadConfig:function(){return gf},getRootNode:function(){return _i},getRule:function(){return Sp},getScroll:function(){return _p},getScrollState:function(){return Mp},getSelector:function(){return po},getSelectorData:function(){return lo},getShadowSelector:function(){return Ja},getStandards:function(){return Pp},getStyleSheetFactory:function(){return Bp},getXpath:function(){return go},injectStyle:function(){return jp},isArrayLike:function(){return Lp},isContextObject:function(){return Vp},isContextProp:function(){return $p},isContextSpec:function(){return zp},isHidden:function(){return Gp},isHtmlElement:function(){return Wp},isLabelledFramesSelector:function(){return Hp},isLabelledShadowDomSelector:function(){return Up},isNodeInContext:function(){return Yp},isShadowRoot:function(){return Si},isValidLang:function(){return Sf},isXHTML:function(){return Za},matchAncestry:function(){return Xp},matches:function(){return Fo},matchesExpression:function(){return So},matchesSelector:function(){return Ka},memoize:function(){return n},mergeResults:function(){return Ai},nodeLookup:function(){return l},nodeSerializer:function(){return Di},nodeSorter:function(){return Zp},objectHasOwn:function(){return qp},parseCrossOriginStylesheet:function(){return nf},parseSameOriginStylesheet:function(){return ef},parseStylesheet:function(){return tf},parseTabindex:function(){return rf},performanceTimer:function(){return O},pollyfillElementsFromPoint:function(){return of},preload:function(){return mf},preloadCssom:function(){return cf},preloadMedia:function(){return ff},processMessage:function(){return Dp},publishMetaData:function(){return bf},querySelectorAll:function(){return yf},querySelectorAllFilter:function(){return sf},queue:function(){return jo},respondable:function(){return mi},ruleShouldRun:function(){return Df},select:function(){return Ff},sendCommandToFrame:function(){return gi},setScrollState:function(){return Af},shadowSelect:function(){return Cf},shadowSelectAll:function(){return kf},shouldPreload:function(){return hf},toArray:function(){return $a},tokenList:function(){return rp},uniqueArray:function(){return lf},uuid:function(){return Xo},validInputTypes:function(){return Nf},validLangs:function(){return Rf}}),function(t,e,n){return e=e.slice(),n&&e.push(n),n=e.map(function(e){return t.indexOf(e)}).sort(),t[n.pop()]}),Oa=f.CANTTELL_PRIO,_a=f.FAIL_PRIO,Ma=[],Pa=(Ma[f.PASS_PRIO]=!0,Ma[f.CANTTELL_PRIO]=null,Ma[f.FAIL_PRIO]=!1,["any","all","none"]);function Ia(n,r){Pa.reduce(function(e,t){return e[t]=(n[t]||[]).map(function(e){return r(e,t)}),e},{})}var Ba=function(e){var n=Object.assign({},e),r=(Ia(n,function(e,t){var n=void 0===e.result?-1:Ma.indexOf(e.result);e.priority=-1!==n?n:f.CANTTELL_PRIO,"none"===t&&(e.priority===f.PASS_PRIO?e.priority=f.FAIL_PRIO:e.priority===f.FAIL_PRIO&&(e.priority=f.PASS_PRIO))}),{all:n.all.reduce(function(e,t){return Math.max(e,t.priority)},0),none:n.none.reduce(function(e,t){return Math.max(e,t.priority)},0),any:n.any.reduce(function(e,t){return Math.min(e,t.priority)},4)%4}),a=(n.priority=Math.max(r.all,r.none,r.any),[]);return Pa.forEach(function(t){n[t]=n[t].filter(function(e){return e.priority===n.priority&&e.priority===r[t]}),n[t].forEach(function(e){return a.push(e.impact)})}),[Oa,_a].includes(n.priority)?n.impact=Sa(f.impact,a):n.impact=null,Ia(n,function(e){delete e.result,delete e.priority}),n.result=f.results[n.priority],delete n.priority,n};function ja(t){var n=axe._audit.rules.find(function(e){return e.id===t.id});return n&&n.impact&&t.nodes.forEach(function(t){["any","all","none"].forEach(function(e){(t[e]||[]).forEach(function(e){e.impact=n.impact})})}),Object.assign(t,La(t.nodes)),delete t.nodes,t}var La=function(e){var n={},t=((e=e.map(function(e){if(e.any&&e.all&&e.none)return Ba(e);if(Array.isArray(e.node))return ja(e);throw new TypeError("Invalid Result type")}))&&e.length?(t=e.map(function(e){return e.result}),n.result=Sa(f.results,t,n.result)):n.result="inapplicable",f.resultGroups.forEach(function(e){return n[e]=[]}),e.forEach(function(e){var t=f.resultGroupMap[e.result];n[t].push(e)}),f.FAIL_GROUP);return 0===n[t].length&&(t=f.CANTTELL_GROUP),0<n[t].length?(e=n[t].map(function(e){return e.impact}),n.impact=Sa(f.impact,e)||null):n.impact=null,n};function qa(e,t,n){var r=Object.assign({},t);r.nodes=(r[n]||[]).concat(),f.resultGroups.forEach(function(e){delete r[e]}),e[n].push(r)}var za=function(e){var n={};return f.resultGroups.forEach(function(e){return n[e]=[]}),e.forEach(function(t){t.error?qa(n,t,f.CANTTELL_GROUP):t.result===f.NA?qa(n,t,f.NA_GROUP):f.resultGroups.forEach(function(e){Array.isArray(t[e])&&0<t[e].length&&qa(n,t,e)})}),n},Va=function e(t,n,r){var a=window.getComputedStyle(t,null);if(!a)return!1;for(var o=0;o<n.length;++o){var i=n[o];if(a.getPropertyValue(i.property)===i.value)return!0}return!(!t.parentNode||t.nodeName.toUpperCase()===r.toUpperCase())&&e(t.parentNode,n,r)},E=function(e,t){if(!e)throw new Error(t)},$a=function(e){return Array.prototype.slice.call(e)},m=function(e){for(var t,n=String(e),r=n.length,a=-1,o="",i=n.charCodeAt(0);++a<r;)0==(t=n.charCodeAt(a))?o+="�":o+=1<=t&&t<=31||127==t||0==a&&48<=t&&t<=57||1==a&&48<=t&&t<=57&&45==i?"\\"+t.toString(16)+" ":(0!=a||1!=r||45!=t)&&(128<=t||45==t||95==t||48<=t&&t<=57||65<=t&&t<=90||97<=t&&t<=122)?n.charAt(a):"\\"+n.charAt(a);return o};function Ha(e,t){return[e.substring(0,t),e.substring(t)]}function Ua(e){return e.replace(/\s+$/,"")}var Ga,Wa=function(){var e,t,n,r,a,o,i,l,u=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",s=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!(u.length<=1||"data:"===u.substr(0,5)||"javascript:"===u.substr(0,11)||u.includes("?")))return e=s.currentDomain,s=void 0===(s=s.maxLength)?25:s,i=o=l=a=r="",(n=u=u).includes("#")&&(u=(t=D(Ha(u,u.indexOf("#")),2))[0],i=t[1]),u.includes("?")&&(u=(t=D(Ha(u,u.indexOf("?")),2))[0],o=t[1]),u.includes("://")?(r=(t=D(u.split("://"),2))[0],a=(t=D(Ha(u=t[1],u.indexOf("/")),2))[0],u=t[1]):"//"===u.substr(0,2)&&(a=(t=D(Ha(u=u.substr(2),u.indexOf("/")),2))[0],u=t[1]),(a="www."===a.substr(0,4)?a.substr(4):a)&&a.includes(":")&&(a=(t=D(Ha(a,a.indexOf(":")),2))[0],l=t[1]),n=(t={original:n,protocol:r,domain:a,port:l,path:u,query:o,hash:i}).domain,r=t.hash,l=(a=t.path).substr(a.substr(0,a.length-2).lastIndexOf("/")+1),r?l&&(l+r).length<=s?Ua(l+r):l.length<2&&2<r.length&&r.length<=s?Ua(r):void 0:n&&n.length<s&&a.length<=1||a==="/"+l&&n&&e&&n!==e&&(n+a).length<=s?Ua(n+a):(-1===(u=l.lastIndexOf("."))||1<u)&&(-1!==u||2<l.length)&&l.length<=s&&!l.match(/index(\.[a-zA-Z]{2-4})?/)&&!function(e){return 0!==(e=0<arguments.length&&void 0!==e?e:"").length&&(e.match(/[0-9]/g)||"").length>=e.length/2}(l)?Ua(l):void 0},Ya=function(e){return(e.attributes instanceof window.NamedNodeMap?e:e.cloneNode(!1)).attributes},Ka=function(e,t){return!!e[Ga=Ga&&e[Ga]?Ga:(e=>{for(var t,n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],r=n.length,a=0;a<r;a++)if(e[t=n[a]])return t})(e)]&&e[Ga](t)},Xa=Pe(yn()),n=(axe._memoizedFns=[],function(e){return e=(0,Xa.default)(e),axe._memoizedFns.push(e),e}),Za=n(function(e){return!(null==e||!e.createElement)&&"A"===e.createElement("A").localName});function Ja(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(!e)return"";var r=e.getRootNode&&e.getRootNode()||document;if(11!==r.nodeType)return t(e,n,r);for(var a=[];11===r.nodeType;){if(!r.host)return"";a.unshift({elm:e,doc:r}),r=(e=r.host).getRootNode()}return a.unshift({elm:e,doc:r}),a.map(function(e){return t(e.elm,n,e.doc)})}var Qa=["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"],eo=31,to=/([\\"])/g,no=/(\r\n|\r|\n)/g;function ro(e){return e.replace(to,"\\$1").replace(no,"\\a ")}function ao(e,t){var n,r=t.name;return-1!==r.indexOf("href")||-1!==r.indexOf("src")?(n=Wa(e.getAttribute(r)))?m(t.name)+'$="'+ro(n)+'"':m(t.name)+'="'+ro(e.getAttribute(r))+'"':m(r)+'="'+ro(t.value)+'"'}function oo(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function io(e){return!Qa.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<eo)}function lo(e){for(var r={classes:{},tags:{},attributes:{}},a=(e=Array.isArray(e)?e:[e]).slice(),o=[];a.length;)(()=>{var e,t=a.pop(),n=t.actualNode;for(n.querySelectorAll&&(e=n.nodeName,r.tags[e]?r.tags[e]++:r.tags[e]=1,n.classList&&Array.from(n.classList).forEach(function(e){e=m(e);r.classes[e]?r.classes[e]++:r.classes[e]=1}),n.hasAttributes())&&Array.from(Ya(n)).filter(io).forEach(function(e){e=ao(n,e);e&&(r.attributes[e]?r.attributes[e]++:r.attributes[e]=1)}),t.children.length&&(o.push(a),a=t.children.slice());!a.length&&o.length;)a=o.pop()})();return r}function uo(e){var t=Za(document);return m(t?e.localName:e.nodeName.toLowerCase())}function so(e,t){var n,r,a,o,i,l,u,s,c,d="",p=(r=e,a=[],o=t.classes,i=t.tags,r.classList&&Array.from(r.classList).forEach(function(e){e=m(e);o[e]<i[r.nodeName]&&a.push({name:e,count:o[e],species:"class"})}),a.sort(oo)),t=(l=e,u=[],s=t.attributes,c=t.tags,l.hasAttributes()&&Array.from(Ya(l)).filter(io).forEach(function(e){e=ao(l,e);e&&s[e]<c[l.nodeName]&&u.push({name:e,count:s[e],species:"attribute"})}),u.sort(oo));return p.length&&1===p[0].count?n=[p[0]]:t.length&&1===t[0].count?(n=[t[0]],d=uo(e)):((n=p.concat(t)).sort(oo),(n=n.slice(0,3)).some(function(e){return"class"===e.species})?n.sort(function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1}):d=uo(e)),d+n.reduce(function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e},"")}function co(e,t,n){if(!axe._selectorData)throw new Error("Expect axe._selectorData to be set up");var r,a,t=t.toRoot,o=void 0!==t&&t;do{var i=(e=>{var t;if(e.getAttribute("id"))return t=e.getRootNode&&e.getRootNode()||document,(e="#"+m(e.getAttribute("id")||"")).match(/player_uid_/)||1!==t.querySelectorAll(e).length?void 0:e})(e);i||(i=so(e,axe._selectorData),i+=((t,n)=>{var e=t.parentNode&&Array.from(t.parentNode.children||"")||[];return e.find(function(e){return e!==t&&Ka(e,n)})?":nth-child("+(1+e.indexOf(t))+")":""})(e,i)),r=r?i+" > "+r:i,a=!a||a.length>f.selectorSimilarFilterLimit?fo(n,r):a.filter(function(e){return Ka(e,r)}),e=e.parentElement}while((1<a.length||o)&&e&&11!==e.nodeType);return 1===a.length?r:-1!==r.indexOf(" > ")?":root"+r.substring(r.indexOf(" > ")):":root"}var po=n(function(e,t){return Ja(co,e,t)}),fo=n(function(e,t){return Array.from(e.querySelectorAll(t))});function mo(e){var t=e.nodeName.toLowerCase(),n=e.parentElement,r=e.parentNode,a="";return"head"!==t&&"body"!==t&&1<(null==r?void 0:r.children.length)&&(r=Array.prototype.indexOf.call(r.children,e)+1,a=":nth-child(".concat(r,")")),n?mo(n)+" > "+t+a:t+a}function ho(e,t){return Ja(mo,e,t)}var go=function(e){return function e(t,n){var r,a,o,i;if(!t)return[];if(!n&&9===t.nodeType)return n=[{str:"html"}];if(n=n||[],t.parentNode&&t.parentNode!==t&&(n=e(t.parentNode,n)),t.previousSibling){for(a=1,r=t.previousSibling;1===r.nodeType&&r.nodeName===t.nodeName&&a++,r=r.previousSibling;);1===a&&(a=null)}else if(t.nextSibling)for(r=t.nextSibling;r=1===r.nodeType&&r.nodeName===t.nodeName?(a=1,null):(a=null,r.previousSibling););return 1===t.nodeType&&((o={}).str=t.nodeName.toLowerCase(),(i=t.getAttribute&&m(t.getAttribute("id")))&&1===t.ownerDocument.querySelectorAll("#"+i).length&&(o.id=t.getAttribute("id")),1<a&&(o.count=a),n.push(o)),n}(e).reduce(function(e,t){return t.id?"/".concat(t.str,"[@id='").concat(t.id,"']"):e+"/".concat(t.str)+(0<t.count?"[".concat(t.count,"]"):"")},"")},bo={},v={set:function(e,t){var n;E("string"==typeof(n=e),"key must be a string, "+te(n)+" given"),E(""!==n,"key must not be empty"),bo[e]=t},get:function(e,t){var n;return E("function"==typeof(n=t)||void 0===n,"creator must be a function or undefined, "+te(n)+" given"),e in bo?bo[e]:"function"==typeof t?(n=t(),E(void 0!==n,"Cache creator function should not return undefined"),this.set(e,n),bo[e]):void 0},clear:function(){bo={}}},g=function(e,t){return t=t||e,v.get("nodeMap")?v.get("nodeMap").get(t):null},vo="DqElm.RunOptions",yo=n(function(e,t,n){var r,a;return null==n&&(n={}),t=(t=null==t?null:t)||(null!=(r=v.get(vo))?r:{}),this.spec=n,e instanceof p?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=g(e)),this.fromFrame=1<(null==(r=this.spec.selector)?void 0:r.length),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==(n=this._virtualNode)?void 0:n.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,axe._audit.noHtml||(this.source=null!=(e=this.spec.source)?e:null!=(r=this._element)&&r.outerHTML?((t=r.outerHTML)||"function"!=typeof window.XMLSerializer||(t=(new window.XMLSerializer).serializeToString(r)),(r=t||"").length>(a=a||300)&&(a=r.indexOf(">"),r=r.substring(0,a+1)),r):""),this}),wo=(yo.prototype={get selector(){return this.spec.selector||[po(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[ho(this.element)]},get xpath(){return this.spec.xpath||[go(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}},yo.fromFrame=function(e,t,n){e=yo.mergeSpecs(e,n);return new yo(n.element,t,e)},yo.mergeSpecs=function(e,t){return h({},e,{selector:[].concat(w(t.selector),w(e.selector)),ancestry:[].concat(w(t.ancestry),w(e.ancestry)),xpath:[].concat(w(t.xpath),w(e.xpath)),nodeIndexes:[].concat(w(t.nodeIndexes),w(e.nodeIndexes)),fromFrame:!0})},yo.setRunOptions=function(e){var t=e.elementRef;v.set(vo,{elementRef:t,absolutePaths:e.absolutePaths})},yo),Do=function(t,e,n,r){return{isAsync:!1,async:function(){return this.isAsync=!0,function(e){e instanceof Error==!1?(t.result=e,n(t)):r(e)}},data:function(e){t.data=e},relatedNodes:function(e){window.Node&&(e=e instanceof window.Node||e instanceof p?[e]:$a(e),t.relatedNodes=[],e.forEach(function(e){(e=e instanceof p?e.actualNode:e)instanceof window.Node&&(e=new wo(e),t.relatedNodes.push(e))}))}}};function xo(e){return function t(e,n){var r;if(null===e||"object"!==te(e))return e;if(null!=(r=window)&&r.Node&&e instanceof window.Node||null!=(r=window)&&r.HTMLCollection&&e instanceof window.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(n.has(e))return n.get(e);{var a;if(Array.isArray(e))return a=[],n.set(e,a),e.forEach(function(e){a.push(t(e,n))}),a}var o={};n.set(e,o);for(var i in e)o[i]=t(e[i],n);return o}(e,new Map)}(a=new(Pe(En()).CssSelectorParser)).registerSelectorPseudos("not"),a.registerSelectorPseudos("is"),a.registerNestingOperators(">"),a.registerAttrEqualityMods("^","$","*","~");var Eo=a;function Fo(t,e){return Ro(e).some(function(e){return So(t,e)})}function Ao(e,t){return i=t,1===(o=e).props.nodeType&&("*"===i.tag||o.props.nodeName===i.tag)&&(a=e,!(o=t).classes||o.classes.every(function(e){return a.hasClass(e.value)}))&&(r=e,!(i=t).attributes||i.attributes.every(function(e){var t=r.attr(e.key);return null!==t&&e.test(t)}))&&(o=e,!(i=t).id||o.props.id===i.id)&&(n=e,!((o=t).pseudos&&!o.pseudos.every(function(e){if("not"===e.name)return!e.expressions.some(function(e){return So(n,e)});if("is"===e.name)return e.expressions.some(function(e){return So(n,e)});throw new Error("the pseudo selector "+e.name+" has not yet been implemented")})));var n,r,a,o,i}Co=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g;var Co,ko=function(e){return e.replace(Co,"\\")},No=/\\/g;function To(e){return e.map(function(e){for(var t=[],n=e.rule;n;)t.push({tag:n.tagName?n.tagName.toLowerCase():"*",combinator:n.nestingOperator||" ",id:n.id,attributes:(e=>{if(e)return e.map(function(e){var t,n,r=e.name.replace(No,""),a=(e.value||"").replace(No,"");switch(e.operator){case"^=":n=new RegExp("^"+ko(a));break;case"$=":n=new RegExp(ko(a)+"$");break;case"~=":n=new RegExp("(^|\\s)"+ko(a)+"(\\s|$)");break;case"|=":n=new RegExp("^"+ko(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}),{key:r,value:a,type:void 0===e.value?"attrExist":"attrValue",test:t=t||function(e){return e&&n.test(e)}}})})(n.attrs),classes:(e=>{if(e)return e.map(function(e){return{value:e=e.replace(No,""),regexp:new RegExp("(^|\\s)"+ko(e)+"(\\s|$)")}})})(n.classNames),pseudos:(e=>{if(e)return e.map(function(e){var t;return["is","not"].includes(e.name)&&(t=To(t=(t=e.value).selectors||[t])),{name:e.name,expressions:t,value:e.value}})})(n.pseudos)}),n=n.rule;return t})}function Ro(e){e=Eo.parse(e);return To(e.selectors||[e])}function So(e,t,n){return function e(t,n,r,a){if(!t)return!1;for(var o=Array.isArray(n)?n[r]:n,i=Ao(t,o);!i&&a&&t.parent;)i=Ao(t=t.parent,o);if(0<r){if(!1===[" ",">"].includes(o.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+o.combinator);i=i&&e(t.parent,n,r-1," "===o.combinator)}return i}(e,t,t.length-1,n)}var Oo=function(e,t){for(;e;){if(Fo(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 _o(){}function Mo(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}for(var Po,Io,Bo,jo=function(){function t(e){r=e,setTimeout(function(){null!=r&&Na("Uncaught error (of queue)",r)},1)}var r,a=[],n=0,o=0,i=_o,l=!1,u=t;function s(e){return i=_o,u(e),a}function c(){for(var e=a.length;n<e;n++){var t=a[n];try{t.call(null,(t=>function(e){a[t]=e,--o||i===_o||(l=!0,i(a))})(n),s)}catch(e){s(e)}}}var d={defer:function(e){var n;if("object"===te(e)&&e.then&&e.catch&&(n=e,e=function(e,t){n.then(e).catch(t)}),Mo(e),void 0===r){if(l)throw new Error("Queue already completed");return a.push(e),++o,c(),d}},then:function(e){if(Mo(e),i!==_o)throw new Error("queue `then` already set");return r||(i=e,o)||(l=!0,i(a)),d},catch:function(e){if(Mo(e),u!==t)throw new Error("queue `catch` already set");return r?(e(r),r=null):u=e,d},abort:s};return d},Lo=window.crypto||window.msCrypto,qo=(!Io&&Lo&&Lo.getRandomValues&&(Po=new Uint8Array(16),Io=function(){return Lo.getRandomValues(Po),Po}),Io||(Bo=new Array(16),Io=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),Bo[t]=e>>>((3&t)<<3)&255;return Bo}),"function"==typeof window.Buffer?window.Buffer:Array),r=[],zo={},Vo=0;Vo<256;Vo++)r[Vo]=(Vo+256).toString(16).substr(1),zo[r[Vo]]=Vo;function $o(e,t){t=t||0;return r[e[t++]]+r[e[t++]]+r[e[t++]]+r[e[t++]]+"-"+r[e[t++]]+r[e[t++]]+"-"+r[e[t++]]+r[e[t++]]+"-"+r[e[t++]]+r[e[t++]]+"-"+r[e[t++]]+r[e[t++]]+r[e[t++]]+r[e[t++]]+r[e[t++]]+r[e[+t]]}var Ho=[1|(a=Io())[0],a[1],a[2],a[3],a[4],a[5]],Uo=16383&(a[6]<<8|a[7]),Go=0,Wo=0;function Yo(e,t,n){var r=t&&n||0,a=t||[],n=null!=(e=e||{}).clockseq?e.clockseq:Uo,o=null!=e.msecs?e.msecs:(new Date).getTime(),i=null!=e.nsecs?e.nsecs:Wo+1,l=o-Go+(i-Wo)/1e4;if(l<0&&null==e.clockseq&&(n=n+1&16383),1e4<=(i=(l<0||Go<o)&&null==e.nsecs?0:i))throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Go=o,Uo=n;for(var l=(1e4*(268435455&(o+=122192928e5))+(Wo=i))%4294967296,i=(a[r++]=l>>>24&255,a[r++]=l>>>16&255,a[r++]=l>>>8&255,a[r++]=255&l,o/4294967296*1e4&268435455),u=(a[r++]=i>>>8&255,a[r++]=255&i,a[r++]=i>>>24&15|16,a[r++]=i>>>16&255,a[r++]=n>>>8|128,a[r++]=255&n,e.node||Ho),s=0;s<6;s++)a[r+s]=u[s];return t||$o(a)}function Ko(e,t,n){var r=t&&n||0,a=("string"==typeof e&&(t="binary"==e?new qo(16):null,e=null),(e=e||{}).random||(e.rng||Io)());if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;o++)t[r+o]=a[o];return t||$o(a)}(a=Ko).v1=Yo,a.v4=Ko,a.parse=function(e,t,n){var r=t&&n||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){a<16&&(t[r+a++]=zo[e])});a<16;)t[r+a++]=0;return t},a.unparse=$o,a.BufferClass=qo,axe._uuid=Yo();var Xo=Ko,Zo=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Jo(e){var t,n,r,a;try{t=JSON.parse(e)}catch(e){return}if(null!==(e=t)&&"object"===te(e)&&"string"==typeof e.channelId&&e.source===Qo())return n=(e=t).topic,r=e.channelId,a=e.messageId,e=e.keepalive,{topic:n,message:"object"===te(t.error)?(e=>{var t=e.message||"Unknown error occurred",n=Zo.includes(e.name)?e.name:"Error",n=window[n]||Error;return e.stack&&(t+="\n"+e.stack.replace(e.message,"")),new n(t)})(t.error):t.payload,messageId:a,channelId:r,keepalive:!!e}}function Qo(){var e="axeAPI",t="";return(e=void 0!==axe&&axe._audit&&axe._audit.application?axe._audit.application:e)+"."+(t=void 0!==axe?axe.version:t)}function ei(e){ni(e),E(window.parent===e,"Source of the response must be the parent window.")}function ti(e){ni(e),E(e.parent===window,"Respondable target must be a frame in the current window")}function ni(e){E(window!==e,"Messages can not be sent to the same window.")}var ri={},ai=[];function oi(){var e="".concat(Ko(),":").concat(Ko());return ai.includes(e)?oi():(ai.push(e),e)}function ii(n,e,t,r){var a,o,i,l;return(t?ei:ti)(n),e.message instanceof Error&&!t?(axe.log(e.message),!1):(l=h({messageId:oi()},e),o=l.topic,i=l.message,o={channelId:l.channelId,topic:o,messageId:l.messageId,keepalive:!!l.keepalive,source:Qo()},i instanceof Error?o.error={name:i.name,message:i.message,stack:i.stack}:o.payload=i,a=JSON.stringify(o),!(!(l=axe._audit.allowedOrigins)||!l.length||("function"==typeof r&&function(e,t,n){n=!(2<arguments.length&&void 0!==n)||n,E(!ri[e],"A replyHandler already exists for this message channel."),ri[e]={replyHandler:t,sendToParent:n}}(e.channelId,r,t),l.forEach(function(t){try{n.postMessage(a,t)}catch(e){if(e instanceof n.DOMException)throw new Error('allowedOrigins value "'.concat(t,'" is not a valid origin'));throw e}}),0)))}function li(r,a,e){var o=!(2<arguments.length&&void 0!==e)||e;return function(e,t,n){ii(r,{channelId:a,message:e,keepalive:t},o,n)}}function ui(t,e){var n,r,a,o=t.origin,i=t.data,t=t.source;try{var l=Jo(i)||{},u=l.channelId,s=l.message,c=l.messageId;if(r=o,((a=axe._audit.allowedOrigins)&&a.includes("*")||a.includes(r))&&(n=c,!ai.includes(n))&&(ai.push(n),!0))if(s instanceof Error&&t.parent!==window)axe.log(s);else try{if(l.topic){var d=li(t,u);ei(t),e(l,d)}else{var p=t,f=(h=l).channelId,m=h.message,h=h.keepalive,g=(b=(e=>ri[e])(f)||{}).replyHandler,b=b.sendToParent;if(g){(b?ei:ti)(p);p=li(p,f,b);!h&&f&&(e=>{delete ri[e]})(f);try{g(m,h,p)}catch(e){axe.log(e),p(e,h)}}}}catch(e){var v=t,y=e,w=u;if(!v.parent!==window)axe.log(y);else try{ii(v,{topic:null,channelId:w,message:y,messageId:oi(),keepalive:!0},!0)}catch(e){return void axe.log(e)}}}catch(e){axe.log(e)}}var si,ci,di={open:function(t){var e;if("function"==typeof window.addEventListener)return window.addEventListener("message",e=function(e){ui(e,t)},!1),function(){window.removeEventListener("message",e,!1)}},post:function(e,t,n){return"function"==typeof window.addEventListener&&ii(e,t,!1,n)}};function pi(e){e.updateMessenger(di)}var fi={};function mi(e,t,n,r,a){t={topic:t,message:n,channelId:"".concat(Ko(),":").concat(Ko()),keepalive:r};return ci(e,t,a)}function hi(t,n){var e=t.topic,r=t.message,t=t.keepalive,e=fi[e];if(e)try{e(r,t,n)}catch(e){axe.log(e),n(e,t)}}function gi(e,t,n,r){var a,o=e.contentWindow,i=null!=(i=null==(i=t.options)?void 0:i.pingWaitTime)?i:500;o?0===i?bi(e,t,n,r):(a=setTimeout(function(){a=setTimeout(function(){t.debug?r(vi("No response from frame",e)):n(null)},0)},i),mi(o,"axe.ping",null,void 0,function(){clearTimeout(a),bi(e,t,n,r)})):(Na("Frame does not have a content window",e),n(null))}function bi(e,t,n,r){var a=null!=(a=null==(a=t.options)?void 0:a.frameWaitTime)?a:6e4,o=e.contentWindow,i=setTimeout(function(){r(vi("Axe in frame timed out",e))},a);mi(o,"axe.start",t,void 0,function(e){clearTimeout(i),(e instanceof Error==!1?n:r)(e)})}function vi(e,t){var n;return axe._tree&&(n=po(t)),new Error(e+": "+(n||t))}mi.updateMessenger=function(e){var t=e.open,e=e.post,t=(E("function"==typeof t,"open callback must be a function"),E("function"==typeof e,"post callback must be a function"),si&&si(),t(hi));si=t?(E("function"==typeof t,"open callback must return a cleanup function"),t):null,ci=e},mi.subscribe=function(e,t){E("function"==typeof t,"Subscriber callback must be a function"),E(!fi[e],"Topic ".concat(e," is already registered to.")),fi[e]=t},mi.isInFrame=function(){return!!(0<arguments.length&&void 0!==arguments[0]?arguments[0]:window).frameElement},pi(mi);var yi=null,wi={update:function(e){E("object"===te(e),"serializer must be an object"),yi=e},toSpec:function(e){return wi.dqElmToSpec(new wo(e))},dqElmToSpec:function(e,t){var n,r,a,o,i;return e instanceof wo==!1?e:(t&&(r=(n=e).fromFrame,a=t.ancestry,o=t.xpath,i=!1!==t.selectors||r,(n=new wo(n.element,t,{source:n.source,nodeIndexes:n.nodeIndexes,selector:i?n.selector:[":root"],ancestry:a?n.ancestry:[":root"],xpath:o?n.xpath:"/"})).fromFrame=r,e=n),"function"==typeof(null==(t=yi)?void 0:t.toSpec)?yi.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var n;return("function"==typeof(null==(n=yi)?void 0:n.mergeSpecs)?yi:wo).mergeSpecs(e,t)},mapRawResults:function(e){return e.map(function(e){return h({},e,{nodes:wi.mapRawNodeResults(e.nodes)})})},mapRawNodeResults:function(e){return null==e?void 0:e.map(function(e){var t=e.node,n=b(e,M);n.node=wi.dqElmToSpec(t);for(var r=0,a=["any","all","none"];r<a.length;r++){var o=a[r];n[o]=n[o].map(function(e){var t=e.relatedNodes,e=b(e,P);return e.relatedNodes=t.map(wi.dqElmToSpec),e})}return n})}},Di=wi,xi=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])},Ei=function(e,t,n){if(Array.isArray(e))return e.find(function(e){return null!==e&&"object"===te(e)&&Object.hasOwn(e,t)&&e[t]===n})};function Fi(e,t){for(var n=0<arguments.length&&void 0!==e?e:[],r=1<arguments.length&&void 0!==t?t:[],a=Math.max(null==n?void 0:n.length,null==r?void 0:r.length),o=0;o<a;o++){var i=null==n?void 0:n[o],l=null==r?void 0:r[o];if("number"!=typeof i||isNaN(i))return 0===o?1:-1;if("number"!=typeof l||isNaN(l))return 0===o?-1:1;if(i!==l)return i-l}return 0}var Ai=function(e,t){var c=[];return e.forEach(function(e){var s,t=(t=e)&&t.results?Array.isArray(t.results)?t.results.length?t.results:null:[t.results]:null;t&&t.length&&(s=(e=>e.frameElement?Di.toSpec(e.frameElement):e.frameSpec||null)(e),t.forEach(function(e){e.nodes&&s&&(n=e.nodes,t=s,n.forEach(function(e){e.node=Di.mergeSpecs(e.node,t),xi(e).forEach(function(e){e.relatedNodes=e.relatedNodes.map(function(e){return Di.mergeSpecs(e,t)})})}));var t,n=Ei(c,"id",e.id);if(n){if(e.nodes.length){for(var r=n.nodes,a=e.nodes,o=a[0].node,i=0;i<r.length;i++){var l,u=Fi((l=r[i].node).nodeIndexes,o.nodeIndexes);if(0<u||0===u&&o.selector.length<l.selector.length)return void r.splice.apply(r,[i,0].concat(w(a)))}r.push.apply(r,w(a))}}else c.push(e)}))}),c.forEach(function(e){e.nodes&&e.nodes.sort(function(e,t){return Fi(e.node.nodeIndexes,t.node.nodeIndexes)})}),c};function Ci(e,a,o,i,t,n){a=h({},a,{elementRef:!1});var l=jo();e.frames.forEach(function(e){var n=e.node,r=b(e,I);l.defer(function(t,e){gi(n,{options:a,command:o,parameter:i,context:r},function(e){return t(e?{results:e,frameElement:n}:null)},e)})}),l.then(function(e){t(Ai(e,a))}).catch(n)}function ki(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&"function"==typeof e.actualNode.contains)return e.actualNode.contains(t.actualNode);do{if(e===t)return!0;if(t.nodeIndex<e.nodeIndex)return!1}while(t=t.parent);return!1}var Ni=function a(){for(var o={},e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach(function(e){if(e&&"object"===te(e)&&!Array.isArray(e))for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];!o.hasOwnProperty(r)||"object"!==te(e[r])||Array.isArray(o[r])?o[r]=e[r]:o[r]=a(o[r],e[r])}}),o},Ti=function(t,n){Object.assign(t,n),Object.keys(n).filter(function(e){return"function"==typeof n[e]}).forEach(function(e){t[e]=null;try{t[e]=n[e](t)}catch(e){}})},Ri=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"],Si=function(e){if(e.shadowRoot){e=e.nodeName.toLowerCase();if(Ri.includes(e)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(e))return!0}return!1},Oi={},_i=(_e(Oi,{createGrid:function(){return Tl},findElmsInContext:function(){return Pi},findNearbyElms:function(){return Il},findUp:function(){return Bi},findUpVirtual:function(){return Ii},focusDisabled:function(){return $l},getComposedParent:function(){return s},getElementByReference:function(){return Wl},getElementCoordinates:function(){return ol},getElementStack:function(){return Zl},getModalDialog:function(){return jl},getOverflowHiddenAncestors:function(){return qi},getRootNode:function(){return Mi},getScrollOffset:function(){return al},getTabbableElements:function(){return Jl},getTargetRects:function(){return tu},getTargetSize:function(){return nu},getTextElementStack:function(){return js},getViewportSize:function(){return il},getVisibleChildTextRects:function(){return Is},hasContent:function(){return Hs},hasContentVirtual:function(){return $s},hasLangText:function(){return Us},idrefs:function(){return au},insertedIntoFocusOrder:function(){return Gs},isCurrentPageLink:function(){return Gl},isFocusable:function(){return y},isHTML5:function(){return Xs},isHiddenForEveryone:function(){return tl},isHiddenWithCSS:function(){return Ks},isInTabOrder:function(){return eu},isInTextBlock:function(){return ec},isInert:function(){return Ll},isModalOpen:function(){return tc},isMultiline:function(){return nc},isNativelyFocusable:function(){return Ql},isNode:function(){return rc},isOffscreen:function(){return ll},isOpaque:function(){return qd},isSkipLink:function(){return zd},isVisible:function(){return Gd},isVisibleOnScreen:function(){return sl},isVisibleToScreenReaders:function(){return C},isVisualContent:function(){return qs},reduceToElementsBelowFloating:function(){return Wd},shadowElementsFromPoint:function(){return Xd},urlPropsFromAttribute:function(){return Zd},visuallyContains:function(){return Yd},visuallyOverlaps:function(){return Jd},visuallySort:function(){return Yl}}),function(e){var t=e.getRootNode&&e.getRootNode()||document;return t=t===e?document:t}),Mi=_i,Pi=function(e){var t=e.context,n=e.attr,r=void 0===(r=e.elm)?"":r,e=m(e.value),t=9===t.nodeType||11===t.nodeType?t:Mi(t);return Array.from(t.querySelectorAll(r+"["+n+"="+e+"]"))},Ii=function(e,t){var n=e.actualNode;if(!e.shadowId&&"function"==typeof e.actualNode.closest)return e.actualNode.closest(t)||null;for(;(n=(n=n.assignedSlot||n.parentNode)&&11===n.nodeType?n.host:n)&&!Ka(n,t)&&n!==document.documentElement;);return n&&Ka(n,t)?n:null},Bi=function(e,t){return Ii(g(e),t)};function ji(e,t){return(0|e.left)<(0|t.right)&&(0|e.right)>(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var Li=n(function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(Li(e.parent))):t}),qi=Li,zi=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Vi=/(\w+)\((\d+)/;function $i(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Hi(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function Ui(e){return!(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Gi(e){return!!(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function Wi(e){return"true"===e.attr("aria-hidden")}function Yi(e){return"0"===e.getComputedStylePropertyValue("opacity")}function Ki(e){var t=_p(e.actualNode),n=parseInt(e.getComputedStylePropertyValue("height")),e=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===n||0===e)}function Xi(t){var n,e,r;return!(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"fixed"!==(n=t.getComputedStylePropertyValue("position"))&&!!(e=qi(t)).length&&(r=t.boundingClientRect,e.some(function(e){return!("absolute"===n&&!((e,t)=>{for(var n=e.parent;n&&n!==t;){if(["relative","sticky"].includes(n.getComputedStylePropertyValue("position")))return 1;n=n.parent}})(t,e)&&"static"===e.getComputedStylePropertyValue("position"))&&((e=e.boundingClientRect).width<2||e.height<2||!ji(r,e))}))}function Zi(e){var t=e.getComputedStylePropertyValue("clip").match(zi),n=e.getComputedStylePropertyValue("clip-path").match(Vi);if(t&&5===t.length){e=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(e))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(n){var e=n[1],r=parseInt(n[2],10);switch(e){case"inset":return 50<=r;case"circle":return 0===r}}return!1}function Ji(e,t){var n,r=Oo(e,"map");return!r||!((r=r.attr("name"))&&(e=_i(e.actualNode))&&9===e.nodeType&&(n=yf(axe._tree,'img[usemap="#'.concat(m(r),'"]')))&&n.length)||n.some(function(e){return!t(e)})}function Qi(e){var t;if("details"!==(null==(t=e.parent)?void 0:t.props.nodeName))return!1;if("summary"===e.props.nodeName&&e.parent.children.find(function(e){return"summary"===e.props.nodeName})===e)return!1;return!e.parent.hasAttr("open")}var el=[Hi,Ui,Gi,Qi];function tl(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.skipAncestors,t=t.isAncestor,t=void 0!==t&&t;return e=l(e).vNode,(n?nl:rl)(e,t)}var nl=n(function(t,n){return!!$i(t)||!(!t.actualNode||!el.some(function(e){return e(t,{isAncestor:n})})&&t.actualNode.isConnected)}),rl=n(function(e,t){return!!nl(e,t)||!!e.parent&&rl(e.parent,!0)}),s=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){if(1===(t=t.parentNode).nodeType)return t;if(t.host)return t.host}return null},al=function(e){var t,n;return 9===(e=!e.nodeType&&e.document?e.document:e).nodeType?(t=e.documentElement,n=e.body,{left:t&&t.scrollLeft||n&&n.scrollLeft||0,top:t&&t.scrollTop||n&&n.scrollTop||0}):{left:e.scrollLeft,top:e.scrollTop}},ol=function(e){var t=(n=al(document)).left,n=n.top;return{top:(e=e.getBoundingClientRect()).top+n,right:e.right+t,bottom:e.bottom+n,left:e.left+t,width:e.right-e.left,height:e.bottom-e.top}},il=function(e){var t=e.document,n=t.documentElement;return e.innerWidth?{width:e.innerWidth,height:e.innerHeight}:n?{width:n.clientWidth,height:n.clientHeight}:{width:(e=t.body).clientWidth,height:e.clientHeight}},ll=function(e){if((1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;if(e=l(e).domNode){var t=document.documentElement,n=window.getComputedStyle(e),r=window.getComputedStyle(document.body||t).getPropertyValue("direction"),a=ol(e);if(a.bottom<0&&(((e,t)=>{for(e=s(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&0<=(t+=e.scrollTop))return;e=s(e)}return 1})(e,a.bottom)||"absolute"===n.position))return!0;if(0!==a.left||0!==a.right)if("ltr"===r){if(a.right<=0)return!0}else if(e=Math.max(t.scrollWidth,il(window).width),a.left>=e)return!0;return!1}},ul=[Yi,Ki,Xi,Zi,ll];function sl(e){return e=l(e).vNode,cl(e)}var cl=n(function(t,n){return t.actualNode&&"area"===t.props.nodeName?!Ji(t,cl):!(tl(t,{skipAncestors:!0,isAncestor:n})||t.actualNode&&ul.some(function(e){return e(t,{isAncestor:n})}))&&(!t.parent||cl(t.parent,!0))});function dl(e,t){var n=Math.min(e.top,t.top),r=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),e=Math.min(e.left,t.left);return new window.DOMRect(e,n,r-e,a-n)}function pl(e,t){var n=e.x,e=e.y;return t.top<=e&&n<=t.right&&e<=t.bottom&&t.left<=n}var fl={};function ml(e,t){var n=Math.max(e.left,t.left),r=Math.min(e.right,t.right),a=Math.max(e.top,t.top),e=Math.min(e.bottom,t.bottom);return r<=n||e<=a?null:new window.DOMRect(n,a,r-n,e-a)}function hl(e){var t=e.left;return new window.DOMPoint(t+e.width/2,e.top+e.height/2)}_e(fl,{getBoundingRect:function(){return dl},getIntersectionRect:function(){return ml},getOffset:function(){return vl},getRectCenter:function(){return hl},hasVisualOverlap:function(){return wl},isPointInRect:function(){return pl},rectHasMinimumSize:function(){return bl},rectsOverlap:function(){return ji},splitRects:function(){return Dl}});var gl=.05;function bl(e,t){return e<=t.width+gl&&e<=t.height+gl}function vl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:12,e=tu(e),r=tu(t);if(!e.length||!r.length)return null;var a,o=hl(e.reduce(dl)),i=1/0,l=x(r);try{for(l.s();!(a=l.n()).done;){var u=a.value;if(pl(o,u))return 0;var s=yl(o,((e,t)=>{var n;return n=e.x<t.left?t.left:e.x>t.right?t.right:e.x,t=e.y<t.top?t.top:e.y>t.bottom?t.bottom:e.y,{x:n,y:t}})(o,u)),i=Math.min(i,s)}}catch(e){l.e(e)}finally{l.f()}return bl(2*n,nu(t))?i:(e=yl(o,hl(r.reduce(dl)))-n,Math.max(0,Math.min(i,e)))}function yl(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function wl(e,t){var n=e.boundingClientRect,r=t.boundingClientRect;return!(n.left>=r.right||n.right<=r.left||n.top>=r.bottom||n.bottom<=r.top)&&0<Yl(e,t)}function Dl(e,t){var r,a=[e],n=x(t);try{var o=function(){var n=r.value;if(4e3<(a=a.reduce(function(e,t){return e.concat(((e,t)=>{var n=e.top,r=e.left,a=e.bottom,o=e.right,i=n<t.bottom&&a>t.top,l=r<t.right&&o>t.left,u=[];if(xl(t.top,n,a)&&l&&u.push({top:n,left:r,bottom:t.top,right:o}),xl(t.right,r,o)&&i&&u.push({top:n,left:t.right,bottom:a,right:o}),xl(t.bottom,n,a)&&l&&u.push({top:t.bottom,right:o,bottom:a,left:r}),xl(t.left,r,o)&&i&&u.push({top:n,left:r,bottom:a,right:t.left}),0===u.length){if(((e,t)=>e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right)(e,t))return[];u.push(e)}return u.map(El)})(t,n))},[])).length)throw new Error("splitRects: Too many rects")};for(n.s();!(r=n.n()).done;)o()}catch(e){n.e(e)}finally{n.f()}return a}var xl=function(e,t,n){return t<e&&e<n};function El(e){return new window.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}var Fl=0,Al=.1,Cl=.2,kl=.3,Nl=0;function Tl(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.body,t=1<arguments.length?arguments[1]:void 0,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!v.get("gridCreated")||n){v.set("gridCreated",!0),n||(a=(a=g(document.documentElement))||new np(document.documentElement),Nl=0,a._stackingOrder=[Ol(Fl,Nl++,null)],_l(t=null!=t?t:new Ml,a),_p(a.actualNode)&&(r=new Ml(a),a._subGrid=r));for(var r,a,o=document.createTreeWalker(e,window.NodeFilter.SHOW_ELEMENT,null,!1),i=n?o.nextNode():o.currentNode;i;){var l=g(i),u=(l&&l.parent?n=l.parent:i.assignedSlot?n=g(i.assignedSlot):i.parentElement?n=g(i.parentElement):i.parentNode&&g(i.parentNode)&&(n=g(i.parentNode)),(l=l||new axe.VirtualNode(i,n))._stackingOrder=((e,t,n)=>{var r=t._stackingOrder.slice(),a=(Rl(e,t)&&-1!==(a=r.findIndex(function(e){e=e.stackLevel;return[Fl,Cl,kl].includes(e)}))&&r.splice(a,r.length-a),((e,t)=>{var n=((e,t)=>"static"!==e.getComputedStylePropertyValue("position")||Sl(t)?e.getComputedStylePropertyValue("z-index"):"auto")(e,t);return["auto","0"].includes(n)?"static"!==e.getComputedStylePropertyValue("position")?kl:"none"!==e.getComputedStylePropertyValue("float")?Cl:Rl(e,t)?Al:null:parseInt(n)})(e,t));return null!==a&&r.push(Ol(a,n,e)),r})(l,n,Nl++),((e,t)=>{for(var n=null,r=[e];t;){if(_p(t.actualNode)){n=t;break}if(t._scrollRegionParent){n=t._scrollRegionParent;break}r.push(t),t=g(t.actualNode.parentElement||t.actualNode.parentNode)}return r.forEach(function(e){return e._scrollRegionParent=n}),n})(l,n)),u=u?u._subGrid:t,s=(_p(l.actualNode)&&(s=new Ml(l),l._subGrid=s),l.boundingClientRect);0!==s.width&&0!==s.height&&sl(i)&&_l(u,l),Si(i)&&Tl(i.shadowRoot,u,l),i=o.nextNode()}}return f.gridSize}function Rl(e,t){var n=e.getComputedStylePropertyValue("position"),r=e.getComputedStylePropertyValue("z-index");return"fixed"===n||"sticky"===n||"auto"!==r&&"static"!==n||"1"!==e.getComputedStylePropertyValue("opacity")||"none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none")||(n=e.getComputedStylePropertyValue("mix-blend-mode"))&&"normal"!==n||(n=e.getComputedStylePropertyValue("filter"))&&"none"!==n||(n=e.getComputedStylePropertyValue("perspective"))&&"none"!==n||(n=e.getComputedStylePropertyValue("clip-path"))&&"none"!==n||"none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none")||"none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none")||"none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none")||"isolate"===e.getComputedStylePropertyValue("isolation")||"transform"===(n=e.getComputedStylePropertyValue("will-change"))||"opacity"===n||"touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling")||(n=e.getComputedStylePropertyValue("contain"),["layout","paint","strict","content"].includes(n))||!("auto"===r||!Sl(t))}function Sl(e){if(e)return e=e.getComputedStylePropertyValue("display"),["flex","inline-flex","grid","inline-grid"].includes(e)}function Ol(e,t,n){return{stackLevel:e,treeOrder:t,vNode:n}}function _l(t,n){var r=qi(n);n.clientRects.forEach(function(e){var e=r.reduce(function(e,t){return e&&ml(e,t.boundingClientRect)},e);e&&(null==n._grid&&(n._grid=t),e=t.getGridPositionOfRect(e),t.loopGridPosition(e,function(e){e.includes(n)||e.push(n)}))})}var Ml=ve(function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null;ge(this,e),this.container=t,this.cells=[]},[{key:"toGridIndex",value:function(e){return Math.floor(e/f.gridSize)}},{key:"getCellFromPoint",value:function(e){var t=e.x,e=e.y,e=(E(this.boundaries,"Grid does not have cells added"),this.toGridIndex(e)),t=this.toGridIndex(t),e=(E(pl({y:e,x:t},this.boundaries),"Element midpoint exceeds the grid bounds"),null!=(e=this.cells[e-this.cells._negativeIndex])?e:[]);return null!=(t=e[t-e._negativeIndex])?t:[]}},{key:"loopGridPosition",value:function(e,r){var t=e,a=t.left,o=t.right,n=t.top,t=t.bottom;this.boundaries&&(e=dl(this.boundaries,e)),this.boundaries=e,Pl(this.cells,n,t,function(e,n){Pl(e,a,o,function(e,t){r(e,{row:n,col:t})})})}},{key:"getGridPositionOfRect",value:function(e){var t=e.top,n=e.right,r=e.bottom,e=e.left,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,t=this.toGridIndex(t-a),n=this.toGridIndex(n+a-1),r=this.toGridIndex(r+a-1),e=this.toGridIndex(e-a);return new window.DOMRect(e,t,n-e,r-t)}}]);function Pl(e,t,n,r){if(null!=e._negativeIndex||(e._negativeIndex=0),t<e._negativeIndex){for(var a=0;a<e._negativeIndex-t;a++)e.splice(0,0,[]);e._negativeIndex=t}for(var o,i=n-e._negativeIndex,l=t-e._negativeIndex;l<=i;l++)null==e[o=l]&&(e[o]=[]),r(e[l],l+e._negativeIndex)}function Il(a){var e,o,t,i,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;return Tl(),null!=(t=a._grid)&&null!=(t=t.cells)&&t.length?(t=a.boundingClientRect,e=a._grid,o=Bl(a),t=e.getGridPositionOfRect(t,n),i=[],e.loopGridPosition(t,function(e){var t,n=x(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;r&&r!==a&&!i.includes(r)&&o===Bl(r)&&i.push(r)}}catch(e){n.e(e)}finally{n.f()}}),i):[]}var Bl=n(function(e){return!!e&&("fixed"===e.getComputedStylePropertyValue("position")||Bl(e.parent))}),jl=n(function(){var e;return axe._tree&&(e=sf(axe._tree[0],"dialog[open]",function(e){var t=e.boundingClientRect;return document.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&sl(e)})).length?e.find(function(e){var t=e.boundingClientRect;return document.elementsFromPoint(t.left-10,t.top-10).includes(e.actualNode)})||(null!=(e=e.find(function(e){var e=null!=(e=(e=>{Tl();var t=axe._tree[0]._grid,n=new window.DOMRect(0,0,window.innerWidth,window.innerHeight);if(t)for(var r=0;r<t.cells.length;r++){var a=t.cells[r];if(a)for(var o=0;o<a.length;o++){var i=a[o];if(i)for(var l=0;l<i.length;l++){var u=i[l],s=ml(u.boundingClientRect,n);if("html"!==u.props.nodeName&&u!==e&&"none"!==u.getComputedStylePropertyValue("pointer-events")&&s)return{vNode:u,rect:s}}}}})(e))?e:{},t=e.vNode,e=e.rect;return!!t&&!document.elementsFromPoint(e.left+1,e.top+1).includes(t.actualNode)}))?e:null):null});function Ll(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.skipAncestors,t=t.isAncestor;return(n?ql:zl)(e,t)}var ql=n(function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){t=jl();if(t&&!ki(t,e))return!0}return!1}),zl=n(function(e,t){return!!ql(e,t)||!!e.parent&&zl(e.parent,!0)}),Vl=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"],$l=function(e){var t=l(e).vNode;if(e=t.props.nodeName,Vl.includes(e)&&t.hasAttr("disabled")||Ll(t))return!0;for(var n=t.parent,r=[],a=!1;n&&n.shadowId===t.shadowId&&!a&&(r.push(n),"legend"!==n.props.nodeName);){if(void 0!==n._inDisabledFieldset){a=n._inDisabledFieldset;break}"fieldset"===n.props.nodeName&&n.hasAttr("disabled")&&(a=!0),n=n.parent}return r.forEach(function(e){return e._inDisabledFieldset=a}),!!a||"area"!==t.props.nodeName&&!!t.actualNode&&tl(t)},Hl=/^\/\#/,Ul=/^#[!/]/;function Gl(e){var t,n,r,a,o=e.getAttribute("href");return!(!o||"#"===o)&&(!!Hl.test(o)||(a=e.hash,t=e.protocol,n=e.hostname,r=e.port,e=e.pathname,!Ul.test(a)&&("#"===o.charAt(0)||("string"!=typeof(null==(a=window.location)?void 0:a.origin)||-1===window.location.origin.indexOf("://")?null:(o=window.location.origin+window.location.pathname,a=n?"".concat(t,"//").concat(n).concat(r?":".concat(r):""):window.location.origin,(a+=e?("/"!==e[0]?"/":"")+e:window.location.pathname)===o)))))}var Wl=function(e,t){var n=e.getAttribute(t);return n&&("href"!==t||Gl(e))?(-1!==n.indexOf("#")&&(n=decodeURIComponent(n.substr(n.indexOf("#")+1))),(t=document.getElementById(n))||((t=document.getElementsByName(n)).length?t[0]:null)):null};function Yl(e,t){Tl();for(var n=Math.max(e._stackingOrder.length,t._stackingOrder.length),r=0;r<n;r++){if(void 0===t._stackingOrder[r])return-1;if(void 0===e._stackingOrder[r])return 1;if(t._stackingOrder[r].stackLevel>e._stackingOrder[r].stackLevel)return 1;if(t._stackingOrder[r].stackLevel<e._stackingOrder[r].stackLevel)return-1;if(t._stackingOrder[r].treeOrder!==e._stackingOrder[r].treeOrder)return t._stackingOrder[r].treeOrder-e._stackingOrder[r].treeOrder}var a=e.actualNode,o=t.actualNode;if(a.getRootNode&&a.getRootNode()!==o.getRootNode()){for(var i=[];a;)i.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;o&&!i.find(function(e){return e.root===o.getRootNode()});)o=o.getRootNode().host;if((a=i.find(function(e){return e.root===o.getRootNode()}).node)===o)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var l=window.Node,u=l.DOCUMENT_POSITION_FOLLOWING,s=l.DOCUMENT_POSITION_CONTAINS,l=l.DOCUMENT_POSITION_CONTAINED_BY,c=a.compareDocumentPosition(o),u=c&u?1:-1,s=c&s||c&l,c=Kl(e),l=Kl(t);return c===l||s?u:l-c}function Kl(e){return-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:function e(t){if(!t)return!1;if(void 0!==t._isFloated)return t._isFloated;var n=t.getComputedStylePropertyValue("float");if("none"!==n)return t._isFloated=!0;n=e(t.parent);t._isFloated=n;return n}(e)?1:0}function Xl(e,t,n){var n=2<arguments.length&&void 0!==n&&n,t=hl(t),r=e.getCellFromPoint(t)||[],a=Math.floor(t.x),o=Math.floor(t.y),t=r.filter(function(e){return e.clientRects.some(function(e){var t=e.left,n=e.top;return a<Math.floor(t+e.width)&&a>=Math.floor(t)&&o<Math.floor(n+e.height)&&o>=Math.floor(n)})}),r=e.container;return r&&(t=Xl(r._grid,r.boundingClientRect,!0).concat(t)),t=n?t:t.sort(Yl).map(function(e){return e.actualNode}).concat(document.documentElement).filter(function(e,t,n){return n.indexOf(e)===t})}var Zl=function(e){Tl();var t=(e=g(e))._grid;return t?Xl(t,e.boundingClientRect):[]},Jl=function(e){return yf(e,"*").filter(function(e){var t=e.isFocusable,e=rf(e.actualNode.getAttribute("tabindex"));return null!==e?t&&0<=e:t})},Ql=function(e){var t=l(e).vNode;if(t&&!$l(t))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!yf(t,"summary").length}return!1};function y(e){e=l(e).vNode;return 1===e.props.nodeType&&!($l(e)||!Ql(e)&&null===rf(e.attr("tabindex")))}function eu(e){e=l(e).vNode;return 1===e.props.nodeType&&!(rf(e.attr("tabindex"))<=-1)&&y(e)}var tu=n(function(t){var e=t.boundingClientRect,n=Il(t).filter(function(e){return wl(t,e)&&"none"!==e.getComputedStylePropertyValue("pointer-events")&&!(ki(t,e=e)&&!eu(e))});return n.length?(n=n.map(function(e){return e.boundingClientRect}),Dl(e,n)):[e]}),nu=n(function(e,t){return((e,r)=>e.reduce(function(e,t){var n=bl(r,e);return n!==bl(r,t)?n?e:t:(n=e.width*e.height,t.width*t.height<n?e:t)}))(tu(e),t)}),ru={},au=(_e(ru,{accessibleText:function(){return ou},accessibleTextVirtual:function(){return u},autocomplete:function(){return Ns},formControlValue:function(){return ss},formControlValueMethods:function(){return ls},hasUnicode:function(){return Es},isHumanInterpretable:function(){return ks},isIconLigature:function(){return Fs},isValidAutocomplete:function(){return Ts},label:function(){return _s},labelText:function(){return ps},labelVirtual:function(){return Os},nativeElementType:function(){return Ms},nativeTextAlternative:function(){return bs},nativeTextMethods:function(){return gs},removeUnicode:function(){return Cs},sanitize:function(){return A},subtreeText:function(){return ds},titleText:function(){return Gu},unsupported:function(){return Ku},visible:function(){return Ss},visibleTextNodes:function(){return Ps},visibleVirtual:function(){return Zu}}),function(e,t){e=e.actualNode||e;try{var n=Mi(e),r=[];if(a=e.getAttribute(t))for(var a=rp(a),o=0;o<a.length;o++)r.push(n.getElementById(a[o]));return r}catch(e){throw new TypeError("Cannot resolve id references for non-DOM nodes")}}),ou=function(e,t){return u(g(e),t)},iu=function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=l(e).vNode;return 1!==(null==r?void 0:r.props.nodeType)||1!==r.props.nodeType||n.inLabelledByContext||n.inControlContext||!r.attr("aria-labelledby")?"":au(r,"aria-labelledby").filter(function(e){return e}).reduce(function(e,t){t=ou(t,h({inLabelledByContext:!0,startNode:n.startNode||r},n));return e?"".concat(e," ").concat(t):t},"")};function lu(e){e=l(e).vNode;return 1===(null==e?void 0:e.props.nodeType)&&e.attr("aria-label")||""}var uu={"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}},su={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"]}},a={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"]}},cu={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]},du={ariaAttrs:uu,ariaRoles:h({},su,{"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,cssColors:cu},pu=h({},du),F=pu,fu=function(e){return!!(e=F.ariaRoles[e])&&!!e.unsupported},mu=function(e){var t=(n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).allowAbstract,n=void 0!==(n=n.flagUnsupported)&&n,r=F.ariaRoles[e],e=fu(e);return!(!r||n&&e||!t&&"abstract"===r.type)},c=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.fallback,r=t.abstracts,a=t.dpub;return 1===(e=e instanceof p?e:g(e)).props.nodeType&&(t=(e.attr("role")||"").trim().toLowerCase(),(n?rp(t):[t]).find(function(e){return!(!a&&"doc-"===e.substr(0,4))&&mu(e,{allowAbstract:r})}))||null},hu=function(t){return Object.keys(F.htmlElms).filter(function(e){e=F.htmlElms[e];return e.contentTypes?e.contentTypes.includes(t):!!e.variant&&!(!e.variant.default||!e.variant.default.contentTypes)&&e.variant.default.contentTypes.includes(t)})},gu=function(){return v.get("globalAriaAttrs",function(){return Object.keys(F.ariaAttrs).filter(function(e){return F.ariaAttrs[e].global})})},bu=n(function(e){for(var t=[],n=e.rows,r=0,a=n.length;r<a;r++)for(var o=n[r].cells,i=(t[r]=t[r]||[],0),l=0,u=o.length;l<u;l++)for(var s=0;s<o[l].colSpan;s++){for(var c=o[l].getAttribute("rowspan"),d=0===parseInt(c)||0===o[l].rowspan?n.length:o[l].rowSpan,p=0;p<d;p++){for(t[r+p]=t[r+p]||[];t[r+p][i];)i++;t[r+p][i]=o[l]}i++}return t}),vu=n(function(e,t){var n,r;for(t=t||bu(Bi(e,"table")),n=0;n<t.length;n++)if(t[n]&&-1!==(r=t[n].indexOf(e)))return{x:r,y:n}});function yu(e){var t,e=l(e),n=e.vNode,e=e.domNode,r=n.attr("scope"),a=n.attr("role");if(["td","th"].includes(n.props.nodeName))return"columnheader"===a?"col":"rowheader"===a?"row":"col"===r||"row"===r?r:"th"===n.props.nodeName&&(n.actualNode?(a=bu(Bi(e,"table")))[(t=vu(e,a)).y].every(function(e){return"TH"===e.nodeName.toUpperCase()})?"col":a.map(function(e){return e[t.x]}).every(function(e){return e&&"TH"===e.nodeName.toUpperCase()})?"row":"auto":"auto");throw new TypeError("Expected TD or TH element")}var wu=function(e){return-1!==["col","auto"].indexOf(yu(e))},Du=function(e){return["row","auto"].includes(yu(e))};function xu(){return v.get("sectioningContentSelector",function(){return hu("sectioning").map(function(e){return"".concat(e,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})}function Eu(){return v.get("sectioningContentPlusMainSelector",function(){return xu()+" , main:not([role]), [role=main]"})}var A=function(e){return e?e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""};function Fu(e,t){t=(1<arguments.length&&void 0!==t?t:{}).checkTitle,t=void 0!==t&&t;return A(iu(e))||A(lu(e))||t&&1===(null==e?void 0:e.props.nodeType)&&A(e.attr("title"))}var Au={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:function(e){return Oo(e.parent,xu())&&!Fu(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 Oo(e,Eu())?null:"contentinfo"},form:function(e){return Fu(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return Oo(e,Eu())?null:"banner"},hr:"separator",img:function(t){var e=t.hasAttr("alt")&&!t.attr("alt"),n=gu().find(function(e){return t.hasAttr(e)});return!e||n||y(t)?"img":"presentation"},input:function(e){var t,n;switch(e.hasAttr("list")&&(n=(t=au(e.actualNode,"list").filter(function(e){return!!e})[0])&&"datalist"===t.nodeName.toLowerCase()),e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return n?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return n?"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 Fu(e)?"region":null},select:function(e){return e.hasAttr("multiple")||1<parseInt(e.attr("size"))?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){e=Oo(e,"table"),e=c(e);return["grid","treegrid"].includes(e)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return wu(e)?"columnheader":Du(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"},Cu=function(e,t){var n=te(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===n)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t))return n=t.substring(1,t.length-1),new RegExp(n).test(e)}return t===e};function ku(e,t){return Cu(!!u(e),t)}var Nu=function(t,n){if("object"!==te(n)||Array.isArray(n)||n instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(n).every(function(e){return Cu(t(e),n[e])})};function Tu(t,e){return t=l(t).vNode,Nu(function(e){return t.attr(e)},e)}function Ru(e,t){return!!t(e)}function Su(e,t){return Cu(c(e),t)}function Ou(e,t){return Cu(zu(e),t)}function _u(e,t){return e=l(e).vNode,Cu(e.props.nodeName,t)}function Mu(t,e){return t=l(t).vNode,Nu(function(e){return t.props[e]},e)}function Pu(e,t){return Cu(d(e),t)}var Iu={hasAccessibleName:ku,attributes:Tu,condition:Ru,explicitRole:Su,implicitRole:Ou,nodeName:_u,properties:Mu,semanticRole:Pu},Bu=function t(n,r){return n=l(n).vNode,Array.isArray(r)?r.some(function(e){return t(n,e)}):"string"==typeof r?Fo(n,r):Object.keys(r).every(function(e){var t;if(Iu[e])return t=r[e],(0,Iu[e])(n,t);throw new Error('Unknown matcher type "'.concat(e,'"'))})},ju=function(e,t){return Bu(e,t)},Lu=(ju.hasAccessibleName=ku,ju.attributes=Tu,ju.condition=Ru,ju.explicitRole=Su,ju.fromDefinition=Bu,ju.fromFunction=Nu,ju.fromPrimative=Cu,ju.implicitRole=Ou,ju.nodeName=_u,ju.properties=Mu,ju.semanticRole=Pu,ju),qu=function(e){var t=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,n=void 0!==t&&t,r=F.htmlElms[e.props.nodeName];if(!r)return{};if(!r.variant)return r;var a,o,i=r.variant,l=b(r,B);for(a in i)if(i.hasOwnProperty(a)&&"default"!==a){for(var u=i[a],s=u.matches,c=b(u,j),d=Array.isArray(s)?s:[s],p=0;p<d.length&&n;p++)if(d[p].hasOwnProperty("hasAccessibleName"))return r;if(Lu(e,s))for(var f in c)c.hasOwnProperty(f)&&(l[f]=c[f])}for(o in i.default)i.default.hasOwnProperty(o)&&void 0===l[o]&&(l[o]=i.default[o]);return l},zu=function(e){var t=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).chromium,n=e instanceof p?e:g(e);if(e=n.actualNode,n)return e=n.props.nodeName,!(e=Au[e])&&t?qu(n).chromiumRole||null:"function"==typeof e?e(n):e||null;throw new ReferenceError("Cannot get implicit role of a node outside the current scope.")},Vu={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 $u(e,t){var n=t.chromium,t=b(t,L),n=zu(e,{chromium:n});return n?function e(t,n){var r=Vu[t.props.nodeName];if(r){if(t.parent)return r.includes(t.parent.props.nodeName)?(r=c(t.parent,n),["none","presentation"].includes(r)&&!Hu(t.parent)?r:r?null:e(t.parent,n)):null;if(t.actualNode)throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}return null}(e,t)||n:null}function Hu(t){return gu().some(function(e){return t.hasAttr(e)})||y(t)}var d=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.noPresentational,e=function(e,t){var n,t=1<arguments.length&&void 0!==t?t:{},r=t.noImplicit,t=b(t,z),e=l(e).vNode;return 1!==e.props.nodeType?null:!(n=c(e,t))||["presentation","none"].includes(n)&&Hu(e)?r?null:$u(e,t):n}(e,b(t,V));return n&&["presentation","none"].includes(e)?null:e},Uu=["iframe"],Gu=function(e){var t=l(e).vNode;return 1!==t.props.nodeType||!e.hasAttr("title")||!ju(t,Uu)&&["none","presentation"].includes(d(t))?"":t.attr("title")},Wu=function(e){var t,n=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).strict;return 1===(e=e instanceof p?e:g(e)).props.nodeType&&(e=d(e),!(!(t=F.ariaRoles[e])||!t.nameFromContent)||!n&&(!t||["presentation","none"].includes(e)))},Yu=function(e){var t=e.actualNode,n=e.children;if(n)return e.hasAttr("aria-owns")?(e=au(t,"aria-owns").filter(function(e){return!!e}).map(function(e){return axe.utils.getNodeFromTree(e)}),[].concat(w(n),w(e))):w(n);throw new Error("getOwnedVirtual requires a virtual node")},Ku={accessibleNameFromFieldValue:["progressbar"]};function C(e){return e=l(e).vNode,Xu(e)}var Xu=n(function(e,t){return!Wi(e)&&!Ll(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!Ji(e,Xu):!tl(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||Xu(e.parent,!0)))}),Zu=function r(e,a,o){var t=l(e).vNode,n=a?C:sl,i=!e.actualNode||(e.actualNode,n(e)),n=t.children.map(function(e){var t=(n=e.props).nodeType,n=n.nodeValue;if(3===t){if(n&&i)return n}else if(!o)return r(e,a)}).join("");return A(n)},Ju=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"],Qu=function(e){var t=(e=e instanceof p?e:g(e)).props.nodeName;return"textarea"===t||"input"===t&&!Ju.includes((e.attr("type")||"").toLowerCase())},es=function(e){return"select"===(e=e instanceof p?e:g(e)).props.nodeName},ts=function(e){return"textbox"===c(e)},ns=function(e){return"listbox"===c(e)},rs=function(e){return"combobox"===c(e)},as=["progressbar","scrollbar","slider","spinbutton"],os=function(e){return e=c(e),as.includes(e)},is=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],ls={nativeTextboxValue:function(e){e=l(e).vNode;if(Qu(e))return e.props.value||"";return""},nativeSelectValue:function(e){e=l(e).vNode;if(!es(e))return"";var e=yf(e,"option"),t=e.filter(function(e){return e.props.selected});t.length||t.push(e[0]);return t.map(function(e){return Zu(e)}).join(" ")||""},ariaTextboxValue:function(e){var e=l(e),t=e.vNode,e=e.domNode;if(!ts(t))return"";return e&&tl(e)?e.textContent:Zu(t,!0)},ariaListboxValue:us,ariaComboboxValue:function(e,t){var e=l(e).vNode;return rs(e)&&(e=Yu(e).filter(function(e){return"listbox"===d(e)})[0])?us(e,t):""},ariaRangeValue:function(e){var e=l(e).vNode;return os(e)&&e.hasAttr("aria-valuenow")?(e=+e.attr("aria-valuenow"),isNaN(e)?"0":String(e)):""}};function us(e,t){var e=l(e).vNode;return!ns(e)||0===(e=Yu(e).filter(function(e){return"option"===d(e)&&"true"===e.attr("aria-selected")})).length?"":u(e[0],t)}var ss=function(n){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=n.actualNode,t=Ku.accessibleNameFromFieldValue||[],a=d(n);return r.startNode===n||!is.includes(a)||t.includes(a)?"":(t=Object.keys(ls).map(function(e){return ls[e]}).reduce(function(e,t){return e||t(n,r)},""),r.debug&&Na(t||"{empty-value}",e,r),t)},cs=hu("phrasing").concat(["#text"]),ds=function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},t=u.alreadyProcessed;a.startNode=a.startNode||e;var n=(o=a).strict,r=o.inControlContext,o=o.inLabelledByContext,i=d(e),l=qu(e,{noMatchAccessibleName:!0}).contentTypes;return!(t(e,a)||1!==e.props.nodeType||null!=l&&l.includes("embedded")||is.includes(i))&&(a.subtreeDescendant||a.inLabelledByContext||Wu(e,{strict:n}))?(n||(a=h({subtreeDescendant:!r&&!o},a)),Yu(e).reduce(function(e,t){var n=a,r=t.props.nodeName;return(t=u(t,n))?(cs.includes(r)||(" "!==t[0]&&(t+=" "),e&&" "!==e[e.length-1]&&(t=" "+t)),e+t):e},"")):""},ps=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=u.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||n(e,t))return"";t.startNode||(t.startNode=e);var r,a=h({inControlContext:!0},t),n=(e=>{if(!e.attr("id"))return[];if(e.actualNode)return Pi({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode});throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes")})(e);return(t=Oo(e,"label"))?(r=[].concat(w(n),[t.actualNode])).sort(Zp):r=n,r.map(function(e){return ou(e,a)}).filter(function(e){return""!==e}).join(" ")},fs={submit:"Submit",image:"Submit",reset:"Reset",button:""};function ms(e,t){return t.attr(e)||""}function hs(e,t,n){var t=t.actualNode,r=[e=e.toLowerCase(),t.nodeName.toLowerCase()].join(","),t=t.querySelector(r);return t&&t.nodeName.toLowerCase()===e?ou(t,n):""}var gs={valueText:function(e){return e.props.value||""},buttonDefaultText:function(e){return fs[e.props.type]||""},tableCaptionText:hs.bind(null,"caption"),figureText:hs.bind(null,"figcaption"),svgTitleText:hs.bind(null,"title"),fieldsetLegendText:hs.bind(null,"legend"),altText:ms.bind(null,"alt"),tableSummaryText:ms.bind(null,"summary"),titleText:Gu,subtreeText:ds,labelText:ps,singleSpace:function(){return" "},placeholderText:ms.bind(null,"placeholder")};function bs(n){var e,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},t=n.actualNode;return 1!==n.props.nodeType||["presentation","none"].includes(d(n))?"":(e=(qu(n,{noMatchAccessibleName:!0}).namingMethods||[]).map(function(e){return gs[e]}).reduce(function(e,t){return e||t(n,r)},""),r.debug&&axe.log(e||"{empty-value}",t,r),e)}function vs(){return/[\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}function ys(){return/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function ws(){return/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function Ds(){return/[\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}function xs(){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-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\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}var Es=function(e,t){var n=t.emoji,r=t.nonBmp,t=t.punctuations,a=!1;return n&&(a=a||xs().test(e)),r&&(a=a||vs().test(e)||ws().test(e)||Ds().test(e)),a=t?a||ys().test(e):a};function Fs(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:.15,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:3,r=e.actualNode.nodeValue.trim();if(!A(r)||Es(r,{emoji:!0,nonBmp:!0}))return!1;var a=v.get("canvasContext",function(){return document.createElement("canvas").getContext("2d",{willReadFrequently:!0})}),o=a.canvas,i=v.get("fonts",function(){return{}}),e=window.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family"),i=(i[e]||(i[e]={occurrences:0,numLigatures:0}),i[e]);if(i.occurrences>=n){if(i.numLigatures/i.occurrences==1)return!0;if(0===i.numLigatures)return!1}i.occurrences++;var n=30,l="".concat(n,"px ").concat(e),u=(a.font=l,r.charAt(0)),s=a.measureText(u).width;if(0===s)return i.numLigatures++,!0;s<30&&(s*=c=30/s,l="".concat(n*=c,"px ").concat(e)),o.width=s,o.height=n,a.font=l,a.textAlign="left",a.textBaseline="top",a.fillText(u,0,0);var c=new Uint32Array(a.getImageData(0,0,s,n).data.buffer);if(!c.some(function(e){return e}))return i.numLigatures++,!0;a.clearRect(0,0,s,n),a.fillText(r,0,0);var d=new Uint32Array(a.getImageData(0,0,s,n).data.buffer),e=c.reduce(function(e,t,n){return 0===t&&0===d[n]||0!==t&&0!==d[n]?e:++e},0),o=r.split("").reduce(function(e,t){return e+a.measureText(t).width},0),l=a.measureText(r).width;return t<=e/c.length&&t<=1-l/o&&(i.numLigatures++,!0)}function u(n){var e,t,r,a,o,i=((e,t)=>(t.startNode||(t=h({startNode:e},t)),t=1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden?h({includeHidden:!C(e)},t):t))(n,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{});return((e,t)=>e&&1===e.props.nodeType&&!t.includeHidden&&!C(e))(n,i)||(e=n,t=(o=i).ignoreIconLigature,r=o.pixelThreshold,a=null!=(a=o.occurrenceThreshold)?a:o.occuranceThreshold,3===e.props.nodeType&&t&&Fs(e,r,a))?"":(o=[iu,lu,bs,ss,ds,As,Gu].reduce(function(e,t){return""!==(e=i.startNode===n?A(e):e)?e:t(n,i)},""),i.debug&&axe.log(o||"{empty-value}",n.actualNode,i),o)}function As(e){return 3!==e.props.nodeType?"":e.props.nodeValue}u.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var Cs=function(e,t){var n=t.emoji,r=t.nonBmp,t=t.punctuations;return n&&(e=e.replace(xs(),"")),r&&(e=e.replace(vs(),"").replace(ws(),"").replace(Ds(),"")),e=t?e.replace(ys(),""):e},ks=function(e){var t;return 0===A(e).length||1===(t=e).length&&t.match(/\D/)||["aa","abc"].includes(e.toLowerCase())||(e=>(e=Cs(e,{emoji:!0,nonBmp:!0,punctuations:!0}),!A(e)))(e)?0:1},Ns={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"]},Ts=function(e){var t=void 0!==(t=(l=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).looseTyped)&&t,n=void 0===(n=l.stateTerms)?[]:n,r=void 0===(r=l.locations)?[]:r,a=void 0===(a=l.qualifiers)?[]:a,o=void 0===(o=l.standaloneTerms)?[]:o,i=void 0===(i=l.qualifiedTerms)?[]:i,l=void 0===(l=l.ignoredValues)?[]:l;return e=e.toLowerCase().trim(),!(!(n=n.concat(Ns.stateTerms)).includes(e)&&""!==e)||(a=a.concat(Ns.qualifiers),r=r.concat(Ns.locations),o=o.concat(Ns.standaloneTerms),i=i.concat(Ns.qualifiedTerms),!("webauthn"===(n=e.split(/\s+/g))[n.length-1]&&(n.pop(),0===n.length)||!t&&(8<n[0].length&&"section-"===n[0].substr(0,8)&&n.shift(),r.includes(n[0])&&n.shift(),a.includes(n[0])&&(n.shift(),o=[]),1!==n.length))&&(l.includes(e=n[n.length-1])?void 0:o.includes(e)||i.includes(e)))},Rs=function(e){var t;return e.attr("aria-labelledby")&&(t=au(e.actualNode,"aria-labelledby").map(function(e){e=g(e);return e?Zu(e):""}).join(" ").trim())?t:(t=(t=e.attr("aria-label"))&&A(t))||null},Ss=function(e,t,n){return e=g(e),Zu(e,t,n)},Os=function(e){if(t=Rs(e))return t;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var t,n=m(e.attr("id"));if(t=(n=Mi(e.actualNode).querySelector('label[for="'+n+'"]'))&&Ss(n,!0))return t}return(t=(n=Oo(e,"label"))&&Zu(n,!0))||null},_s=function(e){return e=g(e),Os(e)},Ms=[{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"]}],Ps=function t(e){var n=sl(e),r=[];return e.children.forEach(function(e){3===e.actualNode.nodeType?n&&r.push(e):r=r.concat(t(e))}),r},Is=n(function(e){var t=g(e),r=t.boundingClientRect,a=[],o=qi(t);return e.childNodes.forEach(function(e){var t,n;3!==e.nodeType||""===A(e.nodeValue)||(e=e,(t=document.createRange()).selectNodeContents(e),e=Array.from(t.getClientRects()),n=r,e.some(function(e){return!pl(hl(e),n)}))||a.push.apply(a,w(Bs(e,o)))}),a.length?a:Bs([r],o)});function Bs(e,t){var n=[];return e.forEach(function(e){e.width<1||e.height<1||(e=t.reduce(function(e,t){return e&&ml(e,t.boundingClientRect)},e))&&n.push(e)}),n}var js=function(e){Tl();var t=g(e)._grid;return t?Is(e).map(function(e){return Xl(t,e)}):[]},Ls=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"],qs=function(e){var t=l(e).vNode;if(e=axe.commons.aria.getExplicitRole(t))return-1!==Ls.indexOf(e);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}},zs=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Vs(e){return!zs.includes(e.props.nodeName)&&e.children.some(function(e){e=e.props;return 3===e.nodeType&&e.nodeValue.trim()})}var $s=function t(e,n,r){return Vs(e)||qs(e.actualNode)||!r&&!!Rs(e)||!n&&e.children.some(function(e){return 1===e.actualNode.nodeType&&t(e)})},Hs=function(e,t,n){return e=g(e),$s(e,t,n)};function Us(e){return!(void 0!==e.children&&!Vs(e))||(1===e.props.nodeType&&qs(e)?!!axe.commons.text.accessibleTextVirtual(e):e.children.some(function(e){return!e.attr("lang")&&Us(e)&&!tl(e)}))}var Gs=function(e){return-1<rf(e.getAttribute("tabindex"))&&y(e)&&!Ql(e)};function Ws(e,t){var e=l(e),n=e.vNode,e=e.domNode;return n?(void 0===n._isHiddenWithCSS&&(n._isHiddenWithCSS=Ys(e,t)),n._isHiddenWithCSS):Ys(e,t)}function Ys(e,t){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var n,r=window.getComputedStyle(e,null);if(r)return"none"===r.getPropertyValue("display")||(n=["hidden","collapse"],r=r.getPropertyValue("visibility"),!(!n.includes(r)||t))||!!(n.includes(r)&&t&&n.includes(t))||!(!(t=s(e))||n.includes(r))&&Ws(t,r);throw new Error("Style does not exist for the given element.")}var Ks=Ws,Xs=function(e){return null!==(e=e.doctype)&&"html"===e.name&&!e.publicId&&!e.systemId},Zs=function(e){(e instanceof p||null!=(t=window)&&t.Node&&e instanceof window.Node)&&(e=axe.commons.aria.getRole(e));var t=F.ariaRoles[e];return(null==t?void 0:t.type)||null},Js=["block","list-item","table","flex","grid","inline-block"];function Qs(e){e=window.getComputedStyle(e).getPropertyValue("display");return Js.includes(e)||"table-"===e.substr(0,6)}var ec=function(n,e){var t,r,a,o;return!Qs(n)&&(t=(e=>{for(var t=s(e);t&&!Qs(t);)t=s(t);return g(t)})(n),a=r="",o=0,function t(e,n){!1!==n(e.actualNode)&&e.children.forEach(function(e){return t(e,n)})}(t,function(e){if(2===o)return!1;if(3===e.nodeType&&(r+=e.nodeValue),1===e.nodeType){var t=(e.nodeName||"").toUpperCase();if(e===n&&(o=1),!["BR","HR"].includes(t)){if("none"!==e.style.display&&"hidden"!==e.style.overflow&&["",null,"none"].includes(e.style.float)&&["",null,"relative"].includes(e.style.position))return"widget"===Zs(e)?(a+=e.textContent,!1):void 0;return!1}0===o?a=r="":o=2}}),r=A(r),null!=e&&e.noLengthCompare?0!==r.length:(a=A(a),r.length>a.length))},tc=function(e){if(e=(e=e||{}).modalPercent||.75,v.get("isModalOpen"))return v.get("isModalOpen");if(sf(axe._tree[0],"dialog, [role=dialog], [aria-modal=true]",sl).length)return v.set("isModalOpen",!0),!0;for(var t,n=il(window),r=n.width*e,a=n.height*e,e=(n.width-r)/2,o=(n.height-a)/2,i=[{x:e,y:o},{x:n.width-e,y:o},{x:n.width/2,y:n.height/2},{x:e,y:n.height-o},{x:n.width-e,y:n.height-o}].map(function(e){return Array.from(document.elementsFromPoint(e.x,e.y))}),l=0;l<i.length;l++)if(t=(()=>{var t=i[l].find(function(e){e=window.getComputedStyle(e);return parseInt(e.width,10)>=r&&parseInt(e.height,10)>=a&&"none"!==e.getPropertyValue("pointer-events")&&("absolute"===e.position||"fixed"===e.position)});if(t&&i.every(function(e){return e.includes(t)}))return v.set("isModalOpen",!0),{v:!0}})())return t.v;v.set("isModalOpen",void 0)};function nc(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:2,r=e.ownerDocument.createRange(),a=(r.setStart(e,0),r.setEnd(e,e.childNodes.length),0),o=0,i=x(r.getClientRects());try{for(i.s();!(t=i.n()).done;){var l=t.value;if(!(l.height<=n))if(l.top+n<a)a=Math.max(a,l.bottom);else{if(0!==o)return!0;a=l.bottom,o++}}}catch(e){i.e(e)}finally{i.f()}return!1}var rc=function(e){return e instanceof window.Node},ac="color.incompleteData",k={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var n=v.get(ac,function(){return{}});return t&&(n[e]=t),n[e]},get:function(e){var t=v.get(ac);return null==t?void 0:t[e]},clear:function(){v.set(ac,{})}},oc=function(e,t){var n=e.nodeName.toUpperCase();return["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(n)?(k.set("bgColor","imgNode"),!0):((e="none"!==(n=(t=t||window.getComputedStyle(e)).getPropertyValue("background-image")))&&(t=/gradient/.test(n),k.set("bgColor",t?"bgGradient":"bgImage")),e)},cu=(_e(a={},{ArrayFrom:function(){return _d.default},Colorjs:function(){return R},CssSelectorParser:function(){return ic.CssSelectorParser},doT:function(){return lc.default},emojiRegexText:function(){return xs},memoize:function(){return uc.default}}),Pe(Fn())),Fn=Pe(t()),t=(Pe(An()),Pe(Ar())),An=Pe($r()),Ar=Pe(Aa()),ic=("hasOwn"in Object||(Object.hasOwn=t.default),"values"in Object||(Object.values=An.default),"Promise"in window||cu.default.polyfill(),"Uint32Array"in window||(window.Uint32Array=Fn.Uint32Array),window.Uint32Array&&("some"in window.Uint32Array.prototype||Object.defineProperty(window.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in window.Uint32Array.prototype||Object.defineProperty(window.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),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(t[a]=r[a])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,a=arguments[1],o=0;o<r;o++)if(t=n[o],e.call(a,t,o,n))return t}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e,t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n,r=Object(this),a=r.length>>>0,o=0;o<a;o++)if(n=r[o],e.call(t,n,o,r))return o;return-1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){var t=Object(this),n=parseInt(t.length,10)||0;if(0!==n){var r,a,o=parseInt(arguments[1],10)||0;for(0<=o?r=o:(r=n+o)<0&&(r=0);r<n;){if(e===(a=t[r])||e!=e&&a!=a)return!0;r++}}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),n=t.length>>>0,r=2<=arguments.length?arguments[1]:void 0,a=0;a<n;a++)if(a in t&&e.call(r,t[a],a,t))return!0;return!1}}),Array.from||(Array.from=Ar.default),String.prototype.includes||(String.prototype.includes=function(e,t){return!((t="number"!=typeof t?0:t)+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function n(){var r=isNaN(arguments[0])?1:Number(arguments[0]);return r?Array.prototype.reduce.call(this,function(e,t){return Array.isArray(t)?e.push.apply(e,n.call(t,r-1)):e.push(t),e},[]):Array.prototype.slice.call(this)},writable:!0}),!window.Node||"isConnected"in window.Node.prototype||Object.defineProperty(window.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}}),Pe(En())),lc=Pe(Ca()),uc=Pe(yn());function o(e,n){var t=e.length,r=(Array.isArray(e[0])||(e=[e]),(n=Array.isArray(n[0])?n:n.map(function(e){return[e]}))[0].length),a=n[0].map(function(e,t){return n.map(function(e){return e[t]})}),e=e.map(function(o){return a.map(function(e){var t=0;if(Array.isArray(o))for(var n=0;n<o.length;n++)t+=o[n]*(e[n]||0);else{var r,a=x(e);try{for(a.s();!(r=a.n()).done;)t+=o*r.value}catch(e){a.e(e)}finally{a.f()}}return t})});return 1===t&&(e=e[0]),1===r?e.map(function(e){return e[0]}):e}function sc(e){return"string"===cc(e)}function cc(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function dc(e,t){e=+e,t=+t;var n=(Math.floor(e)+"").length;return n<t?+e.toFixed(t-n):(n=Math.pow(10,n-t),Math.round(e/n)*n)}function pc(e){var n,r;if(e)return e=e.trim(),n=/^-?[\d.]+$/,(e=e.match(/^([a-z]+)\((.+?)\)$/i))?(r=[],e[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(e,t){/%$/.test(t)?(t=new Number(t.slice(0,-1)/100)).type="<percentage>":/deg$/.test(t)?((t=new Number(+t.slice(0,-3))).type="<angle>",t.unit="deg"):n.test(t)&&((t=new Number(t)).type="<number>"),e.startsWith("/")&&((t=t instanceof Number?t:new Number(t)).alpha=!0),r.push(t)}),{name:e[1].toLowerCase(),rawName:e[1],rawArgs:e[2],args:r}):void 0}function fc(e){return e[e.length-1]}function mc(e,t,n){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*n}function hc(e,t,n){return(n-e)/(t-e)}function gc(e,t,n){return mc(t[0],t[1],hc(e[0],e[1],n))}function bc(e){return e.map(function(e){return e.split("|").map(function(e){var t,n=(e=e.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);return n?((t=new String(n[1])).range=[+n[2],+n[3]],t):e})})}var $r=Object.freeze({__proto__:null,isString:sc,type:cc,toPrecision:dc,parseFunction:pc,last:fc,interpolate:mc,interpolateInv:hc,mapRange:gc,parseCoordGrammar:bc,multiplyMatrices:o}),vc=new(ve(function e(){ge(this,e)},[{key:"add",value:function(e,t,n){if("string"!=typeof arguments[0])for(var e in arguments[0])this.add(e,arguments[0][e],t);else(Array.isArray(e)?e:[e]).forEach(function(e){this[e]=this[e]||[],t&&this[e][n?"unshift":"push"](t)},this)}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach(function(e){e.call(t&&t.context?t.context:t,t)})}}])),yc={gamut_mapping:"lch.c",precision:5,deltaE:"76"},wc={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function Dc(e){return Array.isArray(e)?e:wc[e]}function xc(e,t,n,r){r=3<arguments.length&&void 0!==r?r:{};if(e=Dc(e),t=Dc(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(e||t?"":"/").concat(t?"":"to"));if(e===t)return n;e={W1:e,W2:t,XYZ:n,options:r};if(vc.run("chromatic-adaptation-start",e),e.M||(e.W1===wc.D65&&e.W2===wc.D50?e.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:e.W1===wc.D50&&e.W2===wc.D65&&(e.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),vc.run("chromatic-adaptation-end",e),e.M)return o(e.M,e.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}xe=new WeakSet,Ee=new WeakMap;var Ec=ve(function e(t){ge(this,e),ue(this,xe),le(this,Ee,void 0),this.id=t.id,this.name=t.name,this.base=t.base?Ec.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var n,r=null!=(r=t.coords)?r:this.base.coords,r=(this.coords=r,null!=(r=null!=(r=t.white)?r:this.base.white)?r:"D65");for(n in this.white=Dc(r),this.formats=null!=(r=t.formats)?r:{},this.formats){var a=this.formats[n];a.type||(a.type="function"),a.name||(a.name=n)}!t.cssId||null!=(r=this.formats.functions)&&r.color?null==(r=this.formats)||!r.color||null!=(r=this.formats)&&r.color.id||(this.formats.color.id=this.id):(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})),this.referred=t.referred,de(Ee,this,pe(xe,this,Ac).call(this).reverse()),vc.run("colorspace-init-end",this)},[{key:"inGamut",value:function(e){var r,t=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).epsilon,a=void 0===t?75e-6:t;return this.isPolar?(e=this.toBase(e),this.base.inGamut(e,{epsilon:a})):(r=Object.values(this.coords),e.every(function(e,t){var n,t=r[t];return"angle"===t.type||!t.range||!!Number.isNaN(e)||(n=(t=D(t.range,2))[0],t=t[1],(void 0===n||n-a<=e)&&(void 0===t||e<=t+a))}))}},{key:"cssId",get:function(){var e;return(null==(e=this.formats.functions)||null==(e=e.color)?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(e){return"object"===te(e)||(e="default"===e?Object.values(this.formats)[0]:this.formats[e])?pe(xe,this,Fc).call(this,e):null}},{key:"to",value:function(e,t){var n;if(1===arguments.length&&(e=(n=[e.space,e.coords])[0],t=n[1]),this!==(e=Ec.get(e))){t=t.map(function(e){return Number.isNaN(e)?0:e});for(var r,a,o=ce(Ee,this),i=ce(Ee,e),l=0;l<o.length&&o[l]===i[l];l++)r=o[l],a=l;if(!r)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(e,": no connection space was found"));for(var u=o.length-1;a<u;u--)t=o[u].toBase(t);for(var s=a+1;s<i.length;s++)t=i[s].fromBase(t)}return t}},{key:"from",value:function(e,t){var n;return 1===arguments.length&&(e=(n=[e.space,e.coords])[0],t=n[1]),(e=Ec.get(e)).to(this,t)}},{key:"toString",value:function(){return"".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var e,t=[];for(e in this.coords){var n=this.coords[e],n=n.range||n.refRange;t.push(null!=(n=null==n?void 0:n.min)?n:0)}return t}}],[{key:"all",get:function(){return w(new Set(Object.values(Ec.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var n,r=x(t.aliases);try{for(r.s();!(n=r.n()).done;){var a=n.value;this.register(a,t)}}catch(e){r.e(e)}finally{r.f()}}return t}},{key:"get",value:function(e){if(!e||e instanceof Ec)return e;if("string"===cc(e)){var t=Ec.registry[e.toLowerCase()];if(t)return t;throw new TypeError('No color space found with id = "'.concat(e,'"'))}for(var n=arguments.length,r=new Array(1<n?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];if(r.length)return Ec.get.apply(Ec,r);throw new TypeError("".concat(e," is not a valid color space"))}},{key:"resolveCoord",value:function(e,t){var n,r;if(r="string"===cc(e)?e.includes(".")?(n=(r=D(e.split("."),2))[0],r[1]):(n=void 0,e):Array.isArray(e)?(n=(r=D(e,2))[0],r[1]):(n=e.space,e.coordId),!(n=(n=Ec.get(n))||t))throw new TypeError("Cannot resolve coordinate reference ".concat(e,": No color space specified and relative references are not allowed here"));if("number"===(t=cc(r))||"string"===t&&0<=r){e=Object.entries(n.coords)[r];if(e)return h({space:n,id:e[0],index:r},e[1])}n=Ec.get(n);var a,o=r.toLowerCase(),i=0;for(a in n.coords){var l,u=n.coords[a];if(a.toLowerCase()===o||(null==(l=u.name)?void 0:l.toLowerCase())===o)return h({space:n,id:a,index:i},u);i++}throw new TypeError('No "'.concat(r,'" coordinate found in ').concat(n.name,". Its coordinates are: ").concat(Object.keys(n.coords).join(", ")))}}]);function Fc(a){var o;return a.coords&&!a.coordGrammar&&(a.type||(a.type="function"),a.name||(a.name="color"),a.coordGrammar=bc(a.coords),o=Object.entries(this.coords).map(function(e,t){var e=D(e,2),e=(e[0],e[1]),t=a.coordGrammar[t][0],e=e.range||e.refRange,n=t.range,r="";return"<percentage>"==t?(n=[0,100],r="%"):"<angle>"==t&&(r="deg"),{fromRange:e,toRange:n,suffix:r}}),a.serializeCoords=function(e,a){return e.map(function(e,t){var t=o[t],n=t.fromRange,r=t.toRange,t=t.suffix;return e=dc(e=n&&r?gc(n,r,e):e,a),t&&(e+=t),e})}),a}function Ac(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var N=Ec,Cc=(Ie(N,"registry",{}),Ie(N,"DEFAULT_FORMAT",{type:"functions",name:"color"}),new N({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"]})),t=(oe(kc,N),ve(kc));function kc(t){var n;return ge(this,kc),t.coords||(t.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),t.base||(t.base=Cc),t.toXYZ_M&&t.fromXYZ_M&&(null==t.toBase&&(t.toBase=function(e){e=o(t.toXYZ_M,e);return e=n.white!==n.base.white?xc(n.white,n.base.white,e):e}),null==t.fromBase)&&(t.fromBase=function(e){return e=xc(n.base.white,n.white,e),o(t.fromXYZ_M,e)}),null==t.referred&&(t.referred="display"),n=ne(this,kc,[t])}function Nc(e){var r={str:null==(s=String(e))?void 0:s.trim()};if(vc.run("parse-start",r),r.color)return r.color;if(r.parsed=pc(r.str),r.parsed){var u=r.parsed.name;if("color"===u){var a,o=r.parsed.args.shift(),i=0<r.parsed.rawArgs.indexOf("/")?r.parsed.args.pop():1,t=x(N.all);try{var n;for(t.s();!(a=t.n()).done;)if(n=(()=>{var n,e=a.value,t=e.getFormat("color");if(t&&(o===t.id||null!=(t=t.ids)&&t.includes(o)))return t=Object.keys(e.coords).length,(n=Array(t).fill(0)).forEach(function(e,t){return n[t]=r.parsed.args[t]||0}),{v:{spaceId:e.id,coords:n,alpha:i}}})())return n.v}catch(e){t.e(e)}finally{t.f()}var l,s="";throw o in N.registry&&(l=null==(l=N.registry[o].formats)||null==(l=l.functions)||null==(l=l.color)?void 0:l.id)&&(s="Did you mean color(".concat(l,")?")),new TypeError("Cannot parse color(".concat(o,"). ")+(s||"Missing a plugin?"))}var c,d=x(N.all);try{var p;for(d.s();!(c=d.n()).done;)if(p=(()=>{var e,i,t=c.value,l=t.getFormat(u);if(l&&"function"===l.type)return e=1,(l.lastAlpha||fc(r.parsed.args).alpha)&&(e=r.parsed.args.pop()),i=r.parsed.args,l.coordGrammar&&Object.entries(t.coords).forEach(function(e,t){var e=D(e,2),n=e[0],e=e[1],r=l.coordGrammar[t],a=null==(o=i[t])?void 0:o.type;if(!(r=r.find(function(e){return e==a})))throw o=e.name||n,new TypeError("".concat(a," not allowed for ").concat(o," in ").concat(u,"()"));var n=r.range,o=e.range||e.refRange;(n="<percentage>"===a?n||[0,1]:n)&&o&&(i[t]=gc(n,o,i[t]))}),{v:{spaceId:t.id,coords:i,alpha:e}}})())return p.v}catch(e){d.e(e)}finally{d.f()}}else{var f,m=x(N.all);try{for(m.s();!(f=m.n()).done;){var h,g=f.value;for(h in g.formats){var b=g.formats[h];if("custom"===b.type&&(!b.test||b.test(r.str))){var v=b.parse(r.str);if(v)return null==v.alpha&&(v.alpha=1),v}}}}catch(e){m.e(e)}finally{m.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function T(e){var t;if(e)return(t=(e=sc(e)?Nc(e):e).space||e.spaceId)instanceof N||(e.space=N.get(t)),void 0===e.alpha&&(e.alpha=1),e;throw new TypeError("Empty color reference")}function Tc(e,t){return(t=N.get(t)).from(e)}function Rc(e,t){var t=N.resolveCoord(t,e.space),n=t.space,t=t.index;return Tc(e,n)[t]}function Sc(e,t,n){return t=N.get(t),e.coords=t.to(e.space,n),e}function Oc(e,t,n){if(e=T(e),2===arguments.length&&"object"===cc(t)){var r,a=t;for(r in a)Oc(e,r,a[r])}else{"function"==typeof n&&(n=n(Rc(e,t)));var t=N.resolveCoord(t,e.space),o=t.space,t=t.index,i=Tc(e,o);i[t]=n,Sc(e,o,i)}return e}var An=new N({id:"xyz-d50",name:"XYZ D50",white:"D50",base:Cc,fromBase:function(e){return xc(Cc.white,"D50",e)},toBase:function(e){return xc("D50",Cc.white,e)},formats:{color:{}}}),_c=24389/27,Mc=wc.D50,Pc=new N({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Mc,base:An,fromBase:function(e){e=e.map(function(e,t){return e/Mc[t]}).map(function(e){return 216/24389<e?Math.cbrt(e):(_c*e+16)/116});return[116*e[1]-16,500*(e[0]-e[1]),200*(e[1]-e[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,[24/116<t[0]?Math.pow(t[0],3):(116*t[0]-16)/_c,8<e[0]?Math.pow((e[0]+16)/116,3):e[0]/_c,24/116<t[2]?Math.pow(t[2],3):(116*t[2]-16)/_c].map(function(e,t){return e*Mc[t]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function Ic(e){return(e%360+360)%360}var Bc=new N({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:Pc,fromBase:function(e){var e=D(e,3),t=e[0],n=e[1],e=e[2],r=Math.abs(n)<.02&&Math.abs(e)<.02?NaN:180*Math.atan2(e,n)/Math.PI;return[t,Math.sqrt(Math.pow(n,2)+Math.pow(e,2)),Ic(r)]},toBase:function(e){var e=D(e,3),t=e[0],n=e[1],e=e[2];return n<0&&(n=0),isNaN(e)&&(e=0),[t,n*Math.cos(e*Math.PI/180),n*Math.sin(e*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),jc=Math.pow(25,7),Lc=Math.PI,qc=180/Lc,zc=Lc/180;function Vc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=n.kL,r=void 0===r?1:r,a=n.kC,a=void 0===a?1:a,n=n.kH,n=void 0===n?1:n,e=D(Pc.from(e),3),o=e[0],i=e[1],e=e[2],l=Bc.from(Pc,[o,i,e])[1],t=D(Pc.from(t),3),u=t[0],s=t[1],t=t[2],c=Bc.from(Pc,[u,s,t])[1],l=((l=l<0?0:l)+(c=c<0?0:c))/2,c=Math.pow(l,7),l=.5*(1-Math.sqrt(c/(c+jc))),c=(1+l)*i,i=(1+l)*s,l=Math.sqrt(Math.pow(c,2)+Math.pow(e,2)),s=Math.sqrt(Math.pow(i,2)+Math.pow(t,2)),e=0==c&&0===e?0:Math.atan2(e,c),c=0==i&&0===t?0:Math.atan2(t,i),t=(e<0&&(e+=2*Lc),c<0&&(c+=2*Lc),u-o),i=s-l,d=(c*=qc)-(e*=qc),e=e+c,c=Math.abs(d),d=(l*s==0?p=0:c<=180?p=d:180<d?p=d-360:d<-180?p=360+d:console.log("the unthinkable has happened"),2*Math.sqrt(s*l)*Math.sin(p*zc/2)),p=(o+u)/2,o=(l+s)/2,u=Math.pow(o,7),l=l*s==0?e:c<=180?e/2:e<360?(e+360)/2:(e-360)/2,s=Math.pow(p-50,2),c=1+.015*s/Math.sqrt(20+s),e=1+.045*o,p=1,s=1+.015*o*((p-=.17*Math.cos((l-30)*zc))+.24*Math.cos(2*l*zc)+.32*Math.cos((3*l+6)*zc)-.2*Math.cos((4*l-63)*zc)),o=30*Math.exp(-1*Math.pow((l-275)/25,2)),p=2*Math.sqrt(u/(u+jc)),l=-1*Math.sin(2*o*zc)*p,u=Math.pow(t/(r*c),2),u=(u+=Math.pow(i/(a*e),2))+Math.pow(d/(n*s),2)+i/(a*e)*l*(d/(n*s));return Math.sqrt(u)}var $c=75e-6;function Hc(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:e.space,n=(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).epsilon,n=void 0===n?$c:n,r=(e=T(e),t=N.get(t),e.coords);return t!==e.space&&(r=t.from(e)),t.inGamut(r,{epsilon:n})}function Uc(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Gc(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.method,n=void 0===n?yc.gamut_mapping:n,t=t.space,r=void 0===t?e.space:t;if(sc(arguments[1])&&(r=arguments[1]),!Hc(e,r=N.get(r),{epsilon:0})){var a,t=Wc(e,r);if("clip"!==n&&!Hc(e,r)){var o=Gc(Uc(t),{method:"clip",space:r});if(2<Vc(e,o)){for(var i=N.resolveCoord(n),l=i.space,u=i.id,s=Wc(t,l),c=(i.range||i.refRange)[0],d=Rc(s,u);.01<d-c;)Vc(s,Gc(Uc(s),{space:r,method:"clip"}))-2<.01?c=Rc(s,u):d=Rc(s,u),Oc(s,u,(c+d)/2);t=Wc(s,r)}else t=o}"clip"!==n&&Hc(t,r,{epsilon:0})||(a=Object.values(r.coords).map(function(e){return e.range||[]}),t.coords=t.coords.map(function(e,t){var t=D(a[t],2),n=t[0],t=t[1];return void 0!==n&&(e=Math.max(n,e)),e=void 0!==t?Math.min(e,t):e})),r!==e.space&&(t=Wc(t,e.space)),e.coords=t.coords}return e}function Wc(e,t){var n=(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).inGamut,r=(e=T(e),(t=N.get(t)).from(e)),t={space:t,coords:r,alpha:e.alpha};return t=n?Gc(t):t}function Yc(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.precision,r=void 0===n?yc.precision:n,n=t.format,n=void 0===n?"default":n,a=t.inGamut,a=void 0===a||a,t=b(t,$),o=n,n=null!=(i=null!=(i=(e=T(e)).space.getFormat(n))?i:e.space.getFormat("default"))?i:N.DEFAULT_FORMAT,a=a||n.toGamut,i=(i=e.coords).map(function(e){return e||0});if(a&&!Hc(e)&&(i=Gc(Uc(e),!0===a?void 0:a).coords),"custom"===n.type){if(t.precision=r,!n.serialize)throw new TypeError("format ".concat(o," can only be used to parse colors, not for serialization"));l=n.serialize(i,e.alpha,t)}else var a=n.name||"color",o=(n.serializeCoords?i=n.serializeCoords(i,r):null!==r&&(i=i.map(function(e){return dc(e,r)})),w(i)),t=("color"===a&&(i=n.id||(null==(t=n.ids)?void 0:t[0])||e.space.id,o.unshift(i)),e.alpha),i=(null!==r&&(t=dc(t,r)),e.alpha<1&&!n.noAlpha?"".concat(n.commas?",":" /"," ").concat(t):""),l="".concat(a,"(").concat(o.join(n.commas?", ":" ")).concat(i,")");return l}Wc.returns=Gc.returns="color";var cu=new t({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:{}}}),Kc=1.09929682680944,Xc=.018053968510807,Fn=new t({id:"rec2020",name:"REC.2020",base:cu,toBase:function(e){return e.map(function(e){return e<4.5*Xc?e/4.5:Math.pow((e+Kc-1)/Kc,1/.45)})},fromBase:function(e){return e.map(function(e){return Xc<=e?Kc*Math.pow(e,.45)-(Kc-1):4.5*e})},formats:{color:{}}}),Ar=new t({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]]}),En=new t({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:{}}}),Zc={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]},yn=Array(3).fill("<percentage> | <number>[0, 255]"),Jc=Array(3).fill("<number>[0, 255]"),yn=new t({id:"srgb",name:"sRGB",base:En,fromBase:function(e){return e.map(function(e){var t=e<0?-1:1,n=e*t;return.0031308<n?t*(1.055*Math.pow(n,1/2.4)-.055):12.92*e})},toBase:function(e){return e.map(function(e){var t=e<0?-1:1,n=e*t;return n<.04045?e/12.92:t*Math.pow((.055+n)/1.055,2.4)})},formats:{rgb:{coords:yn},rgb_number:{name:"rgb",commas:!0,coords:Jc,noAlpha:!0},color:{},rgba:{coords:yn,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:Jc},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 n=(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).collapse,n=void 0===n||n,r=(t<1&&e.push(t),e=e.map(function(e){return Math.round(255*e)}),n&&e.every(function(e){return e%17==0}));return"#"+e.map(function(e){return r?(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=Zc.black,t.alpha=0):t.coords=Zc[e],t.coords)return t}}}}),Jc=new t({id:"p3",name:"P3",base:Ar,fromBase:yn.fromBase,toBase:yn.toBase,formats:{color:{id:"display-p3"}}});if(yc.display_space=yn,"undefined"!=typeof CSS&&null!=(Fe=CSS)&&Fe.supports)for(var Qc=0,e1=[Pc,Fn,Jc];Qc<e1.length;Qc++){var t1=e1[Qc],n1=t1.getMinCoords(),n1=Yc({space:t1,coords:n1,alpha:1});if(CSS.supports("color",n1)){yc.display_space=t1;break}}function r1(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"lab",e=(n=N.get(n)).from(e),r=n.from(t);return Math.sqrt(e.reduce(function(e,t,n){n=r[n];return isNaN(t)||isNaN(n)?e:e+Math.pow(n-t,2)},0))}function a1(e){return Rc(e,[Cc,"y"])}function o1(e,t){Oc(e,[Cc,"y"],t)}Fe=Object.freeze({__proto__:null,getLuminance:a1,setLuminance:o1,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return a1(this)},set:function(e){o1(this,e)}})}});var i1=.022,l1=1.414;function u1(e){return i1<=e?e:e+Math.pow(i1-e,l1)}function s1(e){var t=e<0?-1:1,e=Math.abs(e);return t*Math.pow(e,2.4)}var c1=24389/27,d1=wc.D65,p1=new N({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:d1,base:Cc,fromBase:function(e){e=e.map(function(e,t){return e/d1[t]}).map(function(e){return 216/24389<e?Math.cbrt(e):(c1*e+16)/116});return[116*e[1]-16,500*(e[0]-e[1]),200*(e[1]-e[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,[24/116<t[0]?Math.pow(t[0],3):(116*t[0]-16)/c1,8<e[0]?Math.pow((e[0]+16)/116,3):e[0]/c1,24/116<t[2]?Math.pow(t[2],3):(116*t[2]-16)/c1].map(function(e,t){return e*d1[t]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),f1=.5*Math.pow(5,.5)+.5,m1=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=T(e),t=T(t);var n,e=Math.max(a1(e),0),t=Math.max(a1(t),0);return e<t&&(e=(n=[t,e])[0],t=n[1]),(e+.05)/(t+.05)},contrastAPCA:function(e,t){t=T(t),e=T(e);var n=(t=D((t=Wc(t,"srgb")).coords,3))[0],r=t[1],t=t[2],a=.2126729*s1(n)+.7151522*s1(r)+.072175*s1(t),e=D((e=Wc(e,"srgb")).coords,3),e=(n=e[0],r=e[1],t=e[2],.2126729*s1(n)+.7151522*s1(r)+.072175*s1(t)),n=u1(a),r=u1(e),t=n<r,a=Math.abs(r-n)<5e-4?0:t?1.14*(Math.pow(r,.56)-Math.pow(n,.57)):1.14*(Math.pow(r,.65)-Math.pow(n,.62));return 100*(e=Math.abs(a)<.1?0:0<a?a-.027:a+.027)},contrastMichelson:function(e,t){e=T(e),t=T(t);var e=Math.max(a1(e),0),t=Math.max(a1(t),0),n=(e<t&&(e=(n=[t,e])[0],t=n[1]),e+t);return 0===n?0:(e-t)/n},contrastWeber:function(e,t){e=T(e),t=T(t);var n,e=Math.max(a1(e),0),t=Math.max(a1(t),0);return e<t&&(e=(n=[t,e])[0],t=n[1]),0===t?5e4:(e-t)/t},contrastLstar:function(e,t){return e=T(e),t=T(t),e=Rc(e,[Pc,"l"]),t=Rc(t,[Pc,"l"]),Math.abs(e-t)},contrastDeltaPhi:function(e,t){return e=T(e),t=T(t),e=Rc(e,[p1,"l"]),t=Rc(t,[p1,"l"]),e=Math.abs(Math.pow(e,f1)-Math.pow(t,f1)),(t=Math.pow(e,1/f1)*Math.SQRT2-40)<7.5?0:t}});function h1(e){var e=D(Tc(e,Cc),3),t=e[0],n=e[1],e=t+15*n+3*e[2];return[4*t/e,9*n/e]}function g1(e){var e=D(Tc(e,Cc),3),t=e[0],n=e[1],e=t+n+e[2];return[t/e,n/e]}var b1=Object.freeze({__proto__:null,uv:h1,xy:g1,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return h1(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return g1(this)}})}}),v1=Math.PI/180,y1=new N({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:Cc,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)})}}),w1=2610/Math.pow(2,14),D1=Math.pow(2,14)/2610,x1=3424/Math.pow(2,12),E1=2413/Math.pow(2,7),F1=2392/Math.pow(2,7),A1=1.7*2523/Math.pow(2,5),C1=Math.pow(2,5)/(1.7*2523),k1=16295499532821565e-27,N1=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],T1=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],R1=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],S1=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],O1=new N({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:y1,fromBase:function(e){var e=D(e,3),t=e[0],n=e[2],e=o(N1,[1.15*t-(1.15-1)*n,.66*e[1]-(.66-1)*t,n]).map(function(e){var t=x1+E1*Math.pow(e/1e4,w1),e=1+F1*Math.pow(e/1e4,w1);return Math.pow(t/e,A1)}),t=D(o(R1,e),3),n=t[0];return[(1-.56)*n/(1+-.56*n)-k1,t[1],t[2]]},toBase:function(e){var e=D(e,3),t=e[0],t=o(S1,[(t+k1)/(1-.56- -.56*(t+k1)),e[1],e[2]]).map(function(e){var t=x1-Math.pow(e,C1),e=F1*Math.pow(e,C1)-E1;return 1e4*Math.pow(t/e,D1)}),e=D(o(T1,t),3),t=e[0],n=e[2],t=(t+(1.15-1)*n)/1.15;return[t,(e[1]+(.66-1)*t)/.66,n]},formats:{color:{}}}),_1=new N({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:O1,fromBase:function(e){var e=D(e,3),t=e[0],n=e[1],e=e[2],r=Math.abs(n)<2e-4&&Math.abs(e)<2e-4?NaN:180*Math.atan2(e,n)/Math.PI;return[t,Math.sqrt(Math.pow(n,2)+Math.pow(e,2)),Ic(r)]},toBase:function(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]},formats:{color:{}}}),M1=2610/16384,P1=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],I1=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],B1=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],j1=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],L1=new N({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:y1,fromBase:function(e){var e=o(P1,e),t=e;return t=e.map(function(e){var t=.8359375+2413/128*Math.pow(e/1e4,M1),e=1+18.6875*Math.pow(e/1e4,M1);return Math.pow(t/e,2523/32)}),o(I1,t)},toBase:function(e){e=o(B1,e).map(function(e){var t=Math.max(Math.pow(e,32/2523)-.8359375,0),e=2413/128-18.6875*Math.pow(e,32/2523);return 1e4*Math.pow(t/e,16384/2610)});return o(j1,e)},formats:{color:{}}}),q1=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],z1=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],V1=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],$1=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],H1=new N({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:Cc,fromBase:function(e){e=o(q1,e).map(function(e){return Math.cbrt(e)});return o(V1,e)},toBase:function(e){e=o($1,e).map(function(e){return Math.pow(e,3)});return o(z1,e)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}}),U1=Object.freeze({__proto__:null,deltaE76:function(e,t){return r1(e,t,"lab")},deltaECMC:function(e,t){var n=void 0===(n=(r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).l)?2:n,r=void 0===(r=r.c)?1:r,e=D(Pc.from(e),3),a=e[0],o=e[1],e=e[2],i=(l=D(Bc.from(Pc,[a,o,e]),3))[1],l=l[2],t=D(Pc.from(t),3),u=t[0],s=t[1],t=t[2],c=Bc.from(Pc,[u,s,t])[1],u=a-u,c=(i=i<0?0:i)-(c=c<0?0:c),e=e-t,t=Math.pow(o-s,2)+Math.pow(e,2)-Math.pow(c,2),o=.511,s=(16<=a&&(o=.040975*a/(1+.01765*a)),.0638*i/(1+.0131*i)+.638),a=(e=164<=(l=Number.isNaN(l)?0:l)&&l<=345?.56+Math.abs(.2*Math.cos((l+168)*v1)):.36+Math.abs(.4*Math.cos((l+35)*v1)),Math.pow(i,4)),l=Math.sqrt(a/(a+1900)),i=s*(l*e+1-l),a=Math.pow(u/(n*o),2),a=(a+=Math.pow(c/(r*s),2))+t/Math.pow(i,2);return Math.sqrt(a)},deltaE2000:Vc,deltaEJz:function(e,t){var n=(e=D(_1.from(e),3))[0],r=e[1],e=e[2],a=(t=D(_1.from(t),3))[0],o=t[1],t=t[2],n=n-a,a=r-o,e=(Number.isNaN(e)&&Number.isNaN(t)?t=e=0:Number.isNaN(e)?e=t:Number.isNaN(t)&&(t=e),e-t),t=2*Math.sqrt(r*o)*Math.sin(e/2*(Math.PI/180));return Math.sqrt(Math.pow(n,2)+Math.pow(a,2)+Math.pow(t,2))},deltaEITP:function(e,t){var n=(e=D(L1.from(e),3))[0],r=e[1],e=e[2],a=(t=D(L1.from(t),3))[0],o=t[1],t=t[2];return 720*Math.sqrt(Math.pow(n-a,2)+.25*Math.pow(r-o,2)+Math.pow(e-t,2))},deltaEOK:function(e,t){var n=(e=D(H1.from(e),3))[0],r=e[1],e=e[2],a=(t=D(H1.from(t),3))[0],r=r-t[1],e=e-t[2];return Math.sqrt(Math.pow(n-a,2)+Math.pow(r,2)+Math.pow(e,2))}});function G1(e,t){var n,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=r=sc(r)?{method:r}:r,a=r.method,o=void 0===a?yc.deltaE:a,i=b(r,G);for(n in e=T(e),t=T(t),U1)if("deltae"+o.toLowerCase()===n.toLowerCase())return U1[n](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(o))}var W1=Object.freeze({__proto__:null,lighten:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:.25;return Oc(e,[N.get("oklch","lch"),"l"],function(e){return e*(1+t)})},darken:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:.25;return Oc(e,[N.get("oklch","lch"),"l"],function(e){return e*(1-t)})}});function Y1(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:.5,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},a=[T(e),T(t)],a=(e=a[0],t=a[1],"object"===cc(n)&&(n=(a=[.5,n])[0],r=a[1]),r);return X1(e,t,{space:a.space,outputSpace:a.outputSpace,premultiplied:a.premultiplied})(n)}function K1(e,t){var n,r,a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=(Z1(e)&&(a=t,e=(o=D((n=e).rangeArgs.colors,2))[0],t=o[1]),a),i=o.maxDeltaE,l=o.deltaEMethod,a=o.steps,a=void 0===a?2:a,u=o.maxSteps,s=void 0===u?1e3:u,u=b(o,W),o=(n||(o=[T(e),T(t)],n=X1(e=o[0],t=o[1],u)),G1(e,t)),u=0<i?Math.max(a,Math.ceil(o/i)+1):a,c=[];if(void 0!==s&&(u=Math.min(u,s)),c=1===u?[{p:.5,color:n(.5)}]:(r=1/(u-1),Array.from({length:u},function(e,t){t*=r;return{p:t,color:n(t)}})),0<i)for(var d=c.reduce(function(e,t,n){return 0===n?0:(t=G1(t.color,c[n-1].color,l),Math.max(e,t))},0);i<d;){d=0;for(var p=1;p<c.length&&c.length<s;p++){var f=c[p-1],m=c[p],h=(m.p+f.p)/2,g=n(h),d=Math.max(d,G1(g,f.color),G1(g,m.color));c.splice(p,0,{p:h,color:n(h)}),p++}}return c=c.map(function(e){return e.color})}function X1(r,a){var o,i,e,t,n,l,u,s,c,d,p,f,m=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return Z1(r)?(e=r,t=a,X1.apply(void 0,w(e.rangeArgs.colors).concat([h({},e.rangeArgs.options,t)]))):(p=m.space,f=m.outputSpace,o=m.progression,i=m.premultiplied,r=T(r),a=T(a),r=Uc(r),a=Uc(a),e={colors:[r,a],options:m},p=p?N.get(p):N.registry[yc.interpolationSpace]||r.space,f=f?N.get(f):p,r=Wc(r,p),a=Wc(a,p),r=Gc(r),a=Gc(a),p.coords.h&&"angle"===p.coords.h.type&&(t=m.hue=m.hue||"shorter",l=[Rc(r,m=[p,"h"]),Rc(a,m)],s=[n=l[0],l=l[1]],u="raw"===(u=t)?s:(c=(s=D(s.map(Ic),2))[0],d=(s=s[1])-c,"increasing"===u?d<0&&(s+=360):"decreasing"===u?0<d&&(c+=360):"longer"===u?-180<d&&d<180&&(0<d?s+=360:c+=360):"shorter"===u&&(180<d?c+=360:d<-180&&(s+=360)),[c,s]),n=(d=D(u,2))[0],l=d[1],Oc(r,m,n),Oc(a,m,l)),i&&(r.coords=r.coords.map(function(e){return e*r.alpha}),a.coords=a.coords.map(function(e){return e*a.alpha})),Object.assign(function(n){n=o?o(n):n;var e=r.coords.map(function(e,t){return mc(e,a.coords[t],n)}),t=mc(r.alpha,a.alpha,n),e={space:p,coords:e,alpha:t};return i&&(e.coords=e.coords.map(function(e){return e/t})),e=f!==p?Wc(e,f):e},{rangeArgs:e}))}function Z1(e){return"function"===cc(e)&&!!e.rangeArgs}yc.interpolationSpace="lab";var J1=Object.freeze({__proto__:null,mix:Y1,steps:K1,range:X1,isRange:Z1,register:function(e){e.defineFunction("mix",Y1,{returns:"color"}),e.defineFunction("range",X1,{returns:"function<color>"}),e.defineFunction("steps",K1,{returns:"array<color>"})}}),Q1=new N({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:yn,fromBase:function(e){var t=Math.max.apply(Math,w(e)),n=Math.min.apply(Math,w(e)),e=D(e,3),r=e[0],a=e[1],o=e[2],i=NaN,e=0,l=(n+t)/2,u=t-n;if(0!=u){switch(e=0==l||1==l?0:(t-l)/Math.min(l,1-l),t){case r:i=(a-o)/u+(a<o?6:0);break;case a:i=(o-r)/u+2;break;case o:i=(r-a)/u+4}i*=60}return[i,100*e,100*l]},toBase:function(e){var e=D(e,3),n=e[0],r=e[1],a=e[2];function t(e){var e=(e+n/30)%12,t=r*Math.min(a,1-a);return a-t*Math.max(-1,Math.min(e-3,9-e,1))}return(n%=360)<0&&(n+=360),r/=100,a/=100,[t(0),t(8),t(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}}),ed=new N({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:Q1,fromBase:function(e){var e=D(e,3),t=e[0],n=e[1],e=e[2],n=(e/=100)+(n/=100)*Math.min(e,1-e);return[t,0==n?0:200*(1-e/n),100*n]},toBase:function(e){var e=D(e,3),t=e[0],n=e[1],e=e[2],n=(e/=100)*(1-(n/=100)/2);return[t,0==n||1==n?0:(e-n)/Math.min(n,1-n)*100,100*n]},formats:{color:{toGamut:!0}}}),td=new N({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:ed,fromBase:function(e){var e=D(e,3),t=e[0],n=e[2];return[t,n*(100-e[1])/100,100-n]},toBase:function(e){var e=D(e,3),t=e[0],n=e[1],e=e[2],r=(n/=100)+(e/=100);return 1<=r?[t,0,100*(n/r)]:[t,100*(0==(r=1-e)?0:1-n/r),100*r]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),nd=new t({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]]}),rd=new t({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:nd,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"}}}),ad=new t({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:An,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]]}),od=new t({id:"prophoto",name:"ProPhoto",base:ad,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 1/512<=e?Math.pow(e,1/1.8):16*e})},formats:{color:{id:"prophoto-rgb"}}}),id=new N({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:H1,fromBase:function(e){var e=D(e,3),t=e[0],n=e[1],e=e[2],r=Math.abs(n)<2e-4&&Math.abs(e)<2e-4?NaN:180*Math.atan2(e,n)/Math.PI;return[t,Math.sqrt(Math.pow(n,2)+Math.pow(e,2)),Ic(r)]},toBase:function(e){var t,e=D(e,3),n=e[0],r=e[1],e=e[2],r=isNaN(e)?t=0:(t=r*Math.cos(e*Math.PI/180),r*Math.sin(e*Math.PI/180));return[n,t,r]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),ld=2610/Math.pow(2,14),ud=Math.pow(2,14)/2610,sd=2523/Math.pow(2,5),cd=Math.pow(2,5)/2523,dd=3424/Math.pow(2,12),pd=2413/Math.pow(2,7),fd=2392/Math.pow(2,7),md=new t({id:"rec2100pq",name:"REC.2100-PQ",base:cu,toBase:function(e){return e.map(function(e){return 1e4*Math.pow(Math.max(Math.pow(e,cd)-dd,0)/(pd-fd*Math.pow(e,cd)),ud)/203})},fromBase:function(e){return e.map(function(e){var e=Math.max(203*e/1e4,0),t=dd+pd*Math.pow(e,ld),e=1+fd*Math.pow(e,ld);return Math.pow(t/e,sd)})},formats:{color:{id:"rec2100-pq"}}}),hd=.17883277,gd=.28466892,bd=.55991073,vd=3.7743,yd=new t({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:cu,toBase:function(e){return e.map(function(e){return e<=.5?Math.pow(e,2)/3*vd:Math.exp((e-bd)/hd+gd)/12*vd})},fromBase:function(e){return e.map(function(e){return(e/=vd)<=1/12?Math.sqrt(3*e):hd*Math.log(12*e-gd)+bd})},formats:{color:{id:"rec2100-hlg"}}}),wd={};function Dd(e){var t=e.id;wd[t]=e}function xd(e,t,n){var n=wd[2<arguments.length&&void 0!==n?n:"Bradford"],e=D(o(n.toCone_M,e),3),r=e[0],a=e[1],e=e[2],t=D(o(n.toCone_M,t),3),r=o([[t[0]/r,0,0],[0,t[1]/a,0],[0,0,t[2]/e]],n.toCone_M);return o(n.fromCone_M,r)}vc.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=xd(e.W1,e.W2,e.options.method))}),vc.add("chromatic-adaptation-end",function(e){e.M||(e.M=xd(e.W1,e.W2,e.options.method))}),Dd({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]]}),Dd({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]]}),Dd({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]]}),Dd({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(wc,{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]}),wc.ACES=[.32168/.33767,1,.34065/.33767];var Ed=new t({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:wc.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:{}}}),Fd=Math.pow(2,-16),Ad=-.35828683,Cd=(Math.log2(65504)+9.72)/17.52,t=new t({id:"acescc",name:"ACEScc",coords:{r:{range:[Ad,Cd],name:"Red"},g:{range:[Ad,Cd],name:"Green"},b:{range:[Ad,Cd],name:"Blue"}},referred:"scene",base:Ed,toBase:function(e){return e.map(function(e){return e<=(9.72-15)/17.52?2*(Math.pow(2,17.52*e-9.72)-Fd):e<Cd?Math.pow(2,17.52*e-9.72):65504})},fromBase:function(e){return e.map(function(e){return e<=0?(Math.log2(Fd)+9.72)/17.52:e<Fd?(Math.log2(Fd+.5*e)+9.72)/17.52:(Math.log2(e)+9.72)/17.52})},formats:{color:{}}}),kd=Object.freeze({__proto__:null,XYZ_D65:Cc,XYZ_D50:An,XYZ_ABS_D65:y1,Lab_D65:p1,Lab:Pc,LCH:Bc,sRGB_Linear:En,sRGB:yn,HSL:Q1,HWB:td,HSV:ed,P3_Linear:Ar,P3:Jc,A98RGB_Linear:nd,A98RGB:rd,ProPhoto_Linear:ad,ProPhoto:od,REC_2020_Linear:cu,REC_2020:Fn,OKLab:H1,OKLCH:id,Jzazbz:O1,JzCzHz:_1,ICTCP:L1,REC_2100_PQ:md,REC_2100_HLG:yd,ACEScg:Ed,ACEScc:t}),R=(Ae=new WeakMap,ve(function e(){var n=this;ge(this,e),le(this,Ae,void 0);for(var t,r,a,o=arguments.length,i=new Array(o),l=0;l<o;l++)i[l]=arguments[l];a=(a=1===i.length?T(i[0]):a)?(t=a.space||a.spaceId,r=a.coords,a.alpha):(t=i[0],r=i[1],i[2]),de(Ae,this,N.get(t)),this.coords=r?r.slice():[0,0,0],this.alpha=a<1?a:1;for(var u=0;u<this.coords.length;u++)"NaN"===this.coords[u]&&(this.coords[u]=NaN);for(var s in ce(Ae,this).coords)(t=>{Object.defineProperty(n,t,{get:function(){return n.get(t)},set:function(e){return n.set(t,e)}})})(s)},[{key:"space",get:function(){return ce(Ae,this)}},{key:"spaceId",get:function(){return ce(Ae,this).id}},{key:"clone",value:function(){return new R(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){var t,n=void 0===(n=(r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).space)?yc.display_space:n,r=b(r,H),a=Yc(e,r);return"undefined"==typeof CSS||null!=(t=CSS)&&t.supports("color",a)||!yc.display_space?(a=new String(a)).color=e:(t=Wc(e,n),(a=new String(Yc(t,r))).color=t),a}.apply(void 0,[this].concat(t));return r.color=new R(r.color),r}}],[{key:"get",value:function(e){if(e instanceof R)return e;for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(e,t,n){var r;return re()?Reflect.construct.apply(null,arguments):((r=[null]).push.apply(r,t),t=new(e.bind.apply(e,r)),n&&ie(t,n.prototype),t)}(R,[e].concat(n))}},{key:"defineFunction",value:function(e,n){function r(){var t,e=n.apply(void 0,arguments);return"color"===o?e=R.get(e):"function<color>"===o?(t=e,e=function(){var e=t.apply(void 0,arguments);return R.get(e)},Object.assign(e,t)):"array<color>"===o&&(e=e.map(function(e){return R.get(e)})),e}var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:n,a=t.instance,a=void 0===a||a,o=t.returns;e in R||(R[e]=r),a&&(R.prototype[e]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.apply(void 0,[this].concat(t))})}},{key:"defineFunctions",value:function(e){for(var t in e)R.defineFunction(t,e[t],e[t])}},{key:"extend",value:function(e){if(e.register)e.register(R);else for(var t in e)R.defineFunction(t,e[t])}}]));R.defineFunctions({get:Rc,getAll:Tc,set:Oc,setAll:Sc,to:Wc,equals:function(e,n){return e=T(e),n=T(n),e.space===n.space&&e.alpha===n.alpha&&e.coords.every(function(e,t){return e===n.coords[t]})},inGamut:Hc,toGamut:Gc,distance:r1,toString:Yc}),Object.assign(R,{util:$r,hooks:vc,WHITES:wc,Space:N,spaces:N.registry,parse:Nc,defaults:yc});for(var Nd,Td=0,Rd=Object.keys(kd);Td<Rd.length;Td++){var Sd=Rd[Td];N.register(kd[Sd])}for(Nd in N.registry)Od(Nd,N.registry[Nd]);function Od(i,l){Object.keys(l.coords),Object.values(l.coords).map(function(e){return e.name});var e=i.replace(/-/g,"_");Object.defineProperty(R.prototype,e,{get:function(){var o=this,e=this.getAll(i);return"undefined"==typeof Proxy?e:new Proxy(e,{has:function(e,t){try{return N.resolveCoord([l,t]),!0}catch(e){}return Reflect.has(e,t)},get:function(e,t,n){if(t&&"symbol"!==te(t)&&!(t in e)){var r=N.resolveCoord([l,t]).index;if(0<=r)return e[r]}return Reflect.get(e,t,n)},set:function(e,t,n,r){if(t&&"symbol"!==te(t)&&!(t in e)||0<=t){var a=N.resolveCoord([l,t]).index;if(0<=a)return e[a]=n,o.setAll(i,e),!0}return Reflect.set(e,t,n,r)}})},set:function(e){this.setAll(i,e)},configurable:!0,enumerable:!0})}vc.add("colorspace-init-end",function(t){var e;Od(t.id,t),null!=(e=t.aliases)&&e.forEach(function(e){Od(e,t)})}),R.extend(U1),R.extend({deltaE:G1}),R.extend(W1),R.extend({contrast:function(e,t){var n,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},a=(r=r=sc(r)?{algorithm:r}:r).algorithm,o=b(r,U);if(!a)throw r=Object.keys(m1).map(function(e){return e.replace(/^cont