diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/demo/.nojekyll b/demo/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/.nojekyll b/storybook/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/assets/1_migrating_v1_to_v2-o7Y1r_Ih.js b/storybook/assets/1_migrating_v1_to_v2-o7Y1r_Ih.js new file mode 100644 index 000000000..f75c0cda5 --- /dev/null +++ b/storybook/assets/1_migrating_v1_to_v2-o7Y1r_Ih.js @@ -0,0 +1,73 @@ +import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import"./chunk-HLWAVYOI-oYOnMLz8.js";import{M as i,b as o}from"./index-SaJXffyO.js";import{u as s}from"./index-Dbo06S9W.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./iframe-cfTJpQc2.js";import"../sb-preview/runtime.js";import"./react-18-YI47dyij.js";import"./index-ZglUz-kn.js";import"./index-ogXoivrg.js";import"./index-MI7UZ4bI.js";import"./index-PPLHz8o0.js";function r(t){const n=Object.assign({h1:"h1",p:"p",code:"code",h2:"h2",blockquote:"blockquote",a:"a"},s(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:"Migrating/From v1 to v2"}),` +`,e.jsx(n.h1,{id:"from-v1-to-v2",children:"From v1 to v2"}),` +`,e.jsxs(n.p,{children:["The ",e.jsx(n.code,{children:"2.0.0"})," introduced themes management. This comes with some structural changes regarding ",e.jsx(n.code,{children:"cunningham.ts|js"}),` configuration +file and tokens format.`]}),` +`,e.jsx(n.h2,{id:"configuration-file",children:"Configuration file"}),` +`,e.jsxs(n.p,{children:["As a reminder here is the v1 format of the ",e.jsx(n.code,{children:"cunningham.ts"})," file:"]}),` +`,e.jsx(o,{dark:!0,code:` +// cunningham.ts +import { DefaultTokens } from "@openfun/cunningham-react"; + +const config: DefaultTokens = { + theme: { + colors: { + ... + }, + }, + components: { + button: { + "border-radius": "30px", + }, + }, +}; + +export default config; +`}),` +`,e.jsxs(n.p,{children:["The new version adds two top-level keys, which are ",e.jsx(n.code,{children:"themes"})," and ",e.jsx(n.code,{children:"default"}),` ( which refers to the default theme name ), so +the new format of the previous example will be:`]}),` +`,e.jsxs(n.blockquote,{children:[` +`,e.jsx(n.p,{children:"⚠ Updating your configuration file is mandatory ⚠"}),` +`]}),` +`,e.jsx(o,{dark:!0,code:` +// cunningham.ts +import { DefaultTokens } from "@openfun/cunningham-react"; + +const config: DefaultTokens = { + themes: { + default: { + theme: { + colors: { + ... + }, + }, + components: { + button: { + "border-radius": "30px", + }, + }, + }, + }, +}; + +export default config; +`}),` +`,e.jsxs(n.p,{children:["If you want to learn about theme please see this ",e.jsx(n.a,{href:"?path=/docs/getting-started-theming--docs",children:"Theming"}),"."]}),` +`,e.jsx(n.h2,{id:"token-files",children:"Token files"}),` +`,e.jsxs(n.p,{children:["Here we are talking about ",e.jsx(n.code,{children:"cunningham-tokens.ts|js"}),` files. As they are reflecting the structure of the configuration +of the design tokens we added those two levels of nesting which are `,e.jsx(n.code,{children:"themes.[themeName].*"})]}),` +`,e.jsx(n.p,{children:"Old way of retrieving design tokens:"}),` +`,e.jsx(o,{dark:!0,code:` +import { tokens } from "./cunningham-tokens"; + +console.log(tokens.theme.color['primary-500']); +`}),` +`,e.jsx(n.p,{children:"New way:"}),` +`,e.jsx(o,{dark:!0,code:` +import { tokens } from "./cunningham-tokens"; + +let currentTheme = "default"; +console.log(tokens.themes[currentTheme].theme.color['primary-500']); +`}),` +`,e.jsx(n.h2,{id:"what-about-css-file-",children:"What about CSS file ?"}),` +`,e.jsxs(n.p,{children:["What great is that nothing has changed! You can continue to use ",e.jsx(n.code,{children:"var(--c--theme--colors--primary-500)"}),` as before as their current value +is automatically updated by Cunningham when the theme is updated in real time.`]})]})}function b(t={}){const{wrapper:n}=Object.assign({},s(),t.components);return n?e.jsx(n,Object.assign({},t,{children:e.jsx(r,t)})):r(t)}export{b as default}; diff --git a/storybook/assets/Color-6VNJS4EI-tYbYiJHL.js b/storybook/assets/Color-6VNJS4EI-tYbYiJHL.js new file mode 100644 index 000000000..55ae970b1 --- /dev/null +++ b/storybook/assets/Color-6VNJS4EI-tYbYiJHL.js @@ -0,0 +1 @@ +import{n as M,k as ue,T as Me,F as Ce,I as $e,l as Ne}from"./index-SaJXffyO.js";import{R as h,r as b}from"./index-4g5l5LRQ.js";import{g as fe}from"./_commonjsHelpers-4gQjN7DL.js";import{_ as Oe,i as J,a as Ie}from"./index-MI7UZ4bI.js";import"./iframe-cfTJpQc2.js";import"../sb-preview/runtime.js";import"./index-ZglUz-kn.js";import"./index-ogXoivrg.js";import"./index-PPLHz8o0.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={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]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=0/0,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{icon:"markup",onClick:k}):null)},hn=tn;export{tn as ColorControl,hn as default}; diff --git a/storybook/assets/DateRangePicker-Oz2ScVpF.js b/storybook/assets/DateRangePicker-Oz2ScVpF.js new file mode 100644 index 000000000..53637cd7f --- /dev/null +++ b/storybook/assets/DateRangePicker-Oz2ScVpF.js @@ -0,0 +1,2 @@ +import{j as R}from"./jsx-runtime-vNq4Oc-g.js";import{r as f,R as te}from"./index-4g5l5LRQ.js";import{b as to}from"./downshift.esm-ABhDbbJT.js";import{c as ne}from"./index--jIQrVgb.js";import{a as At}from"./index-ANeRJe3U.js";import{B as se}from"./index-KQ5fxawE.js";import{u as cn}from"./index-XR-JU9UK.js";import{P as ao}from"./index-3M7Ws16Z.js";import{F as ro}from"./index-LpGNQo9R.js";import{L as no}from"./index--mA4GHQY.js";var fn={};fn={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var mn={};mn={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var $n={};$n={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var hn={};hn={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var Dn={};Dn={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var pn={};pn={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var yn={};yn={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var bn={};bn={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var vn={};vn={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var gn={};gn={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var xn={};xn={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var Cn={};Cn={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var En={};En={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var Bn={};Bn={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var wn={};wn={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var Pn={};Pn={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var Fn={};Fn={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var Sn={};Sn={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var Rn={};Rn={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var kn={};kn={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var An={};An={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var Vn={};Vn={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var Tn={};Tn={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var _n={};_n={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var Mn={};Mn={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var In={};In={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var Nn={};Nn={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var On={};On={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var Ln={};Ln={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var jn={};jn={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var zn={};zn={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var Un={};Un={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var Kn={};Kn={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var Zn={};Zn={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};function uo(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ft(e,t,a){uo(e,t),t.set(e,a)}function me(e,t){return e-t*Math.floor(e/t)}const qn=1721426;function we(e,t,a,r){t=mt(e,t);let n=t-1,u=-2;return a<=2?u=0:ye(t)&&(u=-1),qn-1+365*n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400)+Math.floor((367*a-362)/12+u+r)}function ye(e){return e%4===0&&(e%100!==0||e%400===0)}function mt(e,t){return e==="BC"?1-t:t}function Wt(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const io={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class Z{fromJulianDay(t){let a=t,r=a-qn,n=Math.floor(r/146097),u=me(r,146097),i=Math.floor(u/36524),l=me(u,36524),o=Math.floor(l/1461),d=me(l,1461),$=Math.floor(d/365),D=n*400+i*100+o*4+$+(i!==4&&$!==4?1:0),[b,v]=Wt(D),E=a-we(b,v,1,1),C=2;a=0?e:t:e||t}function Ze(e){e=L(e,new Z);let t=mt(e.era,e.year);return Jn(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Jn(e,t,a,r,n,u,i){let l=new Date;return l.setUTCHours(r,n,u,i),l.setUTCFullYear(e,t-1,a),l.getTime()}function Ba(e,t){if(t==="UTC")return 0;if(e>0&&t===$t())return new Date(e).getTimezoneOffset()*-6e4;let{year:a,month:r,day:n,hour:u,minute:i,second:l}=Qn(e,t);return Jn(a,r,n,u,i,l,0)-Math.floor(e/1e3)*1e3}const gr=new Map;function Qn(e,t){let a=gr.get(t);a||(a=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),gr.set(t,a));let r=a.formatToParts(new Date(e)),n={};for(let u of r)u.type!=="literal"&&(n[u.type]=u.value);return{year:n.era==="BC"||n.era==="B"?-n.year+1:+n.year,month:+n.month,day:+n.day,hour:n.hour==="24"?0:+n.hour,minute:+n.minute,second:+n.second}}const xr=864e5;function Do(e,t,a,r){return(a===r?[a]:[a,r]).filter(u=>po(e,t,u))}function po(e,t,a){let r=Qn(a,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function de(e,t,a="compatible"){let r=ie(e);if(t==="UTC")return Ze(r);if(t===$t()&&a==="compatible"){r=L(r,new Z);let o=new Date,d=mt(r.era,r.year);return o.setFullYear(d,r.month-1,r.day),o.setHours(r.hour,r.minute,r.second,r.millisecond),o.getTime()}let n=Ze(r),u=Ba(n-xr,t),i=Ba(n+xr,t),l=Do(r,t,n-u,n-i);if(l.length===1)return l[0];if(l.length>1)switch(a){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(a){case"earlier":return Math.min(n-u,n-i);case"compatible":case"later":return Math.max(n-u,n-i);case"reject":throw new RangeError("No such absolute time found")}}function Xn(e,t,a="compatible"){return new Date(de(e,t,a))}function ce(e,t){let a=Ba(e,t),r=new Date(e+a),n=r.getUTCFullYear(),u=r.getUTCMonth()+1,i=r.getUTCDate(),l=r.getUTCHours(),o=r.getUTCMinutes(),d=r.getUTCSeconds(),$=r.getUTCMilliseconds();return new qe(n,u,i,t,a,l,o,d,$)}function W(e){return new z(e.calendar,e.era,e.year,e.month,e.day)}function ie(e,t){let a=0,r=0,n=0,u=0;if("timeZone"in e)({hour:a,minute:r,second:n,millisecond:u}=e);else if("hour"in e&&!t)return e;return t&&({hour:a,minute:r,second:n,millisecond:u}=t),new Tt(e.calendar,e.era,e.year,e.month,e.day,a,r,n,u)}function L(e,t){if(e.calendar.identifier===t.identifier)return e;let a=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=a.era,r.year=a.year,r.month=a.month,r.day=a.day,Fe(r),r}function eu(e,t,a){if(e instanceof qe)return e.timeZone===t?e:tu(e,t);let r=de(e,t,a);return ce(r,t)}function yo(e){let t=Ze(e)-e.offset;return new Date(t)}function tu(e,t){let a=Ze(e)-e.offset;return L(ce(a,t),e.calendar)}const Qe=36e5;function Yt(e,t){let a=e.copy(),r="hour"in a?uu(a,t):0;wa(a,t.years||0),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e),a.month+=t.months||0,Pa(a),au(a),a.day+=(t.weeks||0)*7,a.day+=t.days||0,a.day+=r,bo(a),a.calendar.balanceDate&&a.calendar.balanceDate(a),a.year<1&&(a.year=1,a.month=1,a.day=1);let n=a.calendar.getYearsInEra(a);if(a.year>n){var u,i;let o=(u=(i=a.calendar).isInverseEra)===null||u===void 0?void 0:u.call(i,a);a.year=n,a.month=o?1:a.calendar.getMonthsInYear(a),a.day=o?1:a.calendar.getDaysInMonth(a)}a.month<1&&(a.month=1,a.day=1);let l=a.calendar.getMonthsInYear(a);return a.month>l&&(a.month=l,a.day=a.calendar.getDaysInMonth(a)),a.day=Math.max(1,Math.min(a.calendar.getDaysInMonth(a),a.day)),a}function wa(e,t){var a,r;!((a=(r=e.calendar).isInverseEra)===null||a===void 0)&&a.call(r,e)&&(t=-t),e.year+=t}function Pa(e){for(;e.month<1;)wa(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,wa(e,1)}function bo(e){for(;e.day<1;)e.month--,Pa(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Pa(e)}function au(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function Fe(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),au(e)}function Xa(e){let t={};for(let a in e)typeof e[a]=="number"&&(t[a]=-e[a]);return t}function ru(e,t){return Yt(e,Xa(t))}function er(e,t){let a=e.copy();return t.era!=null&&(a.era=t.era),t.year!=null&&(a.year=t.year),t.month!=null&&(a.month=t.month),t.day!=null&&(a.day=t.day),Fe(a),a}function lt(e,t){let a=e.copy();return t.hour!=null&&(a.hour=t.hour),t.minute!=null&&(a.minute=t.minute),t.second!=null&&(a.second=t.second),t.millisecond!=null&&(a.millisecond=t.millisecond),nu(a),a}function vo(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=yt(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=yt(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=yt(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=yt(e.hour,24),t}function nu(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function yt(e,t){let a=e%t;return a<0&&(a+=t),a}function uu(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,vo(e)}function iu(e,t){let a=e.copy();return uu(a,t),a}function go(e,t){return iu(e,Xa(t))}function tr(e,t,a,r){let n=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),o=l.indexOf(e.era);if(o<0)throw new Error("Invalid era: "+e.era);o=fe(o,a,0,l.length-1,r==null?void 0:r.round),n.era=l[o],Fe(n);break}case"year":var u,i;!((u=(i=n.calendar).isInverseEra)===null||u===void 0)&&u.call(i,n)&&(a=-a),n.year=fe(e.year,a,-1/0,9999,r==null?void 0:r.round),n.year===-1/0&&(n.year=1),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e);break;case"month":n.month=fe(e.month,a,1,e.calendar.getMonthsInYear(e),r==null?void 0:r.round);break;case"day":n.day=fe(e.day,a,1,e.calendar.getDaysInMonth(e),r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(n),Fe(n),n}function ar(e,t,a,r){let n=e.copy();switch(t){case"hour":{let u=e.hour,i=0,l=23;if((r==null?void 0:r.hourCycle)===12){let o=u>=12;i=o?12:0,l=o?23:11}n.hour=fe(u,a,i,l,r==null?void 0:r.round);break}case"minute":n.minute=fe(e.minute,a,0,59,r==null?void 0:r.round);break;case"second":n.second=fe(e.second,a,0,59,r==null?void 0:r.round);break;case"millisecond":n.millisecond=fe(e.millisecond,a,0,999,r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return n}function fe(e,t,a,r,n=!1){if(n){e+=Math.sign(t),e0?e=Math.ceil(e/u)*u:e=Math.floor(e/u)*u,e>r&&(e=a)}else e+=t,er&&(e=a+(e-r-1));return e}function lu(e,t){let a;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let n=Yt(ie(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});a=de(n,e.timeZone)}else a=Ze(e)-e.offset;a+=t.milliseconds||0,a+=(t.seconds||0)*1e3,a+=(t.minutes||0)*6e4,a+=(t.hours||0)*36e5;let r=ce(a,e.timeZone);return L(r,e.calendar)}function xo(e,t){return lu(e,Xa(t))}function Co(e,t,a,r){switch(t){case"hour":{let n=0,u=23;if((r==null?void 0:r.hourCycle)===12){let E=e.hour>=12;n=E?12:0,u=E?23:11}let i=ie(e),l=L(lt(i,{hour:n}),new Z),o=[de(l,e.timeZone,"earlier"),de(l,e.timeZone,"later")].filter(E=>ce(E,e.timeZone).day===l.day)[0],d=L(lt(i,{hour:u}),new Z),$=[de(d,e.timeZone,"earlier"),de(d,e.timeZone,"later")].filter(E=>ce(E,e.timeZone).day===d.day).pop(),D=Ze(e)-e.offset,b=Math.floor(D/Qe),v=D%Qe;return D=fe(b,a,Math.floor(o/Qe),Math.floor($/Qe),r==null?void 0:r.round)*Qe+v,L(ce(D,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return ar(e,t,a,r);case"era":case"year":case"month":case"day":{let n=tr(ie(e),t,a,r),u=de(n,e.timeZone);return L(ce(u,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function Eo(e,t,a){let r=ie(e),n=lt(er(r,t),t);if(n.compare(r)===0)return e;let u=de(n,e.timeZone,a);return L(ce(u,e.timeZone),e.calendar)}const Bo=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;function ou(e,t){let a=e.match(Bo);if(!a)throw new Error("Invalid ISO 8601 date time string: "+e);let r=new qe(le(a[1],1,9999),le(a[2],1,12),1,t,0,a[4]?le(a[4],0,23):0,a[5]?le(a[5],0,59):0,a[6]?le(a[6],0,59):0,a[7]?le(a[7],0,1/0)*1e3:0);r.day=le(a[3],0,r.calendar.getDaysInMonth(r));var n;return a[8]&&(r.offset=le(a[8],-23,23)*36e5+le((n=a[9])!==null&&n!==void 0?n:"0",0,59)*6e4),tu(r,t)}function wo(e){return ou(e,$t())}function le(e,t,a){let r=Number(e);if(ra)throw new RangeError(`Value out of range: ${t} <= ${r} <= ${a}`);return r}function su(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function du(e){let t=L(e,new Z);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function cu(e){return`${du(e)}T${su(e)}`}function Po(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let a=Math.floor(e/36e5),r=e%36e5/6e4;return`${t}${String(a).padStart(2,"0")}:${String(r).padStart(2,"0")}`}function Fo(e){return`${cu(e)}${Po(e.offset)}[${e.timeZone}]`}function rr(e){let t=typeof e[0]=="object"?e.shift():new Z,a;if(typeof e[0]=="string")a=e.shift();else{let i=t.getEras();a=i[i.length-1]}let r=e.shift(),n=e.shift(),u=e.shift();return[t,a,r,n,u]}var So=new WeakMap;class z{copy(){return this.era?new z(this.calendar,this.era,this.year,this.month,this.day):new z(this.calendar,this.year,this.month,this.day)}add(t){return Yt(this,t)}subtract(t){return ru(this,t)}set(t){return er(this,t)}cycle(t,a,r){return tr(this,t,a,r)}toDate(t){return Xn(this,t)}toString(){return du(this)}compare(t){return Yn(this,t)}constructor(...t){ft(this,So,{writable:!0,value:void 0});let[a,r,n,u,i]=rr(t);this.calendar=a,this.era=r,this.year=n,this.month=u,this.day=i,Fe(this)}}var Ro=new WeakMap;class nr{copy(){return new nr(this.hour,this.minute,this.second,this.millisecond)}add(t){return iu(this,t)}subtract(t){return go(this,t)}set(t){return lt(this,t)}cycle(t,a,r){return ar(this,t,a,r)}toString(){return su(this)}compare(t){return Gn(this,t)}constructor(t=0,a=0,r=0,n=0){ft(this,Ro,{writable:!0,value:void 0}),this.hour=t,this.minute=a,this.second=r,this.millisecond=n,nu(this)}}var ko=new WeakMap;class Tt{copy(){return this.era?new Tt(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Tt(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Yt(this,t)}subtract(t){return ru(this,t)}set(t){return er(lt(this,t),t)}cycle(t,a,r){switch(t){case"era":case"year":case"month":case"day":return tr(this,t,a,r);default:return ar(this,t,a,r)}}toDate(t,a){return Xn(this,t,a)}toString(){return cu(this)}compare(t){let a=Yn(this,t);return a===0?Gn(this,ie(t)):a}constructor(...t){ft(this,ko,{writable:!0,value:void 0});let[a,r,n,u,i]=rr(t);this.calendar=a,this.era=r,this.year=n,this.month=u,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Fe(this)}}var Ao=new WeakMap;class qe{copy(){return this.era?new qe(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new qe(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return lu(this,t)}subtract(t){return xo(this,t)}set(t,a){return Eo(this,t,a)}cycle(t,a,r){return Co(this,t,a,r)}toDate(){return yo(this)}toString(){return Fo(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-eu(t,this.timeZone).toDate().getTime()}constructor(...t){ft(this,Ao,{writable:!0,value:void 0});let[a,r,n,u,i]=rr(t),l=t.shift(),o=t.shift();this.calendar=a,this.era=r,this.year=n,this.month=u,this.day=i,this.timeZone=l,this.offset=o,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Fe(this)}}const Le=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],Vo=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],Ft=[1867,1911,1925,1988,2018],pe=["meiji","taisho","showa","heisei","reiwa"];function Cr(e){const t=Le.findIndex(([a,r,n])=>e.year=0){let[,n,u]=Le[a];t.month=Math.max(n,t.month),t.month===n&&(t.day=Math.max(u,t.day))}}getEras(){return pe}getYearsInEra(t){let a=pe.indexOf(t.era),r=Le[a],n=Le[a+1];if(n==null)return 9999-r[0]+1;let u=n[0]-r[0];return(t.month0?["minguo",t]:["before_minguo",1-t]}class Mo extends Z{fromJulianDay(t){let a=super.fromJulianDay(t),r=mt(a.era,a.year),[n,u]=wr(r);return new z(this,n,u,a.month,a.day)}toJulianDay(t){return super.toJulianDay(Pr(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[a,r]=wr(mu(t));t.era=a,t.year=r}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(Pr(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-_t}constructor(...t){super(...t),this.identifier="roc"}}function Pr(e){let[t,a]=Wt(mu(e));return new z(t,a,e.month,e.day)}const Io=1948321;function No(e){let t=e>0?e-474:e-473,a=me(t,2820)+474;return me((a+38)*31,128)<31}function bt(e,t,a){let r=e>0?e-474:e-473,n=me(r,2820)+474,u=t<=7?31*(t-1):30*(t-1)+6;return Io-1+1029983*Math.floor(r/2820)+365*(n-1)+Math.floor((31*n-5)/128)+u+a}class Oo{fromJulianDay(t){let a=t-bt(475,1,1),r=Math.floor(a/1029983),n=me(a,1029983),u=n===1029982?2820:Math.floor((128*n+46878)/46751),i=474+2820*r+u;i<=0&&i--;let l=t-bt(i,1,1)+1,o=l<=186?Math.ceil(l/31):Math.ceil((l-6)/31),d=t-bt(i,o,1)+1;return new z(this,i,o,d)}toJulianDay(t){return bt(t.year,t.month,t.day)}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||No(t.year)?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const sa=78,Fr=80;class Lo extends Z{fromJulianDay(t){let a=super.fromJulianDay(t),r=a.year-sa,n=t-we(a.era,a.year,1,1),u;n=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&ye(t.year+sa)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const Mt=1948440,Sr=1948439,Q=1300,Ae=1600,jo=460322;function It(e,t,a,r){return r+Math.ceil(29.5*(a-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function $u(e,t,a){let r=Math.floor((30*(a-t)+10646)/10631),n=Math.min(12,Math.ceil((a-(29+It(t,r,1,1)))/29.5)+1),u=a-It(t,r,n,1)+1;return new z(e,r,n,u)}function Rr(e){return(14+11*e)%30<11}class ur{fromJulianDay(t){return $u(this,Mt,t)}toJulianDay(t){return It(Mt,t.year,t.month,t.day)}getDaysInMonth(t){let a=29+t.month%2;return t.month===12&&Rr(t.year)&&a++,a}getMonthsInYear(){return 12}getDaysInYear(t){return Rr(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class zo extends ur{fromJulianDay(t){return $u(this,Sr,t)}toJulianDay(t){return It(Sr,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const Uo="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let Fa,je;function St(e){return jo+je[e-Q]}function tt(e,t){let a=e-Q,r=1<<11-(t-1);return Fa[a]&r?30:29}function kr(e,t){let a=St(e);for(let r=1;rn)return super.fromJulianDay(t);{let u=Q-1,i=1,l=1;for(;l>0;){u++,l=a-St(u)+1;let o=Ar(u);if(l===o){i=12;break}else if(ld;)l-=d,i++,d=tt(u,i);break}}return new z(this,u,i,a-kr(u,i)+1)}}toJulianDay(t){return t.yearAe?super.toJulianDay(t):Mt+kr(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.yearAe?super.getDaysInMonth(t):tt(t.year,t.month)}getDaysInYear(t){return t.yearAe?super.getDaysInYear(t):Ar(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",Fa||(Fa=new Uint16Array(Uint8Array.from(atob(Uo),t=>t.charCodeAt(0)).buffer)),!je){je=new Uint32Array(Ae-Q+1);let t=0;for(let a=Q;a<=Ae;a++){je[a-Q]=t;for(let r=1;r<=12;r++)t+=tt(a,r)}}}}const Vr=347997,hu=1080,Du=24*hu,Zo=29,qo=12*hu+793,Wo=Zo*Du+qo;function Ee(e){return me(e*7+1,19)<7}function Rt(e){let t=Math.floor((235*e-234)/19),a=12084+13753*t,r=t*29+Math.floor(a/25920);return me(3*(r+1),7)<3&&(r+=1),r}function Ho(e){let t=Rt(e-1),a=Rt(e);return Rt(e+1)-a===356?2:a-t===382?1:0}function nt(e){return Rt(e)+Ho(e)}function pu(e){return nt(e+1)-nt(e)}function Yo(e){let t=pu(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function vt(e,t){if(t>=6&&!Ee(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let a=Yo(e);return t===2?a===2?30:29:t===3?a===0?29:30:t===6?Ee(e)?30:0:30}class Go{fromJulianDay(t){let a=t-Vr,r=a*Du/Wo,n=Math.floor((19*r+234)/235)+1,u=nt(n),i=Math.floor(a-u);for(;i<1;)n--,u=nt(n),i=Math.floor(a-u);let l=1,o=0;for(;o6?t.month--:!Ee(a.year)&&Ee(t.year)&&a.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const Sa=1723856,Tr=1824665,Ra=5500;function Nt(e,t,a,r){return e+365*t+Math.floor(t/4)+30*(a-1)+r-1}function ir(e,t){let a=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-Nt(e,a,1,1))/30),n=t+1-Nt(e,a,r,1);return[a,r,n]}function yu(e){return Math.floor(e%4/3)}function bu(e,t){return t%13!==0?30:yu(e)+5}class lr{fromJulianDay(t){let[a,r,n]=ir(Sa,t),u="AM";return a<=0&&(u="AA",a+=Ra),new z(this,u,a,r,n)}toJulianDay(t){let a=t.year;return t.era==="AA"&&(a-=Ra),Nt(Sa,a,t.month,t.day)}getDaysInMonth(t){return bu(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+yu(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class Jo extends lr{fromJulianDay(t){let[a,r,n]=ir(Sa,t);return a+=Ra,new z(this,"AA",a,r,n)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class Qo extends lr{fromJulianDay(t){let[a,r,n]=ir(Tr,t),u="CE";return a<=0&&(u="BCE",a=1-a),new z(this,u,a,r,n)}toJulianDay(t){let a=t.year;return t.era==="BCE"&&(a=1-a),Nt(Tr,a,t.month,t.day)}getDaysInMonth(t){let a=t.year;return t.era==="BCE"&&(a=1-a),bu(a,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function Gt(e){switch(e){case"buddhist":return new _o;case"ethiopic":return new lr;case"ethioaa":return new Jo;case"coptic":return new Qo;case"hebrew":return new Go;case"indian":return new Lo;case"islamic-civil":return new ur;case"islamic-tbla":return new zo;case"islamic-umalqura":return new Ko;case"japanese":return new To;case"persian":return new Oo;case"roc":return new Mo;case"gregory":default:return new Z}}let da=new Map;class $e{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,a){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,a);if(a= start date");return`${this.formatter.format(t)} – ${this.formatter.format(a)}`}formatRangeToParts(t,a){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,a);if(a= start date");let r=this.formatter.formatToParts(t),n=this.formatter.formatToParts(a);return[...r.map(u=>({...u,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...n.map(u=>({...u,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return ts()&&(this.resolvedHourCycle||(this.resolvedHourCycle=as(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,a={}){this.formatter=vu(t,a),this.options=a}}const Xo={true:{ja:"h11"},false:{}};function vu(e,t={}){if(typeof t.hour12=="boolean"&&es()){t={...t};let n=Xo[String(t.hour12)][e.split("-")[0]],u=t.hour12?"h12":"h23";t.hourCycle=n??u,delete t.hour12}let a=e+(t?Object.entries(t).sort((n,u)=>n[0]u.type==="hour").value,10),n=parseInt(a.formatToParts(new Date(2020,2,3,23)).find(u=>u.type==="hour").value,10);if(r===0&&n===23)return"h23";if(r===24&&n===23)return"h24";if(r===0&&n===11)return"h11";if(r===12&&n===11)return"h12";throw new Error("Unexpected hour cycle result")}const Jt={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},gu={...Jt,customError:!0,valid:!1},Be={isInvalid:!1,validationDetails:Jt,validationErrors:[]},rs=f.createContext({}),ot="__formValidationState"+Date.now();function or(e){if(e[ot]){let{realtimeValidation:t,displayValidation:a,updateValidation:r,resetValidation:n,commitValidation:u}=e[ot];return{realtimeValidation:t,displayValidation:a,updateValidation:r,resetValidation:n,commitValidation:u}}return ns(e)}function ns(e){let{isInvalid:t,validationState:a,name:r,value:n,builtinValidation:u,validate:i,validationBehavior:l="aria"}=e;a&&(t||(t=a==="invalid"));let o=t?{isInvalid:!0,validationErrors:[],validationDetails:gu}:null,d=f.useMemo(()=>_r(us(i,n)),[i,n]);u!=null&&u.validationDetails.valid&&(u=null);let $=f.useContext(rs),D=f.useMemo(()=>r?Array.isArray(r)?r.flatMap(x=>ka($[x])):ka($[r]):[],[$,r]),[b,v]=f.useState($),[E,C]=f.useState(!1);$!==b&&(v($),C(!1));let B=f.useMemo(()=>_r(E?[]:D),[E,D]),A=f.useRef(Be),[y,k]=f.useState(Be),w=f.useRef(Be),V=()=>{if(!_)return;T(!1);let x=d||u||A.current;ma(x,w.current)||(w.current=x,k(x))},[_,T]=f.useState(!1);return f.useEffect(V),{realtimeValidation:o||B||d||u||Be,displayValidation:l==="native"?o||B||y:o||B||d||u||y,updateValidation(x){l==="aria"&&!ma(y,x)?k(x):A.current=x},resetValidation(){let x=Be;ma(x,w.current)||(w.current=x,k(x)),l==="native"&&T(!1),C(!0)},commitValidation(){l==="native"&&T(!0),C(!0)}}}function ka(e){return e?Array.isArray(e)?e:[e]:[]}function us(e,t){if(typeof e=="function"){let a=e(t);if(a&&typeof a!="boolean")return ka(a)}return[]}function _r(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:gu}:null}function ma(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((a,r)=>a===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([a,r])=>t.validationDetails[a]===r)}function Ot(...e){let t=new Set,a=!1,r={...Jt};for(let i of e){var n,u;for(let l of i.validationErrors)t.add(l);a||(a=i.isInvalid);for(let l in r)(n=r)[u=l]||(n[u]=i.validationDetails[l])}return r.valid=!a,{isInvalid:a,validationErrors:[...t],validationDetails:r}}function Se(e,t,a){let[r,n]=f.useState(e||t),u=f.useRef(e!==void 0),i=e!==void 0;f.useEffect(()=>{let d=u.current;d!==i&&console.warn(`WARN: A component changed from ${d?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),u.current=i},[i]);let l=i?e:r,o=f.useCallback((d,...$)=>{let D=(b,...v)=>{a&&(Object.is(l,b)||a(b,...v)),i||(l=b)};typeof d=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),n((v,...E)=>{let C=d(i?l:v,...E);return D(C,...$),i?v:C})):(i||n(d),D(d,...$))},[i,l,a]);return[l,o]}function xu(e){let[t,a]=Se(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const r=f.useCallback(()=>{a(!0)},[a]),n=f.useCallback(()=>{a(!1)},[a]),u=f.useCallback(()=>{a(!t)},[a,t]);return{isOpen:t,setOpen:a,open:r,close:n,toggle:u}}const is=Symbol.for("react-aria.i18n.locale"),ls=Symbol.for("react-aria.i18n.strings");let Ve;class ke{getStringForLocale(t,a){let n=this.getStringsForLocale(a)[t];if(!n)throw new Error(`Could not find intl message ${t} in ${a} locale`);return n}getStringsForLocale(t){let a=this.strings[t];return a||(a=os(t,this.strings,this.defaultLocale),this.strings[t]=a),a}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let a=window[is];if(Ve===void 0){let n=window[ls];if(!n)return null;Ve={};for(let u in n)Ve[u]=new ke({[a]:n[u]},a)}let r=Ve==null?void 0:Ve[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(t,a="en-US"){this.strings={...t},this.defaultLocale=a}}function os(e,t,a="en-US"){if(t[e])return t[e];let r=ss(e);if(t[r])return t[r];for(let n in t)if(n.startsWith(r+"-"))return t[n];return t[a]}function ss(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Mr=new Map,Ir=new Map;class Cu{format(t,a){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(a,this):r}plural(t,a,r="cardinal"){let n=a["="+t];if(n)return typeof n=="function"?n():n;let u=this.locale+":"+r,i=Mr.get(u);i||(i=new Intl.PluralRules(this.locale,{type:r}),Mr.set(u,i));let l=i.select(t);return n=a[l]||a.other,typeof n=="function"?n():n}number(t){let a=Ir.get(this.locale);return a||(a=new Intl.NumberFormat(this.locale),Ir.set(this.locale,a)),a.format(t)}select(t,a){let r=t[a]||t.other;return typeof r=="function"?r():r}constructor(t,a){this.locale=t,this.strings=a}}function ds(e){return e&&e.__esModule?e.default:e}var Eu={};Eu={"ar-AE":fn,"bg-BG":mn,"cs-CZ":$n,"da-DK":hn,"de-DE":Dn,"el-GR":pn,"en-US":yn,"es-ES":bn,"et-EE":vn,"fi-FI":gn,"fr-FR":xn,"he-IL":Cn,"hr-HR":En,"hu-HU":Bn,"it-IT":wn,"ja-JP":Pn,"ko-KR":Fn,"lt-LT":Sn,"lv-LV":Rn,"nb-NO":kn,"nl-NL":An,"pl-PL":Vn,"pt-BR":Tn,"pt-PT":_n,"ro-RO":Mn,"ru-RU":In,"sk-SK":Nn,"sl-SI":On,"sr-SP":Ln,"sv-SE":jn,"tr-TR":zn,"uk-UA":Un,"zh-CN":Kn,"zh-TW":Zn};const Bu=new ke(ds(Eu));function wu(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Lt(e,t,a,r,n){let u=e!=null&&a!=null&&e.compare(a)>0,i=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&(r==null?void 0:r(e))||!1,o=u||i||l,d=[];if(o){let $=wu(),D=ke.getGlobalDictionaryForPackage("@react-stately/datepicker")||Bu,b=new Cu($,D),v=new $e($,We({},n)),E=v.resolvedOptions().timeZone;i&&d.push(b.format("rangeUnderflow",{minValue:v.format(t.toDate(E))})),u&&d.push(b.format("rangeOverflow",{maxValue:v.format(a.toDate(E))})),l&&d.push(b.format("unavailableDate"))}return{isInvalid:o,validationErrors:d,validationDetails:{badInput:l,customError:!1,patternMismatch:!1,rangeOverflow:u,rangeUnderflow:i,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!o}}}function cs(e,t,a,r,n){let u=Lt(e==null?void 0:e.start,t,a,r,n),i=Lt(e==null?void 0:e.end,t,a,r,n),l=Ot(u,i);return e.end!=null&&e.start!=null&&e.end.compare(e.start)<0&&(l=Ot(l,{isInvalid:!0,validationErrors:[Bu.getStringForLocale("rangeReversed",wu())],validationDetails:{...Jt,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})),l}const fs={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},ms={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function We(e,t){e={...t.shouldForceLeadingZeros?ms:fs,...e};let r=t.granularity||"minute",n=Object.keys(e);var u;let i=n.indexOf((u=t.maxGranularity)!==null&&u!==void 0?u:"year");i<0&&(i=0);let l=n.indexOf(r);if(l<0&&(l=2),i>l)throw new Error("maxGranularity must be greater than granularity");let o=n.slice(i,l+1).reduce(($,D)=>($[D]=e[D],$),{});return t.hourCycle!=null&&(o.hour12=t.hourCycle===12),o.timeZone=t.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&t.timeZone&&!t.hideTimeZone&&(o.timeZoneName="short"),t.showEra&&i===0&&(o.era="short"),o}function Ie(e){return e&&"hour"in e?e:new nr}function Pu(e,t){if(e===null)return null;if(e)return L(e,t)}function Xe(e,t,a,r){if(e)return Pu(e,a);let n=L(Hn(r).set({hour:0,minute:0,second:0,millisecond:0}),a);return t==="year"||t==="month"||t==="day"?W(n):r?n:ie(n)}function sr(e,t){let a=e&&"timeZone"in e?e.timeZone:void 0,r=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[n,u]=f.useState([r,a]);e&&(n[0]!==r||n[1]!==a)&&u([r,a]),t||(t=e?r:n[0]);let i=e?a:n[1];return[t,i]}function $s(e){let t=xu(e),[a,r]=Se(e.value,e.defaultValue||null,e.onChange),n=a||e.placeholderValue,[u,i]=sr(n,e.granularity),l=a!=null?a.toDate(i??"UTC"):null,o=u==="hour"||u==="minute"||u==="second";var d;let $=(d=e.shouldCloseOnSelect)!==null&&d!==void 0?d:!0,[D,b]=f.useState(null),[v,E]=f.useState(null);if(a&&(D=a,"hour"in a&&(v=a)),n&&!(u in n))throw new Error("Invalid granularity "+u+" for value "+n.toString());let C=(a==null?void 0:a.calendar.identifier)==="gregory"&&a.era==="BC",B=f.useMemo(()=>({granularity:u,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:C}),[u,e.hourCycle,e.shouldForceLeadingZeros,i,e.hideTimeZone,C]),{minValue:A,maxValue:y,isDateUnavailable:k}=e,w=f.useMemo(()=>Lt(a,A,y,k,B),[a,A,y,k,B]),V=or({...e,value:a,builtinValidation:w}),_=V.displayValidation.isInvalid,T=e.validationState||(_?"invalid":null),s=(c,g)=>{r("timeZone"in g?g.set(W(c)):ie(c,g)),b(null),E(null),V.commitValidation()};return{...V,value:a,setValue:r,dateValue:D,timeValue:v,setDateValue:c=>{let g=typeof $=="function"?$():$;o?v||g?s(c,v||Ie(e.placeholderValue)):b(c):(r(c),V.commitValidation()),g&&t.setOpen(!1)},setTimeValue:c=>{D&&c?s(D,c):E(c)},granularity:u,hasTime:o,...t,setOpen(c){!c&&!a&&D&&o&&s(D,v||Ie(e.placeholderValue)),t.setOpen(c)},validationState:T,isInvalid:_,formatValue(c,g){if(!l)return"";let h=We(g,B);return new $e(c,h).format(l)}}}const hs=new ke({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:" 年 ",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function Ds(e,t,a){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?hs.getStringForLocale(e,a):"––"}const gt={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},Nr={year:5,month:2,day:7,hour:2,minute:15,second:15},ps={dayperiod:"dayPeriod"};function ys(e){let{locale:t,createCalendar:a,hideTimeZone:r,isDisabled:n,isReadOnly:u,isRequired:i,minValue:l,maxValue:o,isDateUnavailable:d}=e,$=e.value||e.defaultValue||e.placeholderValue,[D,b]=sr($,e.granularity),v=b||"UTC";if($&&!(D in $))throw new Error("Invalid granularity "+D+" for value "+$.toString());let E=f.useMemo(()=>new $e(t),[t]),C=f.useMemo(()=>a(E.resolvedOptions().calendar),[a,E]),[B,A]=Se(e.value,e.defaultValue,e.onChange),y=f.useMemo(()=>Pu(B,C),[B,C]),[k,w]=f.useState(()=>Xe(e.placeholderValue,D,C,b)),V=y||k,_=C.identifier==="gregory"&&V.era==="BC",T=f.useMemo(()=>{var S;return{granularity:D,maxGranularity:(S=e.maxGranularity)!==null&&S!==void 0?S:"year",timeZone:b,hideTimeZone:r,hourCycle:e.hourCycle,showEra:_,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,D,e.hourCycle,e.shouldForceLeadingZeros,b,r,_]),s=f.useMemo(()=>We({},T),[T]),F=f.useMemo(()=>new $e(t,s),[t,s]),x=f.useMemo(()=>F.resolvedOptions(),[F]),c=f.useMemo(()=>F.formatToParts(new Date).filter(S=>gt[S.type]).reduce((S,j)=>(S[j.type]=!0,S),{}),[F]),[g,h]=f.useState(()=>e.value||e.defaultValue?{...c}:{}),p=f.useRef(),M=f.useRef(C.identifier);f.useEffect(()=>{C.identifier!==M.current&&(M.current=C.identifier,w(S=>Object.keys(g).length>0?L(S,C):Xe(e.placeholderValue,D,C,b)))},[C,D,g,b,e.placeholderValue]),B&&Object.keys(g).length=Object.keys(c).length?y:k,m=S=>{if(e.isDisabled||e.isReadOnly)return;let j=Object.keys(g),K=Object.keys(c);S==null?(A(null),w(Xe(e.placeholderValue,D,C,b)),h({})):j.length>=K.length||j.length===K.length-1&&c.dayPeriod&&!g.dayPeriod&&p.current!=="dayPeriod"?(S=L(S,($==null?void 0:$.calendar)||new Z),A(S)):w(S),p.current=null},I=f.useMemo(()=>P.toDate(v),[P,v]),N=f.useMemo(()=>F.formatToParts(I).map(S=>{let j=gt[S.type];S.type==="era"&&C.getEras().length===1&&(j=!1);let K=gt[S.type]&&!g[S.type],re=gt[S.type]?Ds(S.type,S.value,t):null;return{type:ps[S.type]||S.type,text:K?re:S.value,...bs(P,S.type,x),isPlaceholder:K,placeholder:re,isEditable:j}}),[I,g,F,x,P,C,t]);c.era&&g.year&&!g.era?(g.era=!0,h({...g})):!c.era&&g.era&&(delete g.era,h({...g}));let O=S=>{g[S]=!0,S==="year"&&c.era&&(g.era=!0),h({...g})},H=(S,j)=>{if(g[S])m(vs(P,S,j,x));else{O(S);let K=Object.keys(g),re=Object.keys(c);(K.length>=re.length||K.length===re.length-1&&c.dayPeriod&&!g.dayPeriod)&&m(P)}},J=f.useMemo(()=>Lt(B,l,o,d,T),[B,l,o,d,T]),ge=or({...e,value:B,builtinValidation:J}),xe=ge.displayValidation.isInvalid,Je=e.validationState||(xe?"invalid":null);var Ce;return{...ge,value:y,dateValue:I,calendar:C,setValue:m,segments:N,dateFormatter:F,validationState:Je,isInvalid:xe,granularity:D,maxGranularity:(Ce=e.maxGranularity)!==null&&Ce!==void 0?Ce:"year",isDisabled:n,isReadOnly:u,isRequired:i,increment(S){H(S,1)},decrement(S){H(S,-1)},incrementPage(S){H(S,Nr[S]||1)},decrementPage(S){H(S,-(Nr[S]||1))},setSegment(S,j){O(S),m(gs(P,S,j,x))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let S=Object.keys(g),j=Object.keys(c);S.length===j.length-1&&c.dayPeriod&&!g.dayPeriod&&(g={...c},h(g),m(P.copy()))},clearSegment(S){delete g[S],p.current=S,h({...g});let j=Xe(e.placeholderValue,D,C,b),K=P;if(S==="dayPeriod"&&"hour"in P&&"hour"in j){let re=P.hour>=12,Y=j.hour>=12;re&&!Y?K=P.set({hour:P.hour-12}):!re&&Y&&(K=P.set({hour:P.hour+12}))}else S in P&&(K=P.set({[S]:j[S]}));A(null),m(K)},formatValue(S){if(!y)return"";let j=We(S,T);return new $e(t,j).format(I)}}}function bs(e,t,a){switch(t){case"era":{let r=e.calendar.getEras();return{value:r.indexOf(e.era),minValue:0,maxValue:r.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:so(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:co(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(a.hour12){let r=e.hour>=12;return{value:e.hour,minValue:r?12:0,maxValue:r?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function vs(e,t,a,r){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,a,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let n=e.hour,u=n>=12;return e.set({hour:u?n-12:n+12})}case"hour":case"minute":case"second":return e.cycle(t,a,{round:t!=="hour",hourCycle:r.hour12?12:24})}}function gs(e,t,a,r){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:a})}if("hour"in e)switch(t){case"dayPeriod":{let n=e.hour,u=n>=12;return a>=12===u?e:e.set({hour:u?n-12:n+12})}case"hour":if(r.hour12){let u=e.hour>=12;!u&&a===12&&(a=0),u&&a<12&&(a+=12)}case"minute":case"second":return e.set({[t]:a})}}function xs(e){var t,a;let r=xu(e),[n,u]=Se(e.value,e.defaultValue||null,e.onChange),[i,l]=f.useState(()=>n||{start:null,end:null});n==null&&i.start&&i.end&&(i={start:null,end:null},l(i));let o=n||i,d=P=>{l(P||{start:null,end:null}),P!=null&&P.start&&P.end?u(P):u(null)},$=(o==null?void 0:o.start)||(o==null?void 0:o.end)||e.placeholderValue,[D,b]=sr($,e.granularity),v=D==="hour"||D==="minute"||D==="second";var E;let C=(E=e.shouldCloseOnSelect)!==null&&E!==void 0?E:!0,[B,A]=f.useState(null),[y,k]=f.useState(null);o&&o.start&&o.end&&(B=o,"hour"in o.start&&(y=o));let w=(P,m)=>{d({start:"timeZone"in m.start?m.start.set(W(P.start)):ie(P.start,m.start),end:"timeZone"in m.end?m.end.set(W(P.end)):ie(P.end,m.end)}),A(null),k(null),h.commitValidation()},V=P=>{let m=typeof C=="function"?C():C;v?m||P.start&&P.end&&(y!=null&&y.start)&&(y!=null&&y.end)?w(P,{start:(y==null?void 0:y.start)||Ie(e.placeholderValue),end:(y==null?void 0:y.end)||Ie(e.placeholderValue)}):A(P):P.start&&P.end?(d(P),h.commitValidation()):A(P),m&&r.setOpen(!1)},_=P=>{B!=null&&B.start&&(B!=null&&B.end)&&P.start&&P.end?w(B,P):k(P)},T=(o==null||(t=o.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&o.start.era==="BC"||(o==null||(a=o.end)===null||a===void 0?void 0:a.calendar.identifier)==="gregory"&&o.end.era==="BC",s=f.useMemo(()=>({granularity:D,timeZone:b,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:T}),[D,e.hourCycle,e.shouldForceLeadingZeros,b,e.hideTimeZone,T]),{minValue:F,maxValue:x,isDateUnavailable:c}=e,g=f.useMemo(()=>cs(o,F,x,c,s),[o,F,x,c,s]),h=or({...e,value:n,name:f.useMemo(()=>[e.startName,e.endName],[e.startName,e.endName]),builtinValidation:g}),p=h.displayValidation.isInvalid,M=e.validationState||(p?"invalid":null);return{...h,value:o,setValue:d,dateRange:B,timeRange:y,granularity:D,hasTime:v,setDate(P,m){V({...B,[P]:m})},setTime(P,m){_({...y,[P]:m})},setDateTime(P,m){d({...o,[P]:m})},setDateRange:V,setTimeRange:_,...r,setOpen(P){!P&&!(o!=null&&o.start&&(o!=null&&o.end))&&(B!=null&&B.start)&&(B!=null&&B.end)&&v&&w(B,{start:(y==null?void 0:y.start)||Ie(e.placeholderValue),end:(y==null?void 0:y.end)||Ie(e.placeholderValue)}),r.setOpen(P)},validationState:M,isInvalid:p,formatValue(P,m){if(!o||!o.start||!o.end)return null;let I="timeZone"in o.start?o.start.timeZone:void 0,N=e.granularity||(o.start&&"minute"in o.start?"minute":"day"),O="timeZone"in o.end?o.end.timeZone:void 0,H=e.granularity||(o.end&&"minute"in o.end?"minute":"day"),J=We(m,{granularity:N,timeZone:I,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:o.start.calendar.identifier==="gregory"&&o.start.era==="BC"||o.end.calendar.identifier==="gregory"&&o.end.era==="BC"}),ge=o.start.toDate(I||"UTC"),xe=o.end.toDate(O||"UTC"),Je=new $e(P,J),Ce;if(I===O&&N===H&&o.start.compare(o.end)!==0){try{let S=Je.formatRangeToParts(ge,xe),j=-1;for(let Y=0;Yj&&(re+=S[Y].value);return{start:K,end:re}}catch{}Ce=Je}else{let S=We(m,{granularity:H,timeZone:O,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});Ce=new $e(P,S)}return{start:Je.format(ge),end:Ce.format(xe)}}}}var Fu={};Fu={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var Su={};Su={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var Ru={};Ru={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var ku={};ku={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var Au={};Au={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var Vu={};Vu={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var Tu={};Tu={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var _u={};_u={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var Mu={};Mu={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var Iu={};Iu={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var Nu={};Nu={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var Ou={};Ou={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var Lu={};Lu={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var ju={};ju={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var zu={};zu={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var Uu={};Uu={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var Ku={};Ku={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var Zu={};Zu={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var qu={};qu={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var Wu={};Wu={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var Hu={};Hu={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var Yu={};Yu={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var Gu={};Gu={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var Ju={};Ju={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var Qu={};Qu={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var Xu={};Xu={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var ei={};ei={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var ti={};ti={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var ai={};ai={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var ri={};ri={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var ni={};ni={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var ui={};ui={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var ii={};ii={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var li={};li={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};const jt={prefix:String(Math.round(Math.random()*1e10)),current:0},oi=te.createContext(jt),Cs=te.createContext(!1);let Es=!!(typeof window<"u"&&window.document&&window.document.createElement),$a=new WeakMap;function Bs(e=!1){let t=f.useContext(oi),a=f.useRef(null);if(a.current===null&&!e){var r,n;let u=(n=te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||n===void 0||(r=n.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(u){let i=$a.get(u);i==null?$a.set(u,{id:t.current,state:u.memoizedState}):u.memoizedState!==i.state&&(t.current=i.id,$a.delete(u))}a.current=++t.current}return a.current}function ws(e){let t=f.useContext(oi);t===jt&&!Es&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let a=Bs(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${a}`}function Ps(e){let t=te.useId(),[a]=f.useState(si()),r=a?"react-aria":`react-aria${jt.prefix}`;return e||`${r}-${t}`}const Fs=typeof te.useId=="function"?Ps:ws;function Ss(){return!1}function Rs(){return!0}function ks(e){return()=>{}}function si(){return typeof te.useSyncExternalStore=="function"?te.useSyncExternalStore(ks,Ss,Rs):f.useContext(Cs)}function di(e){var t,a,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t{};function q(e){const t=f.useRef(null);return he(()=>{t.current=e},[e]),f.useCallback((...a)=>{const r=t.current;return r(...a)},[])}function Vs(e){let[t,a]=f.useState(e),r=f.useRef(null),n=q(()=>{let i=r.current.next();if(i.done){r.current=null;return}t===i.value?n():a(i.value)});he(()=>{r.current&&n()});let u=q(i=>{r.current=i(t),n()});return[t,u]}let Ts=!!(typeof window<"u"&&window.document&&window.document.createElement),zt=new Map;function ue(e){let[t,a]=f.useState(e),r=f.useRef(null),n=Fs(t),u=f.useCallback(i=>{r.current=i},[]);return Ts&&zt.set(n,u),he(()=>{let i=n;return()=>{zt.delete(i)}},[n]),f.useEffect(()=>{let i=r.current;i&&(r.current=null,a(i))}),n}function _s(e,t){if(e===t)return e;let a=zt.get(e);if(a)return a(t),t;let r=zt.get(t);return r?(r(e),e):t}function Aa(e=[]){let t=ue(),[a,r]=Vs(t),n=f.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return he(n,[t,n,...e]),a}function Ms(...e){return(...t)=>{for(let a of e)typeof a=="function"&&a(...t)}}const X=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Ut=e=>e&&"window"in e&&e.window===e?e:X(e).defaultView||window;function ae(...e){let t={...e[0]};for(let a=1;a=65&&n.charCodeAt(2)<=90?t[n]=Ms(u,i):(n==="className"||n==="UNSAFE_className")&&typeof u=="string"&&typeof i=="string"?t[n]=As(u,i):n==="id"&&u&&i?t.id=_s(u,i):t[n]=i!==void 0?i:u}}return t}const Is=new Set(["id"]),Ns=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Os=new Set(["href","target","rel","download","ping","referrerPolicy"]),Ls=/^(data-.*)$/;function Qt(e,t={}){let{labelable:a,isLink:r,propNames:n}=t,u={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(Is.has(i)||a&&Ns.has(i)||r&&Os.has(i)||n!=null&&n.has(i)||Ls.test(i))&&(u[i]=e[i]);return u}function be(e){if(js())e.focus({preventScroll:!0});else{let t=zs(e);e.focus(),Us(t)}}let xt=null;function js(){if(xt==null){xt=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return xt=!0,!0}})}catch{}}return xt}function zs(e){for(var t=e.parentNode,a=[],r=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==r;)(t.offsetHeight"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(a=>e.test(a.brand)))||e.test(window.navigator.userAgent)}function dr(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function He(){return dr(/^Mac/i)}function Ks(){return dr(/^iPhone/i)}function ci(){return dr(/^iPad/i)||He()&&navigator.maxTouchPoints>1}function cr(){return Ks()||ci()}function Zs(){return Xt(/AppleWebKit/i)&&!qs()}function qs(){return Xt(/Chrome/i)}function fi(){return Xt(/Android/i)}function Ws(){return Xt(/Firefox/i)}function st(e,t,a=!0){var r,n;let{metaKey:u,ctrlKey:i,altKey:l,shiftKey:o}=t;Ws()&&(!((n=window.event)===null||n===void 0||(r=n.type)===null||r===void 0)&&r.startsWith("key"))&&e.target==="_blank"&&(He()?u=!0:i=!0);let d=Zs()&&He()&&!ci()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:u,ctrlKey:i,altKey:l,shiftKey:o}):new MouseEvent("click",{metaKey:u,ctrlKey:i,altKey:l,shiftKey:o,bubbles:!0,cancelable:!0});st.isOpening=a,be(e),e.dispatchEvent(d),st.isOpening=!1}st.isOpening=!1;let Me=new Map,Va=new Set;function Or(){if(typeof window>"u")return;let e=a=>{let r=Me.get(a.target);r||(r=new Set,Me.set(a.target,r),a.target.addEventListener("transitioncancel",t)),r.add(a.propertyName)},t=a=>{let r=Me.get(a.target);if(r&&(r.delete(a.propertyName),r.size===0&&(a.target.removeEventListener("transitioncancel",t),Me.delete(a.target)),Me.size===0)){for(let n of Va)n();Va.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?Or():document.addEventListener("DOMContentLoaded",Or));function mi(e){requestAnimationFrame(()=>{Me.size===0?e():Va.add(e)})}function $i(){let e=f.useRef(new Map),t=f.useCallback((n,u,i,l)=>{let o=l!=null&&l.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:u,eventTarget:n,fn:o,options:l}),n.addEventListener(u,i,l)},[]),a=f.useCallback((n,u,i,l)=>{var o;let d=((o=e.current.get(i))===null||o===void 0?void 0:o.fn)||i;n.removeEventListener(u,d,l),e.current.delete(i)},[]),r=f.useCallback(()=>{e.current.forEach((n,u)=>{a(n.eventTarget,n.type,u,n.options)})},[a]);return f.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:a,removeAllGlobalListeners:r}}function ea(e,t){let{id:a,"aria-label":r,"aria-labelledby":n}=e;return a=ue(a),n&&r?n=[...new Set([a,...n.trim().split(/\s+/)])].join(" "):n&&(n=n.trim().split(/\s+/).join(" ")),!r&&!n&&t&&(r=t),{id:a,"aria-label":r,"aria-labelledby":n}}function Lr(e,t){const a=f.useRef(!0),r=f.useRef(null);f.useEffect(()=>(a.current=!0,()=>{a.current=!1}),[]),f.useEffect(()=>{a.current?a.current=!1:(!r.current||t.some((n,u)=>!Object.is(n,r[u])))&&e(),r.current=t},t)}function Hs(e,t){he(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}})}function Kt(e,t){for(jr(e,t)&&(e=e.parentElement);e&&!jr(e,t);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function jr(e,t){let a=window.getComputedStyle(e),r=/(auto|scroll)/.test(a.overflow+a.overflowX+a.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}let Ys=0;const ha=new Map;function ta(e){let[t,a]=f.useState(void 0);return he(()=>{if(!e)return;let r=ha.get(e);if(r)a(r.element.id);else{let n=`react-aria-description-${Ys++}`;a(n);let u=document.createElement("div");u.id=n,u.style.display="none",u.textContent=e,document.body.appendChild(u),r={refCount:0,element:u},ha.set(e,r)}return r.refCount++,()=>{--r.refCount===0&&(r.element.remove(),ha.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Ne(e,t,a,r){let n=q(a),u=a==null;f.useEffect(()=>{if(u)return;let i=e.current;return i.addEventListener(t,n,r),()=>{i.removeEventListener(t,n,r)}},[e,t,r,u,n])}function Gs(e,t){let a=zr(e,t,"left"),r=zr(e,t,"top"),n=t.offsetWidth,u=t.offsetHeight,i=e.scrollLeft,l=e.scrollTop,{borderTopWidth:o,borderLeftWidth:d}=getComputedStyle(e),$=e.scrollLeft+parseInt(d,10),D=e.scrollTop+parseInt(o,10),b=$+e.clientWidth,v=D+e.clientHeight;a<=i?i=a-parseInt(d,10):a+n>b&&(i+=a+n-b),r<=D?l=r-parseInt(o,10):r+u>v&&(l+=r+u-v),e.scrollLeft=i,e.scrollTop=l}function zr(e,t,a){const r=a==="left"?"offsetLeft":"offsetTop";let n=0;for(;t.offsetParent&&(n+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){n-=e[r];break}t=t.offsetParent}return n}function hi(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let o=Kt(e);for(;e&&o&&e!==i&&o!==i;)Gs(o,e),e=o,o=Kt(e)}else{var a;let{left:o,top:d}=e.getBoundingClientRect();e==null||(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"});let{left:$,top:D}=e.getBoundingClientRect();if(Math.abs(o-$)>1||Math.abs(d-D)>1){var r,n,u;t==null||(n=t.containingElement)===null||n===void 0||(r=n.scrollIntoView)===null||r===void 0||r.call(n,{block:"center",inline:"center"}),(u=e.scrollIntoView)===null||u===void 0||u.call(e,{block:"nearest"})}}}}function Ta(e){return e.mozInputSource===0&&e.isTrusted?!0:fi()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Js(e){return!fi()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Di(e,t){let a=f.useRef(null);return e&&a.current&&t(e,a.current)&&(e=a.current),a.current=e,e}function Qs(e,t,a){let r=f.useRef(t),n=q(()=>{a&&a(r.current)});f.useEffect(()=>{var u;let i=e==null||(u=e.current)===null||u===void 0?void 0:u.form;return i==null||i.addEventListener("reset",n),()=>{i==null||i.removeEventListener("reset",n)}},[e,n])}function Xs(e,t){return t.get?t.get.call(e):t.value}function pi(e,t,a){if(!t.has(e))throw new TypeError("attempted to "+a+" private field on non-instance");return t.get(e)}function ed(e,t){var a=pi(e,t,"get");return Xs(e,a)}function td(e,t,a){if(t.set)t.set.call(e,a);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=a}}function Ur(e,t,a){var r=pi(e,t,"set");return td(e,r,a),a}let Oe="default",_a="",kt=new WeakMap;function Kr(e){if(cr()){if(Oe==="default"){const t=X(e);_a=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Oe="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(kt.set(e,e.style.userSelect),e.style.userSelect="none")}function Ct(e){if(cr()){if(Oe!=="disabled")return;Oe="restoring",setTimeout(()=>{mi(()=>{if(Oe==="restoring"){const t=X(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=_a||""),_a="",Oe="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&kt.has(e)){let t=kt.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),kt.delete(e)}}const yi=te.createContext({register:()=>{}});yi.displayName="PressResponderContext";function ad(e){let t=f.useContext(yi);if(t){let{register:a,...r}=t;e=ae(r,e),a()}return Hs(t,e.ref),e}var Et=new WeakMap;class Bt{continuePropagation(){Ur(this,Et,!1)}get shouldStopPropagation(){return ed(this,Et)}constructor(t,a,r){ft(this,Et,{writable:!0,value:void 0}),Ur(this,Et,!0),this.type=t,this.pointerType=a,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey}}const Zr=Symbol("linkClicked");function bi(e){let{onPress:t,onPressChange:a,onPressStart:r,onPressEnd:n,onPressUp:u,isDisabled:i,isPressed:l,preventFocusOnPress:o,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:$,ref:D,...b}=ad(e),[v,E]=f.useState(!1),C=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:B,removeAllGlobalListeners:A}=$i(),y=q((s,F)=>{let x=C.current;if(i||x.didFirePressStart)return!1;let c=!0;if(x.isTriggeringEvent=!0,r){let g=new Bt("pressstart",F,s);r(g),c=g.shouldStopPropagation}return a&&a(!0),x.isTriggeringEvent=!1,x.didFirePressStart=!0,E(!0),c}),k=q((s,F,x=!0)=>{let c=C.current;if(!c.didFirePressStart)return!1;c.ignoreClickAfterPress=!0,c.didFirePressStart=!1,c.isTriggeringEvent=!0;let g=!0;if(n){let h=new Bt("pressend",F,s);n(h),g=h.shouldStopPropagation}if(a&&a(!1),E(!1),t&&x&&!i){let h=new Bt("press",F,s);t(h),g&&(g=h.shouldStopPropagation)}return c.isTriggeringEvent=!1,g}),w=q((s,F)=>{let x=C.current;if(i)return!1;if(u){x.isTriggeringEvent=!0;let c=new Bt("pressup",F,s);return u(c),x.isTriggeringEvent=!1,c.shouldStopPropagation}return!0}),V=q(s=>{let F=C.current;F.isPressed&&F.target&&(F.isOverTarget&&F.pointerType!=null&&k(oe(F.target,s),F.pointerType,!1),F.isPressed=!1,F.isOverTarget=!1,F.activePointerId=null,F.pointerType=null,A(),$||Ct(F.target))}),_=q(s=>{d&&V(s)}),T=f.useMemo(()=>{let s=C.current,F={onKeyDown(c){if(Da(c.nativeEvent,c.currentTarget)&&c.currentTarget.contains(c.target)){var g;Wr(c.target,c.key)&&c.preventDefault();let h=!0;!s.isPressed&&!c.repeat&&(s.target=c.currentTarget,s.isPressed=!0,h=y(c,"keyboard"),B(X(c.currentTarget),"keyup",x,!1)),h&&c.stopPropagation(),c.metaKey&&He()&&((g=s.metaKeyEvents)===null||g===void 0||g.set(c.key,c.nativeEvent))}else c.key==="Meta"&&(s.metaKeyEvents=new Map)},onKeyUp(c){Da(c.nativeEvent,c.currentTarget)&&!c.repeat&&c.currentTarget.contains(c.target)&&s.target&&w(oe(s.target,c),"keyboard")},onClick(c){if(!(c&&!c.currentTarget.contains(c.target))&&c&&c.button===0&&!s.isTriggeringEvent&&!st.isOpening){let g=!0;if(i&&c.preventDefault(),!s.ignoreClickAfterPress&&!s.ignoreEmulatedMouseEvents&&!s.isPressed&&(s.pointerType==="virtual"||Ta(c.nativeEvent))){!i&&!o&&be(c.currentTarget);let h=y(c,"virtual"),p=w(c,"virtual"),M=k(c,"virtual");g=h&&p&&M}s.ignoreEmulatedMouseEvents=!1,s.ignoreClickAfterPress=!1,g&&c.stopPropagation()}}},x=c=>{var g;if(s.isPressed&&s.target&&Da(c,s.target)){var h;Wr(c.target,c.key)&&c.preventDefault();let M=c.target,P=k(oe(s.target,c),"keyboard",s.target.contains(M));A(),P&&c.stopPropagation(),c.key!=="Enter"&&fr(s.target)&&s.target.contains(M)&&!c[Zr]&&(c[Zr]=!0,st(s.target,c,!1)),s.isPressed=!1,(h=s.metaKeyEvents)===null||h===void 0||h.delete(c.key)}else if(c.key==="Meta"&&(!((g=s.metaKeyEvents)===null||g===void 0)&&g.size)){var p;let M=s.metaKeyEvents;s.metaKeyEvents=void 0;for(let P of M.values())(p=s.target)===null||p===void 0||p.dispatchEvent(new KeyboardEvent("keyup",P))}};if(typeof PointerEvent<"u"){F.onPointerDown=p=>{if(p.button!==0||!p.currentTarget.contains(p.target))return;if(Js(p.nativeEvent)){s.pointerType="virtual";return}pa(p.currentTarget)&&p.preventDefault(),s.pointerType=p.pointerType;let M=!0;s.isPressed||(s.isPressed=!0,s.isOverTarget=!0,s.activePointerId=p.pointerId,s.target=p.currentTarget,!i&&!o&&be(p.currentTarget),$||Kr(s.target),M=y(p,s.pointerType),B(X(p.currentTarget),"pointermove",c,!1),B(X(p.currentTarget),"pointerup",g,!1),B(X(p.currentTarget),"pointercancel",h,!1)),M&&p.stopPropagation()},F.onMouseDown=p=>{p.currentTarget.contains(p.target)&&p.button===0&&(pa(p.currentTarget)&&p.preventDefault(),p.stopPropagation())},F.onPointerUp=p=>{!p.currentTarget.contains(p.target)||s.pointerType==="virtual"||p.button===0&&Te(p,p.currentTarget)&&w(p,s.pointerType||p.pointerType)};let c=p=>{p.pointerId===s.activePointerId&&(s.target&&Te(p,s.target)?!s.isOverTarget&&s.pointerType!=null&&(s.isOverTarget=!0,y(oe(s.target,p),s.pointerType)):s.target&&s.isOverTarget&&s.pointerType!=null&&(s.isOverTarget=!1,k(oe(s.target,p),s.pointerType,!1),_(p)))},g=p=>{p.pointerId===s.activePointerId&&s.isPressed&&p.button===0&&s.target&&(Te(p,s.target)&&s.pointerType!=null?k(oe(s.target,p),s.pointerType):s.isOverTarget&&s.pointerType!=null&&k(oe(s.target,p),s.pointerType,!1),s.isPressed=!1,s.isOverTarget=!1,s.activePointerId=null,s.pointerType=null,A(),$||Ct(s.target))},h=p=>{V(p)};F.onDragStart=p=>{p.currentTarget.contains(p.target)&&V(p)}}else{F.onMouseDown=h=>{if(h.button!==0||!h.currentTarget.contains(h.target))return;if(pa(h.currentTarget)&&h.preventDefault(),s.ignoreEmulatedMouseEvents){h.stopPropagation();return}s.isPressed=!0,s.isOverTarget=!0,s.target=h.currentTarget,s.pointerType=Ta(h.nativeEvent)?"virtual":"mouse",!i&&!o&&be(h.currentTarget),y(h,s.pointerType)&&h.stopPropagation(),B(X(h.currentTarget),"mouseup",c,!1)},F.onMouseEnter=h=>{if(!h.currentTarget.contains(h.target))return;let p=!0;s.isPressed&&!s.ignoreEmulatedMouseEvents&&s.pointerType!=null&&(s.isOverTarget=!0,p=y(h,s.pointerType)),p&&h.stopPropagation()},F.onMouseLeave=h=>{if(!h.currentTarget.contains(h.target))return;let p=!0;s.isPressed&&!s.ignoreEmulatedMouseEvents&&s.pointerType!=null&&(s.isOverTarget=!1,p=k(h,s.pointerType,!1),_(h)),p&&h.stopPropagation()},F.onMouseUp=h=>{h.currentTarget.contains(h.target)&&!s.ignoreEmulatedMouseEvents&&h.button===0&&w(h,s.pointerType||"mouse")};let c=h=>{if(h.button===0){if(s.isPressed=!1,A(),s.ignoreEmulatedMouseEvents){s.ignoreEmulatedMouseEvents=!1;return}s.target&&Te(h,s.target)&&s.pointerType!=null?k(oe(s.target,h),s.pointerType):s.target&&s.isOverTarget&&s.pointerType!=null&&k(oe(s.target,h),s.pointerType,!1),s.isOverTarget=!1}};F.onTouchStart=h=>{if(!h.currentTarget.contains(h.target))return;let p=rd(h.nativeEvent);if(!p)return;s.activePointerId=p.identifier,s.ignoreEmulatedMouseEvents=!0,s.isOverTarget=!0,s.isPressed=!0,s.target=h.currentTarget,s.pointerType="touch",!i&&!o&&be(h.currentTarget),$||Kr(s.target),y(h,s.pointerType)&&h.stopPropagation(),B(Ut(h.currentTarget),"scroll",g,!0)},F.onTouchMove=h=>{if(!h.currentTarget.contains(h.target))return;if(!s.isPressed){h.stopPropagation();return}let p=qr(h.nativeEvent,s.activePointerId),M=!0;p&&Te(p,h.currentTarget)?!s.isOverTarget&&s.pointerType!=null&&(s.isOverTarget=!0,M=y(h,s.pointerType)):s.isOverTarget&&s.pointerType!=null&&(s.isOverTarget=!1,M=k(h,s.pointerType,!1),_(h)),M&&h.stopPropagation()},F.onTouchEnd=h=>{if(!h.currentTarget.contains(h.target))return;if(!s.isPressed){h.stopPropagation();return}let p=qr(h.nativeEvent,s.activePointerId),M=!0;p&&Te(p,h.currentTarget)&&s.pointerType!=null?(w(h,s.pointerType),M=k(h,s.pointerType)):s.isOverTarget&&s.pointerType!=null&&(M=k(h,s.pointerType,!1)),M&&h.stopPropagation(),s.isPressed=!1,s.activePointerId=null,s.isOverTarget=!1,s.ignoreEmulatedMouseEvents=!0,s.target&&!$&&Ct(s.target),A()},F.onTouchCancel=h=>{h.currentTarget.contains(h.target)&&(h.stopPropagation(),s.isPressed&&V(h))};let g=h=>{s.isPressed&&h.target.contains(s.target)&&V({currentTarget:s.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};F.onDragStart=h=>{h.currentTarget.contains(h.target)&&V(h)}}return F},[B,i,o,A,$,V,_,k,y,w]);return f.useEffect(()=>()=>{var s;$||Ct((s=C.current.target)!==null&&s!==void 0?s:void 0)},[$]),{isPressed:l||v,pressProps:ae(b,T)}}function fr(e){return e.tagName==="A"&&e.hasAttribute("href")}function Da(e,t){const{key:a,code:r}=e,n=t,u=n.getAttribute("role");return(a==="Enter"||a===" "||a==="Spacebar"||r==="Space")&&!(n instanceof Ut(n).HTMLInputElement&&!vi(n,a)||n instanceof Ut(n).HTMLTextAreaElement||n.isContentEditable)&&!((u==="link"||!u&&fr(n))&&a!=="Enter")}function rd(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function qr(e,t){const a=e.changedTouches;for(let r=0;rt.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Te(e,t){let a=t.getBoundingClientRect(),r=nd(e);return ud(a,r)}function pa(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Wr(e,t){return e instanceof HTMLInputElement?!vi(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!fr(e)}const id=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function vi(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":id.has(e.type)}class ld{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,a){this.nativeEvent=a,this.target=a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget,this.bubbles=a.bubbles,this.cancelable=a.cancelable,this.defaultPrevented=a.defaultPrevented,this.eventPhase=a.eventPhase,this.isTrusted=a.isTrusted,this.timeStamp=a.timeStamp,this.type=t}}function od(e){let t=f.useRef({isFocused:!1,observer:null});he(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let a=q(r=>{e==null||e(r)});return f.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r.target,u=i=>{t.current.isFocused=!1,n.disabled&&a(new ld("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",u,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[a])}let Ge=null,sd=new Set,Hr=!1,Re=!1,Ma=!1;function aa(e,t){for(let a of sd)a(e,t)}function dd(e){return!(e.metaKey||!He()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Yr(e){Re=!0,dd(e)&&(Ge="keyboard",aa("keyboard",e))}function _e(e){Ge="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Re=!0,aa("pointer",e))}function cd(e){Ta(e)&&(Re=!0,Ge="virtual")}function fd(e){e.target===window||e.target===document||(!Re&&!Ma&&(Ge="virtual",aa("virtual",e)),Re=!1,Ma=!1)}function md(){Re=!1,Ma=!0}function Gr(){if(typeof window>"u"||Hr)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){Re=!0,e.apply(this,arguments)},document.addEventListener("keydown",Yr,!0),document.addEventListener("keyup",Yr,!0),document.addEventListener("click",cd,!0),window.addEventListener("focus",fd,!0),window.addEventListener("blur",md,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",_e,!0),document.addEventListener("pointermove",_e,!0),document.addEventListener("pointerup",_e,!0)):(document.addEventListener("mousedown",_e,!0),document.addEventListener("mousemove",_e,!0),document.addEventListener("mouseup",_e,!0)),Hr=!0}typeof document<"u"&&(document.readyState!=="loading"?Gr():document.addEventListener("DOMContentLoaded",Gr));function gi(){return Ge}function $d(e){Ge=e,aa(e,null)}function mr(e){let{isDisabled:t,onBlurWithin:a,onFocusWithin:r,onFocusWithinChange:n}=e,u=f.useRef({isFocusWithin:!1}),i=f.useCallback(d=>{u.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(u.current.isFocusWithin=!1,a&&a(d),n&&n(!1))},[a,n,u]),l=od(i),o=f.useCallback(d=>{!u.current.isFocusWithin&&document.activeElement===d.target&&(r&&r(d),n&&n(!0),u.current.isFocusWithin=!0,l(d))},[r,n,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:o,onBlur:i}}}function hd(e){const t=X(e);if(gi()==="virtual"){let a=t.activeElement;mi(()=>{t.activeElement===a&&e.isConnected&&be(e)})}else be(e)}function Dd(e){const t=Ut(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:a,visibility:r}=e.style,n=a!=="none"&&r!=="hidden"&&r!=="collapse";if(n){const{getComputedStyle:u}=e.ownerDocument.defaultView;let{display:i,visibility:l}=u(e);n=i!=="none"&&l!=="hidden"&&l!=="collapse"}return n}function pd(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function xi(e,t){return e.nodeName!=="#comment"&&Dd(e)&&pd(e,t)&&(!e.parentElement||xi(e.parentElement,e))}const $r=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],yd=$r.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";$r.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const bd=$r.join(':not([hidden]):not([tabindex="-1"]),');function Ci(e,t){return!e||!t?!1:t.some(a=>a.contains(e))}function et(e,t=!1){if(e!=null&&!t)try{hd(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function at(e,t,a){let r=t!=null&&t.tabbable?bd:yd,n=X(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(u){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(u)?NodeFilter.FILTER_REJECT:u.matches(r)&&xi(u)&&(!a||Ci(u,a))&&(!(t!=null&&t.accept)||t.accept(u))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(n.currentNode=t.from),n}function ra(e,t={}){return{focusNext(a={}){let r=e.current;if(!r)return null;let{from:n,tabbable:u=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=a,o=n||X(r).activeElement,d=at(r,{tabbable:u,accept:l});r.contains(o)&&(d.currentNode=o);let $=d.nextNode();return!$&&i&&(d.currentNode=r,$=d.nextNode()),$&&et($,!0),$},focusPrevious(a=t){let r=e.current;if(!r)return null;let{from:n,tabbable:u=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=a,o=n||X(r).activeElement,d=at(r,{tabbable:u,accept:l});if(r.contains(o))d.currentNode=o;else{let D=ya(d);return D&&et(D,!0),D??null}let $=d.previousNode();if(!$&&i){d.currentNode=r;let D=ya(d);if(!D)return null;$=D}return $&&et($,!0),$??null},focusFirst(a=t){let r=e.current;if(!r)return null;let{tabbable:n=t.tabbable,accept:u=t.accept}=a,l=at(r,{tabbable:n,accept:u}).nextNode();return l&&et(l,!0),l},focusLast(a=t){let r=e.current;if(!r)return null;let{tabbable:n=t.tabbable,accept:u=t.accept}=a,i=at(r,{tabbable:n,accept:u}),l=ya(i);return l&&et(l,!0),l??null}}}function ya(e){let t,a;do a=e.lastChild(),a&&(t=a);while(a);return t}class hr{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,a,r){let n=this.fastMap.get(a??null);if(!n)return;let u=new Jr({scopeRef:t});n.addChild(u),u.parent=n,this.fastMap.set(t,u),r&&(u.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let a=this.fastMap.get(t);if(!a)return;let r=a.parent;for(let u of this.traverse())u!==a&&a.nodeToRestore&&u.nodeToRestore&&a.scopeRef&&a.scopeRef.current&&Ci(u.nodeToRestore,a.scopeRef.current)&&(u.nodeToRestore=a.nodeToRestore);let n=a.children;r&&(r.removeChild(a),n.size>0&&n.forEach(u=>r&&r.addChild(u))),this.fastMap.delete(a.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let a of t.children)yield*this.traverse(a)}clone(){var t;let a=new hr;var r;for(let n of this.traverse())a.addTreeNode(n.scopeRef,(r=(t=n.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&r!==void 0?r:null,n.nodeToRestore);return a}constructor(){this.fastMap=new Map,this.root=new Jr({scopeRef:null}),this.fastMap.set(null,this.root)}}class Jr{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}new hr;function vd(e){let{id:t,label:a,"aria-labelledby":r,"aria-label":n,labelElementType:u="label"}=e;t=ue(t);let i=ue(),l={};a?(r=r?`${i} ${r}`:i,l={id:i,htmlFor:u==="label"?t:void 0}):!r&&!n&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let o=ea({id:t,"aria-label":n,"aria-labelledby":r});return{labelProps:l,fieldProps:o}}function Dr(e){let{description:t,errorMessage:a,isInvalid:r,validationState:n}=e,{labelProps:u,fieldProps:i}=vd(e),l=Aa([!!t,!!a,r,n]),o=Aa([!!t,!!a,r,n]);return i=ae(i,{"aria-describedby":[l,o,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:u,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:o}}}let ba=new Map,Ia=!1;try{Ia=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Zt=!1;try{Zt=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Ei={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class gd{format(t){let a="";if(!Ia&&this.options.signDisplay!=null?a=Cd(this.numberFormatter,this.options.signDisplay,t):a=this.numberFormatter.format(t),this.options.style==="unit"&&!Zt){var r;let{unit:n,unitDisplay:u="short",locale:i}=this.resolvedOptions();if(!n)return a;let l=(r=Ei[n])===null||r===void 0?void 0:r[u];a+=l[i]||l.default}return a}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,a){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,a);if(a= start date");return`${this.format(t)} – ${this.format(a)}`}formatRangeToParts(t,a){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,a);if(a= start date");let r=this.numberFormatter.formatToParts(t),n=this.numberFormatter.formatToParts(a);return[...r.map(u=>({...u,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...n.map(u=>({...u,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Ia&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Zt&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,a={}){this.numberFormatter=xd(t,a),this.options=a}}function xd(e,t={}){let{numberingSystem:a}=t;if(a&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${a}`),t.style==="unit"&&!Zt){var r;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=Ei[i])===null||r===void 0)&&r[l]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let n=e+(t?Object.entries(t).sort((i,l)=>i[0]0||Object.is(a,0):t==="exceptZero"&&(Object.is(a,-0)||Object.is(a,0)?a=Math.abs(a):r=a>0),r){let n=e.format(-a),u=e.format(a),i=n.replace(u,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),n.replace(u,"!!!").replace(i,"+").replace("!!!",u)}else return e.format(a)}}const Ed=new RegExp("^.*\\(.*\\).*$"),Bd=["latn","arab","hanidec"];class Bi{parse(t){return va(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,a,r){return va(this.locale,this.options,t).isValidPartialNumber(t,a,r)}getNumberingSystem(t){return va(this.locale,this.options,t).options.numberingSystem}constructor(t,a={}){this.locale=t,this.options=a}}const Qr=new Map;function va(e,t,a){let r=Xr(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(a)){for(let n of Bd)if(n!==r.options.numberingSystem){let u=Xr(e+(e.includes("-u-")?"-nu-":"-u-nu-")+n,t);if(u.isValidPartialNumber(a))return u}}return r}function Xr(e,t){let a=e+(t?Object.entries(t).sort((n,u)=>n[0]-1&&(a=`-${a}`)}let r=a?+a:NaN;if(isNaN(r))return NaN;if(this.options.style==="percent"){let n={...this.options,style:"decimal",minimumFractionDigits:Math.min(this.options.minimumFractionDigits+2,20),maximumFractionDigits:Math.min(this.options.maximumFractionDigits+2,20)};return new Bi(this.locale,n).parse(new gd(this.locale,n).format(r))}return this.options.currencySign==="accounting"&&Ed.test(t)&&(r=-1*r),r}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&(t=wt(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=wt(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,a=-1/0,r=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&a<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&r>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=wt(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,a={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,a),this.options=this.formatter.resolvedOptions(),this.symbols=Fd(t,this.formatter,this.options,a);var r,n;this.options.style==="percent"&&(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)>18||((n=this.options.maximumFractionDigits)!==null&&n!==void 0?n:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const en=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),Pd=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Fd(e,t,a,r){var n,u,i,l;let o=new Intl.NumberFormat(e,{...a,minimumSignificantDigits:1,maximumSignificantDigits:21}),d=o.formatToParts(-10000.111),$=o.formatToParts(10000.111),D=Pd.map(x=>o.formatToParts(x));var b;let v=(b=(n=d.find(x=>x.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&b!==void 0?b:"-",E=(u=$.find(x=>x.type==="plusSign"))===null||u===void 0?void 0:u.value;!E&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(E="+");let B=(i=new Intl.NumberFormat(e,{...a,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(x=>x.type==="decimal"))===null||i===void 0?void 0:i.value,A=(l=d.find(x=>x.type==="group"))===null||l===void 0?void 0:l.value,y=d.filter(x=>!en.has(x.type)).map(x=>tn(x.value)),k=D.flatMap(x=>x.filter(c=>!en.has(c.type)).map(c=>tn(c.value))),w=[...new Set([...y,...k])].sort((x,c)=>c.length-x.length),V=w.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${w.join("|")}|[\\p{White_Space}]`,"gu"),_=[...new Intl.NumberFormat(a.locale,{useGrouping:!1}).format(9876543210)].reverse(),T=new Map(_.map((x,c)=>[x,c])),s=new RegExp(`[${_.join("")}]`,"g");return{minusSign:v,plusSign:E,decimal:B,group:A,literals:V,numeral:s,index:x=>String(T.get(x))}}function wt(e,t,a){return e.replaceAll?e.replaceAll(t,a):e.split(t).join(a)}function tn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const Sd=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Rd=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function wi(e){if(Intl.Locale){let a=new Intl.Locale(e).maximize(),r=typeof a.getTextInfo=="function"?a.getTextInfo():a.textInfo;if(r)return r.direction==="rtl";if(a.script)return Sd.has(a.script)}let t=e.split("-")[0];return Rd.has(t)}const kd=Symbol.for("react-aria.i18n.locale");function Pi(){let e=typeof window<"u"&&window[kd]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:wi(e)?"rtl":"ltr"}}let Na=Pi(),rt=new Set;function an(){Na=Pi();for(let e of rt)e(Na)}function Fi(){let e=si(),[t,a]=f.useState(Na);return f.useEffect(()=>(rt.size===0&&window.addEventListener("languagechange",an),rt.add(a),()=>{rt.delete(a),rt.size===0&&window.removeEventListener("languagechange",an)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Si=te.createContext(null);function Ad(e){let{locale:t,children:a}=e,r=Fi(),n=t?{locale:t,direction:wi(t)?"rtl":"ltr"}:r;return te.createElement(Si.Provider,{value:n},a)}function G(){let e=Fi();return f.useContext(Si)||e}const rn=new WeakMap;function Vd(e){let t=rn.get(e);return t||(t=new ke(e),rn.set(e,t)),t}function Ri(e,t){return t&&ke.getGlobalDictionaryForPackage(t)||Vd(e)}function ve(e,t){let{locale:a}=G(),r=Ri(e,t);return f.useMemo(()=>new Cu(a,r),[a,r])}function ee(e){e=Di(e??{},Td);let{locale:t}=G();return f.useMemo(()=>new $e(t,e),[t,e])}function Td(e,t){if(e===t)return!0;let a=Object.keys(e),r=Object.keys(t);if(a.length!==r.length)return!1;for(let n of a)if(t[n]!==e[n])return!1;return!0}let ga=new Map;function _d(e){let{locale:t}=G(),a=t+(e?Object.entries(e).sort((n,u)=>n[0]i.length===0?!0:(u=u.normalize("NFC"),i=i.normalize("NFC"),t.compare(u.slice(0,i.length),i)===0),[t]),r=f.useCallback((u,i)=>i.length===0?!0:(u=u.normalize("NFC"),i=i.normalize("NFC"),t.compare(u.slice(-i.length),i)===0),[t]),n=f.useCallback((u,i)=>{if(i.length===0)return!0;u=u.normalize("NFC"),i=i.normalize("NFC");let l=0,o=i.length;for(;l+o<=u.length;l++){let d=u.slice(l,l+o);if(t.compare(i,d)===0)return!0}return!1},[t]);return f.useMemo(()=>({startsWith:a,endsWith:r,contains:n}),[a,r,n])}function Id(e,t,a){let{validationBehavior:r,focus:n}=e;he(()=>{if(r==="native"&&(a!=null&&a.current)){let o=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";a.current.setCustomValidity(o),a.current.hasAttribute("title")||(a.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(Od(a.current))}});let u=q(()=>{t.resetValidation()}),i=q(o=>{var d;t.displayValidation.isInvalid||t.commitValidation();let $=a==null||(d=a.current)===null||d===void 0?void 0:d.form;if(!o.defaultPrevented&&a&&$&&Ld($)===a.current){var D;n?n():(D=a.current)===null||D===void 0||D.focus(),$d("keyboard")}o.preventDefault()}),l=q(()=>{t.commitValidation()});f.useEffect(()=>{let o=a==null?void 0:a.current;if(!o)return;let d=o.form;return o.addEventListener("invalid",i),o.addEventListener("change",l),d==null||d.addEventListener("reset",u),()=>{o.removeEventListener("invalid",i),o.removeEventListener("change",l),d==null||d.removeEventListener("reset",u)}},[a,i,l,u,r])}function Nd(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function Od(e){return{isInvalid:!e.validity.valid,validationDetails:Nd(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function Ld(e){for(let t=0;t{n.remove()},r)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}function Ud(e){return e&&e.__esModule?e.default:e}var fl={};fl={"ar-AE":ki,"bg-BG":Ai,"cs-CZ":Vi,"da-DK":Ti,"de-DE":_i,"el-GR":Mi,"en-US":Ii,"es-ES":Ni,"et-EE":Oi,"fi-FI":Li,"fr-FR":ji,"he-IL":zi,"hr-HR":Ui,"hu-HU":Ki,"it-IT":Zi,"ja-JP":qi,"ko-KR":Wi,"lt-LT":Hi,"lv-LV":Yi,"nb-NO":Gi,"nl-NL":Ji,"pl-PL":Qi,"pt-BR":Xi,"pt-PT":el,"ro-RO":tl,"ru-RU":al,"sk-SK":rl,"sl-SI":nl,"sr-SP":ul,"sv-SE":il,"tr-TR":ll,"uk-UA":ol,"zh-CN":sl,"zh-TW":dl};function Kd(e){const t=f.useRef();let{value:a,textValue:r,minValue:n,maxValue:u,isDisabled:i,isReadOnly:l,isRequired:o,onIncrement:d,onIncrementPage:$,onDecrement:D,onDecrementPage:b,onDecrementToMin:v,onIncrementToMax:E}=e;const C=ve(Ud(fl),"@react-aria/spinbutton"),B=()=>clearTimeout(t.current);f.useEffect(()=>()=>B(),[]);let A=x=>{if(!(x.ctrlKey||x.metaKey||x.shiftKey||x.altKey||l))switch(x.key){case"PageUp":if($){x.preventDefault(),$();break}case"ArrowUp":case"Up":d&&(x.preventDefault(),d());break;case"PageDown":if(b){x.preventDefault(),b();break}case"ArrowDown":case"Down":D&&(x.preventDefault(),D());break;case"Home":v&&(x.preventDefault(),v());break;case"End":E&&(x.preventDefault(),E());break}},y=f.useRef(!1),k=()=>{y.current=!0},w=()=>{y.current=!1};r=r===""?C.format("Empty"):(r||`${a}`).replace("-","−"),f.useEffect(()=>{y.current&&(jd("assertive"),Oa(r,"assertive"))},[r]);const V=q(x=>{B(),d(),t.current=window.setTimeout(()=>{(isNaN(u)||isNaN(a)||a{B(),D(),t.current=window.setTimeout(()=>{(isNaN(n)||isNaN(a)||a>n)&&_(60)},x)});let T=x=>{x.preventDefault()},{addGlobalListener:s,removeAllGlobalListeners:F}=$i();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(a)?null:a,"aria-valuetext":r,"aria-valuemin":n,"aria-valuemax":u,"aria-disabled":i||null,"aria-readonly":l||null,"aria-required":o||null,onKeyDown:A,onFocus:k,onBlur:w},incrementButtonProps:{onPressStart:()=>{V(400),s(window,"contextmenu",T)},onPressEnd:()=>{B(),F()},onFocus:k,onBlur:w},decrementButtonProps:{onPressStart:()=>{_(400),s(window,"contextmenu",T)},onPressEnd:()=>{B(),F()},onFocus:k,onBlur:w}}}function na(e){return e&&e.__esModule?e.default:e}var Dt={};Dt={"ar-AE":Fu,"bg-BG":Su,"cs-CZ":Ru,"da-DK":ku,"de-DE":Au,"el-GR":Vu,"en-US":Tu,"es-ES":_u,"et-EE":Mu,"fi-FI":Iu,"fr-FR":Nu,"he-IL":Ou,"hr-HR":Lu,"hu-HU":ju,"it-IT":zu,"ja-JP":Uu,"ko-KR":Ku,"lt-LT":Zu,"lv-LV":qu,"nb-NO":Wu,"nl-NL":Hu,"pl-PL":Yu,"pt-BR":Gu,"pt-PT":Ju,"ro-RO":Qu,"ru-RU":Xu,"sk-SK":ei,"sl-SI":ti,"sr-SP":ai,"sv-SE":ri,"tr-TR":ni,"uk-UA":ui,"zh-CN":ii,"zh-TW":li};function pr(e,t,a){let{direction:r}=G(),n=f.useMemo(()=>ra(t),[t]),u=o=>{if(o.currentTarget.contains(o.target)&&(o.altKey&&(o.key==="ArrowDown"||o.key==="ArrowUp")&&"setOpen"in e&&(o.preventDefault(),o.stopPropagation(),e.setOpen(!0)),!a))switch(o.key){case"ArrowLeft":o.preventDefault(),o.stopPropagation(),r==="rtl"?n.focusNext():n.focusPrevious();break;case"ArrowRight":o.preventDefault(),o.stopPropagation(),r==="rtl"?n.focusPrevious():n.focusNext();break}},i=()=>{var o;let d=(o=window.event)===null||o===void 0?void 0:o.target,$=at(t.current,{tabbable:!0});if(d&&($.currentNode=d,d=$.previousNode()),!d){let D;do D=$.lastChild(),D&&(d=D);while(D)}for(;d!=null&&d.hasAttribute("data-placeholder");){let D=$.previousNode();if(D&&D.hasAttribute("data-placeholder"))d=D;else break}d&&d.focus()},{pressProps:l}=bi({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(o){o.pointerType==="mouse"&&i()},onPress(o){o.pointerType!=="mouse"&&i()}});return ae(l,{onKeyDown:u})}const ml=new WeakMap,it="__role_"+Date.now(),$l="__focusManager_"+Date.now();function Zd(e,t,a){var r;let{isInvalid:n,validationErrors:u,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:o,descriptionProps:d,errorMessageProps:$}=Dr({...e,labelElementType:"span",isInvalid:n,errorMessage:e.errorMessage||u}),D=f.useRef(null),{focusWithinProps:b}=mr({...e,onFocusWithin(x){var c;D.current=t.value,(c=e.onFocus)===null||c===void 0||c.call(e,x)},onBlurWithin:x=>{var c;t.confirmPlaceholder(),t.value!==D.current&&t.commitValidation(),(c=e.onBlur)===null||c===void 0||c.call(e,x)},onFocusWithinChange:e.onFocusChange}),v=ve(na(Dt),"@react-aria/datepicker"),E=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",C=t.maxGranularity==="hour"?"time":"date",B=t.value?v.format(E,{[C]:t.formatValue({month:"long"})}):"",A=ta(B),y=e[it]==="presentation"?o["aria-describedby"]:[A["aria-describedby"],o["aria-describedby"]].filter(Boolean).join(" ")||void 0,k=e[$l],w=f.useMemo(()=>k||ra(a),[k,a]),V=pr(t,a,e[it]==="presentation");ml.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:y,focusManager:w});let _=f.useRef(e.autoFocus),T;e[it]==="presentation"?T={role:"presentation"}:T=ae(o,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":y}),f.useEffect(()=>{_.current&&w.focusFirst(),_.current=!1},[w]),Qs(e.inputRef,t.value,t.setValue),Id({...e,focus(){w.focusFirst()}},t,e.inputRef);let s={type:"hidden",name:e.name,value:((r=t.value)===null||r===void 0?void 0:r.toString())||""};e.validationBehavior==="native"&&(s.type="text",s.hidden=!0,s.required=e.isRequired,s.onChange=()=>{});let F=Qt(e);return{labelProps:{...l,onClick:()=>{w.focusFirst()}},fieldProps:ae(F,T,V,b,{onKeyDown(x){e.onKeyDown&&e.onKeyDown(x)},onKeyUp(x){e.onKeyUp&&e.onKeyUp(x)}}),inputProps:s,descriptionProps:d,errorMessageProps:$,isInvalid:n,validationErrors:u,validationDetails:i}}function qd(e,t,a){let r=ue(),n=ue(),u=ue(),i=ve(na(Dt),"@react-aria/datepicker"),{isInvalid:l,validationErrors:o,validationDetails:d}=t.displayValidation,{labelProps:$,fieldProps:D,descriptionProps:b,errorMessageProps:v}=Dr({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||o}),E=pr(t,a),C=D["aria-labelledby"]||D.id,{locale:B}=G(),A=t.formatValue(B,{month:"long"}),y=A?i.format("selectedDateDescription",{date:A}):"",k=ta(y),w=[k["aria-describedby"],D["aria-describedby"]].filter(Boolean).join(" ")||void 0,V=Qt(e),_=f.useMemo(()=>ra(a),[a]),{focusWithinProps:T}=mr({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:ae(V,E,D,k,T,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":C,"aria-describedby":w,onKeyDown(s){t.isOpen||e.onKeyDown&&e.onKeyDown(s)},onKeyUp(s){t.isOpen||e.onKeyUp&&e.onKeyUp(s)}}),labelProps:{...$,onClick:()=>{_.focusFirst()}},fieldProps:{...D,id:u,[it]:"presentation","aria-describedby":w,value:t.value,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[ot]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:b,errorMessageProps:v,buttonProps:{...k,id:r,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${r} ${C}`,"aria-describedby":w,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:n,"aria-labelledby":`${r} ${C}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:o,validationDetails:d}}function Wd(){let{locale:e}=G(),t=Ri(na(Dt),"@react-aria/datepicker");return f.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new Hd(e,t)}},[e,t])}class Hd{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,a){this.locale=t,this.dictionary=a}}function Yd(e,t,a){let r=f.useRef(""),{locale:n}=G(),u=Wd(),{ariaLabel:i,ariaLabelledBy:l,ariaDescribedBy:o,focusManager:d}=ml.get(t),$=e.isPlaceholder?"":e.text,D=f.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),b=ee({month:"long",timeZone:D.timeZone}),v=ee({hour:"numeric",hour12:D.hour12,timeZone:D.timeZone});if(e.type==="month"&&!e.isPlaceholder){let m=b.format(t.dateValue);$=m!==$?`${$} – ${m}`:m}else e.type==="hour"&&!e.isPlaceholder&&($=v.format(t.dateValue));let{spinButtonProps:E}=Kd({value:e.value,textValue:$,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{r.current="",t.increment(e.type)},onDecrement:()=>{r.current="",t.decrement(e.type)},onIncrementPage:()=>{r.current="",t.incrementPage(e.type)},onDecrementPage:()=>{r.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{r.current="",t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{r.current="",t.setSegment(e.type,e.minValue)}}),C=f.useMemo(()=>new Bi(n,{maximumFractionDigits:0}),[n]),B=()=>{if(C.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let m=e.text.slice(0,-1),I=C.parse(m);m.length===0||I===0?t.clearSegment(e.type):t.setSegment(e.type,I),r.current=m}else e.type==="dayPeriod"&&t.clearSegment(e.type)},A=m=>{if(m.key==="a"&&(He()?m.metaKey:m.ctrlKey)&&m.preventDefault(),!(m.ctrlKey||m.metaKey||m.shiftKey||m.altKey))switch(m.key){case"Backspace":case"Delete":m.preventDefault(),m.stopPropagation(),B();break}},{startsWith:y}=Md({sensitivity:"base"}),k=ee({hour:"numeric",hour12:!0}),w=f.useMemo(()=>{let m=new Date;return m.setHours(0),k.formatToParts(m).find(I=>I.type==="dayPeriod").value},[k]),V=f.useMemo(()=>{let m=new Date;return m.setHours(12),k.formatToParts(m).find(I=>I.type==="dayPeriod").value},[k]),_=ee({year:"numeric",era:"narrow",timeZone:"UTC"}),T=f.useMemo(()=>{if(e.type!=="era")return[];let m=L(new z(1,1,1),t.calendar),I=t.calendar.getEras().map(O=>{let H=m.set({year:1,month:1,day:1,era:O}).toDate("UTC"),ge=_.formatToParts(H).find(xe=>xe.type==="era").value;return{era:O,formatted:ge}}),N=Gd(I.map(O=>O.formatted));if(N)for(let O of I)O.formatted=O.formatted.slice(N);return I},[_,t.calendar,e.type]),s=m=>{if(t.isDisabled||t.isReadOnly)return;let I=r.current+m;switch(e.type){case"dayPeriod":if(y(w,m))t.setSegment("dayPeriod",0);else if(y(V,m))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let N=T.find(O=>y(O.formatted,m));N&&(t.setSegment("era",N.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!C.isValidPartialNumber(I))return;let N=C.parse(I),O=N,H=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":N>11&&(O=C.parse(m));break;case"h12":H=!1,N>12&&(O=C.parse(m));break}e.value>=12&&N>1&&(N+=12)}else N>e.maxValue&&(O=C.parse(m));if(isNaN(N))return;let J=O!==0||H;J&&t.setSegment(e.type,O),+(N+"0")>e.maxValue||I.length>=String(e.maxValue).length?(r.current="",J&&d.focusNext()):r.current=I;break}}},F=()=>{r.current="",hi(a.current,{containingElement:Kt(a.current)}),window.getSelection().collapse(a.current)},x=f.useRef("");Ne(a,"beforeinput",m=>{switch(m.preventDefault(),m.inputType){case"deleteContentBackward":case"deleteContentForward":C.isValidPartialNumber(e.text)&&!t.isReadOnly&&B();break;case"insertCompositionText":x.current=a.current.textContent,a.current.textContent=a.current.textContent;break;default:m.data!=null&&s(m.data);break}}),Ne(a,"input",m=>{let{inputType:I,data:N}=m;switch(I){case"insertCompositionText":a.current.textContent=x.current,(y(w,N)||y(V,N))&&s(N);break}}),he(()=>{let m=a.current;return()=>{document.activeElement===m&&(d.focusPrevious()||d.focusNext())}},[a,d]);let c=cr()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},g=f.useMemo(()=>t.segments.find(m=>m.isEditable),[t.segments]);e!==g&&!t.isInvalid&&(o=void 0);let h=ue(),p=!t.isDisabled&&!t.isReadOnly&&e.isEditable,M=e.type==="literal"?"":u.of(e.type),P=ea({"aria-label":`${M}${i?`, ${i}`:""}${l?", ":""}`,"aria-labelledby":l});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:ae(E,P,{id:h,...c,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":o,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:p,suppressContentEditableWarning:p,spellCheck:p?"false":void 0,autoCapitalize:p?"off":void 0,autoCorrect:p?"off":void 0,[parseInt(te.version,10)>=17?"enterKeyHint":"enterkeyhint"]:p?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!p?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:A,onFocus:F,style:{caretColor:"transparent"},onPointerDown(m){m.stopPropagation()},onMouseDown(m){m.stopPropagation()}})}}function Gd(e){e.sort();let t=e[0],a=e[e.length-1];for(let r=0;rra(a,{accept:p=>p.id!==w}),[a,w]),F={[$l]:s,[it]:"presentation","aria-describedby":T,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},x=Qt(e),{focusWithinProps:c}=mr({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),g=f.useRef(Be),h=f.useRef(Be);return{groupProps:ae(x,_,$,A,c,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":T,onKeyDown(p){t.isOpen||e.onKeyDown&&e.onKeyDown(p)},onKeyUp(p){t.isOpen||e.onKeyUp&&e.onKeyUp(p)}}),labelProps:{...d,onClick:()=>{s.focusFirst()}},buttonProps:{...A,id:w,"aria-haspopup":"dialog","aria-label":u.format("calendar"),"aria-labelledby":`${w} ${v}`,"aria-describedby":T,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:V,"aria-labelledby":`${w} ${v}`},startFieldProps:{...y,...F,value:(r=t.value)===null||r===void 0?void 0:r.start,onChange:p=>t.setDateTime("start",p),autoFocus:e.autoFocus,name:e.startName,[ot]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(p){g.current=p,t.updateValidation(Ot(p,h.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...k,...F,value:(n=t.value)===null||n===void 0?void 0:n.end,onChange:p=>t.setDateTime("end",p),name:e.endName,[ot]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(p){h.current=p,t.updateValidation(Ot(g.current,p))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:D,errorMessageProps:b,calendarProps:{autoFocus:!0,value:t.dateRange,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:i,validationErrors:l,validationDetails:o}}const hl=e=>{try{if(!Intl||!Intl.DateTimeFormat().resolvedOptions().timeZone)throw new Error("Time zones are not available in this environment");return Intl.DateTimeFormat(void 0,{timeZone:e}),!0}catch{return!1}},Ye=(e,t)=>{if(e)try{if(t&&!hl(t))throw new Error("Invalid timezone provided.");return t?ou(e,t):wo(e)}catch(a){const r=a instanceof Error?": "+a.message:".";throw new Error("Failed to parse date value"+r)}},nn=(e,t)=>{if(!(!e||!e[0]||!e[1]))return{start:Ye(e[0],t),end:Ye(e[1],t)}},ze=(e,t)=>{try{if(!e)return"";const a=t||$t();if(!hl(a))throw new Error("Invalid timezone provided.");return eu(e,a).toAbsoluteString()}catch(a){const r=a instanceof Error?": "+a.message:".";throw new Error("Failed to convert date value to string"+r)}},Dl=e=>({minValue:Ye(e.minValue,e.timezone),maxValue:Ye(e.maxValue,e.timezone),shouldCloseOnSelect:!0,granularity:"day",isDisabled:e.disabled,label:e.label}),qt=f.forwardRef(({pickerState:e,pickerProps:t,onClear:a,isFocused:r,labelAsPlaceholder:n,calendar:u,children:i,name:l,locale:o,disabled:d=!1,optionalClassName:$,isRange:D,...b},v)=>{var y,k;const{t:E,currentLocale:C}=cn(),B=f.useRef(null),A=f.useMemo(()=>e.validationState==="invalid"||b.state==="error",[e.validationState,b.state]);return R.jsx(Ad,{locale:o||C,children:R.jsx(ro,{...b,className:ne({"c__date-picker__range__container":D}),children:R.jsxs("div",{ref:B,className:ne(["c__date-picker",$],{"c__date-picker--disabled":d,"c__date-picker--invalid":A,"c__date-picker--success":b.state==="success","c__date-picker--focused":!A&&!d&&(e.isOpen||r)}),children:[R.jsxs("div",{className:ne("c__date-picker__wrapper",{"c__date-picker__wrapper--clickable":n}),ref:v,...t.groupProps,role:"button",tabIndex:0,onClick:()=>!e.isOpen&&e.open(),children:["dateRange"in e?R.jsxs(R.Fragment,{children:[R.jsx("input",{type:"hidden",name:l&&`${l}_start`,value:ze(((y=e.value)==null?void 0:y.start)??null,b.timezone)}),R.jsx("input",{type:"hidden",name:l&&`${l}_end`,value:ze(((k=e.value)==null?void 0:k.end)??null,b.timezone)})]}):R.jsx("input",{type:"hidden",name:l,value:ze(e.value,b.timezone)}),R.jsx("div",{className:"c__date-picker__wrapper__icon",children:R.jsx(se,{type:"button",onKeyDown:w=>{w.key==="Enter"&&e.toggle()},onClick:e.toggle,"aria-label":E(e.isOpen?"components.forms.date_picker.toggle_button_aria_label_close":"components.forms.date_picker.toggle_button_aria_label_open"),color:"tertiary-text",size:"small",className:"c__date-picker__wrapper__toggle",icon:R.jsx("span",{className:"material-icons icon",children:"calendar_today"}),disabled:d})}),i,R.jsx(se,{className:ne("c__date-picker__inner__action",{"c__date-picker__inner__action--empty":!e.value,"c__date-picker__inner__action--hidden":n||d}),color:"tertiary-text",size:"nano",icon:R.jsx("span",{className:"material-icons",children:"close"}),onClick:a,onKeyDown:w=>{w.key==="Enter"&&a()},"aria-label":E("components.forms.date_picker.clear_button_aria_label"),disabled:d,type:"button"})]}),e.isOpen&&R.jsx(ao,{parentRef:B,onClickOutside:e.close,borderless:!0,children:u})]})})})});try{qt.displayName="DatePickerAux",qt.__docgenInfo={description:`This component is used by date and date range picker components. +It contains the common logic between the two.`,displayName:"DatePickerAux",props:{state:{defaultValue:null,description:"",name:"state",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"error"'},{value:'"default"'}]}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},textItems:{defaultValue:null,description:"",name:"textItems",required:!1,type:{name:"string[]"}},rightText:{defaultValue:null,description:"",name:"rightText",required:!1,type:{name:"string"}},fullWidth:{defaultValue:null,description:"",name:"fullWidth",required:!1,type:{name:"boolean"}},compact:{defaultValue:null,description:"",name:"compact",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},minValue:{defaultValue:null,description:"",name:"minValue",required:!1,type:{name:"string"}},maxValue:{defaultValue:null,description:"",name:"maxValue",required:!1,type:{name:"string"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},locale:{defaultValue:null,description:"",name:"locale",required:!1,type:{name:"string"}},timezone:{defaultValue:null,description:"",name:"timezone",required:!1,type:{name:"string"}},pickerState:{defaultValue:null,description:"",name:"pickerState",required:!0,type:{name:"DateRangePickerState | DatePickerState"}},pickerProps:{defaultValue:null,description:"",name:"pickerProps",required:!0,type:{name:'Pick'}},calendar:{defaultValue:null,description:"",name:"calendar",required:!0,type:{name:"React.ReactElement<((props: CalendarProps) => Element) | ((props: RangeCalendarProps) => Element)>"}},isFocused:{defaultValue:null,description:"",name:"isFocused",required:!0,type:{name:"boolean"}},labelAsPlaceholder:{defaultValue:null,description:"",name:"labelAsPlaceholder",required:!0,type:{name:"boolean"}},optionalClassName:{defaultValue:null,description:"",name:"optionalClassName",required:!1,type:{name:"string"}},isRange:{defaultValue:null,description:"",name:"isRange",required:!1,type:{name:"boolean"}},onClear:{defaultValue:null,description:"",name:"onClear",required:!0,type:{name:"() => void"}}}}}catch{}function Ue(e,t,a){return t!=null&&e.compare(t)<0||a!=null&&e.compare(a)>0}function La(e,t,a,r,n){let u={};for(let l in t)u[l]=Math.floor(t[l]/2),u[l]>0&&t[l]%2===0&&u[l]--;let i=Pe(e,t,a).subtract(u);return dt(e,i,t,a,r,n)}function Pe(e,t,a,r,n){let u=e;return t.years?u=oo(e):t.months?u=ht(e):t.weeks&&(u=Ke(e,a)),dt(e,u,t,a,r,n)}function ja(e,t,a,r,n){let u={...t};t.days?u.days--:t.weeks?u.weeks--:t.months?u.months--:t.years&&u.years--;let i=Pe(e,t,a).subtract(u);return dt(e,i,t,a,r,n)}function dt(e,t,a,r,n,u){return n&&e.compare(n)>=0&&(t=Qa(t,Pe(W(n),a,r))),u&&e.compare(u)<=0&&(t=Ja(t,ja(W(u),a,r))),t}function De(e,t,a){return t&&(e=Qa(e,W(t))),a&&(e=Ja(e,W(a))),e}function pl(e,t,a){if(!a)return e;for(;e.compare(t)>=0&&a(e);)e=e.subtract({days:1});if(e.compare(t)>=0)return e}function yl(e){let t=f.useMemo(()=>new $e(e.locale),[e.locale]),a=f.useMemo(()=>t.resolvedOptions(),[t]),{locale:r,createCalendar:n,visibleDuration:u={months:1},minValue:i,maxValue:l,selectionAlignment:o,isDateUnavailable:d,pageBehavior:$="visible"}=e,D=f.useMemo(()=>n(a.calendar),[n,a.calendar]),[b,v]=Se(e.value,e.defaultValue,e.onChange),E=f.useMemo(()=>b?L(W(b),D):null,[b,D]),C=f.useMemo(()=>b&&"timeZone"in b?b.timeZone:a.timeZone,[b,a.timeZone]),B=f.useMemo(()=>e.focusedValue?De(L(W(e.focusedValue),D),i,l):void 0,[e.focusedValue,D,i,l]),A=f.useMemo(()=>De(e.defaultFocusedValue?L(W(e.defaultFocusedValue),D):E||L(Ht(C),D),i,l),[e.defaultFocusedValue,E,C,D,i,l]),[y,k]=Se(B,A,e.onFocusChange),[w,V]=f.useState(()=>{switch(o){case"start":return Pe(y,u,r,i,l);case"end":return ja(y,u,r,i,l);case"center":default:return La(y,u,r,i,l)}}),[_,T]=f.useState(e.autoFocus||!1),s=f.useMemo(()=>{let m={...u};return m.days?m.days--:m.days=-1,w.add(m)},[w,u]),[F,x]=f.useState(D.identifier);if(D.identifier!==F){let m=L(y,D);V(La(m,u,r,i,l)),k(m),x(D.identifier)}Ue(y,i,l)?k(De(y,i,l)):y.compare(w)<0?V(ja(y,u,r,i,l)):y.compare(s)>0&&V(Pe(y,u,r,i,l));function c(m){m=De(m,i,l),k(m)}function g(m){if(!e.isDisabled&&!e.isReadOnly){if(m=De(m,i,l),m=pl(m,w,d),!m)return;m=L(m,(b==null?void 0:b.calendar)||new Z),b&&"hour"in b?v(b.set(m)):v(m)}}let h=f.useMemo(()=>E?d&&d(E)?!0:Ue(E,i,l):!1,[E,d,i,l]),p=e.isInvalid||e.validationState==="invalid"||h,M=p?"invalid":null,P=f.useMemo(()=>$==="visible"?u:xa(u),[$,u]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:E,setValue:g,visibleRange:{start:w,end:s},minValue:i,maxValue:l,focusedDate:y,timeZone:C,validationState:M,isValueInvalid:p,setFocusedDate(m){c(m),T(!0)},focusNextDay(){c(y.add({days:1}))},focusPreviousDay(){c(y.subtract({days:1}))},focusNextRow(){u.days?this.focusNextPage():(u.weeks||u.months||u.years)&&c(y.add({weeks:1}))},focusPreviousRow(){u.days?this.focusPreviousPage():(u.weeks||u.months||u.years)&&c(y.subtract({weeks:1}))},focusNextPage(){let m=w.add(P);k(De(y.add(P),i,l)),V(Pe(dt(y,m,P,r,i,l),P,r))},focusPreviousPage(){let m=w.subtract(P);k(De(y.subtract(P),i,l)),V(Pe(dt(y,m,P,r,i,l),P,r))},focusSectionStart(){u.days?c(w):u.weeks?c(Ke(y,r)):(u.months||u.years)&&c(ht(y))},focusSectionEnd(){u.days?c(s):u.weeks?c(fo(y,r)):(u.months||u.years)&&c(Vt(y))},focusNextSection(m){if(!m&&!u.days){c(y.add(xa(u)));return}u.days?this.focusNextPage():u.weeks?c(y.add({months:1})):(u.months||u.years)&&c(y.add({years:1}))},focusPreviousSection(m){if(!m&&!u.days){c(y.subtract(xa(u)));return}u.days?this.focusPreviousPage():u.weeks?c(y.subtract({months:1})):(u.months||u.years)&&c(y.subtract({years:1}))},selectFocusedDate(){g(y)},selectDate(m){g(m)},isFocused:_,setFocused:T,isInvalid(m){return Ue(m,i,l)},isSelected(m){return E!=null&&U(m,E)&&!this.isCellDisabled(m)&&!this.isCellUnavailable(m)},isCellFocused(m){return _&&y&&U(m,y)},isCellDisabled(m){return e.isDisabled||m.compare(w)<0||m.compare(s)>0||this.isInvalid(m,i,l)},isCellUnavailable(m){return e.isDateUnavailable&&e.isDateUnavailable(m)},isPreviousVisibleRangeInvalid(){let m=w.subtract({days:1});return U(m,w)||this.isInvalid(m,i,l)},isNextVisibleRangeInvalid(){let m=s.add({days:1});return U(m,s)||this.isInvalid(m,i,l)},getDatesInWeek(m,I=w){let N=I.add({weeks:m}),O=[];N=Ke(N,r);let H=Ga(N,r);for(let J=0;J0&&(E="start")}let C=f.useRef(null),[B,A]=f.useState(null),y=f.useMemo(()=>Qa(l,B==null?void 0:B.start),[l,B]),k=f.useMemo(()=>Ja(o,B==null?void 0:B.end),[o,B]),w=yl({...d,value:$&&$.start,createCalendar:n,locale:u,visibleDuration:i,minValue:y,maxValue:k,selectionAlignment:E}),V=m=>{m&&e.isDateUnavailable&&!e.allowsNonContiguousRanges?(C.current={start:ln(m,w,-1),end:ln(m,w,1)},A(C.current)):(C.current=null,A(null))},[_,T]=f.useState(w.visibleRange);(!Ea(w.visibleRange.start,_.start)||!Ea(w.visibleRange.end,_.end))&&(V(b),T(w.visibleRange));let s=m=>{m?(v(m),V(m)):(v(null),V(null))},F=b?Ca(b,w.focusedDate):$&&Ca($.start,$.end),x=m=>{if(!e.isReadOnly&&(m=De(m,y,k),m=pl(m,w.visibleRange.start,e.isDateUnavailable),!!m))if(!b)s(m);else{let I=Ca(b,m);D({start:un(I.start,$==null?void 0:$.start),end:un(I.end,$==null?void 0:$.end)}),s(null)}},[c,g]=f.useState(!1),{isDateUnavailable:h}=e,p=f.useMemo(()=>!$||b?!1:h&&(h($.start)||h($.end))?!0:Ue($.start,l,o)||Ue($.end,l,o),[h,$,b,l,o]),M=e.isInvalid||e.validationState==="invalid"||p;return{...w,value:$,setValue:D,anchorDate:b,setAnchorDate:s,highlightedRange:F,validationState:M?"invalid":null,isValueInvalid:M,selectFocusedDate(){x(w.focusedDate)},selectDate:x,highlightDate(m){b&&w.setFocusedDate(m)},isSelected(m){return F&&m.compare(F.start)>=0&&m.compare(F.end)<=0&&!w.isCellDisabled(m)&&!w.isCellUnavailable(m)},isInvalid(m){var I,N;return w.isInvalid(m)||Ue(m,(I=C.current)===null||I===void 0?void 0:I.start,(N=C.current)===null||N===void 0?void 0:N.end)},isDragging:c,setDragging:g}}function Ca(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:W(e),end:W(t)})}function un(e,t){return e=L(e,(t==null?void 0:t.calendar)||new Z),t&&"hour"in t?t.set(e):e}function ln(e,t,a){let r=e.add({days:a});for(;(a<0?r.compare(t.visibleRange.start)>=0:r.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(r);)r=r.add({days:a});return t.isCellUnavailable(r)?r.add({days:-a}):null}var bl={};bl={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var vl={};vl={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var gl={};gl={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var xl={};xl={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Cl={};Cl={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var El={};El={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var Bl={};Bl={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var wl={};wl={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var Pl={};Pl={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var Fl={};Fl={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var Sl={};Sl={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var Rl={};Rl={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var kl={};kl={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var Al={};Al={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var Vl={};Vl={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var Tl={};Tl={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var _l={};_l={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var Ml={};Ml={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var Il={};Il={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var Nl={};Nl={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Ol={};Ol={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var Ll={};Ll={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var jl={};jl={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var zl={};zl={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var Ul={};Ul={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var Kl={};Kl={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var Zl={};Zl={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var ql={};ql={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var Wl={};Wl={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var Hl={};Hl={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var Yl={};Yl={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var Gl={};Gl={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var Jl={};Jl={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选择 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选择今天,即 ${e.date}`};var Ql={};Ql={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`};function ua(e){return e&&e.__esModule?e.default:e}var pt={};pt={"ar-AE":bl,"bg-BG":vl,"cs-CZ":gl,"da-DK":xl,"de-DE":Cl,"el-GR":El,"en-US":Bl,"es-ES":wl,"et-EE":Pl,"fi-FI":Fl,"fr-FR":Sl,"he-IL":Rl,"hr-HR":kl,"hu-HU":Al,"it-IT":Vl,"ja-JP":Tl,"ko-KR":_l,"lt-LT":Ml,"lv-LV":Il,"nb-NO":Nl,"nl-NL":Ol,"pl-PL":Ll,"pt-BR":jl,"pt-PT":zl,"ro-RO":Ul,"ru-RU":Kl,"sk-SK":Zl,"sl-SI":ql,"sr-SP":Wl,"sv-SE":Hl,"tr-TR":Yl,"uk-UA":Gl,"zh-CN":Jl,"zh-TW":Ql};const yr=new WeakMap;function ct(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function Xd(e){let t=ve(ua(pt),"@react-aria/calendar"),a,r;"highlightedRange"in e?{start:a,end:r}=e.highlightedRange||{}:a=r=e.value;let n=ee({weekday:"long",month:"long",year:"numeric",day:"numeric",era:ct(a)||ct(r),timeZone:e.timeZone}),u="anchorDate"in e?e.anchorDate:null;return f.useMemo(()=>{if(!u&&a&&r)if(U(a,r)){let i=n.format(a.toDate(e.timeZone));return t.format("selectedDateDescription",{date:i})}else{let i=Ua(n,t,a,r,e.timeZone);return t.format("selectedRangeDescription",{dateRange:i})}return""},[a,r,u,e.timeZone,t,n])}function za(e,t,a,r){let n=ve(ua(pt),"@react-aria/calendar"),u=ct(e)||ct(t),i=ee({month:"long",year:"numeric",era:u,calendar:e.calendar.identifier,timeZone:a}),l=ee({month:"long",year:"numeric",day:"numeric",era:u,calendar:e.calendar.identifier,timeZone:a});return f.useMemo(()=>{if(U(e,ht(e))){if(U(t,Vt(e)))return i.format(e.toDate(a));if(U(t,Vt(t)))return r?Ua(i,n,e,t,a):i.formatRange(e.toDate(a),t.toDate(a))}return r?Ua(l,n,e,t,a):l.formatRange(e.toDate(a),t.toDate(a))},[e,t,i,l,n,a,r])}function Ua(e,t,a,r,n){let u=e.formatRangeToParts(a.toDate(n),r.toDate(n)),i=-1;for(let d=0;di&&(o+=u[d].value);return t.format("dateRange",{startDate:l,endDate:o})}function Xl(e,t){let a=ve(ua(pt),"@react-aria/calendar"),r=Qt(e),n=za(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),u=za(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);Lr(()=>{t.isFocused||Oa(u)},[u]);let i=Xd(t);Lr(()=>{i&&Oa(i,"polite",4e3)},[i]);let l=Aa([!!e.errorMessage,e.isInvalid,e.validationState]);yr.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:i});let[o,d]=f.useState(!1),$=e.isDisabled||t.isNextVisibleRangeInvalid();$&&o&&(d(!1),t.setFocused(!0));let[D,b]=f.useState(!1),v=e.isDisabled||t.isPreviousVisibleRangeInvalid();v&&D&&(b(!1),t.setFocused(!0));let E=ea({id:e.id,"aria-label":[e["aria-label"],u].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:ae(r,E,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":a.format("next"),isDisabled:$,onFocusChange:d},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":a.format("previous"),isDisabled:v,onFocusChange:b},errorMessageProps:{id:l},title:n}}function ec(e,t){return Xl(e,t)}function tc(e,t,a){let r=Xl(e,t),n=f.useRef(!1),u=f.useRef(typeof window<"u"?window:null);Ne(u,"pointerdown",l=>{n.current=l.width===0&&l.height===0});let i=l=>{if(n.current){n.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let o=l.target,d=document.getElementById(r.calendarProps.id);d&&d.contains(document.activeElement)&&(!d.contains(o)||!o.closest('button, [role="button"]'))&&t.selectFocusedDate()};return Ne(u,"pointerup",i),Ne(u,"pointercancel",i),r.calendarProps.onBlur=l=>{(!l.relatedTarget||!a.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},Ne(a,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),r}function ac(e,t){let{startDate:a=t.visibleRange.start,endDate:r=t.visibleRange.end}=e,{direction:n}=G(),u=v=>{switch(v.key){case"Enter":case" ":v.preventDefault(),t.selectFocusedDate();break;case"PageUp":v.preventDefault(),v.stopPropagation(),t.focusPreviousSection(v.shiftKey);break;case"PageDown":v.preventDefault(),v.stopPropagation(),t.focusNextSection(v.shiftKey);break;case"End":v.preventDefault(),v.stopPropagation(),t.focusSectionEnd();break;case"Home":v.preventDefault(),v.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":v.preventDefault(),v.stopPropagation(),n==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":v.preventDefault(),v.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":v.preventDefault(),v.stopPropagation(),n==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":v.preventDefault(),v.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(v.preventDefault(),t.setAnchorDate(null));break}},i=za(a,r,t.timeZone,!0),{ariaLabel:l,ariaLabelledBy:o}=yr.get(t),d=ea({"aria-label":[l,i].filter(Boolean).join(", "),"aria-labelledby":o}),$=ee({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:D}=G(),b=f.useMemo(()=>{let v=Ke(Ht(t.timeZone),D);return[...new Array(7).keys()].map(E=>{let B=v.add({days:E}).toDate(t.timeZone);return $.format(B)})},[D,t.timeZone,$]);return{gridProps:ae(d,{role:"grid","aria-readonly":t.isReadOnly||null,"aria-disabled":t.isDisabled||null,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:u,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:b}}function rc(e,t,a){let{date:r,isDisabled:n}=e,{errorMessageId:u,selectedDateDescription:i}=yr.get(t),l=ve(ua(pt),"@react-aria/calendar"),o=ee({weekday:"long",day:"numeric",month:"long",year:"numeric",era:ct(r),timeZone:t.timeZone}),d=t.isSelected(r),$=t.isCellFocused(r);n=n||t.isCellDisabled(r);let D=t.isCellUnavailable(r),b=!n&&!D,v=t.isValueInvalid&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&r.compare(t.highlightedRange.start)>=0&&r.compare(t.highlightedRange.end)<=0:t.value&&U(t.value,r));v&&(d=!0),r=Di(r,Ea);let E=f.useMemo(()=>r.toDate(t.timeZone),[r,t.timeZone]),C=Wn(r,t.timeZone),B=f.useMemo(()=>{let c="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(U(r,t.value.start)||U(r,t.value.end))&&(c=i+", "),c+=o.format(E),C?c=l.format(d?"todayDateSelected":"todayDate",{date:c}):d&&(c=l.format("dateSelected",{date:c})),t.minValue&&U(r,t.minValue)?c+=", "+l.format("minimumDate"):t.maxValue&&U(r,t.maxValue)&&(c+=", "+l.format("maximumDate")),c},[o,E,l,d,C,r,t,i]),A="";"anchorDate"in t&&$&&!t.isReadOnly&&b&&(t.anchorDate?A=l.format("finishRangeSelectionPrompt"):A=l.format("startRangeSelectionPrompt"));let y=ta(A),k=f.useRef(!1),w=f.useRef(!1),V=f.useRef(null),{pressProps:_,isPressed:T}=bi({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!b||t.isReadOnly,onPressStart(c){if(t.isReadOnly){t.setFocusedDate(r);return}if("highlightedRange"in t&&!t.anchorDate&&(c.pointerType==="mouse"||c.pointerType==="touch")){if(t.highlightedRange&&!v){if(U(r,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(r),t.setDragging(!0),w.current=!0;return}else if(U(r,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(r),t.setDragging(!0),w.current=!0;return}}let g=()=>{t.setDragging(!0),V.current=null,t.selectDate(r),t.setFocusedDate(r),k.current=!0};c.pointerType==="touch"?V.current=setTimeout(g,200):g()}},onPressEnd(){w.current=!1,k.current=!1,clearTimeout(V.current),V.current=null},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(r),t.setFocusedDate(r))},onPressUp(c){if(!t.isReadOnly&&("anchorDate"in t&&V.current&&(t.selectDate(r),t.setFocusedDate(r)),"anchorDate"in t))if(w.current)t.setAnchorDate(r);else if(t.anchorDate&&!k.current)t.selectDate(r),t.setFocusedDate(r);else if(c.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(r);let g=r.add({days:1});t.isInvalid(g)&&(g=r.subtract({days:1})),t.isInvalid(g)||t.setFocusedDate(g)}else c.pointerType==="virtual"&&(t.selectDate(r),t.setFocusedDate(r))}}),s=null;n||(s=U(r,t.focusedDate)?0:-1),f.useEffect(()=>{$&&a.current&&(be(a.current),gi()!=="pointer"&&document.activeElement===a.current&&hi(a.current,{containingElement:Kt(a.current)}))},[$,a]);let F=ee({day:"numeric",timeZone:t.timeZone,calendar:r.calendar.identifier}),x=f.useMemo(()=>F.formatToParts(E).find(c=>c.type==="day").value,[F,E]);return{cellProps:{role:"gridcell","aria-disabled":!b||null,"aria-selected":d||null,"aria-invalid":v||null},buttonProps:ae(_,{onFocus(){n||t.setFocusedDate(r)},tabIndex:s,role:"button","aria-disabled":!b||null,"aria-label":B,"aria-invalid":v||null,"aria-describedby":[v?u:null,y["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(c){"highlightDate"in t&&(c.pointerType!=="touch"||t.isDragging)&&b&&t.highlightDate(r)},onPointerDown(c){"releasePointerCapture"in c.target&&c.target.releasePointerCapture(c.pointerId)},onContextMenu(c){c.preventDefault()}}),isPressed:T,isFocused:$,isSelected:d,isDisabled:n,isUnavailable:D,isOutsideVisibleRange:r.compare(t.visibleRange.start)<0||r.compare(t.visibleRange.end)>0,isInvalid:v,formattedDate:x}}const Pt=e=>e==null?void 0:e.highlightedRange,Ka=({state:e,date:t})=>{var b,v,E,C;const a=f.useRef(null),{cellProps:r,buttonProps:n,isSelected:u,formattedDate:i,isOutsideVisibleRange:l,isDisabled:o}=rc({date:t},e,a),d=Pt(e)&&U(t,(b=e==null?void 0:e.highlightedRange)==null?void 0:b.end),$=Pt(e)&&U(t,(v=e==null?void 0:e.highlightedRange)==null?void 0:v.start),D=Pt(e)&&((E=e==null?void 0:e.highlightedRange)==null?void 0:E.start)<=t&&((C=e==null?void 0:e.highlightedRange)==null?void 0:C.end)>=t;return R.jsx("td",{...r,children:R.jsx("div",{hidden:l,className:ne({"c__calendar__wrapper__grid__week-row__background--range--disabled":D&&o,"c__calendar__wrapper__grid__week-row__background--range":D,"c__calendar__wrapper__grid__week-row__background--range--end":d,"c__calendar__wrapper__grid__week-row__background--range--start":$}),children:R.jsx(se,{size:"small",color:(Pt(e)?$||d:u)?"primary":"tertiary-text",className:ne("c__calendar__wrapper__grid__week-row__button",{"c__calendar__wrapper__grid__week-row__button--selected":u,"c__calendar__wrapper__grid__week-row__button--today":Wn(t,$t())}),type:"button",disabled:o,...n,onKeyDown:B=>B.preventDefault(),onKeyUp:B=>B.preventDefault(),ref:a,children:i})})})};try{Ka.displayName="CalendarCell",Ka.__docgenInfo={description:"",displayName:"CalendarCell",props:{state:{defaultValue:null,description:"",name:"state",required:!0,type:{name:"CalendarState | RangeCalendarState"}},date:{defaultValue:null,description:"",name:"date",required:!0,type:{name:"CalendarDate"}}}}}catch{}const Za=({state:e,defaultDaysInWeek:t=7})=>{const{locale:a}=G(),r=ho(e.visibleRange.start,a),{gridProps:n,headerProps:u}=ac({startDate:e.visibleRange.start,endDate:Vt(e.visibleRange.start)},e),i=ee({weekday:"short",timeZone:e.timeZone}),l=f.useMemo(()=>{const o=Ke(Ht(e.timeZone),a);return At(0,t-1).map(d=>{const $=o.add({days:d}).toDate(e.timeZone);return i.format($)})},[a,e.timeZone,i]);return R.jsxs("table",{...n,className:"c__calendar__wrapper__grid",children:[R.jsx("thead",{...u,children:R.jsx("tr",{className:"c__calendar__wrapper__grid__header-row",children:l.map((o,d)=>R.jsx("th",{children:o},`${o}${d}`))})}),R.jsx("tbody",{children:At(0,r-1).map(o=>R.jsx("tr",{className:"c__calendar__wrapper__grid__week-row",children:e.getDatesInWeek(o).map((d,$)=>d&&R.jsx(Ka,{state:e,date:d},$))},o))})]})};try{Za.displayName="CalendarGrid",Za.__docgenInfo={description:"",displayName:"CalendarGrid",props:{state:{defaultValue:null,description:"",name:"state",required:!0,type:{name:"CalendarState | RangeCalendarState"}},defaultDaysInWeek:{defaultValue:{value:"7"},description:"",name:"defaultDaysInWeek",required:!1,type:{name:"number"}}}}}catch{}const nc=e=>e?e.label:"",on=({options:e,downShift:t})=>R.jsx("div",{className:ne("c__calendar__menu",{"c__calendar__menu--opened":t.isOpen}),...t.getMenuProps(),children:R.jsx("ul",{children:t.isOpen&&e.map((a,r)=>{var n;return R.jsx("li",{...t.getItemProps({item:a,index:r}),className:ne("c__calendar__menu__item",{"c__calendar__menu__item--highlight":t.highlightedIndex===r,"c__calendar__menu__item--selected":((n=t.selectedItem)==null?void 0:n.label)===a.label,"c__calendar__menu__item--disabled":a.disabled}),children:R.jsx("span",{children:a.label})},`${a.value}${r}`)})})}),eo=f.forwardRef(({state:e,minYear:t=1900,maxYear:a=2050,prevButtonProps:r,nextButtonProps:n,calendarProps:u},i)=>{const{t:l}=cn(),o=g=>ee({...g,timeZone:e.timeZone}),d=o({month:"long"}),$=o({month:"short"}),D=o({year:"numeric"}),[b,v]=f.useState(!0),E=f.useMemo(()=>{const g=e.focusedDate.calendar.getMonthsInYear(e.focusedDate);return At(1,g).map(h=>{const p=e.focusedDate.set({month:h});return{value:h,label:d.format(p.toDate(e.timeZone)),disabled:!!e.minValue&&e.minValue.month>h||!!e.maxValue&&e.maxValue.month{const g=Gt(new Intl.DateTimeFormat().resolvedOptions().calendar),h=L(new z(new Z,t,1,1),g),p=L(new z(new Z,a,12,31),g);return At(h.year,p.year).map(M=>{const P=e.focusedDate.set({year:M});return{value:M,label:D.format(P.toDate(e.timeZone)),disabled:!!e.minValue&&e.minValue.year>M||!!e.maxValue&&e.maxValue.yearto({items:h,itemToString:nc,onSelectedItemChange:p=>{var P;const M=e.focusedDate.set({[g]:(P=p==null?void 0:p.selectedItem)==null?void 0:P.value});v(!1),setTimeout(()=>{e.setFocusedDate(M),setTimeout(()=>{v(!0)})})}}),A=B("month",E),y=B("year",C),{isDisabled:k,onPress:w,onFocusChange:V,..._}=r,{isDisabled:T,onPress:s,onFocusChange:F,...x}=n,c=(g,h,p)=>({...p.getToggleButtonProps(),onClick:()=>{const M=h.find(P=>P.value===e.focusedDate[g]);M&&p.selectItem(M),p.toggleMenu()},"aria-label":l(`components.forms.date_picker.${g}_select_button_aria_label`)});return R.jsxs("div",{className:"c__calendar",children:[R.jsxs("div",{ref:i,...u,id:!A.isOpen&&!y.isOpen?u.id:"",className:ne("c__calendar__wrapper",{"c__calendar__wrapper--opened":!A.isOpen&&!y.isOpen}),children:[R.jsxs("div",{className:"c__calendar__wrapper__header",children:[R.jsxs("div",{className:"c__calendar__wrapper__header__actions",children:[R.jsx(se,{color:"tertiary-text",size:"small",icon:R.jsx("span",{className:"material-icons",children:"navigate_before"}),..._,"aria-label":l("components.forms.date_picker.previous_month_button_aria_label"),disabled:k,onClick:()=>e.focusPreviousSection(),type:"button"}),R.jsx(se,{className:"c__calendar__wrapper__header__actions__dropdown",color:"tertiary-text",size:"small",iconPosition:"right",icon:R.jsx("span",{className:"material-icons",children:"arrow_drop_down"}),type:"button",...c("month",E,A),children:$.format(e.focusedDate.toDate(e.timeZone))}),R.jsx(se,{color:"tertiary-text",size:"small",icon:R.jsx("span",{className:"material-icons",children:"navigate_next"}),type:"button",...x,"aria-label":l("components.forms.date_picker.next_month_button_aria_label"),disabled:T,onClick:()=>e.focusNextSection()})]}),R.jsxs("div",{className:"c__calendar__wrapper__header__actions",children:[R.jsx(se,{color:"tertiary-text",size:"small",icon:R.jsx("span",{className:"material-icons",children:"navigate_before"}),onClick:()=>e.focusPreviousSection(!0),disabled:!!e.minValue&&e.minValue.year>e.focusedDate.add({years:-1}).year,"aria-label":l("components.forms.date_picker.previous_year_button_aria_label"),type:"button"}),R.jsx(se,{className:"c__calendar__wrapper__header__actions__dropdown",color:"tertiary-text",size:"small",iconPosition:"right",icon:R.jsx("span",{className:"material-icons",children:"arrow_drop_down"}),type:"button",...c("year",C,y),children:D.format(e.focusedDate.toDate(e.timeZone))}),R.jsx(se,{color:"tertiary-text",size:"small",icon:R.jsx("span",{className:"material-icons",children:"navigate_next"}),onClick:()=>e.focusNextSection(!0),disabled:!!e.maxValue&&e.maxValue.year{const{locale:t}=G(),a=f.useRef(null),r=yl({...e,locale:t,createCalendar:Gt}),n=ec(e,r);return R.jsx(eo,{...n,state:r,ref:a})},Wa=e=>{const{locale:t}=G(),a=f.useRef(null),r=Qd({...e,locale:t,createCalendar:Gt}),n=tc(e,r,a);return R.jsx(eo,{...n,state:r,ref:a})};try{qa.displayName="Calendar",qa.__docgenInfo={description:"",displayName:"Calendar",props:{}}}catch{}try{Wa.displayName="CalendarRange",Wa.__docgenInfo={description:"",displayName:"CalendarRange",props:{}}}catch{}const uc=({currentSegment:e,previousSegment:t,state:a})=>{var u;const r=f.useRef(null),{segmentProps:n}=Yd(e,a,r);return R.jsx("div",{ref:r,...n,className:ne("c__date-picker__inner__value__segment",{"c__date-picker__inner__value__segment--empty":e.isPlaceholder||e.type==="literal"&&(t==null?void 0:t.isPlaceholder)}),children:(u=e.text)==null?void 0:u.toUpperCase()})},Ha=e=>{const{locale:t}=G(),a=ys({...e,locale:t,createCalendar:Gt}),r=f.useRef(null),{fieldProps:n}=Zd(e,a,r);return R.jsx("div",{className:"c__date-picker__inner__value",...n,ref:r,children:a.segments.map((u,i,l)=>R.jsx(uc,{currentSegment:u,previousSegment:l[i-1],state:a},i))})},Ya=({...e})=>R.jsx(no,{...e,children:R.jsx("div",{className:ne("c__date-picker__inner",{"c__date-picker__inner--collapsed":e.labelAsPlaceholder}),children:R.jsx(Ha,{...e})})});try{Ha.displayName="DateField",Ha.__docgenInfo={description:"",displayName:"DateField",props:{label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},labelAsPlaceholder:{defaultValue:null,description:"",name:"labelAsPlaceholder",required:!1,type:{name:"boolean"}},htmlFor:{defaultValue:null,description:"",name:"htmlFor",required:!1,type:{name:"string"}},labelId:{defaultValue:null,description:"",name:"labelId",required:!1,type:{name:"string"}},hideLabel:{defaultValue:null,description:"",name:"hideLabel",required:!1,type:{name:"boolean"}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const sn=e=>{if(e.defaultValue&&e.value)throw new Error("You cannot use both defaultValue and value props on DatePicker component");const t=f.useRef(null),[a,r]=f.useState(!1),n={...Dl(e),value:e.value===""||e.value===null?null:Ye(e.value,e.timezone),defaultValue:Ye(e.defaultValue,e.timezone),onChange:D=>{var b;(b=e.onChange)==null||b.call(e,ze(D,e.timezone))}},u=$s(n),{fieldProps:i,calendarProps:l,...o}=qd(n,u,t),d=f.useMemo(()=>!a&&!u.isOpen&&!u.value,[u.value,u.isOpen,a]),$=R.jsx(qa,{...l});return R.jsx(qt,{...e,labelAsPlaceholder:d,isFocused:a,pickerState:u,pickerProps:o,calendar:$,onClear:()=>u.setValue(null),ref:t,children:R.jsx(Ya,{...i,label:e.label,labelAsPlaceholder:d,onFocusChange:r,disabled:e.disabled})})};try{sn.displayName="DatePicker",sn.__docgenInfo={description:"",displayName:"DatePicker",props:{state:{defaultValue:null,description:"",name:"state",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"error"'},{value:'"default"'}]}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},textItems:{defaultValue:null,description:"",name:"textItems",required:!1,type:{name:"string[]"}},rightText:{defaultValue:null,description:"",name:"rightText",required:!1,type:{name:"string"}},fullWidth:{defaultValue:null,description:"",name:"fullWidth",required:!1,type:{name:"boolean"}},compact:{defaultValue:null,description:"",name:"compact",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},minValue:{defaultValue:null,description:"",name:"minValue",required:!1,type:{name:"string"}},maxValue:{defaultValue:null,description:"",name:"maxValue",required:!1,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},locale:{defaultValue:null,description:"",name:"locale",required:!1,type:{name:"string"}},timezone:{defaultValue:null,description:"",name:"timezone",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"(value: string) => void"}}}}}catch{}const dn=({startLabel:e,endLabel:t,...a})=>{if(a.defaultValue&&a.value)throw new Error("You cannot use both defaultValue and value props on DateRangePicker component");const r=f.useRef(null),[n,u]=f.useState(!1),i={...Dl(a),value:a.value===null?null:nn(a.value,a.timezone),defaultValue:nn(a.defaultValue,a.timezone),onChange:E=>{var C;(C=a.onChange)==null||C.call(a,E!=null&&E.start&&E.end?[ze(E.start,a.timezone),ze(E.end,a.timezone)]:null)}},l=xs(i),{startFieldProps:o,endFieldProps:d,calendarProps:$,...D}=Jd(i,l,r),b=f.useMemo(()=>{var E,C;return!n&&!l.isOpen&&!((E=l.value)!=null&&E.start)&&!((C=l.value)!=null&&C.end)},[l.value,l.isOpen,n]),v=R.jsx(Wa,{...$});return R.jsxs(qt,{...a,labelAsPlaceholder:b,isFocused:n,pickerState:l,pickerProps:D,optionalClassName:"c__date-picker__range",isRange:!0,onClear:()=>{l.setValue({start:null,end:null})},calendar:v,ref:r,children:[R.jsx(Ya,{...o,label:e,labelAsPlaceholder:b,onFocusChange:u,disabled:a.disabled}),R.jsx("div",{className:"c__date-picker__range__separator"}),R.jsx(Ya,{...d,label:t,labelAsPlaceholder:b,onFocusChange:u,disabled:a.disabled})]})};try{dn.displayName="DateRangePicker",dn.__docgenInfo={description:"",displayName:"DateRangePicker",props:{state:{defaultValue:null,description:"",name:"state",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"error"'},{value:'"default"'}]}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},textItems:{defaultValue:null,description:"",name:"textItems",required:!1,type:{name:"string[]"}},rightText:{defaultValue:null,description:"",name:"rightText",required:!1,type:{name:"string"}},fullWidth:{defaultValue:null,description:"",name:"fullWidth",required:!1,type:{name:"boolean"}},compact:{defaultValue:null,description:"",name:"compact",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},minValue:{defaultValue:null,description:"",name:"minValue",required:!1,type:{name:"string"}},maxValue:{defaultValue:null,description:"",name:"maxValue",required:!1,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},locale:{defaultValue:null,description:"",name:"locale",required:!1,type:{name:"string"}},timezone:{defaultValue:null,description:"",name:"timezone",required:!1,type:{name:"string"}},startLabel:{defaultValue:null,description:"",name:"startLabel",required:!0,type:{name:"string"}},endLabel:{defaultValue:null,description:"",name:"endLabel",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"[string, string]"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"[string, string]"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"(value: [string, string]) => void"}}}}}catch{}export{sn as D,dn as a}; diff --git a/storybook/assets/DocsRenderer-NNNQARDV-6hpI98a2.js b/storybook/assets/DocsRenderer-NNNQARDV-6hpI98a2.js new file mode 100644 index 000000000..085526759 --- /dev/null +++ b/storybook/assets/DocsRenderer-NNNQARDV-6hpI98a2.js @@ -0,0 +1 @@ +import{D,d as c}from"./chunk-HLWAVYOI-oYOnMLz8.js";import"./iframe-cfTJpQc2.js";import"../sb-preview/runtime.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./react-18-YI47dyij.js";import"./index-ZglUz-kn.js";import"./index-SaJXffyO.js";import"./index-ogXoivrg.js";import"./index-MI7UZ4bI.js";import"./index-PPLHz8o0.js";export{D as DocsRenderer,c as defaultComponents}; diff --git a/storybook/assets/Login.stories-UlImRZx2.js b/storybook/assets/Login.stories-UlImRZx2.js new file mode 100644 index 000000000..d7b0cf003 --- /dev/null +++ b/storybook/assets/Login.stories-UlImRZx2.js @@ -0,0 +1,42 @@ +import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{c as u,e as n,a as g,u as p,o as f,g as a,b as o,d as h}from"./reactHookFormUtils-I3Glgref.js";import{R as l}from"./stories-utils-NIw5nhyj.js";import{C as x}from"./index-kccULe8I.js";import{B as b}from"./index-KQ5fxawE.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-qbqVQdGN.js";import"./index--jIQrVgb.js";import"./index-ANeRJe3U.js";import"./index-LpGNQo9R.js";import"./index--mA4GHQY.js";const V={title:"Components/Forms/Examples/React-Hook-Form"},S=u().shape({email:n().email().required(),password:n().min(8).required(),rememberMe:g().required().oneOf([!0])}),t=()=>{const{register:s,handleSubmit:c,formState:r}=p({defaultValues:{email:"",password:"",rememberMe:!1},mode:"onChange",reValidateMode:"onChange",resolver:h(S)});return e.jsxs("form",{style:{display:"flex",flexDirection:"column",gap:"1rem",width:"300px"},onSubmit:c(f),children:[e.jsx("h1",{className:"fs-h3 fw-bold clr-greyscale-900",style:{textAlign:"center"},children:"Log in"}),e.jsx(l,{label:"Email",fullWidth:!0,state:a("email",r),text:o("email",r),...s("email")}),e.jsx(l,{label:"Password",state:a("password",r),type:"password",text:o("password",r)||"Forgot your password?",fullWidth:!0,...s("password")}),e.jsx("div",{children:e.jsx(x,{label:"Remember me",state:a("rememberMe",r),text:o("rememberMe",r),...s("rememberMe")})}),e.jsx(b,{fullWidth:!0,children:"Log in"}),e.jsxs("div",{className:"fs-m clr-greyscale-800",style:{textAlign:"center"},children:["You do not have an account?"," ",e.jsx("a",{href:"/#",className:"clr-greyscale-800",children:"Register"})]})]})};var m,i,d;t.parameters={...t.parameters,docs:{...(m=t.parameters)==null?void 0:m.docs,source:{originalSource:`() => { + const { + register, + handleSubmit, + formState + } = useForm({ + defaultValues: { + email: "", + password: "", + rememberMe: false + }, + mode: "onChange", + reValidateMode: "onChange", + resolver: yupResolver(loginSchema) + }); + return
+

+ Log in +

+ + +
+ +
+ +
+ You do not have an account?{" "} + + Register + +
+ ; +}`,...(d=(i=t.parameters)==null?void 0:i.docs)==null?void 0:d.source}}};const A=["Login"];export{t as Login,A as __namedExportsOrder,V as default}; diff --git a/storybook/assets/PreBuilt.stories-skrkkYER.js b/storybook/assets/PreBuilt.stories-skrkkYER.js new file mode 100644 index 000000000..3dcfe5120 --- /dev/null +++ b/storybook/assets/PreBuilt.stories-skrkkYER.js @@ -0,0 +1,35 @@ +import{j as l}from"./jsx-runtime-vNq4Oc-g.js";import{r as u}from"./index-4g5l5LRQ.js";import{B as M}from"./index-KQ5fxawE.js";import{a as f}from"./index-XR-JU9UK.js";import{V as o}from"./ToastProvider-hYbNFTfk.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index--jIQrVgb.js";import"./index-ZglUz-kn.js";import"./index-ANeRJe3U.js";import"./cunningham-tokens-X342qG7_.js";const J={title:"Components/Modal",parameters:{docs:{story:{height:"350px"}}}},n={render:()=>{const a=f(),e=async()=>{const r=await a.deleteConfirmationModal();alert(`You decided ${r}`)};return u.useEffect(()=>{e()},[]),l.jsx(M,{onClick:e,children:"Open"})}},t={render:()=>{const a=f(),e=async()=>{const r=await a.confirmationModal();alert(`You decided ${r}`)};return u.useEffect(()=>{e()},[]),l.jsx(M,{onClick:e,children:"Open"})}},s=a=>()=>{const e=f(),r=async()=>{const U=await e.messageModal({title:"Watch out!",children:"This is a custom message!",messageType:a});alert(`You decided ${U}`)};return u.useEffect(()=>{r()},[]),l.jsx(M,{onClick:r,children:"Open"})},c={render:s(o.SUCCESS)},d={render:s(o.INFO)},i={render:s(o.ERROR)},p={render:s(o.NEUTRAL)},m={render:s(o.WARNING)};var g,C,E;n.parameters={...n.parameters,docs:{...(g=n.parameters)==null?void 0:g.docs,source:{originalSource:`{ + render: () => { + const modals = useModals(); + const ask = async () => { + const decision = await modals.deleteConfirmationModal(); + alert(\`You decided \${decision}\`); + }; + useEffect(() => { + ask(); + }, []); + return ; + } +}`,...(E=(C=n.parameters)==null?void 0:C.docs)==null?void 0:E.source}}};var S,k,y;t.parameters={...t.parameters,docs:{...(S=t.parameters)==null?void 0:S.docs,source:{originalSource:`{ + render: () => { + const modals = useModals(); + const ask = async () => { + const decision = await modals.confirmationModal(); + alert(\`You decided \${decision}\`); + }; + useEffect(() => { + ask(); + }, []); + return ; + } +}`,...(y=(k=t.parameters)==null?void 0:k.docs)==null?void 0:y.source}}};var R,W,N;c.parameters={...c.parameters,docs:{...(R=c.parameters)==null?void 0:R.docs,source:{originalSource:`{ + render: MessageWrapper(VariantType.SUCCESS) +}`,...(N=(W=c.parameters)==null?void 0:W.docs)==null?void 0:N.source}}};var O,T,x;d.parameters={...d.parameters,docs:{...(O=d.parameters)==null?void 0:O.docs,source:{originalSource:`{ + render: MessageWrapper(VariantType.INFO) +}`,...(x=(T=d.parameters)==null?void 0:T.docs)==null?void 0:x.source}}};var h,V,B;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ + render: MessageWrapper(VariantType.ERROR) +}`,...(B=(V=i.parameters)==null?void 0:V.docs)==null?void 0:B.source}}};var I,j,w;p.parameters={...p.parameters,docs:{...(I=p.parameters)==null?void 0:I.docs,source:{originalSource:`{ + render: MessageWrapper(VariantType.NEUTRAL) +}`,...(w=(j=p.parameters)==null?void 0:j.docs)==null?void 0:w.source}}};var Y,$,A;m.parameters={...m.parameters,docs:{...(Y=m.parameters)==null?void 0:Y.docs,source:{originalSource:`{ + render: MessageWrapper(VariantType.WARNING) +}`,...(A=($=m.parameters)==null?void 0:$.docs)==null?void 0:A.source}}};const K=["DeleteConfirmationModal","ConfirmationModal","SuccessModal","InfoModal","ErrorModal","NeutralModal","WarningModal"];export{t as ConfirmationModal,n as DeleteConfirmationModal,i as ErrorModal,d as InfoModal,p as NeutralModal,c as SuccessModal,m as WarningModal,K as __namedExportsOrder,J as default}; diff --git a/storybook/assets/Sports.stories-RwfZ7Hc1.js b/storybook/assets/Sports.stories-RwfZ7Hc1.js new file mode 100644 index 000000000..3c88da96d --- /dev/null +++ b/storybook/assets/Sports.stories-RwfZ7Hc1.js @@ -0,0 +1,7 @@ +import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{c as S,e as a,f as b,u as j,d as N,F as v,o as y,g as t,b as l}from"./reactHookFormUtils-I3Glgref.js";import{r as w}from"./index-4g5l5LRQ.js";import{R as n}from"./stories-utils-NIw5nhyj.js";import{B as E}from"./index-KQ5fxawE.js";import{R as F,a as i}from"./index-gbul8n4Y.js";import{R as d}from"./stories-utils-8geOXHvf.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-qbqVQdGN.js";import"./index--jIQrVgb.js";import"./index-ANeRJe3U.js";import"./index-LpGNQo9R.js";import"./index--mA4GHQY.js";import"./index-DY8RYfcS.js";import"./index-XR-JU9UK.js";import"./ToastProvider-hYbNFTfk.js";import"./cunningham-tokens-X342qG7_.js";import"./index-ZglUz-kn.js";import"./downshift.esm-ABhDbbJT.js";import"./index-tvtfaFq4.js";import"./index-kccULe8I.js";const T={title:"Components/Forms/Examples/React-Hook-Form"},R=S().shape({firstName:a().required(),lastName:a().required(),gender:a().required(),competition:a().defined().required(),rewards:b().of(a().defined()).defined()}),h=({values:m})=>{const r=j({defaultValues:{firstName:"",lastName:"",rewards:[]},mode:"onChange",reValidateMode:"onChange",resolver:N(R)});return w.useEffect(()=>{r.reset(m)},[m]),e.jsx(v,{...r,children:e.jsxs("form",{style:{display:"flex",flexDirection:"column",gap:"1rem",width:"400px"},onSubmit:r.handleSubmit(y),children:[e.jsx("h1",{className:"fs-h3 fw-bold clr-greyscale-900",style:{textAlign:"center"},children:"Register"}),e.jsxs("div",{children:[e.jsx("div",{className:"fs-l clr-greyscale-800 mb-t",children:"Gender"}),e.jsxs(F,{state:t("gender",r.formState),text:l("gender",r.formState),style:{display:"flex",flexDirection:"row",gap:"0.5rem"},children:[e.jsx(i,{label:"Male",state:t("gender",r.formState),value:"male",...r.register("gender")}),e.jsx(i,{label:"Female",value:"female",state:t("gender",r.formState),...r.register("gender")}),e.jsx(i,{label:"Other",value:"other",state:t("gender",r.formState),...r.register("gender")})]})]}),e.jsxs("div",{style:{display:"flex",gap:"1rem"},children:[e.jsx(n,{label:"First name",state:t("firstName",r.formState),text:l("firstName",r.formState),...r.register("firstName")}),e.jsx(n,{label:"Last name",state:t("lastName",r.formState),text:l("lastName",r.formState),...r.register("lastName")})]}),e.jsx(d,{name:"competition",label:"Competition",options:[{label:"Athletics"},{label:"Swimming"},{label:"Marathon"}],fullWidth:!0}),e.jsx(d,{name:"rewards",label:"Previous rewards",multi:!0,options:[{label:"Bronze"},{label:"Silver"},{label:"Gold"},{label:"Flocon"},{label:"Ourson"},{label:"Chamois"}],fullWidth:!0}),e.jsx(E,{fullWidth:!0,children:"Apply"}),e.jsx("a",{href:"/#",className:"clr-greyscale-800 fs-m",style:{textAlign:"center"},children:"Need help ?"})]})})},s=()=>e.jsx(h,{}),o=()=>e.jsx(h,{values:{firstName:"Evans",lastName:"Chebet",competition:"Marathon",rewards:["Gold"],gender:"male"}});var p,c,f;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:"() => ",...(f=(c=s.parameters)==null?void 0:c.docs)==null?void 0:f.source}}};var u,x,g;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`() => `,...(g=(x=o.parameters)==null?void 0:x.docs)==null?void 0:g.source}}};const U=["Sports","SportsEdit"];export{s as Sports,o as SportsEdit,U as __namedExportsOrder,T as default}; diff --git a/storybook/assets/ToastProvider-hYbNFTfk.js b/storybook/assets/ToastProvider-hYbNFTfk.js new file mode 100644 index 000000000..b9fed1fc8 --- /dev/null +++ b/storybook/assets/ToastProvider-hYbNFTfk.js @@ -0,0 +1 @@ +import{j as r}from"./jsx-runtime-vNq4Oc-g.js";import{R as d,r as a}from"./index-4g5l5LRQ.js";import{c as P}from"./index--jIQrVgb.js";import{B as R}from"./index-KQ5fxawE.js";import{t as w}from"./cunningham-tokens-X342qG7_.js";var x=(e=>(e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e.ERROR="error",e.NEUTRAL="neutral",e))(x||{});const M=e=>{switch(e){case"info":return"info";case"success":return"success";case"warning":return"warning";case"error":return"danger";default:return"neutral"}},A=e=>{switch(e){case"info":return"info";case"success":return"check_circle";case"warning":return"error_outline";case"error":return"cancel";default:return""}},_=e=>{const[t,n]=d.useState(!1),l=a.useRef(null),o=a.useRef();a.useEffect(()=>{if(!e.disableAnimate)return o.current=setTimeout(async()=>{n(!0),o.current=void 0},e.duration),()=>{o.current&&clearTimeout(o.current)}},[]);const m=async()=>{var u;await Promise.allSettled(l.current.getAnimations().map(f=>f.finished)),(u=e.onDelete)==null||u.call(e)};return a.useEffect(()=>{t&&m()},[t]),r.jsxs("div",{ref:l,className:P("c__toast","c__toast--"+e.type,{"c__toast--disappear":t,"c__toast--no-animate":e.disableAnimate}),role:"alert",children:[r.jsx(v,{duration:e.duration}),r.jsxs("div",{className:"c__toast__content",children:[e.primaryLabel&&r.jsx("div",{className:"c__toast__content__buttons",children:r.jsx(R,{color:"primary-text",onClick:e.primaryOnClick,...e.primaryProps,children:e.primaryLabel})}),e.actions,r.jsx("div",{className:"c__toast__content__children",children:e.children}),r.jsx(y,{...e})]})]})},y=({type:e,...t})=>{const n=a.useMemo(()=>A(e),[e]);return t.icon?t.icon:n?r.jsx("div",{className:"c__toast__icon",children:r.jsx("span",{className:"material-icons",children:n})}):null},v=({duration:e})=>{const t=a.useRef(null);return a.useEffect(()=>{t.current.animate([{width:"0%"},{width:"100%"}],{duration:e,easing:"linear"})},[]),r.jsx("div",{className:"c__progress-bar",children:r.jsx("div",{className:"c__progress-bar__content",ref:t})})};try{_.displayName="Toast",_.__docgenInfo={description:"",displayName:"Toast",props:{duration:{defaultValue:null,description:"",name:"duration",required:!0,type:{name:"number"}},type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"info"'},{value:'"success"'},{value:'"warning"'},{value:'"error"'},{value:'"neutral"'}]}},onDelete:{defaultValue:null,description:"",name:"onDelete",required:!1,type:{name:"() => void"}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"ReactNode"}},primaryLabel:{defaultValue:null,description:"",name:"primaryLabel",required:!1,type:{name:"string"}},primaryOnClick:{defaultValue:null,description:"",name:"primaryOnClick",required:!1,type:{name:"MouseEventHandler & MouseEventHandler"}},primaryProps:{defaultValue:null,description:"",name:"primaryProps",required:!1,type:{name:"ButtonProps"}},disableAnimate:{defaultValue:null,description:"",name:"disableAnimate",required:!1,type:{name:"boolean"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"ReactNode"}}}}}catch{}try{y.displayName="ToastIcon",y.__docgenInfo={description:"",displayName:"ToastIcon",props:{duration:{defaultValue:null,description:"",name:"duration",required:!0,type:{name:"number"}},type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"info"'},{value:'"success"'},{value:'"warning"'},{value:'"error"'},{value:'"neutral"'}]}},onDelete:{defaultValue:null,description:"",name:"onDelete",required:!1,type:{name:"() => void"}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"ReactNode"}},primaryLabel:{defaultValue:null,description:"",name:"primaryLabel",required:!1,type:{name:"string"}},primaryOnClick:{defaultValue:null,description:"",name:"primaryOnClick",required:!1,type:{name:"MouseEventHandler & MouseEventHandler"}},primaryProps:{defaultValue:null,description:"",name:"primaryProps",required:!1,type:{name:"ButtonProps"}},disableAnimate:{defaultValue:null,description:"",name:"disableAnimate",required:!1,type:{name:"boolean"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"ReactNode"}}}}}catch{}try{v.displayName="ProgressBar",v.__docgenInfo={description:"",displayName:"ProgressBar",props:{duration:{defaultValue:null,description:"",name:"duration",required:!0,type:{name:"number"}}}}}catch{}class j{push(t){const n=async()=>(this.lastJob&&await this.lastJob,t());return this.lastJob=n(),this.lastJob}}const T=d.createContext(void 0),k=()=>{const e=a.useContext(T);if(e===void 0)throw new Error("useToastProvider must be used within a ToastProvider.");return e};let p=1;const V=6e3,g=()=>parseInt(w.themes.default.components.toast["slide-in-duration"].replace("ms",""),10),N=({children:e})=>{const t=a.useRef(null),n=a.useRef(0),[l,o]=d.useState([]),m=a.useRef(new j),u=a.useMemo(()=>({toast:(s,c=x.NEUTRAL,i={})=>{var h;(h=m.current)==null||h.push(()=>new Promise(b=>{const q=p;p+=1,n.current=t.current.offsetHeight,o(E=>[...E,{...i,message:s,i:q,type:c,duration:(i==null?void 0:i.duration)??V}]),setTimeout(()=>{b()},g())}))}}),[t,n,l]),f=async()=>{const s=n.current,i=t.current.offsetHeight-s;t.current.animate([{transform:`translateY(${i}px)`},{transform:"translateY(0)"}],{duration:g(),easing:"ease"})};return d.useEffect(()=>{f()},[p]),r.jsxs(T.Provider,{value:u,children:[e,r.jsx("div",{className:"c__toast__container",ref:t,children:l.map(s=>r.jsx(_,{onDelete:()=>{o(c=>c.filter(i=>i.i!==s.i))},...s,children:s.message},s.i))})]})};try{N.displayName="ToastProvider",N.__docgenInfo={description:"",displayName:"ToastProvider",props:{}}}catch{}export{v as P,_ as T,x as V,N as a,M as c,A as i,k as u}; diff --git a/storybook/assets/WithTooltip-V3YHNWJZ-mPjiyKqS.js b/storybook/assets/WithTooltip-V3YHNWJZ-mPjiyKqS.js new file mode 100644 index 000000000..88f5dc298 --- /dev/null +++ b/storybook/assets/WithTooltip-V3YHNWJZ-mPjiyKqS.js @@ -0,0 +1 @@ +import{W as h,W as l,a as s}from"./index-SaJXffyO.js";import"./iframe-cfTJpQc2.js";import"../sb-preview/runtime.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-ZglUz-kn.js";import"./index-ogXoivrg.js";import"./index-MI7UZ4bI.js";import"./index-PPLHz8o0.js";export{h as WithToolTipState,l as WithTooltip,s as WithTooltipPure}; diff --git a/storybook/assets/_commonjsHelpers-4gQjN7DL.js b/storybook/assets/_commonjsHelpers-4gQjN7DL.js new file mode 100644 index 000000000..ad4f15758 --- /dev/null +++ b/storybook/assets/_commonjsHelpers-4gQjN7DL.js @@ -0,0 +1 @@ +var u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function o(){return this instanceof o?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),t}export{l as a,u as c,f as g}; diff --git a/storybook/assets/axe-yNJzeuMw.js b/storybook/assets/axe-yNJzeuMw.js new file mode 100644 index 000000000..befcd1376 --- /dev/null +++ b/storybook/assets/axe-yNJzeuMw.js @@ -0,0 +1,29 @@ +import{g as mE,c as hE}from"./_commonjsHelpers-4gQjN7DL.js";function vE(Ct,dr){for(var y=0;yQe[T]})}}}return Object.freeze(Object.defineProperty(Ct,Symbol.toStringTag,{value:"Module"}))}var Si={exports:{}};/*! axe v4.6.3 + * Copyright (c) 2023 Deque Systems, Inc. + * + * Your use of this Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This entire copyright notice must appear in every copy of this file you + * distribute or in any file that contains substantial portions of this source + * code. + */Si.exports;(function(Ct){(function dr(y){var Qe=y,T=y.document,v=v||{};v.version="4.6.3",P(Ct)==="object"&&Ct.exports&&typeof dr.toString=="function"&&(v.source="("+dr.toString()+')(typeof window === "object" ? window : this);',Ct.exports=v),typeof y.getComputedStyle=="function"&&(y.axe=v);function fr(A){this.name="SupportError",this.cause=A.cause,this.message="`".concat(A.cause,"` - feature unsupported in your environment."),A.ruleId&&(this.ruleId=A.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=new Error().stack}fr.prototype=Object.create(Error.prototype),fr.prototype.constructor=fr;var lc=["node"],uc=["variant"],sc=["matches"],cc=["chromium"],dc=["noImplicit"],fc=["noPresentational"],pc=["node"],mc=["nodes"],hc=["node"],vc=["relatedNodes"],gc=["environmentData"],bc=["environmentData"],yc=["node"],Dc=["environmentData"],wc=["environmentData"],_c=["environmentData"];function xc(A){return qi(A)||Ni(A)||Br(A)||Mi()}function Ec(A,R,M){return R=Bi(R),R in A?Object.defineProperty(A,R,{value:M,enumerable:!0,configurable:!0,writable:!0}):A[R]=M,A}function Oi(A,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(R&&R.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),Object.defineProperty(A,"prototype",{writable:!1}),R&&Sa(A,R)}function Sa(A,R){return Sa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function($,pe){return $.__proto__=pe,$},Sa(A,R)}function Ii(A){var R=Fc();return function(){var $=Lr(A),pe;if(R){var ye=Lr(this).constructor;pe=Reflect.construct($,arguments,ye)}else pe=$.apply(this,arguments);return Ac(this,pe)}}function Ac(A,R){if(R&&(P(R)==="object"||typeof R=="function"))return R;if(R!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Pi(A)}function Pi(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function Fc(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Lr(A){return Lr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(M){return M.__proto__||Object.getPrototypeOf(M)},Lr(A)}function Ve(A,R){if(A==null)return{};var M=Cc(A,R),$,pe;if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(A);for(pe=0;pe=0)&&Object.prototype.propertyIsEnumerable.call(A,$)&&(M[$]=A[$])}return M}function Cc(A,R){if(A==null)return{};var M={},$=Object.keys(A),pe,ye;for(ye=0;ye<$.length;ye++)pe=$[ye],!(R.indexOf(pe)>=0)&&(M[pe]=A[pe]);return M}function ee(A){return Rc(A)||Ni(A)||Br(A)||kc()}function kc(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ni(A){if(typeof Symbol<"u"&&A[Symbol.iterator]!=null||A["@@iterator"]!=null)return Array.from(A)}function Rc(A){if(Array.isArray(A))return Oa(A)}function ne(){return ne=Object.assign?Object.assign.bind():function(A){for(var R=1;R=A.length?{done:!0}:{done:!1,value:A[$++]}},e:function(at){throw at},f:pe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ye=!0,et=!1,F;return{s:function(){M=M.call(A)},n:function(){var at=M.next();return ye=at.done,at},e:function(at){et=!0,F=at},f:function(){try{!ye&&M.return!=null&&M.return()}finally{if(et)throw F}}}}function Br(A,R){if(A){if(typeof A=="string")return Oa(A,R);var M=Object.prototype.toString.call(A).slice(8,-1);if(M==="Object"&&A.constructor&&(M=A.constructor.name),M==="Map"||M==="Set")return Array.from(A);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return Oa(A,R)}}function Oa(A,R){(R==null||R>A.length)&&(R=A.length);for(var M=0,$=new Array(R);M="a"&&o<="z"||o>="A"&&o<="Z"||o==="-"||o==="_"}e.isIdentStart=t;function r(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"||o==="-"||o==="_"}e.isIdent=r;function a(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=a;function n(o){for(var l=o.length,u="",s=0;s="A"&&c<="Z"||c>="a"&&c<="z"||s!==0&&c>="0"&&c<="9")u+=c;else{var d=c.charCodeAt(0);if((d&63488)===55296){var f=o.charCodeAt(s++);if((d&64512)!==55296||(f&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");d=((d&1023)<<10)+(f&1023)+65536}u+="\\"+d.toString(16)+" "}s++}return u}e.escapeIdentifier=n;function i(o){for(var l=o.length,u="",s=0,c;s":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:` +`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:` +`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'}}),Oc=F(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Vi();function r(a,n,i,o,l,u){var s=a.length,c="";function d(g,x){var E="";for(n++,c=a.charAt(n);n=s)throw Error("Expected symbol but end of file reached.");if(c=a.charAt(n),t.identSpecialChars[c])g+=c;else if(t.isHex(c)){var x=c;for(n++,c=a.charAt(n);t.isHex(c);)x+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),g+=String.fromCharCode(parseInt(x,16));continue}else g+=c}else return g;n++,c=a.charAt(n)}return g}function p(){c=a.charAt(n);for(var g=!1;c===" "||c===" "||c===` +`||c==="\r"||c==="\f";)g=!0,n++,c=a.charAt(n);return g}function m(){var g=b();if(n=s||c===","||c===")"));)if(l[c]){var C=c;if(n++,p(),x=h(),!x)throw Error('Rule expected after "'+C+'".');x.nestingOperator=C}else x=h(),x&&(x.nestingOperator=null);return g}function h(){for(var g=null;n=s)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');x.operator=E+"=",n++,p();var C="";if(x.valueType="string",c==='"')C=d('"',t.doubleQuotesEscapeChars);else if(c==="'")C=d("'",t.singleQuoteEscapeChars);else if(u&&c==="$")n++,C=f(),x.valueType="substitute";else{for(;n=s)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,x.value=C}g=g||{},(g.attrs=g.attrs||[]).push(x)}else if(c===":"){n++;var N=f(),q={name:N};if(c==="("){n++;var j="";if(p(),i[N]==="selector")q.valueType="selector",j=b();else{if(q.valueType=i[N]||"string",c==='"')j=d('"',t.doubleQuotesEscapeChars);else if(c==="'")j=d("'",t.singleQuoteEscapeChars);else if(u&&c==="$")n++,j=f(),q.valueType="substitute";else{for(;n=s)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,q.value=j}g=g||{},(g.pseudos=g.pseudos||[]).push(q)}else break;return g}return m()}e.parseCssSelector=r}),Ic=F(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Vi();function r(a){var n="";switch(a.type){case"ruleSet":for(var i=a.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;n=o.join(" ");break;case"selectors":n=a.selectors.map(r).join(", ");break;case"rule":a.tagName&&(a.tagName==="*"?n="*":n=t.escapeIdentifier(a.tagName)),a.id&&(n+="#"+t.escapeIdentifier(a.id)),a.classNames&&(n+=a.classNames.map(function(l){return"."+t.escapeIdentifier(l)}).join("")),a.attrs&&(n+=a.attrs.map(function(l){return"operator"in l?l.valueType==="substitute"?"["+t.escapeIdentifier(l.name)+l.operator+"$"+l.value+"]":"["+t.escapeIdentifier(l.name)+l.operator+t.escapeStr(l.value)+"]":"["+t.escapeIdentifier(l.name)+"]"}).join("")),a.pseudos&&(n+=a.pseudos.map(function(l){return l.valueType?l.valueType==="selector"?":"+t.escapeIdentifier(l.name)+"("+r(l.value)+")":l.valueType==="substitute"?":"+t.escapeIdentifier(l.name)+"($"+l.value+")":l.valueType==="numeric"?":"+t.escapeIdentifier(l.name)+"("+l.value+")":":"+t.escapeIdentifier(l.name)+"("+t.escapeIdentifier(l.value)+")":":"+t.escapeIdentifier(l.name)}).join(""));break;default:throw Error('Unknown entity type: "'+a.type+'".')}return n}e.renderEntity=r}),ji=F(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Oc(),r=Ic(),a=function(){function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return n.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o0?1:-1}}),qc=F(function(e,t){t.exports=Nc()()?Math.sign:Mc()}),Lc=F(function(e,t){var r=qc(),a=Math.abs,n=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*n(a(i)))}}),Rt=F(function(e,t){var r=Lc(),a=Math.max;t.exports=function(n){return a(0,r(n))}}),zi=F(function(e,t){var r=Rt();t.exports=function(a,n,i){var o;return isNaN(a)?(o=n,o>=0?i&&o?o-1:o:1):a===!1?!1:r(a)}}),Dt=F(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r}}),Ht=F(function(e,t){var r=kt();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a}}),Bc=F(function(e,t){var r=Dt(),a=Ht(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,l=Object.prototype.propertyIsEnumerable;t.exports=function(u,s){return function(c,d){var f,p=arguments[2],m=arguments[3];return c=Object(a(c)),r(d),f=o(c),m&&f.sort(typeof m=="function"?n.call(m,c):void 0),typeof u!="function"&&(u=f[u]),i.call(u,f,function(b,D){return l.call(c,b)?i.call(d,p,c[b],b,c,D):s})}}}),Vr=F(function(e,t){t.exports=Bc()("forEach")}),Tt=F(function(){}),Vc=F(function(e,t){t.exports=function(){var r=Object.assign,a;return typeof r!="function"?!1:(a={foo:"raz"},r(a,{bar:"dwa"},{trzy:"trzy"}),a.foo+a.bar+a.trzy==="razdwatrzy")}}),jc=F(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}}),Hc=F(function(e,t){var r=kt(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)}}),zc=F(function(e,t){t.exports=jc()()?Object.keys:Hc()}),Uc=F(function(e,t){var r=zc(),a=Ht(),n=Math.max;t.exports=function(i,o){var l,u,s=n(arguments.length,2),c;for(i=Object(a(i)),c=function(f){try{i[f]=o[f]}catch(p){l||(l=p)}},u=1;u-1}}),Zc=F(function(e,t){t.exports=Jc()()?String.prototype.contains:Qc()}),St=F(function(e,t){var r=Gi(),a=Xc(),n=Ui(),i=Hi(),o=Zc(),l=t.exports=function(u,s){var c,d,f,p,m;return arguments.length<2||typeof u!="string"?(p=s,s=u,u=null):p=arguments[2],r(u)?(c=o.call(u,"c"),d=o.call(u,"e"),f=o.call(u,"w")):(c=f=!0,d=!1),m={value:s,configurable:c,enumerable:d,writable:f},p?n(i(p),m):m};l.gs=function(u,s,c){var d,f,p,m;return typeof u!="string"?(p=c,c=s,s=u,u=null):p=arguments[3],r(s)?a(s)?r(c)?a(c)||(p=c,c=void 0):c=void 0:(p=s,s=c=void 0):s=void 0,r(u)?(d=o.call(u,"c"),f=o.call(u,"e")):(d=!0,f=!1),m={get:s,set:c,configurable:d,enumerable:f},p?n(i(p),m):m}}),ed=F(function(e,t){var r=St(),a=Dt(),n=Function.prototype.apply,i=Function.prototype.call,o=Object.create,l=Object.defineProperty,u=Object.defineProperties,s=Object.prototype.hasOwnProperty,c={configurable:!0,enumerable:!1,writable:!0},d,f,p,m,b,D,h;d=function(x,E){var C;return a(E),s.call(this,"__ee__")?C=this.__ee__:(C=c.value=o(null),l(this,"__ee__",c),c.value=null),C[x]?P(C[x])==="object"?C[x].push(E):C[x]=[C[x],E]:C[x]=E,this},f=function(x,E){var C,N;return a(E),N=this,d.call(this,x,C=function(){p.call(N,x,C),n.call(E,this,arguments)}),C.__eeOnceListener__=E,this},p=function(x,E){var C,N,q,j;if(a(E),!s.call(this,"__ee__"))return this;if(C=this.__ee__,!C[x])return this;if(N=C[x],P(N)==="object")for(j=0;q=N[j];++j)(q===E||q.__eeOnceListener__===E)&&(N.length===2?C[x]=N[j?0:1]:N.splice(j,1));else(N===E||N.__eeOnceListener__===E)&&delete C[x];return this},m=function(x){var E,C,N,q,j;if(s.call(this,"__ee__")&&(q=this.__ee__[x],!!q))if(P(q)==="object"){for(C=arguments.length,j=new Array(C-1),E=1;E"u"?"undefined":P(globalThis))!=="object"||!globalThis?!1:globalThis.Array===Array}}),ad=F(function(e,t){var r=function(){if((typeof self>"u"?"undefined":P(self))==="object"&&self)return self;if((typeof y>"u"?"undefined":P(y))==="object"&&y)return y;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{return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()}),jr=F(function(e,t){t.exports=rd()()?globalThis:ad()}),nd=F(function(e,t){var r=jr(),a={object:!0,symbol:!0};t.exports=function(){var n=r.Symbol,i;if(typeof n!="function")return!1;i=n("test symbol");try{String(i)}catch{return!1}return!(!a[P(n.iterator)]||!a[P(n.toPrimitive)]||!a[P(n.toStringTag)])}}),id=F(function(e,t){t.exports=function(r){return r?P(r)==="symbol"?!0:!r.constructor||r.constructor.name!=="Symbol"?!1:r[r.constructor.toStringTag]==="Symbol":!1}}),Yi=F(function(e,t){var r=id();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a}}),od=F(function(e,t){var r=St(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(l){for(var u=0,s,c;o[l+(u||"")];)++u;return l+=u||"",o[l]=!0,s="@@"+l,n(i,s,r.gs(null,function(d){c||(c=!0,n(this,s,r(d)),c=!1)})),s}}),ld=F(function(e,t){var r=St(),a=jr().Symbol;t.exports=function(n){return Object.defineProperties(n,{hasInstance:r("",a&&a.hasInstance||n("hasInstance")),isConcatSpreadable:r("",a&&a.isConcatSpreadable||n("isConcatSpreadable")),iterator:r("",a&&a.iterator||n("iterator")),match:r("",a&&a.match||n("match")),replace:r("",a&&a.replace||n("replace")),search:r("",a&&a.search||n("search")),species:r("",a&&a.species||n("species")),split:r("",a&&a.split||n("split")),toPrimitive:r("",a&&a.toPrimitive||n("toPrimitive")),toStringTag:r("",a&&a.toStringTag||n("toStringTag")),unscopables:r("",a&&a.unscopables||n("unscopables"))})}}),ud=F(function(e,t){var r=St(),a=Yi(),n=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return n[o]?n[o]:n[o]=i(String(o))}),keyFor:r(function(o){var l;a(o);for(l in n)if(n[l]===o)return l})})}}),sd=F(function(e,t){var r=St(),a=Yi(),n=jr().Symbol,i=od(),o=ld(),l=ud(),u=Object.create,s=Object.defineProperties,c=Object.defineProperty,d,f,p;if(typeof n=="function")try{String(n()),p=!0}catch{}else n=null;f=function(b){if(this instanceof f)throw new TypeError("Symbol is not a constructor");return d(b)},t.exports=d=function m(b){var D;if(this instanceof m)throw new TypeError("Symbol is not a constructor");return p?n(b):(D=u(f.prototype),b=b===void 0?"":String(b),s(D,{__description__:r("",b),__name__:r("",i(b))}))},o(d),l(d),s(f.prototype,{constructor:r(d),toString:r("",function(){return this.__name__})}),s(d.prototype,{toString:r(function(){return"Symbol ("+a(this).__description__+")"}),valueOf:r(function(){return a(this)})}),c(d.prototype,d.toPrimitive,r("",function(){var m=a(this);return P(m)==="symbol"?m:m.toString()})),c(d.prototype,d.toStringTag,r("c","Symbol")),c(f.prototype,d.toStringTag,r("c",d.prototype[d.toStringTag])),c(f.prototype,d.toPrimitive,r("c",d.prototype[d.toPrimitive]))}),cd=F(function(e,t){t.exports=nd()()?jr().Symbol:sd()}),dd=F(function(e,t){var r=Object.prototype.toString,a=r.call(function(){return arguments}());t.exports=function(n){return r.call(n)===a}}),fd=F(function(e,t){var r=Object.prototype.toString,a=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(n){return typeof n=="function"&&a(r.call(n))}}),pd=F(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&P(n)==="object"&&(n instanceof String||r.call(n)===a)||!1}}),md=F(function(e,t){var r=cd().iterator,a=dd(),n=fd(),i=Rt(),o=Dt(),l=Ht(),u=kt(),s=pd(),c=Array.isArray,d=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},p=Object.defineProperty;t.exports=function(m){var b=arguments[1],D=arguments[2],h,g,x,E,C,N,q,j,te,B;if(m=Object(l(m)),u(b)&&o(b),!this||this===Array||!n(this)){if(!b){if(a(m))return C=m.length,C!==1?Array.apply(null,m):(E=new Array(1),E[0]=m[0],E);if(c(m)){for(E=new Array(C=m.length),g=0;g=55296&&N<=56319&&(B+=m[++g])),B=b?d.call(b,D,B,x):B,h?(f.value=B,p(E,x,f)):E[x]=B,++x;C=x}}if(C===void 0)for(C=i(m.length),h&&(E=new h(C)),g=0;g=0?f=u(f):f=a(this.length)-u(l(f)),c=f;c"u"?"undefined":P(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n))};if((typeof T>"u"?"undefined":P(T))==="object"&&T){if(typeof MutationObserver=="function")return a(MutationObserver);if(typeof WebKitMutationObserver=="function")return a(WebKitMutationObserver)}return typeof setImmediate=="function"?function(n){setImmediate(r(n))}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":P(setTimeout))==="object"?function(n){setTimeout(r(n),0)}:null}()}),kd=F(function(){var e=Ia(),t=Ki(),r=$i(),a=Wi(),n=Na(),i=Array.prototype.slice,o=Function.prototype.apply,l=Object.create;Tt().async=function(u,s){var c=l(null),d=l(null),f=s.memoized,p=s.original,m,b,D;s.memoized=a(function(h){var g=arguments,x=g[g.length-1];return typeof x=="function"&&(m=x,g=i.call(g,0,-1)),f.apply(b=this,D=g)},f);try{r(s.memoized,f)}catch{}s.on("get",function(h){var g,x,E;if(m){if(c[h]){typeof c[h]=="function"?c[h]=[c[h],m]:c[h].push(m),m=null;return}g=m,x=b,E=D,m=b=D=null,n(function(){var C;hasOwnProperty.call(d,h)?(C=d[h],s.emit("getasync",h,E,x),o.call(g,C.context,C.args)):(m=g,b=x,D=E,f.apply(x,E))})}}),s.original=function(){var h,g,x,E;return m?(h=e(arguments),g=function C(N){var q,j,te=C.id;if(te==null){n(o.bind(C,this,arguments));return}if(delete C.id,q=c[te],delete c[te],!!q)return j=e(arguments),s.has(te)&&(N?s.delete(te):(d[te]={context:this,args:j},s.emit("setasync",te,typeof q=="function"?1:q.length))),typeof q=="function"?E=o.call(q,this,j):q.forEach(function(B){E=o.call(B,this,j)},this),E},x=m,m=b=D=null,h.push(g),E=o.call(p,this,h),g.cb=x,m=g,E):o.call(p,this,arguments)},s.on("set",function(h){if(!m){s.delete(h);return}c[h]?typeof c[h]=="function"?c[h]=[c[h],m.cb]:c[h].push(m.cb):c[h]=m.cb,delete m.cb,m.id=h,m=null}),s.on("delete",function(h){var g;hasOwnProperty.call(c,h)||d[h]&&(g=d[h],delete d[h],s.emit("deleteasync",h,i.call(g.args,1)))}),s.on("clear",function(){var h=d;d=l(null),s.emit("clearasync",t(h,function(g){return i.call(g.args,1)}))})}}),Rd=F(function(e,t){var r=Array.prototype.forEach,a=Object.create;t.exports=function(n){var i=a(null);return r.call(arguments,function(o){i[o]=!0}),i}}),Xi=F(function(e,t){t.exports=function(r){return typeof r=="function"}}),Td=F(function(e,t){var r=Xi();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}}}),Sd=F(function(e,t){var r=Ht(),a=Td();t.exports=function(n){return a(r(n))}}),Od=F(function(e,t){var r=Xi();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return""}}}),Id=F(function(e,t){var r=Od(),a=/[\n\r\u2028\u2029]/g;t.exports=function(n){var i=r(n);return i.length>100&&(i=i.slice(0,99)+"…"),i=i.replace(a,function(o){return JSON.stringify(o).slice(1,-1)}),i}}),Ji=F(function(e,t){t.exports=r,t.exports.default=r;function r(a){return!!a&&(P(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),Pd=F(function(){var e=Ki(),t=Rd(),r=Sd(),a=Id(),n=Ji(),i=Na(),o=Object.create,l=t("then","then:finally","done","done:finally");Tt().promise=function(u,s){var c=o(null),d=o(null),f=o(null);if(u===!0)u=null;else if(u=r(u),!l[u])throw new TypeError("'"+a(u)+"' is not valid promise mode");s.on("set",function(p,m,b){var D=!1;if(!n(b)){d[p]=b,s.emit("setasync",p,1);return}c[p]=1,f[p]=b;var h=function(N){var q=c[p];if(D)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) +Consider to rely on 'then' or 'done' mode instead.`);q&&(delete c[p],d[p]=N,s.emit("setasync",p,q))},g=function(){D=!0,c[p]&&(delete c[p],delete f[p],s.delete(p))},x=u;if(x||(x="then"),x==="then"){var E=function(){i(g)};b=b.then(function(C){i(h.bind(this,C))},E),typeof b.finally=="function"&&b.finally(E)}else if(x==="done"){if(typeof b.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");b.done(h,g)}else if(x==="done:finally"){if(typeof b.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof b.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");b.done(h),b.finally(g)}}),s.on("get",function(p,m,b){var D;if(c[p]){++c[p];return}D=f[p];var h=function(){s.emit("getasync",p,m,b)};n(D)?typeof D.done=="function"?D.done(h):D.then(function(){i(h)}):h()}),s.on("delete",function(p){if(delete f[p],c[p]){delete c[p];return}if(hasOwnProperty.call(d,p)){var m=d[p];delete d[p],s.emit("deleteasync",p,[m])}}),s.on("clear",function(){var p=d;d=o(null),c=o(null),f=o(null),s.emit("clearasync",e(p,function(m){return[m]}))})}}),Nd=F(function(){var e=Dt(),t=Vr(),r=Tt(),a=Function.prototype.apply;r.dispose=function(n,i,o){var l;if(e(n),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",l=function(s,c){a.call(n,null,c)}),i.on("clearasync",function(u){t(u,function(s,c){l(c,s)})});return}i.on("delete",l=function(s,c){n(c)}),i.on("clear",function(u){t(u,function(s,c){l(c,s)})})}}),Md=F(function(e,t){t.exports=2147483647}),qd=F(function(e,t){var r=Rt(),a=Md();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n}}),Ld=F(function(){var e=Ia(),t=Vr(),r=Na(),a=Ji(),n=qd(),i=Tt(),o=Function.prototype,l=Math.max,u=Math.min,s=Object.create;i.maxAge=function(c,d,f){var p,m,b,D;c=n(c),c&&(p=s(null),m=f.async&&i.async||f.promise&&i.promise?"async":"",d.on("set"+m,function(h){p[h]=setTimeout(function(){d.delete(h)},c),typeof p[h].unref=="function"&&p[h].unref(),D&&(D[h]&&D[h]!=="nextTick"&&clearTimeout(D[h]),D[h]=setTimeout(function(){delete D[h]},b),typeof D[h].unref=="function"&&D[h].unref())}),d.on("delete"+m,function(h){clearTimeout(p[h]),delete p[h],D&&(D[h]!=="nextTick"&&clearTimeout(D[h]),delete D[h])}),f.preFetch&&(f.preFetch===!0||isNaN(f.preFetch)?b=.333:b=l(u(Number(f.preFetch),1),0),b&&(D={},b=(1-b)*c,d.on("get"+m,function(h,g,x){D[h]||(D[h]="nextTick",r(function(){var E;D[h]==="nextTick"&&(delete D[h],d.delete(h),f.async&&(g=e(g),g.push(o)),E=d.memoized.apply(x,g),f.promise&&a(E)&&(typeof E.done=="function"?E.done(o,o):E.then(o,o)))}))}))),d.on("clear"+m,function(){t(p,function(h){clearTimeout(h)}),p={},D&&(t(D,function(h){h!=="nextTick"&&clearTimeout(h)}),D={})}))}}),Bd=F(function(e,t){var r=Rt(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,l=1,u=a(null),s=a(null),c=0,d;return i=r(i),{hit:function(p){var m=s[p],b=++c;if(u[b]=p,s[p]=b,!m)return++o,o<=i?void 0:(p=u[l],d(p),p);if(delete u[m],l===m)for(;!n.call(u,++l););},delete:d=function(p){var m=s[p];if(m&&(delete u[m],delete s[p],--o,l===m)){if(!o){c=0,l=1;return}for(;!n.call(u,++l););}},clear:function(){o=0,l=1,u=a(null),s=a(null),c=0}}}}),Vd=F(function(){var e=Rt(),t=Bd(),r=Tt();r.max=function(a,n,i){var o,l,u;a=e(a),a&&(l=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,u=function(c){c=l.hit(c),c!==void 0&&n.delete(c)}),n.on("get"+o,u),n.on("delete"+o,l.delete),n.on("clear"+o,l.clear))}}),jd=F(function(){var e=St(),t=Tt(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,i,o){var l,u;l=r(null),u=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+u,function(s,c){l[s]=c||1}),i.on("get"+u,function(s){++l[s]}),i.on("delete"+u,function(s){delete l[s]}),i.on("clear"+u,function(){l={}}),a(i.memoized,{deleteRef:e(function(){var s=i.get(arguments);return s===null||!l[s]?null:--l[s]?!1:(i.delete(s),!0)}),getRefCount:e(function(){var s=i.get(arguments);return s===null||!l[s]?0:l[s]})})}}),Qi=F(function(e,t){var r=Hi(),a=zi(),n=yd();t.exports=function(i){var o=r(arguments[1]),l;return o.normalizer||(l=o.length=a(o.length,i.length,o.async),l!==0&&(o.primitive?l===!1?o.normalizer=Dd():l>1&&(o.normalizer=wd()(l)):l===!1?o.normalizer=Ad()():l===1?o.normalizer=Fd()():o.normalizer=Cd()(l))),o.async&&kd(),o.promise&&Pd(),o.dispose&&Nd(),o.maxAge&&Ld(),o.max&&Vd(),o.refCounter&&jd(),n(i,o)}}),Zi=F(function(e,t){(function(){var r={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};(function(){if((typeof globalThis>"u"?"undefined":P(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{y.globalThis=function(){if(typeof self<"u")return self;if(typeof y<"u")return y;if(typeof Qe<"u")return Qe;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")}()}})(),r.encodeHTMLSource=function(l){var u={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},s=l?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(s,function(d){return u[d]||d}):""}},typeof t<"u"&&t.exports?t.exports=r:globalThis.doT=r;var a={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},n=/$^/;function i(l,u,s){return(typeof u=="string"?u:u.toString()).replace(l.define||n,function(c,d,f,p){return d.indexOf("def.")===0&&(d=d.substring(4)),d in s||(f===":"?(l.defineParams&&p.replace(l.defineParams,function(m,b,D){s[d]={arg:b,text:D}}),d in s||(s[d]=p)):new Function("def","def['"+d+"']="+p)(s)),""}).replace(l.use||n,function(c,d){l.useParams&&(d=d.replace(l.useParams,function(p,m,b,D){if(s[b]&&s[b].arg&&D){var h=(b+":"+D).replace(/'|\\/g,"_");return s.__exp=s.__exp||{},s.__exp[h]=s[b].text.replace(new RegExp("(^|[^\\w$])"+s[b].arg+"([^\\w$])","g"),"$1"+D+"$2"),m+"def.__exp['"+h+"']"}}));var f=new Function("def","return "+d)(s);return f&&i(l,f,s)})}function o(l){return l.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(l,u,s){u=u||r.templateSettings;var c=u.append?a.append:a.split,d,f=0,p,m=u.use||u.define?i(u,l,s||{}):l;m=("var out='"+(u.strip?m.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):m).replace(/'|\\/g,"\\$&").replace(u.interpolate||n,function(b,D){return c.start+o(D)+c.end}).replace(u.encode||n,function(b,D){return d=!0,c.startencode+o(D)+c.end}).replace(u.conditional||n,function(b,D,h){return D?h?"';}else if("+o(h)+"){out+='":"';}else{out+='":h?"';if("+o(h)+"){out+='":"';}out+='"}).replace(u.iterate||n,function(b,D,h,g){return D?(f+=1,p=g||"i"+f,D=o(D),"';var arr"+f+"="+D+";if(arr"+f+"){var "+h+","+p+"=-1,l"+f+"=arr"+f+".length-1;while("+p+""u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",D=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function h(){return function(){return process.nextTick(q)}}function g(){return typeof l<"u"?function(){l(q)}:C()}function x(){var _=0,k=new m(q),S=T.createTextNode("");return k.observe(S,{characterData:!0}),function(){S.data=_=++_%2}}function E(){var _=new MessageChannel;return _.port1.onmessage=q,function(){return _.port2.postMessage(0)}}function C(){var _=setTimeout;return function(){return _(q,1)}}var N=new Array(1e3);function q(){for(var _=0;_>0},ToUint32:function(W){return W>>>0}}}(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,l=Math.min,u=Math.pow,s=Math.round;function c(w,U,I){return wI?I:w}var d=Object.getOwnPropertyNames||function(w){if(w!==Object(w))throw new TypeError("Object.getOwnPropertyNames called on non-object");var U=[],I;for(I in w)r.HasOwnProperty(w,I)&&U.push(I);return U},f;Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch{return!1}}()?f=Object.defineProperty:f=function(U,I,W){if(!U===Object(U))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(W,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(U,I,W.get),r.HasProperty(W,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(U,I,W.set),r.HasProperty(W,"value")&&(U[I]=W.value),U};function p(w){if(d&&f){var U=d(w),I;for(I=0;It)throw new RangeError("Array too large for polyfill");function U(W){f(w,W,{get:function(){return w._getter(W)},set:function(H){w._setter(W,H)},enumerable:!0,configurable:!1})}var I;for(I=0;I>I}function D(w,U){var I=32-U;return w<>>I}function h(w){return[w&255]}function g(w){return b(w[0],8)}function x(w){return[w&255]}function E(w){return D(w[0],8)}function C(w){return w=s(Number(w)),[w<0?0:w>255?255:w&255]}function N(w){return[w>>8&255,w&255]}function q(w){return b(w[0]<<8|w[1],16)}function j(w){return[w>>8&255,w&255]}function te(w){return D(w[0]<<8|w[1],16)}function B(w){return[w>>24&255,w>>16&255,w>>8&255,w&255]}function X(w){return b(w[0]<<24|w[1]<<16|w[2]<<8|w[3],32)}function G(w){return[w>>24&255,w>>16&255,w>>8&255,w&255]}function oe(w){return D(w[0]<<24|w[1]<<16|w[2]<<8|w[3],32)}function le(w,U,I){var W=(1<.5||Se%2?Se+1:Se}for(w!==w?(H=(1<=u(2,1-W)?(H=l(i(o(w)/a),1023),z=Le(w/u(2,H)*u(2,I)),z/u(2,I)>=2&&(H=H+1,z=1),H>W?(H=(1<>1;return W.reverse(),we=W.join(""),ke=(1<0?_e*u(2,Te-ke)*(1+Le/u(2,I)):Le!==0?_e*u(2,-(ke-1))*(Le/u(2,I)):_e<0?-0:0}function Q(w){return fe(w,11,52)}function ie(w){return le(w,11,52)}function O(w){return fe(w,8,23)}function ce(w){return le(w,8,23)}(function(){function w(Ie){if(Ie=r.ToInt32(Ie),Ie<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=Ie,this._bytes=[],this._bytes.length=Ie;var Se;for(Se=0;Sethis.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=r.ToUint32(ze),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 throw new TypeError("Unexpected argument type(s)");this.constructor=Be,p(this),m(this)},Be.prototype=new U,Be.prototype.BYTES_PER_ELEMENT=Ie,Be.prototype._pack=Se,Be.prototype._unpack=sr,Be.BYTES_PER_ELEMENT=Ie,Be.prototype._getter=function(be){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(be=r.ToUint32(be),!(be>=this.length)){for(var Oe=[],Ce=0,ze=this.byteOffset+be*this.BYTES_PER_ELEMENT;Cethis.length)throw new RangeError("Offset plus length of array is out of range");if(S=this.byteOffset+Ue*this.BYTES_PER_ELEMENT,V=Ce.length*this.BYTES_PER_ELEMENT,Ce.buffer===this.buffer){for(Y=[],he=0,_=Ce.byteOffset;hethis.length)throw new RangeError("Offset plus length of array is out of range");for(he=0;hethis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(we),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");p(this)}function W(H){return function(z,we){if(z=r.ToUint32(z),z+H.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");z+=this.byteOffset;var ke=new e.Uint8Array(this.buffer,z,H.BYTES_PER_ELEMENT),_e=[],Te;for(Te=0;Tethis.byteLength)throw new RangeError("Array index out of range");var _e=new H([we]),Te=new e.Uint8Array(_e.buffer),Le=[],Ie,Se;for(Ie=0;Ie0)throw new TypeError("WeakMap iterable is not supported")}n(o.prototype,"delete",function(c){if(l(this,"delete"),!i(c))return!1;var d=c[this._id];return d&&d[0]===c?(delete c[this._id],!0):!1}),n(o.prototype,"get",function(c){if(l(this,"get"),!!i(c)){var d=c[this._id];if(d&&d[0]===c)return d[1]}}),n(o.prototype,"has",function(c){if(l(this,"has"),!i(c))return!1;var d=c[this._id];return!!(d&&d[0]===c)}),n(o.prototype,"set",function(c,d){if(l(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var f=c[this._id];return f&&f[0]===c?(f[1]=d,this):(n(c,this._id,[c,d]),this)});function l(c,d){if(!i(c)||!r.call(c,"_id"))throw new TypeError(d+" method called on incompatible receiver "+P(c))}function u(c){return c+"_"+s()+"."+s()}function s(){return Math.random().toString().substring(2)}return n(o,"_polyfill",!0),o}();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof y<"u"?y:typeof Qe<"u"?Qe:e)}),$d=[{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"}],it={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"",sameOrigin:""};$d.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;it[t]=r,it[t+"_PRIO"]=a,it[t+"_GROUP"]=n,it.results[a]=r,it.resultGroups[a]=n,it.resultGroupMap[r]=n}),Object.freeze(it.results),Object.freeze(it.resultGroups),Object.freeze(it.resultGroupMap),Object.freeze(it);var Z=it;function Wd(){(typeof console>"u"?"undefined":P(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}var Ot=Wd,Gd=/[\t\r\n\f]/g,Yd=function(){function e(){pr(this,e),this.parent=void 0}return mr(e,[{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(r){var a=this.attr("class");if(!a)return!1;var n=" "+r+" ";return(" "+a+" ").replace(Gd," ").indexOf(n)>=0}}]),e}(),J=Yd,Ma={};De(Ma,{DqElement:function(){return ot},aggregate:function(){return Hr},aggregateChecks:function(){return ro},aggregateNodeResults:function(){return ao},aggregateResult:function(){return no},areStylesSet:function(){return r1},assert:function(){return de},checkHelper:function(){return za},clone:function(){return mt},closest:function(){return We},collectResultsFromFrames:function(){return Io},contains:function(){return Kt},convertSelector:function(){return Yr},cssParser:function(){return ho},deepMerge:function(){return on},escapeSelector:function(){return Ee},extendMetaData:function(){return ln},filterHtmlAttrs:function(){return Vu},finalizeRuleResult:function(){return hr},findBy:function(){return wr},getAllChecks:function(){return Zr},getAncestry:function(){return Gr},getBaseLang:function(){return Vt},getCheckMessage:function(){return Nh},getCheckOption:function(){return va},getEnvironmentData:function(){return Et},getFlattenedTree:function(){return Kn},getFrameContexts:function(){return Zh},getFriendlyUriEnd:function(){return lo},getNodeAttributes:function(){return Ur},getNodeFromTree:function(){return L},getPreloadConfig:function(){return Nu},getRootNode:function(){return _r},getRule:function(){return wu},getScroll:function(){return gt},getScrollState:function(){return rv},getSelector:function(){return Ha},getSelectorData:function(){return Wr},getShadowSelector:function(){return La},getStandards:function(){return av},getStyleSheetFactory:function(){return Eu},getXpath:function(){return mo},injectStyle:function(){return ov},isHidden:function(){return lv},isHtmlElement:function(){return ti},isNodeInContext:function(){return ri},isShadowRoot:function(){return ta},isValidLang:function(){return Da},isXHTML:function(){return $r},matchAncestry:function(){return ai},matches:function(){return Wa},matchesExpression:function(){return $t},matchesSelector:function(){return zt},memoize:function(){return tt},mergeResults:function(){return ea},nodeSorter:function(){return ni},parseCrossOriginStylesheet:function(){return oi},parseSameOriginStylesheet:function(){return Cu},parseStylesheet:function(){return ii},performanceTimer:function(){return Re},pollyfillElementsFromPoint:function(){return ku},preload:function(){return Mu},preloadCssom:function(){return Tu},preloadMedia:function(){return Iu},processMessage:function(){return Qn},publishMetaData:function(){return ba},querySelectorAll:function(){return Xe},querySelectorAllFilter:function(){return bt},queue:function(){return st},respondable:function(){return lt},ruleShouldRun:function(){return Bu},select:function(){return ui},sendCommandToFrame:function(){return Ro},setScrollState:function(){return jv},shadowSelect:function(){return Hv},shadowSelectAll:function(){return si},shouldPreload:function(){return Pu},toArray:function(){return oo},tokenList:function(){return qe},uniqueArray:function(){return Or},uuid:function(){return W1},validInputTypes:function(){return ya},validLangs:function(){return $u}});function Kd(e,t,r){t=t.slice(),r&&t.push(r);var a=t.map(function(n){return e.indexOf(n)}).sort();return e[a.pop()]}var Hr=Kd,Xd=Z.CANTTELL_PRIO,Jd=Z.FAIL_PRIO,zr=[];zr[Z.PASS_PRIO]=!0,zr[Z.CANTTELL_PRIO]=null,zr[Z.FAIL_PRIO]=!1;var eo=["any","all","none"];function to(e,t){return eo.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function Qd(e){var t=Object.assign({},e);to(t,function(n,i){var o=typeof n.result>"u"?-1:zr.indexOf(n.result);n.priority=o!==-1?o:Z.CANTTELL_PRIO,i==="none"&&(n.priority===Z.PASS_PRIO?n.priority=Z.FAIL_PRIO:n.priority===Z.FAIL_PRIO&&(n.priority=Z.PASS_PRIO))});var r={all:t.all.reduce(function(n,i){return Math.max(n,i.priority)},0),none:t.none.reduce(function(n,i){return Math.max(n,i.priority)},0),any:t.any.reduce(function(n,i){return Math.min(n,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var a=[];return eo.forEach(function(n){t[n]=t[n].filter(function(i){return i.priority===t.priority&&i.priority===r[n]}),t[n].forEach(function(i){return a.push(i.impact)})}),[Xd,Jd].includes(t.priority)?t.impact=Hr(Z.impact,a):t.impact=null,to(t,function(n){delete n.result,delete n.priority}),t.result=Z.results[t.priority],delete t.priority,t}var ro=Qd;function Zd(e){var t=v._audit.rules.find(function(r){return r.id===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(a){(r[a]||[]).forEach(function(n){n.impact=t.impact})})}),Object.assign(e,ao(e.nodes)),delete e.nodes,e}var hr=Zd;function e1(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return ro(i);if(Array.isArray(i.node))return hr(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Hr(Z.results,r,t.result)}else t.result="inapplicable";Z.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=Z.resultGroupMap[i.result];t[o].push(i)});var a=Z.FAIL_GROUP;if(t[a].length===0&&(a=Z.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=Hr(Z.impact,n)||null}else t.impact=null;return t}var ao=e1;function qa(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),Z.resultGroups.forEach(function(n){delete a[n]}),e[r].push(a)}function t1(e){var t={};return Z.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?qa(t,r,Z.CANTTELL_GROUP):r.result===Z.NA?qa(t,r,Z.NA_GROUP):Z.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&qa(t,r,a)})}),t}var no=t1;function io(e,t,r){var a=y.getComputedStyle(e,null);if(!a)return!1;for(var n=0;n=1&&n<=31||n==127||a==0&&n>=48&&n<=57||a==1&&n>=48&&n<=57&&o==45){i+="\\"+n.toString(16)+" ";continue}if(a==0&&r==1&&n==45){i+="\\"+t.charAt(a);continue}if(n>=128||n==45||n==95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(a);continue}i+="\\"+t.charAt(a)}return i}var Ee=i1;function o1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e.length!==0&&(e.match(/[0-9]/g)||"").length>=e.length/2}function vr(e,t){return[e.substring(0,t),e.substring(t)]}function gr(e){return e.replace(/\s+$/,"")}function l1(e){var t=e,r="",a="",n="",i="",o="",l="";if(e.includes("#")){var u=vr(e,e.indexOf("#")),s=ve(u,2);e=s[0],l=s[1]}if(e.includes("?")){var c=vr(e,e.indexOf("?")),d=ve(c,2);e=d[0],o=d[1]}if(e.includes("://")){var f=e.split("://"),p=ve(f,2);r=p[0],e=p[1];var m=vr(e,e.indexOf("/")),b=ve(m,2);a=b[0],e=b[1]}else if(e.substr(0,2)==="//"){e=e.substr(2);var D=vr(e,e.indexOf("/")),h=ve(D,2);a=h[0],e=h[1]}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var g=vr(a,a.indexOf(":")),x=ve(g,2);a=x[0],n=x[1]}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:l}}function u1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(e.length<=1||e.substr(0,5)==="data:"||e.substr(0,11)==="javascript:"||e.includes("?"))){var r=t.currentDomain,a=t.maxLength,n=a===void 0?25:a,i=l1(e),o=i.path,l=i.domain,u=i.hash,s=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(u)return s&&(s+u).length<=n?gr(s+u):s.length<2&&u.length>2&&u.length<=n?gr(u):void 0;if(l&&l.length1)&&(c!==-1||s.length>2)&&s.length<=n&&!s.match(/index(\.[a-zA-Z]{2-4})?/)&&!o1(s))return gr(s)}}var lo=u1;function s1(e){return e.attributes instanceof y.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes}var Ur=s1,c1=function(){var e;function t(r){var a,n,i=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],o=i.length;for(a=0;a2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return"";var a=t.getRootNode&&t.getRootNode()||T;if(a.nodeType!==11)return e(t,r,a);for(var n=[];a.nodeType===11;){if(!a.host)return"";n.unshift({elm:t,doc:a}),t=a.host,a=t.getRootNode()}return n.unshift({elm:t,doc:a}),n.map(function(i){var o=i.elm,l=i.doc;return e(o,r,l)})}var La=f1,Ba,p1=["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"],m1=31,h1=/([\\"])/g,v1=/(\r\n|\r|\n)/g;function Va(e){return e.replace(h1,"\\$1").replace(v1,"\\a ")}function uo(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=lo(e.getAttribute(r));n?a=Ee(t.name)+'$="'+Va(n)+'"':a=Ee(t.name)+'="'+Va(e.getAttribute(r))+'"'}else a=Ee(r)+'="'+Va(t.value)+'"';return a}function ja(e,t){return e.count"u"&&(Ba=$r(T)),Ee(Ba?e.localName:e.nodeName.toLowerCase())}function D1(e,t){var r=[],a=t.attributes,n=t.tags;return e.hasAttributes()&&Array.from(Ur(e)).filter(so).forEach(function(i){var o=uo(e,i);o&&a[o] "+i:i=l,o?o=o.filter(function(u){return zt(u,i)}):o=Array.from(r.querySelectorAll(i)),e=e.parentElement}while((o.length>1||n)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function Ha(e,t){return La(_1,e,t)}function fo(e){var t=e.nodeName.toLowerCase(),r=e.parentElement;if(!r)return t;var a="";if(t!=="head"&&t!=="body"&&r.children.length>1){var n=Array.prototype.indexOf.call(r.children,e)+1;a=":nth-child(".concat(n,")")}return fo(r)+" > "+t+a}function Gr(e,t){return La(fo,e,t)}function po(e,t){var r,a;if(!e)return[];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=po(e.parentNode,t)),e.previousSibling){a=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&a++,r=r.previousSibling;while(r);a===1&&(a=null)}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(a=1,r=null):(a=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var n={};n.str=e.nodeName.toLowerCase();var i=e.getAttribute&&Ee(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(n.id=e.getAttribute("id")),a>1&&(n.count=a),t.push(n)}return t}function x1(e){return e.reduce(function(t,r){return r.id?"/".concat(r.str,"[@id='").concat(r.id,"']"):t+"/".concat(r.str)+(r.count>0?"[".concat(r.count,"]"):"")},"")}function E1(e){var t=po(e);return x1(t)}var mo=E1,br={},A1={set:function(t,r){F1(t),br[t]=r},get:function(t,r){if(C1(r),t in br)return br[t];if(typeof r=="function"){var a=r();return de(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),br[t]}},clear:function(){br={}}};function F1(e){de(typeof e=="string","key must be a string, "+P(e)+" given"),de(e!=="","key must not be empty")}function C1(e){de(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+P(e)+" given")}var ae=A1;function k1(e,t){var r=t||e;return ae.get("nodeMap")?ae.get("nodeMap").get(r):null}var L=k1;function R1(e,t){if(t=t||300,e.length>t){var r=e.indexOf(">");e=e.substring(0,r+1)}return e}function T1(e){if(!(e!=null&&e.outerHTML))return"";var t=e.outerHTML;return!t&&typeof y.XMLSerializer=="function"&&(t=new y.XMLSerializer().serializeToString(e)),R1(t||"")}function Ut(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.spec=n,e instanceof J?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=L(e)),this.fromFrame=((t=this.spec.selector)===null||t===void 0?void 0:t.length)>1,a.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((r=this._virtualNode)===null||r===void 0?void 0:r.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!v._audit.noHtml){var i;this.source=(i=this.spec.source)!==null&&i!==void 0?i:T1(this._element)}}Ut.prototype={get selector(){return this.spec.selector||[Ha(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Gr(this.element)]},get xpath(){return this.spec.xpath||[mo(this.element)]},get element(){return this._element},toJSON:function(){return{selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes}}},Ut.fromFrame=function(t,r,a){var n=Ut.mergeSpecs(t,a);return new Ut(a.element,r,n)},Ut.mergeSpecs=function(t,r){return ne({},t,{selector:[].concat(ee(r.selector),ee(t.selector)),ancestry:[].concat(ee(r.ancestry),ee(t.ancestry)),xpath:[].concat(ee(r.xpath),ee(t.xpath)),nodeIndexes:[].concat(ee(r.nodeIndexes),ee(t.nodeIndexes))})};var ot=Ut;function S1(e,t,r,a){return{isAsync:!1,async:function(){return this.isAsync=!0,function(i){i instanceof Error?a(i):(e.result=i,r(e))}},data:function(i){e.data=i},relatedNodes:function(i){y.Node&&(i=i instanceof y.Node?[i]:oo(i),i.every(function(o){return o instanceof y.Node||o.actualNode})&&(e.relatedNodes=i.map(function(o){return new ot(o,t)})))}}}var za=S1;function Ua(e){var t,r,a,n,i=e;if((t=y)!==null&&t!==void 0&&t.Node&&e instanceof y.Node||(r=y)!==null&&r!==void 0&&r.HTMLCollection&&e instanceof y.HTMLCollection)return e;if(e!==null&&P(e)==="object")if(Array.isArray(e))for(i=[],a=0,n=e.length;a"),yr.registerAttrEqualityMods("^","$","*","~");var ho=yr;function I1(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function P1(e,t){return!t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function N1(e,t){return!t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function M1(e,t){return!t.id||e.props.id===t.id}function q1(e,t){return!!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return!r.expressions.some(function(a){return $t(e,a)});if(r.name==="is")return r.expressions.some(function(a){return $t(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function vo(e,t){return I1(e,t)&&P1(e,t)&&N1(e,t)&&M1(e,t)&&q1(e,t)}var Dr=function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}}(),$a=/\\/g;function L1(e){if(e)return e.map(function(t){var r=t.name.replace($a,""),a=(t.value||"").replace($a,""),n,i;switch(t.operator){case"^=":i=new RegExp("^"+Dr(a));break;case"$=":i=new RegExp(Dr(a)+"$");break;case"~=":i=new RegExp("(^|\\s)"+Dr(a)+"(\\s|$)");break;case"|=":i=new RegExp("^"+Dr(a)+"(-|$)");break;case"=":n=function(l){return a===l};break;case"*=":n=function(l){return l&&l.includes(a)};break;case"!=":n=function(l){return a!==l};break;default:n=function(l){return l!==null}}return a===""&&/^[*$^]=$/.test(t.operator)&&(n=function(){return!1}),n||(n=function(l){return l&&i.test(l)}),{key:r,value:a,type:typeof t.value>"u"?"attrExist":"attrValue",test:n}})}function B1(e){if(e)return e.map(function(t){return t=t.replace($a,""),{value:t,regexp:new RegExp("(^|\\s)"+Dr(t)+"(\\s|$)")}})}function V1(e){if(e)return e.map(function(t){var r;return["is","not"].includes(t.name)&&(r=t.value,r=r.selectors?r.selectors:[r],r=go(r)),{name:t.name,expressions:r,value:t.value}})}function go(e){return e.map(function(t){for(var r=[],a=t.rule;a;)r.push({tag:a.tagName?a.tagName.toLowerCase():"*",combinator:a.nestingOperator?a.nestingOperator:" ",id:a.id,attributes:L1(a.attrs),classes:B1(a.classNames),pseudos:V1(a.pseudos)}),a=a.rule;return r})}function Yr(e){var t=ho.parse(e);return t=t.selectors?t.selectors:[t],go(t)}function bo(e,t,r,a){if(!e)return!1;for(var n=Array.isArray(t),i=n?t[r]:t,o=vo(e,i);!o&&a&&e.parent;)e=e.parent,o=vo(e,i);if(r>0){if([" ",">"].includes(i.combinator)===!1)throw new Error("axe.utils.matchesExpression does not support the combinator: "+i.combinator);o=o&&bo(e.parent,t,r-1,i.combinator===" ")}return o}function $t(e,t,r){return bo(e,t,t.length-1,r)}function j1(e,t){var r=Yr(t);return r.some(function(a){return $t(e,a)})}var Wa=j1;function H1(e,t){for(;e;){if(Wa(e,t))return e;if(typeof e.parent>"u")throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null}var We=H1;function Kr(){}function Ga(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function z1(){var e=[],t=0,r=0,a=Kr,n=!1,i,o=function(p){i=p,setTimeout(function(){i!=null&&Ot("Uncaught error (of queue)",i)},1)},l=o;function u(f){return function(p){e[f]=p,r-=1,!r&&a!==Kr&&(n=!0,a(e))}}function s(f){return a=Kr,l(f),e}function c(){for(var f=e.length;t>>((t&3)<<3)&255;return Xa});for(var Xa,yo=typeof y.Buffer=="function"?y.Buffer:Array,Ja=[],Do={},Yt=0;Yt<256;Yt++)Ja[Yt]=(Yt+256).toString(16).substr(1),Do[Ja[Yt]]=Yt;function U1(e,t,r){var a=t&&r||0,n=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){n<16&&(t[a+n++]=Do[i])});n<16;)t[a+n++]=0;return t}function Qa(e,t){var r=t||0,a=Ja;return a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]}var wt=Gt(),$1=[wt[0]|1,wt[1],wt[2],wt[3],wt[4],wt[5]],wo=(wt[6]<<8|wt[7])&16383,Za=0,en=0;function _o(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:wo,o=e.msecs!=null?e.msecs:new Date().getTime(),l=e.nsecs!=null?e.nsecs:en+1,u=o-Za+(l-en)/1e4;if(u<0&&e.clockseq==null&&(i=i+1&16383),(u<0||o>Za)&&e.nsecs==null&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Za=o,en=l,wo=i,o+=122192928e5;var s=((o&268435455)*1e4+l)%4294967296;n[a++]=s>>>24&255,n[a++]=s>>>16&255,n[a++]=s>>>8&255,n[a++]=s&255;var c=o/4294967296*1e4&268435455;n[a++]=c>>>8&255,n[a++]=c&255,n[a++]=c>>>24&15|16,n[a++]=c>>>16&255,n[a++]=i>>>8|128,n[a++]=i&255;for(var d=e.node||$1,f=0;f<6;f++)n[a+f]=d[f];return t||Qa(n)}function It(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new yo(16):null,e=null),e=e||{};var n=e.random||(e.rng||Gt)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t)for(var i=0;i<16;i++)t[a+i]=n[i];return t||Qa(n)}Wt=It,Wt.v1=_o,Wt.v4=It,Wt.parse=U1,Wt.unparse=Qa,Wt.BufferClass=yo,v._uuid=_o();var W1=It,G1=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Y1(e){var t=e.topic,r=e.channelId,a=e.message,n=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:n,keepalive:!!i,source:xo()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function K1(e){var t;try{t=JSON.parse(e)}catch{return}if(X1(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,l=P(t.error)==="object"?J1(t.error):t.payload;return{topic:a,message:l,messageId:i,channelId:n,keepalive:!!o}}}function X1(e){return e!==null&&P(e)==="object"&&typeof e.channelId=="string"&&e.source===xo()}function J1(e){var t=e.message||"Unknown error occurred",r=G1.includes(e.name)?e.name:"Error",a=y[r]||Error;return e.stack&&(t+=` +`+e.stack.replace(e.message,"")),new a(t)}function xo(){var e="axeAPI",t="";return typeof v<"u"&&v._audit&&v._audit.application&&(e=v._audit.application),typeof v<"u"&&(t=v.version),e+"."+t}function tn(e){Ao(e),de(y.parent===e,"Source of the response must be the parent window.")}function Eo(e){Ao(e),de(e.parent===y,"Respondable target must be a frame in the current window")}function Ao(e){de(y!==e,"Messages can not be sent to the same window.")}var Xr={};function Q1(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;de(!Xr[e],"A replyHandler already exists for this message channel."),Xr[e]={replyHandler:t,sendToParent:r}}function Z1(e){return Xr[e]}function ef(e){delete Xr[e]}var Jr=[];function rn(){var e="".concat(It(),":").concat(It());return Jr.includes(e)?rn():(Jr.push(e),e)}function tf(e){return Jr.includes(e)?!1:(Jr.push(e),!0)}function an(e,t,r,a){if(typeof a=="function"&&Q1(t.channelId,a,r),r?tn(e):Eo(e),t.message instanceof Error&&!r)return v.log(t.message),!1;var n=Y1(ne({messageId:rn()},t)),i=v._audit.allowedOrigins;return!i||!i.length?!1:(i.forEach(function(o){try{e.postMessage(n,o)}catch(l){throw l instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):l}}),!0)}function rf(e,t,r){if(!e.parent!==y)return v.log(t);try{an(e,{topic:null,channelId:r,message:t,messageId:rn(),keepalive:!0},!0)}catch(a){return v.log(a)}}function Fo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return function(n,i,o){var l={channelId:t,message:n,keepalive:i};an(e,l,r,o)}}function af(e){var t=v._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function nf(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=K1(a)||{},o=i.channelId,l=i.message,u=i.messageId;if(!af(r)||!tf(u))return;if(l instanceof Error&&n.parent!==y)return v.log(l),!1;try{if(i.topic){var s=Fo(n,o);tn(n),t(i,s)}else of(n,i)}catch(c){rf(n,c,o)}}catch(c){return v.log(c),!1}}function of(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=Z1(r)||{},o=i.replyHandler,l=i.sendToParent;if(o){l?tn(e):Eo(e);var u=Fo(e,r,l);!n&&r&&ef(r);try{o(a,n,u)}catch(s){v.log(s),u(s,n)}}}var lf={open:function(t){if(typeof y.addEventListener=="function"){var r=function(n){nf(n,t)};return y.addEventListener("message",r,!1),function(){y.removeEventListener("message",r,!1)}}},post:function(t,r,a){return typeof y.addEventListener!="function"?!1:an(t,r,!1,a)}};function Co(e){e.updateMessenger(lf)}var Qr,ko,nn={};function lt(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(It(),":").concat(It()),keepalive:a};return ko(e,i,n)}function uf(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=nn[r];if(i)try{i(a,n,t)}catch(o){v.log(o),t(o,n)}}lt.updateMessenger=function(t){var r=t.open,a=t.post;de(typeof r=="function","open callback must be a function"),de(typeof a=="function","post callback must be a function"),Qr&&Qr();var n=r(uf);n?(de(typeof n=="function","open callback must return a cleanup function"),Qr=n):Qr=null,ko=a},lt.subscribe=function(t,r){de(typeof r=="function","Subscriber callback must be a function"),de(!nn[t],"Topic ".concat(t," is already registered to.")),nn[t]=r},lt.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y;return!!t.frameElement},Co(lt);function Ro(e,t,r,a){var n,i,o=e.contentWindow,l=(n=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&n!==void 0?n:500;if(!o){Ot("Frame does not have a content window",e),r(null);return}if(l===0){To(e,t,r,a);return}var u=setTimeout(function(){u=setTimeout(function(){t.debug?a(So("No response from frame",e)):r(null)},0)},l);lt(o,"axe.ping",null,void 0,function(){clearTimeout(u),To(e,t,r,a)})}function To(e,t,r,a){var n,i,o=(n=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&n!==void 0?n:6e4,l=e.contentWindow,u=setTimeout(function(){a(So("Axe in frame timed out",e))},o);lt(l,"axe.start",t,void 0,function(s){clearTimeout(u),s instanceof Error?a(s):r(s)})}function So(e,t){var r;return v._tree&&(r=Ha(t)),new Error(e+": "+(r||t))}function sf(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Zr=sf;function cf(e,t,r){if(Array.isArray(e))return e.find(function(a){return P(a)==="object"&&a[t]===r})}var wr=cf;function df(e,t,r){e.forEach(function(a){a.node=ot.fromFrame(a.node,t,r);var n=Zr(a);n.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return ot.fromFrame(o,t,r)})})})}function ff(e,t){for(var r=t[0].node,a=0;a0||i===0&&r.selector.length0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=Math.max(e==null?void 0:e.length,t==null?void 0:t.length),a=0;a(t.left|0)&&(e.top|0)<(t.bottom|0)&&(e.bottom|0)>(t.top|0)}var qo=tt(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(qo(t.parent))}),sn=qo,Af=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Ff=/(\w+)\((\d+)/;function Lo(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Bo(e){return e.props.nodeName==="area"?!1:e.getComputedStylePropertyValue("display")==="none"}function Vo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return!r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function jo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return!!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Ho(e){return e.attr("aria-hidden")==="true"}function zo(e){return e.getComputedStylePropertyValue("opacity")==="0"}function Uo(e){var t=gt(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(r===0||a===0)}function $o(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return!1;var a=e.boundingClientRect,n=sn(e);return n.length?n.some(function(i){var o=i.boundingClientRect;return o.width<2||o.height<2?!0:!Mo(a,o)}):!1}function Wo(e){var t=e.getComputedStylePropertyValue("clip").match(Af),r=e.getComputedStylePropertyValue("clip-path").match(Ff);if(t&&t.length===5){var a=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case"inset":return i>=50;case"circle":return i===0}}return!1}function cn(e,t){var r=We(e,"map");if(!r)return!0;var a=r.attr("name");if(!a)return!0;var n=_r(e.actualNode);if(!n||n.nodeType!==9)return!0;var i=Xe(v._tree,'img[usemap="#'.concat(Ee(a),'"]'));return!i||!i.length?!0:i.some(function(o){return!t(o)})}function Go(e){var t;if(((t=e.parent)===null||t===void 0?void 0:t.props.nodeName)!=="details")return!1;if(e.props.nodeName==="summary"){var r=e.parent.children.find(function(a){return a.props.nodeName==="summary"});if(r===e)return!1}return!e.parent.hasAttr("open")}var Cf=[Bo,Vo,jo,Go];function _t(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor,n=a===void 0?!1:a;return e=e instanceof J?e:L(e),r?Yo(e,n):Ko(e,n)}var Yo=tt(function(t,r){return Lo(t)?!0:t.actualNode?!!(Cf.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):!1}),Ko=tt(function(t,r){return Yo(t,r)?!0:t.parent?Ko(t.parent,!0):!1});function Xo(e){if(e.assignedSlot)return Xo(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Ne=Xo;function kf(e){if(!e.nodeType&&e.document&&(e=e.document),e.nodeType===9){var t=e.documentElement,r=e.body;return{left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return{left:e.scrollLeft,top:e.scrollTop}}var Jo=kf;function Rf(e){var t=Jo(T),r=t.left,a=t.top,n=e.getBoundingClientRect();return{top:n.top+a,right:n.right+r,bottom:n.bottom+a,left:n.left+r,width:n.right-n.left,height:n.bottom-n.top}}var dn=Rf;function Tf(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(r)return{width:r.clientWidth,height:r.clientHeight};var a=t.body;return{width:a.clientWidth,height:a.clientHeight}}var ra=Tf;function Sf(e,t){for(e=Ne(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return!1;e=Ne(e)}return!0}function Of(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return!1;if(e=e instanceof J?e.actualNode:e,!!e){var a,n=T.documentElement,i=y.getComputedStyle(e),o=y.getComputedStyle(T.body||n).getPropertyValue("direction"),l=dn(e);if(l.bottom<0&&(Sf(e,l.bottom)||i.position==="absolute"))return!0;if(l.left===0&&l.right===0)return!1;if(o==="ltr"){if(l.right<=0)return!0}else if(a=Math.max(n.scrollWidth,ra(y).width),l.left>=a)return!0;return!1}}var aa=Of,If=[zo,Uo,$o,Wo,aa];function rt(e){return e=e instanceof J?e:L(e),fn(e)}var fn=tt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!cn(t,fn):_t(t,{skipAncestors:!0,isAncestor:r})||t.actualNode&&If.some(function(a){return a(t,{isAncestor:r})})?!1:t.parent?fn(t.parent,!0):!0});function Qo(e,t){var r=Math.min(e.top,t.top),a=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new y.DOMRect(i,r,a-i,n-r)}function pn(e,t){var r=e.x,a=e.y,n=t.top,i=t.right,o=t.bottom,l=t.left;return a>=n&&r<=i&&a<=o&&r>=l}function Qt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:T.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(ae.get("gridCreated")&&!r)return Z.gridSize;if(ae.set("gridCreated",!0),!r){var a,n=L(T.documentElement);if(n||(n=new $n(T.documentElement)),n._stackingOrder=[0],(a=t)!==null&&a!==void 0||(t=new mn),Zo(t,n),gt(n.actualNode)){var i=new mn(n);n._subGrid=i}}for(var o=T.createTreeWalker(e,y.NodeFilter.SHOW_ELEMENT,null,!1),l=r?o.nextNode():o.currentNode;l;){var u=L(l);u&&u.parent?r=u.parent:l.assignedSlot?r=L(l.assignedSlot):l.parentElement?r=L(l.parentElement):l.parentNode&&L(l.parentNode)&&(r=L(l.parentNode)),u||(u=new v.VirtualNode(l,r)),u._stackingOrder=Nf(u,r);var s=Mf(u,r),c=s?s._subGrid:t;if(gt(u.actualNode)){var d=new mn(u);u._subGrid=d}var f=u.boundingClientRect;f.width!==0&&f.height!==0&&rt(l)&&Zo(c,u),ta(l)&&Qt(l.shadowRoot,c,u),l=o.nextNode()}return Z.gridSize}function Pf(e,t){var r=e.getComputedStylePropertyValue("position"),a=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||a!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return!0;var n=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(n!=="none")return!0;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return!0;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return!0;var l=e.getComputedStylePropertyValue("perspective");if(l&&l!=="none")return!0;var u=e.getComputedStylePropertyValue("clip-path");if(u&&u!=="none")return!0;var s=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(s!=="none")return!0;var c=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(c!=="none")return!0;var d=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(d!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return!0;var f=e.getComputedStylePropertyValue("will-change");if(f==="transform"||f==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return!0;var p=e.getComputedStylePropertyValue("contain");if(["layout","paint","strict","content"].includes(p))return!0;if(a!=="auto"&&t){var m=t.getComputedStylePropertyValue("display");if(["flex","inline-flex","inline flex","grid","inline-grid","inline grid"].includes(m))return!0}return!1}function Nf(e,t){var r=t._stackingOrder.slice(),a=e.getComputedStylePropertyValue("z-index"),n=e.getComputedStylePropertyValue("position")!=="static",i=e.getComputedStylePropertyValue("float")!=="none";if(n&&!["auto","0"].includes(a)){for(;r.find(function(l){return l%1!==0});){var o=r.findIndex(function(l){return l%1!==0});r.splice(o,1)}r[r.length-1]=parseInt(a)}return Pf(e,t)?r.push(0):n?r.push(.5):i&&r.push(.25),r}function Mf(e,t){for(var r=null,a=[e];t;){if(gt(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=L(t.actualNode.parentElement||t.actualNode.parentNode)}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function Zo(e,t){t.clientRects.forEach(function(r){var a;(a=t._grid)!==null&&a!==void 0||(t._grid=e);var n=e.getGridPositionOfRect(r);e.loopGridPosition(n,function(i){i.includes(t)||i.push(t)})})}var mn=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;pr(this,e),this.container=t,this.cells=[]}return mr(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/Z.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;de(this.boundaries,"Grid does not have cells added");var l=this.toGridIndex(o),u=this.toGridIndex(i);de(pn({y:l,x:u},this.boundaries),"Element midpoint exceeds the grid bounds");var s=(a=this.cells[l-this.cells._negativeIndex])!==null&&a!==void 0?a:[];return(n=s[u-s._negativeIndex])!==null&&n!==void 0?n:[]}},{key:"loopGridPosition",value:function(r,a){var n=r,i=n.left,o=n.right,l=n.top,u=n.bottom;this.boundaries&&(r=Qo(this.boundaries,r)),this.boundaries=r,el(this.cells,l,u,function(s,c){el(s,i,o,function(d,f){a(d,{row:c,col:f})})})}},{key:"getGridPositionOfRect",value:function(r){var a=r.top,n=r.right,i=r.bottom,o=r.left,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return a=this.toGridIndex(a-l),n=this.toGridIndex(n+l-1),i=this.toGridIndex(i+l-1),o=this.toGridIndex(o-l),new y.DOMRect(o,a,n-o,i-a)}}]),e}();function el(e,t,r,a){var n;if((n=e._negativeIndex)!==null&&n!==void 0||(e._negativeIndex=0),t1&&arguments[1]!==void 0?arguments[1]:0;if(Qt(),!((t=e._grid)!==null&&t!==void 0&&(r=t.cells)!==null&&r!==void 0&&r.length))return[];var n=e.boundingClientRect,i=e._grid,o=vn(e),l=i.getGridPositionOfRect(n,a),u=[];return i.loopGridPosition(l,function(s){var c=Ze(s),d;try{for(c.s();!(d=c.n()).done;){var f=d.value;f&&f!==e&&!u.includes(f)&&o===vn(f)&&u.push(f)}}catch(p){c.e(p)}finally{c.f()}}),u}var vn=tt(function(e){return e?e.getComputedStylePropertyValue("position")==="fixed"?!0:vn(e.parent):!1}),qf=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Lf(e){return qf.includes(e)}function Bf(e){var t=e instanceof J?e:L(e);if(Lf(t.props.nodeName)&&t.hasAttr("disabled"))return!0;for(var r=t.parent,a=[],n=!1;r&&r.shadowId===t.shadowId&&!n&&(a.push(r),r.props.nodeName!=="legend");){if(r._inDisabledFieldset!==void 0){n=r._inDisabledFieldset;break}r.props.nodeName==="fieldset"&&r.hasAttr("disabled")&&(n=!0),r=r.parent}return a.forEach(function(i){return i._inDisabledFieldset=n}),n?!0:t.props.nodeName!=="area"&&t.actualNode?_t(t):!1}var gn=Bf,Vf=/^\/\#/,jf=/^#[!/]/;function bn(e){var t,r=e.getAttribute("href");if(!r||r==="#")return!1;if(Vf.test(r))return!0;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,l=e.pathname;if(jf.test(a))return!1;if(r.charAt(0)==="#")return!0;if(typeof((t=y.location)===null||t===void 0?void 0:t.origin)!="string"||y.location.origin.indexOf("://")===-1)return null;var u=y.location.origin+y.location.pathname,s;return i?s="".concat(n,"//").concat(i).concat(o?":".concat(o):""):s=y.location.origin,l?s+=(l[0]!=="/"?"/":"")+l:s+=y.location.pathname,s===u}function Hf(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!bn(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=T.getElementById(r);return a||(a=T.getElementsByName(r),a.length?a[0]:null)}var yn=Hf;function Dn(e,t){Qt();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),a=0;a"u")return-1;if(typeof e._stackingOrder[a]>"u"||t._stackingOrder[a]>e._stackingOrder[a])return 1;if(t._stackingOrder[a]=a||n>=i?null:new y.DOMRect(r,n,a-r,i-n)}function il(e,t){var r=e.boundingClientRect,a=t.boundingClientRect,n=zf(r,a),i=Uf(n,r,a);return $f(n,i)}function zf(e,t){var r=[["x","left","right","width"],["y","top","bottom","height"]],a={};return r.forEach(function(n){var i=ve(n,4),o=i[0],l=i[1],u=i[2],s=i[3];if(t[l]e[u]){a[o]=e[l]+e[s]/2;return}var c=t[l]+t[s]/2,d=Math.abs(c-e[l]),f=Math.abs(c-e[u]);d>=f?a[o]=e[l]:a[o]=e[u]}),a}function Uf(e,t,r){var a=e.x,n=e.y;if(Wf({x:a,y:n},r)){var i=Gf({x:a,y:n},t,r);if(i!==null)return i;r=t}var o=r,l=o.top,u=o.right,s=o.bottom,c=o.left,d=a>=c&&a<=u,f=n>=l&&n<=s,p=Math.abs(c-a)=t.top&&r<=t.right&&a<=t.bottom&&r>=t.left}function Gf(e,t,r){var a=e.x,n=e.y,i,o;if(a===t.left&&t.rightr.left&&(i=t.left),n===t.top&&t.bottomr.top&&(o=t.top),!i&&!o)return null;if(o){if(!i)return{x:a,y:o}}else return{x:i,y:n};return Math.abs(a-i)=a.right||r.right<=a.left||r.top>=a.bottom||r.bottom<=a.top?!1:Dn(e,t)>0}function ll(e,t){var r=[e],a=Ze(t),n;try{var i=function(){var l=n.value;r=r.reduce(function(u,s){return u.concat(Yf(s,l))},[])};for(a.s();!(n=a.n()).done;)i()}catch(o){a.e(o)}finally{a.f()}return r}function Yf(e,t){var r=e.top,a=e.left,n=e.bottom,i=e.right,o=rt.top,l=at.left,u=[];return na(t.top,r,n)&&l&&u.push({top:r,left:a,bottom:t.top,right:i}),na(t.right,a,i)&&o&&u.push({top:r,left:t.right,bottom:n,right:i}),na(t.bottom,r,n)&&l&&u.push({top:t.bottom,right:i,bottom:n,left:a}),na(t.left,a,i)&&o&&u.push({top:r,left:a,bottom:n,right:t.left}),u.length===0&&u.push(e),u.map(Kf)}var na=function(t,r,a){return t>r&&t2&&arguments[2]!==void 0?arguments[2]:!1,a=wn(t),n=e.getCellFromPoint(a)||[],i=Math.floor(a.x),o=Math.floor(a.y),l=n.filter(function(s){return s.clientRects.some(function(c){var d=c.left,f=c.top;return i=Math.floor(d)&&o=Math.floor(f)})}),u=e.container;return u&&(l=_n(u._grid,u.boundingClientRect,!0).concat(l)),r||(l=l.sort(Dn).map(function(s){return s.actualNode}).concat(T.documentElement).filter(function(s,c,d){return d.indexOf(s)===c})),l}function Xf(e){Qt();var t=L(e),r=t._grid;return r?_n(r,t.boundingClientRect):[]}var ul=Xf;function Jf(e){var t=Xe(e,"*"),r=t.filter(function(a){var n=a.isFocusable,i=a.actualNode.getAttribute("tabindex");return i=i&&!isNaN(parseInt(i,10))?parseInt(i):null,i?n&&i>=0:n});return r}var sl=Jf,xr={};De(xr,{accessibleText:function(){return Pt},accessibleTextVirtual:function(){return $e},autocomplete:function(){return Lt},formControlValue:function(){return jl},formControlValueMethods:function(){return On},hasUnicode:function(){return Pn},isHumanInterpretable:function(){return Mn},isIconLigature:function(){return Nn},isValidAutocomplete:function(){return Wl},label:function(){return Sm},labelText:function(){return Rn},labelVirtual:function(){return sa},nativeElementType:function(){return Im},nativeTextAlternative:function(){return Sl},nativeTextMethods:function(){return Tl},removeUnicode:function(){return kr},sanitize:function(){return K},subtreeText:function(){return xt},titleText:function(){return oa},unsupported:function(){return Ol},visible:function(){return Gl},visibleTextNodes:function(){return Pm},visibleVirtual:function(){return dt}});function Qf(e,t){e=e.actualNode||e;try{var r=je(e),a=[],n=e.getAttribute(t);if(n){n=qe(n);for(var i=0;i1&&arguments[1]!==void 0?arguments[1]:{};if(!(e instanceof J)){if(e.nodeType!==1)return"";e=L(e)}if(e.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!e.attr("aria-labelledby"))return"";var r=ut(e,"aria-labelledby").filter(function(a){return a});return r.reduce(function(a,n){var i=Pt(n,ne({inLabelledByContext:!0,startNode:t.startNode||e},t));return a?"".concat(a," ").concat(i):i},"")}var Er=ep;function tp(e){if(!(e instanceof J)){if(e.nodeType!==1)return"";e=L(e)}return e.attr("aria-label")||""}var Ar=tp,rp={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"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-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"}},cl=rp,ap={alert:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"widget",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-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:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",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:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"widget",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-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-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-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:"widget",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-readonly"],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:"widget",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:"widget",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"]}},dl=ap,np={"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"]}},ip=np,op={"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}},lp=op,up={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-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","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],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,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:["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","menuitem","menuitemcheckbox","menuitemradio","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},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"]}},sp=up,cp={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]},dp=cp,fl={ariaAttrs:cl,ariaRoles:ne({},dl,ip,lp),htmlElms:sp,cssColors:dp},Zt=ne({},fl);function fp(e){Object.keys(Zt).forEach(function(t){e[t]&&(Zt[t]=on(Zt[t],e[t]))})}function pp(){Object.keys(Zt).forEach(function(e){Zt[e]=fl[e]})}var ue=Zt;function mp(e){var t=ue.ariaRoles[e];return t?!!t.unsupported:!1}var xn=mp;function hp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,a=t.flagUnsupported,n=a===void 0?!1:a,i=ue.ariaRoles[e],o=xn(e);return!i||n&&o?!1:r?!0:i.type!=="abstract"}var er=hp;function vp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,a=t.abstracts,n=t.dpub;if(e=e instanceof J?e:L(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?qe(i):[i],l=o.find(function(u){return!n&&u.substr(0,4)==="doc-"?!1:er(u,{allowAbstract:a})});return l||null}var ge=vp;function gp(e){return Object.keys(ue.htmlElms).filter(function(t){var r=ue.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):r.variant&&r.variant.default&&r.variant.default.contentTypes?r.variant.default.contentTypes.includes(e):!1})}var En=gp;function bp(){return ae.get("globalAriaAttrs",function(){return Object.keys(ue.ariaAttrs).filter(function(e){return ue.ariaAttrs[e].global})})}var Nt=bp;function yp(e){for(var t=[],r=e.rows,a=0,n=r.length;a1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(t){var r=We(t,"table"),a=ge(r);return["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(tr(t))return"columnheader";if(rr(t))return"rowheader"},thead:"rowgroup",tr:"row",ul:"list"},Cn=Fp;function Cp(e,t){var r=P(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return!!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var a=t.substring(1,t.length-1);return new RegExp(a).test(e)}}return t===e}var Mt=Cp;function kp(e,t){return Mt(!!$e(e),t)}var hl=kp;function Rp(e,t){var r=P(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(a){return Mt(e(a),t[a])})}var kn=Rp;function Tp(e,t){return e instanceof J||(e=L(e)),kn(function(r){return e.attr(r)},t)}var vl=Tp;function Sp(e,t){return!!t(e)}var gl=Sp;function Op(e,t){return Mt(ge(e),t)}var bl=Op;function Ip(e,t){return Mt(ct(e),t)}var yl=Ip;function Pp(e,t){return e instanceof J||(e=L(e)),Mt(e.props.nodeName,t)}var Dl=Pp;function Np(e,t){return e instanceof J||(e=L(e)),kn(function(r){return e.props[r]},t)}var wl=Np;function Mp(e,t){return Mt(se(e),t)}var _l=Mp,xl={hasAccessibleName:hl,attributes:vl,condition:gl,explicitRole:bl,implicitRole:yl,nodeName:Dl,properties:wl,semanticRole:_l};function El(e,t){return e instanceof J||(e=L(e)),Array.isArray(t)?t.some(function(r){return El(e,r)}):typeof t=="string"?Wa(e,t):Object.keys(t).every(function(r){if(!xl[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=xl[r],n=t[r];return a(e,n)})}var Al=El;function qp(e,t){return Al(e,t)}var Ye=qp;Ye.hasAccessibleName=hl,Ye.attributes=vl,Ye.condition=gl,Ye.explicitRole=bl,Ye.fromDefinition=Al,Ye.fromFunction=kn,Ye.fromPrimative=Mt,Ye.implicitRole=yl,Ye.nodeName=Dl,Ye.properties=wl,Ye.semanticRole=_l;var Fr=Ye;function Lp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?!1:r,n=ue.htmlElms[e.props.nodeName];if(!n)return{};if(!n.variant)return n;var i=n.variant,o=Ve(n,uc);for(var l in i)if(!(!i.hasOwnProperty(l)||l==="default")){for(var u=i[l],s=u.matches,c=Ve(u,sc),d=Array.isArray(s)?s:[s],f=0;f"u"&&(o[m]=i.default[m]);return o}var qt=Lp;function Bp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof J?e:L(e);if(e=a.actualNode,!a)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=a.props.nodeName,i=Cn[n];if(!i&&r){var o=qt(a),l=o.chromiumRole;return l||null}return typeof i=="function"?i(a):i||null}var ct=Bp,Vp={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 Fl(e,t){var r=Vp[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var a=ge(e.parent,t);return["none","presentation"].includes(a)&&!kl(e.parent)?a:a?null:Fl(e.parent,t)}function Cl(e,t){var r=t.chromium,a=Ve(t,cc),n=ct(e,{chromium:r});if(!n)return null;var i=Fl(e,a);return i||n}function kl(e){var t=Nt().some(function(r){return e.hasAttr(r)});return t||Ae(e)}function jp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=Ve(t,dc),n=e instanceof J?e:L(e);if(n.props.nodeType!==1)return null;var i=ge(n,a);return i?["presentation","none"].includes(i)&&kl(n)?r?null:Cl(n,a):i:r?null:Cl(n,a)}function Hp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=Ve(t,fc),n=jp(e,a);return r&&["presentation","none"].includes(n)?null:n}var se=Hp,zp=["iframe"];function Up(e){var t=e instanceof J?e:L(e);return t.props.nodeType!==1||!e.hasAttr("title")||!Ye(t,zp)&&["none","presentation"].includes(se(t))?"":t.attr("title")}var oa=Up;function $p(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof J?e:L(e),e.props.nodeType!==1)return!1;var a=se(e),n=ue.ariaRoles[a];return n&&n.nameFromContent?!0:r?!1:!n||["presentation","none"].includes(a)}var Rl=$p;function Wp(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var a=ut(t,"aria-owns").filter(function(n){return!!n}).map(function(n){return v.utils.getNodeFromTree(n)});return[].concat(ee(r),ee(a))}return ee(r)}var Cr=Wp;function Gp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=$e.alreadyProcessed;t.startNode=t.startNode||e;var a=t,n=a.strict,i=a.inControlContext,o=a.inLabelledByContext,l=qt(e,{noMatchAccessibleName:!0}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||!Rl(e,{strict:n})&&!t.subtreeDescendant)return"";if(!n){var s=!i&&!o;t=ne({subtreeDescendant:s},t)}return Cr(e).reduce(function(c,d){return Kp(c,d,t)},"")}var Yp=En("phrasing").concat(["#text"]);function Kp(e,t,r){var a=t.props.nodeName,n=$e(t,r);return n?(Yp.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var xt=Gp;function Xp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=$e.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return"";t.startNode||(t.startNode=e);var a=ne({inControlContext:!0},t),n=Jp(e),i=We(e,"label"),o;return i?(o=[].concat(ee(n),[i.actualNode]),o.sort(ni)):o=n,o.map(function(l){return Pt(l,a)}).filter(function(l){return l!==""}).join(" ")}function Jp(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return No({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var Rn=Xp,Qp={submit:"Submit",image:"Submit",reset:"Reset",button:""},Zp={valueText:function(t){var r=t.actualNode;return r.value||""},buttonDefaultText:function(t){var r=t.actualNode;return Qp[r.type]||""},tableCaptionText:la.bind(null,"caption"),figureText:la.bind(null,"figcaption"),svgTitleText:la.bind(null,"title"),fieldsetLegendText:la.bind(null,"legend"),altText:Tn.bind(null,"alt"),tableSummaryText:Tn.bind(null,"summary"),titleText:oa,subtreeText:xt,labelText:Rn,singleSpace:function(){return" "},placeholderText:Tn.bind(null,"placeholder")};function Tn(e,t){return t.attr(e)||""}function la(e,t,r){var a=t.actualNode;e=e.toLowerCase();var n=[e,a.nodeName.toLowerCase()].join(","),i=a.querySelector(n);return!i||i.nodeName.toLowerCase()!==e?"":Pt(i,r)}var Tl=Zp;function em(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(se(e)))return"";var a=tm(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&v.log(n||"{empty-value}",r,t),n}function tm(e){var t=qt(e,{noMatchAccessibleName:!0}),r=t.namingMethods||[];return r.map(function(a){return Tl[a]})}var Sl=em,rm={accessibleNameFromFieldValue:["combobox","listbox","progressbar"]},Ol=rm;function Fe(e){return e=e instanceof J?e:L(e),Sn(e)}var Sn=tt(function(t,r){return Ho(t)?!1:t.actualNode&&t.props.nodeName==="area"?!cn(t,Sn):_t(t,{skipAncestors:!0,isAncestor:r})?!1:t.parent?Sn(t.parent,!0):!0});function Il(e,t,r){var a=e instanceof J?e:L(e),n=t?Fe:rt,i=!e.actualNode||e.actualNode&&n(e),o=a.children.map(function(l){var u=l.props,s=u.nodeType,c=u.nodeValue;if(s===3){if(c&&i)return c}else if(!r)return Il(l,t)}).join("");return K(o)}var dt=Il,am=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function nm(e){e=e instanceof J?e:L(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!am.includes((e.attr("type")||"").toLowerCase())}var Pl=nm;function im(e){e=e instanceof J?e:L(e);var t=e.props.nodeName;return t==="select"}var Nl=im;function om(e){var t=ge(e);return t==="textbox"}var Ml=om;function lm(e){var t=ge(e);return t==="listbox"}var ql=lm;function um(e){var t=ge(e);return t==="combobox"}var Ll=um,sm=["progressbar","scrollbar","slider","spinbutton"];function cm(e){var t=ge(e);return sm.includes(t)}var Bl=cm,dm=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],On={nativeTextboxValue:pm,nativeSelectValue:mm,ariaTextboxValue:hm,ariaListboxValue:Vl,ariaComboboxValue:vm,ariaRangeValue:gm};function fm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=Ol.accessibleNameFromFieldValue||[],n=se(e);if(t.startNode===e||!dm.includes(n)||a.includes(n))return"";var i=Object.keys(On).map(function(l){return On[l]}),o=i.reduce(function(l,u){return l||u(e,t)},"");return t.debug&&Ot(o||"{empty-value}",r,t),o}function pm(e){var t=e instanceof J?e:L(e);return Pl(t)&&t.props.value||""}function mm(e){var t=e instanceof J?e:L(e);if(!Nl(t))return"";var r=Xe(t,"option"),a=r.filter(function(n){return n.props.selected});return a.length||a.push(r[0]),a.map(function(n){return dt(n)}).join(" ")||""}function hm(e){var t=e instanceof J?e:L(e),r=t.actualNode;return Ml(t)?!r||r&&!_t(r)?dt(t,!0):r.textContent:""}function Vl(e,t){var r=e instanceof J?e:L(e);if(!ql(r))return"";var a=Cr(r).filter(function(n){return se(n)==="option"&&n.attr("aria-selected")==="true"});return a.length===0?"":$e(a[0],t)}function vm(e,t){var r=e instanceof J?e:L(e);if(!Ll(r))return"";var a=Cr(r).filter(function(n){return se(n)==="listbox"})[0];return a?Vl(a,t):""}function gm(e){var t=e instanceof J?e:L(e);if(!Bl(t)||!t.hasAttr("aria-valuenow"))return"";var r=+t.attr("aria-valuenow");return isNaN(r)?"0":String(r)}var jl=fm;function Hl(){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 zl(){return/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Ul(){return/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}var In=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\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](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\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]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\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])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\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-\uDDF5\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]|\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(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\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-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\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-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\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-\uDDB3\uDDBC\uDDBD])|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD])|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\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-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\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-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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};function bm(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r?In().test(e):a?Hl().test(e)||Ul().test(e):n?zl().test(e):!1}var Pn=bm;function ym(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,a=e.actualNode.nodeValue.trim();if(!K(a)||Pn(a,{emoji:!0,nonBmp:!0}))return!1;var n=ae.get("canvasContext",function(){return T.createElement("canvas").getContext("2d")}),i=n.canvas;ae.get("fonts")||ae.set("fonts",{});var o=ae.get("fonts"),l=y.getComputedStyle(e.parent.actualNode),u=l.getPropertyValue("font-family");o[u]||(o[u]={occurrences:0,numLigatures:0});var s=o[u];if(s.occurrences>=r){if(s.numLigatures/s.occurrences===1)return!0;if(s.numLigatures===0)return!1}s.occurrences++;var c=30,d="".concat(c,"px ").concat(u);n.font=d;var f=a.charAt(0),p=n.measureText(f).width;if(p<30){var m=30/p;p*=m,c*=m,d="".concat(c,"px ").concat(u)}i.width=p,i.height=c,n.font=d,n.textAlign="left",n.textBaseline="top",n.fillText(f,0,0);var b=new Uint32Array(n.getImageData(0,0,p,c).data.buffer);if(!b.some(function(N){return N}))return s.numLigatures++,!0;n.clearRect(0,0,p,c),n.fillText(a,0,0);var D=new Uint32Array(n.getImageData(0,0,p,c).data.buffer),h=b.reduce(function(N,q,j){return q===0&&D[j]===0||q!==0&&D[j]!==0?N:++N},0),g=a.split("").reduce(function(N,q){return N+n.measureText(q).width},0),x=n.measureText(a).width,E=h/b.length,C=1-x/g;return E>=t&&C>=t?(s.numLigatures++,!0):!1}var Nn=ym;function $l(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=xm(e,t),wm(e,t)||_m(e,t))return"";var r=[Er,Ar,Sl,jl,xt,Dm,oa],a=r.reduce(function(n,i){return t.startNode===e&&(n=K(n)),n!==""?n:i(e,t)},"");return t.debug&&v.log(a||"{empty-value}",e.actualNode,t),a}function Dm(e){return e.props.nodeType!==3?"":e.props.nodeValue}function wm(e,t){return!e||e.props.nodeType!==1||t.includeHidden?!1:!Fe(e)}function _m(e,t){var r,a=t.ignoreIconLigature,n=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!a?!1:Nn(e,n,i)}function xm(e,t){return t.startNode||(t=ne({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=ne({includeHidden:!Fe(e)},t)),t}$l.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?!0:(r.processed.push(t),!1)};var $e=$l;function Em(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(In(),"")),a&&(e=e.replace(Hl(),""),e=e.replace(Ul(),"")),n&&(e=e.replace(zl(),"")),e}var kr=Em;function Am(e){if(!e.length)return 0;var t=["x","i"];if(t.includes(e))return 0;var r=kr(e,{emoji:!0,nonBmp:!0,punctuations:!0});return K(r)?1:0}var Mn=Am,Lt={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"]};function Fm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,a=r===void 0?!1:r,n=t.stateTerms,i=n===void 0?[]:n,o=t.locations,l=o===void 0?[]:o,u=t.qualifiers,s=u===void 0?[]:u,c=t.standaloneTerms,d=c===void 0?[]:c,f=t.qualifiedTerms,p=f===void 0?[]:f;if(e=e.toLowerCase().trim(),i=i.concat(Lt.stateTerms),i.includes(e)||e==="")return!0;s=s.concat(Lt.qualifiers),l=l.concat(Lt.locations),d=d.concat(Lt.standaloneTerms),p=p.concat(Lt.qualifiedTerms);var m=e.split(/\s+/g);if(m[m.length-1]==="webauthn"&&(m.pop(),m.length===0)||!a&&(m[0].length>8&&m[0].substr(0,8)==="section-"&&m.shift(),l.includes(m[0])&&m.shift(),s.includes(m[0])&&(m.shift(),d=[]),m.length!==1))return!1;var b=m[m.length-1];return d.includes(b)||p.includes(b)}var Wl=Fm;function Cm(e){var t,r;return e.attr("aria-labelledby")&&(t=ut(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=L(a);return n?dt(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=K(r),r))?r:null}var ua=Cm;function km(e,t,r){return e=L(e),dt(e,t,r)}var Gl=km;function Rm(e){var t,r,a;if(r=ua(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=Ee(e.attr("id"));if(a=je(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&Gl(t,!0),r)return r}return t=We(e,"label"),r=t&&dt(t,!0),r||null}var sa=Rm;function Tm(e){return e=L(e),sa(e)}var Sm=Tm,Om=[{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"]}],Im=Om;function Yl(e){var t=rt(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(Yl(a))}),r}var Pm=Yl,Nm=tt(function(t){var r=L(t),a=r.boundingClientRect,n=[],i=sn(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||K(o.nodeValue)==="")){var l=Mm(o);qm(l,a)||n.push.apply(n,ee(Lm(l,i)))}}),n.length?n:[a]}),qn=Nm;function Mm(e){var t=T.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function qm(e,t){return e.some(function(r){var a=wn(r);return!pn(a,t)})}function Lm(e,t){var r=[];return e.forEach(function(a){if(!(a.width<1||a.height<1)){var n=t.reduce(function(i,o){return i&&nl(i,o.boundingClientRect)},a);n&&r.push(n)}}),r}function Bm(e){Qt();var t=L(e),r=t._grid;if(!r)return[];var a=qn(e);return a.map(function(n){return _n(r,n)})}var Ln=Bm,Vm=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function jm(e){var t=e instanceof J?e:L(e),r=v.commons.aria.getExplicitRole(t);if(r)return Vm.indexOf(r)!==-1;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 t.props.type!=="hidden";default:return!1}}var Bn=jm,Hm=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Kl(e){return Hm.includes(e.props.nodeName)?!1:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Xl(e,t,r){return Kl(e)||Bn(e.actualNode)||!r&&!!ua(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&Xl(a)})}var Rr=Xl;function zm(e,t,r){return e=L(e),Rr(e,t,r)}var ca=zm;function Vn(e){return typeof e.children>"u"||Kl(e)?!0:e.props.nodeType===1&&Bn(e)?!!v.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return!t.attr("lang")&&Vn(t)&&!_t(t)})}function Um(e){var t=parseInt(e.getAttribute("tabindex"),10);return t>-1&&Ae(e)&&!Fn(e)}var Jl=Um;function Ql(e,t){var r=e instanceof J?e:L(e),a=e instanceof y.Node?e:r==null?void 0:r.actualNode;return r?(r._isHiddenWithCSS===void 0&&(r._isHiddenWithCSS=Zl(a,t)),r._isHiddenWithCSS):Zl(a,t)}function Zl(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return!1;var r=y.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var a=r.getPropertyValue("display");if(a==="none")return!0;var n=["hidden","collapse"],i=r.getPropertyValue("visibility");if(n.includes(i)&&!t||n.includes(i)&&t&&n.includes(t))return!0;var o=Ne(e);return o&&!n.includes(i)?Ql(o,i):!1}var $m=Ql;function Wm(e){var t=e.doctype;return t===null?!1:t.name==="html"&&!t.publicId&&!t.systemId}var eu=Wm;function ft(e){var t=e instanceof J?e:L(e);if(t.props.nodeType!==1)return!1;var r=parseInt(t.attr("tabindex",10));return r<=-1?!1:Ae(t)}function Gm(e){var t;(e instanceof J||(t=y)!==null&&t!==void 0&&t.Node&&e instanceof y.Node)&&(e=v.commons.aria.getRole(e));var r=ue.ariaRoles[e];return(r==null?void 0:r.type)||null}var pt=Gm;function tu(e,t){t(e.actualNode)!==!1&&e.children.forEach(function(r){return tu(r,t)})}var Ym=["block","list-item","table","flex","grid","inline-block"];function ru(e){var t=y.getComputedStyle(e).getPropertyValue("display");return Ym.includes(t)||t.substr(0,6)==="table-"}function Km(e){for(var t=Ne(e);t&&!ru(t);)t=Ne(t);return L(t)}function Xm(e,t){if(ru(e))return!1;var r=Km(e),a="",n="",i=0;return tu(r,function(o){if(i===2)return!1;if(o.nodeType===3&&(a+=o.nodeValue),o.nodeType===1){var l=(o.nodeName||"").toUpperCase();if(o===e&&(i=1),["BR","HR"].includes(l))i===0?(a="",n=""):i=2;else{if(o.style.display==="none"||o.style.overflow==="hidden"||!["",null,"none"].includes(o.style.float)||!["",null,"relative"].includes(o.style.position))return!1;if(pt(o)==="widget")return n+=o.textContent,!1}}}),a=K(a),t!=null&&t.noLengthCompare?a.length!==0:(n=K(n),a.length>n.length)}var jn=Xm;function Jm(e){e=e||{};var t=e.modalPercent||.75;if(ae.get("isModalOpen"))return ae.get("isModalOpen");var r=bt(v._tree[0],"dialog, [role=dialog], [aria-modal=true]",rt);if(r.length)return ae.set("isModalOpen",!0),!0;for(var a=ra(y),n=a.width*t,i=a.height*t,o=(a.width-n)/2,l=(a.height-i)/2,u=[{x:o,y:l},{x:a.width-o,y:l},{x:a.width/2,y:a.height/2},{x:o,y:a.height-l},{x:a.width-o,y:a.height-l}],s=u.map(function(p){return Array.from(T.elementsFromPoint(p.x,p.y))}),c=function(m){var b=s[m].find(function(D){var h=y.getComputedStyle(D);return parseInt(h.width,10)>=n&&parseInt(h.height,10)>=i&&h.getPropertyValue("pointer-events")!=="none"&&(h.position==="absolute"||h.position==="fixed")});if(b&&s.every(function(D){return D.includes(b)}))return ae.set("isModalOpen",!0),{v:!0}},d=0;d1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var a=0,n=0,i=Ze(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var l=o.value;if(!(l.height<=t))if(a>l.top+t)a=Math.max(a,l.bottom);else if(n===0)a=l.bottom,n++;else return!0}}catch(u){i.e(u)}finally{i.f()}return!1}function Qm(e){return e instanceof y.Node}var Zm=Qm,da={},eh={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");return r&&(da[t]=r),da[t]},get:function(t){return da[t]},clear:function(){da={}}},Me=eh;function th(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return Me.set("bgColor","imgNode"),!0;t=t||y.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);Me.set("bgColor",o?"bgGradient":"bgImage")}return i}var fa=th;function rh(e,t,r){if(/%$/.test(t))return r===3?parseFloat(t)/100:parseFloat(t)*255/100;if(e[r]==="h"){if(/turn$/.test(t))return parseFloat(t)*360;if(/rad$/.test(t))return parseFloat(t)*57.3}return parseFloat(t)}function ah(e){var t=ve(e,4),r=t[0],a=t[1],n=t[2],i=t[3];a/=255,n/=255;var o=(1-Math.abs(2*n-1))*a,l=o*(1-Math.abs(r/60%2-1)),u=n-o/2,s;return r<60?s=[o,l,0]:r<120?s=[l,o,0]:r<180?s=[0,o,l]:r<240?s=[0,l,o]:r<300?s=[l,0,o]:s=[o,0,l],s.map(function(c){return Math.round((c+u)*255)}).concat(i)}function nh(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;this.red=e,this.green=t,this.blue=r,this.alpha=a,this.toHexString=function(){var l=Math.round(this.red).toString(16),u=Math.round(this.green).toString(16),s=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?l:"0"+l)+(this.green>15.5?u:"0"+u)+(this.blue>15.5?s:"0"+s)},this.toJSON=function(){var l=this.red,u=this.green,s=this.blue,c=this.alpha;return{red:l,green:u,blue:s,alpha:c}};var n=/^#[0-9a-f]{3,8}$/i,i=/^((?:rgb|hsl)a?)\s*\(([^\)]*)\)/i;this.parseString=function(l){if(ue.cssColors[l]||l==="transparent"){var u=ue.cssColors[l]||[0,0,0],s=ve(u,3),c=s[0],d=s[1],f=s[2];return this.red=c,this.green=d,this.blue=f,this.alpha=l==="transparent"?0:1,this}if(l.match(i))return this.parseColorFnString(l),this;if(l.match(n))return this.parseHexString(l),this;throw new Error('Unable to parse color "'.concat(l,'"'))},this.parseRgbString=function(l){if(l==="transparent"){this.red=0,this.green=0,this.blue=0,this.alpha=0;return}this.parseColorFnString(l)},this.parseHexString=function(l){if(!(!l.match(n)||[6,8].includes(l.length))){if(l=l.replace("#",""),l.length<6){var u=l,s=ve(u,4),c=s[0],d=s[1],f=s[2],p=s[3];l=c+c+d+d+f+f,p&&(l+=p+p)}var m=l.match(/.{1,2}/g);this.red=parseInt(m[0],16),this.green=parseInt(m[1],16),this.blue=parseInt(m[2],16),m[3]?this.alpha=parseInt(m[3],16)/255:this.alpha=1}},this.parseColorFnString=function(l){var u=l.match(i)||[],s=ve(u,3),c=s[1],d=s[2];if(!(!c||!d)){var f=d.split(/\s*[,\/\s]\s*/).map(function(m){return m.replace(",","").trim()}).filter(function(m){return m!==""}),p=f.map(function(m,b){return rh(c,m,b)});c.substr(0,3)==="hsl"&&(p=ah(p)),this.red=p[0],this.green=p[1],this.blue=p[2],this.alpha=typeof p[3]=="number"?p[3]:1}},this.getRelativeLuminance=function(){var l=this.red/255,u=this.green/255,s=this.blue/255,c=l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4),d=u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4),f=s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4);return .2126*c+.7152*d+.0722*f}}var Ge=nh;function ih(e){var t=new Ge;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r}return t}var Bt=ih;function oh(e){var t=y.getComputedStyle(e);return fa(e,t)||Bt(t).alpha===1}var lh=oh;function Hn(e){if(!e.href)return!1;var t=ae.get("firstPageLink",uh);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:!0}function uh(){var e;return y.location.origin?e=Xe(v._tree,'a[href]:not([href^="javascript:"])').find(function(t){return!bn(t.actualNode)}):e=Xe(v._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var sh=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,ch=/(\w+)\((\d+)/;function dh(e){var t=e.getPropertyValue("clip").match(sh),r=e.getPropertyValue("clip-path").match(ch);if(t&&t.length===5){var a=e.getPropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case"inset":return i>=50;case"circle":return i===0}}return!1}function fh(e,t,r){var a=Jt(e,"map");if(!a)return!1;var n=a.getAttribute("name");if(!n)return!1;var i=je(e);if(!i||i.nodeType!==9)return!1;var o=Xe(v._tree,'img[usemap="#'.concat(Ee(n),'"]'));return!o||!o.length?!1:o.some(function(l){var u=l.actualNode;return pa(u,t,r)})}function pa(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof J?e:L(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=y.Node)!==null&&a!==void 0?a:{},l=o.DOCUMENT_NODE,u=o.DOCUMENT_FRAGMENT_NODE,s=n?n.props.nodeType:e.nodeType,c=n?n.props.nodeName:e.nodeName.toLowerCase();if(n&&typeof n[i]<"u")return n[i];if(s===l)return!0;if(["style","script","noscript","template"].includes(c))return!1;if(e&&s===u&&(e=e.host),t){var d=n?n.attr("aria-hidden"):e.getAttribute("aria-hidden");if(d==="true")return!1}if(!e){var f=n.parent,p=!0;return f&&(p=pa(f,t,!0)),n&&(n[i]=p),p}var m=y.getComputedStyle(e,null);if(m===null)return!1;if(c==="area")return fh(e,t,r);if(m.getPropertyValue("display")==="none")return!1;var b=parseInt(m.getPropertyValue("height")),D=parseInt(m.getPropertyValue("width")),h=gt(e),g=h&&b===0,x=h&&D===0,E=m.getPropertyValue("position")==="absolute"&&(b<2||D<2)&&m.getPropertyValue("overflow")==="hidden";if(!t&&(dh(m)||m.getPropertyValue("opacity")==="0"||g||x||E)||!r&&(m.getPropertyValue("visibility")==="hidden"||!t&&aa(e)))return!1;var C=e.assignedSlot?e.assignedSlot:e.parentNode,N=!1;return C&&(N=pa(C,t,!0)),n&&(n[i]=N),N}var ph=pa;function mh(e,t){for(var r=["fixed","sticky"],a=[],n=!1,i=0;iMath.ceil(o.left+o.width)||Math.floor(l.top+l.height)>Math.ceil(o.top+o.height))})}function lu(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:T,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(n){return je(n)===r}).reduce(function(n,i){if(ta(i)){var o=lu(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&iu(n[0],i)&&n.push(i)}else n.push(i);return n},[])}var vh=lu;function gh(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=T.createElement("a"),a.href=e.getAttribute(t));var n=["https:","ftps:"].includes(a.protocol)?a.protocol.replace(/s:$/,":"):a.protocol,i=/^\//.test(a.pathname)?a.pathname:"/".concat(a.pathname),o=yh(i),l=o.pathname,u=o.filename;return{protocol:n,hostname:a.hostname,port:bh(a.port),pathname:/\/$/.test(l)?l:"".concat(l,"/"),search:Dh(a.search),hash:wh(a.hash),filename:u}}}function bh(e){var t=["443","80"];return t.includes(e)?"":e}function yh(e){var t=e.split("/").pop();return!t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function Dh(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var a=0;ai.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.rightr.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof y.HTMLBodyElement||t instanceof y.HTMLHtmlElement:!0}var zn=xh,Un,uu=0,Eh=function(e){Oi(r,e);var t=Ii(r);function r(a,n,i){var o;if(pr(this,r),o=t.call(this),o.shadowId=i,o.children=[],o.actualNode=a,o.parent=n,n||(uu=0),o.nodeIndex=uu++,o._isHidden=null,o._cache={},typeof Un>"u"&&(Un=$r(a.ownerDocument)),o._isXHTML=Un,a.nodeName.toLowerCase()==="input"){var l=a.getAttribute("type");l=o._isXHTML?l:(l||"").toLowerCase(),ya().includes(l)||(l="text"),o._type=l}return ae.get("nodeMap")&&ae.get("nodeMap").set(a,Pi(o)),o}return mr(r,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var n=this.actualNode,i=n.nodeType,o=n.nodeName,l=n.id,u=n.multiple,s=n.nodeValue,c=n.value,d=n.selected;this._cache.props={nodeType:i,nodeName:this._isXHTML?o:o.toLowerCase(),id:l,type:this._type,multiple:u,nodeValue:s,value:c,selected:d}}return this._cache.props}},{key:"attr",value:function(n){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(n)}},{key:"hasAttr",value:function(n){return typeof this.actualNode.hasAttribute!="function"?!1:this.actualNode.hasAttribute(n)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var n;this.actualNode.attributes instanceof y.NamedNodeMap?n=this.actualNode.attributes:n=this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(n).map(function(i){return i.name})}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(n){var i="computedStyle_"+n;return this._cache.hasOwnProperty(i)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=y.getComputedStyle(this.actualNode)),this._cache[i]=this._cache.computedStyle.getPropertyValue(n)),this._cache[i]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Ae(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=sl(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(n){return n.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}]),r}(J),$n=Eh;function Ah(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")}var qe=Ah,ar=" [idsMap]";function su(e,t,r){var a=e[0]._selectorMap;if(a){for(var n=e[0].shadowId,i=0;i1&&t[i].some(function(u){return cu(u)}))return;var o=new Set;t.forEach(function(u){var s,c=Fh(u,a,n);c==null||(s=c.nodes)===null||s===void 0||s.forEach(function(d){c.isComplexSelector&&!$t(d,u)||o.add(d)})});var l=[];return o.forEach(function(u){return l.push(u)}),r&&(l=l.filter(r)),l.sort(function(u,s){return u.nodeIndex-s.nodeIndex})}}function Fh(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(cu(a))n=t["*"];else{if(a.id){var o;if(!t[ar]||!((o=t[ar][a.id])!==null&&o!==void 0&&o.length))return;n=t[ar][a.id].filter(function(b){return b.shadowId===r})}if(a.tag&&a.tag!=="*"){var l;if(!((l=t[a.tag])!==null&&l!==void 0&&l.length))return;var u=t[a.tag];n=n?Wn(u,n):u}if(a.classes){var s;if(!((s=t["[class]"])!==null&&s!==void 0&&s.length))return;var c=t["[class]"];n=n?Wn(c,n):c}if(a.attributes)for(var d=0;d0&&arguments[0]!==void 0?arguments[0]:T.documentElement,t=arguments.length>1?arguments[1]:void 0;Gn=!1;var r={};ae.set("nodeMap",new WeakMap),ae.set("selectorMap",r);var a=fu(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=Gn,a}var Kn=kh;function Rh(e){return e?e.trim().split("-")[0].toLowerCase():""}var Vt=Rh;function Th(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var a=v._audit.data.failureSummaries[r];if(a&&typeof a.failureMessage=="function")return a.failureMessage(t[r].map(function(n){return n.message||""}))}}).filter(function(r){return r!==void 0}).join(` + +`)}var Xn=Th;function Jn(){var e=v._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}function Sh(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(a){return Array.isArray(a.relatedNodes)}).forEach(function(a){a.relatedNodes=a.relatedNodes.map(function(n){var i,o={html:(i=n==null?void 0:n.source)!==null&&i!==void 0?i:"Undefined"};if(t.elementRef&&!(n!=null&&n.fromFrame)){var l;o.element=(l=n==null?void 0:n.element)!==null&&l!==void 0?l:null}if(t.selectors!==!1||n!=null&&n.fromFrame){var u;o.target=(u=n==null?void 0:n.selector)!==null&&u!==void 0?u:[":root"]}if(t.ancestry){var s;o.ancestry=(s=n==null?void 0:n.ancestry)!==null&&s!==void 0?s:[":root"]}if(t.xpath){var c;o.xpath=(c=n==null?void 0:n.xpath)!==null&&c!==void 0?c:["/"]}return o})})})}var pu=Z.resultGroups;function Oh(e,t){var r=v.utils.aggregateResult(e);return pu.forEach(function(a){t.resultTypes&&!t.resultTypes.includes(a)&&(r[a]||[]).forEach(function(n){Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=[n.nodes[0]])}),r[a]=(r[a]||[]).map(function(n){return n=Object.assign({},n),Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=n.nodes.map(function(i){return P(i.node)==="object"&&(i.html=i.node.source,t.elementRef&&!i.node.fromFrame&&(i.element=i.node.element),(t.selectors!==!1||i.node.fromFrame)&&(i.target=i.node.selector),t.ancestry&&(i.ancestry=i.node.ancestry),t.xpath&&(i.xpath=i.node.xpath)),delete i.result,delete i.node,Sh(i,t),i})),pu.forEach(function(i){return delete n[i]}),delete n.pageLevel,delete n.result,n})}),r}var Sr=Oh,Ih=/\$\{\s?data\s?\}/g;function ha(e,t){if(typeof t=="string")return e.replace(Ih,t);for(var r in t)if(t.hasOwnProperty(r)){var a=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),n=typeof t[r]>"u"?"":String(t[r]);e=e.replace(a,n)}return e}function mu(e,t){if(e){if(Array.isArray(t)){if(t.values=t.join(", "),typeof e.singular=="string"&&typeof e.plural=="string"){var r=t.length===1?e.singular:e.plural;return ha(r,t)}return ha(e,t)}if(typeof e=="string")return ha(e,t);if(typeof t=="string"){var a=e[t];return ha(a,t)}var n=e.default||Jn();return t&&t.messageKey&&e[t.messageKey]&&(n=e[t.messageKey]),mu(n,t)}}var Qn=mu;function Ph(e,t,r){var a=v._audit.data.checks[e];if(!a)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!a.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return Qn(a.messages[t],r)}var Nh=Ph;function Mh(e,t,r){var a=((r.rules&&r.rules[t]||{}).checks||{})[e.id],n=(r.checks||{})[e.id],i=e.enabled,o=e.options;return n&&(n.hasOwnProperty("enabled")&&(i=n.enabled),n.hasOwnProperty("options")&&(o=n.options)),a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),{enabled:i,options:o,absolutePaths:r.absolutePaths}}var va=Mh;function Et(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y;return t&&P(t)==="object"?t:P(r)!=="object"?{}:{testEngine:{name:"axe-core",version:v.version},testRunner:{name:v._audit.brand},testEnvironment:qh(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function qh(e){if(!e.navigator||P(e.navigator)!=="object")return{};var t=e.navigator,r=e.innerHeight,a=e.innerWidth,n=Lh(e)||{},i=n.angle,o=n.type;return{userAgent:t.userAgent,windowWidth:a,windowHeight:r,orientationAngle:i,orientationType:o}}function Lh(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function hu(e,t){var r=t.focusable,a=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:r&&Bh(e),size:Vh(e),page:a}}function Bh(e){var t=e.getAttribute("tabindex");if(!t)return!0;var r=parseInt(t,10);return isNaN(r)||r>=0}function Vh(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var a=e.getBoundingClientRect();t=isNaN(t)?a.width:t,r=isNaN(r)?a.height:r}return{width:t,height:r}}function jh(e){if(gu(e)){var t=" must be used inside include or exclude. It should not be on the same object.";At(!vt(e,"fromFrames"),"fromFrames"+t),At(!vt(e,"fromShadowDom"),"fromShadowDom"+t)}else if(Zn(e))e={include:e,exclude:[]};else return{include:[T],exclude:[]};var r=vu(e.include);r.length===0&&r.push(T);var a=vu(e.exclude);return{include:r,exclude:a}}function Hh(e){return gu(e)||Zn(e)}function vu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];yu(e)||(e=[e]);for(var r=0;r1)Yh(e,t,i);else{var o=si(i[0]);r.push.apply(r,ee(o.map(function(l){return L(l)})))}}return r.filter(function(l){return l})}function Yh(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=si(a);n.forEach(function(i){var o=e.frames.find(function(l){return l.node===i});o||(o=hu(i,e),e.frames.push(o)),o[t].push(r)})}function ga(e,t){var r,a,n,i,o=this;e=mt(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((a=e)===null||a===void 0?void 0:a.initiator)=="boolean"?e.initiator:!0,this.focusable=typeof((n=e)===null||n===void 0?void 0:n.focusable)=="boolean"?e.focusable:!0,this.size=P((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=jh(e),this.flatTree=t??Kn(Qh(e)),this.exclude=e.exclude,this.include=e.include,this.include=Du(this,"include"),this.exclude=Du(this,"exclude"),ui("frame, iframe",this).forEach(function(l){ri(l,o)&&Kh(o,l.actualNode)}),typeof this.page>"u"&&(this.page=Xh(this),this.frames.forEach(function(l){l.page=o.page})),Jh(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(ni)}function Kh(e,t){!Fe(t)||wr(e.frames,"node",t)||e.frames.push(hu(t,e))}function Xh(e){var t=e.include;return t.length===1&&t[0].actualNode===T.documentElement}function Jh(e){if(e.include.length===0&&e.frames.length===0){var t=lt.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function Qh(e){for(var t=e.include,r=e.exclude,a=Array.from(t).concat(Array.from(r)),n=0;n1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===!1)return[];var r=new ga(e),a=r.frames;return a.map(function(n){var i=n.node,o=Ve(n,pc);o.initiator=!1;var l=Gr(i);return{frameSelector:l,frameContext:o}})}function ev(e){var t=v._audit.rules.find(function(r){return r.id===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}var wu=ev;function gt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,a=e.scrollHeight>e.clientHeight+t;if(r||a){var n=y.getComputedStyle(e),i=_u(n,"overflow-x"),o=_u(n,"overflow-y");if(r&&i||a&&o)return{elm:e,top:e.scrollTop,left:e.scrollLeft}}}function _u(e,t){var r=e.getPropertyValue(t);return["scroll","auto"].includes(r)}function xu(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=gt(r);return a&&t.push(a),t.concat(xu(r))},[])}function tv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y,t=e.document.documentElement,r=[e.pageXOffset!==void 0?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}];return r.concat(xu(T.body))}var rv=tv;function av(){return mt(ue)}function nv(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,a=t.isCrossOrigin,n=a===void 0?!1:a,i=t.shadowId,o=t.root,l=t.priority,u=t.isLink,s=u===void 0?!1:u,c=e.createElement("style");if(s){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d)}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:n,shadowId:i,root:o,priority:l}}}var Eu=nv,Ke;function iv(e){if(Ke&&Ke.parentNode)return Ke.styleSheet===void 0?Ke.appendChild(T.createTextNode(e)):Ke.styleSheet.cssText+=e,Ke;if(e){var t=T.head||T.getElementsByTagName("head")[0];return Ke=T.createElement("style"),Ke.type="text/css",Ke.styleSheet===void 0?Ke.appendChild(T.createTextNode(e)):Ke.styleSheet.cssText=e,t.appendChild(Ke),Ke}}var ov=iv;function Au(e,t){var r=L(e);if(e.nodeType===9)return!1;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var a=y.getComputedStyle(e,null);if(!a||!e.parentNode||a.getPropertyValue("display")==="none"||!t&&a.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return!0;var n=e.assignedSlot?e.assignedSlot:e.parentNode,i=Au(n,!0);return r&&(r._isHidden=i),i}var lv=Au;function uv(e){var t,r,a=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?!1:!!ue.htmlElms[a]}var ti=uv;function ri(e,t){var r=t.include,a=r===void 0?[]:r,n=t.exclude,i=n===void 0?[]:n,o=a.filter(function(c){return Kt(c,e)});if(o.length===0)return!1;var l=i.filter(function(c){return Kt(c,e)});if(l.length===0)return!0;var u=Fu(o),s=Fu(l);return Kt(s,u)}function Fu(e){var t,r=Ze(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;(!t||!Kt(n,t))&&(t=n)}}catch(i){r.e(i)}finally{r.f()}return t}function sv(e,t){return e.length!==t.length?!1:e.every(function(r,a){var n=t[a];return Array.isArray(r)?r.length!==n.length?!1:r.every(function(i,o){return n[o]===i}):r===n})}var ai=sv;function cv(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var ni=cv;function dv(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(c){return c.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var l=o.filter(function(c){return c.href}).map(function(c){return c.href}).filter(function(c){return!a.includes(c)}),u=l.map(function(c,d){var f=[].concat(ee(r),[d]),p=/^https?:\/\/|^\/\//i.test(c);return oi(c,t,f,a,p)}),s=i.filter(function(c){return c.type!==3});return s.length&&u.push(Promise.resolve(t.convertDataToStylesheet({data:s.map(function(c){return c.cssText}).join(),isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)}var Cu=dv;function fv(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,i=pv(e);return i?Cu(e,t,r,a,n):oi(e.href,t,r,a,!0)}function pv(e){try{var t=e.cssRules;return!(!t&&e.href)}catch{return!1}}var ii=fv;function mv(e,t,r,a,n){return a.push(e),new Promise(function(i,o){var l=new y.XMLHttpRequest;l.open("GET",e),l.timeout=Z.preload.timeout,l.addEventListener("error",o),l.addEventListener("timeout",o),l.addEventListener("loadend",function(u){if(u.loaded&&l.responseText)return i(l.responseText);o(l.responseText)}),l.send()}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId});return ii(o.sheet,t,r,a,o.isCrossOrigin)})}var oi=mv,hv=function(){function e(){if(y.performance&&y.performance)return y.performance.now()}var t=null,r=e();return{start:function(){this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function(){this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function(n){y.performance&&y.performance.mark!==void 0&&y.performance.mark(n)},measure:function(n,i,o){y.performance&&y.performance.measure!==void 0&&y.performance.measure(n,i,o)},logMeasures:function(n){function i(c){Ot("Measure "+c.name+" took "+c.duration+"ms")}if(y.performance&&y.performance.getEntriesByType!==void 0)for(var o=y.performance.getEntriesByName("mark_axe_start")[0],l=y.performance.getEntriesByType("measure").filter(function(c){return c.startTime>=o.startTime}),u=0;u>>0,n=arguments[1],i,o=0;o>>0,i,o=0;o=0?i=n:(i=a+n,i<0&&(i=0));for(var o;i>>0,n=arguments.length>=2?arguments[1]:void 0,i=0;i0?1:-1)*Math.floor(Math.abs(l))},a=Math.pow(2,53)-1,n=function(o){var l=r(o);return Math.min(Math.max(l,0),a)};return function(o){var l=this,u=Object(o);if(o==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");var s=arguments.length>1?arguments[1]:void 0,c;if(typeof s<"u"){if(!t(s))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(c=arguments[2])}for(var d=n(u.length),f=t(l)?Object(new l(d)):new Array(d),p=0,m;p"u"?s(m,p):s.call(c,m,p):f[p]=m,p+=1;return f.length=d,f}}()}),String.prototype.includes||(String.prototype.includes=function(e,t){return typeof t!="number"&&(t=0),t+e.length>this.length?!1:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,a){return Array.isArray(a)?r.push.apply(r,e.call(a,t-1)):r.push(a),r},[]):Array.prototype.slice.call(this)},writable:!0}),y.Node&&!("isConnected"in y.Node.prototype)&&Object.defineProperty(y.Node.prototype,"isConnected",{get:function(){return!this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});function vv(e,t){return e.concat(t).filter(function(r,a,n){return n.indexOf(r)===a})}var Or=vv;function Ru(e,t,r,a,n){var i=n||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=a,i}var li=[];function gv(e,t,r){for(var a=[],n=Array.isArray(e)?e:[e],i=Ru(n,t,null,e[0].shadowId,li.pop()),o=[];i.vNodesIndex"].includes(x[0].combinator)===!1)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+g[1].combinator);x[0].combinator===">"?(c=c||[]).push(x):(d=d||[]).push(x)}(!g[0].id||s.shadowId===i.parentShadowId)&&(h=i.anyLevel)!==null&&h!==void 0&&h.includes(g)&&(d=d||[]).push(g)}for(s.children&&s.children.length&&(a.push(i),i=Ru(s.children,d,c,s.shadowId,li.pop()));i.vNodesIndex===i.vNodes.length&&a.length;)li.push(i),i=a.pop()}return o}function bv(e,t,r){e=Array.isArray(e)?e:[e];var a=Yr(t),n=su(e,a,r);return n||gv(e,a,r)}var bt=bv;function yv(e){var t=e.treeRoot,r=t===void 0?v._tree[0]:t,a=Dv(r);if(!a.length)return Promise.resolve();var n=T.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=Eu(n);return wv(a,i).then(function(o){return Su(o)})}var Tu=yv;function Dv(e){var t=[],r=bt(e,"*",function(a){return t.includes(a.shadowId)?!1:(t.push(a.shadowId),!0)}).map(function(a){return{shadowId:a.shadowId,rootNode:_r(a.actualNode)}});return Or(r,[])}function wv(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,l=_v(i,o,t);if(!l)return Promise.all(r);var u=n+1,s={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:u},c=[],d=Promise.all(l.map(function(f,p){var m=[u,p];return ii(f,s,m,c)}));r.push(d)}),Promise.all(r)}function Su(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(Su(r)):t.concat(r)},[])}function _v(e,t,r){var a;return e.nodeType===11&&t?a=xv(e,r):a=Ev(e),Fv(a)}function xv(e,t){return Array.from(e.children).filter(Av).reduce(function(r,a){var n=a.nodeName.toUpperCase(),i=n==="STYLE"?a.textContent:a,o=n==="LINK",l=t({data:i,isLink:o,root:e});return r.push(l.sheet),r},[])}function Ev(e){return Array.from(e.styleSheets).filter(function(t){return t.media?Ou(t.media.mediaText):!1})}function Av(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),a=e.getAttribute("rel"),n=t==="LINK"&&r&&a&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||n&&Ou(e.media)}function Ou(e){return e?!e.toUpperCase().includes("PRINT"):!0}function Fv(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?!1:(t.push(r.href),!0):!0})}function Cv(e){var t=e.treeRoot,r=t===void 0?v._tree[0]:t,a=bt(r,"video, audio",function(n){var i=n.actualNode;if(i.hasAttribute("src"))return!!i.getAttribute("src");var o=Array.from(i.getElementsByTagName("source")).filter(function(l){return!!l.getAttribute("src")});return!(o.length<=0)});return Promise.all(a.map(function(n){var i=n.actualNode;return kv(i)}))}var Iu=Cv;function kv(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e)}e.addEventListener("loadedmetadata",r)})}function Rv(e){return P(e)==="object"&&Array.isArray(e.assets)}function Pu(e){return!e||e.preload===void 0||e.preload===null?!0:typeof e.preload=="boolean"?e.preload:Rv(e.preload)}function Nu(e){var t=Z.preload,r=t.assets,a=t.timeout,n={assets:r,timeout:a};if(!e.preload||typeof e.preload=="boolean")return n;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return n.assets=Or(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(n.timeout=e.preload.timeout),n}function Tv(e){var t={cssom:Tu,media:Iu};return Pu(e)?new Promise(function(r,a){var n=Nu(e),i=n.assets,o=n.timeout,l=setTimeout(function(){return a(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(u){return t[u](e).then(function(s){return Ec({},u,s)})})).then(function(u){var s=u.reduce(function(c,d){return ne({},c,d)},{});clearTimeout(l),r(s)}).catch(function(u){clearTimeout(l),a(u)})}):Promise.resolve()}var Mu=Tv;function Sv(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:Jn()}if(e&&e.missingData)try{var a=t.incomplete[e.missingData[0].reason];if(!a)throw new Error;return a}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function qu(e,t,r){return function(a){var n=e[a.id]||{},i=n.messages||{},o=Object.assign({},n);delete o.messages,!r.reviewOnFail&&a.result===void 0?(P(i.incomplete)==="object"&&!Array.isArray(a.data)&&(o.message=Sv(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=Qn(o.message,a.data)),ln(a,o)}}function Ov(e){var t=v._audit.data.checks||{},r=v._audit.data.rules||{},a=wr(v._audit.rules,"id",e.id)||{};e.tags=mt(a.tags||[]);var n=qu(t,!0,a),i=qu(t,!1,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i)}),ln(e,mt(r[e.id]||{}))}var ba=Ov;function Iv(e,t){return bt(e,t)}var Xe=Iv;function Lu(e,t){var r,a,n,i=v._audit&&v._audit.tagExclude?v._audit.tagExclude:[];return t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],a=t.exclude||[],a=Array.isArray(a)?a:[a],a=a.concat(i.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],a=i.filter(function(o){return r.indexOf(o)===-1})),n=r.some(function(o){return e.tags.indexOf(o)!==-1}),n||r.length===0&&e.enabled!==!1?a.every(function(o){return e.tags.indexOf(o)===-1}):!1}function Pv(e,t,r){var a=r.runOnly||{},n=(r.rules||{})[e.id];return e.pageLevel&&!t.page?!1:a.type==="rule"?a.values.indexOf(e.id)!==-1:n&&typeof n.enabled=="boolean"?n.enabled:a.type==="tag"&&a.values?Lu(e,a.values):Lu(e,[])}var Bu=Pv;function Vu(e,t){if(!t)return e;var r=e.cloneNode(!1),a=Ur(r);if(r.nodeType===1){var n=r.outerHTML;r=ae.get(n,function(){return ju(r,a,e,t)})}else r=ju(r,a,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Vu(i,t))}),r}function ju(e,t,r,a){return t&&(e=T.createElement(e.nodeName),Array.from(t).forEach(function(n){Nv(r,n.name,a)||e.setAttribute(n.name,n.value)})),e}function Nv(e,t,r){return typeof r[t]>"u"?!1:r[t]===!0?!0:zt(e,r[t])}function ui(e,t){var r=[],a;if(v._selectCache)for(var n=0,i=v._selectCache.length;n1&&arguments[1]!==void 0?arguments[1]:T,r=Array.isArray(e)?ee(e):[e];return e.length===0?[]:zu(r,t)}function zu(e,t){var r=xc(e),a=r[0],n=r.slice(1),i=t.querySelectorAll(a);if(n.length===0)return Array.from(i);var o=[],l=Ze(i),u;try{for(l.s();!(u=l.n()).done;){var s=u.value;s!=null&&s.shadowRoot&&o.push.apply(o,ee(zu(n,s.shadowRoot)))}}catch(c){l.e(c)}finally{l.f()}return o}function zv(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}var ya=zv,Uu=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],,[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,,1,,1,1,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,,,1,,1,,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,,,1,1,,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],,[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,,,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],,[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,,,,,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,,,1,,,,,1],[,,1,,,,,,,1,,,1,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],,[,1,,,,,,,,1,1,1,1,1,,1,1,,,,1,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,,1,,1,1,1,,,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function Uv(e){for(var t=Uu;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var a=e.charCodeAt(r)-96;if(t=t[a],!t)return!1}return!0}function $u(e){e=Array.isArray(e)?e:Uu;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat($u(r).map(function(i){return n+i})):t.push(n)}),t}var Da=Uv,$v=function(e){Oi(r,e);var t=Ii(r);function r(a){var n;return pr(this,r),n=t.call(this),n._props=Gv(a),n._attrs=Yv(a),n}return mr(r,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(n){var i;return(i=this._attrs[n])!==null&&i!==void 0?i:null}},{key:"hasAttr",value:function(n){return this._attrs[n]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}]),r}(J),ci={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Wu={},Wv=Object.keys(ci);Wv.forEach(function(e){Wu[ci[e]]=e});function Gv(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:Wu[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:ci[e.nodeName])!==null&&r!==void 0?r:1;de(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),de(typeof n=="string","nodeName has to be a string, got '".concat(n,"'")),n=n.toLowerCase();var o=null;n==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),ya().includes(o)||(o="text"));var l=ne({},e,{nodeType:i,nodeName:n});return o&&(l.type=o),delete l.attributes,Object.freeze(l)}function Yv(e){var t=e.attributes,r=t===void 0?{}:t,a={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(n,i){var o=r[i];if(de(P(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var l=a[i]||i;n[l]=o!==null?String(o):null}return n},{})}var Gu=$v,Yu={};De(Yu,{CssSelectorParser:function(){return Kv.CssSelectorParser},doT:function(){return Ku.default},emojiRegexText:function(){return In},memoize:function(){return Xv.default}});var Kv=nt(ji()),Ku=nt(Zi()),Xv=nt(Qi()),Jv=nt(Hd()),Qv=nt(zd());nt(Ud()),Ku.default.templateSettings.strip=!1,"Promise"in y||Jv.default.polyfill(),"Uint32Array"in y||(y.Uint32Array=Qv.Uint32Array),y.Uint32Array&&("some"in y.Uint32Array.prototype||Object.defineProperty(y.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in y.Uint32Array.prototype||Object.defineProperty(y.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce}));function Zv(e,t){if(e=e||function(){},t=t||v.log,!v._audit)throw new Error("No audit configured");var r=v.utils.queue(),a=[];Object.keys(v.plugins).forEach(function(i){r.defer(function(o){var l=function(s){a.push(s),o()};try{v.plugins[i].cleanup(o,l)}catch(u){l(u)}})});var n=v.utils.getFlattenedTree(T.body);v.utils.querySelectorAll(n,"iframe, frame").forEach(function(i){r.defer(function(o,l){return v.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,l)})}),r.then(function(i){a.length===0?e(i):t(a)}).catch(t)}var Xu=Zv,Ir={},Ju;function Qu(e){return Ir.hasOwnProperty(e)}function di(e){return typeof e=="string"&&Ir[e]?Ir[e]:typeof e=="function"?e:Ju}function eg(e,t,r){Ir[e]=t,r&&(Ju=t)}function tg(e){var t;if(t=v._audit,!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var a=r.split("-"),n=ve(a,2),i=n[0],o=n[1],l=i.split(".").map(Number),u=ve(l,3),s=u[0],c=u[1],d=u[2],f=v.version.split("-"),p=ve(f,2),m=p[0],b=p[1],D=m.split(".").map(Number),h=ve(D,3),g=h[0],x=h[1],E=h[2];if(s!==g||x1&&arguments[1]!==void 0?arguments[1]:!0,r=e instanceof J?e:L(e);if(!ti(r))return[];var a=r.props.nodeName,n=ct(r)||dg[a],i=fg(r);return i.filter(function(o){return!mg(o,r,t,n)})}function mg(e,t,r,a){return r&&e===a?!0:cg.includes(e)&&pt(e)!==a?!1:rs(t,e)}var as=pg;function hg(e){return Object.keys(ue.ariaRoles).filter(function(t){return ue.ariaRoles[t].type===e})}var nr=hg;function vg(e){return nr(e)}var gg=vg;function bg(){return ae.get("ariaRolesNameFromContent",function(){return Object.keys(ue.ariaRoles).filter(function(e){return ue.ariaRoles[e].nameFromContent})})}var pi=bg;function yg(){return pi()}var Dg=yg,ns=function(t){return t===null},He=function(t){return t!==null},yt={};yt.attributes={"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},yt.globalAttributes=["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"],yt.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:He}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:He}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:He}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:He}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:He}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:He}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:He}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:He}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:He}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:He}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:He}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:He}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:He}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:He}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},yt.implicitHtmlRole=Cn,yt.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:He}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:He}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof v.AbstractVirtualNode||(t=v.utils.getNodeFromTree(t)),Number(t.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],yt.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:ns}},{nodeName:"img",attributes:{alt:ns}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],yt.evaluateRoleForElement={A:function(t){var r=t.node,a=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?!0:r.href.length?a:!0},AREA:function(t){var r=t.node;return!r.href},BUTTON:function(t){var r=t.node,a=t.role,n=t.out;return r.getAttribute("type")==="menu"?a==="menuitem":n},IMG:function(t){var r=t.node,a=t.role,n=t.out;switch(r.alt){case null:return n;case"":return a==="presentation"||a==="none";default:return a!=="presentation"&&a!=="none"}},INPUT:function(t){var r=t.node,a=t.role,n=t.out;switch(r.type){case"button":case"image":return n;case"checkbox":return a==="button"&&r.hasAttribute("aria-pressed")?!0:n;case"radio":return a==="menuitemradio";case"text":return a==="combobox"||a==="searchbox"||a==="spinbutton";case"tel":return a==="combobox"||a==="spinbutton";case"url":case"search":case"email":return a==="combobox";default:return!1}},LI:function(t){var r=t.node,a=t.out,n=v.utils.matchesSelector(r,"ol li, ul li");return n?a:!0},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,a=v.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return!a},SELECT:function(t){var r=t.node,a=t.role;return!r.multiple&&r.size<=1&&a==="menu"},SVG:function(t){var r=t.node,a=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?!0:a}},yt.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var is=yt;function wg(e){var t=null,r=is.role[e];return r&&r.implicit&&(t=mt(r.implicit)),t}var _g=wg;function xg(e){return!!fi(e).length}var wa=xg;function Eg(e){return e=L(e),ua(e)}var os=Eg;function Ag(e){var t=ue.ariaRoles[e];return!t||!Array.isArray(t.requiredAttrs)?[]:ee(t.requiredAttrs)}var ls=Ag;function Fg(e){var t=ue.ariaRoles[e];return!t||!Array.isArray(t.requiredContext)?null:ee(t.requiredContext)}var mi=Fg;function Cg(e){var t=ue.ariaRoles[e];return!t||!Array.isArray(t.requiredOwned)?null:ee(t.requiredOwned)}var hi=Cg;function kg(e,t){e=e instanceof J?e:L(e);var r,a,n=e.attr(t),i=ue.ariaAttrs[t];if(!i||i.allowEmpty&&(!n||n.trim()===""))return!0;switch(i.type){case"boolean":return["true","false"].includes(n.toLowerCase());case"nmtoken":return typeof n=="string"&&i.values.includes(n.toLowerCase());case"nmtokens":return a=qe(n),a.reduce(function(u,s){return u&&i.values.includes(s)},a.length!==0);case"idref":try{var o=je(e.actualNode);return!!(n&&o.getElementById(n))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return ut(e,t).some(function(u){return!!u});case"string":return n.trim()!=="";case"decimal":return r=n.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case"int":var l=typeof i.minValue<"u"?i.minValue:-1/0;return/^[-+]?[0-9]+$/.test(n)&&parseInt(n)>=l}}var us=kg;function Rg(e){var t=ue.ariaAttrs[e];return!!t}var Pr=Rg;function Tg(e,t,r){var a=qe(r.attr("role")).filter(function(n){return pt(n)==="abstract"});return a.length>0?(this.data(a),!0):!1}var Sg=Tg;function Og(e,t,r){var a=[],n=se(r),i=r.attrNames,o=es(n);Array.isArray(t[n])&&(o=Or(t[n].concat(o)));var l=ae.get("aria-allowed-attr-table",function(){return new WeakMap});function u(){if(r.parent&&n==="row"){var m=We(r,'table, [role="treegrid"], [role="table"], [role="grid"]'),b=l.get(m);if(m&&!b&&(b=se(m),l.set(m,b)),["table","grid"].includes(b)&&n==="row")return!0}}var s=Array.isArray(t.validTreeRowAttrs)?t.validTreeRowAttrs:[],c={};if(s.forEach(function(m){c[m]=u}),o)for(var d=0;d1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t.allowImplicit,n=a===void 0?!0:a,i=t.ignoredTags,o=i===void 0?[]:i,l=r.props.nodeName;if(o.map(function(s){return s.toLowerCase()}).includes(l))return!0;var u=as(r,n);return u.length?(this.data(u),Fe(r)?!1:void 0):!0}var Pg=Ig;function Ng(e,t,r){return r.attr("aria-busy")==="true"}function Mg(e,t,r){t=Array.isArray(t)?t:[];var a=r.attr("aria-errormessage"),n=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return!0;function l(u){if(u.trim()==="")return ue.ariaAttrs["aria-errormessage"].allowEmpty;var s;try{s=u&&ut(r,"aria-errormessage")[0]}catch{this.data({messageKey:"idrefs",values:qe(u)});return}if(s)return Fe(s)?s.getAttribute("role")==="alert"||s.getAttribute("aria-live")==="assertive"||s.getAttribute("aria-live")==="polite"||qe(r.attr("aria-describedby")).indexOf(u)>-1:(this.data({messageKey:"hidden",values:qe(u)}),!1)}return t.indexOf(a)===-1&&n?(this.data(qe(a)),l.call(this,a)):!0}var qg=Mg;function Lg(e,t,r){return r.attr("aria-hidden")!=="true"}var Bg=Lg;function Vg(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return!0}var jg=Vg;function Hg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=(t==null?void 0:t.elementsAllowedAriaLabel)||[],n=r.props.nodeName,i=se(r,{chromium:!0}),o=zg(i,n,a),l=o.filter(function(c){return r.attrNames.includes(c)?K(r.attr(c))!=="":!1});if(l.length===0)return!1;var u=r.hasAttr("role")?"hasRole":"noRole";u+=l.length>1?"Plural":"Singular",this.data({role:i,nodeName:n,messageKey:u,prohibited:l});var s=xt(r,{subtreeDescendant:!0});if(K(s)==="")return!0}function zg(e,t,r){var a=ue.ariaRoles[e];return a?a.prohibitedAttrs||[]:e||r.includes(t)?[]:["aria-label","aria-labelledby"]}var ss={};De(ss,{getAriaRolesByType:function(){return nr},getAriaRolesSupportingNameFromContent:function(){return pi},getElementSpec:function(){return qt},getElementsByContentType:function(){return En},getGlobalAriaAttrs:function(){return Nt},implicitHtmlRoles:function(){return Cn}});function Ug(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=ge(r),n=r.attrNames,i=ls(a);if(Array.isArray(t[a])&&(i=Or(t[a],i)),!a||!n.length||!i.length||$g(r,a)||Gg(r,a))return!0;var o=qt(r),l=i.filter(function(u){return!r.attr(u)&&!Wg(o,u)});return l.length?(this.data(l),!1):!0}function $g(e,t){return t==="separator"&&!Ae(e)}function Wg(e,t){var r;return((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function Gg(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function Yg(e,t){for(var r=[],a=Cr(e),n=function(l){var u=a[l],s=se(u,{noPresentational:!0}),c=Nt().some(function(f){return u.hasAttr(f)}),d=c||Ae(u);!s&&!d||["group","rowgroup"].includes(s)&&t.some(function(f){return f===s})?a.push.apply(a,ee(u.children)):(s||d)&&r.push({role:s,ownedElement:u})},i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=se(r),n=t.supportedRoles||[];if(n.includes(a))return!0;if(!(a&&a!=="presentation"&&a!=="none"))return!1}var rb=tb;function ab(e,t,r){var a=r.attrNames.filter(function(n){var i=ue.ariaAttrs[n];if(!Pr(n))return!1;var o=i.unsupported;return P(o)!=="object"?!!o:!Fr(e,o.exceptions)});return a.length?(this.data(a),!0):!1}var nb=ab;function ib(e,t,r){t=Array.isArray(t.value)?t.value:[];var a=[],n=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&n.test(i)&&!Pr(i)&&a.push(i)}),a.length?(this.data(a),!1):!0}var ob=ib;function lb(e,t,r){t=Array.isArray(t.value)?t.value:[];var a="",n="",i=[],o=/^aria-/,l=["aria-errormessage"],u={"aria-controls":function(){return r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"},"aria-current":function(c){c||(a='aria-current="'.concat(r.attr("aria-current"),'"'),n="ariaCurrent")},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(c){c||(a='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),n=v._tree&&v._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(c){c||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=v._tree&&v._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};if(r.attrNames.forEach(function(s){if(!(l.includes(s)||t.includes(s)||!o.test(s))){var c,d=r.attr(s);try{c=us(r,s)}catch{a="".concat(s,'="').concat(d,'"'),n="idrefs";return}(!u[s]||u[s](c))&&!c&&(d===""&&!ub(s)?(a=s,n="empty"):i.push("".concat(s,'="').concat(d,'"')))}}),i.length)return this.data(i),!1;if(a){this.data({messageKey:n,needsReview:a});return}return!0}function ub(e){var t;return((t=ue.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function sb(e,t,r){var a=se(r,{dpub:!0,fallback:!0}),n=ue.ariaRoles[a];return n!=null&&n.deprecated?(this.data(a),!0):!1}function cb(e,t){var r=ct(e);return!r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function db(e,t,r){var a=qe(r.attr("role"));return a.length<=1?!1:cb(r,a)?void 0:!0}var fb=db;function pb(e,t,r){var a=Nt().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var mb=pb;function hb(e){var t=e.getAttribute("role");if(t===null)return!1;var r=pt(t);return r==="widget"||r==="composite"}var vb=hb;function gb(e,t,r){var a=qe(r.attr("role")),n=a.every(function(i){return!er(i,{allowAbstract:!0})});return n?(this.data(a),!0):!1}var bb=gb;function yb(e,t,r){return Ae(r)}var Db=yb;function wb(e,t,r){var a=se(r,{noImplicit:!0});this.data(a);var n,i;try{n=K(Rn(r)).toLowerCase(),i=K($e(r)).toLowerCase()}catch{return}if(!i&&!n)return!1;if(!(!i&&n)&&i.includes(n))return!1}var _b=wb;function xb(e,t,r){var a=se(r,{dpub:!0,fallback:!0}),n=xn(a);return n&&this.data(a),n}var Eb=xb,Ab={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},Fb={application:!0,banner:!1,complementary:!0,contentinfo:!0,form:!0,main:!0,navigation:!0,region:!0,search:!1};function Cb(e){var t=e.nodeName.toUpperCase();return Ab[t]||!1}function kb(e,t){var r=ge(e);return r&&(Fb[r]||t.roles.includes(r))||!1}function Rb(e,t){return kb(e,t)||Cb(e)}var Tb=Rb,ds={};De(ds,{Color:function(){return Ge},centerPointOfRect:function(){return Ob},elementHasImage:function(){return fa},elementIsDistinct:function(){return ps},filteredRectStack:function(){return Mb},flattenColors:function(){return jt},flattenShadowColors:function(){return gi},getBackgroundColor:function(){return Nr},getBackgroundStack:function(){return hs},getContrast:function(){return ir},getForegroundColor:function(){return xa},getOwnBackgroundColor:function(){return Bt},getRectStack:function(){return ms},getTextShadowColors:function(){return _a},hasValidContrastRatio:function(){return Qb},incompleteData:function(){return Me}});function Sb(e){if(!(e.left>y.innerWidth)&&!(e.top>y.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),y.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),y.innerHeight-1);return{x:t,y:r}}}var Ob=Sb;function fs(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function Ib(e,t){var r=y.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return!0;var a=["border-bottom","border-top","outline"].reduce(function(l,u){var s=new Ge;return s.parseString(r.getPropertyValue(u+"-color")),l||r.getPropertyValue(u+"-style")!=="none"&&parseFloat(r.getPropertyValue(u+"-width"))>0&&s.alpha!==0},!1);if(a)return!0;var n=y.getComputedStyle(t);if(fs(r)[0]!==fs(n)[0])return!0;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(l,u){return l||r.getPropertyValue(u)!==n.getPropertyValue(u)},!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==n.getPropertyValue("text-decoration")),i}var ps=Ib;function Pb(e){var t=ul(e),r=Ln(e);return!r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var ms=Pb;function Nb(e){var t=ms(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),a;return t.forEach(function(n,i){if(i!==0){var o=t[i-1],l=t[i];a=o.every(function(u,s){return u===l[s]})||r.includes(e)}}),a?t[0]:(Me.set("bgColor","elmPartiallyObscuring"),null)}return Me.set("bgColor","outsideViewport"),null}var Mb=Nb;function qb(e,t,r){return Math.min(Math.max(t,e),r)}var Lb={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var a=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(a-t)},difference:function(t,r){return Math.abs(t-r)},exclusion:function(t,r){return t+r-2*t*r}};function vi(e,t,r,a,n){return t*(1-a)*e+t*a*Lb[n](r/255,e/255)*255+(1-t)*a*r}function Bb(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",a=vi(e.red,e.alpha,t.red,t.alpha,r),n=vi(e.green,e.alpha,t.green,t.alpha,r),i=vi(e.blue,e.alpha,t.blue,t.alpha,r),o=qb(e.alpha+t.alpha*(1-e.alpha),0,1);if(o===0)return new Ge(a,n,i,o);var l=Math.round(a/o),u=Math.round(n/o),s=Math.round(i/o);return new Ge(l,u,s,o)}var jt=Bb;function gi(e,t){var r=e.alpha,a=(1-r)*t.red+r*e.red,n=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new Ge(a,n,i,o)}function hs(e){for(var t=Ln(e).map(function(n){return n=nu(n,e),n=Vb(n),n}),r=0;r1&&a.alpha===0&&!fa(T.documentElement)){t>1&&(r.splice(t,1),r.push(T.body));var n=r.indexOf(T.documentElement);n>0&&(r.splice(n,1),r.push(T.documentElement))}return r}function jb(e,t){if(e===t)return!0;if(e===null||t===null||e.length!==t.length)return!1;for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,a=t.maxRatio,n=y.getComputedStyle(e),i=n.getPropertyValue("text-shadow");if(i==="none")return[];var o=n.getPropertyValue("font-size"),l=parseInt(o);de(isNaN(l)===!1,"Unable to determine font-size value ".concat(o));var u=[],s=zb(i);return s.forEach(function(c){var d=c.colorStr,f=c.pixels;d=d||n.getPropertyValue("color");var p=ve(f,3),m=p[0],b=p[1],D=p[2],h=D===void 0?0:D;if((!r||h>=l*r)&&(!a||h=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},a.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(e))}return a}function Ub(e){var t=e.colorStr,r=e.offsetX,a=e.offsetY,n=e.blurRadius,i=e.fontSize;if(r>n||a>n)return new Ge(0,0,0,0);var o=new Ge;return o.parseString(t),o.alpha*=$b(n,i),o}function $b(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}var _a=Hb;function Nr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=L(e),n=a._cache.getBackgroundColor;if(n)return t.push.apply(t,ee(n.bgElms)),Me.set("bgColor",n.incompleteData),n.bgColor;var i=Wb(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:Me.get("bgColor")},i}function Wb(e,t,r){var a,n=_a(e,{minRatio:r});n.length&&(n=[{color:n.reduce(gi)}]);var i=hs(e),o=qn(e);if((i||[]).some(function(s){var c=y.getComputedStyle(s);if(fa(s,c))return n=null,t.push(s),!0;var d=Bt(c);if(d.alpha===0)return!1;if(c.getPropertyValue("display")!=="inline"&&!vs(s,o))return n=null,t.push(s),Me.set("bgColor","elmPartiallyObscured"),!0;t.push(s);var f=c.getPropertyValue("mix-blend-mode");return n.unshift({color:d,blendMode:bi(f)}),d.alpha===1}),n===null||i===null)return null;var l=Gb(e,i.includes(T.body));if((a=n).unshift.apply(a,ee(l)),n.length===0)return new Ge(255,255,255,1);var u=n.reduce(function(s,c){return jt(c.color,s.color instanceof Ge?s.color:s,c.blendMode)});return jt(u.color instanceof Ge?u.color:u,new Ge(255,255,255,1))}function vs(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),a=r.right,n=r.bottom,i=y.getComputedStyle(e),o=i.getPropertyValue("overflow");return(["scroll","auto"].includes(o)||e instanceof y.HTMLHtmlElement)&&(a=r.left+e.scrollWidth,n=r.top+e.scrollHeight),t.every(function(l){return l.top>=r.top&&l.bottom<=n&&l.left>=r.left&&l.right<=a})}function bi(e){return e||void 0}function Gb(e,t){var r=[];if(!t){var a=T.documentElement,n=T.body,i=y.getComputedStyle(a),o=y.getComputedStyle(n),l=Bt(i),u=Bt(o),s=u.alpha!==0&&vs(n,e.getBoundingClientRect());(u.alpha!==0&&l.alpha===0||s&&u.alpha!==1)&&r.unshift({color:u,blendMode:bi(o.getPropertyValue("mix-blend-mode"))}),l.alpha!==0&&(!s||s&&u.alpha!==1)&&r.unshift({color:l,blendMode:bi(i.getPropertyValue("mix-blend-mode"))})}return r}function Yb(e,t){if(!t||!e)return null;t.alpha<1&&(t=jt(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return(Math.max(a,r)+.05)/(Math.min(a,r)+.05)}var ir=Yb;function xa(e,t,r){var a,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=y.getComputedStyle(e),o=gs(e,i),l=Xb(i,n);if(l&&l.alpha*o===1)return l.alpha=1,l;var u=Kb(i),s=l?jt(l,u):u;if(s.alpha*o===1)return s.alpha=1,s;var c=_a(e,{minRatio:0});if(s=c.reduce(function(f,p){return jt(f,p)},s),s.alpha*o===1)return s.alpha=1,s;if((a=r)!==null&&a!==void 0||(r=Nr(e,[])),r===null){var d=Me.get("bgColor");return Me.set("fgColor",d),null}return s.alpha=s.alpha*o,jt(s,r)}function Kb(e){return new Ge().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function Xb(e,t){var r=t.textStrokeEmMin,a=r===void 0?0:r,n=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(n===0)return null;var i=e.getPropertyValue("font-size"),o=n/parseFloat(i);if(isNaN(o)||oo,contrastRatio:n,expectedContrastRatio:o}}var Qb=Jb;function Zb(e,t,r){var a=t.ignoreUnicode,n=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,l=t.boldTextPt,u=t.largeTextPt,s=t.contrastRatio,c=t.shadowOutlineEmMax,d=t.pseudoSizeThreshold;if(!rt(e))return this.data({messageKey:"hidden"}),!0;var f=dt(r,!1,!0);if(a&&ty(f)){this.data({messageKey:"nonBmp"});return}var p=y.getComputedStyle(e),m=parseFloat(p.getPropertyValue("font-size")),b=p.getPropertyValue("font-weight"),D=parseFloat(b)>=o||b==="bold",h=Math.ceil(m*72)/96,g=D&&hie?"shadowOnBgColor":"fgOnShadowColor")}var O=G>E;if(typeof C=="number"&&(typeof G!="number"||GN))return this.data({contrastRatio:G}),!0;var ce=Math.floor(G*100)/100,w;te===null?w=Me.get("bgColor"):O||(w=oe);var U=ce===1,I=f.length===1;if(U?w=Me.set("bgColor","equalRatio"):!O&&I&&!n&&(w="shortTextContent"),this.data({fgColor:B?B.toHexString():void 0,bgColor:te?te.toHexString():void 0,contrastRatio:ce,fontSize:"".concat((m*72/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:D?"bold":"normal",messageKey:w,expectedContrastRatio:E+":1",shadowColor:le?le.toHexString():void 0}),B===null||te===null||U||I&&!n&&!O){w=null,Me.clear(),this.relatedNodes(j);return}return O||this.relatedNodes(j),O}function ey(e,t){var r=t.pseudoSizeThreshold,a=r===void 0?.25:r,n=t.ignorePseudo,i=n===void 0?!1:n;if(!i){var o=e.boundingClientRect,l=o.width*o.height*a;do{var u=bs(e.actualNode,":before"),s=bs(e.actualNode,":after");if(u+s>l)return e}while(e=e.parent)}}var bs=tt(function(t,r){var a=y.getComputedStyle(t,r),n=function(u,s){return a.getPropertyValue(u)===s};if(n("content","none")||n("display","none")||n("visibility","hidden")||n("position","absolute")===!1||Bt(a).alpha===0&&n("background-image","none"))return 0;var i=ys(a.getPropertyValue("width")),o=ys(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function ty(e){var t={nonBmp:!0},r=Pn(e,t),a=K(kr(e,t))==="";return r&&a}function ys(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],a=ve(r,3),n=a[1],i=n===void 0?"":n,o=a[2],l=o===void 0?"":o;return{value:parseFloat(i),unit:l.toLowerCase()}}function Ds(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return(Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var ry=["block","list-item","table","flex","grid","inline-block"];function ws(e){var t=y.getComputedStyle(e).getPropertyValue("display");return ry.indexOf(t)!==-1||t.substr(0,6)==="table-"}function ay(e,t){var r=t.requiredContrastRatio,a=t.allowSameColor;if(ws(e))return!1;for(var n=Ne(e);n&&n.nodeType===1&&!ws(n);)n=Ne(n);if(n){this.relatedNodes([n]);var i=xa(e),o=xa(n),l=Nr(e),u=Nr(n),s=i&&o?Ds(i,o):void 0;if(s&&(s=Math.floor(s*100)/100),s&&s>=r)return!0;var c=l&&u?Ds(l,u):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return!0;if(!c){var d,f=(d=Me.get("bgColor"))!==null&&d!==void 0?d:"bgContrast";this.data({messageKey:f}),Me.clear();return}if(s)return a&&s===1&&c===1?!0:s===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:l?l.toHexString():void 0,parentBackgroundColor:u?u.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:s,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),!1)}}var ny=ay,iy=["block","list-item","table","flex","grid","inline-block"];function _s(e){var t=y.getComputedStyle(e).getPropertyValue("display");return iy.indexOf(t)!==-1||t.substr(0,6)==="table-"}function oy(e){if(_s(e))return!1;for(var t=Ne(e);t&&t.nodeType===1&&!_s(t);)t=Ne(t);if(t)return this.relatedNodes([t]),ps(e,t)}var ly=oy;function uy(e,t,r){if(r.props.nodeName!=="input")return!0;var a=["text","search","number","tel"],n=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":a,"cc-exp":["text","search","month","tel"],"cc-exp-month":a,"cc-exp-year":a,"cc-csc":a,"transaction-amount":a,"bday-day":a,"bday-month":a,"bday-year":a,"new-password":["text","search","password"],"current-password":["text","search","password"],url:n,photo:n,impp:n};P(t)==="object"&&Object.keys(t).forEach(function(d){i[d]||(i[d]=[]),i[d]=i[d].concat(t[d])});var o=r.attr("autocomplete"),l=o.split(/\s+/g).map(function(d){return d.toLowerCase()}),u=l[l.length-1];if(Lt.stateTerms.includes(u))return!0;var s=i[u],c=r.hasAttr("type")?K(r.attr("type")).toLowerCase():"text";return c=ya().includes(c)?c:"text",typeof s>"u"?c==="text":s.includes(c)}var sy=uy;function cy(e,t,r){var a=r.attr("autocomplete")||"";return Wl(a,t)}var dy=cy;function fy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),!1;var a=r.attr(t.attribute),n=!K(a);return n?(this.data({messageKey:"emptyAttr"}),!1):!0}var py=fy;function my(e){var t=e.some(function(r){return r.result===!0});return t&&e.forEach(function(r){r.result=!0}),e}var hy=my;function vy(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&Tr())return!0;var a=bt(r,t.selector,function(n){return Fe(n)});return this.relatedNodes(a.map(function(n){return n.actualNode})),a.length>0}var gy=vy;function by(e,t,r){try{return K(xt(r))!==""}catch{return}}function yy(e,t,r){return Fr(r,t.matcher)}var Dy=yy;function wy(e){return e.filter(function(t){return t.data!=="ignored"})}var _y=wy;function xy(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var a="page-no-duplicate;"+t.selector;if(ae.get(a)){this.data("ignored");return}ae.set(a,!0);var n=bt(v._tree[0],t.selector,function(i){return Fe(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!Xt(i,t.nativeScopeFilter)})),this.relatedNodes(n.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),n.length<=1}var Ey=xy;function Ay(e){var t={};return e.filter(function(r){if(!r.data)return!1;var a=r.data.toUpperCase();return t[a]?(t[a].relatedNodes.push(r.relatedNodes[0]),!1):(t[a]=r,r.relatedNodes=[],!0)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var Fy=Ay;function Cy(e,t,r){return _t(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),!0}var ky=Cy;function Ry(e,t,r){var a=r.tabbableElements;if(!a)return!1;var n=a.filter(function(i){return i!==r});return n.length>0}var Ty=Ry;function Sy(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return!0;var i=n.filter(function(o){return a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Tr()?!0:i.every(function(o){var l=o.getComputedStylePropertyValue("pointer-events"),u=parseInt(o.getComputedStylePropertyValue("width")),s=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(u===0||s===0)&&l==="none"})?void 0:!1}var Oy=Sy;function Iy(e,t,r){if(r.hasAttr("contenteditable")&&a(r))return!0;return ft(r);function a(n){var i=n.attr("contenteditable");if(i==="true"||i==="")return!0;if(i==="false")return!1;var o=We(r.parent,"[contenteditable]");return o?a(o):!1}}var Py=Iy;function Ny(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return!0;if(Tr()){this.relatedNodes(a);return}return!0}var My=Ny;function qy(e,t,r){var a=r.attr("tabindex"),n=Ae(r)&&a>-1;if(!n)return!1;try{return!$e(r)}catch{return}}var Ly=qy;function By(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return!0;var i=n.filter(function(o){return!a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Tr()?!0:i.every(function(o){var l=o.getComputedStylePropertyValue("pointer-events"),u=parseInt(o.getComputedStylePropertyValue("width")),s=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(u===0||s===0)&&l==="none"})?void 0:!1}var Vy=By;function jy(e,t,r){if(r.children)try{return!r.children.some(function(a){return xs(a)})}catch{return}}function xs(e){if(ft(e))return!0;if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return!1}return e.children.some(function(t){return xs(t)})}function Hy(e){var t=nr("landmark"),r=Ne(e),a=se(e);for(this.data({role:a});r;){var n=r.getAttribute("role");if(!n&&r.nodeName.toUpperCase()!=="FORM"&&(n=ct(r)),n&&t.includes(n)&&!(n==="main"&&a==="complementary"))return!1;r=Ne(r)}return!0}var zy=Hy;function Uy(e,t,r){if(r.children)try{var a=Es(r);if(!a.length)return!0;var n=a.filter($y);return n.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(n)):this.relatedNodes(a),!1}catch{return}}function Es(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach(function(r){pt(r)==="widget"&&Ae(r)?t.push(r):t.push.apply(t,ee(Es(r)))}),t}function $y(e){var t=parseInt(e.attr("tabindex"),10);return!isNaN(t)&&t<0}function Wy(e,t,r){var a=parseInt(r.attr("tabindex"),10);return isNaN(a)?!0:a<=0}var Gy=Wy;function Yy(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var Ky=Yy;function Xy(e,t,r){if(["none","presentation"].includes(se(r)))return!1;var a=We(r,t.parentSelector);if(!a)return!1;var n=dt(a,!0).toLowerCase();return n===""?!1:n===$e(r).toLowerCase()}var Jy=Xy;function Qy(e,t,r){var a=this;if(!r.attr("id"))return!1;if(r.actualNode){var n=je(r.actualNode),i=Ee(r.attr("id")),o=Array.from(n.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return!1;try{return o.some(function(l){if(rt(l)){var u=K(Pt(l,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:u}),!!u}else return!0})}catch{return}}}var Zy=Qy;function eD(e,t,r){var a=sa(r),n=e.getAttribute("title");if(!a)return!1;if(!n&&(n="",e.getAttribute("aria-describedby"))){var i=ut(e,"aria-describedby");n=i.map(function(o){return o?Pt(o):""}).join("")}return K(n)===K(a)}var tD=eD;function rD(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=je(e),n=Ee(e.getAttribute("id")),i=a.querySelector('label[for="'.concat(n,'"]'));if(i&&!Fe(i)){var o;try{o=$e(r).trim()}catch{return}var l=o==="";return l}}return!1}var aD=rD;function nD(e,t,r){try{var a=We(r,"label");if(a){var n=K($e(a,{inControlContext:!0,startNode:r}));return a.actualNode&&this.relatedNodes([a.actualNode]),this.data({implicitLabel:n}),!!n}return!1}catch{return}}var iD=nD;function As(e,t){var r=Fs(t),a=Fs(e);return!r||!a?!1:r.includes(a)}function Fs(e){var t=kr(e,{emoji:!0,nonBmp:!0,punctuations:!0});return K(t)}function oD(e,t,r){var a,n=t==null?void 0:t.pixelThreshold,i=(a=t==null?void 0:t.occurrenceThreshold)!==null&&a!==void 0?a:t==null?void 0:t.occuranceThreshold,o=Pt(e).toLowerCase();if(!(Mn(o)<1)){var l=K(xt(r,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();return l?Mn(l)<1?As(l,o)?!0:void 0:As(l,o):!0}}var lD=oD;function uD(e){var t=Ee(e.getAttribute("id")),r=e.parentNode,a=je(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(l){return!_t(l)}));r;)r.nodeName.toUpperCase()==="LABEL"&&n.indexOf(r)===-1&&n.push(r),r=r.parentNode;if(this.relatedNodes(n),n.length>1){var i=n.filter(function(l){return Fe(l)});if(i.length>1)return;var o=ut(e,"aria-labelledby");return o.includes(i[0])?!1:void 0}return!1}var sD=uD;function cD(e,t,r){var a=sa(r),n=oa(r),i=r.attr("aria-describedby");return!a&&!!(n||i)}var dD=cD;function fD(e){var t=[];return e.filter(function(r){var a=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},n=t.find(a);return n?(n.result=!1,n.relatedNodes.push(r.relatedNodes[0]),!1):(t.push(r),r.relatedNodes=[],!0)})}var pD=fD;function mD(e,t,r){var a=se(e),n=$e(r);return n=n?n.toLowerCase():null,this.data({role:a,accessibleText:n}),this.relatedNodes([e]),!0}var hD=mD;function yi(e){return(e||"").trim()!==""}function vD(e,t,r){var a=typeof T<"u"?$r(T):!1;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&yi(r.attr("xml:lang"))&&!yi(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),!1;var n=t.attributes.some(function(i){return yi(r.attr(i))});return n?!0:(this.data({messageKey:"noLang"}),!1)}var gD=vD;function bD(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=Vt(i),l=t.value?!t.value.map(Vt).includes(o):!Da(o);(o!==""&&l||i!==""&&!K(i))&&a.push(n+'="'+r.attr(n)+'"')}}),!a.length||r.props.nodeName!=="html"&&!Vn(r)?!1:(this.data(a),!0)}var yD=bD;function DD(e,t,r){var a=Vt(r.attr("lang")),n=Vt(r.attr("xml:lang"));return a===n}var wD=DD;function _D(e){var t=Ne(e),r=t.nodeName.toUpperCase(),a=ge(t);return r==="DIV"&&["presentation","none",null].includes(a)&&(t=Ne(t),r=t.nodeName.toUpperCase(),a=ge(t)),r!=="DL"?!1:!!(!a||["presentation","none","list"].includes(a))}var xD=_D;function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=[],n=[];if(r.children){for(var i=Cs(r.children);i.length;){var o,l=i.shift(),u=l.vChild,s=l.nested;if(t.divGroups&&!s&&FD(u)){if(!u.children)return;var c=Cs(u.children,!0);i.push.apply(i,ee(c));continue}var d=AD(u,s,t);d&&(n.includes(d)||n.push(d),(u==null||(o=u.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&a.push(u.actualNode))}return n.length===0?!1:(this.data({values:n.join(", ")}),this.relatedNodes(a),!0)}}function AD(e,t,r){var a=r.validRoles,n=a===void 0?[]:a,i=r.validNodeNames,o=i===void 0?[]:i,l=e.props,u=l.nodeName,s=l.nodeType,c=l.nodeValue,d=t?"div > ":"";if(s===3&&c.trim()!=="")return d+"#text";if(s!==1||!Fe(e))return!1;var f=ge(e);return f?n.includes(f)?!1:d+"[role=".concat(f,"]"):o.includes(u)?!1:d+u}function FD(e){return e.props.nodeName==="div"&&ge(e)===null}function Cs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e.map(function(r){return{vChild:r,nested:t}})}function CD(e,t,r){var a=r.parent;if(a){var n=a.props.nodeName,i=ge(a);return["presentation","none","list"].includes(i)?!0:i&&er(i)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(n)}}function kD(e,t,r){var a=["definition","term","list"],n={badNodes:[],hasNonEmptyTextNode:!1},i=r.children.reduce(function(l,u){var s=u.actualNode;return s.nodeName.toUpperCase()==="DIV"&&se(s)===null?l.concat(u.children):l.concat(u)},[]),o=i.reduce(function(l,u){var s=u.actualNode,c=s.nodeName.toUpperCase();if(s.nodeType===1&&Fe(s)){var d=ge(s);(c!=="DT"&&c!=="DD"||d)&&(a.includes(d)||l.badNodes.push(s))}else s.nodeType===3&&s.nodeValue.trim()!==""&&(l.hasNonEmptyTextNode=!0);return l},n);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}var RD=kD;function TD(e,t,r){var a=!1,n=!1,i=!0,o=[],l=[],u=[];return r.children.forEach(function(s){var c=s.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){a=!0;return}if(!(c.nodeType!==1||!Fe(c))){i=!1;var d=c.nodeName.toUpperCase()==="LI",f=se(s),p=f==="listitem";!d&&!p&&o.push(c),d&&!p&&(l.push(c),u.includes(f)||u.push(f)),p&&(n=!0)}}),a||o.length?(this.relatedNodes(o),!0):i||n?!1:(this.relatedNodes(l),this.data({messageKey:"roleNotValid",roles:u.join(", ")}),!0)}var SD=TD;function OD(e,t,r){var a=r.children;if(!a||!a.length)return!1;for(var n=!1,i=!1,o,l=0;l ";function MD(e){var t={};return e.filter(function(r){var a=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(a){var n=r.node.ancestry.flat(1/0).join(ks);return t[n]=r,!0}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(ks);return t[i]&&(t[i].result=!0),!1})}var qD=MD;function LD(e,t){return t.isViolation?!1:void 0}var BD=LD;function VD(e,t){if(!e.duration){console.warn("axe.utils.preloadMedia did not load metadata");return}var r=t.allowedDuration,a=r===void 0?3:r,n=i(e);if(n<=a&&!e.hasAttribute("loop"))return!0;if(!e.hasAttribute("controls"))return!1;return!0;function i(u){if(!u.currentSrc)return 0;var s=o(u.currentSrc);return s?s.length===1?Math.abs(u.duration-s[0]):Math.abs(s[1]-s[0]):Math.abs(u.duration-(u.currentTime||0))}function o(u){var s=u.match(/#t=(.*)/);if(s){var c=ve(s,2),d=c[1],f=d.split(",");return f.map(function(p){return/:/.test(p)?l(p):parseFloat(p)})}}function l(u){for(var s=u.split(":"),c=0,d=1;s.length>0;)c+=d*parseInt(s.pop(),10),d*=60;return parseFloat(c)}}var jD=VD;function HD(e,t,r,a){var n=a||{},i=n.cssom,o=i===void 0?void 0:i,l=t||{},u=l.degreeThreshold,s=u===void 0?0:u;if(!o||!o.length)return;for(var c=!1,d=[],f=h(o),p=function(){var X=b[m],G=f[X],oe=G.root,le=G.rules,fe=le.filter(g);if(!fe.length)return"continue";fe.forEach(function(Q){var ie=Q.cssRules;Array.from(ie).forEach(function(O){var ce=x(O);if(ce&&O.selectorText.toUpperCase()!=="HTML"){var w=Array.from(oe.querySelectorAll(O.selectorText))||[];d=d.concat(w)}c=c||ce})})},m=0,b=Object.keys(f);m-1&&c<1?(this.data("user-scalable"),!1):s["maximum-scale"]&&parseFloat(s["maximum-scale"])=a||(i=Math.min(i,s),n.push(u))}}}catch(c){o.e(c)}finally{o.f()}if(n.length===0)return this.data({closestOffset:i,minOffset:a}),!0;if(this.relatedNodes(n.map(function(c){var d=c.actualNode;return d})),!n.some(ft)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:a});return}return this.data({closestOffset:i,minOffset:a}),ft(r)?!1:void 0}function YD(e){return Math.round(e*10)/10}var Rs=.05;function KD(e,t,r){var a=(t==null?void 0:t.minSize)||24,n=r.boundingClientRect,i=wi.bind(null,a),o=hn(r),l=XD(r,o),u=JD(r,o),s=u.fullyObscuringElms,c=u.partialObscuringElms;if(s.length&&!l.length)return this.relatedNodes(Ea(s)),this.data({messageKey:"obscured"}),!0;var d=ft(r)?!1:void 0;if(!i(n)&&!l.length)return this.data(ne({minSize:a},Di(n))),d;var f=ew(c),p=QD(r,f);if(l.length&&(s.length||!i(p||n))){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(Ea(l));return}if(f.length!==0&&!i(p)){var m=f.every(ft),b="partiallyObscured".concat(m?"":"NonTabbable");return this.data(ne({messageKey:b,minSize:a},Di(p))),this.relatedNodes(Ea(f)),m?d:void 0}return this.data(ne({minSize:a},Di(p||n))),this.relatedNodes(Ea(f)),!0}function XD(e,t){return t.filter(function(r){return!Ts(r,e)&&Ss(e,r)})}function JD(e,t){var r=[],a=[],n=Ze(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;!Ss(e,o)&&ol(e,o)&&tw(o)!=="none"&&(Ts(e,o)?r.push(o):a.push(o))}}catch(l){n.e(l)}finally{n.f()}return{fullyObscuringElms:r,partialObscuringElms:a}}function QD(e,t){var r=e.boundingClientRect;if(t.length===0)return null;var a=t.map(function(i){var o=i.boundingClientRect;return o}),n=ll(r,a);return ZD(n)}function ZD(e,t){return e.reduce(function(r,a){var n=wi(t,r),i=wi(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,l=a.width*a.height;return o>l?r:a})}function ew(e){return e.filter(function(t){return pt(t)==="widget"&&Ae(t)})}function Ts(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.top>=a.top&&r.left>=a.left&&r.bottom<=a.bottom&&r.right<=a.right}function tw(e){return e.getComputedStylePropertyValue("pointer-events")}function Di(e){return{width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function Ss(e,t){return e.actualNode.contains(t.actualNode)&&!ft(t)}function wi(e,t){var r=t.width,a=t.height;return r+Rs>=e&&a+Rs>=e}function Ea(e){return e.map(function(t){var r=t.actualNode;return r})}function rw(e){var t=nw(e);return e.forEach(function(r){r.result=aw(r,t)}),e}function aw(e,t){var r,a,n,i,o=Os(t,e.node.ancestry),l=(r=(a=t[o])===null||a===void 0?void 0:a.level)!==null&&r!==void 0?r:-1,u=(n=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&n!==void 0?n:-1;if(o===0)return!0;if(l!==-1)return l-u<=1}function nw(e){e=ee(e),e.sort(function(r,a){var n=r.node,i=a.node;return n.ancestry.length-i.ancestry.length});var t=e.reduce(iw,[]);return t.filter(function(r){var a=r.level;return a!==-1})}function iw(e,t){var r,a=(r=t.data)===null||r===void 0?void 0:r.headingOrder,n=Is(t.node.ancestry,1);if(!a)return e;var i=a.map(function(l){return lw(l,n)}),o=ow(e,n);return o===-1?e.push.apply(e,ee(i)):e.splice.apply(e,[o,0].concat(ee(i))),e}function ow(e,t){for(;t.length;){var r=Os(e,t);if(r!==-1)return r;t=Is(t,1)}return-1}function Os(e,t){return e.findIndex(function(r){return ai(r.ancestry,t)})}function lw(e,t){var r=t.concat(e.ancestry);return ne({},e,{ancestry:r})}function Is(e,t){return e.slice(0,e.length-t)}function uw(e){var t=se(e),r=t&&t.includes("heading"),a=e.attr("aria-level"),n=parseInt(a,10),i=e.props.nodeName.match(/h(\d)/)||[],o=ve(i,2),l=o[1];return r?l&&!a?parseInt(l,10):isNaN(n)||n<1?l?parseInt(l,10):2:n||-1:-1}function sw(){var e=ae.get("headingOrder");if(e)return!0;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=bt(v._tree[0],t,Fe);return e=r.map(function(a){return{ancestry:[Gr(a.actualNode)],level:uw(a)}}),this.data({headingOrder:e}),ae.set("headingOrder",r),!0}var cw=sw;function Ps(e,t){if(!e||!t)return!1;var r=Object.getOwnPropertyNames(e),a=Object.getOwnPropertyNames(t);if(r.length!==a.length)return!1;var n=r.every(function(i){var o=e[i],l=t[i];return P(o)!==P(l)?!1:P(o)==="object"||P(l)==="object"?Ps(o,l):o===l});return n}function dw(e){if(e.length<2)return e;for(var t=e.filter(function(l){var u=l.result;return u!==void 0}),r=[],a={},n=function(u){var s,c=t[u],d=c.data,f=d.name,p=d.urlProps;if(a[f])return"continue";var m=t.filter(function(D,h){var g=D.data;return g.name===f&&h!==u}),b=m.every(function(D){var h=D.data;return Ps(h.urlProps,p)});m.length&&!b&&(c.result=void 0),c.relatedNodes=[],(s=c.relatedNodes).push.apply(s,ee(m.map(function(D){return D.relatedNodes[0]}))),a[f]=m,r.push(c)},i=0;i=f&&!m;D--)for(var h=d;h>=p;h--){var g=r[D]?r[D][h]:void 0;if(g){var x=v.utils.getNodeFromTree(g);if(x[a]){m=x[a];break}b.push(g)}}return m=(m||[]).concat(b.filter(n)),b.forEach(function(E){var C=v.utils.getNodeFromTree(E);C[a]=m}),m}function hw(e,t){if(e.getAttribute("headers")){var r=ut(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=ht(Jt(e,"table")));var a=ia(e,t),n=Bs("row",a,t),i=Bs("col",a,t);return[].concat(n,i).reverse()}var Aa=hw;function vw(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return er(t)?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Vs=vw;function gw(e){var t=(e.getAttribute("role")||"").toLowerCase();if((t==="presentation"||t==="none")&&!Ae(e))return!1;if(e.getAttribute("contenteditable")==="true"||Jt(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||pt(t)==="landmark")return!0;if(e.getAttribute("datatable")==="0")return!1;if(e.getAttribute("summary")||e.tHead||e.tFoot||e.caption)return!0;for(var r=0,a=e.children.length;r=5||u)return!0;var p,m;for(s=0;s=20?!0:!(dn(e).width>ra(y).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var Fa=gw;function bw(e){if(tr(e)||rr(e))return!0;if(e.getAttribute("id")){var t=Ee(e.getAttribute("id"));return!!T.querySelector('[headers~="'.concat(t,'"]'))}return!1}var yw=bw;function js(e,t,r,a){var n,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof a=="function"&&(n=a(i,t,r),n===!0)?[i]:(n=js(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function Dw(e,t,r,a){if(Array.isArray(t)&&(a=r,r=t,t={x:0,y:0}),typeof e=="string")switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1};break}return js(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var xi=Dw;function ww(e,t,r){var a=xr.accessibleTextVirtual(r),n=xr.sanitize(xr.removeUnicode(a,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(n){var i={name:n,urlProps:un.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),!0}}var _w=ww;function xw(e,t,r){var a=Xe(r,"a[href]");return a.some(function(n){return/^#[^/!]/.test(n.attr("href"))})}var Ew=xw,Aw=/[;,\s]/,Fw=/^[0-9.]+$/;function Cw(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),l=o.split(Aw),u=ve(l,1),s=u[0];if(!s.match(Fw))return!0;var c=parseFloat(s);return this.data({redirectDelay:c}),typeof n=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function kw(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function Rw(e){for(var t=e,r=e.textContent.trim(),a=r;a===r&&t!==void 0;){var n=-1;if(e=t,e.children.length===0)return e;do n++,a=e.children[n].textContent.trim();while(a===""&&n+1t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)},!1)}function Tw(e,t,r){var a=Array.from(e.parentNode.children),n=a.indexOf(e);t=t||{};var i=t.margins||[],o=a.slice(n+1).find(function(D){return D.nodeName.toUpperCase()==="P"}),l=a.slice(0,n).reverse().find(function(D){return D.nodeName.toUpperCase()==="P"}),u=Ei(e),s=o?Ei(o):null,c=l?Ei(l):null,d=t.passLength,f=t.failLength,p=e.textContent.trim().length,m=o==null?void 0:o.textContent.trim().length;if(p>m*d||!s||!Hs(u,s,i))return!0;var b=Xt(r,"blockquote");if(!(b&&b.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!Hs(u,c,i))&&!(p>m*f))return!1}var Sw=Tw;function Ow(e){var t=e.filter(function(r){return r.data.isIframe});return e.forEach(function(r){if(!(r.result||r.node.ancestry.length===1)){var a=r.node.ancestry.slice(0,-1),n=Ze(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(ai(a,o.node.ancestry)){r.result=o.result;break}}}catch(l){n.e(l)}finally{n.f()}}}),t.forEach(function(r){r.result||(r.result=!0)}),e}var Iw=Ow,Pw=nr("landmark"),Nw=["alert","log","status"];function Mw(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=ae.get("regionlessNodes",function(){return qw(t)});return!a.includes(r)}function qw(e){var t=zs(v._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==T.body;)r=r.parent;return r}).filter(function(r,a,n){return n.indexOf(r)===a});return t}function zs(e,t){var r=e.actualNode;if(se(e)==="button"||Lw(e,t)||["iframe","frame"].includes(e.props.nodeName)||Hn(e.actualNode)&&yn(e.actualNode,"href")||!Fe(r)){for(var a=e;a;)a._hasRegionDescendant=!0,a=a.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==T.body&&ca(r,!0)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return zs(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function Lw(e,t){var r=e.actualNode,a=se(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim();return!!(["assertive","polite"].includes(n)||Nw.includes(a)||Pw.includes(a)||t.regionMatcher&&Fr(e,t.regionMatcher))}function Bw(e){var t=yn(e,"href");return t?Fe(t)||void 0:!1}var Vw=Bw;function jw(e){var t={};return e.forEach(function(r){t[r.data]=t[r.data]!==void 0?++t[r.data]:0}),e.forEach(function(r){r.result=!!t[r.data]}),e}var Hw=jw;function zw(e,t,r){var a=K(r.attr("title")).toLowerCase();return this.data(a),!0}var Uw=zw;function $w(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),!0):!1})}var Ww=$w;function Gw(e){var t=e.getAttribute("id").trim();if(!t)return!0;var r=je(e),a=Array.from(r.querySelectorAll('[id="'.concat(Ee(t),'"]'))).filter(function(n){return n!==e});return a.length&&this.relatedNodes(a),this.data(t),a.length===0}var Yw=Gw;function Kw(e,t,r){return!!K(Ar(r))}var Xw=Kw;function Jw(e,t,r){try{return!!K(Er(r))}catch{return}}var Qw=Jw;function Zw(e,t){var r=t.cssProperties.filter(function(a){if(e.style.getPropertyPriority(a)==="important")return a});return r.length>0?(this.data(r),!1):!0}var e_=Zw;function t_(){var e=T.title;return!!K(e)}var r_=t_;function a_(){}var n_=a_;function i_(e,t,r){var a=r.props.nodeName;return["img","input","area"].includes(a)?r.hasAttr("alt"):!1}var o_=i_;function l_(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.minValue,i=t.maxValue,o=t.normalValue,l=o===void 0?0:o,u=t.noImportant,s=t.multiLineOnly;if(!u&&e.style.getPropertyPriority(r)!=="important"||s&&!au(e))return!0;var c={};typeof n=="number"&&(c.minValue=n),typeof i=="number"&&(c.maxValue=i);var d=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(d))return this.data(ne({value:d},c)),!0;var f=u_(e,{absoluteValues:a,cssProperty:r,normalValue:l});if(this.data(ne({value:f},c)),typeof f=="number")return(typeof n!="number"||f>=n)&&(typeof i!="number"||f<=i)}function u_(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.normalValue,i=y.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return n;var l=parseFloat(o);if(a)return l;var u=parseFloat(i.getPropertyValue("font-size")),s=Math.round(l/u*100)/100;return isNaN(s)?o:s}function s_(e){return rt(e)}var c_=s_;function d_(e,t,r){var a=r.props.nodeName,n=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),a==="input"&&["submit","reset"].includes(n)?i===null:!1}var f_=d_;function p_(e,t,r){var a=ge(r);if(["presentation","none"].includes(a)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),!1;var n=se(r);if(["presentation","none"].includes(n))return this.data({role:n}),!0;if(!["presentation","none"].includes(a))return!1;var i=Nt().some(function(u){return r.hasAttr(u)}),o=Ae(r),l;return i&&!o?l="globalAria":!i&&o?l="focusable":l="both",this.data({messageKey:l,role:n}),!1}function m_(e,t,r){if(r.children){var a=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!a)return this.data({messageKey:"noTitle"}),!1;try{var n=xt(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return!0}}var h_=m_;function v_(e){var t=ht(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?!0:r.reduce(function(a,n,i){return a||n!==r[i+1]&&r[i+1]!==void 0},!1)}var g_=v_;function b_(e){return eu(T)?e.nodeName.toUpperCase()==="TH":!0}var y_=b_,D_=w_;function w_(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(__),i=n?K(xt(n)):!1;return!i||!a?!1:K(a).toLowerCase()===K(i).toLowerCase()}}function __(e){return e.props.nodeName==="caption"}function x_(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var E_=x_;function A_(e){var t=[],r=_i(e),a=ht(e);return r.forEach(function(n){if(ca(n)&&Vs(n)&&!os(n)){var i=Aa(n,a).some(function(o){return o!==null&&!!ca(o)});i||t.push(n)}}),t.length?(this.relatedNodes(t),!1):!0}var F_=A_;function C_(e){for(var t=[],r=[],a=[],n=0;n0)return this.relatedNodes(a),!1;if(r.length){this.relatedNodes(r);return}return!0}var k_=C_;function R_(e){var t=_i(e),r=this,a=[];t.forEach(function(l){var u=l.getAttribute("headers");u&&(a=a.concat(u.split(/\s+/)));var s=l.getAttribute("aria-labelledby");s&&(a=a.concat(s.split(/\s+/)))});var n=t.filter(function(l){return K(l.textContent)===""?!1:l.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(l.getAttribute("role"))!==-1}),i=ht(e),o=!0;return n.forEach(function(l){if(!(l.getAttribute("id")&&a.includes(l.getAttribute("id")))){var u=ia(l,i),s=!1;tr(l)&&(s=xi("down",u,i).find(function(c){return!tr(c)&&Aa(c,i).includes(l)})),!s&&rr(l)&&(s=xi("right",u,i).find(function(c){return!rr(c)&&Aa(c,i).includes(l)})),s||r.relatedNodes(l),o=o&&s}}),o?!0:void 0}var T_=R_;function S_(e,t,r){var a=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!a.includes(e.nodeName.toUpperCase())&&Rr(r)){var n=y.getComputedStyle(e);if(n.getPropertyValue("display")==="none")return;if(n.getPropertyValue("visibility")==="hidden"){var i=Ne(e),o=i&&y.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return!0}var O_=S_;function I_(e,t){var r=/^aria-/,a=t.attrNames;if(a.length){for(var n=0,i=a.length;n0&&g.every(Mr)||!Z_(t))return!1;for(var C=T.createRange(),N=t.children,q=0;q=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1}var t0=e0;function r0(e){return Fa(e)}var a0=r0;function n0(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Ee(t),'"]'),a=Array.from(je(e).querySelectorAll(r));return!wa(e)&&a.some(Ae)}var i0=n0;function o0(e){return wa(e)}var l0=o0;function u0(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Ee(t),'"]'),a=Array.from(je(e).querySelectorAll(r));return!wa(e)&&a.every(function(n){return!Ae(n)})}var s0=u0;function c0(e,t,r){var a,n;return!r.initiator&&!r.focusable&&((a=r.size)===null||a===void 0?void 0:a.width)*((n=r.size)===null||n===void 0?void 0:n.height)>1}var d0=c0;function f0(e){var t=e.getAttribute("title");return!!K(t)}var p0=f0;function m0(e,t){return ct(t,{chromium:!0})!==null}var h0=m0;function v0(e,t){return se(t)==="heading"}function g0(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!We(t,"svg")}catch{return!1}}var Ai=g0;function b0(e,t){return!Ai(e,t)}var y0=b0;function D0(e,t){var r=!!$e(t);if(!r)return!1;var a=se(e);return!(a&&a!=="link")}var w0=D0;function _0(e){return Jl(e)}var x0=_0;function E0(e){return rt(e)}function A0(e,t){return rt(t)}function F0(e,t){var r=se(e);if(!r)return!1;var a=nr("widget"),n=a.includes(r);if(!n)return!1;var i=pi();return!(!i.includes(r)||!K(Ar(t))&&!K(Er(e))||!K(dt(t)))}var C0=F0;function k0(e,t){if(t.props.nodeName!=="input"||t.hasAttr("type")===!1)return!0;var r=t.attr("type").toLowerCase();return["hidden","image","button","submit","reset"].includes(r)===!1}var R0=k0;function T0(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Xt(t,r)}var S0=T0;function O0(e,t){var r=["article","aside","main","nav","section"].join(",");function a(i){return!We(i,r)}function n(i){var o=i.actualNode,l=nr("landmark"),u=se(o);if(!u)return!1;var s=o.nodeName.toUpperCase();if(s==="HEADER"||s==="FOOTER")return a(i);if(s==="SECTION"||s==="FORM"){var c=$e(i);return!!c}return l.indexOf(u)>=0||u==="region"}return n(t)&&Fe(e)}var I0=O0;function P0(e){return!Fa(e)&&!Ae(e)}var N0=P0;function M0(e){var t=K(e.innerText),r=e.getAttribute("role");return r&&r!=="link"||!t||!rt(e)?!1:jn(e)}var q0=M0;function L0(e,t){var r=se(t);return r?!!ue.ariaRoles[r].childrenPresentational:!1}var B0=L0;function V0(e){return!(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var j0=V0;function H0(e,t){return!(!t.hasAttr("role")||!t.attr("role").trim())}var z0=H0;function U0(e,t){var r=ge(t);if(!r||["none","presentation"].includes(r))return!0;var a=dl[r]||{},n=a.accessibleNameRequired;return!!(n||Ae(t))}var Ws=U0;function $0(e,t){var r=qt(t),a=r.namingMethods;return!(a&&a.length!==0||ge(t)==="combobox"&&Xe(t,'input:not([type="hidden"])').length)}var W0=$0;function G0(e,t){var r=parseInt(t.attr("tabindex"),10);return isNaN(r)||r>=0}var Y0=G0;function K0(e,t){return!t.attr("role")}var X0=K0;function J0(e,t){return t.props.nodeName!=="html"}var Q0=J0,Z0=function(t,r){return[Ws,ex].every(function(a){return a(t,r)})};function ex(e){var t;if(!(e!=null&&(t=e.ownerDocument)!==null&&t!==void 0&&t.createRange))return!0;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),r.getClientRects().length===0}function tx(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),a=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(a)||[]).length>=2)return!1;var n=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return n.length!==0}var rx=tx;function ax(e,t){return ct(t,{chromiumRoles:!0})!==null}var nx=ax;function ix(e,t){if(!gt(e,13))return!1;var r=ge(t);if(cl["aria-haspopup"].values.includes(r)){if(We(t,'[role~="combobox"]'))return!1;var a=t.attr("id");if(a){var n=_r(e),i=Array.from(n.querySelectorAll('[aria-owns~="'.concat(a,'"], [aria-controls~="').concat(a,'"]'))),o=i.some(function(s){var c=qe(s.getAttribute("role"));return c.includes("combobox")});if(o)return!1}}var l=Xe(t,"*"),u=l.some(function(s){return Rr(s,!0,!0)});return!!u}var ox=ix;function lx(e){return Hn(e)&&aa(e)}var ux=lx;function sx(e,t){var r=se(t);return["treegrid","grid","table"].includes(r)}function cx(e,t){return dx.every(function(r){return r(e,t)})}var dx=[function(e,t){return Gs(t)},function(e,t){return fx(t)},function(e,t){return!Ai(e,t)},function(e,t){return Ae(t)},function(e,t){return ft(t)||!px(t)},function(e){return!jn(e,{noLengthCompare:!0})}];function Gs(e){return pt(e)==="widget"}function fx(e){return e.props.nodeName!=="area"}var px=tt(function e(t){return t!=null&&t.parent?Gs(t.parent)&&ft(t.parent)?!0:e(t.parent):!1});function mx(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var hx=mx;function vx(e){var t=Vt(e.getAttribute("lang")),r=Vt(e.getAttribute("xml:lang"));return Da(t)&&Da(r)}var gx=vx,bx={"abstractrole-evaluate":Sg,"accesskeys-after":Fy,"accesskeys-evaluate":ky,"alt-space-value-evaluate":Ky,"aria-allowed-attr-evaluate":Og,"aria-allowed-attr-matches":P_,"aria-allowed-role-evaluate":Pg,"aria-allowed-role-matches":M_,"aria-busy-evaluate":Ng,"aria-errormessage-evaluate":qg,"aria-has-attr-matches":L_,"aria-hidden-body-evaluate":Bg,"aria-hidden-focus-matches":V_,"aria-label-evaluate":Xw,"aria-labelledby-evaluate":Qw,"aria-level-evaluate":jg,"aria-prohibited-attr-evaluate":Hg,"aria-required-attr-evaluate":Ug,"aria-required-children-evaluate":Jg,"aria-required-children-matches":H_,"aria-required-parent-evaluate":eb,"aria-required-parent-matches":U_,"aria-roledescription-evaluate":rb,"aria-unsupported-attr-evaluate":nb,"aria-valid-attr-evaluate":ob,"aria-valid-attr-value-evaluate":lb,"attr-non-space-content-evaluate":py,"autocomplete-appropriate-evaluate":sy,"autocomplete-matches":W_,"autocomplete-valid-evaluate":dy,"avoid-inline-spacing-evaluate":e_,"bypass-matches":K_,"caption-evaluate":ND,"caption-faked-evaluate":g_,"color-contrast-evaluate":Zb,"color-contrast-matches":J_,"css-orientation-lock-evaluate":zD,"data-table-large-matches":t0,"data-table-matches":a0,"deprecatedrole-evaluate":sb,"dlitem-evaluate":xD,"doc-has-title-evaluate":r_,"duplicate-id-active-matches":i0,"duplicate-id-after":Ww,"duplicate-id-aria-matches":l0,"duplicate-id-evaluate":Yw,"duplicate-id-misc-matches":s0,"duplicate-img-label-evaluate":Jy,"exists-evaluate":n_,"explicit-evaluate":Zy,"fallbackrole-evaluate":fb,"focusable-content-evaluate":Ty,"focusable-disabled-evaluate":Oy,"focusable-element-evaluate":Py,"focusable-modal-open-evaluate":My,"focusable-no-name-evaluate":Ly,"focusable-not-tabbable-evaluate":Vy,"frame-focusable-content-evaluate":jy,"frame-focusable-content-matches":d0,"frame-tested-after":qD,"frame-tested-evaluate":BD,"frame-title-has-text-matches":p0,"has-alt-evaluate":o_,"has-descendant-after":hy,"has-descendant-evaluate":gy,"has-global-aria-attribute-evaluate":mb,"has-implicit-chromium-role-matches":h0,"has-lang-evaluate":gD,"has-text-content-evaluate":by,"has-widget-role-evaluate":vb,"heading-matches":v0,"heading-order-after":rw,"heading-order-evaluate":cw,"help-same-as-label-evaluate":tD,"hidden-content-evaluate":O_,"hidden-explicit-label-evaluate":aD,"html-namespace-matches":y0,"html5-scope-evaluate":y_,"identical-links-same-purpose-after":fw,"identical-links-same-purpose-evaluate":_w,"identical-links-same-purpose-matches":w0,"implicit-evaluate":iD,"inline-style-property-evaluate":l_,"inserted-into-focus-order-matches":x0,"internal-link-present-evaluate":Ew,"invalid-children-evaluate":ED,"invalidrole-evaluate":bb,"is-element-focusable-evaluate":Db,"is-initiator-matches":$s,"is-on-screen-evaluate":c_,"is-visible-matches":E0,"is-visible-on-screen-matches":A0,"label-content-name-mismatch-evaluate":lD,"label-content-name-mismatch-matches":C0,"label-matches":R0,"landmark-has-body-context-matches":S0,"landmark-is-top-level-evaluate":zy,"landmark-is-unique-after":pD,"landmark-is-unique-evaluate":hD,"landmark-unique-matches":I0,"layout-table-matches":N0,"link-in-text-block-evaluate":ny,"link-in-text-block-matches":q0,"link-in-text-block-style-evaluate":ly,"listitem-evaluate":CD,"matches-definition-evaluate":Dy,"meta-refresh-evaluate":Cw,"meta-viewport-scale-evaluate":$D,"multiple-label-evaluate":sD,"nested-interactive-matches":B0,"no-autoplay-audio-evaluate":jD,"no-autoplay-audio-matches":j0,"no-empty-role-matches":z0,"no-explicit-name-required-matches":Ws,"no-focusable-content-evaluate":Uy,"no-implicit-explicit-label-evaluate":_b,"no-naming-method-matches":W0,"no-negative-tabindex-matches":Y0,"no-role-matches":X0,"non-empty-if-present-evaluate":f_,"not-html-matches":Q0,"object-is-loaded-matches":Z0,"only-dlitems-evaluate":RD,"only-listitems-evaluate":SD,"p-as-heading-evaluate":Sw,"p-as-heading-matches":rx,"page-no-duplicate-after":_y,"page-no-duplicate-evaluate":Ey,"presentation-role-conflict-matches":nx,"presentational-role-evaluate":p_,"region-after":Iw,"region-evaluate":Mw,"same-caption-summary-evaluate":D_,"scope-value-evaluate":E_,"scrollable-region-focusable-matches":ox,"skip-link-evaluate":Vw,"skip-link-matches":ux,"structured-dlitems-evaluate":ID,"svg-namespace-matches":Ai,"svg-non-empty-title-evaluate":h_,"tabindex-evaluate":Gy,"table-or-grid-role-matches":sx,"target-offset-evaluate":GD,"target-size-evaluate":KD,"td-has-header-evaluate":F_,"td-headers-attr-evaluate":k_,"th-has-data-cells-evaluate":T_,"title-only-evaluate":dD,"unique-frame-title-after":Hw,"unique-frame-title-evaluate":Uw,"unsupportedrole-evaluate":Eb,"valid-lang-evaluate":yD,"valid-scrollable-semantics-evaluate":Tb,"widget-not-inline-matches":cx,"window-is-top-matches":hx,"xml-lang-mismatch-evaluate":wD,"xml-lang-mismatch-matches":gx},Ca=bx;function yx(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null}var Fi=yx;function Ci(e){if(typeof e=="string"){if(Ca[e])return Ca[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function Ys(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(Array.isArray(e)||P(e)!=="object")&&(e={value:e}),e}function or(e){e&&(this.id=e.id,this.configure(e))}or.prototype.enabled=!0,or.prototype.run=function(t,r,a,n,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,l=this.getOptions(r.options);if(o){var u=new Fi(this),s=za(u,r,n,i),c;try{c=this.evaluate.call(s,t.actualNode,l,t,a)}catch(d){t&&t.actualNode&&(d.errorNode=new ot(t).toJSON()),i(d);return}s.isAsync||(u.result=c,n(u))}else n(null)},or.prototype.runSync=function(t,r,a){r=r||{};var n=r,i=n.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var l=this.getOptions(r.options),u=new Fi(this),s=za(u,r);s.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var c;try{c=this.evaluate.call(s,t.actualNode,l,t,a)}catch(d){throw t&&t.actualNode&&(d.errorNode=new ot(t).toJSON()),d}return u.result=c,u},or.prototype.configure=function(t){var r=this;(!t.evaluate||Ca[t.evaluate])&&(this._internalCheck=!0),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=Ys(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=Ci(t[a])})},or.prototype.getOptions=function(t){return this._internalCheck?on(this.options,Ys(t||{})):t||this.options};var Ks=or;function Dx(e){this.id=e.id,this.result=Z.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]}var ka=Dx;function Je(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(de(Z.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden=typeof e.excludeHidden=="boolean"?e.excludeHidden:!0,this.enabled=typeof e.enabled=="boolean"?e.enabled:!0,this.pageLevel=typeof e.pageLevel=="boolean"?e.pageLevel:!1,this.reviewOnFail=typeof e.reviewOnFail=="boolean"?e.reviewOnFail:!1,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=Ci(e.matches))}Je.prototype.matches=function(){return!0},Je.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&Re.mark(a);var l=ui(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&Re.mark(i),l=l.filter(function(u){return Fe(u)}),r.performanceTimer&&(Re.mark(o),Re.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(Re.mark(n),Re.measure("rule_"+this.id+"#gather",a,n)),l},Je.prototype.runChecks=function(t,r,a,n,i,o){var l=this,u=st();this[t].forEach(function(s){var c=l._audit.checks[s.id||s],d=va(c,l.id,a);u.defer(function(f,p){c.run(r,d,n,f,p)})}),u.then(function(s){s=s.filter(function(c){return c}),i({type:t,results:s})}).catch(o)},Je.prototype.runChecksSync=function(t,r,a,n){var i=this,o=[];return this[t].forEach(function(l){var u=i._audit.checks[l.id||l],s=va(u,i.id,a);o.push(u.runSync(r,s,n))}),o=o.filter(function(l){return l}),{type:t,results:o}},Je.prototype.run=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;a.performanceTimer&&this._trackPerformance();var o=st(),l=new ka(this),u;try{u=this.gatherAndMatchNodes(t,a)}catch(s){i(new fr({cause:s,ruleId:this.id}));return}a.performanceTimer&&this._logGatherPerformance(u),u.forEach(function(s){o.defer(function(c,d){var f=st();["any","all","none"].forEach(function(p){f.defer(function(m,b){r.runChecks(p,s,a,t,m,b)})}),f.then(function(p){var m=Xs(p);m&&(m.node=new ot(s,a),l.nodes.push(m),r.reviewOnFail&&(["any","all"].forEach(function(b){m[b].forEach(function(D){D.result===!1&&(D.result=void 0)})}),m.none.forEach(function(b){b.result===!0&&(b.result=void 0)}))),c()}).catch(function(p){return d(p)})})}),o.defer(function(s){return setTimeout(s,0)}),a.performanceTimer&&this._logRulePerformance(),o.then(function(){return n(l)}).catch(function(s){return i(s)})},Je.prototype.runSync=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var n=new ka(this),i;try{i=this.gatherAndMatchNodes(t,a)}catch(o){throw new fr({cause:o,ruleId:this.id})}return a.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var l=[];["any","all","none"].forEach(function(s){l.push(r.runChecksSync(s,o,a,t))});var u=Xs(l);u&&(u.node=o.actualNode?new ot(o,a):null,n.nodes.push(u),r.reviewOnFail&&(["any","all"].forEach(function(s){u[s].forEach(function(c){c.result===!1&&(c.result=void 0)})}),u.none.forEach(function(s){s.result===!0&&(s.result=void 0)})))}),a.performanceTimer&&this._logRulePerformance(),n},Je.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},Je.prototype._logGatherPerformance=function(t){Ot("gather (",t.length,"):",Re.timeElapsed()+"ms"),Re.mark(this._markChecksStart)},Je.prototype._logRulePerformance=function(){Re.mark(this._markChecksEnd),Re.mark(this._markEnd),Re.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Re.measure("rule_"+this.id,this._markStart,this._markEnd)};function Xs(e){if(e.length){var t=!1,r={};return e.forEach(function(a){var n=a.results.filter(function(i){return i});r[a.type]=n,n.length&&(t=!0)}),t?r:null}}Je.prototype.gatherAndMatchNodes=function(t,r){var a=this,n="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&Re.mark(n),o=o.filter(function(l){return a.matches(l.actualNode,l,t)}),r.performanceTimer&&(Re.mark(i),Re.measure("rule_"+this.id+"#matches",n,i)),o};function wx(e){return Zr(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function _x(e,t){var r=[];return e.forEach(function(a){var n=Zr(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i))})}),r}function xx(e){return e.filter(function(t){return t.filtered!==!0})}function Ex(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=xx(a[i]),n+=a[i].length}),n>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(a,n){if(a)return t.forEach(function(i){a[i].push.apply(a[i],n[i])}),a})]),r}Je.prototype.after=function(t,r){var a=this,n=wx(this),i=this.id;return n.forEach(function(o){var l=_x(t.nodes,o.id),u=va(o,i,r),s=o.after(l,u);a.reviewOnFail&&s.forEach(function(c){var d=(a.any.includes(c.id)||a.all.includes(c.id))&&c.result===!1,f=a.none.includes(c.id)&&c.result===!0;(d||f)&&(c.result=void 0)}),l.forEach(function(c){delete c.node,s.indexOf(c)===-1&&(c.filtered=!0)})}),t.nodes=Ex(t),t},Je.prototype.configure=function(t){t.hasOwnProperty("selector")&&(this.selector=t.selector),t.hasOwnProperty("excludeHidden")&&(this.excludeHidden=typeof t.excludeHidden=="boolean"?t.excludeHidden:!0),t.hasOwnProperty("enabled")&&(this.enabled=typeof t.enabled=="boolean"?t.enabled:!0),t.hasOwnProperty("pageLevel")&&(this.pageLevel=typeof t.pageLevel=="boolean"?t.pageLevel:!1),t.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail=typeof t.reviewOnFail=="boolean"?t.reviewOnFail:!1),t.hasOwnProperty("any")&&(this.any=t.any),t.hasOwnProperty("all")&&(this.all=t.all),t.hasOwnProperty("none")&&(this.none=t.none),t.hasOwnProperty("tags")&&(this.tags=t.tags),t.hasOwnProperty("actIds")&&(this.actIds=t.actIds),t.hasOwnProperty("matches")&&(this.matches=Ci(t.matches)),t.impact&&(de(Z.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact)};var Js=Je,lr=nt(Zi()),ur=/\{\{.+?\}\}/g;function Qs(){if(y.origin)return y.origin;if(y.location&&y.location.origin)return y.location.origin}function Ax(e){var t;if(e?(t=mt(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,!t.allowedOrigins){var r=Qs();t.allowedOrigins=r?[r]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=ne({checks:{},rules:{}},t.data),t}function Zs(e,t,r){var a,n;for(a=0,n=e.length;a0&&arguments[0]!==void 0?arguments[0]:null,n=(v.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||a&&o.helpUrl===tc(a,i.id,n))&&(o.helpUrl=tc(r,i.id,n))})}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),e}();function Sx(e,t,r){var a={now:[],later:[]},n=e.reduce(function(i,o){return Bu(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},a);return n}function ec(e,t,r){return r.performanceTimer&&Re.mark("mark_rule_start_"+e.id),function(a,n){e.run(t,r,function(i){a(i)},function(i){if(r.debug)n(i);else{var o=Object.assign(new ka(e),{result:Z.CANTTELL,description:"An error occured while running this rule",message:i.message,stack:i.stack,error:i,errorNode:i.errorNode});a(o)}})}}function tc(e,t,r){var a=e.brand,n=e.application,i=e.lang;return Z.helpUrlBase+a+"/"+(r||v.version.substring(0,v.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}var rc=Tx;function Ox(e){var t=y&&"Node"in y&&"NodeList"in y,r=!!T;if(!(t&&r)){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(ae.set("globalDocumentSet",!0),T=e.ownerDocument),t||(ae.set("globalWindowSet",!0),y=T.defaultView)}}function ki(){ae.get("globalDocumentSet")&&(ae.set("globalDocumentSet",!1),T=null),ae.get("globalWindowSet")&&(ae.set("globalWindowSet",!1),y=null)}function Ix(){ki(),v._memoizedFns.forEach(function(e){return e.clear()}),ae.clear(),v._tree=void 0,v._selectorData=void 0,v._selectCache=void 0}var Ft=Ix;function Px(e,t,r,a){try{e=new ga(e),v._tree=e.flatTree,v._selectorData=Wr(e.flatTree)}catch(o){return Ft(),a(o)}var n=st(),i=v._audit;t.performanceTimer&&Re.auditStart(),e.frames.length&&t.iframes!==!1&&n.defer(function(o,l){Io(e,t,"rules",null,o,l)}),n.defer(function(o,l){i.run(e,t,o,l)}),n.then(function(o){try{t.performanceTimer&&Re.auditEnd();var l=ea(o.map(function(u){return{results:u}}));e.initiator&&(l=i.after(l,t),l.forEach(ba),l=l.map(hr));try{r(l,Ft)}catch(u){Ft(),Ot(u)}}catch(u){Ft(),a(u)}}).catch(function(o){Ft(),a(o)})}var ac=Px;function Nx(e,t,r){var a=r,n=function(u){u instanceof Error||(u=new Error(u)),r(u)},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[T]);var o=e&&e.options||{};switch(e.command){case"rules":return ac(i,o,function(l,u){a(l),u()},n);case"cleanup-plugin":return Xu(a,n);default:if(v._audit&&v._audit.commands&&v._audit.commands[e.command])return v._audit.commands[e.command](e,r)}}y.top!==y&&(lt.subscribe("axe.start",Nx),lt.subscribe("axe.ping",function(e,t,r){r({axe:!0})}));function Mx(e){v._audit=new rc(e)}var qx=Mx;function qr(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){v._audit.registerCommand(t)})}qr.prototype.run=function(){return this._run.apply(this,arguments)},qr.prototype.collect=function(){return this._collect.apply(this,arguments)},qr.prototype.cleanup=function(t){var r=v.utils.queue(),a=this;Object.keys(this._registry).forEach(function(n){r.defer(function(i){a._registry[n].cleanup(i)})}),r.then(t)},qr.prototype.add=function(t){this._registry[t.id]=t};function Lx(e){v.plugins[e.id]=new qr(e)}var Bx=Lx;function Vx(){var e=v._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),pp()}var jx=Vx;function Hx(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||v._audit.reporter||"v1",v._selectorData={},t instanceof J||(t=new Gu(t));var a=wu(e);if(!a)throw new Error("unknown rule `"+e+"`");a=Object.create(a,{excludeHidden:{value:!1}});var n={initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},i=a.runSync(n,r);ba(i),hr(i);var o=no([i]);return o.violations.forEach(function(l){return l.nodes.forEach(function(u){u.failureSummary=Xn(u)})}),ne({},Et(),o,{toolOptions:r})}function nc(e){var t,r,a,n=ve(e,3),i=n[0],o=n[1],l=n[2],u=new TypeError("axe.run arguments are invalid");if(!Hh(i)){if(l!==void 0)throw u;l=o,o=i,i=T}if(P(o)!=="object"){if(l!==void 0)throw u;l=o,o={}}if(typeof l!="function"&&l!==void 0)throw u;return o=mt(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(a=v._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:l}}var Ra=function(){};function zx(){for(var e=arguments.length,t=new Array(e),r=0;r1&&arguments[1]!==void 0?arguments[1]:{};n=mt(n);var i=e.find(function(u){return u.environmentData})||{},o=i.environmentData;v._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=v._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",Xx(e);var l=ea(e);return l=v._audit.after(l,n),l.forEach(ba),l=l.map(hr),Qx(l,ne({environmentData:o},n))}function Xx(e){var t=[],r=Ze(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value,i=t.shift();if(n){n.frameSpec=i??null;var o=Jx(n);t.unshift.apply(t,ee(o))}}}catch(l){r.e(l)}finally{r.f()}}function Jx(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return ot.mergeSpecs(a,r)}):t}function Qx(e,t){return new Promise(function(r){var a=di(t.reporter);a(e,t,r)})}function Zx(e){if(v._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return v._tree=Kn(e),v._selectorData=Wr(v._tree),v._tree[0]}var eE=Zx,tE=function(t,r,a){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ve(n,gc);a(ne({},Et(i),{toolOptions:o},Sr(t,r)))},rE=tE,aE=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ve(n,bc);r.resultTypes=["violations"];var l=Sr(t,r),u=l.violations;a(ne({},Et(i),{toolOptions:o,violations:u}))},nE=aE,iE=function(t,r,a){if(typeof r=="function"&&(a=r,r={}),!t||!Array.isArray(t))return a(t);var n=t.map(function(i){for(var o=ne({},i),l=["passes","violations","incomplete","inapplicable"],u=0,s=l;u elements of image maps have alternate text",help:"Active elements must have alternate text"},"aria-allowed-attr":{description:"Ensures ARIA attributes are allowed for an element's role",help:"Elements must only use allowed ARIA attributes"},"aria-allowed-role":{description:"Ensures role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-command-name":{description:"Ensures every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-dialog-name":{description:"Ensures every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:"Ensures aria-hidden='true' is not present on the document body.",help:"aria-hidden='true' must not be present on the document body"},"aria-hidden-focus":{description:"Ensures aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensures every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensures every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensures every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-required-attr":{description:"Ensures elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensures elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensures elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensures all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensures "role=text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensures every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensures every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensures every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensures all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensures attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensures