diff --git a/demo-DES-969-file-list-component/assets/Accordion.docs-BlUu75KD.js b/demo-DES-969-file-list-component/assets/Accordion.docs-BLLMnCa-.js similarity index 88% rename from demo-DES-969-file-list-component/assets/Accordion.docs-BlUu75KD.js rename to demo-DES-969-file-list-component/assets/Accordion.docs-BLLMnCa-.js index 2fa4e0e1cb..8dace54196 100644 --- a/demo-DES-969-file-list-component/assets/Accordion.docs-BlUu75KD.js +++ b/demo-DES-969-file-list-component/assets/Accordion.docs-BLLMnCa-.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as a}from"./index-BSj771as.js";import{ae as i,aq as r,ar as c,as as d,at as o}from"./index-CsbqyhR0.js";import{A as h,E as l,R as m}from"./Accordion.stories-BICZiknX.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./exampleContent-hIIPvEhU.js";import"./getHeadingTag-Dv1eMqvl.js";import"./Icon-D1obyjGa.js";import"./useKeyboardFocus-CRUFsA_C.js";const p=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as a}from"./index-3rgQkYFR.js";import{ae as i,aq as r,ar as c,as as d,at as o}from"./index-DEYBsmB_.js";import{A as h,E as l,R as m}from"./Accordion.stories-D6g8jo3r.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./exampleContent-hIIPvEhU.js";import"./getHeadingTag-Dv1eMqvl.js";import"./Icon-B4wlDyQ3.js";import"./useKeyboardFocus-CRUFsA_C.js";const p=` # Accordion @@ -80,4 +80,4 @@ Let Accordions with 6 Sections or more render generic `,e.jsx(n.code,{children:" `,e.jsx(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary#summaries_as_headings",rel:"nofollow",children:"For example, a heading in a summary is not adequately understood by screen readers"}),` and NVDA does not read Chrome and Edge’s collapsed and expanded status correctly. That’s why we chose not to use this native element. -If these problems are solved, we could do this.`]})]})}function S(t={}){const{wrapper:n}={...a(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(s,{...t})}):s(t)}export{S as default}; +If these problems are solved, we could do this.`]})]})}function M(t={}){const{wrapper:n}={...a(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(s,{...t})}):s(t)}export{M as default}; diff --git a/demo-DES-969-file-list-component/assets/Accordion.stories-BICZiknX.js b/demo-DES-969-file-list-component/assets/Accordion.stories-D6g8jo3r.js similarity index 94% rename from demo-DES-969-file-list-component/assets/Accordion.stories-BICZiknX.js rename to demo-DES-969-file-list-component/assets/Accordion.stories-D6g8jo3r.js index 2bc186c82e..516daa7bb3 100644 --- a/demo-DES-969-file-list-component/assets/Accordion.stories-BICZiknX.js +++ b/demo-DES-969-file-list-component/assets/Accordion.stories-D6g8jo3r.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as n}from"./index.esm-Dojcg4AG.js";import{b as x,g as S}from"./exampleContent-hIIPvEhU.js";import{c as u}from"./clsx-B-dksMZM.js";import{r}from"./index-B-o1Wr-g.js";import{r as K}from"./index.esm-CEthAr-Q.js";import{g as M}from"./getHeadingTag-Dv1eMqvl.js";import{I as F}from"./Icon-D1obyjGa.js";import{u as W}from"./useKeyboardFocus-CRUFsA_C.js";/** +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{P as n}from"./index.esm-CEzKrmam.js";import{b as x,g as S}from"./exampleContent-hIIPvEhU.js";import{c as u}from"./clsx-B-dksMZM.js";import{r}from"./index-RigO-4kf.js";import{r as K}from"./index.esm-Bz9pa_xK.js";import{g as M}from"./getHeadingTag-Dv1eMqvl.js";import{I as F}from"./Icon-B4wlDyQ3.js";import{u as W}from"./useKeyboardFocus-CRUFsA_C.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const G={headingLevel:1,sectionAs:"section"},H=r.createContext(G);try{Context.displayName="Context",Context.__docgenInfo={description:`Context lets components pass information deep down without explicitly diff --git a/demo-DES-969-file-list-component/assets/ActionGroup.docs-D74khyIv.js b/demo-DES-969-file-list-component/assets/ActionGroup.docs-MYtZV5tl.js similarity index 69% rename from demo-DES-969-file-list-component/assets/ActionGroup.docs-D74khyIv.js rename to demo-DES-969-file-list-component/assets/ActionGroup.docs-MYtZV5tl.js index 0df291225d..cacb9f21cc 100644 --- a/demo-DES-969-file-list-component/assets/ActionGroup.docs-D74khyIv.js +++ b/demo-DES-969-file-list-component/assets/ActionGroup.docs-MYtZV5tl.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as a,aq as s,ar as h,at as e}from"./index-CsbqyhR0.js";import{A as c,S as l,W as d}from"./ActionGroup.stories-Bhg0peuQ.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const p=` +import{j as t}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as r}from"./index-3rgQkYFR.js";import{ae as a,aq as s,ar as h,at as e}from"./index-DEYBsmB_.js";import{A as c,S as l,W as p}from"./ActionGroup.stories-CTvbt48N.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const d=` # Action Group @@ -15,7 +15,7 @@ Groups one or more related actions and manages their layout. `;/*@license CC0-1.0*/function i(o){const n={h2:"h2",h3:"h3",p:"p",...r(),...o.components};return t.jsxs(t.Fragment,{children:[` `,` `,t.jsx(a,{of:c}),` -`,t.jsx(s,{children:p}),` +`,t.jsx(s,{children:d}),` `,t.jsx(h,{}),` `,t.jsx(n.h2,{id:"examples",children:"Examples"}),` `,t.jsx(n.h3,{id:"stacked",children:"Stacked"}),` @@ -25,4 +25,4 @@ Resize the pink rectangle to see this in action.`}),` `,t.jsx(e,{of:l}),` `,t.jsx(n.h3,{id:"with-link",children:"With Link"}),` `,t.jsx(n.p,{children:"An action that involves navigation should be a link."}),` -`,t.jsx(e,{of:d})]})}function S(o={}){const{wrapper:n}={...r(),...o.components};return n?t.jsx(n,{...o,children:t.jsx(i,{...o})}):i(o)}export{S as default}; +`,t.jsx(e,{of:p})]})}function E(o={}){const{wrapper:n}={...r(),...o.components};return n?t.jsx(n,{...o,children:t.jsx(i,{...o})}):i(o)}export{E as default}; diff --git a/demo-DES-969-file-list-component/assets/ActionGroup.stories-Bhg0peuQ.js b/demo-DES-969-file-list-component/assets/ActionGroup.stories-CTvbt48N.js similarity index 90% rename from demo-DES-969-file-list-component/assets/ActionGroup.stories-Bhg0peuQ.js rename to demo-DES-969-file-list-component/assets/ActionGroup.stories-CTvbt48N.js index bbd5bd0109..7e8eeabea0 100644 --- a/demo-DES-969-file-list-component/assets/ActionGroup.stories-Bhg0peuQ.js +++ b/demo-DES-969-file-list-component/assets/ActionGroup.stories-CTvbt48N.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{a as t,L as _}from"./index.esm-Dojcg4AG.js";import{c as x}from"./clsx-B-dksMZM.js";import{r as S}from"./index-B-o1Wr-g.js";const n=S.forwardRef(({children:s,className:j,...y},f)=>e.jsx("div",{...y,ref:f,className:x("ams-action-group",j),role:"group",children:s}));n.displayName="ActionGroup";try{n.displayName="ActionGroup",n.__docgenInfo={description:"",displayName:"ActionGroup",props:{}}}catch{}const k={title:"Components/Layout/Action Group",component:n,args:{children:[e.jsx(t,{children:"Doorgaan"}),e.jsx(t,{variant:"tertiary",children:"Stoppen"})]}},r={},o={args:{children:[e.jsx(t,{children:"Adres wijzigen"}),e.jsx(t,{variant:"secondary",children:"Adres verwijderen"})],className:"ams-resize-horizontal",style:{inlineSize:"16rem"}}},a={args:{children:[e.jsx(t,{children:"Bewerken"},1),e.jsx(_,{download:!0,href:"#",variant:"standalone",children:"Downloaden"},2)]}};var i,c,d;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:"{}",...(d=(c=r.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};var l,p,m;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{a as t,L as _}from"./index.esm-CEzKrmam.js";import{c as x}from"./clsx-B-dksMZM.js";import{r as S}from"./index-RigO-4kf.js";const n=S.forwardRef(({children:s,className:j,...y},f)=>e.jsx("div",{...y,ref:f,className:x("ams-action-group",j),role:"group",children:s}));n.displayName="ActionGroup";try{n.displayName="ActionGroup",n.__docgenInfo={description:"",displayName:"ActionGroup",props:{}}}catch{}const k={title:"Components/Layout/Action Group",component:n,args:{children:[e.jsx(t,{children:"Doorgaan"}),e.jsx(t,{variant:"tertiary",children:"Stoppen"})]}},r={},o={args:{children:[e.jsx(t,{children:"Adres wijzigen"}),e.jsx(t,{variant:"secondary",children:"Adres verwijderen"})],className:"ams-resize-horizontal",style:{inlineSize:"16rem"}}},a={args:{children:[e.jsx(t,{children:"Bewerken"},1),e.jsx(_,{download:!0,href:"#",variant:"standalone",children:"Downloaden"},2)]}};var i,c,d;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:"{}",...(d=(c=r.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};var l,p,m;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`{ args: { children: [, ], className: 'ams-resize-horizontal', diff --git a/demo-DES-969-file-list-component/assets/Alert-dZot25lM.js b/demo-DES-969-file-list-component/assets/Alert-DX-WoWqK.js similarity index 84% rename from demo-DES-969-file-list-component/assets/Alert-dZot25lM.js rename to demo-DES-969-file-list-component/assets/Alert-DX-WoWqK.js index d7b3a47f33..4a8b2dd3b7 100644 --- a/demo-DES-969-file-list-component/assets/Alert-dZot25lM.js +++ b/demo-DES-969-file-list-component/assets/Alert-DX-WoWqK.js @@ -1,2 +1,2 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{S as r,a as v,b as h}from"./index.esm-CEthAr-Q.js";import{c as g}from"./clsx-B-dksMZM.js";import{r as y}from"./index-B-o1Wr-g.js";import{I as x}from"./Icon-D1obyjGa.js";import{H as _}from"./Heading-BMR-3CH3.js";import{I as b}from"./IconButton-C-A1ufmT.js";const A={error:r,info:v,success:h,warning:r},l=y.forwardRef(({children:s,className:i,closeable:o,closeButtonLabel:c="Sluiten",heading:a,headingLevel:u=2,onClose:d,severity:t="warning",...m},f)=>{const n=a?"level-4":"level-5",p=a?"section":"div";return e.jsxs(p,{...m,ref:f,className:g("ams-alert",t&&`ams-alert--${t}`,i),children:[e.jsx("div",{className:"ams-alert__icon",children:e.jsx(x,{size:n,svg:A[t]})}),e.jsxs("div",{className:"ams-alert__content",children:[a&&e.jsx(_,{level:u,size:"level-4",children:a}),s]}),o&&e.jsx(b,{label:c,size:n,onClick:d})]})});l.displayName="Alert";try{l.displayName="Alert",l.__docgenInfo={description:"",displayName:"Alert",props:{closeable:{defaultValue:null,description:"Whether the user can dismiss the Alert. Adds a button to its top right.",name:"closeable",required:!1,type:{name:"boolean"}},closeButtonLabel:{defaultValue:{value:"Sluiten"},description:"The label for the button that dismisses the Alert.",name:"closeButtonLabel",required:!1,type:{name:"string"}},heading:{defaultValue:null,description:"The text for the Heading.",name:"heading",required:!1,type:{name:"string"}},headingLevel:{defaultValue:{value:"2"},description:`The hierarchical level of the Heading within the document. +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{S as r,a as v,b as h}from"./index.esm-Bz9pa_xK.js";import{c as g}from"./clsx-B-dksMZM.js";import{r as y}from"./index-RigO-4kf.js";import{I as x}from"./Icon-B4wlDyQ3.js";import{H as _}from"./Heading-Vg3KKL7T.js";import{I as b}from"./IconButton-Dm4nec53.js";const A={error:r,info:v,success:h,warning:r},l=y.forwardRef(({children:s,className:i,closeable:o,closeButtonLabel:c="Sluiten",heading:a,headingLevel:u=2,onClose:d,severity:t="warning",...m},f)=>{const n=a?"level-4":"level-5",p=a?"section":"div";return e.jsxs(p,{...m,ref:f,className:g("ams-alert",t&&`ams-alert--${t}`,i),children:[e.jsx("div",{className:"ams-alert__icon",children:e.jsx(x,{size:n,svg:A[t]})}),e.jsxs("div",{className:"ams-alert__content",children:[a&&e.jsx(_,{level:u,size:"level-4",children:a}),s]}),o&&e.jsx(b,{label:c,size:n,onClick:d})]})});l.displayName="Alert";try{l.displayName="Alert",l.__docgenInfo={description:"",displayName:"Alert",props:{closeable:{defaultValue:null,description:"Whether the user can dismiss the Alert. Adds a button to its top right.",name:"closeable",required:!1,type:{name:"boolean"}},closeButtonLabel:{defaultValue:{value:"Sluiten"},description:"The label for the button that dismisses the Alert.",name:"closeButtonLabel",required:!1,type:{name:"string"}},heading:{defaultValue:null,description:"The text for the Heading.",name:"heading",required:!1,type:{name:"string"}},headingLevel:{defaultValue:{value:"2"},description:`The hierarchical level of the Heading within the document. Note: this intentionally does not change the font size.`,name:"headingLevel",required:!1,type:{name:"enum",value:[{value:"1"},{value:"2"},{value:"3"},{value:"4"}]}},onClose:{defaultValue:null,description:"A function to run when dismissing.",name:"onClose",required:!1,type:{name:"(() => void)"}},severity:{defaultValue:{value:"warning"},description:"The significance of the message conveyed.",name:"severity",required:!1,type:{name:"enum",value:[{value:'"error"'},{value:'"info"'},{value:'"success"'},{value:'"warning"'}]}}}}}catch{}export{l as A}; diff --git a/demo-DES-969-file-list-component/assets/Alert.docs-By5O1ptM.js b/demo-DES-969-file-list-component/assets/Alert.docs-CYmxFlDH.js similarity index 74% rename from demo-DES-969-file-list-component/assets/Alert.docs-By5O1ptM.js rename to demo-DES-969-file-list-component/assets/Alert.docs-CYmxFlDH.js index 5e98f2b4db..2380d05140 100644 --- a/demo-DES-969-file-list-component/assets/Alert.docs-By5O1ptM.js +++ b/demo-DES-969-file-list-component/assets/Alert.docs-CYmxFlDH.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as o,aq as a,ar as c,as as h,at as i}from"./index-CsbqyhR0.js";import{A as l,W as d,E as m,S as p,I as f,a as u,b as x,c as g}from"./Alert.stories-CSX7fPhb.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./Alert-dZot25lM.js";import"./Icon-D1obyjGa.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-C-A1ufmT.js";const j=` +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as o,aq as a,ar as c,as as h,at as i}from"./index-DEYBsmB_.js";import{A as l,W as d,E as m,S as p,I as f,a as u,b as x,c as g}from"./Alert.stories-YLCSfGLM.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./Alert-DX-WoWqK.js";import"./Icon-B4wlDyQ3.js";import"./Heading-Vg3KKL7T.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-Dm4nec53.js";const j=` # Alert @@ -52,4 +52,4 @@ Provide the user with suggestions on alternative ways to achieve the goal.`}),` `,n.jsx(e.h3,{id:"without-heading",children:"Without heading"}),` `,n.jsx(e.p,{children:`Sometimes, a heading is unnecessary. The icon automatically becomes slightly smaller.`}),` -`,n.jsx(i,{of:g})]})}function O(t={}){const{wrapper:e}={...s(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(r,{...t})}):r(t)}export{O as default}; +`,n.jsx(i,{of:g})]})}function R(t={}){const{wrapper:e}={...s(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(r,{...t})}):r(t)}export{R as default}; diff --git a/demo-DES-969-file-list-component/assets/Alert.stories-CSX7fPhb.js b/demo-DES-969-file-list-component/assets/Alert.stories-YLCSfGLM.js similarity index 96% rename from demo-DES-969-file-list-component/assets/Alert.stories-CSX7fPhb.js rename to demo-DES-969-file-list-component/assets/Alert.stories-YLCSfGLM.js index ee34b8d236..56a302c2c4 100644 --- a/demo-DES-969-file-list-component/assets/Alert.stories-CSX7fPhb.js +++ b/demo-DES-969-file-list-component/assets/Alert.stories-YLCSfGLM.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as n,U as g,L as A}from"./index.esm-Dojcg4AG.js";import{A as E}from"./Alert-dZot25lM.js";const H={title:"Components/Feedback/Alert",component:E,args:{closeable:!1,heading:"Let op"}},r={args:{children:e.jsx(n,{children:"Tijdens Koningsdag zijn alle Stadsloketten gesloten. Ook 14 020 en alle andere telefoonnummers van de gemeente zijn niet bereikbaar."})}},a={args:{children:e.jsx(n,{children:"U bent vergeten verplichte velden in te vullen."}),heading:"Vul de gegevens aan"}},s={args:{children:e.jsx(n,{children:"Wegens een technische fout kon het formulier niet worden verzonden. We hebben uw gegevens niet ontvangen. Probeer het over een paar minuten opnieuw."}),heading:"Niet gelukt",severity:"error"}},t={args:{children:e.jsx(n,{children:"Het formulier is verzonden. We hebben uw gegevens goed ontvangen."}),closeable:!0,heading:"Gelukt",severity:"success"}},o={args:{children:e.jsx(n,{children:"Tijdens de hijswerkzaamheden geldt er een korte verkeersstop. We zetten verkeersregelaars in, volg hun aanwijzingen op. De verkeersstop duurt ongeveer 10 minuten."}),closeable:!0,severity:"info"}},i={args:{children:[e.jsx(n,{children:"U bent vergeten de volgende verplichte velden in te vullen:"},1),e.jsxs(g,{children:[e.jsx(g.Item,{children:"Naam"}),e.jsx(g.Item,{children:"Telefoonnummer"})]},2)],heading:"Vul de gegevens aan"}},d={args:{children:e.jsxs(n,{children:["Tijdens Koningsdag zijn"," ",e.jsx(A,{variant:"inline",href:"#",children:"alle Stadsloketten"})," ","gesloten. Ook 14 020 en alle andere telefoonnummers van de gemeente zijn niet bereikbaar."]}),severity:"info"}},l={args:{children:e.jsx(n,{children:"De geschatte wachttijd in de adreszoeker klopt momenteel niet altijd. We werken aan een oplossing."}),heading:void 0}};var c,h,m;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{P as n,U as g,L as A}from"./index.esm-CEzKrmam.js";import{A as E}from"./Alert-DX-WoWqK.js";const H={title:"Components/Feedback/Alert",component:E,args:{closeable:!1,heading:"Let op"}},r={args:{children:e.jsx(n,{children:"Tijdens Koningsdag zijn alle Stadsloketten gesloten. Ook 14 020 en alle andere telefoonnummers van de gemeente zijn niet bereikbaar."})}},a={args:{children:e.jsx(n,{children:"U bent vergeten verplichte velden in te vullen."}),heading:"Vul de gegevens aan"}},s={args:{children:e.jsx(n,{children:"Wegens een technische fout kon het formulier niet worden verzonden. We hebben uw gegevens niet ontvangen. Probeer het over een paar minuten opnieuw."}),heading:"Niet gelukt",severity:"error"}},t={args:{children:e.jsx(n,{children:"Het formulier is verzonden. We hebben uw gegevens goed ontvangen."}),closeable:!0,heading:"Gelukt",severity:"success"}},o={args:{children:e.jsx(n,{children:"Tijdens de hijswerkzaamheden geldt er een korte verkeersstop. We zetten verkeersregelaars in, volg hun aanwijzingen op. De verkeersstop duurt ongeveer 10 minuten."}),closeable:!0,severity:"info"}},i={args:{children:[e.jsx(n,{children:"U bent vergeten de volgende verplichte velden in te vullen:"},1),e.jsxs(g,{children:[e.jsx(g.Item,{children:"Naam"}),e.jsx(g.Item,{children:"Telefoonnummer"})]},2)],heading:"Vul de gegevens aan"}},d={args:{children:e.jsxs(n,{children:["Tijdens Koningsdag zijn"," ",e.jsx(A,{variant:"inline",href:"#",children:"alle Stadsloketten"})," ","gesloten. Ook 14 020 en alle andere telefoonnummers van de gemeente zijn niet bereikbaar."]}),severity:"info"}},l={args:{children:e.jsx(n,{children:"De geschatte wachttijd in de adreszoeker klopt momenteel niet altijd. We werken aan een oplossing."}),heading:void 0}};var c,h,m;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:`{ args: { children: Tijdens Koningsdag zijn alle Stadsloketten gesloten. Ook 14 020 en alle andere telefoonnummers van de gemeente diff --git a/demo-DES-969-file-list-component/assets/AppIcons-bHbdLDgN.js b/demo-DES-969-file-list-component/assets/AppIcons-SyAGwRJY.js similarity index 92% rename from demo-DES-969-file-list-component/assets/AppIcons-bHbdLDgN.js rename to demo-DES-969-file-list-component/assets/AppIcons-SyAGwRJY.js index d8cb7495a3..b96bbbae95 100644 --- a/demo-DES-969-file-list-component/assets/AppIcons-bHbdLDgN.js +++ b/demo-DES-969-file-list-component/assets/AppIcons-SyAGwRJY.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime-j_jdvEMj.js";import{I as i}from"./index.esm-Dojcg4AG.js";const o=()=>s.jsx("div",{className:"ams-docs-gallery",children:s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"favicon/apple-touch-icon.png",width:180,height:180}),s.jsx("figcaption",{children:"apple-touch-icon.png (180px)"})]})}),e=()=>s.jsxs("div",{className:"ams-docs-gallery",children:[s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"favicon/favicon.ico",width:16,height:16}),s.jsx("figcaption",{children:"favicon.ico (16px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"favicon/favicon.ico",width:32,height:32}),s.jsx("figcaption",{children:"favicon.ico (32px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"favicon/favicon.ico",width:48,height:48}),s.jsx("figcaption",{children:"favicon.ico (48px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"favicon/favicon.ico",width:64,height:64}),s.jsx("figcaption",{children:"favicon.ico (64px)"})]})]}),n=()=>s.jsx("div",{className:"ams-docs-gallery",children:s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"favicon/icon.svg",width:64,height:64}),s.jsx("figcaption",{children:"icon.svg (64px)"})]})}),r=()=>s.jsxs("div",{className:"ams-docs-gallery",children:[s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"app-icons/icon-192.png",width:192,height:192}),s.jsx("figcaption",{children:"icon-192.png (192px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"app-icons/icon-512.png",width:512,height:512}),s.jsx("figcaption",{children:"icon-512.png (512px)"})]})]});export{o as A,e as F,n as S,r as W}; +import{j as s}from"./jsx-runtime-BjgbQsUx.js";import{I as i}from"./index.esm-CEzKrmam.js";const o=()=>s.jsx("div",{className:"ams-docs-gallery",children:s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"favicon/apple-touch-icon.png",width:180,height:180}),s.jsx("figcaption",{children:"apple-touch-icon.png (180px)"})]})}),e=()=>s.jsxs("div",{className:"ams-docs-gallery",children:[s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"favicon/favicon.ico",width:16,height:16}),s.jsx("figcaption",{children:"favicon.ico (16px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"favicon/favicon.ico",width:32,height:32}),s.jsx("figcaption",{children:"favicon.ico (32px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"favicon/favicon.ico",width:48,height:48}),s.jsx("figcaption",{children:"favicon.ico (48px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"favicon/favicon.ico",width:64,height:64}),s.jsx("figcaption",{children:"favicon.ico (64px)"})]})]}),n=()=>s.jsx("div",{className:"ams-docs-gallery",children:s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"favicon/icon.svg",width:64,height:64}),s.jsx("figcaption",{children:"icon.svg (64px)"})]})}),r=()=>s.jsxs("div",{className:"ams-docs-gallery",children:[s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"app-icons/icon-192.png",width:192,height:192}),s.jsx("figcaption",{children:"icon-192.png (192px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{alt:"",src:"app-icons/icon-512.png",width:512,height:512}),s.jsx("figcaption",{children:"icon-512.png (512px)"})]})]});export{o as A,e as F,n as S,r as W}; diff --git a/demo-DES-969-file-list-component/assets/ArticlePage.docs-BP401kJT.js b/demo-DES-969-file-list-component/assets/ArticlePage.docs-BP401kJT.js deleted file mode 100644 index 782947d6f6..0000000000 --- a/demo-DES-969-file-list-component/assets/ArticlePage.docs-BP401kJT.js +++ /dev/null @@ -1,5 +0,0 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as m}from"./index-BSj771as.js";import{ae as e}from"./index-CsbqyhR0.js";import{A as n}from"./ArticlePage.stories-DLI_dksE.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./Image.stories-0Zmcnj6n.js";import"./Image-BeIE0HQj.js";import"./config-5U6UpIzk.js";import"./PageMenu.stories-CMbLUYFI.js";import"./Icon-D1obyjGa.js";import"./Footer.stories-DPK9ujK1.js";import"./Spotlight-DZdLn00J.js";/*@license CC0-1.0*/function i(o){const r={h1:"h1",p:"p",...m(),...o.components};return t.jsxs(t.Fragment,{children:[` -`,` -`,t.jsx(e,{of:n}),` -`,t.jsx(r.h1,{id:"article-page",children:"Article page"}),` -`,t.jsx(r.p,{children:"This page type is for news or similar kinds of articles."})]})}function F(o={}){const{wrapper:r}={...m(),...o.components};return r?t.jsx(r,{...o,children:t.jsx(i,{...o})}):i(o)}export{F as default}; diff --git a/demo-DES-969-file-list-component/assets/ArticlePage.docs-BzS-ZXqw.js b/demo-DES-969-file-list-component/assets/ArticlePage.docs-BzS-ZXqw.js new file mode 100644 index 0000000000..378cf3f023 --- /dev/null +++ b/demo-DES-969-file-list-component/assets/ArticlePage.docs-BzS-ZXqw.js @@ -0,0 +1,5 @@ +import{j as t}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as m}from"./index-3rgQkYFR.js";import{ae as e}from"./index-DEYBsmB_.js";import{A as n}from"./ArticlePage.stories-CdP3rW-_.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./Image.stories-BYgQuacP.js";import"./Image-dslpK47z.js";import"./config-D232Weh9.js";import"./PageMenu.stories-DCbTKHnl.js";import"./Icon-B4wlDyQ3.js";import"./Footer.stories-DmuyQWO8.js";import"./Spotlight-CVxUBei2.js";/*@license CC0-1.0*/function i(o){const r={h1:"h1",p:"p",...m(),...o.components};return t.jsxs(t.Fragment,{children:[` +`,` +`,t.jsx(e,{of:n}),` +`,t.jsx(r.h1,{id:"article-page",children:"Article page"}),` +`,t.jsx(r.p,{children:"This page type is for news or similar kinds of articles."})]})}function L(o={}){const{wrapper:r}={...m(),...o.components};return r?t.jsx(r,{...o,children:t.jsx(i,{...o})}):i(o)}export{L as default}; diff --git a/demo-DES-969-file-list-component/assets/ArticlePage.stories-DLI_dksE.js b/demo-DES-969-file-list-component/assets/ArticlePage.stories-CdP3rW-_.js similarity index 97% rename from demo-DES-969-file-list-component/assets/ArticlePage.stories-DLI_dksE.js rename to demo-DES-969-file-list-component/assets/ArticlePage.stories-CdP3rW-_.js index 919992940f..b9b04d451c 100644 --- a/demo-DES-969-file-list-component/assets/ArticlePage.stories-DLI_dksE.js +++ b/demo-DES-969-file-list-component/assets/ArticlePage.stories-CdP3rW-_.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as r,P as t,t as z,C as g,H as i,U as a,L as h,o as j,i as m,O as y,I as _}from"./index.esm-Dojcg4AG.js";import{L as I}from"./Image.stories-0Zmcnj6n.js";import{c as L}from"./config-5U6UpIzk.js";const u=({lead:n,paragraph1:s,spotlightHeading:o,spotlightLinkLabel:l})=>e.jsxs(e.Fragment,{children:[e.jsx(r,{paddingVertical:"medium",children:e.jsxs(r.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:[e.jsx(t,{className:"ams-mb--md",size:"large",children:n}),e.jsx(t,{children:s})]})}),e.jsx(z,{as:"section",color:"purple",children:e.jsx(r,{paddingTop:"medium",paddingBottom:"large",children:e.jsx(r.Cell,{span:{narrow:4,medium:6,wide:8},start:{narrow:1,medium:2,wide:3},children:e.jsxs(g,{gap:"small",children:[e.jsx(i,{inverseColor:!0,level:2,children:o}),e.jsxs(a,{inverseColor:!0,children:[e.jsx(a.Item,{children:"Vraag uw paspoort of ID-kaart aan bij een Stadsloket in Amsterdam."}),e.jsx(a.Item,{children:"U kunt elke dag langskomen van 9.00 uur tot 17.00 uur en op donderdag tot 20.00 uur."}),e.jsx(a.Item,{children:"Op amsterdam.nl/paspoort staat wat u mee moet nemen."}),e.jsx(a.Item,{children:"Laat aan het loket bij uw aanvraag weten dat u kiest voor gratis bezorgen."}),e.jsx(a.Item,{children:"Als uw paspoort of ID-kaart klaar is, krijgt u een e-mail en sms-bericht met inloggegevens. Met deze inloggegevens kunt u zelf inplannen wanneer u uw reisdocument bezorgd wilt hebben."})]}),e.jsx(t,{inverseColor:!0,children:e.jsx(h,{href:"https://amsterdam.nl/paspoort/",inverseColor:!0,children:l})})]})})})}),e.jsx(r,{paddingVertical:"medium",children:e.jsx(r.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:e.jsxs(g,{children:[e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Wanneer bezorgen we"}),e.jsx(t,{children:"We bezorgen op werkdagen en zaterdag tussen 8.00 en 18.00 uur. De ene week bezorgen wij op dinsdag en donderdag ook tot 21.00 uur en de andere week op woensdag tot 21.00 uur."})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Tekenen voor ontvangst"}),e.jsx(t,{children:"Zorg dat u thuis bent om uw paspoort of ID-kaart te ontvangen. Bij bezorging voor meerdere personen moeten alle personen aanwezig zijn. Ook kinderen vanaf 12 jaar moeten tekenen voor ontvangst. Tot 12 jaar tekent de ouder of wettelijk vertegenwoordiger van het kind."})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Bezorgen met waarde-transport"}),e.jsxs(t,{children:["De gemeente laat uw paspoort of ID-kaart bezorgen met een waarde-transport. Op"," ",e.jsx(h,{href:"https://mijnafspraak.nl/",children:"mijnafspraak.nl"})," ziet u wie er langskomt. De pasfoto van de medewerker is vanaf 8.00 uur zichtbaar. De bezorger controleert bij aankomst uw identiteit en geeft u het nieuwe reisdocument. U geeft uw oude reisdocument aan de bezorger. De bezorger maakt uw oude reisdocument ongeldig waar u bij bent. Daarna mag u het zelf houden of meegeven aan de bezorger, die het vernietigt."]})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Wanneer kan bezorgen niet?"}),e.jsxs(a,{children:[e.jsx(a.Item,{children:"Bij een spoedaanvraag."}),e.jsx(a.Item,{children:"Als u een geldig visum in uw paspoort hebt dat u nog wilt gebruiken."}),e.jsx(a.Item,{children:"Als u het oude reisdocument kwijt bent."}),e.jsx(a.Item,{children:"Als u op een van de Waddeneilanden woont. Daar bezorgen we niet."})]})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Meer weten"}),e.jsx(j,{children:e.jsx(j.Link,{href:"https://amsterdam.nl/paspoort/",children:"amsterdam.nl/paspoort"})})]})]})})})]});try{u.displayName="ArticleBody",u.__docgenInfo={description:"",displayName:"ArticleBody",props:{lead:{defaultValue:null,description:"",name:"lead",required:!0,type:{name:"string"}},paragraph1:{defaultValue:null,description:"",name:"paragraph1",required:!0,type:{name:"string"}},spotlightHeading:{defaultValue:null,description:"",name:"spotlightHeading",required:!0,type:{name:"string"}},spotlightLinkLabel:{defaultValue:null,description:"",name:"spotlightLinkLabel",required:!0,type:{name:"string"}}}}}catch{}const A=()=>e.jsx(r,{paddingTop:"small",children:e.jsx(r.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:e.jsxs(m,{children:[e.jsx(m.Link,{href:"#",children:"Home"}),e.jsx(m.Link,{href:"#",children:"Nieuws"})]})})}),c=({heading:n,imageSrc:s})=>e.jsxs("header",{children:[e.jsx(r,{paddingBottom:"medium",children:e.jsxs(r.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:[e.jsx(i,{className:"ams-mb--sm",children:n}),e.jsx(t,{size:"small",children:"7 juni 2024"})]})}),e.jsx(y,{children:e.jsx(_,{alt:"",aspectRatio:"2x-wide",loading:"lazy",src:s})})]});try{c.displayName="ArticleHeader",c.__docgenInfo={description:"",displayName:"ArticleHeader",props:{heading:{defaultValue:null,description:"",name:"heading",required:!0,type:{name:"string"}},imageSrc:{defaultValue:null,description:"",name:"imageSrc",required:!0,type:{name:"string"}}}}}catch{}const p=({heading:n,imageSrc:s,lead:o,paragraph1:l,spotlightHeading:b,spotlightLinkLabel:v})=>e.jsxs(e.Fragment,{children:[e.jsx(A,{}),e.jsxs("main",{id:"main",children:[e.jsx(c,{heading:n,imageSrc:s}),e.jsx(u,{lead:o,paragraph1:l,spotlightHeading:b,spotlightLinkLabel:v})]})]});try{p.displayName="ArticlePage",p.__docgenInfo={description:"",displayName:"ArticlePage",props:{heading:{defaultValue:null,description:"",name:"heading",required:!0,type:{name:"string"}},imageSrc:{defaultValue:null,description:"",name:"imageSrc",required:!0,type:{name:"string"}},lead:{defaultValue:null,description:"",name:"lead",required:!0,type:{name:"string"}},paragraph1:{defaultValue:null,description:"",name:"paragraph1",required:!0,type:{name:"string"}},spotlightHeading:{defaultValue:null,description:"",name:"spotlightHeading",required:!0,type:{name:"string"}},spotlightLinkLabel:{defaultValue:null,description:"",name:"spotlightLinkLabel",required:!0,type:{name:"string"}}}}}catch{}/** +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{G as r,P as t,t as z,C as g,H as i,U as a,L as h,o as j,i as m,O as y,I as _}from"./index.esm-CEzKrmam.js";import{L as I}from"./Image.stories-BYgQuacP.js";import{c as L}from"./config-D232Weh9.js";const u=({lead:n,paragraph1:s,spotlightHeading:o,spotlightLinkLabel:l})=>e.jsxs(e.Fragment,{children:[e.jsx(r,{paddingVertical:"medium",children:e.jsxs(r.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:[e.jsx(t,{className:"ams-mb--md",size:"large",children:n}),e.jsx(t,{children:s})]})}),e.jsx(z,{as:"section",color:"purple",children:e.jsx(r,{paddingTop:"medium",paddingBottom:"large",children:e.jsx(r.Cell,{span:{narrow:4,medium:6,wide:8},start:{narrow:1,medium:2,wide:3},children:e.jsxs(g,{gap:"small",children:[e.jsx(i,{inverseColor:!0,level:2,children:o}),e.jsxs(a,{inverseColor:!0,children:[e.jsx(a.Item,{children:"Vraag uw paspoort of ID-kaart aan bij een Stadsloket in Amsterdam."}),e.jsx(a.Item,{children:"U kunt elke dag langskomen van 9.00 uur tot 17.00 uur en op donderdag tot 20.00 uur."}),e.jsx(a.Item,{children:"Op amsterdam.nl/paspoort staat wat u mee moet nemen."}),e.jsx(a.Item,{children:"Laat aan het loket bij uw aanvraag weten dat u kiest voor gratis bezorgen."}),e.jsx(a.Item,{children:"Als uw paspoort of ID-kaart klaar is, krijgt u een e-mail en sms-bericht met inloggegevens. Met deze inloggegevens kunt u zelf inplannen wanneer u uw reisdocument bezorgd wilt hebben."})]}),e.jsx(t,{inverseColor:!0,children:e.jsx(h,{href:"https://amsterdam.nl/paspoort/",inverseColor:!0,children:l})})]})})})}),e.jsx(r,{paddingVertical:"medium",children:e.jsx(r.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:e.jsxs(g,{children:[e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Wanneer bezorgen we"}),e.jsx(t,{children:"We bezorgen op werkdagen en zaterdag tussen 8.00 en 18.00 uur. De ene week bezorgen wij op dinsdag en donderdag ook tot 21.00 uur en de andere week op woensdag tot 21.00 uur."})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Tekenen voor ontvangst"}),e.jsx(t,{children:"Zorg dat u thuis bent om uw paspoort of ID-kaart te ontvangen. Bij bezorging voor meerdere personen moeten alle personen aanwezig zijn. Ook kinderen vanaf 12 jaar moeten tekenen voor ontvangst. Tot 12 jaar tekent de ouder of wettelijk vertegenwoordiger van het kind."})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Bezorgen met waarde-transport"}),e.jsxs(t,{children:["De gemeente laat uw paspoort of ID-kaart bezorgen met een waarde-transport. Op"," ",e.jsx(h,{href:"https://mijnafspraak.nl/",children:"mijnafspraak.nl"})," ziet u wie er langskomt. De pasfoto van de medewerker is vanaf 8.00 uur zichtbaar. De bezorger controleert bij aankomst uw identiteit en geeft u het nieuwe reisdocument. U geeft uw oude reisdocument aan de bezorger. De bezorger maakt uw oude reisdocument ongeldig waar u bij bent. Daarna mag u het zelf houden of meegeven aan de bezorger, die het vernietigt."]})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Wanneer kan bezorgen niet?"}),e.jsxs(a,{children:[e.jsx(a.Item,{children:"Bij een spoedaanvraag."}),e.jsx(a.Item,{children:"Als u een geldig visum in uw paspoort hebt dat u nog wilt gebruiken."}),e.jsx(a.Item,{children:"Als u het oude reisdocument kwijt bent."}),e.jsx(a.Item,{children:"Als u op een van de Waddeneilanden woont. Daar bezorgen we niet."})]})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Meer weten"}),e.jsx(j,{children:e.jsx(j.Link,{href:"https://amsterdam.nl/paspoort/",children:"amsterdam.nl/paspoort"})})]})]})})})]});try{u.displayName="ArticleBody",u.__docgenInfo={description:"",displayName:"ArticleBody",props:{lead:{defaultValue:null,description:"",name:"lead",required:!0,type:{name:"string"}},paragraph1:{defaultValue:null,description:"",name:"paragraph1",required:!0,type:{name:"string"}},spotlightHeading:{defaultValue:null,description:"",name:"spotlightHeading",required:!0,type:{name:"string"}},spotlightLinkLabel:{defaultValue:null,description:"",name:"spotlightLinkLabel",required:!0,type:{name:"string"}}}}}catch{}const A=()=>e.jsx(r,{paddingTop:"small",children:e.jsx(r.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:e.jsxs(m,{children:[e.jsx(m.Link,{href:"#",children:"Home"}),e.jsx(m.Link,{href:"#",children:"Nieuws"})]})})}),c=({heading:n,imageSrc:s})=>e.jsxs("header",{children:[e.jsx(r,{paddingBottom:"medium",children:e.jsxs(r.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:[e.jsx(i,{className:"ams-mb--sm",children:n}),e.jsx(t,{size:"small",children:"7 juni 2024"})]})}),e.jsx(y,{children:e.jsx(_,{alt:"",aspectRatio:"2x-wide",loading:"lazy",src:s})})]});try{c.displayName="ArticleHeader",c.__docgenInfo={description:"",displayName:"ArticleHeader",props:{heading:{defaultValue:null,description:"",name:"heading",required:!0,type:{name:"string"}},imageSrc:{defaultValue:null,description:"",name:"imageSrc",required:!0,type:{name:"string"}}}}}catch{}const p=({heading:n,imageSrc:s,lead:o,paragraph1:l,spotlightHeading:b,spotlightLinkLabel:v})=>e.jsxs(e.Fragment,{children:[e.jsx(A,{}),e.jsxs("main",{id:"main",children:[e.jsx(c,{heading:n,imageSrc:s}),e.jsx(u,{lead:o,paragraph1:l,spotlightHeading:b,spotlightLinkLabel:v})]})]});try{p.displayName="ArticlePage",p.__docgenInfo={description:"",displayName:"ArticlePage",props:{heading:{defaultValue:null,description:"",name:"heading",required:!0,type:{name:"string"}},imageSrc:{defaultValue:null,description:"",name:"imageSrc",required:!0,type:{name:"string"}},lead:{defaultValue:null,description:"",name:"lead",required:!0,type:{name:"string"}},paragraph1:{defaultValue:null,description:"",name:"paragraph1",required:!0,type:{name:"string"}},spotlightHeading:{defaultValue:null,description:"",name:"spotlightHeading",required:!0,type:{name:"string"}},spotlightLinkLabel:{defaultValue:null,description:"",name:"spotlightLinkLabel",required:!0,type:{name:"string"}}}}}catch{}/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */var x;const D={...L,title:"Pages/Amsterdam.nl/Article Page",component:p,args:{heading:"Ontvang uw paspoort of ID-kaart in de zomer gratis thuis",imageSrc:(x=I.args)==null?void 0:x.src,lead:"Niet meer naar het Stadsloket, maar thuis of op het werk uw nieuwe paspoort ontvangen. In juni en juli kan dat. Deze zomer bezorgt de gemeente reisdocumenten gratis aan huis. We doen dat om de drukte in de Stadsloketten te verminderen. En u hoeft maar 1 keer naar het Stadsloket.",paragraph1:"Van maandag 10 juni tot en met zaterdag 27 juli bezorgt de gemeente Amsterdam uw paspoort of ID-kaart gratis bij u thuis of op het werk. U moet wel naar het Stadsloket om uw reisdocument aan te vragen. Lees hier hoe het werkt.",spotlightHeading:"Vraag een paspoort of ID-kaart aan",spotlightLinkLabel:"Vraag nu een paspoort of ID-kaart aan"}},d={};var w,k,f;d.parameters={...d.parameters,docs:{...(w=d.parameters)==null?void 0:w.docs,source:{originalSource:"{}",...(f=(k=d.parameters)==null?void 0:k.docs)==null?void 0:f.source}}};const V=["Default"],H=Object.freeze(Object.defineProperty({__proto__:null,Default:d,__namedExportsOrder:V,default:D},Symbol.toStringTag,{value:"Module"}));export{H as A}; diff --git a/demo-DES-969-file-list-component/assets/AspectRatio.docs-DVSA7yUb.js b/demo-DES-969-file-list-component/assets/AspectRatio.docs-B5rm--wb.js similarity index 70% rename from demo-DES-969-file-list-component/assets/AspectRatio.docs-DVSA7yUb.js rename to demo-DES-969-file-list-component/assets/AspectRatio.docs-B5rm--wb.js index 4d46eb2f34..4fa38d8407 100644 --- a/demo-DES-969-file-list-component/assets/AspectRatio.docs-DVSA7yUb.js +++ b/demo-DES-969-file-list-component/assets/AspectRatio.docs-B5rm--wb.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as n,aq as i,ar as m,as as r}from"./index-CsbqyhR0.js";import{A as c}from"./AspectRatio.stories-1YKRPR3L.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";const p=` +import{j as a}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as n,aq as i,ar as m,as as r}from"./index-DEYBsmB_.js";import{A as c}from"./AspectRatio.stories-4NdL09L5.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";const p=` # Aspect Ratio @@ -27,4 +27,4 @@ The class can be applied to any component or element. `,a.jsx(n,{of:c}),` `,a.jsx(i,{children:p}),` `,a.jsx(m,{}),` -`,a.jsx(r,{})]})}function N(s={}){const{wrapper:e}={...o(),...s.components};return e?a.jsx(e,{...s,children:a.jsx(t,{...s})}):t()}export{N as default}; +`,a.jsx(r,{})]})}function A(s={}){const{wrapper:e}={...o(),...s.components};return e?a.jsx(e,{...s,children:a.jsx(t,{...s})}):t()}export{A as default}; diff --git a/demo-DES-969-file-list-component/assets/AspectRatio.stories-1YKRPR3L.js b/demo-DES-969-file-list-component/assets/AspectRatio.stories-4NdL09L5.js similarity index 96% rename from demo-DES-969-file-list-component/assets/AspectRatio.stories-1YKRPR3L.js rename to demo-DES-969-file-list-component/assets/AspectRatio.stories-4NdL09L5.js index 94dbc83f90..d711898e45 100644 --- a/demo-DES-969-file-list-component/assets/AspectRatio.stories-1YKRPR3L.js +++ b/demo-DES-969-file-list-component/assets/AspectRatio.stories-4NdL09L5.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";/** +import{j as t}from"./jsx-runtime-BjgbQsUx.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const s=({children:a,aspectRatio:c})=>t.jsx("span",{className:`ams-aspect-ratio--${c}`,children:a});try{s.displayName="AspectRatio",s.__docgenInfo={description:"Renders examples in Storybook. Not for reuse.",displayName:"AspectRatio",props:{aspectRatio:{defaultValue:null,description:"The aspect ratio to display media content in.",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"square"'},{value:'"x-tall"'},{value:'"tall"'},{value:'"wide"'},{value:'"x-wide"'},{value:'"2x-wide"'}]}}}}}catch{}const l={title:"Utilities/CSS/Aspect Ratio",component:s,args:{aspectRatio:"x-wide"},argTypes:{aspectRatio:{control:"radio",options:["2x-wide","x-wide","wide","square","tall","x-tall"]}},render:({aspectRatio:a})=>t.jsx("div",{className:"ams-docs-column ams-docs-aspect-ratio",children:t.jsx("div",{className:`ams-docs-item ams-aspect-ratio--${a}`})})},e={};var o,r,i;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(i=(r=e.parameters)==null?void 0:r.docs)==null?void 0:i.source}}};const p=["Default"],n=Object.freeze(Object.defineProperty({__proto__:null,Default:e,__namedExportsOrder:p,default:l},Symbol.toStringTag,{value:"Module"}));export{n as A}; diff --git a/demo-DES-969-file-list-component/assets/Avatar.docs-BepmIcQ7.js b/demo-DES-969-file-list-component/assets/Avatar.docs-DcActI-5.js similarity index 57% rename from demo-DES-969-file-list-component/assets/Avatar.docs-BepmIcQ7.js rename to demo-DES-969-file-list-component/assets/Avatar.docs-DcActI-5.js index ddcb32c5bc..6fdca7c861 100644 --- a/demo-DES-969-file-list-component/assets/Avatar.docs-BepmIcQ7.js +++ b/demo-DES-969-file-list-component/assets/Avatar.docs-DcActI-5.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as i,aq as s,ar as c,as as p,at as r}from"./index-CsbqyhR0.js";import{A as l,W as m,F as d,I as h}from"./Avatar.stories-Dmzcnmr8.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./Image-BeIE0HQj.js";import"./Icon-D1obyjGa.js";const x=` +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as t}from"./index-3rgQkYFR.js";import{ae as i,aq as s,ar as p,as as c,at as r}from"./index-DEYBsmB_.js";import{A as m,W as l,F as d,I as h}from"./Avatar.stories-DfsimNfc.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./Image-dslpK47z.js";import"./Icon-B4wlDyQ3.js";const x=` # Avatar @@ -15,17 +15,17 @@ The default background colour is dark blue. or to associate a person with a content item. `;/*@license CC0-1.0*/function o(e){const a={h2:"h2",h3:"h3",p:"p",...t(),...e.components};return n.jsxs(n.Fragment,{children:[` `,` -`,n.jsx(i,{of:l}),` +`,n.jsx(i,{of:m}),` `,n.jsx(s,{children:x}),` -`,n.jsx(c,{}),` `,n.jsx(p,{}),` +`,n.jsx(c,{}),` `,n.jsx(a.h2,{id:"examples",children:"Examples"}),` `,n.jsx(a.h3,{id:"with-image",children:"With image"}),` `,n.jsx(a.p,{children:`The Avatar can also display a photo or other image for the person. Make sure to scale the image down to around 100 pixels to prevent unnecessary data transfers.`}),` -`,n.jsx(r,{of:m}),` +`,n.jsx(r,{of:l}),` `,n.jsx(a.h3,{id:"fallback-icon",children:"Fallback icon"}),` `,n.jsx(a.p,{children:"A user icon displays if no label and image are provided."}),` `,n.jsx(r,{of:d}),` `,n.jsx(a.h3,{id:"in-a-header",children:"In a Header"}),` -`,n.jsx(r,{of:h})]})}function W(e={}){const{wrapper:a}={...t(),...e.components};return a?n.jsx(a,{...e,children:n.jsx(o,{...e})}):o(e)}export{W as default}; +`,n.jsx(r,{of:h})]})}function X(e={}){const{wrapper:a}={...t(),...e.components};return a?n.jsx(a,{...e,children:n.jsx(o,{...e})}):o(e)}export{X as default}; diff --git a/demo-DES-969-file-list-component/assets/Avatar.stories-Dmzcnmr8.js b/demo-DES-969-file-list-component/assets/Avatar.stories-DfsimNfc.js similarity index 91% rename from demo-DES-969-file-list-component/assets/Avatar.stories-Dmzcnmr8.js rename to demo-DES-969-file-list-component/assets/Avatar.stories-DfsimNfc.js index debec80cec..1395b4494c 100644 --- a/demo-DES-969-file-list-component/assets/Avatar.stories-Dmzcnmr8.js +++ b/demo-DES-969-file-list-component/assets/Avatar.stories-DfsimNfc.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{b as P,c}from"./index.esm-Dojcg4AG.js";import{i as L,j as M}from"./index.esm-CEthAr-Q.js";import{c as w}from"./clsx-B-dksMZM.js";import{r as C}from"./index-B-o1Wr-g.js";import{I as D}from"./Image-BeIE0HQj.js";import{I as E}from"./Icon-D1obyjGa.js";const N=({imageSrc:a,initials:r})=>a?e.jsx(D,{alt:"",src:a}):r.length?e.jsx("span",{"aria-hidden":!0,children:r}):e.jsx(E,{svg:L,size:"level-6"}),o=C.forwardRef(({label:a,imageSrc:r,className:k,color:y="blue",...I},_)=>{const i=a.slice(0,2).toUpperCase(),A=i.length===0?"Gebruiker":`Initialen gebruiker: ${i}`;return e.jsxs("span",{...I,ref:_,className:w("ams-avatar",`ams-avatar--${y}`,r&&"ams-avatar--has-image",k),children:[e.jsx("span",{className:"ams-visually-hidden",children:A}),e.jsx(N,{imageSrc:r,initials:i})]})});o.displayName="Avatar";try{o.displayName="Avatar",o.__docgenInfo={description:"",displayName:"Avatar",props:{color:{defaultValue:{value:"blue"},description:"The background colour.",name:"color",required:!1,type:{name:"enum",value:[{value:'"azure"'},{value:'"black"'},{value:'"blue"'},{value:'"green"'},{value:'"lime"'},{value:'"magenta"'},{value:'"neutral-20"'},{value:'"neutral-40"'},{value:'"neutral-60"'},{value:'"neutral-80"'},{value:'"orange"'},{value:'"purple"'},{value:'"red"'},{value:'"white"'},{value:'"yellow"'}]}},imageSrc:{defaultValue:null,description:"The url for the user’s image. Its center will be displayed. Should be square and scaled down.",name:"imageSrc",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"The text content. Should be the user’s initials. The first two characters will be displayed.",name:"label",required:!0,type:{name:"string"}}}}}catch{}const T={title:"Components/Feedback/Avatar",component:o,args:{label:"DS",imageSrc:""}},s={},t={args:{label:"PS",imageSrc:"https://i.pravatar.cc/128"}},n={args:{imageSrc:void 0,label:""}},l={args:{label:"DS"},render:a=>e.jsx(P,{links:e.jsxs(c,{alignEnd:!0,children:[e.jsx(c.Link,{href:"#",children:"Contact"}),e.jsx(c.Link,{href:"#",icon:M,children:"Zoeken"}),e.jsx("li",{children:e.jsx(o,{...a})})]})})};var u,d,m;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(m=(d=s.parameters)==null?void 0:d.docs)==null?void 0:m.source}}};var p,g,v;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{b as P,c}from"./index.esm-CEzKrmam.js";import{i as L,j as M}from"./index.esm-Bz9pa_xK.js";import{c as w}from"./clsx-B-dksMZM.js";import{r as C}from"./index-RigO-4kf.js";import{I as D}from"./Image-dslpK47z.js";import{I as E}from"./Icon-B4wlDyQ3.js";const N=({imageSrc:a,initials:r})=>a?e.jsx(D,{alt:"",src:a}):r.length?e.jsx("span",{"aria-hidden":!0,children:r}):e.jsx(E,{svg:L,size:"level-6"}),o=C.forwardRef(({label:a,imageSrc:r,className:k,color:y="blue",...I},_)=>{const i=a.slice(0,2).toUpperCase(),A=i.length===0?"Gebruiker":`Initialen gebruiker: ${i}`;return e.jsxs("span",{...I,ref:_,className:w("ams-avatar",`ams-avatar--${y}`,r&&"ams-avatar--has-image",k),children:[e.jsx("span",{className:"ams-visually-hidden",children:A}),e.jsx(N,{imageSrc:r,initials:i})]})});o.displayName="Avatar";try{o.displayName="Avatar",o.__docgenInfo={description:"",displayName:"Avatar",props:{color:{defaultValue:{value:"blue"},description:"The background colour.",name:"color",required:!1,type:{name:"enum",value:[{value:'"azure"'},{value:'"black"'},{value:'"blue"'},{value:'"green"'},{value:'"lime"'},{value:'"magenta"'},{value:'"neutral-20"'},{value:'"neutral-40"'},{value:'"neutral-60"'},{value:'"neutral-80"'},{value:'"orange"'},{value:'"purple"'},{value:'"red"'},{value:'"white"'},{value:'"yellow"'}]}},imageSrc:{defaultValue:null,description:"The url for the user’s image. Its center will be displayed. Should be square and scaled down.",name:"imageSrc",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"The text content. Should be the user’s initials. The first two characters will be displayed.",name:"label",required:!0,type:{name:"string"}}}}}catch{}const T={title:"Components/Feedback/Avatar",component:o,args:{label:"DS",imageSrc:""}},s={},t={args:{label:"PS",imageSrc:"https://i.pravatar.cc/128"}},n={args:{imageSrc:void 0,label:""}},l={args:{label:"DS"},render:a=>e.jsx(P,{links:e.jsxs(c,{alignEnd:!0,children:[e.jsx(c.Link,{href:"#",children:"Contact"}),e.jsx(c.Link,{href:"#",icon:M,children:"Zoeken"}),e.jsx("li",{children:e.jsx(o,{...a})})]})})};var u,d,m;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(m=(d=s.parameters)==null?void 0:d.docs)==null?void 0:m.source}}};var p,g,v;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { label: 'PS', imageSrc: 'https://i.pravatar.cc/128' diff --git a/demo-DES-969-file-list-component/assets/Badge-Cg5Q2pVP.js b/demo-DES-969-file-list-component/assets/Badge-BvbF-Lgn.js similarity index 86% rename from demo-DES-969-file-list-component/assets/Badge-Cg5Q2pVP.js rename to demo-DES-969-file-list-component/assets/Badge-BvbF-Lgn.js index 1fc9579c0e..c2a8306ca8 100644 --- a/demo-DES-969-file-list-component/assets/Badge-Cg5Q2pVP.js +++ b/demo-DES-969-file-list-component/assets/Badge-BvbF-Lgn.js @@ -1 +1 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{c as o}from"./clsx-B-dksMZM.js";import{r as s}from"./index-B-o1Wr-g.js";const e=s.forwardRef(({label:a,className:l,color:r="green",...u},t)=>n.jsx("span",{...u,ref:t,className:o("ams-badge",`ams-badge--${r}`,l),children:a}));e.displayName="Badge";try{e.displayName="Badge",e.__docgenInfo={description:"",displayName:"Badge",props:{color:{defaultValue:{value:"green"},description:"The background colour.",name:"color",required:!1,type:{name:"enum",value:[{value:'"azure"'},{value:'"black"'},{value:'"blue"'},{value:'"green"'},{value:'"lime"'},{value:'"magenta"'},{value:'"neutral-20"'},{value:'"neutral-40"'},{value:'"neutral-60"'},{value:'"neutral-80"'},{value:'"orange"'},{value:'"purple"'},{value:'"red"'},{value:'"white"'},{value:'"yellow"'}]}},label:{defaultValue:null,description:"The text content.",name:"label",required:!0,type:{name:"string | number"}}}}}catch{}export{e as B}; +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{c as o}from"./clsx-B-dksMZM.js";import{r as s}from"./index-RigO-4kf.js";const e=s.forwardRef(({label:a,className:l,color:r="green",...u},t)=>n.jsx("span",{...u,ref:t,className:o("ams-badge",`ams-badge--${r}`,l),children:a}));e.displayName="Badge";try{e.displayName="Badge",e.__docgenInfo={description:"",displayName:"Badge",props:{color:{defaultValue:{value:"green"},description:"The background colour.",name:"color",required:!1,type:{name:"enum",value:[{value:'"azure"'},{value:'"black"'},{value:'"blue"'},{value:'"green"'},{value:'"lime"'},{value:'"magenta"'},{value:'"neutral-20"'},{value:'"neutral-40"'},{value:'"neutral-60"'},{value:'"neutral-80"'},{value:'"orange"'},{value:'"purple"'},{value:'"red"'},{value:'"white"'},{value:'"yellow"'}]}},label:{defaultValue:null,description:"The text content.",name:"label",required:!0,type:{name:"string | number"}}}}}catch{}export{e as B}; diff --git a/demo-DES-969-file-list-component/assets/Badge.docs-DgGwMo3-.js b/demo-DES-969-file-list-component/assets/Badge.docs-DgGwMo3-.js deleted file mode 100644 index 0fa2f10e5e..0000000000 --- a/demo-DES-969-file-list-component/assets/Badge.docs-DgGwMo3-.js +++ /dev/null @@ -1,18 +0,0 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as e}from"./index-BSj771as.js";import{ae as s,aq as i,ar as a,as as m}from"./index-CsbqyhR0.js";import{B as c}from"./Badge.stories-Ci6b1rp5.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Badge-Cg5Q2pVP.js";import"./clsx-B-dksMZM.js";const p=` - -# Badge - -A prominently coloured box containing 1 or 2 words. -Guides the user in taking a specific action or describes its surrounding content. - -## Design - -The badge can contain a short text or a number. -The default background colour is dark green. -Suggestions on when to use the other colours will follow soon. -`;/*@license CC0-1.0*/function t(o){return n.jsxs(n.Fragment,{children:[` -`,` -`,n.jsx(s,{of:c}),` -`,n.jsx(i,{children:p}),` -`,n.jsx(a,{}),` -`,n.jsx(m,{})]})}function y(o={}){const{wrapper:r}={...e(),...o.components};return r?n.jsx(r,{...o,children:n.jsx(t,{...o})}):t()}export{y as default}; diff --git a/demo-DES-969-file-list-component/assets/Badge.docs-DjdXJtjO.js b/demo-DES-969-file-list-component/assets/Badge.docs-DjdXJtjO.js new file mode 100644 index 0000000000..f39982f16d --- /dev/null +++ b/demo-DES-969-file-list-component/assets/Badge.docs-DjdXJtjO.js @@ -0,0 +1,18 @@ +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as e}from"./index-3rgQkYFR.js";import{ae as i,aq as s,ar as a,as as m}from"./index-DEYBsmB_.js";import{B as c}from"./Badge.stories-DPvq_OmT.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./Badge-BvbF-Lgn.js";import"./clsx-B-dksMZM.js";const p=` + +# Badge + +A prominently coloured box containing 1 or 2 words. +Guides the user in taking a specific action or describes its surrounding content. + +## Design + +The badge can contain a short text or a number. +The default background colour is dark green. +Suggestions on when to use the other colours will follow soon. +`;/*@license CC0-1.0*/function t(o){return n.jsxs(n.Fragment,{children:[` +`,` +`,n.jsx(i,{of:c}),` +`,n.jsx(s,{children:p}),` +`,n.jsx(a,{}),` +`,n.jsx(m,{})]})}function B(o={}){const{wrapper:r}={...e(),...o.components};return r?n.jsx(r,{...o,children:n.jsx(t,{...o})}):t()}export{B as default}; diff --git a/demo-DES-969-file-list-component/assets/Badge.stories-Ci6b1rp5.js b/demo-DES-969-file-list-component/assets/Badge.stories-DPvq_OmT.js similarity index 91% rename from demo-DES-969-file-list-component/assets/Badge.stories-Ci6b1rp5.js rename to demo-DES-969-file-list-component/assets/Badge.stories-DPvq_OmT.js index 314e0a2731..524c86c676 100644 --- a/demo-DES-969-file-list-component/assets/Badge.stories-Ci6b1rp5.js +++ b/demo-DES-969-file-list-component/assets/Badge.stories-DPvq_OmT.js @@ -1,4 +1,4 @@ -import{B as a}from"./Badge-Cg5Q2pVP.js";/** +import{B as a}from"./Badge-BvbF-Lgn.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const s={title:"Components/Feedback/Badge",component:a,args:{label:"Tip"}},e={};var o,t,r;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(r=(t=e.parameters)==null?void 0:t.docs)==null?void 0:r.source}}};const c=["Default"],d=Object.freeze(Object.defineProperty({__proto__:null,Default:e,__namedExportsOrder:c,default:s},Symbol.toStringTag,{value:"Module"}));export{d as B}; diff --git a/demo-DES-969-file-list-component/assets/Blockquote.docs-BSLm2JBF.js b/demo-DES-969-file-list-component/assets/Blockquote.docs-DKOcUfiX.js similarity index 60% rename from demo-DES-969-file-list-component/assets/Blockquote.docs-BSLm2JBF.js rename to demo-DES-969-file-list-component/assets/Blockquote.docs-DKOcUfiX.js index 43fad72716..34a47a44e7 100644 --- a/demo-DES-969-file-list-component/assets/Blockquote.docs-BSLm2JBF.js +++ b/demo-DES-969-file-list-component/assets/Blockquote.docs-DKOcUfiX.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as s,aq as a,ar as i,as as c,at as h}from"./index-CsbqyhR0.js";import{B as m,I as l}from"./Blockquote.stories-z9MN-vzr.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./exampleContent-hIIPvEhU.js";import"./clsx-B-dksMZM.js";const u=` +import{j as t}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as r}from"./index-3rgQkYFR.js";import{ae as s,aq as a,ar as i,as as m,at as c}from"./index-DEYBsmB_.js";import{B as h,I as l}from"./Blockquote.stories-BNug3b0G.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./exampleContent-hIIPvEhU.js";import"./clsx-B-dksMZM.js";const u=` # Blockquote @@ -16,12 +16,12 @@ A quote appears differently from the main text to make it stand out. - [WCAG 3.1.2](https://www.w3.org/WAI/WCAG21/Understanding/language-of-parts.html): if the citation is in a language other than that of the surrounding content, indicate so through the \`lang\` attribute. `;/*@license CC0-1.0*/function n(e){const o={code:"code",h2:"h2",h3:"h3",p:"p",...r(),...e.components};return t.jsxs(t.Fragment,{children:[` `,` -`,t.jsx(s,{of:m}),` +`,t.jsx(s,{of:h}),` `,t.jsx(a,{children:u}),` `,t.jsx(i,{}),` -`,t.jsx(c,{}),` +`,t.jsx(m,{}),` `,t.jsx(o.h2,{id:"examples",children:"Examples"}),` `,t.jsx(o.h3,{id:"inverse-colour",children:"Inverse colour"}),` `,t.jsxs(o.p,{children:["Set the ",t.jsx(o.code,{children:"inverseColor"}),` prop if the Blockquote sits on a dark background. This ensures the colour of the text provides enough contrast.`]}),` -`,t.jsx(h,{of:l})]})}function B(e={}){const{wrapper:o}={...r(),...e.components};return o?t.jsx(o,{...e,children:t.jsx(n,{...e})}):n(e)}export{B as default}; +`,t.jsx(c,{of:l})]})}function D(e={}){const{wrapper:o}={...r(),...e.components};return o?t.jsx(o,{...e,children:t.jsx(n,{...e})}):n(e)}export{D as default}; diff --git a/demo-DES-969-file-list-component/assets/Blockquote.stories-z9MN-vzr.js b/demo-DES-969-file-list-component/assets/Blockquote.stories-BNug3b0G.js similarity index 91% rename from demo-DES-969-file-list-component/assets/Blockquote.stories-z9MN-vzr.js rename to demo-DES-969-file-list-component/assets/Blockquote.stories-BNug3b0G.js index 1212ebe465..b4b4c958f3 100644 --- a/demo-DES-969-file-list-component/assets/Blockquote.stories-z9MN-vzr.js +++ b/demo-DES-969-file-list-component/assets/Blockquote.stories-BNug3b0G.js @@ -1,4 +1,4 @@ -import{c as f}from"./exampleContent-hIIPvEhU.js";import{j as _}from"./jsx-runtime-j_jdvEMj.js";import{c as g}from"./clsx-B-dksMZM.js";import{r as q}from"./index-B-o1Wr-g.js";const r=q.forwardRef(({children:t,className:u,inverseColor:p,...m},d)=>_.jsx("blockquote",{...m,ref:d,className:g("ams-blockquote",p&&"ams-blockquote--inverse-color",u),children:t}));r.displayName="Blockquote";try{r.displayName="Blockquote",r.__docgenInfo={description:"",displayName:"Blockquote",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}}}}}catch{}/** +import{c as f}from"./exampleContent-hIIPvEhU.js";import{j as _}from"./jsx-runtime-BjgbQsUx.js";import{c as g}from"./clsx-B-dksMZM.js";import{r as q}from"./index-RigO-4kf.js";const r=q.forwardRef(({children:t,className:u,inverseColor:p,...m},d)=>_.jsx("blockquote",{...m,ref:d,className:g("ams-blockquote",p&&"ams-blockquote--inverse-color",u),children:t}));r.displayName="Blockquote";try{r.displayName="Blockquote",r.__docgenInfo={description:"",displayName:"Blockquote",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}}}}}catch{}/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const b=f(),k={title:"Components/Text/Blockquote",component:r,args:{children:b,inverseColor:!1},argTypes:{children:{description:"The text for the quote.",table:{disable:!1}}}},e={},o={args:{inverseColor:!0}};var s,a,c;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(c=(a=e.parameters)==null?void 0:a.docs)==null?void 0:c.source}}};var l,n,i;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/Breadcrumb.docs-BIWSckos.js b/demo-DES-969-file-list-component/assets/Breadcrumb.docs-CgK2x87_.js similarity index 61% rename from demo-DES-969-file-list-component/assets/Breadcrumb.docs-BIWSckos.js rename to demo-DES-969-file-list-component/assets/Breadcrumb.docs-CgK2x87_.js index 09a563c690..47b01f63df 100644 --- a/demo-DES-969-file-list-component/assets/Breadcrumb.docs-BIWSckos.js +++ b/demo-DES-969-file-list-component/assets/Breadcrumb.docs-CgK2x87_.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as s,aq as a,ar as o}from"./index-CsbqyhR0.js";import{B as c}from"./Breadcrumb.stories-EowaNKYC.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const u=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as i}from"./index-3rgQkYFR.js";import{ae as o,aq as s,ar as a}from"./index-DEYBsmB_.js";import{B as c}from"./Breadcrumb.stories-DlD_h2bb.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const u=` # Breadcrumb @@ -18,10 +18,10 @@ Users can use it to navigate. Check out the [developer guide](/docs/docs-developer-guide-routing-libraries--docs) on how to integrate links with external routing libraries. `;/*@license CC0-1.0*/function r(n){const t={h2:"h2",li:"li",ul:"ul",...i(),...n.components};return e.jsxs(e.Fragment,{children:[` `,` -`,e.jsx(s,{of:c}),` -`,e.jsx(a,{children:u}),` -`,e.jsx(o,{}),` +`,e.jsx(o,{of:c}),` +`,e.jsx(s,{children:u}),` +`,e.jsx(a,{}),` `,e.jsx(t.h2,{id:"guidelines",children:"Guidelines"}),` `,e.jsxs(t.ul,{children:[` `,e.jsx(t.li,{children:"A breadcrumb should not display more than 8 items."}),` -`]})]})}function M(n={}){const{wrapper:t}={...i(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(r,{...n})}):r(n)}export{M as default}; +`]})]})}function C(n={}){const{wrapper:t}={...i(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(r,{...n})}):r(n)}export{C as default}; diff --git a/demo-DES-969-file-list-component/assets/Breadcrumb.stories-EowaNKYC.js b/demo-DES-969-file-list-component/assets/Breadcrumb.stories-DlD_h2bb.js similarity index 93% rename from demo-DES-969-file-list-component/assets/Breadcrumb.stories-EowaNKYC.js rename to demo-DES-969-file-list-component/assets/Breadcrumb.stories-DlD_h2bb.js index f042793867..f763d72743 100644 --- a/demo-DES-969-file-list-component/assets/Breadcrumb.stories-EowaNKYC.js +++ b/demo-DES-969-file-list-component/assets/Breadcrumb.stories-DlD_h2bb.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{c as t}from"./clsx-B-dksMZM.js";import{r as l}from"./index-B-o1Wr-g.js";const u=l.forwardRef(({children:a,className:n,...s},d)=>r.jsx("li",{className:"ams-breadcrumb__item",children:r.jsx("a",{...s,className:t("ams-breadcrumb__link",n),ref:d,children:a})}));u.displayName="Breadcrumb.Link";try{Breadcrumb.Link.displayName="Breadcrumb.Link",Breadcrumb.Link.__docgenInfo={description:"",displayName:"Breadcrumb.Link",props:{}}}catch{}const b=l.forwardRef(({children:a,className:n,...s},d)=>r.jsx("nav",{...s,className:t("ams-breadcrumb",n),ref:d,children:r.jsx("ol",{className:"ams-breadcrumb__list",children:a})}));b.displayName="Breadcrumb";const e=Object.assign(b,{Link:u});try{e.displayName="Breadcrumb",e.__docgenInfo={description:"",displayName:"Breadcrumb",props:{}}}catch{}const p={title:"Components/Navigation/Breadcrumb",component:e},c={args:{children:[r.jsx(e.Link,{href:"#",children:"Home"},1),r.jsx(e.Link,{href:"#",children:"Afval"},2),r.jsx(e.Link,{href:"#",children:"Bedrijfsafval"},3),r.jsx(e.Link,{href:"#",children:"Recyclepunten voor bedrijven"},4)]}};var o,i,m;c.parameters={...c.parameters,docs:{...(o=c.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-BjgbQsUx.js";import{c as t}from"./clsx-B-dksMZM.js";import{r as l}from"./index-RigO-4kf.js";const u=l.forwardRef(({children:a,className:n,...s},d)=>r.jsx("li",{className:"ams-breadcrumb__item",children:r.jsx("a",{...s,className:t("ams-breadcrumb__link",n),ref:d,children:a})}));u.displayName="Breadcrumb.Link";try{Breadcrumb.Link.displayName="Breadcrumb.Link",Breadcrumb.Link.__docgenInfo={description:"",displayName:"Breadcrumb.Link",props:{}}}catch{}const b=l.forwardRef(({children:a,className:n,...s},d)=>r.jsx("nav",{...s,className:t("ams-breadcrumb",n),ref:d,children:r.jsx("ol",{className:"ams-breadcrumb__list",children:a})}));b.displayName="Breadcrumb";const e=Object.assign(b,{Link:u});try{e.displayName="Breadcrumb",e.__docgenInfo={description:"",displayName:"Breadcrumb",props:{}}}catch{}const p={title:"Components/Navigation/Breadcrumb",component:e},c={args:{children:[r.jsx(e.Link,{href:"#",children:"Home"},1),r.jsx(e.Link,{href:"#",children:"Afval"},2),r.jsx(e.Link,{href:"#",children:"Bedrijfsafval"},3),r.jsx(e.Link,{href:"#",children:"Recyclepunten voor bedrijven"},4)]}};var o,i,m;c.parameters={...c.parameters,docs:{...(o=c.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { children: [ Home diff --git a/demo-DES-969-file-list-component/assets/Breakout.docs-Cc5kbVc3.js b/demo-DES-969-file-list-component/assets/Breakout.docs-caC2SrhZ.js similarity index 63% rename from demo-DES-969-file-list-component/assets/Breakout.docs-Cc5kbVc3.js rename to demo-DES-969-file-list-component/assets/Breakout.docs-caC2SrhZ.js index e7d4187263..d37425adc4 100644 --- a/demo-DES-969-file-list-component/assets/Breakout.docs-Cc5kbVc3.js +++ b/demo-DES-969-file-list-component/assets/Breakout.docs-caC2SrhZ.js @@ -1,9 +1,9 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as i,ar as a,as as l,at as h}from"./index-CsbqyhR0.js";import{B as c,V as d}from"./Breakout.stories-C9simG9h.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./paddingClasses-C5gheHLv.js";const p=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as r,aq as i,ar as a,as as l,at as h}from"./index-DEYBsmB_.js";import{B as c,V as d}from"./Breakout.stories-Bv1BJLFT.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./paddingClasses-C5gheHLv.js";const p=` # Breakout A composition that lets a figure – e.g. an image, video or map – break out of a Spotlight. -`;/*@license CC0-1.0*/function o(n){const t={code:"code",h2:"h2",h3:"h3",p:"p",...s(),...n.components};return e.jsxs(e.Fragment,{children:[` +`;/*@license CC0-1.0*/function n(o){const t={code:"code",h2:"h2",h3:"h3",p:"p",...s(),...o.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(r,{of:c}),` `,e.jsx(i,{children:p}),` @@ -22,4 +22,4 @@ Ensure that the text is short, or the image tall, to prevent losing the break-ou `,e.jsx(t.h2,{id:"examples",children:"Examples"}),` `,e.jsx(t.h3,{id:"vertical-layout",children:"Vertical layout"}),` `,e.jsx(t.p,{children:"A large figure can be placed at the top of the Spotlight, with related text positioned underneath."}),` -`,e.jsx(h,{of:d})]})}function A(n={}){const{wrapper:t}={...s(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(o,{...n})}):o(n)}export{A as default}; +`,e.jsx(h,{of:d})]})}function B(o={}){const{wrapper:t}={...s(),...o.components};return t?e.jsx(t,{...o,children:e.jsx(n,{...o})}):n(o)}export{B as default}; diff --git a/demo-DES-969-file-list-component/assets/Breakout.stories-C9simG9h.js b/demo-DES-969-file-list-component/assets/Breakout.stories-Bv1BJLFT.js similarity index 97% rename from demo-DES-969-file-list-component/assets/Breakout.stories-C9simG9h.js rename to demo-DES-969-file-list-component/assets/Breakout.stories-Bv1BJLFT.js index 9268f87348..004811956d 100644 --- a/demo-DES-969-file-list-component/assets/Breakout.stories-C9simG9h.js +++ b/demo-DES-969-file-list-component/assets/Breakout.stories-Bv1BJLFT.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{s as V,t as k,P as p,I as C}from"./index.esm-Dojcg4AG.js";import{c as b}from"./clsx-B-dksMZM.js";import{r as _}from"./index-B-o1Wr-g.js";import{a as i,p as N}from"./paddingClasses-C5gheHLv.js";/** +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{s as V,t as k,P as p,I as C}from"./index.esm-CEzKrmam.js";import{c as b}from"./clsx-B-dksMZM.js";import{r as _}from"./index-RigO-4kf.js";import{a as i,p as N}from"./paddingClasses-C5gheHLv.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const T=(a,t,l,o)=>[...i("ams-breakout__cell--col-span-",a),...i("ams-breakout__cell--col-start-",t),...i("ams-breakout__cell--row-span-",l),...i("ams-breakout__cell--row-start-",o)],B=_.forwardRef(({as:a="div",children:t,className:l,colSpan:o,colStart:d,has:u,rowSpan:m,rowStart:c,...x},j)=>e.jsx(a,{...x,ref:j,className:b("ams-breakout__cell",T(o,d,m,c),u&&`ams-breakout__cell--has-${u}`,l),children:t}));B.displayName="Breakout.Cell";try{Breakout.Cell.displayName="Breakout.Cell",Breakout.Cell.__docgenInfo={description:"",displayName:"Breakout.Cell",props:{as:{defaultValue:null,description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'}]}},colSpan:{defaultValue:null,description:`Lets the cell span the full width of all grid variants. diff --git a/demo-DES-969-file-list-component/assets/Button-CLCAbUHj.js b/demo-DES-969-file-list-component/assets/Button-nAoFhtc2.js similarity index 87% rename from demo-DES-969-file-list-component/assets/Button-CLCAbUHj.js rename to demo-DES-969-file-list-component/assets/Button-nAoFhtc2.js index 22e6f75f75..00a9cffa54 100644 --- a/demo-DES-969-file-list-component/assets/Button-CLCAbUHj.js +++ b/demo-DES-969-file-list-component/assets/Button-nAoFhtc2.js @@ -1 +1 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{c as d}from"./clsx-B-dksMZM.js";import{r as f}from"./index-B-o1Wr-g.js";import{I as s}from"./Icon-D1obyjGa.js";const r=f.forwardRef(({children:o,className:l,disabled:i,icon:e,iconBefore:n,iconOnly:a,type:u,variant:m="primary",...p},c)=>t.jsxs("button",{...p,className:d("ams-button",`ams-button--${m}`,e&&a&&"ams-button--icon-only",l),disabled:i,ref:c,type:u||"button",children:[e&&(n||a)&&t.jsx(s,{svg:e,size:"level-5",square:a}),e&&a?t.jsx("span",{className:"ams-visually-hidden",children:o}):o,e&&!n&&!a&&t.jsx(s,{svg:e,size:"level-5"})]}));r.displayName="Button";try{r.displayName="Button",r.__docgenInfo={description:"",displayName:"Button",props:{variant:{defaultValue:{value:"primary"},description:"The level of prominence. Use a primary button only once per page or section.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},icon:{defaultValue:null,description:"Adds an icon to the button, showing it after the label.",name:"icon",required:!1,type:{name:"Function"}},iconBefore:{defaultValue:null,description:"Shows the icon before the label. Requires a value for `icon`. Cannot be used together with `iconOnly`.",name:"iconBefore",required:!1,type:{name:"boolean"}},iconOnly:{defaultValue:null,description:"Shows the icon without the label. Requires a value for `icon`. Cannot be used together with `iconBefore`.",name:"iconOnly",required:!1,type:{name:"boolean"}}}}}catch{}export{r as B}; +import{j as t}from"./jsx-runtime-BjgbQsUx.js";import{c as d}from"./clsx-B-dksMZM.js";import{r as f}from"./index-RigO-4kf.js";import{I as s}from"./Icon-B4wlDyQ3.js";const r=f.forwardRef(({children:o,className:l,disabled:i,icon:e,iconBefore:n,iconOnly:a,type:u,variant:m="primary",...p},c)=>t.jsxs("button",{...p,className:d("ams-button",`ams-button--${m}`,e&&a&&"ams-button--icon-only",l),disabled:i,ref:c,type:u||"button",children:[e&&(n||a)&&t.jsx(s,{svg:e,size:"level-5",square:a}),e&&a?t.jsx("span",{className:"ams-visually-hidden",children:o}):o,e&&!n&&!a&&t.jsx(s,{svg:e,size:"level-5"})]}));r.displayName="Button";try{r.displayName="Button",r.__docgenInfo={description:"",displayName:"Button",props:{variant:{defaultValue:{value:"primary"},description:"The level of prominence. Use a primary button only once per page or section.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},icon:{defaultValue:null,description:"Adds an icon to the button, showing it after the label.",name:"icon",required:!1,type:{name:"Function"}},iconBefore:{defaultValue:null,description:"Shows the icon before the label. Requires a value for `icon`. Cannot be used together with `iconOnly`.",name:"iconBefore",required:!1,type:{name:"boolean"}},iconOnly:{defaultValue:null,description:"Shows the icon without the label. Requires a value for `icon`. Cannot be used together with `iconBefore`.",name:"iconOnly",required:!1,type:{name:"boolean"}}}}}catch{}export{r as B}; diff --git a/demo-DES-969-file-list-component/assets/Button.docs-gWlQ2FGg.js b/demo-DES-969-file-list-component/assets/Button.docs-D90RCi9u.js similarity index 83% rename from demo-DES-969-file-list-component/assets/Button.docs-gWlQ2FGg.js rename to demo-DES-969-file-list-component/assets/Button.docs-D90RCi9u.js index 549ad1ea32..7c323140a1 100644 --- a/demo-DES-969-file-list-component/assets/Button.docs-gWlQ2FGg.js +++ b/demo-DES-969-file-list-component/assets/Button.docs-D90RCi9u.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as s,aq as a,ar as c,as as h,at as t}from"./index-CsbqyhR0.js";import{B as l,P as d,S as u,T as p,W as m,a as b,b as f,c as w}from"./Button.stories-DsD2Ibzg.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-CEthAr-Q.js";import"./Button-CLCAbUHj.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const x=` +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as i}from"./index-3rgQkYFR.js";import{ae as s,aq as a,ar as c,as as h,at as t}from"./index-DEYBsmB_.js";import{B as l,P as d,S as u,T as p,W as m,a as b,b as f,c as w}from"./Button.stories-B_Hn-j59.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-Bz9pa_xK.js";import"./Button-nAoFhtc2.js";import"./clsx-B-dksMZM.js";import"./Icon-B4wlDyQ3.js";const x=` # Button @@ -64,4 +64,4 @@ a shorter text might be unavailable, two buttons could sit next to each other on a narrow screen, or the user has configured a large font on their device. This is fine.`}),` -`,n.jsx(t,{of:w})]})}function E(o={}){const{wrapper:e}={...i(),...o.components};return e?n.jsx(e,{...o,children:n.jsx(r,{...o})}):r(o)}export{E as default}; +`,n.jsx(t,{of:w})]})}function P(o={}){const{wrapper:e}={...i(),...o.components};return e?n.jsx(e,{...o,children:n.jsx(r,{...o})}):r(o)}export{P as default}; diff --git a/demo-DES-969-file-list-component/assets/Button.stories-DsD2Ibzg.js b/demo-DES-969-file-list-component/assets/Button.stories-B_Hn-j59.js similarity index 95% rename from demo-DES-969-file-list-component/assets/Button.stories-DsD2Ibzg.js rename to demo-DES-969-file-list-component/assets/Button.stories-B_Hn-j59.js index 80f9062d4a..864a55cabc 100644 --- a/demo-DES-969-file-list-component/assets/Button.stories-DsD2Ibzg.js +++ b/demo-DES-969-file-list-component/assets/Button.stories-B_Hn-j59.js @@ -1,4 +1,4 @@ -import{j as i}from"./jsx-runtime-j_jdvEMj.js";import{I as d,c}from"./index.esm-CEthAr-Q.js";import{B as A}from"./Button-CLCAbUHj.js";const V={title:"Components/Buttons/Button",component:A,args:{children:"Versturen",disabled:!1,icon:void 0,iconBefore:!1,iconOnly:!1,variant:"primary"},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."},icon:{control:{type:"select",labels:{undefined:"none"}},options:[void 0,...Object.keys(d)],mapping:d},iconBefore:{control:{type:"boolean"},if:{arg:"icon"}},iconOnly:{control:{type:"boolean"},if:{arg:"icon"}}}},r={},e={args:{children:"Annuleren",variant:"secondary"}},n={args:{children:"Terug",variant:"tertiary"}},o={args:{children:"Sluiten",icon:c}},a={args:{children:"Sluiten",icon:c,iconBefore:!0}},s={args:{children:"Sluiten",icon:c,iconOnly:!0,variant:"tertiary"}},t={args:{children:"Vergunningsaanvraag verzenden"},decorators:[z=>i.jsx("div",{style:{maxWidth:"16rem"},children:i.jsx(z,{})})]};var l,p,m;r.parameters={...r.parameters,docs:{...(l=r.parameters)==null?void 0:l.docs,source:{originalSource:"{}",...(m=(p=r.parameters)==null?void 0:p.docs)==null?void 0:m.source}}};var u,g,y;e.parameters={...e.parameters,docs:{...(u=e.parameters)==null?void 0:u.docs,source:{originalSource:`{ +import{j as i}from"./jsx-runtime-BjgbQsUx.js";import{I as d,c}from"./index.esm-Bz9pa_xK.js";import{B as A}from"./Button-nAoFhtc2.js";const V={title:"Components/Buttons/Button",component:A,args:{children:"Versturen",disabled:!1,icon:void 0,iconBefore:!1,iconOnly:!1,variant:"primary"},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."},icon:{control:{type:"select",labels:{undefined:"none"}},options:[void 0,...Object.keys(d)],mapping:d},iconBefore:{control:{type:"boolean"},if:{arg:"icon"}},iconOnly:{control:{type:"boolean"},if:{arg:"icon"}}}},r={},e={args:{children:"Annuleren",variant:"secondary"}},n={args:{children:"Terug",variant:"tertiary"}},o={args:{children:"Sluiten",icon:c}},a={args:{children:"Sluiten",icon:c,iconBefore:!0}},s={args:{children:"Sluiten",icon:c,iconOnly:!0,variant:"tertiary"}},t={args:{children:"Vergunningsaanvraag verzenden"},decorators:[z=>i.jsx("div",{style:{maxWidth:"16rem"},children:i.jsx(z,{})})]};var l,p,m;r.parameters={...r.parameters,docs:{...(l=r.parameters)==null?void 0:l.docs,source:{originalSource:"{}",...(m=(p=r.parameters)==null?void 0:p.docs)==null?void 0:m.source}}};var u,g,y;e.parameters={...e.parameters,docs:{...(u=e.parameters)==null?void 0:u.docs,source:{originalSource:`{ args: { children: 'Annuleren', variant: 'secondary' diff --git a/demo-DES-969-file-list-component/assets/Card.docs-ogw_OuLx.js b/demo-DES-969-file-list-component/assets/Card.docs-ijNW_c6-.js similarity index 75% rename from demo-DES-969-file-list-component/assets/Card.docs-ogw_OuLx.js rename to demo-DES-969-file-list-component/assets/Card.docs-ijNW_c6-.js index 6dc7ed6655..185f495a9b 100644 --- a/demo-DES-969-file-list-component/assets/Card.docs-ogw_OuLx.js +++ b/demo-DES-969-file-list-component/assets/Card.docs-ijNW_c6-.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r,aq as s,ar as d,at as a}from"./index-CsbqyhR0.js";import{C as c,W as h,a as l}from"./Card.stories-c_uOcuhW.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./exampleContent-hIIPvEhU.js";import"./Paragraph-DZy4cHOZ.js";const p=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as r,aq as s,ar as d,at as a}from"./index-DEYBsmB_.js";import{C as c,W as h,a as l}from"./Card.stories-DQEEumU1.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./exampleContent-hIIPvEhU.js";import"./Paragraph-B2U4A2CY.js";const p=` # Card @@ -42,4 +42,4 @@ This ensures screen readers first read the heading and then the tagline.`]}),` `,e.jsx(n.h3,{id:"with-image",children:"With image"}),` `,e.jsxs(n.p,{children:[`A card often displays the image of the detail page. Use `,e.jsx(n.a,{href:"/docs/layout-aspect-ratio--docs",children:"Aspect Ratio"})," for the correct aspect ratio."]}),` -`,e.jsx(a,{of:l})]})}function E(t={}){const{wrapper:n}={...o(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(i,{...t})}):i(t)}export{E as default}; +`,e.jsx(a,{of:l})]})}function R(t={}){const{wrapper:n}={...o(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(i,{...t})}):i(t)}export{R as default}; diff --git a/demo-DES-969-file-list-component/assets/Card.stories-c_uOcuhW.js b/demo-DES-969-file-list-component/assets/Card.stories-DQEEumU1.js similarity index 94% rename from demo-DES-969-file-list-component/assets/Card.stories-c_uOcuhW.js rename to demo-DES-969-file-list-component/assets/Card.stories-DQEEumU1.js index c1cdd834cc..ec8d6a61a2 100644 --- a/demo-DES-969-file-list-component/assets/Card.stories-c_uOcuhW.js +++ b/demo-DES-969-file-list-component/assets/Card.stories-DQEEumU1.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as l,P as c,I as G}from"./index.esm-Dojcg4AG.js";import{h as v}from"./exampleContent-hIIPvEhU.js";import{c as p}from"./clsx-B-dksMZM.js";import{r as g}from"./index-B-o1Wr-g.js";import{P as z}from"./Paragraph-DZy4cHOZ.js";const w=g.forwardRef(({children:a,className:n,tagline:s,...o},L)=>e.jsxs("hgroup",{...o,ref:L,className:p("ams-card__heading-group",n),children:[a,e.jsx(z,{size:"small",children:s})]}));w.displayName="Card.HeadingGroup";try{Card.HeadingGroup.displayName="Card.HeadingGroup",Card.HeadingGroup.__docgenInfo={description:"",displayName:"Card.HeadingGroup",props:{tagline:{defaultValue:null,description:"A short phrase of text, e.g. to categorise the card. Displayed above the card heading.",name:"tagline",required:!0,type:{name:"string"}}}}}catch{}const H=g.forwardRef(({children:a,className:n,...s},o)=>e.jsx("a",{...s,ref:o,className:p("ams-card__link",n),children:a}));H.displayName="Card.Link";try{Card.Link.displayName="Card.Link",Card.Link.__docgenInfo={description:"",displayName:"Card.Link",props:{}}}catch{}const N=g.forwardRef(({children:a,className:n,...s},o)=>e.jsx("article",{...s,ref:o,className:p("ams-card",n),children:a}));N.displayName="Card";const r=Object.assign(N,{HeadingGroup:w,Link:H});try{r.displayName="Card",r.__docgenInfo={description:"",displayName:"Card",props:{}}}catch{}const P=new Intl.DateTimeFormat("nl",{day:"numeric",month:"long",year:"numeric"}),b=P.format(Date.now()),m=v(),I={title:"Components/Navigation/Card",component:r,decorators:[a=>e.jsx("div",{style:{maxWidth:"24rem"},children:e.jsx(a,{})})]},i={args:{children:[e.jsx(l,{size:"level-4",children:e.jsx(r.Link,{href:"/",children:m.heading})},1),e.jsx(c,{children:m.description},2)]}},t={args:{children:[e.jsx(r.HeadingGroup,{tagline:"Dossier",children:e.jsx(l,{size:"level-4",children:e.jsx(r.Link,{href:"/",children:"Monitor Attracties MRA"})})},1),e.jsx(c,{children:"Ontwikkeling van het aantal attracties en bezoekers in de metropoolregio Amsterdam."},2)]}},d={args:{children:[e.jsx(G,{alt:"",aspectRatio:"wide",src:"https://picsum.photos/480/360"},1),e.jsx(r.HeadingGroup,{tagline:"Nieuws",children:e.jsx(l,{size:"level-4",children:e.jsx(r.Link,{href:"/",children:"Nederlands eerste houten woonwijk komt in Zuidoost"})})},2),e.jsx(c,{children:"We bouwen een levendige, groene en duurzame woonbuurt tussen de Gooiseweg en het Nelson Mandelapark."},3),e.jsx(c,{size:"small",children:b},4)]}};var h,u,k;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{H as l,P as c,I as G}from"./index.esm-CEzKrmam.js";import{h as v}from"./exampleContent-hIIPvEhU.js";import{c as p}from"./clsx-B-dksMZM.js";import{r as g}from"./index-RigO-4kf.js";import{P as z}from"./Paragraph-B2U4A2CY.js";const w=g.forwardRef(({children:a,className:n,tagline:s,...o},L)=>e.jsxs("hgroup",{...o,ref:L,className:p("ams-card__heading-group",n),children:[a,e.jsx(z,{size:"small",children:s})]}));w.displayName="Card.HeadingGroup";try{Card.HeadingGroup.displayName="Card.HeadingGroup",Card.HeadingGroup.__docgenInfo={description:"",displayName:"Card.HeadingGroup",props:{tagline:{defaultValue:null,description:"A short phrase of text, e.g. to categorise the card. Displayed above the card heading.",name:"tagline",required:!0,type:{name:"string"}}}}}catch{}const H=g.forwardRef(({children:a,className:n,...s},o)=>e.jsx("a",{...s,ref:o,className:p("ams-card__link",n),children:a}));H.displayName="Card.Link";try{Card.Link.displayName="Card.Link",Card.Link.__docgenInfo={description:"",displayName:"Card.Link",props:{}}}catch{}const N=g.forwardRef(({children:a,className:n,...s},o)=>e.jsx("article",{...s,ref:o,className:p("ams-card",n),children:a}));N.displayName="Card";const r=Object.assign(N,{HeadingGroup:w,Link:H});try{r.displayName="Card",r.__docgenInfo={description:"",displayName:"Card",props:{}}}catch{}const P=new Intl.DateTimeFormat("nl",{day:"numeric",month:"long",year:"numeric"}),b=P.format(Date.now()),m=v(),I={title:"Components/Navigation/Card",component:r,decorators:[a=>e.jsx("div",{style:{maxWidth:"24rem"},children:e.jsx(a,{})})]},i={args:{children:[e.jsx(l,{size:"level-4",children:e.jsx(r.Link,{href:"/",children:m.heading})},1),e.jsx(c,{children:m.description},2)]}},t={args:{children:[e.jsx(r.HeadingGroup,{tagline:"Dossier",children:e.jsx(l,{size:"level-4",children:e.jsx(r.Link,{href:"/",children:"Monitor Attracties MRA"})})},1),e.jsx(c,{children:"Ontwikkeling van het aantal attracties en bezoekers in de metropoolregio Amsterdam."},2)]}},d={args:{children:[e.jsx(G,{alt:"",aspectRatio:"wide",src:"https://picsum.photos/480/360"},1),e.jsx(r.HeadingGroup,{tagline:"Nieuws",children:e.jsx(l,{size:"level-4",children:e.jsx(r.Link,{href:"/",children:"Nederlands eerste houten woonwijk komt in Zuidoost"})})},2),e.jsx(c,{children:"We bouwen een levendige, groene en duurzame woonbuurt tussen de Gooiseweg en het Nelson Mandelapark."},3),e.jsx(c,{size:"small",children:b},4)]}};var h,u,k;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ args: { children: [ {topTask.heading} diff --git a/demo-DES-969-file-list-component/assets/CharacterCount.docs-BNsQkS8V.js b/demo-DES-969-file-list-component/assets/CharacterCount.docs-DwwtIO13.js similarity index 70% rename from demo-DES-969-file-list-component/assets/CharacterCount.docs-BNsQkS8V.js rename to demo-DES-969-file-list-component/assets/CharacterCount.docs-DwwtIO13.js index df2c52a885..6bfdea8a34 100644 --- a/demo-DES-969-file-list-component/assets/CharacterCount.docs-BNsQkS8V.js +++ b/demo-DES-969-file-list-component/assets/CharacterCount.docs-DwwtIO13.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as a}from"./index-BSj771as.js";import{ae as o,aq as s,ar as h,as as i,at as c}from"./index-CsbqyhR0.js";import{C as m,E as l}from"./CharacterCount.stories-BuZ7Uh_6.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const u=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as a}from"./index-3rgQkYFR.js";import{ae as o,aq as s,ar as h,as as i,at as c}from"./index-DEYBsmB_.js";import{C as m,E as l}from"./CharacterCount.stories-DXeDr-El.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const u=` # Character Count @@ -26,4 +26,4 @@ This component does not restrict the user from entering information. The user ca `,e.jsx(n.h2,{id:"examples",children:"Examples"}),` `,e.jsx(n.h3,{id:"error",children:"Error"}),` `,e.jsx(n.p,{children:"When the length exceeds the maximum length, the color of the text changes to red."}),` -`,e.jsx(c,{of:l})]})}function D(t={}){const{wrapper:n}={...a(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(r,{...t})}):r(t)}export{D as default}; +`,e.jsx(c,{of:l})]})}function T(t={}){const{wrapper:n}={...a(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(r,{...t})}):r(t)}export{T as default}; diff --git a/demo-DES-969-file-list-component/assets/CharacterCount.stories-BuZ7Uh_6.js b/demo-DES-969-file-list-component/assets/CharacterCount.stories-DXeDr-El.js similarity index 91% rename from demo-DES-969-file-list-component/assets/CharacterCount.stories-BuZ7Uh_6.js rename to demo-DES-969-file-list-component/assets/CharacterCount.stories-DXeDr-El.js index a707bb09f3..98ae2d3abb 100644 --- a/demo-DES-969-file-list-component/assets/CharacterCount.stories-BuZ7Uh_6.js +++ b/demo-DES-969-file-list-component/assets/CharacterCount.stories-DXeDr-El.js @@ -1,4 +1,4 @@ -import{j as h}from"./jsx-runtime-j_jdvEMj.js";import{c as g}from"./clsx-B-dksMZM.js";import{r as f}from"./index-B-o1Wr-g.js";const t=f.forwardRef(({className:a,length:o,maxLength:n,...d},i)=>h.jsx("div",{...d,ref:i,className:g("ams-character-count",o>n&&"ams-character-count--error",a),role:"status",children:`${o} van ${n} tekens`}));t.displayName="CharacterCount";try{t.displayName="CharacterCount",t.__docgenInfo={description:"",displayName:"CharacterCount",props:{length:{defaultValue:null,description:"The current length of the field’s value.",name:"length",required:!0,type:{name:"number"}},maxLength:{defaultValue:null,description:"The maximum length of the field’s value.",name:"maxLength",required:!0,type:{name:"number"}}}}}catch{}/** +import{j as h}from"./jsx-runtime-BjgbQsUx.js";import{c as g}from"./clsx-B-dksMZM.js";import{r as f}from"./index-RigO-4kf.js";const t=f.forwardRef(({className:a,length:o,maxLength:n,...d},i)=>h.jsx("div",{...d,ref:i,className:g("ams-character-count",o>n&&"ams-character-count--error",a),role:"status",children:`${o} van ${n} tekens`}));t.displayName="CharacterCount";try{t.displayName="CharacterCount",t.__docgenInfo={description:"",displayName:"CharacterCount",props:{length:{defaultValue:null,description:"The current length of the field’s value.",name:"length",required:!0,type:{name:"number"}},maxLength:{defaultValue:null,description:"The maximum length of the field’s value.",name:"maxLength",required:!0,type:{name:"number"}}}}}catch{}/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const C={title:"Components/Forms/Character Count",component:t,args:{length:7,maxLength:10}},e={},r={args:{length:1001,maxLength:1e3}};var s,c,m;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(m=(c=e.parameters)==null?void 0:c.docs)==null?void 0:m.source}}};var u,l,p;r.parameters={...r.parameters,docs:{...(u=r.parameters)==null?void 0:u.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/Checkbox.docs-Ck9drsKl.js b/demo-DES-969-file-list-component/assets/Checkbox.docs-DYopl_20.js similarity index 81% rename from demo-DES-969-file-list-component/assets/Checkbox.docs-Ck9drsKl.js rename to demo-DES-969-file-list-component/assets/Checkbox.docs-DYopl_20.js index 3a9f45fc35..9303a5e2fa 100644 --- a/demo-DES-969-file-list-component/assets/Checkbox.docs-Ck9drsKl.js +++ b/demo-DES-969-file-list-component/assets/Checkbox.docs-DYopl_20.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as a,aq as r,ar as l,as as c,at as i}from"./index-CsbqyhR0.js";import{C as d,L as h,I as f,a as p}from"./Checkbox.stories-C3wZocJg.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const m=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as a,aq as r,ar as l,as as c,at as i}from"./index-DEYBsmB_.js";import{C as d,L as h,I as p,a as f}from"./Checkbox.stories-D7bMzHkP.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const m=` # Checkbox @@ -43,8 +43,8 @@ Checkbox is an interactive element, and the [general requirements and guidelines instead of `,e.jsx(n.code,{children:"aria-describedby"}),"."]}),` `,e.jsxs(n.p,{children:["If you don’t need the description, remove its Paragraph and the Paragraphs ",e.jsx(n.code,{children:"id"})," from the Field Set ",e.jsx(n.code,{children:"aria-labelledby"}),"."]}),` `,e.jsxs(n.p,{children:["Check ",e.jsx(n.a,{href:"/docs/components-forms-field-set--docs",children:"the Field Set docs"})," for more information on configuring it."]}),` -`,e.jsx(i,{of:f}),` +`,e.jsx(i,{of:p}),` `,e.jsx(n.h3,{id:"in-a-field-set-with-validation",children:"In a Field Set with validation"}),` `,e.jsxs(n.p,{children:["If the Checkbox can become invalid, add an Error Message component and its ",e.jsx(n.code,{children:"id"})," to the ",e.jsx(n.code,{children:"aria-labelledby"})," attribute of the Field Set."]}),` `,e.jsxs(n.p,{children:["Check ",e.jsx(n.a,{href:"/docs/components-forms-field-set--docs",children:"the Field Set docs"})," for more information on configuring it."]}),` -`,e.jsx(i,{of:p})]})}function E(t={}){const{wrapper:n}={...s(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(o,{...t})}):o(t)}export{E as default}; +`,e.jsx(i,{of:f})]})}function q(t={}){const{wrapper:n}={...s(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(o,{...t})}):o(t)}export{q as default}; diff --git a/demo-DES-969-file-list-component/assets/Checkbox.stories-C3wZocJg.js b/demo-DES-969-file-list-component/assets/Checkbox.stories-D7bMzHkP.js similarity index 97% rename from demo-DES-969-file-list-component/assets/Checkbox.stories-C3wZocJg.js rename to demo-DES-969-file-list-component/assets/Checkbox.stories-D7bMzHkP.js index 6487ef7728..db4fdbae85 100644 --- a/demo-DES-969-file-list-component/assets/Checkbox.stories-C3wZocJg.js +++ b/demo-DES-969-file-list-component/assets/Checkbox.stories-D7bMzHkP.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{F as I,P as E,E as S,C as N}from"./index.esm-Dojcg4AG.js";import{c as F}from"./clsx-B-dksMZM.js";import{r as i}from"./index-B-o1Wr-g.js";const r=i.forwardRef(({children:a,className:c,invalid:m,indeterminate:o,...w},A)=>{const b=i.useId(),s=i.useRef(null);return i.useImperativeHandle(A,()=>s.current),i.useEffect(()=>{s.current&&(s.current.indeterminate=!!o)},[s,o]),e.jsxs("div",{className:F("ams-checkbox",c),children:[e.jsx("input",{...w,"aria-invalid":m||void 0,className:"ams-checkbox__input",id:b,ref:s,type:"checkbox"}),e.jsxs("label",{className:"ams-checkbox__label",htmlFor:b,children:[e.jsx("span",{className:"ams-checkbox__checkmark"}),a]})]})});r.displayName="Checkbox";try{r.displayName="Checkbox",r.__docgenInfo={description:"",displayName:"Checkbox",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},indeterminate:{defaultValue:null,description:"Allows being neither checked nor unchecked.",name:"indeterminate",required:!1,type:{name:"boolean"}}}}}catch{}const{useArgs:z}=__STORYBOOK_MODULE_PREVIEW_API__,P={title:"Components/Forms/Checkbox",component:r,args:{checked:!1,children:"Checkbox label",disabled:!1,indeterminate:!1,invalid:!1},argTypes:{checked:{description:"Whether the control is checked."},children:{description:"The text for the label.",table:{disable:!1}},disabled:{description:"Prevents interaction. Avoid if possible."},onChange:{action:"clicked",table:{disable:!0}}},render:a=>{const[,c]=z(),m=o=>{c({checked:o.target.checked})};return e.jsx(r,{onClick:m,...a})}},l={},n={args:{children:"Ik heb alle gegevens correct en volledig ingevuld. Ik begrijp dat een verhuizing via internet dezelfde juridische status heeft als een verhuizing met een geschreven geldige handtekening."}},t={argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}},indeterminate:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(I,{"aria-labelledby":`fieldset1 description1${a?" error1":""}`,id:"fieldset1",invalid:a,legend:"Waar gaat uw melding over?",children:[e.jsx(E,{className:"ams-mb--sm",id:"description1",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(S,{className:"ams-mb--sm",id:"error1",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(N,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})},d={args:{invalid:!0},argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}},indeterminate:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(I,{"aria-labelledby":`fieldset2 description2${a?" error2":""}`,id:"fieldset2",invalid:a,legend:"Waar gaat uw melding over?",children:[e.jsx(E,{className:"ams-mb--sm",id:"description2",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(S,{className:"ams-mb--sm",id:"error2",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(N,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})};var u,h,g;l.parameters={...l.parameters,docs:{...(u=l.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(g=(h=l.parameters)==null?void 0:h.docs)==null?void 0:g.source}}};var v,p,x;n.parameters={...n.parameters,docs:{...(v=n.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{F as I,P as E,E as S,C as N}from"./index.esm-CEzKrmam.js";import{c as F}from"./clsx-B-dksMZM.js";import{r as i}from"./index-RigO-4kf.js";const r=i.forwardRef(({children:a,className:c,invalid:m,indeterminate:o,...w},A)=>{const b=i.useId(),s=i.useRef(null);return i.useImperativeHandle(A,()=>s.current),i.useEffect(()=>{s.current&&(s.current.indeterminate=!!o)},[s,o]),e.jsxs("div",{className:F("ams-checkbox",c),children:[e.jsx("input",{...w,"aria-invalid":m||void 0,className:"ams-checkbox__input",id:b,ref:s,type:"checkbox"}),e.jsxs("label",{className:"ams-checkbox__label",htmlFor:b,children:[e.jsx("span",{className:"ams-checkbox__checkmark"}),a]})]})});r.displayName="Checkbox";try{r.displayName="Checkbox",r.__docgenInfo={description:"",displayName:"Checkbox",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},indeterminate:{defaultValue:null,description:"Allows being neither checked nor unchecked.",name:"indeterminate",required:!1,type:{name:"boolean"}}}}}catch{}const{useArgs:z}=__STORYBOOK_MODULE_PREVIEW_API__,P={title:"Components/Forms/Checkbox",component:r,args:{checked:!1,children:"Checkbox label",disabled:!1,indeterminate:!1,invalid:!1},argTypes:{checked:{description:"Whether the control is checked."},children:{description:"The text for the label.",table:{disable:!1}},disabled:{description:"Prevents interaction. Avoid if possible."},onChange:{action:"clicked",table:{disable:!0}}},render:a=>{const[,c]=z(),m=o=>{c({checked:o.target.checked})};return e.jsx(r,{onClick:m,...a})}},l={},n={args:{children:"Ik heb alle gegevens correct en volledig ingevuld. Ik begrijp dat een verhuizing via internet dezelfde juridische status heeft als een verhuizing met een geschreven geldige handtekening."}},t={argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}},indeterminate:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(I,{"aria-labelledby":`fieldset1 description1${a?" error1":""}`,id:"fieldset1",invalid:a,legend:"Waar gaat uw melding over?",children:[e.jsx(E,{className:"ams-mb--sm",id:"description1",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(S,{className:"ams-mb--sm",id:"error1",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(N,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})},d={args:{invalid:!0},argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}},indeterminate:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(I,{"aria-labelledby":`fieldset2 description2${a?" error2":""}`,id:"fieldset2",invalid:a,legend:"Waar gaat uw melding over?",children:[e.jsx(E,{className:"ams-mb--sm",id:"description2",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(S,{className:"ams-mb--sm",id:"error2",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(N,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})};var u,h,g;l.parameters={...l.parameters,docs:{...(u=l.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(g=(h=l.parameters)==null?void 0:h.docs)==null?void 0:g.source}}};var v,p,x;n.parameters={...n.parameters,docs:{...(v=n.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { children: 'Ik heb alle gegevens correct en volledig ingevuld. Ik begrijp dat een verhuizing via internet dezelfde juridische status heeft als een verhuizing met een geschreven geldige handtekening.' } diff --git a/demo-DES-969-file-list-component/assets/Color-F6OSRLHC-BrPVVA20.js b/demo-DES-969-file-list-component/assets/Color-F6OSRLHC-BrPVVA20.js deleted file mode 100644 index c7203dc3e7..0000000000 --- a/demo-DES-969-file-list-component/assets/Color-F6OSRLHC-BrPVVA20.js +++ /dev/null @@ -1 +0,0 @@ -import{ak as ce,al as M,a2 as J,a0 as he,N as fe,am as de,an as ge,ao as be,ap as q}from"./index-CsbqyhR0.js";import{R as m,r as p}from"./index-B-o1Wr-g.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./jsx-runtime-j_jdvEMj.js";import"./index-DolzVqEf.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={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]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var 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"]}};l.exports=u;for(let 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);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/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];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,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]=f,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]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*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){let 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]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=ce(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.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}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=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"}}),Xe=M(he)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(fe.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(de)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ge(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:be(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},fr=rr;export{rr as ColorControl,fr as default}; diff --git a/demo-DES-969-file-list-component/assets/Color-F6OSRLHC-CkoTeIFN.js b/demo-DES-969-file-list-component/assets/Color-F6OSRLHC-CkoTeIFN.js new file mode 100644 index 0000000000..5fae681f41 --- /dev/null +++ b/demo-DES-969-file-list-component/assets/Color-F6OSRLHC-CkoTeIFN.js @@ -0,0 +1 @@ +import{ak as ce,al as M,a2 as J,a0 as he,N as fe,am as de,an as ge,ao as be,ap as q}from"./index-DEYBsmB_.js";import{R as m,r as p}from"./index-RigO-4kf.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./jsx-runtime-BjgbQsUx.js";import"./index-D2MAbzvX.js";import"./_commonjsHelpers-CqkleIqs.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={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]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var 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"]}};l.exports=u;for(let 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);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/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];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,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]=f,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]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*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){let 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]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=ce(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.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}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=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"}}),Xe=M(he)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(fe.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(de)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ge(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:be(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},dr=rr;export{rr as ColorControl,dr as default}; diff --git a/demo-DES-969-file-list-component/assets/Column.docs-BDy6zPj6.js b/demo-DES-969-file-list-component/assets/Column.docs-DOnYPO63.js similarity index 81% rename from demo-DES-969-file-list-component/assets/Column.docs-BDy6zPj6.js rename to demo-DES-969-file-list-component/assets/Column.docs-DOnYPO63.js index ce08cfea22..24bacc2b68 100644 --- a/demo-DES-969-file-list-component/assets/Column.docs-BDy6zPj6.js +++ b/demo-DES-969-file-list-component/assets/Column.docs-DOnYPO63.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as o,aq as l,ar as a,as as h,at as i}from"./index-CsbqyhR0.js";import{C as c,A as d,H as m,I as p}from"./Column.stories-DA2cHt2l.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./types-B5YJ6HHW.js";const x=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as r}from"./index-3rgQkYFR.js";import{ae as o,aq as l,ar as a,as as h,at as i}from"./index-DEYBsmB_.js";import{C as c,A as d,H as m,I as p}from"./Column.stories-DTtxTX3I.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./types-B5YJ6HHW.js";const x=` # Column @@ -43,4 +43,4 @@ This option has no class name or prop value.`]}),` `,e.jsxs(n.p,{children:["By default, a Column renders a ",e.jsx(n.code,{children:"
"}),` element in HTML. Use the `,e.jsx(n.code,{children:"as"}),` prop to make your markup more semantic. In this example, the Column uses a `,e.jsx(n.code,{children:"
"})," element to group the heading and the cards."]}),` -`,e.jsx(i,{of:p})]})}function k(t={}){const{wrapper:n}={...r(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(s,{...t})}):s(t)}export{k as default}; +`,e.jsx(i,{of:p})]})}function B(t={}){const{wrapper:n}={...r(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(s,{...t})}):s(t)}export{B as default}; diff --git a/demo-DES-969-file-list-component/assets/Column.stories-DA2cHt2l.js b/demo-DES-969-file-list-component/assets/Column.stories-DTtxTX3I.js similarity index 95% rename from demo-DES-969-file-list-component/assets/Column.stories-DA2cHt2l.js rename to demo-DES-969-file-list-component/assets/Column.stories-DTtxTX3I.js index f1778c7655..ba023e7098 100644 --- a/demo-DES-969-file-list-component/assets/Column.stories-DA2cHt2l.js +++ b/demo-DES-969-file-list-component/assets/Column.stories-DTtxTX3I.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as i,d as s,P as d}from"./index.esm-Dojcg4AG.js";import{m as A,c as S}from"./types-B5YJ6HHW.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as T}from"./index-B-o1Wr-g.js";const o=T.forwardRef(({align:t,alignHorizontal:m,as:H="div",children:_,className:N,gap:c,...w},z)=>e.jsx(H,{...w,ref:z,className:L("ams-column",t&&`ams-column--align-${t}`,m&&`ams-column--align-horizontal-${m}`,c&&`ams-column--gap-${c}`,N),children:_}));o.displayName="Column";try{o.displayName="Column",o.__docgenInfo={description:"",displayName:"Column",props:{align:{defaultValue:{value:"start"},description:"The vertical alignment of the items in the column.",name:"align",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"between"'},{value:'"around"'},{value:'"evenly"'}]}},alignHorizontal:{defaultValue:{value:"stretch"},description:"The horizontal alignment of the items in the column.",name:"alignHorizontal",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},as:{defaultValue:{value:"div"},description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'}]}},gap:{defaultValue:{value:"medium"},description:"The amount of space between items.",name:"gap",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"small"'},{value:'"large"'},{value:'"extra-small"'},{value:'"extra-large"'}]}}}}}catch{}const P=[e.jsx("div",{className:"ams-docs-item"},0),e.jsx("div",{className:"ams-docs-item"},1),e.jsx("div",{className:"ams-docs-item"},2)],V={title:"Components/Layout/Column",component:o,args:{children:P,className:"ams-docs-column"},argTypes:{align:{control:{type:"radio",labels:{undefined:"start"}},options:[void 0,...A]},alignHorizontal:{control:{type:"radio",labels:{undefined:"stretch"}},options:[void 0,...S]},className:{table:{disable:!0}},gap:{control:{type:"radio",labels:{undefined:"medium"}},options:["none","extra-small","small",void 0,"large","extra-large"]}}},a={},n={args:{align:"center"}},r={args:{alignHorizontal:"center"}},l={args:{as:"section",children:[e.jsx(i,{level:3,children:"Zoekresultaten"}),e.jsxs(s,{children:[e.jsx(i,{level:4,children:e.jsx(s.Link,{href:"#",children:"Nieuwe manieren om afval op te halen"})}),e.jsx(d,{children:"Afvalboten, bakfietsen en ondergrondse containers. We experimenteren met nieuwe manieren om afval op te halen in het centrum."})]},1),e.jsxs(s,{children:[e.jsx(i,{level:4,children:e.jsx(s.Link,{href:"#",children:"Verlenging proef ophalen afval per boot"})}),e.jsx(d,{children:"Een proef met het anders ophalen van afval. We halen vuilniszakken hier op met kleine wagentjes, kleine vuilniswagens en een afvalboot."})]},2)],className:void 0}};var u,p,g;a.parameters={...a.parameters,docs:{...(u=a.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(g=(p=a.parameters)==null?void 0:p.docs)==null?void 0:g.source}}};var v,h,f;n.parameters={...n.parameters,docs:{...(v=n.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{H as i,d as s,P as d}from"./index.esm-CEzKrmam.js";import{m as A,c as S}from"./types-B5YJ6HHW.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as T}from"./index-RigO-4kf.js";const o=T.forwardRef(({align:t,alignHorizontal:m,as:H="div",children:_,className:N,gap:c,...w},z)=>e.jsx(H,{...w,ref:z,className:L("ams-column",t&&`ams-column--align-${t}`,m&&`ams-column--align-horizontal-${m}`,c&&`ams-column--gap-${c}`,N),children:_}));o.displayName="Column";try{o.displayName="Column",o.__docgenInfo={description:"",displayName:"Column",props:{align:{defaultValue:{value:"start"},description:"The vertical alignment of the items in the column.",name:"align",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"between"'},{value:'"around"'},{value:'"evenly"'}]}},alignHorizontal:{defaultValue:{value:"stretch"},description:"The horizontal alignment of the items in the column.",name:"alignHorizontal",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},as:{defaultValue:{value:"div"},description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'}]}},gap:{defaultValue:{value:"medium"},description:"The amount of space between items.",name:"gap",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"small"'},{value:'"large"'},{value:'"extra-small"'},{value:'"extra-large"'}]}}}}}catch{}const P=[e.jsx("div",{className:"ams-docs-item"},0),e.jsx("div",{className:"ams-docs-item"},1),e.jsx("div",{className:"ams-docs-item"},2)],V={title:"Components/Layout/Column",component:o,args:{children:P,className:"ams-docs-column"},argTypes:{align:{control:{type:"radio",labels:{undefined:"start"}},options:[void 0,...A]},alignHorizontal:{control:{type:"radio",labels:{undefined:"stretch"}},options:[void 0,...S]},className:{table:{disable:!0}},gap:{control:{type:"radio",labels:{undefined:"medium"}},options:["none","extra-small","small",void 0,"large","extra-large"]}}},a={},n={args:{align:"center"}},r={args:{alignHorizontal:"center"}},l={args:{as:"section",children:[e.jsx(i,{level:3,children:"Zoekresultaten"}),e.jsxs(s,{children:[e.jsx(i,{level:4,children:e.jsx(s.Link,{href:"#",children:"Nieuwe manieren om afval op te halen"})}),e.jsx(d,{children:"Afvalboten, bakfietsen en ondergrondse containers. We experimenteren met nieuwe manieren om afval op te halen in het centrum."})]},1),e.jsxs(s,{children:[e.jsx(i,{level:4,children:e.jsx(s.Link,{href:"#",children:"Verlenging proef ophalen afval per boot"})}),e.jsx(d,{children:"Een proef met het anders ophalen van afval. We halen vuilniszakken hier op met kleine wagentjes, kleine vuilniswagens en een afvalboot."})]},2)],className:void 0}};var u,p,g;a.parameters={...a.parameters,docs:{...(u=a.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(g=(p=a.parameters)==null?void 0:p.docs)==null?void 0:g.source}}};var v,h,f;n.parameters={...n.parameters,docs:{...(v=n.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { align: 'center' } diff --git a/demo-DES-969-file-list-component/assets/DateInput.docs-BHfgqTJT.js b/demo-DES-969-file-list-component/assets/DateInput.docs-DaBFzWaw.js similarity index 84% rename from demo-DES-969-file-list-component/assets/DateInput.docs-BHfgqTJT.js rename to demo-DES-969-file-list-component/assets/DateInput.docs-DaBFzWaw.js index c8f2c86e83..91534dbc45 100644 --- a/demo-DES-969-file-list-component/assets/DateInput.docs-BHfgqTJT.js +++ b/demo-DES-969-file-list-component/assets/DateInput.docs-DaBFzWaw.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as a,aq as r,ar as d,as as l,at as s}from"./index-CsbqyhR0.js";import{D as c,a as h,I as m,b as p,c as f,d as u}from"./DateInput.stories-DKwn7S9d.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const x=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as a,aq as r,ar as d,as as l,at as s}from"./index-DEYBsmB_.js";import{D as c,a as h,I as m,b as p,c as f,d as u}from"./DateInput.stories-iSZQMa5m.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const x=` # Date Input @@ -54,4 +54,4 @@ This helps the user understand the context.`}),` `,e.jsx(n.h3,{id:"in-a-field-with-validation",children:"In a Field with validation"}),` `,e.jsxs(n.p,{children:["If the Date Input can become invalid, add an Error Message and its ",e.jsx(n.code,{children:"id"})," to the ",e.jsx(n.code,{children:"aria-describedby"})," attribute of the Date Input."]}),` `,e.jsxs(n.p,{children:["Check ",e.jsx(n.a,{href:"/docs/components-forms-field--docs",children:"the Field docs"})," for more information on configuring it."]}),` -`,e.jsx(s,{of:u})]})}function U(i={}){const{wrapper:n}={...o(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{U as default}; +`,e.jsx(s,{of:u})]})}function R(i={}){const{wrapper:n}={...o(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{R as default}; diff --git a/demo-DES-969-file-list-component/assets/DateInput.stories-DKwn7S9d.js b/demo-DES-969-file-list-component/assets/DateInput.stories-iSZQMa5m.js similarity index 95% rename from demo-DES-969-file-list-component/assets/DateInput.stories-DKwn7S9d.js rename to demo-DES-969-file-list-component/assets/DateInput.stories-iSZQMa5m.js index 5218b45eea..ba23c184be 100644 --- a/demo-DES-969-file-list-component/assets/DateInput.stories-DKwn7S9d.js +++ b/demo-DES-969-file-list-component/assets/DateInput.stories-iSZQMa5m.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{e as L,f as S,P,E as O}from"./index.esm-Dojcg4AG.js";import{c as N}from"./clsx-B-dksMZM.js";import{r as V}from"./index-B-o1Wr-g.js";const a=V.forwardRef(({className:e,invalid:M,type:z="date",...A},T)=>r.jsx("input",{...A,"aria-invalid":M||void 0,className:N("ams-date-input",e),ref:T,type:z}));a.displayName="DateInput";try{a.displayName="DateInput",a.__docgenInfo={description:"",displayName:"DateInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},type:{defaultValue:{value:"date"},description:"The kind of data that the user should provide.",name:"type",required:!1,type:{name:"enum",value:[{value:'"date"'},{value:'"datetime-local"'}]}}}}}catch{}const $={title:"Components/Forms/Date Input",component:a,args:{disabled:!1,invalid:!1},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},i={},s={args:{type:"datetime-local"}},t={args:{invalid:!0}},d={args:{disabled:!0}},n={render:e=>r.jsxs(L,{invalid:e.invalid,children:[r.jsx(S,{htmlFor:"input1",children:"Label"}),r.jsx(P,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(O,{id:"error1",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},o={args:{invalid:!0},render:e=>r.jsxs(L,{invalid:e.invalid,children:[r.jsx(S,{htmlFor:"input2",children:"Label"}),r.jsx(P,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(O,{id:"error2",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var l,c,p;i.parameters={...i.parameters,docs:{...(l=i.parameters)==null?void 0:l.docs,source:{originalSource:"{}",...(p=(c=i.parameters)==null?void 0:c.docs)==null?void 0:p.source}}};var m,u,g;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-BjgbQsUx.js";import{e as L,f as S,P,E as O}from"./index.esm-CEzKrmam.js";import{c as N}from"./clsx-B-dksMZM.js";import{r as V}from"./index-RigO-4kf.js";const a=V.forwardRef(({className:e,invalid:M,type:z="date",...A},T)=>r.jsx("input",{...A,"aria-invalid":M||void 0,className:N("ams-date-input",e),ref:T,type:z}));a.displayName="DateInput";try{a.displayName="DateInput",a.__docgenInfo={description:"",displayName:"DateInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},type:{defaultValue:{value:"date"},description:"The kind of data that the user should provide.",name:"type",required:!1,type:{name:"enum",value:[{value:'"date"'},{value:'"datetime-local"'}]}}}}}catch{}const $={title:"Components/Forms/Date Input",component:a,args:{disabled:!1,invalid:!1},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},i={},s={args:{type:"datetime-local"}},t={args:{invalid:!0}},d={args:{disabled:!0}},n={render:e=>r.jsxs(L,{invalid:e.invalid,children:[r.jsx(S,{htmlFor:"input1",children:"Label"}),r.jsx(P,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(O,{id:"error1",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},o={args:{invalid:!0},render:e=>r.jsxs(L,{invalid:e.invalid,children:[r.jsx(S,{htmlFor:"input2",children:"Label"}),r.jsx(P,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(O,{id:"error2",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var l,c,p;i.parameters={...i.parameters,docs:{...(l=i.parameters)==null?void 0:l.docs,source:{originalSource:"{}",...(p=(c=i.parameters)==null?void 0:c.docs)==null?void 0:p.source}}};var m,u,g;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ args: { type: 'datetime-local' } diff --git a/demo-DES-969-file-list-component/assets/DescriptionList.docs-DXMja3vm.js b/demo-DES-969-file-list-component/assets/DescriptionList.docs-C6sSnndQ.js similarity index 56% rename from demo-DES-969-file-list-component/assets/DescriptionList.docs-DXMja3vm.js rename to demo-DES-969-file-list-component/assets/DescriptionList.docs-C6sSnndQ.js index 25033ff574..8886bda966 100644 --- a/demo-DES-969-file-list-component/assets/DescriptionList.docs-DXMja3vm.js +++ b/demo-DES-969-file-list-component/assets/DescriptionList.docs-C6sSnndQ.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r,aq as a,ar as c,as as l,at as i}from"./index-CsbqyhR0.js";import{D as p,M as d,R as h,I as m}from"./DescriptionList.stories-B3nT4I_S.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const u=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as r}from"./index-3rgQkYFR.js";import{ae as o,aq as l,ar as c,as as p,at as i}from"./index-DEYBsmB_.js";import{D as a,M as d,a as m,R as h,I as u}from"./DescriptionList.stories-BuS7w6Vw.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const x=` # Description List @@ -17,20 +17,23 @@ The term is set in bold text. - [MDN: \`
\`: The Description List element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl) - [WCAG: Using description lists](https://www.w3.org/WAI/WCAG22/Techniques/html/H40) -`;/*@license CC0-1.0*/function s(t){const n={code:"code",h2:"h2",h3:"h3",p:"p",...o(),...t.components};return e.jsxs(e.Fragment,{children:[` +`;/*@license CC0-1.0*/function s(t){const n={code:"code",h2:"h2",h3:"h3",p:"p",...r(),...t.components};return e.jsxs(e.Fragment,{children:[` `,` -`,e.jsx(r,{of:p}),` -`,e.jsx(a,{children:u}),` +`,e.jsx(o,{of:a}),` +`,e.jsx(l,{children:x}),` `,e.jsx(c,{}),` -`,e.jsx(l,{}),` +`,e.jsx(p,{}),` `,e.jsx(n.h2,{id:"examples",children:"Examples"}),` `,e.jsx(n.h3,{id:"multiple-descriptions",children:"Multiple descriptions"}),` `,e.jsx(n.p,{children:"A term may have multiple descriptions."}),` `,e.jsx(i,{of:d}),` +`,e.jsx(n.h3,{id:"multiple-terms",children:"Multiple terms"}),` +`,e.jsxs(n.p,{children:["If multiple terms share a single description, group them in a ",e.jsx(n.code,{children:"DescriptionList.Section"})," component to ensure proper grid layout."]}),` +`,e.jsx(i,{of:m}),` `,e.jsx(n.h3,{id:"rich-description",children:"Rich description"}),` `,e.jsx(n.p,{children:"A description can include rich content such as inline formatting, links, paragraphs, and even lists."}),` `,e.jsx(i,{of:h}),` `,e.jsx(n.h3,{id:"inverse-colour",children:"Inverse colour"}),` `,e.jsxs(n.p,{children:["Set the ",e.jsx(n.code,{children:"inverseColor"}),` prop if the Description List sits on a dark background. This ensures the colour of the text provides enough contrast.`]}),` -`,e.jsx(i,{of:m})]})}function T(t={}){const{wrapper:n}={...o(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(s,{...t})}):s(t)}export{T as default}; +`,e.jsx(i,{of:u})]})}function k(t={}){const{wrapper:n}={...r(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(s,{...t})}):s(t)}export{k as default}; diff --git a/demo-DES-969-file-list-component/assets/DescriptionList.stories-B3nT4I_S.js b/demo-DES-969-file-list-component/assets/DescriptionList.stories-B3nT4I_S.js deleted file mode 100644 index 015f1ee002..0000000000 --- a/demo-DES-969-file-list-component/assets/DescriptionList.stories-B3nT4I_S.js +++ /dev/null @@ -1,31 +0,0 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as I,U as l,L as N}from"./index.esm-Dojcg4AG.js";import{c as p}from"./clsx-B-dksMZM.js";import{r as m}from"./index-B-o1Wr-g.js";const w=m.forwardRef(({children:r,className:t,...n},s)=>e.jsx("dd",{...n,ref:s,className:p("ams-description-list__description",t),children:r}));w.displayName="DescriptionList.Description";try{DescriptionList.Description.displayName="DescriptionList.Description",DescriptionList.Description.__docgenInfo={description:"",displayName:"DescriptionList.Description",props:{}}}catch{}const y=m.forwardRef(({children:r,className:t,...n},s)=>e.jsx("dt",{...n,ref:s,className:p("ams-description-list__term",t),children:r}));y.displayName="DescriptionList.Term";try{DescriptionList.Term.displayName="DescriptionList.Term",DescriptionList.Term.__docgenInfo={description:"",displayName:"DescriptionList.Term",props:{}}}catch{}const T=m.forwardRef(({children:r,className:t,inverseColor:n,termsWidth:s,...C},z)=>e.jsx("dl",{...C,ref:z,className:p("ams-description-list",s&&`ams-description-list--terms-width-${s}`,n&&"ams-description-list--inverse-color",t),children:r}));T.displayName="DescriptionList";const i=Object.assign(T,{Term:y,Description:w});try{i.displayName="DescriptionList",i.__docgenInfo={description:"",displayName:"DescriptionList",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},termsWidth:{defaultValue:null,description:"",name:"termsWidth",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'}]}}}}}catch{}const P={title:"Components/Text/Description List",component:i,args:{children:[e.jsx(i.Term,{children:"Het hoger onderwijs"},1),e.jsx(i.Description,{children:"Het hbo en wo"},2),e.jsx(i.Term,{children:"Het mbo en hoger onderwijs"},3),e.jsx(i.Description,{children:"Het vervolgonderwijs"},4),e.jsx(i.Term,{children:"Laagopgeleid"},5),e.jsx(i.Description,{children:"Praktisch opgeleid"},6),e.jsx(i.Term,{children:"Hoogopgeleid"},7),e.jsx(i.Description,{children:"Theoretisch opgeleid"},8),e.jsx(i.Term,{children:"Opleidingsniveau"},9),e.jsx(i.Description,{children:"Onderwijsrichting"},10)],inverseColor:!1},argTypes:{termsWidth:{control:{type:"radio",labels:{undefined:"auto",sm:"small",md:"medium",lg:"large"}},options:[void 0,"sm","md","lg"]}}},o={},a={args:{children:[e.jsx(i.Term,{children:"Blinde, slechtziende"},1),e.jsx(i.Description,{children:"Persoon met een visuele beperking"},2),e.jsx(i.Description,{children:"Persoon met een visuele handicap"},3),e.jsx(i.Description,{children:"Persoon die blind is"},4),e.jsx(i.Description,{children:"Persoon die slechtziend is"},5)]}},c={render:r=>e.jsxs(i,{...r,children:[e.jsx(i.Term,{children:"Amsterdam Light Festival"},1),e.jsxs(i.Description,{children:[e.jsxs(I,{className:"ams-mb--sm",inverseColor:r.inverseColor,children:["Een jaarlijks evenement waarbij kunstenaars van over de hele wereld hun"," ",e.jsx("strong",{children:"creatieve lichtinstallaties"})," tonen. De kunstwerken zijn verspreid over de stad en zijn zowel vanaf het water als vanaf de kant te bewonderen."]}),e.jsxs(l,{inverseColor:r.inverseColor,children:[e.jsx(l.Item,{children:"Kleed je warm aan, want de meeste exposities zijn buiten."}),e.jsx(l.Item,{children:"Er zijn begeleide boottochten en wandelroutes beschikbaar."}),e.jsxs(l.Item,{children:["Voor de volledige lijst met exposities kun je"," ",e.jsx(N,{href:"#",inverseColor:r.inverseColor,children:"de festivalbrochure downloaden"}),"."]})]})]},2)]})},d={args:{inverseColor:!0}};var h,D,u;o.parameters={...o.parameters,docs:{...(h=o.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(u=(D=o.parameters)==null?void 0:D.docs)==null?void 0:u.source}}};var j,v,g;a.parameters={...a.parameters,docs:{...(j=a.parameters)==null?void 0:j.docs,source:{originalSource:`{ - args: { - children: [Blinde, slechtziende, Persoon met een visuele beperking, Persoon met een visuele handicap, Persoon die blind is, Persoon die slechtziend is] - } -}`,...(g=(v=a.parameters)==null?void 0:v.docs)==null?void 0:g.source}}};var L,x,_;c.parameters={...c.parameters,docs:{...(L=c.parameters)==null?void 0:L.docs,source:{originalSource:`{ - render: args => - Amsterdam Light Festival - - - Een jaarlijks evenement waarbij kunstenaars van over de hele wereld hun{' '} - creatieve lichtinstallaties tonen. De kunstwerken zijn verspreid over de stad en zijn zowel - vanaf het water als vanaf de kant te bewonderen. - - - Kleed je warm aan, want de meeste exposities zijn buiten. - Er zijn begeleide boottochten en wandelroutes beschikbaar. - - Voor de volledige lijst met exposities kun je{' '} - - de festivalbrochure downloaden - - . - - - - -}`,...(_=(x=c.parameters)==null?void 0:x.docs)==null?void 0:_.source}}};var f,b,k;d.parameters={...d.parameters,docs:{...(f=d.parameters)==null?void 0:f.docs,source:{originalSource:`{ - args: { - inverseColor: true - } -}`,...(k=(b=d.parameters)==null?void 0:b.docs)==null?void 0:k.source}}};const U=["Default","MultipleDescriptions","RichDescription","InverseColour"],H=Object.freeze(Object.defineProperty({__proto__:null,Default:o,InverseColour:d,MultipleDescriptions:a,RichDescription:c,__namedExportsOrder:U,default:P},Symbol.toStringTag,{value:"Module"}));export{H as D,d as I,a as M,c as R}; diff --git a/demo-DES-969-file-list-component/assets/DescriptionList.stories-BuS7w6Vw.js b/demo-DES-969-file-list-component/assets/DescriptionList.stories-BuS7w6Vw.js new file mode 100644 index 0000000000..e1fd7e76f2 --- /dev/null +++ b/demo-DES-969-file-list-component/assets/DescriptionList.stories-BuS7w6Vw.js @@ -0,0 +1,43 @@ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{P as U,U as l,L as E}from"./index.esm-CEzKrmam.js";import{c as m}from"./clsx-B-dksMZM.js";import{r as D}from"./index-RigO-4kf.js";const N=D.forwardRef(({children:r,className:n,...t},s)=>e.jsx("dd",{...t,ref:s,className:m("ams-description-list__description",n),children:r}));N.displayName="DescriptionList.Description";try{DescriptionList.Description.displayName="DescriptionList.Description",DescriptionList.Description.__docgenInfo={description:"",displayName:"DescriptionList.Description",props:{}}}catch{}const S=D.forwardRef(({children:r,className:n,...t},s)=>e.jsx("div",{...t,ref:s,className:m("ams-description-list__section",n),children:r}));S.displayName="DescriptionList.Section";try{DescriptionList.Section.displayName="DescriptionList.Section",DescriptionList.Section.__docgenInfo={description:"",displayName:"DescriptionList.Section",props:{}}}catch{}const z=D.forwardRef(({children:r,className:n,...t},s)=>e.jsx("dt",{...t,ref:s,className:m("ams-description-list__term",n),children:r}));z.displayName="DescriptionList.Term";try{DescriptionList.Term.displayName="DescriptionList.Term",DescriptionList.Term.__docgenInfo={description:"",displayName:"DescriptionList.Term",props:{}}}catch{}const I=D.forwardRef(({children:r,className:n,inverseColor:t,termsWidth:s,...P},R)=>e.jsx("dl",{...P,ref:R,className:m("ams-description-list",s&&`ams-description-list--terms-width-${s}`,t&&"ams-description-list--inverse-color",n),children:r}));I.displayName="DescriptionList";const i=Object.assign(I,{Description:N,Section:S,Term:z});try{i.displayName="DescriptionList",i.__docgenInfo={description:"",displayName:"DescriptionList",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},termsWidth:{defaultValue:null,description:"",name:"termsWidth",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'}]}}}}}catch{}const M={title:"Components/Text/Description List",component:i,args:{children:[e.jsx(i.Term,{children:"Het hoger onderwijs"},1),e.jsx(i.Description,{children:"Het hbo en wo"},2),e.jsx(i.Term,{children:"Het mbo en hoger onderwijs"},3),e.jsx(i.Description,{children:"Het vervolgonderwijs"},4),e.jsx(i.Term,{children:"Laagopgeleid"},5),e.jsx(i.Description,{children:"Praktisch opgeleid"},6),e.jsx(i.Term,{children:"Hoogopgeleid"},7),e.jsx(i.Description,{children:"Theoretisch opgeleid"},8),e.jsx(i.Term,{children:"Opleidingsniveau"},9),e.jsx(i.Description,{children:"Onderwijsrichting"},10)],inverseColor:!1},argTypes:{termsWidth:{control:{type:"radio",labels:{undefined:"auto",sm:"small",md:"medium",lg:"large"}},options:[void 0,"sm","md","lg"]}}},o={},a={args:{children:[e.jsx(i.Term,{children:"Blinde, slechtziende"},1),e.jsx(i.Description,{children:"Persoon met een visuele beperking"},2),e.jsx(i.Description,{children:"Persoon met een visuele handicap"},3),e.jsx(i.Description,{children:"Persoon die blind is"},4),e.jsx(i.Description,{children:"Persoon die slechtziend is"},5)]}},c={args:{termsWidth:"md",children:[e.jsx(i.Term,{children:"Achternaam"},1),e.jsx(i.Description,{children:"De naam die een persoon van zijn of haar ouders krijgt"},2),e.jsxs(i.Section,{children:[e.jsx(i.Term,{children:"Voornaam"}),e.jsx(i.Term,{children:"Roepnaam"}),e.jsx(i.Term,{children:"Bijnaam"}),e.jsx(i.Description,{children:"De naam waarmee een persoon wordt aangesproken"})]},3),e.jsx(i.Term,{children:"Geboortedatum"},4),e.jsx(i.Description,{children:"De datum waarop een persoon is geboren"},5)]}},d={render:r=>e.jsxs(i,{...r,children:[e.jsx(i.Term,{children:"Amsterdam Light Festival"},1),e.jsxs(i.Description,{children:[e.jsxs(U,{className:"ams-mb--sm",inverseColor:r.inverseColor,children:["Een jaarlijks evenement waarbij kunstenaars van over de hele wereld hun"," ",e.jsx("strong",{children:"creatieve lichtinstallaties"})," tonen. De kunstwerken zijn verspreid over de stad en zijn zowel vanaf het water als vanaf de kant te bewonderen."]}),e.jsxs(l,{inverseColor:r.inverseColor,children:[e.jsx(l.Item,{children:"Kleed je warm aan, want de meeste exposities zijn buiten."}),e.jsx(l.Item,{children:"Er zijn begeleide boottochten en wandelroutes beschikbaar."}),e.jsxs(l.Item,{children:["Voor de volledige lijst met exposities kun je"," ",e.jsx(E,{href:"#",inverseColor:r.inverseColor,children:"de festivalbrochure downloaden"}),"."]})]})]},2)]})},p={args:{inverseColor:!0}};var h,L,j;o.parameters={...o.parameters,docs:{...(h=o.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(j=(L=o.parameters)==null?void 0:L.docs)==null?void 0:j.source}}};var u,g,v;a.parameters={...a.parameters,docs:{...(u=a.parameters)==null?void 0:u.docs,source:{originalSource:`{ + args: { + children: [Blinde, slechtziende, Persoon met een visuele beperking, Persoon met een visuele handicap, Persoon die blind is, Persoon die slechtziend is] + } +}`,...(v=(g=a.parameters)==null?void 0:g.docs)==null?void 0:v.source}}};var x,_,y;c.parameters={...c.parameters,docs:{...(x=c.parameters)==null?void 0:x.docs,source:{originalSource:`{ + args: { + termsWidth: 'md', + children: [Achternaam, + De naam die een persoon van zijn of haar ouders krijgt + , + Voornaam + Roepnaam + Bijnaam + De naam waarmee een persoon wordt aangesproken + , Geboortedatum, De datum waarop een persoon is geboren] + } +}`,...(y=(_=c.parameters)==null?void 0:_.docs)==null?void 0:y.source}}};var T,f,k;d.parameters={...d.parameters,docs:{...(T=d.parameters)==null?void 0:T.docs,source:{originalSource:`{ + render: args => + Amsterdam Light Festival + + + Een jaarlijks evenement waarbij kunstenaars van over de hele wereld hun{' '} + creatieve lichtinstallaties tonen. De kunstwerken zijn verspreid over de stad en zijn zowel + vanaf het water als vanaf de kant te bewonderen. + + + Kleed je warm aan, want de meeste exposities zijn buiten. + Er zijn begeleide boottochten en wandelroutes beschikbaar. + + Voor de volledige lijst met exposities kun je{' '} + + de festivalbrochure downloaden + + . + + + + +}`,...(k=(f=d.parameters)==null?void 0:f.docs)==null?void 0:k.source}}};var b,w,C;p.parameters={...p.parameters,docs:{...(b=p.parameters)==null?void 0:b.docs,source:{originalSource:`{ + args: { + inverseColor: true + } +}`,...(C=(w=p.parameters)==null?void 0:w.docs)==null?void 0:C.source}}};const O=["Default","MultipleDescriptions","MultipleTerms","RichDescription","InverseColour"],W=Object.freeze(Object.defineProperty({__proto__:null,Default:o,InverseColour:p,MultipleDescriptions:a,MultipleTerms:c,RichDescription:d,__namedExportsOrder:O,default:M},Symbol.toStringTag,{value:"Module"}));export{W as D,p as I,a as M,d as R,c as a}; diff --git a/demo-DES-969-file-list-component/assets/Dialog.docs-76JJ24F-.js b/demo-DES-969-file-list-component/assets/Dialog.docs-CWIH3pg4.js similarity index 82% rename from demo-DES-969-file-list-component/assets/Dialog.docs-76JJ24F-.js rename to demo-DES-969-file-list-component/assets/Dialog.docs-CWIH3pg4.js index 3973e78f07..ffa521e3f0 100644 --- a/demo-DES-969-file-list-component/assets/Dialog.docs-76JJ24F-.js +++ b/demo-DES-969-file-list-component/assets/Dialog.docs-CWIH3pg4.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as l,aq as r,ar as a,as as c,at as t}from"./index-CsbqyhR0.js";import{D as h,O as d,A as m,W as p}from"./Dialog.stories-BNuym3EV.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-C-A1ufmT.js";import"./Icon-D1obyjGa.js";const u=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as l,aq as r,ar as a,as as c,at as t}from"./index-DEYBsmB_.js";import{D as h,O as d,A as m,W as p}from"./Dialog.stories-D1lTgzpr.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./Heading-Vg3KKL7T.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-Dm4nec53.js";import"./Icon-B4wlDyQ3.js";const u=` # Dialog @@ -55,4 +55,4 @@ For more information, see `,e.jsx(o.a,{href:"https://developer.mozilla.org/en-US `,e.jsx(t,{of:m}),` `,e.jsx(o.h3,{id:"tall-content-will-scroll",children:"Tall content will scroll"}),` `,e.jsx(o.p,{children:"Content that doesn’t fit entirely in the Dialog will scroll."}),` -`,e.jsx(t,{of:p})]})}function R(n={}){const{wrapper:o}={...s(),...n.components};return o?e.jsx(o,{...n,children:e.jsx(i,{...n})}):i(n)}export{R as default}; +`,e.jsx(t,{of:p})]})}function S(n={}){const{wrapper:o}={...s(),...n.components};return o?e.jsx(o,{...n,children:e.jsx(i,{...n})}):i(n)}export{S as default}; diff --git a/demo-DES-969-file-list-component/assets/Dialog.stories-BNuym3EV.js b/demo-DES-969-file-list-component/assets/Dialog.stories-D1lTgzpr.js similarity index 96% rename from demo-DES-969-file-list-component/assets/Dialog.stories-BNuym3EV.js rename to demo-DES-969-file-list-component/assets/Dialog.stories-D1lTgzpr.js index 1b0b1af5aa..c81bc0149a 100644 --- a/demo-DES-969-file-list-component/assets/Dialog.stories-BNuym3EV.js +++ b/demo-DES-969-file-list-component/assets/Dialog.stories-D1lTgzpr.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as r,A as g,a as l,C as G,H as m}from"./index.esm-Dojcg4AG.js";import{c as H}from"./clsx-B-dksMZM.js";import{r as O}from"./index-B-o1Wr-g.js";import{H as V}from"./Heading-BMR-3CH3.js";import{I as T}from"./IconButton-C-A1ufmT.js";const A=a=>{var n;return(n=a.currentTarget.closest("dialog"))==null?void 0:n.close()},W=a=>{var n;return(n=document.querySelector(a))==null?void 0:n.showModal()},z=O.forwardRef(({children:a,className:n,closeButtonLabel:_="Sluiten",footer:c,heading:N,...P},B)=>e.jsxs("dialog",{...P,ref:B,className:H("ams-dialog",n),children:[e.jsxs("header",{className:"ams-dialog__header",children:[e.jsx(V,{size:"level-4",children:N}),e.jsx(T,{label:_,onClick:A,size:"level-4",type:"button"})]}),e.jsx("div",{className:"ams-dialog__body",children:a}),c&&e.jsx("footer",{className:"ams-dialog__footer",children:c})]}));z.displayName="Dialog";const o=Object.assign(z,{close:A,open:W});try{o.displayName="Dialog",o.__docgenInfo={description:"",displayName:"Dialog",props:{closeButtonLabel:{defaultValue:{value:"Sluiten"},description:"The label for the button that dismisses the Dialog.",name:"closeButtonLabel",required:!1,type:{name:"string"}},footer:{defaultValue:null,description:"Content for the footer, often one Button or an Action Group containing more of them.",name:"footer",required:!1,type:{name:"ReactNode"}},heading:{defaultValue:null,description:"The text for the Heading.",name:"heading",required:!0,type:{name:"string"}}}}}catch{}const S=a=>e.jsx("form",{id:a,method:"dialog",children:e.jsx(r,{children:"Weet u zeker dat u door wilt gaan met het uitvoeren van deze actie? Gegevens die nog niet opgeslagen zijn gaan dan verloren."})}),C=a=>e.jsxs(g,{children:[e.jsx(l,{form:a,type:"submit",value:"submit",children:"Doorgaan"}),e.jsx(l,{onClick:o.close,variant:"tertiary",children:"Stoppen"})]}),E={title:"Components/Containers/Dialog",component:o,args:{children:S("ams-dialog-form"),footer:C("ams-dialog-form"),heading:"Niet alle gegevens zijn opgeslagen"},argTypes:{footer:{table:{disable:!0}},heading:{description:"The text for the heading."},open:{description:"Whether the dialog box is active and available for interaction."}}},t={args:{children:e.jsx(r,{children:"De gegevens zijn opgeslagen."}),footer:e.jsx(g,{children:e.jsx(l,{onClick:o.close,variant:"primary",children:"Sluiten"})}),heading:"Gelukt",open:!0},decorators:[a=>e.jsx("div",{className:"ams-docs-backdrop",children:e.jsx(a,{})})],parameters:{docs:{story:{height:"28rem"}},layout:"fullscreen"}},s={args:{id:"ams-dialog"},decorators:[a=>e.jsxs("div",{children:[e.jsx(l,{onClick:()=>o.open("#ams-dialog"),children:"Open Dialog"}),e.jsx(a,{})]})]},i={args:{children:S("ams-dialog-asking-to-confirm-form"),footer:C("ams-dialog-asking-to-confirm-form"),open:!0},decorators:[a=>e.jsx("div",{className:"ams-docs-backdrop",children:e.jsx(a,{})})],parameters:{docs:{story:{height:"32rem"}},layout:"fullscreen"}},d={args:{children:e.jsxs(G,{gap:"small",children:[e.jsx(m,{level:2,size:"level-5",children:"Algemeen"}),e.jsx(r,{children:"De gemeente Amsterdam verwerkt bij de uitvoering van haar taken en verplichtingen persoonsgegevens. De manier waarop de gemeente Amsterdam om gaat met persoonsgegevens is vastgelegd in het stedelijk kader verwerken persoonsgegevens."}),e.jsx(r,{children:"Deze verklaring geeft aanvullende informatie over de omgang met persoonsgegevens door de gemeente Amsterdam en over uw mogelijkheden tot het uitoefenen van uw rechten met betrekking tot persoonsgegevens."}),e.jsx(r,{children:"Meer specifieke informatie over privacy en de verwerking van persoonsgegevens door de gemeente Amsterdam kunt u op de hoofdpagina vinden."}),e.jsx(r,{children:"Vanwege nieuwe wetgeving of andere ontwikkelingen, past de gemeente regelmatig haar processen aan. Dit kunnen ook wijzigingen zijn in de wijze van het verwerken van persoonsgegevens. Wij raden u daarom aan om regelmatig deze pagina te bekijken. Deze pagina wordt doorlopend geactualiseerd."}),e.jsx(m,{level:2,size:"level-5",children:"Geldende wet- en regelgeving en reikwijdte"}),e.jsx(r,{children:"Vanaf 25 mei 2018 is de Algemene verordening gegevensbescherming (Avg) van toepassing op alle verwerkingen van persoonsgegevens. Deze Europese wetgeving heeft directe werking in Nederland. Voor die zaken die nationaal geregeld moeten worden, is de Uitvoeringswet Avg in Nederland aanvullend van toepassing. Deze wetteksten kunt u vinden op de website van Autoriteit Persoonsgegevens."})]}),footer:e.jsx(g,{children:e.jsx(l,{onClick:o.close,children:"Sluiten"})}),heading:"Privacyverklaring gemeente Amsterdam",open:!0},decorators:[a=>e.jsx("div",{className:"ams-docs-backdrop",children:e.jsx(a,{})})],parameters:{docs:{story:{height:"100vh"}},layout:"fullscreen"}};var p,v,u;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{P as r,A as g,a as l,C as G,H as m}from"./index.esm-CEzKrmam.js";import{c as H}from"./clsx-B-dksMZM.js";import{r as O}from"./index-RigO-4kf.js";import{H as V}from"./Heading-Vg3KKL7T.js";import{I as T}from"./IconButton-Dm4nec53.js";const A=a=>{var n;return(n=a.currentTarget.closest("dialog"))==null?void 0:n.close()},W=a=>{var n;return(n=document.querySelector(a))==null?void 0:n.showModal()},z=O.forwardRef(({children:a,className:n,closeButtonLabel:_="Sluiten",footer:c,heading:N,...P},B)=>e.jsxs("dialog",{...P,ref:B,className:H("ams-dialog",n),children:[e.jsxs("header",{className:"ams-dialog__header",children:[e.jsx(V,{size:"level-4",children:N}),e.jsx(T,{label:_,onClick:A,size:"level-4",type:"button"})]}),e.jsx("div",{className:"ams-dialog__body",children:a}),c&&e.jsx("footer",{className:"ams-dialog__footer",children:c})]}));z.displayName="Dialog";const o=Object.assign(z,{close:A,open:W});try{o.displayName="Dialog",o.__docgenInfo={description:"",displayName:"Dialog",props:{closeButtonLabel:{defaultValue:{value:"Sluiten"},description:"The label for the button that dismisses the Dialog.",name:"closeButtonLabel",required:!1,type:{name:"string"}},footer:{defaultValue:null,description:"Content for the footer, often one Button or an Action Group containing more of them.",name:"footer",required:!1,type:{name:"ReactNode"}},heading:{defaultValue:null,description:"The text for the Heading.",name:"heading",required:!0,type:{name:"string"}}}}}catch{}const S=a=>e.jsx("form",{id:a,method:"dialog",children:e.jsx(r,{children:"Weet u zeker dat u door wilt gaan met het uitvoeren van deze actie? Gegevens die nog niet opgeslagen zijn gaan dan verloren."})}),C=a=>e.jsxs(g,{children:[e.jsx(l,{form:a,type:"submit",value:"submit",children:"Doorgaan"}),e.jsx(l,{onClick:o.close,variant:"tertiary",children:"Stoppen"})]}),E={title:"Components/Containers/Dialog",component:o,args:{children:S("ams-dialog-form"),footer:C("ams-dialog-form"),heading:"Niet alle gegevens zijn opgeslagen"},argTypes:{footer:{table:{disable:!0}},heading:{description:"The text for the heading."},open:{description:"Whether the dialog box is active and available for interaction."}}},t={args:{children:e.jsx(r,{children:"De gegevens zijn opgeslagen."}),footer:e.jsx(g,{children:e.jsx(l,{onClick:o.close,variant:"primary",children:"Sluiten"})}),heading:"Gelukt",open:!0},decorators:[a=>e.jsx("div",{className:"ams-docs-backdrop",children:e.jsx(a,{})})],parameters:{docs:{story:{height:"28rem"}},layout:"fullscreen"}},s={args:{id:"ams-dialog"},decorators:[a=>e.jsxs("div",{children:[e.jsx(l,{onClick:()=>o.open("#ams-dialog"),children:"Open Dialog"}),e.jsx(a,{})]})]},i={args:{children:S("ams-dialog-asking-to-confirm-form"),footer:C("ams-dialog-asking-to-confirm-form"),open:!0},decorators:[a=>e.jsx("div",{className:"ams-docs-backdrop",children:e.jsx(a,{})})],parameters:{docs:{story:{height:"32rem"}},layout:"fullscreen"}},d={args:{children:e.jsxs(G,{gap:"small",children:[e.jsx(m,{level:2,size:"level-5",children:"Algemeen"}),e.jsx(r,{children:"De gemeente Amsterdam verwerkt bij de uitvoering van haar taken en verplichtingen persoonsgegevens. De manier waarop de gemeente Amsterdam om gaat met persoonsgegevens is vastgelegd in het stedelijk kader verwerken persoonsgegevens."}),e.jsx(r,{children:"Deze verklaring geeft aanvullende informatie over de omgang met persoonsgegevens door de gemeente Amsterdam en over uw mogelijkheden tot het uitoefenen van uw rechten met betrekking tot persoonsgegevens."}),e.jsx(r,{children:"Meer specifieke informatie over privacy en de verwerking van persoonsgegevens door de gemeente Amsterdam kunt u op de hoofdpagina vinden."}),e.jsx(r,{children:"Vanwege nieuwe wetgeving of andere ontwikkelingen, past de gemeente regelmatig haar processen aan. Dit kunnen ook wijzigingen zijn in de wijze van het verwerken van persoonsgegevens. Wij raden u daarom aan om regelmatig deze pagina te bekijken. Deze pagina wordt doorlopend geactualiseerd."}),e.jsx(m,{level:2,size:"level-5",children:"Geldende wet- en regelgeving en reikwijdte"}),e.jsx(r,{children:"Vanaf 25 mei 2018 is de Algemene verordening gegevensbescherming (Avg) van toepassing op alle verwerkingen van persoonsgegevens. Deze Europese wetgeving heeft directe werking in Nederland. Voor die zaken die nationaal geregeld moeten worden, is de Uitvoeringswet Avg in Nederland aanvullend van toepassing. Deze wetteksten kunt u vinden op de website van Autoriteit Persoonsgegevens."})]}),footer:e.jsx(g,{children:e.jsx(l,{onClick:o.close,children:"Sluiten"})}),heading:"Privacyverklaring gemeente Amsterdam",open:!0},decorators:[a=>e.jsx("div",{className:"ams-docs-backdrop",children:e.jsx(a,{})})],parameters:{docs:{story:{height:"100vh"}},layout:"fullscreen"}};var p,v,u;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { children: De gegevens zijn opgeslagen., footer: diff --git a/demo-DES-969-file-list-component/assets/DocsRenderer-CFRXHY34-4u4zVybA.js b/demo-DES-969-file-list-component/assets/DocsRenderer-CFRXHY34-4u4zVybA.js deleted file mode 100644 index ec8d0a4c11..0000000000 --- a/demo-DES-969-file-list-component/assets/DocsRenderer-CFRXHY34-4u4zVybA.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BSj771as.js","./index-B-o1Wr-g.js","./_commonjsHelpers-Cpj98o6Y.js"])))=>i.map(i=>d[i]); -import{_ as p}from"./iframe-BqRGPnP1.js";import{R as e,r as c}from"./index-B-o1Wr-g.js";import{ag as l,ah as u,ai as h,aj as E}from"./index-CsbqyhR0.js";import{renderElement as d,unmountElement as x}from"./react-18-Dbhu8A1k.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./jsx-runtime-j_jdvEMj.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";var _={code:l,a:u,...h},D=class extends c.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},S=class{constructor(){this.render=async(t,r,n)=>{let s={..._,...r==null?void 0:r.components},a=E;return new Promise((i,m)=>{p(async()=>{const{MDXProvider:o}=await import("./index-BSj771as.js");return{MDXProvider:o}},__vite__mapDeps([0,1,2]),import.meta.url).then(({MDXProvider:o})=>d(e.createElement(D,{showException:m,key:Math.random()},e.createElement(o,{components:s},e.createElement(a,{context:t,docsParameter:r}))),n)).then(()=>i())})},this.unmount=t=>{x(t)}}};export{S as DocsRenderer,_ as defaultComponents}; diff --git a/demo-DES-969-file-list-component/assets/DocsRenderer-CFRXHY34-gqlwKYQR.js b/demo-DES-969-file-list-component/assets/DocsRenderer-CFRXHY34-gqlwKYQR.js new file mode 100644 index 0000000000..f52f2f6136 --- /dev/null +++ b/demo-DES-969-file-list-component/assets/DocsRenderer-CFRXHY34-gqlwKYQR.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-3rgQkYFR.js","./index-RigO-4kf.js","./_commonjsHelpers-CqkleIqs.js","./index-D2MAbzvX.js"])))=>i.map(i=>d[i]); +import{_ as p}from"./iframe-QKsKbWsF.js";import{R as e,r as c}from"./index-RigO-4kf.js";import{ag as l,ah as u,ai as h,aj as E}from"./index-DEYBsmB_.js";import{renderElement as d,unmountElement as x}from"./react-18-1O4HD-Mi.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-CqkleIqs.js";import"./index-D2MAbzvX.js";import"./jsx-runtime-BjgbQsUx.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";var _={code:l,a:u,...h},D=class extends c.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},T=class{constructor(){this.render=async(t,r,n)=>{let s={..._,...r==null?void 0:r.components},a=E;return new Promise((i,m)=>{p(async()=>{const{MDXProvider:o}=await import("./index-3rgQkYFR.js");return{MDXProvider:o}},__vite__mapDeps([0,1,2,3]),import.meta.url).then(({MDXProvider:o})=>d(e.createElement(D,{showException:m,key:Math.random()},e.createElement(o,{components:s},e.createElement(a,{context:t,docsParameter:r}))),n)).then(()=>i())})},this.unmount=t=>{x(t)}}};export{T as DocsRenderer,_ as defaultComponents}; diff --git a/demo-DES-969-file-list-component/assets/ErrorMessage.docs--JJhmRKT.js b/demo-DES-969-file-list-component/assets/ErrorMessage.docs-CeONjs1E.js similarity index 69% rename from demo-DES-969-file-list-component/assets/ErrorMessage.docs--JJhmRKT.js rename to demo-DES-969-file-list-component/assets/ErrorMessage.docs-CeONjs1E.js index 22bb781183..bc5c07caf5 100644 --- a/demo-DES-969-file-list-component/assets/ErrorMessage.docs--JJhmRKT.js +++ b/demo-DES-969-file-list-component/assets/ErrorMessage.docs-CeONjs1E.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as i,aq as a,ar as m,as as c,at as r}from"./index-CsbqyhR0.js";import{E as h,C as d,W as p}from"./ErrorMessage.stories-ix6kxWbf.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-CEthAr-Q.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const f=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as i,aq as a,ar as m,as as c,at as r}from"./index-DEYBsmB_.js";import{E as h,C as d,W as p}from"./ErrorMessage.stories-DcKkB3bv.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-Bz9pa_xK.js";import"./clsx-B-dksMZM.js";import"./Icon-B4wlDyQ3.js";const f=` # Error Message @@ -24,4 +24,4 @@ If you want to change this prefix, to support another language for example, you `,e.jsx(o.h3,{id:"with-custom-icon",children:"With custom icon"}),` `,e.jsx(o.p,{children:`Replace the icon with another to use Error Message in a different theme or visual identity. Applications for the City of Amsterdam must use the default icon.`}),` -`,e.jsx(r,{of:p})]})}function R(n={}){const{wrapper:o}={...s(),...n.components};return o?e.jsx(o,{...n,children:e.jsx(t,{...n})}):t(n)}export{R as default}; +`,e.jsx(r,{of:p})]})}function S(n={}){const{wrapper:o}={...s(),...n.components};return o?e.jsx(o,{...n,children:e.jsx(t,{...n})}):t(n)}export{S as default}; diff --git a/demo-DES-969-file-list-component/assets/ErrorMessage.stories-ix6kxWbf.js b/demo-DES-969-file-list-component/assets/ErrorMessage.stories-DcKkB3bv.js similarity index 88% rename from demo-DES-969-file-list-component/assets/ErrorMessage.stories-ix6kxWbf.js rename to demo-DES-969-file-list-component/assets/ErrorMessage.stories-DcKkB3bv.js index 87e843a02c..af631de285 100644 --- a/demo-DES-969-file-list-component/assets/ErrorMessage.stories-ix6kxWbf.js +++ b/demo-DES-969-file-list-component/assets/ErrorMessage.stories-DcKkB3bv.js @@ -1,4 +1,4 @@ -import{S as y,k as v}from"./index.esm-CEthAr-Q.js";import{j as o}from"./jsx-runtime-j_jdvEMj.js";import{c as b}from"./clsx-B-dksMZM.js";import{r as S}from"./index-B-o1Wr-g.js";import{I as j}from"./Icon-D1obyjGa.js";const a=S.forwardRef(({children:n,className:h,icon:t,prefix:x="Invoerfout",...E},_)=>o.jsxs("p",{...E,ref:_,className:b("ams-error-message",h),children:[o.jsx(j,{svg:t||y,size:"level-6"}),o.jsxs("span",{className:"ams-visually-hidden",children:[x,": "]}),n]}));a.displayName="ErrorMessage";try{a.displayName="ErrorMessage",a.__docgenInfo={description:"",displayName:"ErrorMessage",props:{icon:{defaultValue:null,description:"An icon to display instead of the default icon.",name:"icon",required:!1,type:{name:"Function"}},prefix:{defaultValue:{value:"Invoerfout"},description:"An accessible phrase that screen readers announce before the error message. Should translate to something like ‘input error’.",name:"prefix",required:!1,type:{name:"string"}}}}}catch{}/** +import{S as y,k as v}from"./index.esm-Bz9pa_xK.js";import{j as o}from"./jsx-runtime-BjgbQsUx.js";import{c as b}from"./clsx-B-dksMZM.js";import{r as S}from"./index-RigO-4kf.js";import{I as j}from"./Icon-B4wlDyQ3.js";const a=S.forwardRef(({children:n,className:h,icon:t,prefix:x="Invoerfout",...E},_)=>o.jsxs("p",{...E,ref:_,className:b("ams-error-message",h),children:[o.jsx(j,{svg:t||y,size:"level-6"}),o.jsxs("span",{className:"ams-visually-hidden",children:[x,": "]}),n]}));a.displayName="ErrorMessage";try{a.displayName="ErrorMessage",a.__docgenInfo={description:"",displayName:"ErrorMessage",props:{icon:{defaultValue:null,description:"An icon to display instead of the default icon.",name:"icon",required:!1,type:{name:"Function"}},prefix:{defaultValue:{value:"Invoerfout"},description:"An accessible phrase that screen readers announce before the error message. Should translate to something like ‘input error’.",name:"prefix",required:!1,type:{name:"string"}}}}}catch{}/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const I={title:"Components/Forms/Error Message",component:a,args:{children:"Vul een geldig e-mailadres in, bijvoorbeeld naam@voorbeeld.nl."},argTypes:{children:{table:{disable:!1}}}},e={},r={args:{children:"Enter an email address in the correct format, like name@example.com",prefix:"Error"}},s={args:{icon:v}};var c,i,m;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:"{}",...(m=(i=e.parameters)==null?void 0:i.docs)==null?void 0:m.source}}};var l,d,p;r.parameters={...r.parameters,docs:{...(l=r.parameters)==null?void 0:l.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/Field.docs-CgJJOe8i.js b/demo-DES-969-file-list-component/assets/Field.docs-B3sRw3IS.js similarity index 65% rename from demo-DES-969-file-list-component/assets/Field.docs-CgJJOe8i.js rename to demo-DES-969-file-list-component/assets/Field.docs-B3sRw3IS.js index 168f742a8c..e87ee43f9d 100644 --- a/demo-DES-969-file-list-component/assets/Field.docs-CgJJOe8i.js +++ b/demo-DES-969-file-list-component/assets/Field.docs-B3sRw3IS.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as o,aq as a,ar as d,as as c,at as i}from"./index-CsbqyhR0.js";import{F as h,W as p,a as l}from"./Field.stories-6k2Ogcto.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const m=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as s,aq as a,ar as d,as as c,at as i}from"./index-DEYBsmB_.js";import{F as h,W as p,a as l}from"./Field.stories-ODDLDTQM.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const m=` # Field @@ -7,9 +7,9 @@ Wraps a single input and its related elements. May indicate that the input has a ## Guidelines - Only use Field to wrap a single input. Use [Field Set](/docs/components-forms-field-set--docs) to wrap multiple inputs. -`;/*@license CC0-1.0*/function r(t){const n={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",...s(),...t.components};return e.jsxs(e.Fragment,{children:[` +`;/*@license CC0-1.0*/function r(t){const n={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",...o(),...t.components};return e.jsxs(e.Fragment,{children:[` `,` -`,e.jsx(o,{of:h}),` +`,e.jsx(s,{of:h}),` `,e.jsx(a,{children:m}),` `,e.jsx(d,{}),` `,e.jsx(c,{}),` @@ -26,4 +26,4 @@ Use an `,e.jsx(n.a,{href:"/docs/components-forms-error-message--docs",children:" Make sure to connect the Error Message to the input in the Field, otherwise it won’t be read by a screen reader. Add an `,e.jsx(n.code,{children:"aria-describedby"})," attribute to the input and provide the ",e.jsx(n.code,{children:"id"})," of Error Message as its value."]}),` -`,e.jsx(i,{of:l})]})}function D(t={}){const{wrapper:n}={...s(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(r,{...t})}):r(t)}export{D as default}; +`,e.jsx(i,{of:l})]})}function k(t={}){const{wrapper:n}={...o(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(r,{...t})}):r(t)}export{k as default}; diff --git a/demo-DES-969-file-list-component/assets/Field.stories-6k2Ogcto.js b/demo-DES-969-file-list-component/assets/Field.stories-ODDLDTQM.js similarity index 94% rename from demo-DES-969-file-list-component/assets/Field.stories-6k2Ogcto.js rename to demo-DES-969-file-list-component/assets/Field.stories-ODDLDTQM.js index 816c6bad57..abe141462a 100644 --- a/demo-DES-969-file-list-component/assets/Field.stories-6k2Ogcto.js +++ b/demo-DES-969-file-list-component/assets/Field.stories-ODDLDTQM.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{f as d,T as t,P as f,E as y}from"./index.esm-Dojcg4AG.js";import{c as W}from"./clsx-B-dksMZM.js";import{r as _}from"./index-B-o1Wr-g.js";const a=_.forwardRef(({children:i,className:x,invalid:j,...F},b)=>e.jsx("div",{...F,ref:b,className:W("ams-field",j&&"ams-field--invalid",x),children:i}));a.displayName="Field";try{a.displayName="Field",a.__docgenInfo={description:"",displayName:"Field",props:{invalid:{defaultValue:null,description:"Whether the field has an input with a validation error",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const T={title:"Components/Forms/Field",component:a,args:{invalid:!1}},r={render:i=>e.jsxs(a,{invalid:i.invalid,children:[e.jsx(d,{htmlFor:"input1",children:"Waar gaat het om?"}),e.jsx(t,{id:"input1",invalid:i.invalid})]})},n={render:i=>e.jsxs(a,{invalid:i.invalid,children:[e.jsx(d,{htmlFor:"input2",children:"Waar gaat het om?"}),e.jsx(f,{id:"description1",size:"small",children:"Typ geen persoonsgegevens in deze omschrijving. We vragen dit later in dit formulier aan u."}),e.jsx(t,{id:"input2","aria-describedby":"description1",invalid:i.invalid})]})},s={args:{invalid:!0},render:i=>e.jsxs(a,{invalid:i.invalid,children:[e.jsx(d,{htmlFor:"input3",children:"Waar gaat het om?"}),e.jsx(f,{id:"description2",size:"small",children:"Typ geen persoonsgegevens in deze omschrijving. We vragen dit later in dit formulier aan u."}),e.jsx(y,{id:"error",children:"Geef aan waar het om gaat."}),e.jsx(t,{id:"input3","aria-describedby":"description2 error","aria-required":!0,invalid:i.invalid})]})};var o,l,p;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{f as d,T as t,P as f,E as y}from"./index.esm-CEzKrmam.js";import{c as W}from"./clsx-B-dksMZM.js";import{r as _}from"./index-RigO-4kf.js";const a=_.forwardRef(({children:i,className:x,invalid:j,...F},b)=>e.jsx("div",{...F,ref:b,className:W("ams-field",j&&"ams-field--invalid",x),children:i}));a.displayName="Field";try{a.displayName="Field",a.__docgenInfo={description:"",displayName:"Field",props:{invalid:{defaultValue:null,description:"Whether the field has an input with a validation error",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const T={title:"Components/Forms/Field",component:a,args:{invalid:!1}},r={render:i=>e.jsxs(a,{invalid:i.invalid,children:[e.jsx(d,{htmlFor:"input1",children:"Waar gaat het om?"}),e.jsx(t,{id:"input1",invalid:i.invalid})]})},n={render:i=>e.jsxs(a,{invalid:i.invalid,children:[e.jsx(d,{htmlFor:"input2",children:"Waar gaat het om?"}),e.jsx(f,{id:"description1",size:"small",children:"Typ geen persoonsgegevens in deze omschrijving. We vragen dit later in dit formulier aan u."}),e.jsx(t,{id:"input2","aria-describedby":"description1",invalid:i.invalid})]})},s={args:{invalid:!0},render:i=>e.jsxs(a,{invalid:i.invalid,children:[e.jsx(d,{htmlFor:"input3",children:"Waar gaat het om?"}),e.jsx(f,{id:"description2",size:"small",children:"Typ geen persoonsgegevens in deze omschrijving. We vragen dit later in dit formulier aan u."}),e.jsx(y,{id:"error",children:"Geef aan waar het om gaat."}),e.jsx(t,{id:"input3","aria-describedby":"description2 error","aria-required":!0,invalid:i.invalid})]})};var o,l,p;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ render: args => diff --git a/demo-DES-969-file-list-component/assets/FieldSet.docs-y3GG82OI.js b/demo-DES-969-file-list-component/assets/FieldSet.docs-BFmjYnvK.js similarity index 88% rename from demo-DES-969-file-list-component/assets/FieldSet.docs-y3GG82OI.js rename to demo-DES-969-file-list-component/assets/FieldSet.docs-BFmjYnvK.js index efd7c8ffd8..d91edc2694 100644 --- a/demo-DES-969-file-list-component/assets/FieldSet.docs-y3GG82OI.js +++ b/demo-DES-969-file-list-component/assets/FieldSet.docs-BFmjYnvK.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as a,ar as d,as as l,at as n}from"./index-CsbqyhR0.js";import{F as h,W as c,a as p,b as u,R as x,c as j,C as g,d as m}from"./FieldSet.stories-7VNg7Tnk.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./Hint-rQy8SNzx.js";const f=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as s,aq as a,ar as d,as as l,at as n}from"./index-DEYBsmB_.js";import{F as h,W as c,a as p,b as u,R as x,c as j,C as g,d as m}from"./FieldSet.stories-CGZtMIXH.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./Hint-ny2kNNgA.js";const f=` # Field Set @@ -86,4 +86,4 @@ Add an `,e.jsx(i.code,{children:"id"})," to the Field Set and the Error Message, `})}),` `,e.jsxs(i.p,{children:["The order of the ",e.jsx(i.code,{children:"id"}),"s is the order in which they are read by screen readers."]}),` -`,e.jsx(n,{of:m})]})}function U(t={}){const{wrapper:i}={...o(),...t.components};return i?e.jsx(i,{...t,children:e.jsx(r,{...t})}):r(t)}export{U as default}; +`,e.jsx(n,{of:m})]})}function V(t={}){const{wrapper:i}={...o(),...t.components};return i?e.jsx(i,{...t,children:e.jsx(r,{...t})}):r(t)}export{V as default}; diff --git a/demo-DES-969-file-list-component/assets/FieldSet.stories-7VNg7Tnk.js b/demo-DES-969-file-list-component/assets/FieldSet.stories-CGZtMIXH.js similarity index 98% rename from demo-DES-969-file-list-component/assets/FieldSet.stories-7VNg7Tnk.js rename to demo-DES-969-file-list-component/assets/FieldSet.stories-CGZtMIXH.js index 98c123c8b4..49b011730a 100644 --- a/demo-DES-969-file-list-component/assets/FieldSet.stories-7VNg7Tnk.js +++ b/demo-DES-969-file-list-component/assets/FieldSet.stories-CGZtMIXH.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{e as l,f as s,E as r,T as t,P as o,C as F,R as d,g as n}from"./index.esm-Dojcg4AG.js";import{c as Q}from"./clsx-B-dksMZM.js";import{r as X}from"./index-B-o1Wr-g.js";import{H as Y}from"./Hint-rQy8SNzx.js";const i=X.forwardRef(({children:a,className:u,hint:m,invalid:c,legend:U,optional:B,...J},K)=>e.jsxs("fieldset",{...J,ref:K,className:Q("ams-field-set",c&&"ams-field-set--invalid",u),children:[e.jsxs("legend",{className:"ams-field-set__legend",children:[U," ",e.jsx(Y,{hint:m,optional:B})]}),a]}));i.displayName="FieldSet";try{i.displayName="FieldSet",i.__docgenInfo={description:"",displayName:"FieldSet",props:{invalid:{defaultValue:null,description:"Whether the field set has an input with a validation error",name:"invalid",required:!1,type:{name:"boolean"}},legend:{defaultValue:null,description:"The text for the caption.",name:"legend",required:!0,type:{name:"string"}},hint:{defaultValue:null,description:"Show a custom hint text.",name:"hint",required:!1,type:{name:"string"}},optional:{defaultValue:null,description:"Appends the text '(niet verplicht)' to the label or legend if no hint is provided. Use when the associated inputs are optional.",name:"optional",required:!1,type:{name:"boolean"}}}}}catch{}const Z={title:"Components/Forms/Field Set",component:i,args:{invalid:!1,legend:"Wat is uw naam?",optional:!1,hint:""},decorators:[a=>e.jsx("form",{children:e.jsx(a,{})})]},v={render:({invalid:a,legend:u,hint:m,optional:c})=>e.jsxs(i,{hint:m,invalid:a,legend:u,optional:c,children:[e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-a1",children:"Voornaam"}),a&&e.jsx(r,{id:"error-a1",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a?"error-a1":void 0,"aria-required":"true",id:"input-a1",invalid:a})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-a2",children:"Achternaam"}),a&&e.jsx(r,{id:"error-a2",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a?"error-a2":void 0,"aria-required":"true",id:"input-a2",invalid:a})]})]})},b={render:a=>e.jsxs(i,{"aria-describedby":"description-b",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{id:"description-b",size:"small",className:"ams-mb--sm",children:"Vul uw naam in zoals in uw paspoort staat."}),e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-b1",children:"Voornaam"}),a.invalid&&e.jsx(r,{id:"error-b1",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-b1":void 0,"aria-required":"true",id:"input-b1",invalid:a.invalid})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-b2",children:"Achternaam"}),a.invalid&&e.jsx(r,{id:"error-b2",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-b2":void 0,"aria-required":"true",id:"input-b2",invalid:a.invalid})]})]})},g={args:{optional:!1,hint:"verplicht"},render:({invalid:a,legend:u,hint:m,optional:c})=>e.jsxs(i,{hint:m,invalid:a,legend:u,optional:c,children:[e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-b3",children:"Voornaam"}),a&&e.jsx(r,{id:"error-b3",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a?"error-b3":void 0,"aria-required":"true",id:"input-b3",invalid:a})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-b4",children:"Achternaam"}),a&&e.jsx(r,{id:"error-b4",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a?"error-b4":void 0,"aria-required":"true",id:"input-b4",invalid:a})]})]})},p={args:{invalid:!0},render:a=>e.jsxs(i,{"aria-describedby":"description-c",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{id:"description-c",size:"small",className:"ams-mb--sm",children:"Vul uw naam in zoals in uw paspoort staat."}),e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-c1",children:"Voornaam"}),a.invalid&&e.jsx(r,{id:"error-c1",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-c1":void 0,"aria-required":"true",id:"input-c1",invalid:a.invalid})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-c2",children:"Achternaam"}),a.invalid&&e.jsx(r,{id:"error-c2",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-c2":void 0,"aria-required":"true",id:"input-c2",invalid:a.invalid})]})]})},h={args:{legend:"Waar gaat uw melding over?"},render:a=>e.jsxs(i,{"aria-describedby":`description-d${a.invalid?" error-d":""}`,"aria-required":"true",invalid:a.invalid,legend:a.legend,role:"radiogroup",children:[e.jsx(o,{className:"ams-mb--sm",id:"description-d",size:"small",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-d",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})},x={args:{legend:"Waar gaat uw melding over?",invalid:!0},render:a=>e.jsxs(i,{"aria-describedby":`description-e${a.invalid?" error-e":""}`,"aria-required":"true",invalid:a.invalid,legend:a.legend,role:"radiogroup",children:[e.jsx(o,{className:"ams-mb--sm",id:"description-e",size:"small",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-e",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})},j={args:{legend:"Waar gaat uw melding over?"},render:a=>e.jsxs(i,{"aria-labelledby":`fieldset-f description-f${a.invalid?" error-f":""}`,id:"fieldset-f",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{className:"ams-mb--sm",id:"description-f",size:"small",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-f",children:"Geef aan waar uw melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})},f={args:{invalid:!0,legend:"Waar gaat uw melding over?"},render:a=>e.jsxs(i,{"aria-labelledby":`fieldset-g description-g${a.invalid?" error-g":""}`,id:"fieldset-g",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{id:"description-g",size:"small",className:"ams-mb--sm",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-g",children:"Geef aan waar uw melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})};var q,w,y;v.parameters={...v.parameters,docs:{...(q=v.parameters)==null?void 0:q.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{e as l,f as s,E as r,T as t,P as o,C as F,R as d,g as n}from"./index.esm-CEzKrmam.js";import{c as Q}from"./clsx-B-dksMZM.js";import{r as X}from"./index-RigO-4kf.js";import{H as Y}from"./Hint-ny2kNNgA.js";const i=X.forwardRef(({children:a,className:u,hint:m,invalid:c,legend:U,optional:B,...J},K)=>e.jsxs("fieldset",{...J,ref:K,className:Q("ams-field-set",c&&"ams-field-set--invalid",u),children:[e.jsxs("legend",{className:"ams-field-set__legend",children:[U," ",e.jsx(Y,{hint:m,optional:B})]}),a]}));i.displayName="FieldSet";try{i.displayName="FieldSet",i.__docgenInfo={description:"",displayName:"FieldSet",props:{invalid:{defaultValue:null,description:"Whether the field set has an input with a validation error",name:"invalid",required:!1,type:{name:"boolean"}},legend:{defaultValue:null,description:"The text for the caption.",name:"legend",required:!0,type:{name:"string"}},hint:{defaultValue:null,description:"Show a custom hint text.",name:"hint",required:!1,type:{name:"string"}},optional:{defaultValue:null,description:"Appends the text '(niet verplicht)' to the label or legend if no hint is provided. Use when the associated inputs are optional.",name:"optional",required:!1,type:{name:"boolean"}}}}}catch{}const Z={title:"Components/Forms/Field Set",component:i,args:{invalid:!1,legend:"Wat is uw naam?",optional:!1,hint:""},decorators:[a=>e.jsx("form",{children:e.jsx(a,{})})]},v={render:({invalid:a,legend:u,hint:m,optional:c})=>e.jsxs(i,{hint:m,invalid:a,legend:u,optional:c,children:[e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-a1",children:"Voornaam"}),a&&e.jsx(r,{id:"error-a1",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a?"error-a1":void 0,"aria-required":"true",id:"input-a1",invalid:a})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-a2",children:"Achternaam"}),a&&e.jsx(r,{id:"error-a2",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a?"error-a2":void 0,"aria-required":"true",id:"input-a2",invalid:a})]})]})},b={render:a=>e.jsxs(i,{"aria-describedby":"description-b",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{id:"description-b",size:"small",className:"ams-mb--sm",children:"Vul uw naam in zoals in uw paspoort staat."}),e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-b1",children:"Voornaam"}),a.invalid&&e.jsx(r,{id:"error-b1",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-b1":void 0,"aria-required":"true",id:"input-b1",invalid:a.invalid})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-b2",children:"Achternaam"}),a.invalid&&e.jsx(r,{id:"error-b2",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-b2":void 0,"aria-required":"true",id:"input-b2",invalid:a.invalid})]})]})},g={args:{optional:!1,hint:"verplicht"},render:({invalid:a,legend:u,hint:m,optional:c})=>e.jsxs(i,{hint:m,invalid:a,legend:u,optional:c,children:[e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-b3",children:"Voornaam"}),a&&e.jsx(r,{id:"error-b3",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a?"error-b3":void 0,"aria-required":"true",id:"input-b3",invalid:a})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-b4",children:"Achternaam"}),a&&e.jsx(r,{id:"error-b4",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a?"error-b4":void 0,"aria-required":"true",id:"input-b4",invalid:a})]})]})},p={args:{invalid:!0},render:a=>e.jsxs(i,{"aria-describedby":"description-c",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{id:"description-c",size:"small",className:"ams-mb--sm",children:"Vul uw naam in zoals in uw paspoort staat."}),e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-c1",children:"Voornaam"}),a.invalid&&e.jsx(r,{id:"error-c1",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-c1":void 0,"aria-required":"true",id:"input-c1",invalid:a.invalid})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-c2",children:"Achternaam"}),a.invalid&&e.jsx(r,{id:"error-c2",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-c2":void 0,"aria-required":"true",id:"input-c2",invalid:a.invalid})]})]})},h={args:{legend:"Waar gaat uw melding over?"},render:a=>e.jsxs(i,{"aria-describedby":`description-d${a.invalid?" error-d":""}`,"aria-required":"true",invalid:a.invalid,legend:a.legend,role:"radiogroup",children:[e.jsx(o,{className:"ams-mb--sm",id:"description-d",size:"small",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-d",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})},x={args:{legend:"Waar gaat uw melding over?",invalid:!0},render:a=>e.jsxs(i,{"aria-describedby":`description-e${a.invalid?" error-e":""}`,"aria-required":"true",invalid:a.invalid,legend:a.legend,role:"radiogroup",children:[e.jsx(o,{className:"ams-mb--sm",id:"description-e",size:"small",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-e",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})},j={args:{legend:"Waar gaat uw melding over?"},render:a=>e.jsxs(i,{"aria-labelledby":`fieldset-f description-f${a.invalid?" error-f":""}`,id:"fieldset-f",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{className:"ams-mb--sm",id:"description-f",size:"small",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-f",children:"Geef aan waar uw melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})},f={args:{invalid:!0,legend:"Waar gaat uw melding over?"},render:a=>e.jsxs(i,{"aria-labelledby":`fieldset-g description-g${a.invalid?" error-g":""}`,id:"fieldset-g",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{id:"description-g",size:"small",className:"ams-mb--sm",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-g",children:"Geef aan waar uw melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})};var q,w,y;v.parameters={...v.parameters,docs:{...(q=v.parameters)==null?void 0:q.docs,source:{originalSource:`{ render: ({ invalid, legend, diff --git a/demo-DES-969-file-list-component/assets/FileInput.docs-CV3tQm1b.js b/demo-DES-969-file-list-component/assets/FileInput.docs-BPs7IvcT.js similarity index 73% rename from demo-DES-969-file-list-component/assets/FileInput.docs-CV3tQm1b.js rename to demo-DES-969-file-list-component/assets/FileInput.docs-BPs7IvcT.js index fb9bc868ea..2e89bf5f5c 100644 --- a/demo-DES-969-file-list-component/assets/FileInput.docs-CV3tQm1b.js +++ b/demo-DES-969-file-list-component/assets/FileInput.docs-BPs7IvcT.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as l,aq as r,ar as a,as as d,at as s}from"./index-CsbqyhR0.js";import{F as c,M as p,R as h,D as m,I as f}from"./FileInput.stories-GC-iTBgE.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const x=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as l,aq as r,ar as a,as as d,at as s}from"./index-DEYBsmB_.js";import{F as c,M as p,R as h,D as m,I as f}from"./FileInput.stories-DjtL2CqF.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const x=` # File Input @@ -29,4 +29,4 @@ The filename label and button are displayed in the language of the browser and c `,e.jsx(i.p,{children:"Use a Field component to group a File Input with a Label and possibly a description."}),` `,e.jsxs(i.p,{children:["If you don’t need the description, remove its Paragraph and the ",e.jsx(i.code,{children:"aria-describedby"})," from the Text Input."]}),` `,e.jsxs(i.p,{children:["Check ",e.jsx(i.a,{href:"/docs/components-forms-field--docs",children:"the Field docs"})," for more information on configuring it."]}),` -`,e.jsx(s,{of:f})]})}function _(n={}){const{wrapper:i}={...o(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(t,{...n})}):t(n)}export{_ as default}; +`,e.jsx(s,{of:f})]})}function A(n={}){const{wrapper:i}={...o(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(t,{...n})}):t(n)}export{A as default}; diff --git a/demo-DES-969-file-list-component/assets/FileInput.stories-GC-iTBgE.js b/demo-DES-969-file-list-component/assets/FileInput.stories-DjtL2CqF.js similarity index 92% rename from demo-DES-969-file-list-component/assets/FileInput.stories-GC-iTBgE.js rename to demo-DES-969-file-list-component/assets/FileInput.stories-DjtL2CqF.js index 48e1b28a8c..da48e39b03 100644 --- a/demo-DES-969-file-list-component/assets/FileInput.stories-GC-iTBgE.js +++ b/demo-DES-969-file-list-component/assets/FileInput.stories-DjtL2CqF.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{e as D,f as L,P as O}from"./index.esm-Dojcg4AG.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as R}from"./index-B-o1Wr-g.js";const i=R.forwardRef(({className:p,...I},S)=>e.jsx("input",{...I,ref:S,className:P("ams-file-input",p),type:"file"}));i.displayName="FileInput";try{i.displayName="FileInput",i.__docgenInfo={description:"",displayName:"FileInput",props:{}}}catch{}const v={title:"Components/Forms/File Input",component:i,args:{accept:void 0,multiple:!1,disabled:!1},argTypes:{accept:{control:{type:"text"}},multiple:{control:{type:"boolean"}},disabled:{control:{type:"boolean"}}}},r={},a={args:{multiple:!0}},s={args:{accept:"application/pdf"}},t={args:{disabled:!0}},o={render:p=>e.jsxs(D,{children:[e.jsx(L,{htmlFor:"input1",children:"Label"}),e.jsx(O,{id:"description1",size:"small",children:"Omschrijving."}),e.jsx(i,{"aria-describedby":"description1",id:"input1",...p})]})};var n,c,l;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(l=(c=r.parameters)==null?void 0:c.docs)==null?void 0:l.source}}};var d,m,u;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{e as D,f as L,P as O}from"./index.esm-CEzKrmam.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as R}from"./index-RigO-4kf.js";const i=R.forwardRef(({className:p,...I},S)=>e.jsx("input",{...I,ref:S,className:P("ams-file-input",p),type:"file"}));i.displayName="FileInput";try{i.displayName="FileInput",i.__docgenInfo={description:"",displayName:"FileInput",props:{}}}catch{}const v={title:"Components/Forms/File Input",component:i,args:{accept:void 0,multiple:!1,disabled:!1},argTypes:{accept:{control:{type:"text"}},multiple:{control:{type:"boolean"}},disabled:{control:{type:"boolean"}}}},r={},a={args:{multiple:!0}},s={args:{accept:"application/pdf"}},t={args:{disabled:!0}},o={render:p=>e.jsxs(D,{children:[e.jsx(L,{htmlFor:"input1",children:"Label"}),e.jsx(O,{id:"description1",size:"small",children:"Omschrijving."}),e.jsx(i,{"aria-describedby":"description1",id:"input1",...p})]})};var n,c,l;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(l=(c=r.parameters)==null?void 0:c.docs)==null?void 0:l.source}}};var d,m,u;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:`{ args: { multiple: true } diff --git a/demo-DES-969-file-list-component/assets/FileList.docs-D86lwQPg.js b/demo-DES-969-file-list-component/assets/FileList.docs-Bw002Wk6.js similarity index 62% rename from demo-DES-969-file-list-component/assets/FileList.docs-D86lwQPg.js rename to demo-DES-969-file-list-component/assets/FileList.docs-Bw002Wk6.js index 0760e7aa6e..841f96f173 100644 --- a/demo-DES-969-file-list-component/assets/FileList.docs-D86lwQPg.js +++ b/demo-DES-969-file-list-component/assets/FileList.docs-Bw002Wk6.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as o,aq as r,ar as l,as as a,at as m,aw as f}from"./index-CsbqyhR0.js";import{F as p,W as u}from"./FileList.stories-_0UEAoXm.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./Icon-D1obyjGa.js";import"./Button-CLCAbUHj.js";const c=`import { FileInput, FileList } from '@amsterdam/design-system-react' +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as r,aq as o,ar as l,at as a,aw as m}from"./index-DEYBsmB_.js";import{F as f,W as p}from"./FileList.stories-BDs9eqVG.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./Icon-B4wlDyQ3.js";import"./Button-nAoFhtc2.js";const u=`import { FileInput, FileList } from '@amsterdam/design-system-react' import { useRef, useState } from 'react' export const FileInputWithFileList = () => { @@ -30,27 +30,26 @@ export const FileInputWithFileList = () => { {files && ( {Array.from(files).map((file, index) => ( - removeFile(index)} /> + removeFile(index)} /> ))} )} ) } -`,d=` +`,c=` # File List An overview of files, showing their name, type, size, and a preview. `;/*@license CC0-1.0*/function t(i){const n={code:"code",h2:"h2",h3:"h3",p:"p",...s(),...i.components};return e.jsxs(e.Fragment,{children:[` `,` -`,e.jsx(o,{of:p}),` -`,e.jsx(r,{children:d}),` +`,e.jsx(r,{of:f}),` +`,e.jsx(o,{children:c}),` `,e.jsx(l,{}),` -`,e.jsx(a,{}),` `,e.jsx(n.h2,{id:"examples",children:"Examples"}),` `,e.jsx(n.h3,{id:"using-a-file-input",children:"Using a file input"}),` `,e.jsxs(n.p,{children:["To connect a File Input to a File List, use the ",e.jsx(n.code,{children:"onChange"}),` event to update the list of files and use `,e.jsx(n.code,{children:"onDelete"})," when removing a file from the list."]}),` -`,e.jsx(m,{of:u}),` -`,e.jsx(f,{code:c,language:"jsx"})]})}function W(i={}){const{wrapper:n}={...s(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{W as default}; +`,e.jsx(a,{of:p}),` +`,e.jsx(m,{code:u,language:"jsx"})]})}function W(i={}){const{wrapper:n}={...s(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{W as default}; diff --git a/demo-DES-969-file-list-component/assets/FileList.stories-BDs9eqVG.js b/demo-DES-969-file-list-component/assets/FileList.stories-BDs9eqVG.js new file mode 100644 index 0000000000..9f684c7787 --- /dev/null +++ b/demo-DES-969-file-list-component/assets/FileList.stories-BDs9eqVG.js @@ -0,0 +1,16 @@ +import{j as t}from"./jsx-runtime-BjgbQsUx.js";import{u as w,v as u}from"./index.esm-CEzKrmam.js";import{r as m}from"./index-RigO-4kf.js";import{c as h}from"./clsx-B-dksMZM.js";import{x as N}from"./index.esm-Bz9pa_xK.js";import{I as D}from"./Icon-B4wlDyQ3.js";import{B as S}from"./Button-nAoFhtc2.js";/** + * @license EUPL-1.2+ + * Copyright Gemeente Amsterdam + */const R=(e,s=3)=>{const r=["bytes","kB","MB","GB"];if(e===0)return"0 bytes";const i=Math.floor(Math.log10(e)/3);return`${(e/Math.pow(1e3,i)).toPrecision(s)} ${r[i]}`};/** + * @license EUPL-1.2+ + * Copyright Gemeente Amsterdam + */const d=e=>{switch(e){case"image/gif":return"gif";case"image/jpeg":return"jpg";case"image/png":return"png";case"text/plain":return"txt";case"application/pdf":return"pdf";case"application/msword":case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return"Word";case"application/vnd.ms-excel":case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return"Excel";case"application/vnd.ms-powerpoint":case"application/vnd.openxmlformats-officedocument.presentationml.presentation":return"PowerPoint";default:return"Document"}};try{d.displayName="formatFileType",d.__docgenInfo={description:"",displayName:"formatFileType",props:{}}}catch{}const j=m.forwardRef(({file:e,onDelete:s,className:r,...i},c)=>t.jsxs("li",{...i,ref:c,className:h("ams-file-list__item",r),children:[t.jsx("div",{className:"ams-file-list__item-preview",children:e.type.startsWith("image/")?t.jsx("img",{src:URL.createObjectURL(e),alt:e.name}):t.jsx(D,{svg:N,size:"level-3",square:!0})}),t.jsxs("div",{className:"ams-file-list__item-info",children:[e.name,t.jsxs("div",{className:"ams-file-input__item-details",children:["(",d(e.type),", ",R(e.size),")"]})]}),s&&t.jsx("div",{children:t.jsx(S,{variant:"tertiary",onClick:()=>s(),children:"Verwijder"})})]}));j.displayName="FileList.Item";try{FileList.Item.displayName="FileList.Item",FileList.Item.__docgenInfo={description:"",displayName:"FileList.Item",props:{file:{defaultValue:null,description:"",name:"file",required:!0,type:{name:"File"}},onDelete:{defaultValue:null,description:"",name:"onDelete",required:!1,type:{name:"(() => void)"}}}}}catch{}const I=m.forwardRef(({children:e,className:s,...r},i)=>t.jsx("ul",{...r,ref:i,className:h("ams-file-list",s),children:e}));I.displayName="FileList";const l=Object.assign(I,{Item:j});try{l.displayName="FileList",l.__docgenInfo={description:"",displayName:"FileList",props:{}}}catch{}const b=()=>{const e=m.useRef(null),[s,r]=m.useState(null),i=()=>{e.current&&r(e.current.files)},c=p=>{if(s){const a=new DataTransfer;Array.from(s).forEach((v,L)=>{L!==p&&a.items.add(v)}),e.current&&(e.current.files=a.files),r(a.files)}};return t.jsxs(t.Fragment,{children:[t.jsx(w,{multiple:!0,ref:e,onChange:i}),s&&t.jsx(u,{children:Array.from(s).map((p,a)=>t.jsx(u.Item,{file:p,onDelete:()=>c(a)},a))})]})},M={title:"Components/Forms/File List",component:l,args:{children:[t.jsx(l.Item,{file:new File(["sample1"],"sample1.txt",{type:"text/plain",lastModified:Date.now()}),onDelete:()=>{}},"1"),t.jsx(l.Item,{file:new File(["sample2"],"sample2.txt",{type:"text/plain",lastModified:Date.now()}),onDelete:()=>{}},"2")]}},n={},o={parameters:{docs:{canvas:{sourceState:"none"}}},render:()=>t.jsx(b,{})};var f,_,x;n.parameters={...n.parameters,docs:{...(f=n.parameters)==null?void 0:f.docs,source:{originalSource:"{}",...(x=(_=n.parameters)==null?void 0:_.docs)==null?void 0:x.source}}};var F,g,y;o.parameters={...o.parameters,docs:{...(F=o.parameters)==null?void 0:F.docs,source:{originalSource:`{ + parameters: { + docs: { + canvas: { + sourceState: 'none' + } + } + }, + render: () => +}`,...(y=(g=o.parameters)==null?void 0:g.docs)==null?void 0:y.source}}};const W=["Default","WithInput"],q=Object.freeze(Object.defineProperty({__proto__:null,Default:n,WithInput:o,__namedExportsOrder:W,default:M},Symbol.toStringTag,{value:"Module"}));export{q as F,o as W}; diff --git a/demo-DES-969-file-list-component/assets/FileList.stories-_0UEAoXm.js b/demo-DES-969-file-list-component/assets/FileList.stories-_0UEAoXm.js deleted file mode 100644 index cde8bc37b3..0000000000 --- a/demo-DES-969-file-list-component/assets/FileList.stories-_0UEAoXm.js +++ /dev/null @@ -1,16 +0,0 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{u as w,v as f}from"./index.esm-Dojcg4AG.js";import{r as p}from"./index-B-o1Wr-g.js";import{c as h}from"./clsx-B-dksMZM.js";import{x as N}from"./index.esm-CEthAr-Q.js";import{I as R}from"./Icon-D1obyjGa.js";import{B as S}from"./Button-CLCAbUHj.js";/** - * @license EUPL-1.2+ - * Copyright Gemeente Amsterdam - */const b=(e,s=3)=>{const r=["bytes","kB","MB","GB"];if(e===0)return"0 bytes";const i=Math.floor(Math.log10(e)/3);return`${(e/Math.pow(1e3,i)).toPrecision(s)} ${r[i]}`};/** - * @license EUPL-1.2+ - * Copyright Gemeente Amsterdam - */const d=e=>{switch(e){case"image/gif":return"gif";case"image/jpeg":return"jpg";case"image/png":return"png";case"text/plain":return"txt";case"application/pdf":return"pdf";case"application/msword":case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return"Word";case"application/vnd.ms-excel":case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return"Excel";case"application/vnd.ms-powerpoint":case"application/vnd.openxmlformats-officedocument.presentationml.presentation":return"PowerPoint";default:return"Document"}};try{d.displayName="formatFileType",d.__docgenInfo={description:"",displayName:"formatFileType",props:{}}}catch{}const j=p.forwardRef(({file:e,onRemove:s,className:r,...i},c)=>t.jsxs("li",{...i,ref:c,className:h("ams-file-list__file",r),children:[t.jsx("div",{className:"ams-file-list__file-preview",children:e.type.includes("image")?t.jsx("img",{src:URL.createObjectURL(e),alt:e.name}):t.jsx(R,{svg:N,size:"level-3",square:!0})}),t.jsxs("div",{className:"ams-file-list__file-info",children:[e.name,t.jsxs("div",{className:"ams-file-input__file-details",children:["(",d(e.type),", ",b(e.size),")"]})]}),s&&t.jsx("div",{children:t.jsx(S,{variant:"tertiary",onClick:()=>s(),children:"Verwijder"})})]}));j.displayName="FileList.Item";try{FileList.Item.displayName="FileList.Item",FileList.Item.__docgenInfo={description:"",displayName:"FileList.Item",props:{file:{defaultValue:null,description:"",name:"file",required:!0,type:{name:"File"}},onRemove:{defaultValue:null,description:"",name:"onRemove",required:!1,type:{name:"(() => void)"}}}}}catch{}const v=p.forwardRef(({children:e,className:s,...r},i)=>t.jsx("ul",{...r,ref:i,className:h("ams-file-list",s),children:e}));v.displayName="FileList";const l=Object.assign(v,{Item:j});try{l.displayName="FileList",l.__docgenInfo={description:"",displayName:"FileList",props:{}}}catch{}const D=()=>{const e=p.useRef(null),[s,r]=p.useState(null),i=()=>{e.current&&r(e.current.files)},c=m=>{if(s){const a=new DataTransfer;Array.from(s).forEach((I,L)=>{L!==m&&a.items.add(I)}),e.current&&(e.current.files=a.files),r(a.files)}};return t.jsxs(t.Fragment,{children:[t.jsx(w,{multiple:!0,ref:e,onChange:i}),s&&t.jsx(f,{children:Array.from(s).map((m,a)=>t.jsx(f.Item,{file:m,onRemove:()=>c(a)},a))})]})},M={title:"Components/Forms/File List",component:l,args:{children:[t.jsx(l.Item,{file:new File(["sample1"],"sample1.txt",{type:"text/plain",lastModified:Date.now()})},"1"),t.jsx(l.Item,{file:new File(["sample2"],"sample2.txt",{type:"text/plain",lastModified:Date.now()})},"2")]}},n={},o={parameters:{docs:{canvas:{sourceState:"none"}}},render:()=>t.jsx(D,{})};var u,_,x;n.parameters={...n.parameters,docs:{...(u=n.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(x=(_=n.parameters)==null?void 0:_.docs)==null?void 0:x.source}}};var F,g,y;o.parameters={...o.parameters,docs:{...(F=o.parameters)==null?void 0:F.docs,source:{originalSource:`{ - parameters: { - docs: { - canvas: { - sourceState: 'none' - } - } - }, - render: () => -}`,...(y=(g=o.parameters)==null?void 0:g.docs)==null?void 0:y.source}}};const T=["Default","WithInput"],q=Object.freeze(Object.defineProperty({__proto__:null,Default:n,WithInput:o,__namedExportsOrder:T,default:M},Symbol.toStringTag,{value:"Module"}));export{q as F,o as W}; diff --git a/demo-DES-969-file-list-component/assets/Footer.docs-DaSgfM-u.js b/demo-DES-969-file-list-component/assets/Footer.docs-a6W58Dkr.js similarity index 52% rename from demo-DES-969-file-list-component/assets/Footer.docs-DaSgfM-u.js rename to demo-DES-969-file-list-component/assets/Footer.docs-a6W58Dkr.js index 195b06d101..18d43af8cd 100644 --- a/demo-DES-969-file-list-component/assets/Footer.docs-DaSgfM-u.js +++ b/demo-DES-969-file-list-component/assets/Footer.docs-a6W58Dkr.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as s,aq as r,ar as a,at as c}from"./index-CsbqyhR0.js";import{F as m,O as p}from"./Footer.stories-DPK9ujK1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./PageMenu.stories-CMbLUYFI.js";import"./Icon-D1obyjGa.js";import"./Spotlight-DZdLn00J.js";const l=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as i}from"./index-3rgQkYFR.js";import{ae as s,aq as r,ar as a,at as c}from"./index-DEYBsmB_.js";import{F as m,O as p}from"./Footer.stories-DmuyQWO8.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./PageMenu.stories-DCbTKHnl.js";import"./Icon-B4wlDyQ3.js";import"./Spotlight-CVxUBei2.js";const l=` # Footer @@ -20,13 +20,13 @@ The Spotlight offers space for various practical links: The menu at the very bottom is intended for links to privacy policies, cookie statements, information about the website itself, etc. Contact details should not go here. -`;/*@license CC0-1.0*/function o(t){const n={h2:"h2",h3:"h3",p:"p",...i(),...t.components};return e.jsxs(e.Fragment,{children:[` +`;/*@license CC0-1.0*/function n(t){const o={h2:"h2",h3:"h3",p:"p",...i(),...t.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(s,{of:m}),` `,e.jsx(r,{children:l}),` `,e.jsx(a,{}),` -`,e.jsx(n.h2,{id:"examples",children:"Examples"}),` -`,e.jsx(n.h3,{id:"onderzoek-en-statistiek",children:"Onderzoek en Statistiek"}),` -`,e.jsx(n.p,{children:`The footer for a specific website can be a bit different. +`,e.jsx(o.h2,{id:"examples",children:"Examples"}),` +`,e.jsx(o.h3,{id:"onderzoek-en-statistiek",children:"Onderzoek en Statistiek"}),` +`,e.jsx(o.p,{children:`The footer for a specific website can be a bit different. Here’s an example for the ‘Onderzoek en Statistiek’ department.`}),` -`,e.jsx(c,{of:p})]})}function z(t={}){const{wrapper:n}={...i(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(o,{...t})}):o(t)}export{z as default}; +`,e.jsx(c,{of:p})]})}function D(t={}){const{wrapper:o}={...i(),...t.components};return o?e.jsx(o,{...t,children:e.jsx(n,{...t})}):n(t)}export{D as default}; diff --git a/demo-DES-969-file-list-component/assets/Footer.stories-DPK9ujK1.js b/demo-DES-969-file-list-component/assets/Footer.stories-DmuyQWO8.js similarity index 97% rename from demo-DES-969-file-list-component/assets/Footer.stories-DPK9ujK1.js rename to demo-DES-969-file-list-component/assets/Footer.stories-DmuyQWO8.js index 67a677e9ae..3a8f7c3bf1 100644 --- a/demo-DES-969-file-list-component/assets/Footer.stories-DPK9ujK1.js +++ b/demo-DES-969-file-list-component/assets/Footer.stories-DmuyQWO8.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as r,G as i,o as n,P as c,c as j}from"./index.esm-Dojcg4AG.js";import{d as z,h as b,s as F,t as H,u as G,v as P,w as S}from"./index.esm-CEthAr-Q.js";import{D as N}from"./PageMenu.stories-CMbLUYFI.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as v}from"./index-B-o1Wr-g.js";import{S as V}from"./Spotlight-DZdLn00J.js";const w=v.forwardRef(({children:s,className:l,...o},t)=>e.jsx("div",{...o,ref:t,className:L("ams-footer__bottom",l),children:s}));w.displayName="Footer.Bottom";try{Footer.Bottom.displayName="Footer.Bottom",Footer.Bottom.__docgenInfo={description:"",displayName:"Footer.Bottom",props:{}}}catch{}const _=v.forwardRef(({children:s,className:l,...o},t)=>e.jsx(V,{...o,color:"blue",ref:t,className:L("ams-footer__top",l),children:s}));_.displayName="Footer.Top";try{Footer.Top.displayName="Footer.Top",Footer.Top.__docgenInfo={description:"",displayName:"Footer.Top",props:{}}}catch{}const y=v.forwardRef(({children:s,className:l,...o},t)=>e.jsx("footer",{...o,ref:t,className:L("ams-footer",l),children:s}));y.displayName="Footer";const a=Object.assign(y,{Bottom:w,Top:_});try{a.displayName="Footer",a.__docgenInfo={description:"",displayName:"Footer",props:{}}}catch{}const O={title:"Components/Containers/Footer",component:a},B=[{icon:H,name:"Twitter"},{icon:G,name:"Facebook"},{icon:P,name:"Linkedin"},{icon:S,name:"Instagram"}];var h;const d={args:{children:[e.jsxs(a.Top,{children:[e.jsx(r,{className:"ams-visually-hidden",inverseColor:!0,children:"Colofon"}),e.jsxs(i,{gapVertical:"large",paddingVertical:"medium",children:[e.jsxs(i.Cell,{span:4,children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Meer weten"}),e.jsx(n,{children:["Veel gestelde vragen","Over ons","Werken bij","Kalender","Uit in Amsterdam","Bronnen"].map((s,l)=>e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:s},l))})]}),e.jsxs(i.Cell,{span:4,start:{narrow:1,medium:5,wide:5},children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Contact"}),e.jsx(c,{className:"ams-mb--xs",inverseColor:!0,size:"small",children:"Hebt u een vraag en kunt u het antwoord niet vinden op deze website? Neem dan contact met ons op."}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"mailto:redactie@amsterdam.nl",icon:z,inverseColor:!0,size:"small",children:"E-mail"}),e.jsx(n.Link,{href:"tel:+3114020",icon:b,inverseColor:!0,size:"small",children:"14 020"}),e.jsx(n.Link,{href:"#",icon:F,inverseColor:!0,size:"small",children:"Contactgegevens en openingstijden"})]})]}),e.jsxs(i.Cell,{span:4,start:{narrow:1,medium:1,wide:9},children:[e.jsxs("section",{className:"ams-mb--md",children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Nieuwsbrief"}),e.jsx(n,{children:e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Inschrijven"})})]}),e.jsxs("section",{children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Volg ons"}),e.jsx(n,{children:B.map(({name:s,icon:l})=>e.jsx(n.Link,{href:"#",icon:l,inverseColor:!0,size:"small",children:s},s))})]})]})]})]},"footer-top"),e.jsxs(a.Bottom,{children:[e.jsx(r,{className:"ams-visually-hidden",level:2,children:"Over deze website"}),e.jsx(i,{paddingVertical:"small",children:e.jsx(i.Cell,{span:"all",children:e.jsx(j,{children:(h=N.args)==null?void 0:h.children})})})]},"footer-bottom")]}};var p;const m={args:{children:[e.jsxs(a.Top,{children:[e.jsx(r,{className:"ams-visually-hidden",inverseColor:!0,children:"Colofon"}),e.jsxs(i,{gapVertical:"large",paddingVertical:"medium",children:[e.jsxs(i.Cell,{span:3,children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Contact"}),e.jsx(c,{className:"ams-mb--xs",size:"small",inverseColor:!0,children:"Heeft u een vraag en kunt u het antwoord niet vinden op deze site? Neem dan contact met ons op."}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"mailto:redactie.os@amsterdam.nl",icon:z,inverseColor:!0,size:"small",children:"E-mail"}),e.jsx(n.Link,{href:"tel:+31202510333",icon:b,inverseColor:!0,size:"small",children:"020 251 0333"})]})]}),e.jsxs(i.Cell,{span:3,start:{narrow:1,medium:5,wide:5},children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Panels en enquêtes"}),e.jsx(c,{className:"ams-mb--xs",inverseColor:!0,size:"small",children:"Bent u uitgenodigd om mee te doen aan onderzoek of heeft u vragen over het panel of stadspaspanel?"}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Meedoen aan onderzoek"}),e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Panel Amsterdam"}),e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Stadspaspanel Amsterdam"})]})]}),e.jsxs(i.Cell,{span:3,start:{narrow:1,medium:1,wide:9},children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Onderzoek en Statistiek"}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Over Onderzoek en Statistiek"}),e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Veelgestelde vragen"}),e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Nieuwsbrief"}),e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Vacatures"})]})]})]})]},"footer-top"),e.jsxs(a.Bottom,{children:[e.jsx(r,{className:"ams-visually-hidden",level:2,children:"Over deze website"}),e.jsx(i,{paddingVertical:"small",children:e.jsx(i.Cell,{span:"all",children:e.jsx(j,{children:(p=N.args)==null?void 0:p.children})})})]},"footer-bottom")]}};var k,g,u;d.parameters={...d.parameters,docs:{...(k=d.parameters)==null?void 0:k.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{H as r,G as i,o as n,P as c,c as j}from"./index.esm-CEzKrmam.js";import{d as z,h as b,s as F,t as H,u as G,v as P,w as S}from"./index.esm-Bz9pa_xK.js";import{D as N}from"./PageMenu.stories-DCbTKHnl.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as v}from"./index-RigO-4kf.js";import{S as V}from"./Spotlight-CVxUBei2.js";const w=v.forwardRef(({children:s,className:l,...o},t)=>e.jsx("div",{...o,ref:t,className:L("ams-footer__bottom",l),children:s}));w.displayName="Footer.Bottom";try{Footer.Bottom.displayName="Footer.Bottom",Footer.Bottom.__docgenInfo={description:"",displayName:"Footer.Bottom",props:{}}}catch{}const _=v.forwardRef(({children:s,className:l,...o},t)=>e.jsx(V,{...o,color:"blue",ref:t,className:L("ams-footer__top",l),children:s}));_.displayName="Footer.Top";try{Footer.Top.displayName="Footer.Top",Footer.Top.__docgenInfo={description:"",displayName:"Footer.Top",props:{}}}catch{}const y=v.forwardRef(({children:s,className:l,...o},t)=>e.jsx("footer",{...o,ref:t,className:L("ams-footer",l),children:s}));y.displayName="Footer";const a=Object.assign(y,{Bottom:w,Top:_});try{a.displayName="Footer",a.__docgenInfo={description:"",displayName:"Footer",props:{}}}catch{}const O={title:"Components/Containers/Footer",component:a},B=[{icon:H,name:"Twitter"},{icon:G,name:"Facebook"},{icon:P,name:"Linkedin"},{icon:S,name:"Instagram"}];var h;const d={args:{children:[e.jsxs(a.Top,{children:[e.jsx(r,{className:"ams-visually-hidden",inverseColor:!0,children:"Colofon"}),e.jsxs(i,{gapVertical:"large",paddingVertical:"medium",children:[e.jsxs(i.Cell,{span:4,children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Meer weten"}),e.jsx(n,{children:["Veel gestelde vragen","Over ons","Werken bij","Kalender","Uit in Amsterdam","Bronnen"].map((s,l)=>e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:s},l))})]}),e.jsxs(i.Cell,{span:4,start:{narrow:1,medium:5,wide:5},children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Contact"}),e.jsx(c,{className:"ams-mb--xs",inverseColor:!0,size:"small",children:"Hebt u een vraag en kunt u het antwoord niet vinden op deze website? Neem dan contact met ons op."}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"mailto:redactie@amsterdam.nl",icon:z,inverseColor:!0,size:"small",children:"E-mail"}),e.jsx(n.Link,{href:"tel:+3114020",icon:b,inverseColor:!0,size:"small",children:"14 020"}),e.jsx(n.Link,{href:"#",icon:F,inverseColor:!0,size:"small",children:"Contactgegevens en openingstijden"})]})]}),e.jsxs(i.Cell,{span:4,start:{narrow:1,medium:1,wide:9},children:[e.jsxs("section",{className:"ams-mb--md",children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Nieuwsbrief"}),e.jsx(n,{children:e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Inschrijven"})})]}),e.jsxs("section",{children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Volg ons"}),e.jsx(n,{children:B.map(({name:s,icon:l})=>e.jsx(n.Link,{href:"#",icon:l,inverseColor:!0,size:"small",children:s},s))})]})]})]})]},"footer-top"),e.jsxs(a.Bottom,{children:[e.jsx(r,{className:"ams-visually-hidden",level:2,children:"Over deze website"}),e.jsx(i,{paddingVertical:"small",children:e.jsx(i.Cell,{span:"all",children:e.jsx(j,{children:(h=N.args)==null?void 0:h.children})})})]},"footer-bottom")]}};var p;const m={args:{children:[e.jsxs(a.Top,{children:[e.jsx(r,{className:"ams-visually-hidden",inverseColor:!0,children:"Colofon"}),e.jsxs(i,{gapVertical:"large",paddingVertical:"medium",children:[e.jsxs(i.Cell,{span:3,children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Contact"}),e.jsx(c,{className:"ams-mb--xs",size:"small",inverseColor:!0,children:"Heeft u een vraag en kunt u het antwoord niet vinden op deze site? Neem dan contact met ons op."}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"mailto:redactie.os@amsterdam.nl",icon:z,inverseColor:!0,size:"small",children:"E-mail"}),e.jsx(n.Link,{href:"tel:+31202510333",icon:b,inverseColor:!0,size:"small",children:"020 251 0333"})]})]}),e.jsxs(i.Cell,{span:3,start:{narrow:1,medium:5,wide:5},children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Panels en enquêtes"}),e.jsx(c,{className:"ams-mb--xs",inverseColor:!0,size:"small",children:"Bent u uitgenodigd om mee te doen aan onderzoek of heeft u vragen over het panel of stadspaspanel?"}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Meedoen aan onderzoek"}),e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Panel Amsterdam"}),e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Stadspaspanel Amsterdam"})]})]}),e.jsxs(i.Cell,{span:3,start:{narrow:1,medium:1,wide:9},children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Onderzoek en Statistiek"}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Over Onderzoek en Statistiek"}),e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Veelgestelde vragen"}),e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Nieuwsbrief"}),e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Vacatures"})]})]})]})]},"footer-top"),e.jsxs(a.Bottom,{children:[e.jsx(r,{className:"ams-visually-hidden",level:2,children:"Over deze website"}),e.jsx(i,{paddingVertical:"small",children:e.jsx(i.Cell,{span:"all",children:e.jsx(j,{children:(p=N.args)==null?void 0:p.children})})})]},"footer-bottom")]}};var k,g,u;d.parameters={...d.parameters,docs:{...(k=d.parameters)==null?void 0:k.docs,source:{originalSource:`{ args: { children: [ diff --git a/demo-DES-969-file-list-component/assets/FormErrorList.docs-Butow53p.js b/demo-DES-969-file-list-component/assets/FormErrorList.docs-DO6km1tZ.js similarity index 76% rename from demo-DES-969-file-list-component/assets/FormErrorList.docs-Butow53p.js rename to demo-DES-969-file-list-component/assets/FormErrorList.docs-DO6km1tZ.js index 1b487d9e46..c60d30f555 100644 --- a/demo-DES-969-file-list-component/assets/FormErrorList.docs-Butow53p.js +++ b/demo-DES-969-file-list-component/assets/FormErrorList.docs-DO6km1tZ.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,aq as s,ar as a,as as m}from"./index-CsbqyhR0.js";import{F as h}from"./FormErrorList.stories-m0oTgLw1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Alert-dZot25lM.js";import"./index.esm-CEthAr-Q.js";import"./Icon-D1obyjGa.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-C-A1ufmT.js";import"./LinkList-Hl4TNsYq.js";const l=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as i,aq as s,ar as a,as as m}from"./index-DEYBsmB_.js";import{F as h}from"./FormErrorList.stories-CS1U3SnV.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Alert-DX-WoWqK.js";import"./index.esm-Bz9pa_xK.js";import"./Icon-B4wlDyQ3.js";import"./Heading-Vg3KKL7T.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-Dm4nec53.js";import"./LinkList-DlaAvMMY.js";const l=` # Form Error List @@ -50,4 +50,4 @@ Pay extra attention to these parts: `,e.jsx(i,{of:h}),` `,e.jsx(s,{children:l}),` `,e.jsx(a,{}),` -`,e.jsx(m,{})]})}function G(t={}){const{wrapper:r}={...o(),...t.components};return r?e.jsx(r,{...t,children:e.jsx(n,{...t})}):n()}export{G as default}; +`,e.jsx(m,{})]})}function W(t={}){const{wrapper:r}={...o(),...t.components};return r?e.jsx(r,{...t,children:e.jsx(n,{...t})}):n()}export{W as default}; diff --git a/demo-DES-969-file-list-component/assets/FormErrorList.stories-m0oTgLw1.js b/demo-DES-969-file-list-component/assets/FormErrorList.stories-CS1U3SnV.js similarity index 57% rename from demo-DES-969-file-list-component/assets/FormErrorList.stories-m0oTgLw1.js rename to demo-DES-969-file-list-component/assets/FormErrorList.stories-CS1U3SnV.js index 3140cdf3ec..acb3c6ef97 100644 --- a/demo-DES-969-file-list-component/assets/FormErrorList.stories-m0oTgLw1.js +++ b/demo-DES-969-file-list-component/assets/FormErrorList.stories-CS1U3SnV.js @@ -1,5 +1,5 @@ -import{j as i}from"./jsx-runtime-j_jdvEMj.js";import{r as t}from"./index-B-o1Wr-g.js";import{c as F}from"./clsx-B-dksMZM.js";import{A as L}from"./Alert-dZot25lM.js";import{L as h}from"./LinkList-Hl4TNsYq.js";const l=t.forwardRef(({className:e,errors:o,focusOnRender:r=!0,hasFocusedOnce:n,heading:d="Verbeter de fouten voor u verder gaat",headingLevel:c=2,setHasFocusedOnce:y,...E},_)=>{const a=t.useRef(null);return t.useImperativeHandle(_,()=>a.current),t.useEffect(()=>{a.current&&r&&!n&&(a.current.focus(),y(!0))},[a]),i.jsx(L,{...E,className:F("ams-form-error-list",e),heading:d,headingLevel:c,ref:a,severity:"error",tabIndex:-1,children:i.jsx(h,{children:o.map(({id:m,label:f})=>i.jsx(h.Link,{href:m,children:f},`${m}-${f}`))})})});l.displayName="FormErrorListWithErrors";try{l.displayName="FormErrorListWithErrors",l.__docgenInfo={description:"",displayName:"FormErrorListWithErrors",props:{heading:{defaultValue:{value:"Verbeter de fouten voor u verder gaat"},description:"The text for the Heading.",name:"heading",required:!1,type:{name:"string"}},errors:{defaultValue:null,description:"The list of error messages to display.",name:"errors",required:!0,type:{name:"FormError[]"}},focusOnRender:{defaultValue:{value:"true"},description:"Whether the component receives focus on first render",name:"focusOnRender",required:!1,type:{name:"boolean"}},headingLevel:{defaultValue:{value:"2"},description:`The hierarchical level of the Heading within the document. -Note: this intentionally does not change the font size.`,name:"headingLevel",required:!1,type:{name:"enum",value:[{value:"1"},{value:"2"},{value:"3"},{value:"4"}]}},hasFocusedOnce:{defaultValue:null,description:"Whether the component has set focus once.",name:"hasFocusedOnce",required:!0,type:{name:"boolean"}},setHasFocusedOnce:{defaultValue:null,description:"Callback to let parent component know whether focus has been set once.",name:"setHasFocusedOnce",required:!0,type:{name:"Dispatch>"}}}}}catch{}const b=(e,o={plural:"invoerfouten",singular:"invoerfout"})=>{const[r,n]=t.useState();return t.useEffect(()=>{n(document.title)},[]),r&&(e.length===1?document.title=`(${e.length} ${o.singular}) ${r}`:e.length>1?document.title=`(${e.length} ${o.plural}) ${r}`:document.title=r),null},u=t.forwardRef(({errors:e,errorCountLabel:o,...r},n)=>{b(e,o);const[d,c]=t.useState(!1);if(e.length!==0)return i.jsx(l,{...r,errors:e,hasFocusedOnce:d,ref:n,setHasFocusedOnce:c})});u.displayName="FormErrorList";try{u.displayName="FormErrorList",u.__docgenInfo={description:"",displayName:"FormErrorList",props:{errorCountLabel:{defaultValue:{value:"{ plural: 'invoerfouten', singular: 'invoerfout' }"},description:`The text following the error count. +import{j as i}from"./jsx-runtime-BjgbQsUx.js";import{r as t}from"./index-RigO-4kf.js";import{c as F}from"./clsx-B-dksMZM.js";import{A as L}from"./Alert-DX-WoWqK.js";import{L as h}from"./LinkList-DlaAvMMY.js";const l=t.forwardRef(({className:e,errors:o,focusOnRender:r=!0,hasFocusedOnce:n,heading:d="Verbeter de fouten voor u verder gaat",headingLevel:c=2,setHasFocusedOnce:y,...E},_)=>{const a=t.useRef(null);return t.useImperativeHandle(_,()=>a.current),t.useEffect(()=>{a.current&&r&&!n&&(a.current.focus(),y(!0))},[a]),i.jsx(L,{...E,className:F("ams-form-error-list",e),heading:d,headingLevel:c,ref:a,severity:"error",tabIndex:-1,children:i.jsx(h,{children:o.map(({id:m,label:f})=>i.jsx(h.Link,{href:m,children:f},`${m}-${f}`))})})});l.displayName="FormErrorListWithErrors";try{l.displayName="FormErrorListWithErrors",l.__docgenInfo={description:"",displayName:"FormErrorListWithErrors",props:{heading:{defaultValue:{value:"Verbeter de fouten voor u verder gaat"},description:"The text for the Heading.",name:"heading",required:!1,type:{name:"string"}},headingLevel:{defaultValue:{value:"2"},description:`The hierarchical level of the Heading within the document. +Note: this intentionally does not change the font size.`,name:"headingLevel",required:!1,type:{name:"enum",value:[{value:"1"},{value:"2"},{value:"3"},{value:"4"}]}},errors:{defaultValue:null,description:"The list of error messages to display.",name:"errors",required:!0,type:{name:"FormError[]"}},focusOnRender:{defaultValue:{value:"true"},description:"Whether the component receives focus on first render",name:"focusOnRender",required:!1,type:{name:"boolean"}},hasFocusedOnce:{defaultValue:null,description:"Whether the component has set focus once.",name:"hasFocusedOnce",required:!0,type:{name:"boolean"}},setHasFocusedOnce:{defaultValue:null,description:"Callback to let parent component know whether focus has been set once.",name:"setHasFocusedOnce",required:!0,type:{name:"Dispatch>"}}}}}catch{}const b=(e,o={plural:"invoerfouten",singular:"invoerfout"})=>{const[r,n]=t.useState();return t.useEffect(()=>{n(document.title)},[]),r&&(e.length===1?document.title=`(${e.length} ${o.singular}) ${r}`:e.length>1?document.title=`(${e.length} ${o.plural}) ${r}`:document.title=r),null},u=t.forwardRef(({errors:e,errorCountLabel:o,...r},n)=>{b(e,o);const[d,c]=t.useState(!1);if(e.length!==0)return i.jsx(l,{...r,errors:e,hasFocusedOnce:d,ref:n,setHasFocusedOnce:c})});u.displayName="FormErrorList";try{u.displayName="FormErrorList",u.__docgenInfo={description:"",displayName:"FormErrorList",props:{errorCountLabel:{defaultValue:{value:"{ plural: 'invoerfouten', singular: 'invoerfout' }"},description:`The text following the error count. This is used to show the error count in the document title.`,name:"errorCountLabel",required:!1,type:{name:"{ plural: string; singular: string; }"}},errors:{defaultValue:null,description:"The list of error messages to display.",name:"errors",required:!0,type:{name:"FormError[]"}},focusOnRender:{defaultValue:{value:"true"},description:"Whether the component receives focus on first render",name:"focusOnRender",required:!1,type:{name:"boolean"}},heading:{defaultValue:{value:"Verbeter de fouten voor u verder gaat"},description:"The text for the Heading.",name:"heading",required:!1,type:{name:"string"}},headingLevel:{defaultValue:{value:"2"},description:`The hierarchical level of the Heading within the document. Note: this intentionally does not change the font size.`,name:"headingLevel",required:!1,type:{name:"enum",value:[{value:"1"},{value:"2"},{value:"3"},{value:"4"}]}}}}}catch{}/** * @license EUPL-1.2+ diff --git a/demo-DES-969-file-list-component/assets/FormPage.docs-BQT1U4Rd.js b/demo-DES-969-file-list-component/assets/FormPage.docs-BQT1U4Rd.js new file mode 100644 index 0000000000..d924e888fc --- /dev/null +++ b/demo-DES-969-file-list-component/assets/FormPage.docs-BQT1U4Rd.js @@ -0,0 +1,5 @@ +import{j as o}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as i}from"./index-3rgQkYFR.js";import{ae as e}from"./index-DEYBsmB_.js";import{F as p}from"./FormPage.stories-C88kNhb1.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./config-D232Weh9.js";import"./PageMenu.stories-DCbTKHnl.js";import"./Icon-B4wlDyQ3.js";import"./Footer.stories-DmuyQWO8.js";import"./Spotlight-CVxUBei2.js";/*@license CC0-1.0*/function m(t){const r={h1:"h1",p:"p",...i(),...t.components};return o.jsxs(o.Fragment,{children:[` +`,` +`,o.jsx(e,{of:p}),` +`,o.jsx(r.h1,{id:"form-page",children:"Form page"}),` +`,o.jsx(r.p,{children:"This simple example presents various types of fields."})]})}function E(t={}){const{wrapper:r}={...i(),...t.components};return r?o.jsx(r,{...t,children:o.jsx(m,{...t})}):m(t)}export{E as default}; diff --git a/demo-DES-969-file-list-component/assets/FormPage.docs-C78RVhxp.js b/demo-DES-969-file-list-component/assets/FormPage.docs-C78RVhxp.js deleted file mode 100644 index 7450125e3e..0000000000 --- a/demo-DES-969-file-list-component/assets/FormPage.docs-C78RVhxp.js +++ /dev/null @@ -1,5 +0,0 @@ -import{j as o}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as e}from"./index-CsbqyhR0.js";import{F as n}from"./FormPage.stories-BsGPdQ8M.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./config-5U6UpIzk.js";import"./PageMenu.stories-CMbLUYFI.js";import"./Icon-D1obyjGa.js";import"./Footer.stories-DPK9ujK1.js";import"./Spotlight-DZdLn00J.js";/*@license CC0-1.0*/function m(t){const r={h1:"h1",p:"p",...i(),...t.components};return o.jsxs(o.Fragment,{children:[` -`,` -`,o.jsx(e,{of:n}),` -`,o.jsx(r.h1,{id:"form-page",children:"Form page"}),` -`,o.jsx(r.p,{children:"This simple example presents various types of fields."})]})}function w(t={}){const{wrapper:r}={...i(),...t.components};return r?o.jsx(r,{...t,children:o.jsx(m,{...t})}):m(t)}export{w as default}; diff --git a/demo-DES-969-file-list-component/assets/FormPage.stories-BsGPdQ8M.js b/demo-DES-969-file-list-component/assets/FormPage.stories-C88kNhb1.js similarity index 91% rename from demo-DES-969-file-list-component/assets/FormPage.stories-BsGPdQ8M.js rename to demo-DES-969-file-list-component/assets/FormPage.stories-C88kNhb1.js index 8be6a86f52..fbdea43fa4 100644 --- a/demo-DES-969-file-list-component/assets/FormPage.stories-BsGPdQ8M.js +++ b/demo-DES-969-file-list-component/assets/FormPage.stories-C88kNhb1.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as d,i as m,H as g,e as a,f as n,P as l,j as v,k as b,F as c,C as f,T as s,R as o,l as y,m as t,n as w,a as F}from"./index.esm-Dojcg4AG.js";import{r as C}from"./index-B-o1Wr-g.js";import{c as D}from"./config-5U6UpIzk.js";const S=()=>{const[u,p]=C.useState(0);return e.jsx(d,{paddingTop:"small",paddingBottom:"medium",children:e.jsxs(d.Cell,{span:{narrow:4,medium:6,wide:8},start:{narrow:1,medium:2,wide:3},children:[e.jsx(m,{children:e.jsx(m.Link,{children:"Home"})}),e.jsx(g,{className:"ams-mb--md",children:"Contact"}),e.jsxs("form",{className:"ams-gap--md",id:"main",onSubmit:i=>i.preventDefault(),children:[e.jsxs(a,{children:[e.jsx(n,{htmlFor:"body",children:"Wat wilt u aan de gemeente vragen?"}),e.jsx(l,{id:"bodyDescription",size:"small",children:"Een duidelijke beschrijving van uw vraag helpt ons bij het behandelen."}),e.jsx(v,{"aria-describedby":"bodyDescription",id:"body",onChange:i=>p(i.target.value.length),rows:4}),e.jsx(b,{length:u,maxLength:1e3})]}),e.jsx(c,{"aria-describedby":"contactDetailsDescription",legend:"Wat zijn uw gegevens?",children:e.jsxs(f,{gap:"small",children:[e.jsx(l,{id:"contactDetailsDescription",children:"Wij hebben uw gegevens nodig om contact met u te kunnen opnemen."}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"initials",children:"Voorletters"}),e.jsx(s,{id:"initials",name:"initials"})]}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"familyName",children:"Achternaam"}),e.jsx(s,{autoComplete:"family-name",id:"familyName",name:"familyName"})]}),e.jsxs(c,{legend:"Woonplaats",children:[e.jsx(o,{name:"city",value:"amsterdam",children:"Amsterdam"}),e.jsx(o,{name:"city",value:"weesp",children:"Weesp"}),e.jsx(o,{name:"city",value:"anders",children:"Anders"})]}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"email",children:"E-mail"}),e.jsx(s,{autoComplete:"email",id:"email",name:"email"})]}),e.jsxs(y,{wrap:!0,children:[e.jsxs(a,{children:[e.jsx(n,{htmlFor:"countryCode",children:"Landnummer"}),e.jsxs(t,{id:"countryCode",name:"countryCode",children:[e.jsx(t.Option,{value:"+31",children:"Nederland +31"}),e.jsx(t.Option,{value:"+32",children:"België +32"}),e.jsx(t.Option,{value:"+33",children:"Frankrijk +33"})]})]}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"phone",children:"Telefoonnummer"}),e.jsx(s,{autoComplete:"tel",id:"phone",name:"phone"})]})]})]})}),e.jsx(w,{severity:"info",children:e.jsx(l,{children:"We bewaren uw contactgegevens voor het afhandelen van uw vraag of klacht en het verbeteren van onze dienstverlening."})}),e.jsx("div",{children:e.jsx(F,{type:"submit",children:"Versturen"})})]})]})})};/** +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{G as d,i as m,H as g,e as a,f as n,P as l,j as v,k as b,F as c,C as f,T as s,R as o,l as y,m as t,n as w,a as F}from"./index.esm-CEzKrmam.js";import{r as C}from"./index-RigO-4kf.js";import{c as D}from"./config-D232Weh9.js";const S=()=>{const[u,p]=C.useState(0);return e.jsx(d,{paddingTop:"small",paddingBottom:"medium",children:e.jsxs(d.Cell,{span:{narrow:4,medium:6,wide:8},start:{narrow:1,medium:2,wide:3},children:[e.jsx(m,{children:e.jsx(m.Link,{children:"Home"})}),e.jsx(g,{className:"ams-mb--md",children:"Contact"}),e.jsxs("form",{className:"ams-gap--md",id:"main",onSubmit:i=>i.preventDefault(),children:[e.jsxs(a,{children:[e.jsx(n,{htmlFor:"body",children:"Wat wilt u aan de gemeente vragen?"}),e.jsx(l,{id:"bodyDescription",size:"small",children:"Een duidelijke beschrijving van uw vraag helpt ons bij het behandelen."}),e.jsx(v,{"aria-describedby":"bodyDescription",id:"body",onChange:i=>p(i.target.value.length),rows:4}),e.jsx(b,{length:u,maxLength:1e3})]}),e.jsx(c,{"aria-describedby":"contactDetailsDescription",legend:"Wat zijn uw gegevens?",children:e.jsxs(f,{gap:"small",children:[e.jsx(l,{id:"contactDetailsDescription",children:"Wij hebben uw gegevens nodig om contact met u te kunnen opnemen."}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"initials",children:"Voorletters"}),e.jsx(s,{id:"initials",name:"initials"})]}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"familyName",children:"Achternaam"}),e.jsx(s,{autoComplete:"family-name",id:"familyName",name:"familyName"})]}),e.jsxs(c,{legend:"Woonplaats",children:[e.jsx(o,{name:"city",value:"amsterdam",children:"Amsterdam"}),e.jsx(o,{name:"city",value:"weesp",children:"Weesp"}),e.jsx(o,{name:"city",value:"anders",children:"Anders"})]}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"email",children:"E-mail"}),e.jsx(s,{autoComplete:"email",id:"email",name:"email"})]}),e.jsxs(y,{wrap:!0,children:[e.jsxs(a,{children:[e.jsx(n,{htmlFor:"countryCode",children:"Landnummer"}),e.jsxs(t,{id:"countryCode",name:"countryCode",children:[e.jsx(t.Option,{value:"+31",children:"Nederland +31"}),e.jsx(t.Option,{value:"+32",children:"België +32"}),e.jsx(t.Option,{value:"+33",children:"Frankrijk +33"})]})]}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"phone",children:"Telefoonnummer"}),e.jsx(s,{autoComplete:"tel",id:"phone",name:"phone"})]})]})]})}),e.jsx(w,{severity:"info",children:e.jsx(l,{children:"We bewaren uw contactgegevens voor het afhandelen van uw vraag of klacht en het verbeteren van onze dienstverlening."})}),e.jsx("div",{children:e.jsx(F,{type:"submit",children:"Versturen"})})]})]})})};/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const k={...D,title:"Pages/Amsterdam.nl/Form Page",component:S},r={};var h,j,x;r.parameters={...r.parameters,docs:{...(h=r.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(x=(j=r.parameters)==null?void 0:j.docs)==null?void 0:x.source}}};const T=["Default"],P=Object.freeze(Object.defineProperty({__proto__:null,Default:r,__namedExportsOrder:T,default:k},Symbol.toStringTag,{value:"Module"}));export{P as F}; diff --git a/demo-DES-969-file-list-component/assets/Gap.docs-BboShyTB.js b/demo-DES-969-file-list-component/assets/Gap.docs-F7dBIzWz.js similarity index 72% rename from demo-DES-969-file-list-component/assets/Gap.docs-BboShyTB.js rename to demo-DES-969-file-list-component/assets/Gap.docs-F7dBIzWz.js index 19ffdb5cb1..03576e82f4 100644 --- a/demo-DES-969-file-list-component/assets/Gap.docs-BboShyTB.js +++ b/demo-DES-969-file-list-component/assets/Gap.docs-F7dBIzWz.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as o,aq as i,ar as r,as as m}from"./index-CsbqyhR0.js";import{G as p}from"./Gap.stories-BEY17Q4-.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const l=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as t}from"./index-3rgQkYFR.js";import{ae as o,aq as i,ar as r,as as m}from"./index-DEYBsmB_.js";import{G as p}from"./Gap.stories-BfFJqu0m.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const l=` # Gap @@ -31,4 +31,4 @@ The five sizes of [Component Space](/docs/brand-design-tokens-space--docs) are a `,e.jsx(o,{of:p}),` `,e.jsx(i,{children:l}),` `,e.jsx(r,{}),` -`,e.jsx(m,{})]})}function z(s={}){const{wrapper:a}={...t(),...s.components};return a?e.jsx(a,{...s,children:e.jsx(n,{...s})}):n()}export{z as default}; +`,e.jsx(m,{})]})}function G(s={}){const{wrapper:a}={...t(),...s.components};return a?e.jsx(a,{...s,children:e.jsx(n,{...s})}):n()}export{G as default}; diff --git a/demo-DES-969-file-list-component/assets/Gap.stories-BEY17Q4-.js b/demo-DES-969-file-list-component/assets/Gap.stories-BfFJqu0m.js similarity index 92% rename from demo-DES-969-file-list-component/assets/Gap.stories-BEY17Q4-.js rename to demo-DES-969-file-list-component/assets/Gap.stories-BfFJqu0m.js index c09ab20d92..d98ebd3d2d 100644 --- a/demo-DES-969-file-list-component/assets/Gap.stories-BEY17Q4-.js +++ b/demo-DES-969-file-list-component/assets/Gap.stories-BfFJqu0m.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as s}from"./index.esm-Dojcg4AG.js";/** +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{P as s}from"./index.esm-CEzKrmam.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const t=({children:r,size:l})=>e.jsx("span",{className:`ams-gap--${l}`,children:r});try{t.displayName="Gap",t.__docgenInfo={description:"Renders examples in Storybook. Not for reuse.",displayName:"Gap",props:{size:{defaultValue:null,description:"The amount of space between the element’s children.",name:"size",required:!0,type:{name:"enum",value:[{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'}]}}}}}catch{}const c=({size:r})=>e.jsxs("div",{className:`ams-gap--${r}`,children:[e.jsx(s,{children:"These paragraphs are separated by a gap."}),e.jsx(s,{children:"These paragraphs are separated by a gap."}),e.jsx(s,{children:"These paragraphs are separated by a gap."})]}),d={title:"Utilities/CSS/Gap",component:t,args:{size:"xs"}},a={render:c};var o,p,n;a.parameters={...a.parameters,docs:{...(o=a.parameters)==null?void 0:o.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/Grid.docs-BJ03sQ82.js b/demo-DES-969-file-list-component/assets/Grid.docs-BeB-B99n.js similarity index 88% rename from demo-DES-969-file-list-component/assets/Grid.docs-BJ03sQ82.js rename to demo-DES-969-file-list-component/assets/Grid.docs-BeB-B99n.js index 371f14906e..0be181d372 100644 --- a/demo-DES-969-file-list-component/assets/Grid.docs-BJ03sQ82.js +++ b/demo-DES-969-file-list-component/assets/Grid.docs-BeB-B99n.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as a,aq as r,ar as l,as as d,at as s}from"./index-CsbqyhR0.js";import{G as c,V as h,a as p,S as m,b as u,c as x,d as g,I as w}from"./Grid.stories-CUEAL2os.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./paddingClasses-C5gheHLv.js";const j=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as i}from"./index-3rgQkYFR.js";import{ae as a,aq as r,ar as l,as as d,at as s}from"./index-DEYBsmB_.js";import{G as c,V as h,a as p,S as m,b as u,c as x,d as g,I as w}from"./Grid.stories-bmYGHC93.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./paddingClasses-C5gheHLv.js";const j=` # Grid @@ -71,4 +71,4 @@ Use the `,e.jsx(n.code,{children:"as"})," prop on either to make your markup mor `,e.jsx(n.li,{children:"The same applies to starting a cell in a later column."}),` `,e.jsx(n.li,{children:`If the total of both values is too large, the browser adds columns to the grid. This is not allowed.`}),` -`]})]})}function U(o={}){const{wrapper:n}={...i(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(t,{...o})}):t(o)}export{U as default}; +`]})]})}function V(o={}){const{wrapper:n}={...i(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(t,{...o})}):t(o)}export{V as default}; diff --git a/demo-DES-969-file-list-component/assets/Grid.stories-CUEAL2os.js b/demo-DES-969-file-list-component/assets/Grid.stories-bmYGHC93.js similarity index 98% rename from demo-DES-969-file-list-component/assets/Grid.stories-CUEAL2os.js rename to demo-DES-969-file-list-component/assets/Grid.stories-bmYGHC93.js index 72f575fc0b..bace742084 100644 --- a/demo-DES-969-file-list-component/assets/Grid.stories-CUEAL2os.js +++ b/demo-DES-969-file-list-component/assets/Grid.stories-bmYGHC93.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{c as H}from"./clsx-B-dksMZM.js";import{r as $}from"./index-B-o1Wr-g.js";import{g as W,p as X}from"./paddingClasses-C5gheHLv.js";const z=$.forwardRef(({as:a="div",children:l,className:g,span:u,start:v,...f},y)=>e.jsx(a,{...f,ref:y,className:H("ams-grid__cell",W(u,v),g),children:l}));z.displayName="Grid.Cell";try{Grid.Cell.displayName="Grid.Cell",Grid.Cell.__docgenInfo={description:"",displayName:"Grid.Cell",props:{as:{defaultValue:null,description:"The HTML tag to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"main"'},{value:'"div"'},{value:'"section"'},{value:'"aside"'},{value:'"footer"'},{value:'"header"'},{value:'"nav"'}]}},span:{defaultValue:null,description:`Lets the cell span the full width of all grid variants. +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{c as H}from"./clsx-B-dksMZM.js";import{r as $}from"./index-RigO-4kf.js";import{g as W,p as X}from"./paddingClasses-C5gheHLv.js";const z=$.forwardRef(({as:a="div",children:l,className:g,span:u,start:v,...f},y)=>e.jsx(a,{...f,ref:y,className:H("ams-grid__cell",W(u,v),g),children:l}));z.displayName="Grid.Cell";try{Grid.Cell.displayName="Grid.Cell",Grid.Cell.__docgenInfo={description:"",displayName:"Grid.Cell",props:{as:{defaultValue:null,description:"The HTML tag to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"main"'},{value:'"div"'},{value:'"section"'},{value:'"aside"'},{value:'"footer"'},{value:'"header"'},{value:'"nav"'}]}},span:{defaultValue:null,description:`Lets the cell span the full width of all grid variants. The amount of grid columns the cell spans.`,name:"span",required:!1,type:{name:'"all" | GridColumnNumber | GridColumnNumbers'}},start:{defaultValue:null,description:"The index of the grid column the cell starts at.",name:"start",required:!1,type:{name:"GridColumnNumber | GridColumnNumbers"}}}}}catch{}const J=$.forwardRef(({as:a="div",children:l,className:g,gapVertical:u,paddingBottom:v,paddingTop:f,paddingVertical:y,...Q},U)=>e.jsx(a,{...Q,ref:U,className:H("ams-grid",u&&`ams-grid--gap-vertical--${u}`,X("grid",v,f,y),g),children:l}));J.displayName="Grid";const s=Object.assign(J,{Cell:z});try{s.displayName="Grid",s.__docgenInfo={description:"",displayName:"Grid",props:{as:{defaultValue:null,description:"The HTML tag to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"main"'},{value:'"div"'},{value:'"section"'},{value:'"aside"'},{value:'"footer"'},{value:'"header"'},{value:'"nav"'}]}},gapVertical:{defaultValue:null,description:"The amount of space between rows.",name:"gapVertical",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"small"'},{value:'"large"'}]}},paddingBottom:{defaultValue:null,description:"The amount of space below.",name:"paddingBottom",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"medium"'}]}},paddingTop:{defaultValue:null,description:"The amount of space above.",name:"paddingTop",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"medium"'}]}},paddingVertical:{defaultValue:null,description:"The amount of space above and below.",name:"paddingVertical",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"medium"'}]}}}}}catch{}const Y={title:"Components/Layout/Grid",component:s,args:{gapVertical:void 0,paddingVertical:"medium"},argTypes:{className:{table:{disable:!0}},gapVertical:{control:{type:"radio",labels:{none:"none",small:"small",undefined:"medium",large:"large"}},options:["none","small",void 0,"large"]},paddingVertical:{control:{type:"radio",labels:{undefined:"none",small:"small",medium:"medium",large:"large"}},options:[void 0,"small","medium","large"]},paddingTop:{control:{type:"radio",labels:{undefined:"none",small:"small",medium:"medium",large:"large"}},options:[void 0,"small","medium","large"]},paddingBottom:{control:{type:"radio",labels:{undefined:"none",small:"small",medium:"medium",large:"large"}},options:[void 0,"small","medium","large"]}},parameters:{layout:"fullscreen"}};s.Cell;const K=()=>e.jsx(s,{className:"ams-docs-grid",children:Array.from(Array(12).keys()).map(a=>e.jsx(s.Cell,{className:"ams-docs-grid__cell"},a))}),C={decorators:[a=>e.jsxs(e.Fragment,{children:[e.jsx(K,{}),e.jsx(a,{})]})]},p={decorators:[a=>e.jsxs(e.Fragment,{children:[e.jsx(K,{}),e.jsx(s,{paddingVertical:"medium",children:e.jsx(a,{})})]})],render:({children:a,...l})=>e.jsx(s.Cell,{...l,children:a})},r={...C},n={...C,args:{children:e.jsx(s.Cell,{className:"ams-docs-item",span:"all"})}},o={...C,args:{children:[e.jsx(s.Cell,{className:"ams-docs-item",span:"all"},1),e.jsx(s.Cell,{className:"ams-docs-item",span:"all"},2)],gapVertical:"small"}},t={...p,args:{children:e.jsx("div",{className:"ams-docs-item"}),span:4}},m={...p,args:{children:e.jsx("div",{className:"ams-docs-item"}),span:{narrow:4,medium:6,wide:8}}},i={...p,args:{children:e.jsx("div",{className:"ams-docs-item"}),span:"all"}},d={...p,args:{children:e.jsx("div",{className:"ams-docs-item"}),span:3,start:{narrow:2,medium:4,wide:6}}},c={...p,args:{as:"section"},render:({as:a})=>e.jsx(s.Cell,{as:a,span:"all",children:e.jsx("div",{className:"ams-docs-item"})})};var h,S,N;r.parameters={...r.parameters,docs:{...(h=r.parameters)==null?void 0:h.docs,source:{originalSource:`{ ...StoryTemplate }`,...(N=(S=r.parameters)==null?void 0:S.docs)==null?void 0:N.source}}};var x,G,j;n.parameters={...n.parameters,docs:{...(x=n.parameters)==null?void 0:x.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/Header.docs-CdrjFW4R.js b/demo-DES-969-file-list-component/assets/Header.docs-Z9Ii3K9f.js similarity index 74% rename from demo-DES-969-file-list-component/assets/Header.docs-CdrjFW4R.js rename to demo-DES-969-file-list-component/assets/Header.docs-Z9Ii3K9f.js index be57653323..a2daf8f4e8 100644 --- a/demo-DES-969-file-list-component/assets/Header.docs-CdrjFW4R.js +++ b/demo-DES-969-file-list-component/assets/Header.docs-Z9Ii3K9f.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as r,ar as m,as as h,at as t}from"./index-CsbqyhR0.js";import{H as d,F as p,W as u,a as l,b as c,c as f,d as x,e as g}from"./Header.stories-p-07mzkS.js";import{S as j}from"./StatusBadge-_VA1BtQE.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./Logo-BnxYOw7m.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";import"./Badge-Cg5Q2pVP.js";const w=` +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as s,aq as r,ar as m,as as h,at as t}from"./index-DEYBsmB_.js";import{H as d,F as p,W as u,a as l,b as c,c as f,d as x,e as g}from"./Header.stories-Xiqacsfw.js";import{S as j}from"./StatusBadge-DiE14TfE.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./Logo-BazI2ckd.js";import"./Heading-Vg3KKL7T.js";import"./getHeadingTag-Dv1eMqvl.js";import"./Badge-BvbF-Lgn.js";const w=` # Header @@ -44,4 +44,4 @@ A Page Menu in the Header should not wrap.`]}),` `,n.jsx(e.h3,{id:"with-app-name-and-menu-button",children:"With app name and menu button"}),` `,n.jsx(t,{of:x}),` `,n.jsx(e.h3,{id:"with-app-name-links-and-menu-button",children:"With app name, links and menu button"}),` -`,n.jsx(t,{of:g})]})}function P(a={}){const{wrapper:e}={...o(),...a.components};return e?n.jsx(e,{...a,children:n.jsx(i,{...a})}):i(a)}export{P as default}; +`,n.jsx(t,{of:g})]})}function X(a={}){const{wrapper:e}={...o(),...a.components};return e?n.jsx(e,{...a,children:n.jsx(i,{...a})}):i(a)}export{X as default}; diff --git a/demo-DES-969-file-list-component/assets/Header.stories-p-07mzkS.js b/demo-DES-969-file-list-component/assets/Header.stories-Xiqacsfw.js similarity index 95% rename from demo-DES-969-file-list-component/assets/Header.stories-p-07mzkS.js rename to demo-DES-969-file-list-component/assets/Header.stories-Xiqacsfw.js index 0a79acc4d4..7b68e0d9a9 100644 --- a/demo-DES-969-file-list-component/assets/Header.stories-p-07mzkS.js +++ b/demo-DES-969-file-list-component/assets/Header.stories-Xiqacsfw.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{c as a}from"./index.esm-Dojcg4AG.js";import{j as c}from"./index.esm-CEthAr-Q.js";import{c as z}from"./clsx-B-dksMZM.js";import{r as O}from"./index-B-o1Wr-g.js";import{L as U}from"./Logo-BnxYOw7m.js";import{H as J}from"./Heading-BMR-3CH3.js";const u=O.forwardRef(({appName:l,className:V,links:p,logoBrand:Z="amsterdam",logoLink:D="/",logoLinkTitle:F="Ga naar de homepage",menu:g,...I},R)=>e.jsx(e.Fragment,{children:e.jsxs("header",{...I,ref:R,className:z("ams-header",V),children:[e.jsxs("a",{href:D,className:"ams-header__logo-link",children:[e.jsx("span",{className:"ams-visually-hidden",children:F}),e.jsx(U,{brand:Z})]}),p&&e.jsx("div",{className:"ams-header__links",children:p}),g&&e.jsx("div",{className:"ams-header__menu",children:g}),l&&e.jsx("div",{className:"ams-header__app-name",children:e.jsx(J,{level:1,size:"level-3",className:"ams-header__app-name-heading",children:l})})]})}));u.displayName="Header";try{u.displayName="Header",u.__docgenInfo={description:"",displayName:"Header",props:{appName:{defaultValue:null,description:"The name of the application.",name:"appName",required:!1,type:{name:"string"}},links:{defaultValue:null,description:"The list of menu links. Use a Page Menu here.",name:"links",required:!1,type:{name:"ReactNode"}},logoBrand:{defaultValue:{value:"amsterdam"},description:"The name of the brand for which to display the logo.",name:"logoBrand",required:!1,type:{name:"enum",value:[{value:'"amsterdam"'},{value:'"ggd-amsterdam"'},{value:'"museum-weesp"'},{value:'"stadsarchief"'},{value:'"stadsbank-van-lening"'},{value:'"vga-verzekeringen"'}]}},logoLink:{defaultValue:{value:"/"},description:"The url for the link on the logo.",name:"logoLink",required:!1,type:{name:"string"}},logoLinkTitle:{defaultValue:{value:"Ga naar de homepage"},description:"The accessible text for the link on the logo.",name:"logoLinkTitle",required:!1,type:{name:"string"}},menu:{defaultValue:null,description:"A button to toggle the visibility of a Mega Menu.",name:"menu",required:!1,type:{name:"ReactNode"}}}}}catch{}const K={title:"Components/Containers/Header",component:u},n={},r={args:{logoBrand:"ggd-amsterdam",logoLink:"https://www.ggd.amsterdam.nl/",logoLinkTitle:"Naar de homepage van de GGD Amsterdam"}},s={args:{appName:"Aan de Amsterdamse grachten"}},t={args:{links:e.jsxs(a,{alignEnd:!0,wrap:!1,children:[e.jsx(a.Link,{href:"#",children:"Contact"}),e.jsx(a.Link,{href:"#",children:"Mijn Amsterdam"}),e.jsx(a.Link,{href:"#",icon:c,children:"Zoeken"})]})}},o={args:{menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}},i={args:{links:e.jsxs(a,{alignEnd:!0,wrap:!1,children:[e.jsx(a.Link,{href:"#",children:"Contact"}),e.jsx(a.Link,{href:"#",children:"Mijn Amsterdam"}),e.jsx(a.Link,{href:"#",icon:c,children:"Zoeken"})]}),menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}},m={args:{appName:"Aan de Amsterdamse grachten",menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}},d={args:{appName:"Aan de Amsterdamse grachten",links:e.jsxs(a,{alignEnd:!0,wrap:!1,children:[e.jsx(a.Link,{href:"#",children:"Contact"}),e.jsx(a.Link,{href:"#",children:"Mijn Amsterdam"}),e.jsx(a.Link,{href:"#",icon:c,children:"Zoeken"})]}),menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}};var h,k,f;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(f=(k=n.parameters)==null?void 0:k.docs)==null?void 0:f.source}}};var M,L,_;r.parameters={...r.parameters,docs:{...(M=r.parameters)==null?void 0:M.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{c as a}from"./index.esm-CEzKrmam.js";import{j as c}from"./index.esm-Bz9pa_xK.js";import{c as z}from"./clsx-B-dksMZM.js";import{r as O}from"./index-RigO-4kf.js";import{L as U}from"./Logo-BazI2ckd.js";import{H as J}from"./Heading-Vg3KKL7T.js";const u=O.forwardRef(({appName:l,className:V,links:p,logoBrand:Z="amsterdam",logoLink:D="/",logoLinkTitle:F="Ga naar de homepage",menu:g,...I},R)=>e.jsx(e.Fragment,{children:e.jsxs("header",{...I,ref:R,className:z("ams-header",V),children:[e.jsxs("a",{href:D,className:"ams-header__logo-link",children:[e.jsx("span",{className:"ams-visually-hidden",children:F}),e.jsx(U,{brand:Z})]}),p&&e.jsx("div",{className:"ams-header__links",children:p}),g&&e.jsx("div",{className:"ams-header__menu",children:g}),l&&e.jsx("div",{className:"ams-header__app-name",children:e.jsx(J,{level:1,size:"level-3",className:"ams-header__app-name-heading",children:l})})]})}));u.displayName="Header";try{u.displayName="Header",u.__docgenInfo={description:"",displayName:"Header",props:{appName:{defaultValue:null,description:"The name of the application.",name:"appName",required:!1,type:{name:"string"}},links:{defaultValue:null,description:"The list of menu links. Use a Page Menu here.",name:"links",required:!1,type:{name:"ReactNode"}},logoBrand:{defaultValue:{value:"amsterdam"},description:"The name of the brand for which to display the logo.",name:"logoBrand",required:!1,type:{name:"enum",value:[{value:'"amsterdam"'},{value:'"ggd-amsterdam"'},{value:'"museum-weesp"'},{value:'"stadsarchief"'},{value:'"stadsbank-van-lening"'},{value:'"vga-verzekeringen"'}]}},logoLink:{defaultValue:{value:"/"},description:"The url for the link on the logo.",name:"logoLink",required:!1,type:{name:"string"}},logoLinkTitle:{defaultValue:{value:"Ga naar de homepage"},description:"The accessible text for the link on the logo.",name:"logoLinkTitle",required:!1,type:{name:"string"}},menu:{defaultValue:null,description:"A button to toggle the visibility of a Mega Menu.",name:"menu",required:!1,type:{name:"ReactNode"}}}}}catch{}const K={title:"Components/Containers/Header",component:u},n={},r={args:{logoBrand:"ggd-amsterdam",logoLink:"https://www.ggd.amsterdam.nl/",logoLinkTitle:"Naar de homepage van de GGD Amsterdam"}},s={args:{appName:"Aan de Amsterdamse grachten"}},t={args:{links:e.jsxs(a,{alignEnd:!0,wrap:!1,children:[e.jsx(a.Link,{href:"#",children:"Contact"}),e.jsx(a.Link,{href:"#",children:"Mijn Amsterdam"}),e.jsx(a.Link,{href:"#",icon:c,children:"Zoeken"})]})}},o={args:{menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}},i={args:{links:e.jsxs(a,{alignEnd:!0,wrap:!1,children:[e.jsx(a.Link,{href:"#",children:"Contact"}),e.jsx(a.Link,{href:"#",children:"Mijn Amsterdam"}),e.jsx(a.Link,{href:"#",icon:c,children:"Zoeken"})]}),menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}},m={args:{appName:"Aan de Amsterdamse grachten",menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}},d={args:{appName:"Aan de Amsterdamse grachten",links:e.jsxs(a,{alignEnd:!0,wrap:!1,children:[e.jsx(a.Link,{href:"#",children:"Contact"}),e.jsx(a.Link,{href:"#",children:"Mijn Amsterdam"}),e.jsx(a.Link,{href:"#",icon:c,children:"Zoeken"})]}),menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}};var h,k,f;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(f=(k=n.parameters)==null?void 0:k.docs)==null?void 0:f.source}}};var M,L,_;r.parameters={...r.parameters,docs:{...(M=r.parameters)==null?void 0:M.docs,source:{originalSource:`{ args: { logoBrand: 'ggd-amsterdam', logoLink: 'https://www.ggd.amsterdam.nl/', diff --git a/demo-DES-969-file-list-component/assets/Heading-BMR-3CH3.js b/demo-DES-969-file-list-component/assets/Heading-Vg3KKL7T.js similarity index 89% rename from demo-DES-969-file-list-component/assets/Heading-BMR-3CH3.js rename to demo-DES-969-file-list-component/assets/Heading-Vg3KKL7T.js index b7cc0c8a20..acb94f3f38 100644 --- a/demo-DES-969-file-list-component/assets/Heading-BMR-3CH3.js +++ b/demo-DES-969-file-list-component/assets/Heading-Vg3KKL7T.js @@ -1 +1 @@ -import{j as d}from"./jsx-runtime-j_jdvEMj.js";import{c as m}from"./clsx-B-dksMZM.js";import{r as v}from"./index-B-o1Wr-g.js";import{g as c}from"./getHeadingTag-Dv1eMqvl.js";const e=v.forwardRef(({children:a,className:r,inverseColor:i,level:l=1,size:n,...o},t)=>{const s=c(l),u=n??`level-${l}`;return d.jsx(s,{ref:t,className:m("ams-heading",`ams-heading--${u}`,i&&"ams-heading--inverse-color",r),...o,children:a})});e.displayName="Heading";try{e.displayName="Heading",e.__docgenInfo={description:"",displayName:"Heading",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},level:{defaultValue:{value:"1"},description:"The hierarchical level within the document.",name:"level",required:!1,type:{name:"enum",value:[{value:"1"},{value:"2"},{value:"3"},{value:"4"}]}},size:{defaultValue:null,description:"Uses larger or smaller text without changing its position in the heading hierarchy.",name:"size",required:!1,type:{name:"enum",value:[{value:'"level-3"'},{value:'"level-4"'},{value:'"level-5"'},{value:'"level-6"'},{value:'"level-1"'},{value:'"level-2"'}]}}}}}catch{}export{e as H}; +import{j as d}from"./jsx-runtime-BjgbQsUx.js";import{c as m}from"./clsx-B-dksMZM.js";import{r as v}from"./index-RigO-4kf.js";import{g as c}from"./getHeadingTag-Dv1eMqvl.js";const e=v.forwardRef(({children:a,className:r,inverseColor:i,level:l=1,size:n,...o},t)=>{const s=c(l),u=n??`level-${l}`;return d.jsx(s,{ref:t,className:m("ams-heading",`ams-heading--${u}`,i&&"ams-heading--inverse-color",r),...o,children:a})});e.displayName="Heading";try{e.displayName="Heading",e.__docgenInfo={description:"",displayName:"Heading",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},level:{defaultValue:{value:"1"},description:"The hierarchical level within the document.",name:"level",required:!1,type:{name:"enum",value:[{value:"1"},{value:"2"},{value:"3"},{value:"4"}]}},size:{defaultValue:null,description:"Uses larger or smaller text without changing its position in the heading hierarchy.",name:"size",required:!1,type:{name:"enum",value:[{value:'"level-3"'},{value:'"level-4"'},{value:'"level-5"'},{value:'"level-6"'},{value:'"level-1"'},{value:'"level-2"'}]}}}}}catch{}export{e as H}; diff --git a/demo-DES-969-file-list-component/assets/Heading.docs-CP98-wMT.js b/demo-DES-969-file-list-component/assets/Heading.docs-Cmy16Qdo.js similarity index 78% rename from demo-DES-969-file-list-component/assets/Heading.docs-CP98-wMT.js rename to demo-DES-969-file-list-component/assets/Heading.docs-Cmy16Qdo.js index 2ae336a2b9..303c37bf37 100644 --- a/demo-DES-969-file-list-component/assets/Heading.docs-CP98-wMT.js +++ b/demo-DES-969-file-list-component/assets/Heading.docs-Cmy16Qdo.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as i,aq as a,ar as l,as as h,at as s}from"./index-CsbqyhR0.js";import{H as c,L as d,a as p,b as u,c as g,S as m,I as v}from"./Heading.stories-B-peyeqG.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./exampleContent-hIIPvEhU.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";const x=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as r}from"./index-3rgQkYFR.js";import{ae as i,aq as a,ar as l,as as h,at as s}from"./index-DEYBsmB_.js";import{H as c,L as d,a as p,b as u,c as g,S as m,I as v}from"./Heading.stories-WJYgLQll.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./exampleContent-hIIPvEhU.js";import"./Heading-Vg3KKL7T.js";import"./getHeadingTag-Dv1eMqvl.js";const x=` # Heading @@ -53,4 +53,4 @@ Ensure that you still select a level that accurately represents the section’s `,e.jsx(n.h3,{id:"inverse-colour",children:"Inverse colour"}),` `,e.jsxs(n.p,{children:["Set the ",e.jsx(n.code,{children:"inverseColor"}),` prop if the Heading sits on a dark background. This ensures the colour of the text provides enough contrast.`]}),` -`,e.jsx(s,{of:v})]})}function S(t={}){const{wrapper:n}={...r(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(o,{...t})}):o(t)}export{S as default}; +`,e.jsx(s,{of:v})]})}function R(t={}){const{wrapper:n}={...r(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(o,{...t})}):o(t)}export{R as default}; diff --git a/demo-DES-969-file-list-component/assets/Heading.stories-B-peyeqG.js b/demo-DES-969-file-list-component/assets/Heading.stories-WJYgLQll.js similarity index 93% rename from demo-DES-969-file-list-component/assets/Heading.stories-B-peyeqG.js rename to demo-DES-969-file-list-component/assets/Heading.stories-WJYgLQll.js index 4d6951b1be..fe30196840 100644 --- a/demo-DES-969-file-list-component/assets/Heading.stories-B-peyeqG.js +++ b/demo-DES-969-file-list-component/assets/Heading.stories-WJYgLQll.js @@ -1,4 +1,4 @@ -import{j as I}from"./jsx-runtime-j_jdvEMj.js";import{r as s}from"./index-B-o1Wr-g.js";import{C as O}from"./index.esm-Dojcg4AG.js";import{e as D}from"./exampleContent-hIIPvEhU.js";import{H as e}from"./Heading-BMR-3CH3.js";const M=D(),P={title:"Components/Text/Heading",component:e,args:{children:M,inverseColor:!1},argTypes:{children:{description:"The heading text.",table:{disable:!1}}}},a={},l={},o={args:{level:2}},n={args:{level:3}},t={args:{level:4}},c={render:r=>I.jsxs(O,{gap:"small",children:[s.createElement(e,{...r,key:"level-1",size:"level-1"}),s.createElement(e,{...r,key:"level-2",size:"level-2"}),s.createElement(e,{...r,key:"level-3",size:"level-3"}),s.createElement(e,{...r,key:"level-4",size:"level-4"}),s.createElement(e,{...r,key:"level-5",size:"level-5"}),s.createElement(e,{...r,key:"level-6",size:"level-6"})]})},i={args:{inverseColor:!0}};var m,p,d;a.parameters={...a.parameters,docs:{...(m=a.parameters)==null?void 0:m.docs,source:{originalSource:"{}",...(d=(p=a.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};var v,g,u;l.parameters={...l.parameters,docs:{...(v=l.parameters)==null?void 0:v.docs,source:{originalSource:"{}",...(u=(g=l.parameters)==null?void 0:g.docs)==null?void 0:u.source}}};var y,z,S;o.parameters={...o.parameters,docs:{...(y=o.parameters)==null?void 0:y.docs,source:{originalSource:`{ +import{j as I}from"./jsx-runtime-BjgbQsUx.js";import{r as s}from"./index-RigO-4kf.js";import{C as O}from"./index.esm-CEzKrmam.js";import{e as D}from"./exampleContent-hIIPvEhU.js";import{H as e}from"./Heading-Vg3KKL7T.js";const M=D(),P={title:"Components/Text/Heading",component:e,args:{children:M,inverseColor:!1},argTypes:{children:{description:"The heading text.",table:{disable:!1}}}},a={},l={},o={args:{level:2}},n={args:{level:3}},t={args:{level:4}},c={render:r=>I.jsxs(O,{gap:"small",children:[s.createElement(e,{...r,key:"level-1",size:"level-1"}),s.createElement(e,{...r,key:"level-2",size:"level-2"}),s.createElement(e,{...r,key:"level-3",size:"level-3"}),s.createElement(e,{...r,key:"level-4",size:"level-4"}),s.createElement(e,{...r,key:"level-5",size:"level-5"}),s.createElement(e,{...r,key:"level-6",size:"level-6"})]})},i={args:{inverseColor:!0}};var m,p,d;a.parameters={...a.parameters,docs:{...(m=a.parameters)==null?void 0:m.docs,source:{originalSource:"{}",...(d=(p=a.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};var v,g,u;l.parameters={...l.parameters,docs:{...(v=l.parameters)==null?void 0:v.docs,source:{originalSource:"{}",...(u=(g=l.parameters)==null?void 0:g.docs)==null?void 0:u.source}}};var y,z,S;o.parameters={...o.parameters,docs:{...(y=o.parameters)==null?void 0:y.docs,source:{originalSource:`{ args: { level: 2 } diff --git a/demo-DES-969-file-list-component/assets/Hint-rQy8SNzx.js b/demo-DES-969-file-list-component/assets/Hint-ny2kNNgA.js similarity index 84% rename from demo-DES-969-file-list-component/assets/Hint-rQy8SNzx.js rename to demo-DES-969-file-list-component/assets/Hint-ny2kNNgA.js index ac2353ae1e..5c4a21cbd8 100644 --- a/demo-DES-969-file-list-component/assets/Hint-rQy8SNzx.js +++ b/demo-DES-969-file-list-component/assets/Hint-ny2kNNgA.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime-j_jdvEMj.js";import{c as l}from"./clsx-B-dksMZM.js";import{r as p}from"./index-B-o1Wr-g.js";const c=({hint:e,optional:t})=>e||(t?"niet verplicht":null),n=p.forwardRef(({className:e,hint:t,optional:i,...a},o)=>{const r=c({hint:t,optional:i});return r&&s.jsxs("span",{...a,ref:o,className:l("ams-hint",e),children:["(",r,")"]})});n.displayName="Hint";try{n.displayName="Hint",n.__docgenInfo={description:"",displayName:"Hint",props:{hint:{defaultValue:null,description:"Show a custom hint text.",name:"hint",required:!1,type:{name:"string"}},optional:{defaultValue:null,description:"Appends the text '(niet verplicht)' to the label or legend if no hint is provided. Use when the associated inputs are optional.",name:"optional",required:!1,type:{name:"boolean"}}}}}catch{}export{n as H}; +import{j as s}from"./jsx-runtime-BjgbQsUx.js";import{c as l}from"./clsx-B-dksMZM.js";import{r as p}from"./index-RigO-4kf.js";const c=({hint:e,optional:t})=>e||(t?"niet verplicht":null),n=p.forwardRef(({className:e,hint:t,optional:i,...a},o)=>{const r=c({hint:t,optional:i});return r&&s.jsxs("span",{...a,ref:o,className:l("ams-hint",e),children:["(",r,")"]})});n.displayName="Hint";try{n.displayName="Hint",n.__docgenInfo={description:"",displayName:"Hint",props:{hint:{defaultValue:null,description:"Show a custom hint text.",name:"hint",required:!1,type:{name:"string"}},optional:{defaultValue:null,description:"Appends the text '(niet verplicht)' to the label or legend if no hint is provided. Use when the associated inputs are optional.",name:"optional",required:!1,type:{name:"boolean"}}}}}catch{}export{n as H}; diff --git a/demo-DES-969-file-list-component/assets/HomePage.docs-Bvbqbr3K.js b/demo-DES-969-file-list-component/assets/HomePage.docs-BZpr9RbX.js similarity index 63% rename from demo-DES-969-file-list-component/assets/HomePage.docs-Bvbqbr3K.js rename to demo-DES-969-file-list-component/assets/HomePage.docs-BZpr9RbX.js index a217079830..5eb57f53eb 100644 --- a/demo-DES-969-file-list-component/assets/HomePage.docs-Bvbqbr3K.js +++ b/demo-DES-969-file-list-component/assets/HomePage.docs-BZpr9RbX.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as t}from"./index-CsbqyhR0.js";import{H as a}from"./HomePage.stories-CQ397qdG.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./Overlap.stories-BONGKRWw.js";import"./config-5U6UpIzk.js";import"./PageMenu.stories-CMbLUYFI.js";import"./Icon-D1obyjGa.js";import"./Footer.stories-DPK9ujK1.js";import"./Spotlight-DZdLn00J.js";/*@license CC0-1.0*/function r(i){const e={code:"code",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",...o(),...i.components};return n.jsxs(n.Fragment,{children:[` +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as t}from"./index-DEYBsmB_.js";import{H as a}from"./HomePage.stories-0xxkF04q.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./Overlap.stories-c9S-8hsR.js";import"./config-D232Weh9.js";import"./PageMenu.stories-DCbTKHnl.js";import"./Icon-B4wlDyQ3.js";import"./Footer.stories-DmuyQWO8.js";import"./Spotlight-CVxUBei2.js";/*@license CC0-1.0*/function r(i){const e={code:"code",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",...o(),...i.components};return n.jsxs(n.Fragment,{children:[` `,` `,n.jsx(t,{of:a}),` `,n.jsx(e.h1,{id:"home-page",children:"Home page"}),` @@ -37,4 +37,4 @@ It is as wide as the Grid, hence it is a sibling of it.`}),` `,n.jsx(e.li,{children:"Other components in the main area are laid out on a Grid again."}),` `,n.jsx(e.li,{children:`The Footer contains its own Grid. This allows its background colour to stretch to the Screen’s width.`}),` -`]})]})}function F(i={}){const{wrapper:e}={...o(),...i.components};return e?n.jsx(e,{...i,children:n.jsx(r,{...i})}):r(i)}export{F as default}; +`]})]})}function H(i={}){const{wrapper:e}={...o(),...i.components};return e?n.jsx(e,{...i,children:n.jsx(r,{...i})}):r(i)}export{H as default}; diff --git a/demo-DES-969-file-list-component/assets/HomePage.stories-CQ397qdG.js b/demo-DES-969-file-list-component/assets/HomePage.stories-0xxkF04q.js similarity index 95% rename from demo-DES-969-file-list-component/assets/HomePage.stories-CQ397qdG.js rename to demo-DES-969-file-list-component/assets/HomePage.stories-0xxkF04q.js index 7ec9d1479a..f453192131 100644 --- a/demo-DES-969-file-list-component/assets/HomePage.stories-CQ397qdG.js +++ b/demo-DES-969-file-list-component/assets/HomePage.stories-0xxkF04q.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as s,H as l,d as n,I as a,t as m,P as i,L as o,O as j}from"./index.esm-Dojcg4AG.js";import{D as x}from"./Overlap.stories-BONGKRWw.js";import{c as u}from"./config-5U6UpIzk.js";const p=()=>e.jsxs(s,{paddingVertical:"medium",children:[e.jsx(s.Cell,{span:"all",children:e.jsx(l,{level:2,children:"Nieuws"})}),e.jsx(s.Cell,{span:4,children:e.jsxs(n,{children:[e.jsx(a,{alt:"",src:"https://picsum.photos/640/360?random=1"}),e.jsx(n.HeadingGroup,{tagline:"Nieuws",children:e.jsx(l,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Nederlands eerste houten woonwijk komt in Zuidoost"})})})]})}),e.jsx(s.Cell,{span:4,children:e.jsxs(n,{children:[e.jsx(a,{alt:"",src:"https://picsum.photos/640/360?random=2"}),e.jsx(n.HeadingGroup,{tagline:"Nieuws",children:e.jsx(l,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Gratis openbaar vervoer voor kinderen"})})})]})}),e.jsx(s.Cell,{span:4,children:e.jsxs(n,{children:[e.jsx(a,{alt:"",src:"https://picsum.photos/640/360?random=3"}),e.jsx(n.HeadingGroup,{tagline:"Nieuws",children:e.jsx(l,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Zonnepanelen op uw dak? Zo houdt u uw huis veilig"})})})]})})]}),g=()=>e.jsx(m,{color:"purple",children:e.jsxs(s,{paddingVertical:"medium",children:[e.jsxs(s.Cell,{span:{narrow:4,medium:4,wide:6},children:[e.jsx(l,{className:"ams-mb--xs",inverseColor:!0,size:"level-2",children:"Ontheffing of vergunning"}),e.jsxs(i,{className:"ams-mb--sm",inverseColor:!0,children:["Check welke ontheffing of vergunning u nodig heeft. Bijvoorbeeld een RVV, TVM, objectvergunning,"," ","nachtwerkontheffing, e-RVV, e-TVM of filmmelding. Dat regult u allemaal met 1 formulier."]}),e.jsx(o,{href:"#",inverseColor:!0,variant:"standalone",children:"Eenvoudig regelen"})]}),e.jsxs(s.Cell,{span:{narrow:4,medium:4,wide:6},children:[e.jsx(l,{className:"ams-mb--xs",inverseColor:!0,size:"level-2",children:"Werkzaamheden"}),e.jsx(i,{className:"ams-mb--sm",inverseColor:!0,children:"Lees waar en wanneer we werken aan nieuwbouw, groot onderhoud, herinrichting van straten en wegen, aanpak van parken of ontwikkeling van hele gebieden."}),e.jsx(o,{href:"#",inverseColor:!0,variant:"standalone",children:"Alle bouw- en verkeerswerkzaamheden"})]})]})}),v=()=>e.jsxs(s,{paddingVertical:"medium",children:[e.jsx(s.Cell,{span:"all",children:e.jsx(l,{children:"Belangrijkste onderwerpen"})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Gemeentebelastingen"})}),e.jsx(i,{size:"small",children:"Bekijk welke belastingen en heffingen er zijn, hoe u bezwaar maakt of een betalingsregeling treft."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Parkeren + Reizen (P+R)"})}),e.jsx(i,{size:"small",children:"U kunt met uw auto goedkoop parkeren bij een P+R-locatie aan de rand van de stad."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Paspoort, ID-kaart en rijbewijs"})}),e.jsx(i,{size:"small",children:"Vraag deze bewijzen aan of verleng ze. Geef een vermissing aan."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Onderwijs"})}),e.jsx(i,{size:"small",children:"Meld een kind aan voor basisschool, middelbare school of kinderopvang. Bekijk het kindtegoed op uw Stadspas."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Meldingen openbare ruimte en overlast"})}),e.jsx(i,{size:"small",children:"Ziet u op straat of in een park iets waarvan u wilt dat het gemaakt of opgeruimd wordt, dan kunt u dat bij de gemeente melden."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Verhuizing doorgeven"})}),e.jsx(i,{size:"small",children:"Geef uw nieuwe adres door als u binnen Amsterdam of naar Amsterdam verhuist."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Grof afval"})}),e.jsx(i,{size:"small",children:"Grof afval zijn spullen die niet in een vuilniszak passen."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Kennisgevingen en bekendmakingen"})}),e.jsx(i,{size:"small",children:"Kennisgevingen en bekendmakingen van de gemeente Amsterdam van de laatste 8 weken."})]})})]}),w=()=>{var d;return e.jsxs("main",{id:"main",children:[e.jsx(j,{children:(d=x.args)==null?void 0:d.children}),e.jsx(v,{}),e.jsx(g,{}),e.jsx(p,{})]})};/** +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{G as s,H as l,d as n,I as a,t as m,P as i,L as o,O as j}from"./index.esm-CEzKrmam.js";import{D as x}from"./Overlap.stories-c9S-8hsR.js";import{c as u}from"./config-D232Weh9.js";const p=()=>e.jsxs(s,{paddingVertical:"medium",children:[e.jsx(s.Cell,{span:"all",children:e.jsx(l,{level:2,children:"Nieuws"})}),e.jsx(s.Cell,{span:4,children:e.jsxs(n,{children:[e.jsx(a,{alt:"",src:"https://picsum.photos/640/360?random=1"}),e.jsx(n.HeadingGroup,{tagline:"Nieuws",children:e.jsx(l,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Nederlands eerste houten woonwijk komt in Zuidoost"})})})]})}),e.jsx(s.Cell,{span:4,children:e.jsxs(n,{children:[e.jsx(a,{alt:"",src:"https://picsum.photos/640/360?random=2"}),e.jsx(n.HeadingGroup,{tagline:"Nieuws",children:e.jsx(l,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Gratis openbaar vervoer voor kinderen"})})})]})}),e.jsx(s.Cell,{span:4,children:e.jsxs(n,{children:[e.jsx(a,{alt:"",src:"https://picsum.photos/640/360?random=3"}),e.jsx(n.HeadingGroup,{tagline:"Nieuws",children:e.jsx(l,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Zonnepanelen op uw dak? Zo houdt u uw huis veilig"})})})]})})]}),g=()=>e.jsx(m,{color:"purple",children:e.jsxs(s,{paddingVertical:"medium",children:[e.jsxs(s.Cell,{span:{narrow:4,medium:4,wide:6},children:[e.jsx(l,{className:"ams-mb--xs",inverseColor:!0,size:"level-2",children:"Ontheffing of vergunning"}),e.jsxs(i,{className:"ams-mb--sm",inverseColor:!0,children:["Check welke ontheffing of vergunning u nodig heeft. Bijvoorbeeld een RVV, TVM, objectvergunning,"," ","nachtwerkontheffing, e-RVV, e-TVM of filmmelding. Dat regult u allemaal met 1 formulier."]}),e.jsx(o,{href:"#",inverseColor:!0,variant:"standalone",children:"Eenvoudig regelen"})]}),e.jsxs(s.Cell,{span:{narrow:4,medium:4,wide:6},children:[e.jsx(l,{className:"ams-mb--xs",inverseColor:!0,size:"level-2",children:"Werkzaamheden"}),e.jsx(i,{className:"ams-mb--sm",inverseColor:!0,children:"Lees waar en wanneer we werken aan nieuwbouw, groot onderhoud, herinrichting van straten en wegen, aanpak van parken of ontwikkeling van hele gebieden."}),e.jsx(o,{href:"#",inverseColor:!0,variant:"standalone",children:"Alle bouw- en verkeerswerkzaamheden"})]})]})}),v=()=>e.jsxs(s,{paddingVertical:"medium",children:[e.jsx(s.Cell,{span:"all",children:e.jsx(l,{children:"Belangrijkste onderwerpen"})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Gemeentebelastingen"})}),e.jsx(i,{size:"small",children:"Bekijk welke belastingen en heffingen er zijn, hoe u bezwaar maakt of een betalingsregeling treft."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Parkeren + Reizen (P+R)"})}),e.jsx(i,{size:"small",children:"U kunt met uw auto goedkoop parkeren bij een P+R-locatie aan de rand van de stad."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Paspoort, ID-kaart en rijbewijs"})}),e.jsx(i,{size:"small",children:"Vraag deze bewijzen aan of verleng ze. Geef een vermissing aan."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Onderwijs"})}),e.jsx(i,{size:"small",children:"Meld een kind aan voor basisschool, middelbare school of kinderopvang. Bekijk het kindtegoed op uw Stadspas."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Meldingen openbare ruimte en overlast"})}),e.jsx(i,{size:"small",children:"Ziet u op straat of in een park iets waarvan u wilt dat het gemaakt of opgeruimd wordt, dan kunt u dat bij de gemeente melden."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Verhuizing doorgeven"})}),e.jsx(i,{size:"small",children:"Geef uw nieuwe adres door als u binnen Amsterdam of naar Amsterdam verhuist."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Grof afval"})}),e.jsx(i,{size:"small",children:"Grof afval zijn spullen die niet in een vuilniszak passen."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(l,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Kennisgevingen en bekendmakingen"})}),e.jsx(i,{size:"small",children:"Kennisgevingen en bekendmakingen van de gemeente Amsterdam van de laatste 8 weken."})]})})]}),w=()=>{var d;return e.jsxs("main",{id:"main",children:[e.jsx(j,{children:(d=x.args)==null?void 0:d.children}),e.jsx(v,{}),e.jsx(g,{}),e.jsx(p,{})]})};/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const k={...u,title:"Pages/Amsterdam.nl/Home Page",component:w},r={};var t,h,c;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(c=(h=r.parameters)==null?void 0:h.docs)==null?void 0:c.source}}};const f=["Default"],H=Object.freeze(Object.defineProperty({__proto__:null,Default:r,__namedExportsOrder:f,default:k},Symbol.toStringTag,{value:"Module"}));export{H}; diff --git a/demo-DES-969-file-list-component/assets/Icon-D1obyjGa.js b/demo-DES-969-file-list-component/assets/Icon-B4wlDyQ3.js similarity index 87% rename from demo-DES-969-file-list-component/assets/Icon-D1obyjGa.js rename to demo-DES-969-file-list-component/assets/Icon-B4wlDyQ3.js index f05e6dc52f..23f6f24a1e 100644 --- a/demo-DES-969-file-list-component/assets/Icon-D1obyjGa.js +++ b/demo-DES-969-file-list-component/assets/Icon-B4wlDyQ3.js @@ -1 +1 @@ -import{j as i}from"./jsx-runtime-j_jdvEMj.js";import{c as t}from"./clsx-B-dksMZM.js";import{r as c}from"./index-B-o1Wr-g.js";const a=c.forwardRef(({className:l,size:e="level-3",square:s,svg:o,...r},n)=>i.jsx("span",{ref:n,className:t("ams-icon",e==="level-3"&&"ams-icon--size-3",e==="level-4"&&"ams-icon--size-4",e==="level-5"&&"ams-icon--size-5",e==="level-6"&&"ams-icon--size-6",s&&"ams-icon--square",l),...r,children:o()}));a.displayName="Icon";try{a.displayName="Icon",a.__docgenInfo={description:"",displayName:"Icon",props:{size:{defaultValue:{value:"level-3"},description:"The size of the icon. Corresponds with the text levels.",name:"size",required:!1,type:{name:"enum",value:[{value:'"level-3"'},{value:'"level-4"'},{value:'"level-5"'},{value:'"level-6"'}]}},square:{defaultValue:null,description:"Whether the icon container should be made square.",name:"square",required:!1,type:{name:"boolean"}},svg:{defaultValue:null,description:"The component rendering the icon’s markup.",name:"svg",required:!0,type:{name:"Function"}}}}}catch{}export{a as I}; +import{j as i}from"./jsx-runtime-BjgbQsUx.js";import{c as t}from"./clsx-B-dksMZM.js";import{r as c}from"./index-RigO-4kf.js";const a=c.forwardRef(({className:l,size:e="level-3",square:s,svg:o,...r},n)=>i.jsx("span",{ref:n,className:t("ams-icon",e==="level-3"&&"ams-icon--size-3",e==="level-4"&&"ams-icon--size-4",e==="level-5"&&"ams-icon--size-5",e==="level-6"&&"ams-icon--size-6",s&&"ams-icon--square",l),...r,children:o()}));a.displayName="Icon";try{a.displayName="Icon",a.__docgenInfo={description:"",displayName:"Icon",props:{size:{defaultValue:{value:"level-3"},description:"The size of the icon. Corresponds with the text levels.",name:"size",required:!1,type:{name:"enum",value:[{value:'"level-3"'},{value:'"level-4"'},{value:'"level-5"'},{value:'"level-6"'}]}},square:{defaultValue:null,description:"Whether the icon container should be made square.",name:"square",required:!1,type:{name:"boolean"}},svg:{defaultValue:null,description:"The component rendering the icon’s markup.",name:"svg",required:!0,type:{name:"Function"}}}}}catch{}export{a as I}; diff --git a/demo-DES-969-file-list-component/assets/Icon.docs-iz-_7L7_.js b/demo-DES-969-file-list-component/assets/Icon.docs-CmrOa9D1.js similarity index 80% rename from demo-DES-969-file-list-component/assets/Icon.docs-iz-_7L7_.js rename to demo-DES-969-file-list-component/assets/Icon.docs-CmrOa9D1.js index 5a12b1c045..07e9b4cd7a 100644 --- a/demo-DES-969-file-list-component/assets/Icon.docs-iz-_7L7_.js +++ b/demo-DES-969-file-list-component/assets/Icon.docs-CmrOa9D1.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as a}from"./index-BSj771as.js";import{ae as i,aq as r,ar as c,as as l,at as o}from"./index-CsbqyhR0.js";import{I as h,W as d,S as m,L as p,a as x,b as u,c as f}from"./Icon.stories-C8JNob9e.js";import{S as j}from"./StatusBadge-_VA1BtQE.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./Icon-D1obyjGa.js";import"./Badge-Cg5Q2pVP.js";const g=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as a}from"./index-3rgQkYFR.js";import{ae as i,aq as r,ar as c,as as l,at as o}from"./index-DEYBsmB_.js";import{I as h,W as d,S as m,L as p,a as x,b as u,c as f}from"./Icon.stories-DVylrVVT.js";import{S as j}from"./StatusBadge-DiE14TfE.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./Icon-B4wlDyQ3.js";import"./Badge-BvbF-Lgn.js";const g=` # Icon @@ -64,4 +64,4 @@ Using the same text levels for both the icon and text aligns them perfectly. `,e.jsx(n.h3,{id:"level-5",children:"Level 5"}),` `,e.jsx(o,{of:u}),` `,e.jsx(n.h3,{id:"level-6",children:"Level 6"}),` -`,e.jsx(o,{of:f})]})}function G(t={}){const{wrapper:n}={...a(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(s,{...t})}):s(t)}export{G as default}; +`,e.jsx(o,{of:f})]})}function U(t={}){const{wrapper:n}={...a(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(s,{...t})}):s(t)}export{U as default}; diff --git a/demo-DES-969-file-list-component/assets/Icon.stories-C8JNob9e.js b/demo-DES-969-file-list-component/assets/Icon.stories-DVylrVVT.js similarity index 93% rename from demo-DES-969-file-list-component/assets/Icon.stories-C8JNob9e.js rename to demo-DES-969-file-list-component/assets/Icon.stories-DVylrVVT.js index b5bf45bf35..bdd71eb5e0 100644 --- a/demo-DES-969-file-list-component/assets/Icon.stories-C8JNob9e.js +++ b/demo-DES-969-file-list-component/assets/Icon.stories-DVylrVVT.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-j_jdvEMj.js";import{H as D}from"./index.esm-Dojcg4AG.js";import{I as m,d as e}from"./index.esm-CEthAr-Q.js";import{I as W}from"./Icon-D1obyjGa.js";const M={title:"Components/Media/Icon",component:W,argTypes:{svg:{control:{type:"select"},options:Object.keys(m),mapping:m}}},r={args:{svg:e}},a={decorators:[i=>s.jsx("span",{style:{display:"flex",gap:"1rem"},children:s.jsx(i,{})})],render:i=>s.jsxs(s.Fragment,{children:[s.jsx(W,{...i,size:"level-3"}),s.jsx(D,{size:"level-3",children:"Inline text"})]}),args:{svg:e}},o={args:{svg:e,square:!0}},n={args:{svg:e,size:"level-3"}},c={args:{svg:e,size:"level-4"}},t={args:{svg:e,size:"level-5"}},l={args:{svg:e,size:"level-6"}};var p,g,d;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as s}from"./jsx-runtime-BjgbQsUx.js";import{H as D}from"./index.esm-CEzKrmam.js";import{I as m,d as e}from"./index.esm-Bz9pa_xK.js";import{I as W}from"./Icon-B4wlDyQ3.js";const M={title:"Components/Media/Icon",component:W,argTypes:{svg:{control:{type:"select"},options:Object.keys(m),mapping:m}}},r={args:{svg:e}},a={decorators:[i=>s.jsx("span",{style:{display:"flex",gap:"1rem"},children:s.jsx(i,{})})],render:i=>s.jsxs(s.Fragment,{children:[s.jsx(W,{...i,size:"level-3"}),s.jsx(D,{size:"level-3",children:"Inline text"})]}),args:{svg:e}},o={args:{svg:e,square:!0}},n={args:{svg:e,size:"level-3"}},c={args:{svg:e,size:"level-4"}},t={args:{svg:e,size:"level-5"}},l={args:{svg:e,size:"level-6"}};var p,g,d;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { svg: Icons.EmailIcon } diff --git a/demo-DES-969-file-list-component/assets/IconButton-C-A1ufmT.js b/demo-DES-969-file-list-component/assets/IconButton-Dm4nec53.js similarity index 84% rename from demo-DES-969-file-list-component/assets/IconButton-C-A1ufmT.js rename to demo-DES-969-file-list-component/assets/IconButton-Dm4nec53.js index cfdc2a8ef2..b2de578c58 100644 --- a/demo-DES-969-file-list-component/assets/IconButton-C-A1ufmT.js +++ b/demo-DES-969-file-list-component/assets/IconButton-Dm4nec53.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{c}from"./index.esm-CEthAr-Q.js";import{c as d}from"./clsx-B-dksMZM.js";import{r as m}from"./index-B-o1Wr-g.js";import{I as p}from"./Icon-D1obyjGa.js";const o=m.forwardRef(({className:t,label:a,contrastColor:n,inverseColor:r,size:l="level-5",svg:s=c,...i},u)=>e.jsxs("button",{...i,ref:u,className:d("ams-icon-button",n&&"ams-icon-button--contrast-color",r&&"ams-icon-button--inverse-color",t),children:[e.jsx("span",{className:"ams-visually-hidden",children:a}),e.jsx(p,{svg:s,size:l,square:!0})]}));o.displayName="IconButton";try{o.displayName="IconButton",o.__docgenInfo={description:"",displayName:"IconButton",props:{label:{defaultValue:null,description:"The accessible text for the button. Will be announced by screen readers. Should describe the button’s action.",name:"label",required:!0,type:{name:"string"}},contrastColor:{defaultValue:null,description:"Changes the text colour for readability on a light (but not white) background.",name:"contrastColor",required:!1,type:{name:"boolean"}},inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"level-5"},description:"The size of the icon. Corresponds with the text levels.",name:"size",required:!1,type:{name:"enum",value:[{value:'"level-3"'},{value:'"level-4"'},{value:'"level-5"'},{value:'"level-6"'}]}},svg:{defaultValue:null,description:"The component rendering the icon’s markup.",name:"svg",required:!1,type:{name:"Function"}}}}}catch{}export{o as I}; +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{c}from"./index.esm-Bz9pa_xK.js";import{c as d}from"./clsx-B-dksMZM.js";import{r as m}from"./index-RigO-4kf.js";import{I as p}from"./Icon-B4wlDyQ3.js";const o=m.forwardRef(({className:t,label:a,contrastColor:n,inverseColor:r,size:l="level-5",svg:s=c,...i},u)=>e.jsxs("button",{...i,ref:u,className:d("ams-icon-button",n&&"ams-icon-button--contrast-color",r&&"ams-icon-button--inverse-color",t),children:[e.jsx("span",{className:"ams-visually-hidden",children:a}),e.jsx(p,{svg:s,size:l,square:!0})]}));o.displayName="IconButton";try{o.displayName="IconButton",o.__docgenInfo={description:"",displayName:"IconButton",props:{label:{defaultValue:null,description:"The accessible text for the button. Will be announced by screen readers. Should describe the button’s action.",name:"label",required:!0,type:{name:"string"}},contrastColor:{defaultValue:null,description:"Changes the text colour for readability on a light (but not white) background.",name:"contrastColor",required:!1,type:{name:"boolean"}},inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"level-5"},description:"The size of the icon. Corresponds with the text levels.",name:"size",required:!1,type:{name:"enum",value:[{value:'"level-3"'},{value:'"level-4"'},{value:'"level-5"'},{value:'"level-6"'}]}},svg:{defaultValue:null,description:"The component rendering the icon’s markup.",name:"svg",required:!1,type:{name:"Function"}}}}}catch{}export{o as I}; diff --git a/demo-DES-969-file-list-component/assets/IconButton.docs-CTdIq2pn.js b/demo-DES-969-file-list-component/assets/IconButton.docs-COFplC1J.js similarity index 78% rename from demo-DES-969-file-list-component/assets/IconButton.docs-CTdIq2pn.js rename to demo-DES-969-file-list-component/assets/IconButton.docs-COFplC1J.js index bc473935e2..be24e90970 100644 --- a/demo-DES-969-file-list-component/assets/IconButton.docs-CTdIq2pn.js +++ b/demo-DES-969-file-list-component/assets/IconButton.docs-COFplC1J.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as l,aq as i,ar as a,as as c,at as r}from"./index-CsbqyhR0.js";import{I as d,L as h,a as u,b as p,c as m,C as x,d as j}from"./IconButton.stories-DxcIobAn.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-CEthAr-Q.js";import"./IconButton-C-A1ufmT.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const b=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as l,aq as i,ar as a,as as c,at as r}from"./index-DEYBsmB_.js";import{I as d,L as h,a as u,b as p,c as m,C as x,d as j}from"./IconButton.stories-BptrlQhk.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-Bz9pa_xK.js";import"./IconButton-Dm4nec53.js";import"./clsx-B-dksMZM.js";import"./Icon-B4wlDyQ3.js";const b=` # Icon Button @@ -46,4 +46,4 @@ For now, the 'inverse' appearance will prevail.`}),` `,e.jsx(n.h4,{id:"contrast-colour",children:"Contrast colour"}),` `,e.jsx(r,{of:x}),` `,e.jsx(n.h4,{id:"inverse-colour",children:"Inverse colour"}),` -`,e.jsx(r,{of:j})]})}function R(o={}){const{wrapper:n}={...s(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(t,{...o})}):t(o)}export{R as default}; +`,e.jsx(r,{of:j})]})}function S(o={}){const{wrapper:n}={...s(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(t,{...o})}):t(o)}export{S as default}; diff --git a/demo-DES-969-file-list-component/assets/IconButton.stories-DxcIobAn.js b/demo-DES-969-file-list-component/assets/IconButton.stories-BptrlQhk.js similarity index 96% rename from demo-DES-969-file-list-component/assets/IconButton.stories-DxcIobAn.js rename to demo-DES-969-file-list-component/assets/IconButton.stories-BptrlQhk.js index c7306f5a1b..1ceec6fb78 100644 --- a/demo-DES-969-file-list-component/assets/IconButton.stories-DxcIobAn.js +++ b/demo-DES-969-file-list-component/assets/IconButton.stories-BptrlQhk.js @@ -1,4 +1,4 @@ -import{I as l}from"./index.esm-CEthAr-Q.js";import{I as D}from"./IconButton-C-A1ufmT.js";/** +import{I as l}from"./index.esm-Bz9pa_xK.js";import{I as D}from"./IconButton-Dm4nec53.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const P={title:"Components/Buttons/Icon Button",component:D,args:{contrastColor:!1,disabled:!1,inverseColor:!1,label:"Sluiten",size:void 0},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."},size:{control:{type:"radio",labels:{undefined:"level-5"}},options:["level-3","level-4",void 0,"level-6"]},svg:{control:{type:"select"},options:Object.keys(l),mapping:l}}},e={},r={args:{size:"level-3"}},s={args:{size:"level-4"}},o={args:{size:"level-5"}},a={args:{size:"level-6"}},t={args:{contrastColor:!0}},n={args:{inverseColor:!0}};var c,i,p;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:"{}",...(p=(i=e.parameters)==null?void 0:i.docs)==null?void 0:p.source}}};var u,d,m;r.parameters={...r.parameters,docs:{...(u=r.parameters)==null?void 0:u.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/Image-BeIE0HQj.js b/demo-DES-969-file-list-component/assets/Image-dslpK47z.js similarity index 83% rename from demo-DES-969-file-list-component/assets/Image-BeIE0HQj.js rename to demo-DES-969-file-list-component/assets/Image-dslpK47z.js index 8a4e300956..1be8330b78 100644 --- a/demo-DES-969-file-list-component/assets/Image-BeIE0HQj.js +++ b/demo-DES-969-file-list-component/assets/Image-dslpK47z.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-j_jdvEMj.js";import{c as s}from"./clsx-B-dksMZM.js";import{r as o}from"./index-B-o1Wr-g.js";const a=o.forwardRef(({aspectRatio:e,className:t,...r},i)=>l.jsx("img",{...r,ref:i,className:s("ams-image",e&&`ams-aspect-ratio--${e}`,t)}));a.displayName="Image";try{a.displayName="Image",a.__docgenInfo={description:"",displayName:"Image",props:{alt:{defaultValue:null,description:"A textual description of the content of the image.",name:"alt",required:!1,type:{name:"string"}},aspectRatio:{defaultValue:null,description:"The aspect ratio to display media content in.",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"square"'},{value:'"x-tall"'},{value:'"tall"'},{value:'"wide"'},{value:'"x-wide"'},{value:'"2x-wide"'}]}}}}}catch{}export{a as I}; +import{j as l}from"./jsx-runtime-BjgbQsUx.js";import{c as s}from"./clsx-B-dksMZM.js";import{r as o}from"./index-RigO-4kf.js";const a=o.forwardRef(({aspectRatio:e,className:t,...r},i)=>l.jsx("img",{...r,ref:i,className:s("ams-image",e&&`ams-aspect-ratio--${e}`,t)}));a.displayName="Image";try{a.displayName="Image",a.__docgenInfo={description:"",displayName:"Image",props:{alt:{defaultValue:null,description:"A textual description of the content of the image.",name:"alt",required:!1,type:{name:"string"}},aspectRatio:{defaultValue:null,description:"The aspect ratio to display media content in.",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"square"'},{value:'"x-tall"'},{value:'"tall"'},{value:'"wide"'},{value:'"x-wide"'},{value:'"2x-wide"'}]}}}}}catch{}export{a as I}; diff --git a/demo-DES-969-file-list-component/assets/Image.docs-BisFp9M4.js b/demo-DES-969-file-list-component/assets/Image.docs-CLe76md3.js similarity index 86% rename from demo-DES-969-file-list-component/assets/Image.docs-BisFp9M4.js rename to demo-DES-969-file-list-component/assets/Image.docs-CLe76md3.js index 32fbbac369..556c1a5f16 100644 --- a/demo-DES-969-file-list-component/assets/Image.docs-BisFp9M4.js +++ b/demo-DES-969-file-list-component/assets/Image.docs-CLe76md3.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as a}from"./index-BSj771as.js";import{ae as s,aq as r,ar as l,as as d,at as o}from"./index-CsbqyhR0.js";import{I as h,R as m,L as c}from"./Image.stories-0Zmcnj6n.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Image-BeIE0HQj.js";import"./clsx-B-dksMZM.js";const g=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as a}from"./index-3rgQkYFR.js";import{ae as s,aq as r,ar as l,as as d,at as o}from"./index-DEYBsmB_.js";import{I as h,R as m,L as c}from"./Image.stories-BYgQuacP.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./Image-dslpK47z.js";import"./clsx-B-dksMZM.js";const g=` # Image @@ -59,4 +59,4 @@ Don’t forget to still include the required `,e.jsx(t.code,{children:"src"})," `,e.jsx(t.h3,{id:"lazy-loading",children:"Lazy loading"}),` `,e.jsxs(t.p,{children:["Set the ",e.jsx(t.code,{children:"loading"})," attribute (see ",e.jsx(t.a,{href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading",rel:"nofollow",children:"MDN"}),") to ",e.jsx(t.code,{children:"lazy"}),` and the browser will wait to load the image until it is close to the viewport. Consider setting this for images below the top area of the page.`]}),` -`,e.jsx(o,{of:c})]})}function T(n={}){const{wrapper:t}={...a(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(i,{...n})}):i(n)}export{T as default}; +`,e.jsx(o,{of:c})]})}function D(n={}){const{wrapper:t}={...a(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(i,{...n})}):i(n)}export{D as default}; diff --git a/demo-DES-969-file-list-component/assets/Image.stories-0Zmcnj6n.js b/demo-DES-969-file-list-component/assets/Image.stories-BYgQuacP.js similarity index 97% rename from demo-DES-969-file-list-component/assets/Image.stories-0Zmcnj6n.js rename to demo-DES-969-file-list-component/assets/Image.stories-BYgQuacP.js index c971bab36d..af24b1567a 100644 --- a/demo-DES-969-file-list-component/assets/Image.stories-0Zmcnj6n.js +++ b/demo-DES-969-file-list-component/assets/Image.stories-BYgQuacP.js @@ -1,4 +1,4 @@ -import{I as u}from"./Image-BeIE0HQj.js";/** +import{I as u}from"./Image-dslpK47z.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const g={title:"Components/Media/Image",component:u},s={args:{alt:"",src:"https://picsum.photos/640/360"},argTypes:{alt:{description:"Describes the image for non-visual users."},src:{description:"The url for the image."},srcSet:{description:"A set of candidate images."}}},e={args:{alt:"",src:"https://picsum.photos/1280/720",srcSet:"https://picsum.photos/640/360 640w, https://picsum.photos/1280/720 1280w",sizes:"(max-width: 36rem) 640px, 50vw"}},t={args:{alt:"",src:"https://picsum.photos/2560/1440",loading:"lazy"}};var r,a,o;s.parameters={...s.parameters,docs:{...(r=s.parameters)==null?void 0:r.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/ImageSlider.docs-o_Hp8ZQY.js b/demo-DES-969-file-list-component/assets/ImageSlider.docs-CbLxx3Oe.js similarity index 71% rename from demo-DES-969-file-list-component/assets/ImageSlider.docs-o_Hp8ZQY.js rename to demo-DES-969-file-list-component/assets/ImageSlider.docs-CbLxx3Oe.js index cfa9116ebb..7820a85002 100644 --- a/demo-DES-969-file-list-component/assets/ImageSlider.docs-o_Hp8ZQY.js +++ b/demo-DES-969-file-list-component/assets/ImageSlider.docs-CbLxx3Oe.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,aq as a,ar as r,as as l,at as m}from"./index-CsbqyhR0.js";import{I as d,R as h}from"./ImageSlider.stories-DBEBe8fe.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./IconButton-C-A1ufmT.js";import"./Icon-D1obyjGa.js";import"./Image-BeIE0HQj.js";const c=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as i,aq as a,ar as r,as as l,at as m}from"./index-DEYBsmB_.js";import{I as d,R as h}from"./ImageSlider.stories-pbJqiUie.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./IconButton-Dm4nec53.js";import"./Icon-B4wlDyQ3.js";import"./Image-dslpK47z.js";const c=` # Image Slider @@ -34,4 +34,4 @@ The images do not slide automatically. `,e.jsxs(t.p,{children:["Provide a set of smaller and larger instances for every image (through ",e.jsx(t.code,{children:"srcSet"}),", see ",e.jsx(t.a,{href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#srcset",rel:"nofollow",children:"MDN"}),`) to let the browser select the optimal source file. A mobile device can often download a smaller file, saving the user’s bandwidth and time. Don’t forget to still include the required `,e.jsx(t.code,{children:"src"})," attribute."]}),` -`,e.jsx(m,{of:h})]})}function A(n={}){const{wrapper:t}={...o(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(s,{...n})}):s(n)}export{A as default}; +`,e.jsx(m,{of:h})]})}function T(n={}){const{wrapper:t}={...o(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(s,{...n})}):s(n)}export{T as default}; diff --git a/demo-DES-969-file-list-component/assets/ImageSlider.stories-DBEBe8fe.js b/demo-DES-969-file-list-component/assets/ImageSlider.stories-pbJqiUie.js similarity index 97% rename from demo-DES-969-file-list-component/assets/ImageSlider.stories-DBEBe8fe.js rename to demo-DES-969-file-list-component/assets/ImageSlider.stories-pbJqiUie.js index c78f4385e2..93d1661df3 100644 --- a/demo-DES-969-file-list-component/assets/ImageSlider.stories-DBEBe8fe.js +++ b/demo-DES-969-file-list-component/assets/ImageSlider.stories-pbJqiUie.js @@ -1,4 +1,4 @@ -import{j as l}from"./jsx-runtime-j_jdvEMj.js";import{c as _}from"./clsx-B-dksMZM.js";import{r as t}from"./index-B-o1Wr-g.js";import{l as U,e as W}from"./index.esm-CEthAr-Q.js";import{I as q}from"./IconButton-C-A1ufmT.js";import{I as X}from"./Image-BeIE0HQj.js";/** +import{j as l}from"./jsx-runtime-BjgbQsUx.js";import{c as _}from"./clsx-B-dksMZM.js";import{r as t}from"./index-RigO-4kf.js";import{l as U,e as W}from"./index.esm-Bz9pa_xK.js";import{I as q}from"./IconButton-Dm4nec53.js";import{I as X}from"./Image-dslpK47z.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const Y={currentSlideId:0,isAtStart:!0,isAtEnd:!1,goToNextSlide:()=>{},goToPreviousSlide:()=>{},goToSlideId:()=>{}},T=t.createContext(Y),E=t.forwardRef(({className:o,nextLabel:c,previousLabel:d,...u},b)=>{const{isAtStart:n,isAtEnd:p,goToNextSlide:g,goToPreviousSlide:a}=t.useContext(T),x=t.useCallback(()=>a(),[a]),v=t.useCallback(()=>g(),[g]);return l.jsxs("div",{...u,className:_("ams-image-slider__controls",o),ref:b,children:[l.jsx(q,{className:"ams-image-slider__control ams-image-slider__control--previous",disabled:n,inverseColor:!0,label:d,onClick:x,svg:U}),l.jsx(q,{className:"ams-image-slider__control ams-image-slider__control--next",disabled:p,inverseColor:!0,label:c,onClick:v,svg:W})]})});E.displayName="ImageSliderControls";try{E.displayName="ImageSliderControls",E.__docgenInfo={description:"",displayName:"ImageSliderControls",props:{nextLabel:{defaultValue:null,description:"The label for the ‘next’ button",name:"nextLabel",required:!0,type:{name:"string"}},previousLabel:{defaultValue:null,description:"The label for the ‘previous’ button",name:"previousLabel",required:!0,type:{name:"string"}}}}}catch{}const L=t.forwardRef(({children:o,slideId:c,className:d,...u},b)=>{const{currentSlideId:n}=t.useContext(T),p=t.useMemo(()=>n===c,[n,c]),g=t.useMemo(()=>_("ams-image-slider__item",p&&"ams-image-slider__item--in-view",d),[p,d]);return l.jsx("div",{...u,className:g,ref:b,...!p&&{inert:""},children:o})});L.displayName="ImageSlider.Item";try{ImageSlider.Item.displayName="ImageSlider.Item",ImageSlider.Item.__docgenInfo={description:"",displayName:"ImageSlider.Item",props:{slideId:{defaultValue:null,description:"The identifier of the item. Must match the key or order of the slides (starting at 0).",name:"slideId",required:!0,type:{name:"number"}}}}}catch{}const K=t.forwardRef(({children:o,className:c,...d},u)=>l.jsx("div",{...d,className:_("ams-image-slider__scroller",c),ref:u,children:o}));K.displayName="ImageSlider.Scroller";try{ImageSlider.Scroller.displayName="ImageSlider.Scroller",ImageSlider.Scroller.__docgenInfo={description:"",displayName:"ImageSlider.Scroller",props:{}}}catch{}const F=t.forwardRef(({className:o,imageLabel:c,thumbnails:d,...u},b)=>{const{currentSlideId:n,goToNextSlide:p,goToPreviousSlide:g,goToSlideId:a}=t.useContext(T),x=t.useCallback(I=>{const m=I.currentTarget.children[n];if(I.key==="ArrowRight"){const h=m==null?void 0:m.nextElementSibling;h&&(h.focus(),p())}if(I.key==="ArrowLeft"){const h=m==null?void 0:m.previousElementSibling;h&&(h.focus(),g())}},[n,p,g]),v=t.useMemo(()=>d.map(({alt:I,aspectRatio:m,src:h},i)=>l.jsx("button",{"aria-label":`${c} ${i+1}: ${I}`,"aria-posinset":i+1,"aria-selected":n===i?"true":"false","aria-setsize":d.length,className:_("ams-image-slider__thumbnail",n===i&&"ams-image-slider__thumbnail--in-view",m&&`ams-aspect-ratio--${m}`),onClick:()=>a(i),role:"tab",style:{backgroundImage:`url(${h})`},tabIndex:n===i?0:-1},i)),[n,a,c,d]);return l.jsx("nav",{...u,className:_("ams-image-slider__thumbnails",o),onKeyDown:x,ref:b,role:"tablist",children:v})});F.displayName="ImageSlider.Thumbnails";try{ImageSlider.Thumbnails.displayName="ImageSlider.Thumbnails",ImageSlider.Thumbnails.__docgenInfo={description:"",displayName:"ImageSlider.Thumbnails",props:{imageLabel:{defaultValue:null,description:"",name:"imageLabel",required:!1,type:{name:"string"}},thumbnails:{defaultValue:null,description:"",name:"thumbnails",required:!0,type:{name:"ImageProps[]"}}}}}catch{}const G=t.forwardRef(({className:o,controls:c,imageLabel:d="Afbeelding",images:u,nextLabel:b="Volgende",previousLabel:n="Vorige",...p},g)=>{const[a,x]=t.useState(0),[v,I]=t.useState(!0),[m,h]=t.useState(!1),i=t.useRef(null),k=t.useRef(null),j=t.useCallback(e=>{var r;const s=Array.from(((r=i.current)==null?void 0:r.children)||[]);e.forEach(S=>{S.isIntersecting&&x(s.indexOf(S.target))})},[]),V=t.useMemo(()=>({root:i.current,threshold:.6}),[]),C=t.useCallback(()=>{const e=i.current;if(!e)return;const{lastElementChild:s,firstElementChild:r}=e;I(r===(e==null?void 0:e.children[a])),h(s===(e==null?void 0:e.children[a]))},[a]);t.useEffect(()=>{if(i.current){k.current=new IntersectionObserver(j,V);const e=k.current,s=Array.from(i.current.children);return s.forEach(r=>e.observe(r)),i.current.addEventListener("scrollend",A),C(),()=>{var r;s.forEach(S=>e.unobserve(S)),(r=i.current)==null||r.removeEventListener("scrollend",A)}}},[j,V,C]);const A=t.useCallback(()=>C(),[C]),f=t.useCallback(e=>{const s=i.current;!s||!e||s.scrollTo({left:s.scrollLeft+e.offsetLeft-s.scrollLeft})},[]),H=t.useCallback(e=>{var r;const s=(r=i.current)==null?void 0:r.children[e];s&&f(s)},[f]),J=t.useCallback(()=>{var r;const e=(r=i.current)==null?void 0:r.children[a],s=e==null?void 0:e.nextElementSibling;s&&f(s)},[a,f]),Q=t.useCallback(()=>{var r;const e=(r=i.current)==null?void 0:r.children[a],s=e==null?void 0:e.previousElementSibling;s&&f(s)},[a,f]);return t.useEffect(()=>{const e=()=>{var N;const s=i.current,r=(N=i.current)==null?void 0:N.children[a];if(!s||!r)return;const S=r.offsetLeft;Math.abs(s.scrollLeft-S)<1||f(r)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[a,f]),l.jsx(T.Provider,{value:{isAtStart:v,isAtEnd:m,currentSlideId:a,goToNextSlide:J,goToPreviousSlide:Q,goToSlideId:H},children:l.jsxs("div",{...p,"aria-roledescription":"carousel",className:_("ams-image-slider",c&&"ams-image-slider--controls",o),tabIndex:-1,ref:g,children:[c&&l.jsx(E,{nextLabel:b,previousLabel:n}),l.jsx(K,{"aria-live":"polite",ref:i,role:"group",tabIndex:0,children:u.map(({alt:e,aspectRatio:s,sizes:r,src:S,srcSet:N},z)=>l.jsx(L,{slideId:z,children:l.jsx(X,{alt:e,className:`ams-aspect-ratio--${s}`,sizes:r,src:S,srcSet:N})},z))}),l.jsx(F,{imageLabel:d,thumbnails:u})]})})});G.displayName="ImageSlider";const R=Object.assign(G,{Item:L});try{R.displayName="ImageSlider",R.__docgenInfo={description:"",displayName:"ImageSlider",props:{controls:{defaultValue:null,description:"Display buttons to navigate to the previous or next image.",name:"controls",required:!1,type:{name:"boolean"}},imageLabel:{defaultValue:{value:"Afbeelding"},description:"Label for the image if you need to translate the alt text.",name:"imageLabel",required:!1,type:{name:"string"}},images:{defaultValue:null,description:"The set of images to display.",name:"images",required:!0,type:{name:"ImageProps[]"}},nextLabel:{defaultValue:{value:"Volgende"},description:"The label for the ‘next’ button",name:"nextLabel",required:!1,type:{name:"string"}},previousLabel:{defaultValue:{value:"Vorige"},description:"The label for the ‘previous’ button",name:"previousLabel",required:!1,type:{name:"string"}}}}}catch{}/** diff --git a/demo-DES-969-file-list-component/assets/Introduction.docs-DGfkKOdW.js b/demo-DES-969-file-list-component/assets/Introduction.docs-Cl4Hs8gB.js similarity index 74% rename from demo-DES-969-file-list-component/assets/Introduction.docs-DGfkKOdW.js rename to demo-DES-969-file-list-component/assets/Introduction.docs-Cl4Hs8gB.js index 907c6df4c8..47c044ef06 100644 --- a/demo-DES-969-file-list-component/assets/Introduction.docs-DGfkKOdW.js +++ b/demo-DES-969-file-list-component/assets/Introduction.docs-Cl4Hs8gB.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as i}from"./index-CsbqyhR0.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function o(n){const t={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",...s(),...n.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as i}from"./index-DEYBsmB_.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function o(n){const t={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",...s(),...n.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(i,{title:"Pages/Introduction"}),` `,e.jsx(t.h1,{id:"pages",children:"Pages"}),` @@ -18,4 +18,4 @@ The ‘HTML’ tab displays the entire HTML-document rendered by all components `,e.jsx(t.h3,{id:"check-how-the-page-would-look-on-various-devices",children:"Check how the page would look on various devices"}),` `,e.jsx(t.p,{children:"The buttons in the toolbar offer various features, of which the ‘three layered square’ button replicates the appearance and behaviour of the page on a phone, tablet or desktop. Press the button with the two arrows to rotate the screen."}),` `,e.jsx(t.h3,{id:"see-the-page-full-screen",children:"See the page full-screen"}),` -`,e.jsxs(t.p,{children:["Use the ‘Go to full screen’ (or press ",e.jsx(t.code,{children:"alt+F"}),") or ‘Open canvas in new tab’ buttons to the top right to see the entire page."]})]})}function g(n={}){const{wrapper:t}={...s(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(o,{...n})}):o(n)}export{g as default}; +`,e.jsxs(t.p,{children:["Use the ‘Go to full screen’ (or press ",e.jsx(t.code,{children:"alt+F"}),") or ‘Open canvas in new tab’ buttons to the top right to see the entire page."]})]})}function w(n={}){const{wrapper:t}={...s(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(o,{...n})}):o(n)}export{w as default}; diff --git a/demo-DES-969-file-list-component/assets/Label.docs-hjYC8OCS.js b/demo-DES-969-file-list-component/assets/Label.docs-DXKTeTk4.js similarity index 62% rename from demo-DES-969-file-list-component/assets/Label.docs-hjYC8OCS.js rename to demo-DES-969-file-list-component/assets/Label.docs-DXKTeTk4.js index aafef5ed0f..4118dc6f2e 100644 --- a/demo-DES-969-file-list-component/assets/Label.docs-hjYC8OCS.js +++ b/demo-DES-969-file-list-component/assets/Label.docs-DXKTeTk4.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as a,ar as h,as as l,at as o}from"./index-CsbqyhR0.js";import{L as p,O as m,W as c}from"./Label.stories-Dcrx0ofz.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Hint-rQy8SNzx.js";const d=` +import{j as t}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as r}from"./index-3rgQkYFR.js";import{ae as s,aq as a,ar as h,as as l,at as o}from"./index-DEYBsmB_.js";import{L as p,O as m,W as c}from"./Label.stories-C_bEBMkh.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Hint-ny2kNNgA.js";const d=` # Label @@ -9,9 +9,9 @@ Describes a form control. - Always associate a form element (such as an \`input\` or \`textarea\`) with a label. - Set \`optional\` to \`true\` if the input is not required. - Use \`hint\` to show a custom hint text. -`;/*@license CC0-1.0*/function i(n){const e={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",...s(),...n.components};return t.jsxs(t.Fragment,{children:[` +`;/*@license CC0-1.0*/function i(n){const e={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",...r(),...n.components};return t.jsxs(t.Fragment,{children:[` `,` -`,t.jsx(r,{of:p}),` +`,t.jsx(s,{of:p}),` `,t.jsx(a,{children:d}),` `,t.jsx(h,{}),` `,t.jsx(l,{}),` @@ -23,4 +23,4 @@ Describes a form control. `,t.jsxs(e.p,{children:["Use the ",t.jsx(e.code,{children:"hint"})," prop to either customize the text for the optional property or provide another type of remark."]}),` `,t.jsxs(e.p,{children:["Note: ensure the hint meets ",t.jsx(e.a,{href:"https://www.amsterdam.nl/schrijfwijzer/heldere-taal-basis-onze-huisstijl/",rel:"nofollow",children:"language level B1"}),`. For the same reason, the default hint text in Dutch is ‘niet verplicht’, not ‘optioneel’.`]}),` -`,t.jsx(o,{of:c})]})}function z(n={}){const{wrapper:e}={...s(),...n.components};return e?t.jsx(e,{...n,children:t.jsx(i,{...n})}):i(n)}export{z as default}; +`,t.jsx(o,{of:c})]})}function O(n={}){const{wrapper:e}={...r(),...n.components};return e?t.jsx(e,{...n,children:t.jsx(i,{...n})}):i(n)}export{O as default}; diff --git a/demo-DES-969-file-list-component/assets/Label.stories-Dcrx0ofz.js b/demo-DES-969-file-list-component/assets/Label.stories-C_bEBMkh.js similarity index 90% rename from demo-DES-969-file-list-component/assets/Label.stories-Dcrx0ofz.js rename to demo-DES-969-file-list-component/assets/Label.stories-C_bEBMkh.js index 5fafbbc86c..7537f3b8fb 100644 --- a/demo-DES-969-file-list-component/assets/Label.stories-Dcrx0ofz.js +++ b/demo-DES-969-file-list-component/assets/Label.stories-C_bEBMkh.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-j_jdvEMj.js";import{c as y}from"./clsx-B-dksMZM.js";import{r as L}from"./index-B-o1Wr-g.js";import{H as S}from"./Hint-rQy8SNzx.js";const a=L.forwardRef(({children:o,className:f,hint:b,optional:g,..._},x)=>s.jsxs("label",{..._,ref:x,className:y("ams-label",f),children:[o," ",s.jsx(S,{hint:b,optional:g})]}));a.displayName="Label";try{a.displayName="Label",a.__docgenInfo={description:"",displayName:"Label",props:{hint:{defaultValue:null,description:"Show a custom hint text.",name:"hint",required:!1,type:{name:"string"}},optional:{defaultValue:null,description:"Appends the text '(niet verplicht)' to the label or legend if no hint is provided. Use when the associated inputs are optional.",name:"optional",required:!1,type:{name:"boolean"}}}}}catch{}/** +import{j as s}from"./jsx-runtime-BjgbQsUx.js";import{c as y}from"./clsx-B-dksMZM.js";import{r as L}from"./index-RigO-4kf.js";import{H as S}from"./Hint-ny2kNNgA.js";const a=L.forwardRef(({children:o,className:f,hint:b,optional:g,..._},x)=>s.jsxs("label",{..._,ref:x,className:y("ams-label",f),children:[o," ",s.jsx(S,{hint:b,optional:g})]}));a.displayName="Label";try{a.displayName="Label",a.__docgenInfo={description:"",displayName:"Label",props:{hint:{defaultValue:null,description:"Show a custom hint text.",name:"hint",required:!1,type:{name:"string"}},optional:{defaultValue:null,description:"Appends the text '(niet verplicht)' to the label or legend if no hint is provided. Use when the associated inputs are optional.",name:"optional",required:!1,type:{name:"boolean"}}}}}catch{}/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const j={title:"Components/Forms/Label",component:a,args:{children:"Label",hint:"",optional:!1},argTypes:{children:{description:"The text content.",table:{disable:!1}}}},e={},t={args:{optional:!0}},r={args:{hint:"not required"}};var n,i,l;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(l=(i=e.parameters)==null?void 0:i.docs)==null?void 0:l.source}}};var p,c,d;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/Link.docs-DLTjLMzr.js b/demo-DES-969-file-list-component/assets/Link.docs-BJ7T4n0r.js similarity index 87% rename from demo-DES-969-file-list-component/assets/Link.docs-DLTjLMzr.js rename to demo-DES-969-file-list-component/assets/Link.docs-BJ7T4n0r.js index 91ec176e13..2c9326aed2 100644 --- a/demo-DES-969-file-list-component/assets/Link.docs-DLTjLMzr.js +++ b/demo-DES-969-file-list-component/assets/Link.docs-BJ7T4n0r.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as a,ar as l,as as c,at as t}from"./index-CsbqyhR0.js";import{L as h,S as d,I as p,C as u,a as m}from"./Link.stories-Dv8HxW7G.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const g=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as r,aq as a,ar as l,as as c,at as t}from"./index-DEYBsmB_.js";import{L as h,S as d,I as p,C as u,a as m}from"./Link.stories-4jGip33q.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const g=` # Link @@ -83,4 +83,4 @@ For now, the 'inverse' appearance will prevail.`}),` `,e.jsx(n.h4,{id:"contrast-colour",children:"Contrast colour"}),` `,e.jsx(t,{of:u}),` `,e.jsx(n.h4,{id:"inverse-colour",children:"Inverse colour"}),` -`,e.jsx(t,{of:m})]})}function I(o={}){const{wrapper:n}={...s(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(i,{...o})}):i(o)}export{I as default}; +`,e.jsx(t,{of:m})]})}function S(o={}){const{wrapper:n}={...s(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(i,{...o})}):i(o)}export{S as default}; diff --git a/demo-DES-969-file-list-component/assets/Link.stories-Dv8HxW7G.js b/demo-DES-969-file-list-component/assets/Link.stories-4jGip33q.js similarity index 93% rename from demo-DES-969-file-list-component/assets/Link.stories-Dv8HxW7G.js rename to demo-DES-969-file-list-component/assets/Link.stories-4jGip33q.js index 568f41203f..66eb6907bc 100644 --- a/demo-DES-969-file-list-component/assets/Link.stories-Dv8HxW7G.js +++ b/demo-DES-969-file-list-component/assets/Link.stories-4jGip33q.js @@ -1,4 +1,4 @@ -import{j as l}from"./jsx-runtime-j_jdvEMj.js";import{P as N}from"./index.esm-Dojcg4AG.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as T}from"./index-B-o1Wr-g.js";const t=T.forwardRef(({children:s,className:S,contrastColor:j,inverseColor:L,variant:i="standalone",...q},I)=>l.jsx("a",{...q,ref:I,className:P("ams-link",j&&"ams-link--contrast-color",L&&"ams-link--inverse-color",i==="inline"&&"ams-link--inline",i==="standalone"&&"ams-link--standalone",S),children:s}));t.displayName="Link";try{t.displayName="Link",t.__docgenInfo={description:"",displayName:"Link",props:{contrastColor:{defaultValue:null,description:"Changes the text colour for readability on a light background.",name:"contrastColor",required:!1,type:{name:"boolean"}},inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"standalone"},description:"Whether the link is inline or stands alone.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"inline"'},{value:'"standalone"'}]}}}}}catch{}const w={title:"Components/Navigation/Link",component:t,args:{children:"Link label",contrastColor:!1,href:"#",inverseColor:!1},argTypes:{children:{description:"The link text.",table:{disable:!1}},href:{description:"The url for the link.",name:"href",type:{name:"string",required:!1}}}},e={},r={},a={args:{children:"typograaf",variant:"inline"},decorators:[s=>l.jsxs(N,{children:["Jouw ",l.jsx(s,{})," biedt mij zulke exquise schreven!"]})]},o={args:{contrastColor:!0}},n={args:{inverseColor:!0}};var c,d,u;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:"{}",...(u=(d=e.parameters)==null?void 0:d.docs)==null?void 0:u.source}}};var p,m,f;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(f=(m=r.parameters)==null?void 0:m.docs)==null?void 0:f.source}}};var g,h,k;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:`{ +import{j as l}from"./jsx-runtime-BjgbQsUx.js";import{P as N}from"./index.esm-CEzKrmam.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as T}from"./index-RigO-4kf.js";const t=T.forwardRef(({children:s,className:S,contrastColor:j,inverseColor:L,variant:i="standalone",...q},I)=>l.jsx("a",{...q,ref:I,className:P("ams-link",j&&"ams-link--contrast-color",L&&"ams-link--inverse-color",i==="inline"&&"ams-link--inline",i==="standalone"&&"ams-link--standalone",S),children:s}));t.displayName="Link";try{t.displayName="Link",t.__docgenInfo={description:"",displayName:"Link",props:{contrastColor:{defaultValue:null,description:"Changes the text colour for readability on a light background.",name:"contrastColor",required:!1,type:{name:"boolean"}},inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"standalone"},description:"Whether the link is inline or stands alone.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"inline"'},{value:'"standalone"'}]}}}}}catch{}const w={title:"Components/Navigation/Link",component:t,args:{children:"Link label",contrastColor:!1,href:"#",inverseColor:!1},argTypes:{children:{description:"The link text.",table:{disable:!1}},href:{description:"The url for the link.",name:"href",type:{name:"string",required:!1}}}},e={},r={},a={args:{children:"typograaf",variant:"inline"},decorators:[s=>l.jsxs(N,{children:["Jouw ",l.jsx(s,{})," biedt mij zulke exquise schreven!"]})]},o={args:{contrastColor:!0}},n={args:{inverseColor:!0}};var c,d,u;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:"{}",...(u=(d=e.parameters)==null?void 0:d.docs)==null?void 0:u.source}}};var p,m,f;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(f=(m=r.parameters)==null?void 0:m.docs)==null?void 0:f.source}}};var g,h,k;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:`{ args: { children: 'typograaf', variant: 'inline' diff --git a/demo-DES-969-file-list-component/assets/LinkList-Hl4TNsYq.js b/demo-DES-969-file-list-component/assets/LinkList-DlaAvMMY.js similarity index 85% rename from demo-DES-969-file-list-component/assets/LinkList-Hl4TNsYq.js rename to demo-DES-969-file-list-component/assets/LinkList-DlaAvMMY.js index 79c5dc46f4..c74dc7e1f7 100644 --- a/demo-DES-969-file-list-component/assets/LinkList-Hl4TNsYq.js +++ b/demo-DES-969-file-list-component/assets/LinkList-DlaAvMMY.js @@ -1 +1 @@ -import{j as i}from"./jsx-runtime-j_jdvEMj.js";import{c as l}from"./clsx-B-dksMZM.js";import{r}from"./index-B-o1Wr-g.js";import{e as k}from"./index.esm-CEthAr-Q.js";import{I as L}from"./Icon-D1obyjGa.js";const f={small:"level-6",medium:"level-5",large:"level-4"},c=r.forwardRef(({children:e,className:n,icon:t,contrastColor:s,inverseColor:d,size:a,...p},u)=>i.jsx("li",{children:i.jsxs("a",{className:l("ams-link-list__link",s&&"ams-link-list__link--contrast-color",d&&"ams-link-list__link--inverse-color",a&&`ams-link-list__link--${a}`,n),ref:u,...p,children:[i.jsx(L,{svg:t??k,size:f[a??"medium"]}),e]})}));c.displayName="LinkList.Link";try{LinkList.Link.displayName="LinkList.Link",LinkList.Link.__docgenInfo={description:"One link with a Link List.",displayName:"LinkList.Link",props:{icon:{defaultValue:null,description:"An icon to display instead of the default chevron. Don’t mix custom icons with chevrons in one list.",name:"icon",required:!1,type:{name:"Function"}},contrastColor:{defaultValue:null,description:"Changes the text colour for readability on a light background.",name:"contrastColor",required:!1,type:{name:"boolean"}},inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"The size of the text. Use the same size for all items in the list.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'}]}}}}}catch{}const m=r.forwardRef(({children:e,className:n,...t},s)=>i.jsx("ul",{ref:s,className:l("ams-link-list",n),...t,children:e}));m.displayName="LinkList";const o=Object.assign(m,{Link:c});try{o.displayName="LinkList",o.__docgenInfo={description:"",displayName:"LinkList",props:{}}}catch{}export{o as L}; +import{j as i}from"./jsx-runtime-BjgbQsUx.js";import{c as l}from"./clsx-B-dksMZM.js";import{r}from"./index-RigO-4kf.js";import{e as k}from"./index.esm-Bz9pa_xK.js";import{I as L}from"./Icon-B4wlDyQ3.js";const f={small:"level-6",medium:"level-5",large:"level-4"},c=r.forwardRef(({children:e,className:n,icon:t,contrastColor:s,inverseColor:d,size:a,...p},u)=>i.jsx("li",{children:i.jsxs("a",{className:l("ams-link-list__link",s&&"ams-link-list__link--contrast-color",d&&"ams-link-list__link--inverse-color",a&&`ams-link-list__link--${a}`,n),ref:u,...p,children:[i.jsx(L,{svg:t??k,size:f[a??"medium"]}),e]})}));c.displayName="LinkList.Link";try{LinkList.Link.displayName="LinkList.Link",LinkList.Link.__docgenInfo={description:"One link with a Link List.",displayName:"LinkList.Link",props:{icon:{defaultValue:null,description:"An icon to display instead of the default chevron. Don’t mix custom icons with chevrons in one list.",name:"icon",required:!1,type:{name:"Function"}},contrastColor:{defaultValue:null,description:"Changes the text colour for readability on a light background.",name:"contrastColor",required:!1,type:{name:"boolean"}},inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"The size of the text. Use the same size for all items in the list.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'}]}}}}}catch{}const m=r.forwardRef(({children:e,className:n,...t},s)=>i.jsx("ul",{ref:s,className:l("ams-link-list",n),...t,children:e}));m.displayName="LinkList";const o=Object.assign(m,{Link:c});try{o.displayName="LinkList",o.__docgenInfo={description:"",displayName:"LinkList",props:{}}}catch{}export{o as L}; diff --git a/demo-DES-969-file-list-component/assets/LinkList.docs-Co48CU23.js b/demo-DES-969-file-list-component/assets/LinkList.docs-AGXGZpLf.js similarity index 78% rename from demo-DES-969-file-list-component/assets/LinkList.docs-Co48CU23.js rename to demo-DES-969-file-list-component/assets/LinkList.docs-AGXGZpLf.js index 8931e29ca4..d767f64a54 100644 --- a/demo-DES-969-file-list-component/assets/LinkList.docs-Co48CU23.js +++ b/demo-DES-969-file-list-component/assets/LinkList.docs-AGXGZpLf.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as l,aq as a,ar as c,at as s,as as h}from"./index-CsbqyhR0.js";import{L as d,C as m,S as p,a as t,b as u,I as x}from"./LinkList.stories-DDvwme-X.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-CEthAr-Q.js";import"./exampleContent-hIIPvEhU.js";import"./LinkList-Hl4TNsYq.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const j=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as r}from"./index-3rgQkYFR.js";import{ae as l,aq as a,ar as c,at as s,as as h}from"./index-DEYBsmB_.js";import{L as d,C as m,S as p,a as t,b as u,I as x}from"./LinkList.stories-CQWHDOlu.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-Bz9pa_xK.js";import"./exampleContent-hIIPvEhU.js";import"./LinkList-DlaAvMMY.js";import"./clsx-B-dksMZM.js";import"./Icon-B4wlDyQ3.js";const j=` # Link List @@ -52,4 +52,4 @@ For now, the 'inverse' appearance will prevail.`}),` `,e.jsx(n.h4,{id:"contrast-colour",children:"Contrast colour"}),` `,e.jsx(s,{of:u}),` `,e.jsx(n.h4,{id:"inverse-colour",children:"Inverse colour"}),` -`,e.jsx(s,{of:x})]})}function R(o={}){const{wrapper:n}={...r(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(i,{...o})}):i(o)}export{R as default}; +`,e.jsx(s,{of:x})]})}function X(o={}){const{wrapper:n}={...r(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(i,{...o})}):i(o)}export{X as default}; diff --git a/demo-DES-969-file-list-component/assets/LinkList.stories-DDvwme-X.js b/demo-DES-969-file-list-component/assets/LinkList.stories-CQWHDOlu.js similarity index 94% rename from demo-DES-969-file-list-component/assets/LinkList.stories-DDvwme-X.js rename to demo-DES-969-file-list-component/assets/LinkList.stories-CQWHDOlu.js index 6e22c7ca45..50f8321243 100644 --- a/demo-DES-969-file-list-component/assets/LinkList.stories-DDvwme-X.js +++ b/demo-DES-969-file-list-component/assets/LinkList.stories-CQWHDOlu.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{e as _,I as d,f as P,g as B,h as D}from"./index.esm-CEthAr-Q.js";import{a as E}from"./exampleContent-hIIPvEhU.js";import{L as e}from"./LinkList-Hl4TNsYq.js";const O=E(),H={title:"Components/Navigation/Link List",component:e};e.Link;const L={args:{children:O.map((r,m)=>n.jsx(e.Link,{href:"#",children:r},m))}},l={args:{children:O[0],contrastColor:!1,href:"#",icon:_,inverseColor:!1},argTypes:{icon:{control:{type:"select",labels:{undefined:"none"}},options:[void 0,...Object.keys(d)],mapping:d},size:{control:{type:"radio",labels:{undefined:"medium"}},options:["small",void 0,"large"]}},decorators:[r=>n.jsx(e,{children:n.jsx(r,{})})],render:({children:r,...m})=>n.jsx(e.Link,{...m,children:r})},s={...L},o={...L,args:{children:[n.jsx(e.Link,{href:"#",icon:P,children:"Contactformulier"},"form"),n.jsx(e.Link,{href:"#",icon:B,children:"Adressen en openingstijden"},"address"),n.jsx(e.Link,{href:"#",icon:D,children:"Bel 14 020"},"phone")]}},t={...L,args:{children:[n.jsx(e.Link,{href:"#",size:"small",children:"Over deze website"},"about"),n.jsx(e.Link,{href:"#",size:"small",children:"Abonneer u op de nieuwsbrief"},"newsletter"),n.jsx(e.Link,{href:"#",size:"small",children:"Werken bij de gemeente Amsterdam"},"jobs")]}},i={...l},a={...l,args:{...l.args,contrastColor:!0}},c={...l,args:{...l.args,inverseColor:!0}};var p,k,u;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{e as _,I as d,f as P,g as B,h as D}from"./index.esm-Bz9pa_xK.js";import{a as E}from"./exampleContent-hIIPvEhU.js";import{L as e}from"./LinkList-DlaAvMMY.js";const O=E(),H={title:"Components/Navigation/Link List",component:e};e.Link;const L={args:{children:O.map((r,m)=>n.jsx(e.Link,{href:"#",children:r},m))}},l={args:{children:O[0],contrastColor:!1,href:"#",icon:_,inverseColor:!1},argTypes:{icon:{control:{type:"select",labels:{undefined:"none"}},options:[void 0,...Object.keys(d)],mapping:d},size:{control:{type:"radio",labels:{undefined:"medium"}},options:["small",void 0,"large"]}},decorators:[r=>n.jsx(e,{children:n.jsx(r,{})})],render:({children:r,...m})=>n.jsx(e.Link,{...m,children:r})},s={...L},o={...L,args:{children:[n.jsx(e.Link,{href:"#",icon:P,children:"Contactformulier"},"form"),n.jsx(e.Link,{href:"#",icon:B,children:"Adressen en openingstijden"},"address"),n.jsx(e.Link,{href:"#",icon:D,children:"Bel 14 020"},"phone")]}},t={...L,args:{children:[n.jsx(e.Link,{href:"#",size:"small",children:"Over deze website"},"about"),n.jsx(e.Link,{href:"#",size:"small",children:"Abonneer u op de nieuwsbrief"},"newsletter"),n.jsx(e.Link,{href:"#",size:"small",children:"Werken bij de gemeente Amsterdam"},"jobs")]}},i={...l},a={...l,args:{...l.args,contrastColor:!0}},c={...l,args:{...l.args,inverseColor:!0}};var p,k,u;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:`{ ...StoryTemplate }`,...(u=(k=s.parameters)==null?void 0:k.docs)==null?void 0:u.source}}};var g,h,f;o.parameters={...o.parameters,docs:{...(g=o.parameters)==null?void 0:g.docs,source:{originalSource:`{ ...StoryTemplate, diff --git a/demo-DES-969-file-list-component/assets/Logo-BnxYOw7m.js b/demo-DES-969-file-list-component/assets/Logo-BazI2ckd.js similarity index 99% rename from demo-DES-969-file-list-component/assets/Logo-BnxYOw7m.js rename to demo-DES-969-file-list-component/assets/Logo-BazI2ckd.js index 11561e1497..c4605cb2e0 100644 --- a/demo-DES-969-file-list-component/assets/Logo-BnxYOw7m.js +++ b/demo-DES-969-file-list-component/assets/Logo-BazI2ckd.js @@ -1 +1 @@ -import{j as c}from"./jsx-runtime-j_jdvEMj.js";import{c as t}from"./clsx-B-dksMZM.js";import{r as l}from"./index-B-o1Wr-g.js";const s=l.forwardRef((h,v)=>c.jsxs("svg",{className:"ams-logo","aria-hidden":"true",focusable:"false",ref:v,viewBox:"0 0 115 40",xmlns:"http://www.w3.org/2000/svg",...h,children:[c.jsx("path",{className:"ams-logo__text-primary",fill:"#EC0000",d:"M16.435 8.581c0-3.752 2.63-6.4 6.344-6.4 1.886 0 3.466.61 4.59 1.829L25.731 5.57c-.704-.78-1.714-1.238-2.915-1.238-2.248 0-3.81 1.752-3.81 4.248 0 2.496 1.524 4.324 3.715 4.324 2 0 3.391-1.143 3.391-2.8v-.323h-2.99V7.705h5.505V9.63c0 3.162-2.457 5.39-5.981 5.39s-6.21-2.666-6.21-6.438ZM30.225 10.086c0-2.915 1.962-4.934 4.762-4.934s4.743 2 4.743 4.876c0 .229-.037.59-.076.839h-7.048C32.778 12.143 33.863 13 35.254 13c1.029 0 1.924-.381 2.514-1.067l1.428 1.391c-.857 1.106-2.343 1.696-4.057 1.696-2.895 0-4.915-2.038-4.915-4.934h.001Zm2.381-.952h4.743c-.152-1.238-1.105-2.077-2.38-2.077-1.276 0-2.229.839-2.363 2.077ZM43.902 5.382v1.275h.038c.476-.97 1.314-1.505 2.4-1.505 1.219 0 2.132.534 2.704 1.6.571-1.028 1.62-1.6 2.952-1.6 2.324 0 3.448 1.296 3.448 3.943v5.696h-2.362V9.495c0-1.543-.534-2.286-1.638-2.286-1.104 0-1.696.82-1.696 2.362v5.22h-2.362V9.495c0-1.562-.514-2.286-1.638-2.286-1.124 0-1.695.838-1.695 2.362v5.22H41.69V5.38h2.212ZM57.312 10.086c0-2.915 1.963-4.934 4.762-4.934 2.8 0 4.744 2 4.744 4.876 0 .229-.038.59-.077.839h-7.048C59.865 12.143 60.95 13 62.341 13c1.03 0 1.924-.381 2.514-1.067l1.429 1.391c-.857 1.106-2.344 1.696-4.058 1.696-2.895 0-4.915-2.038-4.915-4.934h.001Zm2.381-.952h4.743c-.152-1.238-1.105-2.077-2.38-2.077-1.276 0-2.229.839-2.363 2.077ZM68.189 10.086c0-2.915 1.962-4.934 4.762-4.934s4.743 2 4.743 4.876c0 .229-.038.59-.077.839H70.57C70.74 12.143 71.827 13 73.218 13c1.028 0 1.923-.381 2.513-1.067l1.429 1.391c-.857 1.106-2.343 1.696-4.058 1.696-2.895 0-4.915-2.038-4.915-4.934h.002Zm2.38-.952h4.744c-.153-1.238-1.105-2.077-2.381-2.077-1.276 0-2.228.839-2.362 2.077ZM81.883 5.382v1.275h.038c.438-.933 1.39-1.505 2.495-1.505 2.362 0 3.582 1.353 3.582 3.943v5.696h-2.363V9.552c0-1.6-.571-2.343-1.772-2.343-1.2 0-1.847.838-1.847 2.4v5.18h-2.362V5.382h2.23ZM91.026 11.42V7.342h-1.619V5.381h.858c.78 0 1.085-.305 1.085-1.086V2.83h2.019v2.553h2.285v1.962H93.37v4.077c0 .915.476 1.428 1.352 1.428.267 0 .59-.037.78-.095v1.981c-.285.077-.819.133-1.238.133-2.133 0-3.238-1.18-3.238-3.447l.001-.002ZM96.817 10.086c0-2.915 1.963-4.934 4.762-4.934 2.8 0 4.744 2 4.744 4.876 0 .229-.038.59-.077.839h-7.048c.172 1.276 1.257 2.133 2.648 2.133 1.029 0 1.924-.381 2.514-1.067l1.429 1.391c-.857 1.106-2.344 1.696-4.058 1.696-2.895 0-4.915-2.038-4.915-4.934h.001Zm2.381-.952h4.744c-.153-1.238-1.106-2.077-2.382-2.077-1.275 0-2.228.839-2.362 2.077ZM23.73 25.267l4.952 12.381h-2.647l-1.03-2.724H19.5l-1.028 2.724h-2.553l4.953-12.38h2.858Zm-3.486 7.6h4l-1.982-5.219h-.037l-1.981 5.22ZM32.454 28.24v1.275h.038c.476-.97 1.315-1.505 2.4-1.505 1.22 0 2.133.534 2.704 1.6.572-1.028 1.62-1.6 2.953-1.6 2.323 0 3.447 1.296 3.447 3.944v5.696h-2.362v-5.296c0-1.543-.534-2.286-1.638-2.286-1.104 0-1.695.82-1.695 2.362v5.22h-2.363v-5.296c0-1.562-.514-2.286-1.638-2.286-1.124 0-1.695.838-1.695 2.362v5.22h-2.362v-9.41h2.211ZM48.34 33.706c-1.275-.381-2.513-1.067-2.513-2.78 0-1.715 1.447-2.916 3.6-2.916 1.448 0 2.572.514 3.2 1.466l-1.351 1.353c-.477-.59-1.124-.915-1.829-.915-.8 0-1.296.362-1.296.933 0 .762.8.895 1.963 1.257 1.276.381 2.514 1.067 2.514 2.781 0 1.715-1.524 2.99-3.772 2.99-1.466 0-2.648-.514-3.334-1.486l1.353-1.352c.513.609 1.2.934 1.962.934.915 0 1.466-.381 1.466-1.01 0-.762-.8-.895-1.962-1.258v.003ZM55.122 34.277v-4.076h-1.62v-1.963h.858c.78 0 1.085-.304 1.085-1.085v-1.466h2.019v2.552h2.286v1.963h-2.286v4.076c0 .915.476 1.43 1.352 1.43.267 0 .59-.038.78-.096v1.981c-.285.077-.819.133-1.237.133-2.133 0-3.238-1.18-3.238-3.447v-.002ZM60.911 32.944c0-2.915 1.963-4.934 4.763-4.934s4.743 2 4.743 4.876c0 .228-.038.59-.077.839h-7.048c.172 1.276 1.257 2.133 2.648 2.133 1.03 0 1.924-.381 2.514-1.067l1.429 1.391c-.857 1.105-2.343 1.696-4.058 1.696-2.895 0-4.915-2.038-4.915-4.934h.001Zm2.381-.952h4.744c-.153-1.239-1.106-2.077-2.381-2.077-1.276 0-2.229.838-2.363 2.077ZM74.607 28.24V29.8h.038c.457-1.066 1.296-1.638 2.4-1.638.285 0 .685.038.838.095v2.248c-.267-.076-.78-.132-1.162-.132-1.2 0-1.98.914-1.98 2.323v4.953h-2.363v-9.41h2.23ZM78.551 32.983c0-2.915 1.924-4.972 4.648-4.972 1.257 0 2.286.553 2.934 1.562h.037V23.84h2.362v13.81h-2.228v-1.467h-.037c-.61 1.067-1.752 1.696-3.067 1.696-2.724 0-4.648-2.038-4.648-4.895l-.001-.001Zm7.62-.038c0-1.695-1.048-2.82-2.591-2.82-1.543 0-2.61 1.143-2.61 2.82 0 1.677 1.049 2.82 2.61 2.82s2.59-1.124 2.59-2.82ZM90.34 34.963c0-1.81 1.506-2.895 4.02-2.915l1.828-.019v-.304c0-1.106-.704-1.677-1.981-1.677-.838 0-1.581.323-2.095.915l-1.429-1.391c.82-1.01 2.133-1.562 3.752-1.562 2.514 0 4.114 1.371 4.114 3.562v3.733c0 .343.153.495.534.495h.172v1.847H98.15c-.895 0-1.506-.418-1.696-1.105h-.038c-.59.857-1.561 1.333-2.743 1.333-1.981 0-3.333-1.18-3.333-2.914v.002Zm5.848-.82v-.534l-1.561.02c-1.238.018-1.905.457-1.905 1.275 0 .724.571 1.238 1.37 1.238 1.239 0 2.096-.82 2.096-2v.001ZM103.312 28.24v1.275h.038c.476-.97 1.315-1.505 2.4-1.505 1.219 0 2.133.534 2.704 1.6.572-1.028 1.619-1.6 2.953-1.6 2.323 0 3.447 1.296 3.447 3.944v5.696h-2.362v-5.296c0-1.543-.534-2.286-1.638-2.286-1.104 0-1.695.82-1.695 2.362v5.22h-2.363v-5.296c0-1.562-.513-2.286-1.638-2.286-1.124 0-1.695.838-1.695 2.362v5.22h-2.362v-9.41h2.211Z"}),c.jsx("path",{className:"ams-logo__emblem",fill:"#EC0000",d:"m0 37.648 3.527-3.527L0 30.593l2.352-2.351 3.527 3.527 3.528-3.527 2.351 2.351-3.527 3.528 3.527 3.527L9.407 40l-3.528-3.527L2.352 40 0 37.648ZM0 23.54l3.527-3.528L0 16.485l2.352-2.352 3.527 3.528 3.528-3.528 2.351 2.352-3.527 3.527 3.527 3.528-2.351 2.351-3.528-3.527-3.527 3.527L0 23.54ZM0 9.407l3.527-3.528L0 2.352 2.352 0l3.527 3.527L9.407 0l2.351 2.352-3.527 3.527 3.527 3.528-2.351 2.351-3.528-3.527-3.526 3.527L0 9.407Z"})]}));s.displayName="LogoAmsterdam";try{s.displayName="LogoAmsterdam",s.__docgenInfo={description:"",displayName:"LogoAmsterdam",props:{}}}catch{}const a=l.forwardRef((h,v)=>c.jsxs("svg",{className:"ams-logo","aria-hidden":"true",focusable:"false",ref:v,viewBox:"0 0 115 40",xmlns:"http://www.w3.org/2000/svg",...h,children:[c.jsx("path",{className:"ams-logo__emblem",fill:"#EC0000",d:"m0 37.648 3.527-3.527L0 30.593l2.352-2.351 3.527 3.527 3.528-3.527 2.351 2.351-3.527 3.528 3.527 3.527L9.407 40l-3.528-3.527L2.352 40 0 37.648ZM0 23.54l3.527-3.528L0 16.485l2.352-2.352 3.527 3.528 3.528-3.528 2.351 2.352-3.527 3.527 3.527 3.528-2.351 2.351-3.528-3.527-3.527 3.527L0 23.54ZM0 9.407l3.527-3.528L0 2.352 2.352 0l3.527 3.527L9.407 0l2.351 2.352-3.527 3.527 3.527 3.528-2.351 2.351-3.528-3.527-3.526 3.527L0 9.407Z"}),c.jsx("path",{className:"ams-logo__text-primary",fill:"#EC0000",d:"m23.73 25.267 4.952 12.381h-2.647l-1.03-2.724H19.5l-1.028 2.724h-2.553l4.953-12.381h2.858Zm-3.486 7.6h4l-1.982-5.219h-.037l-1.981 5.22ZM32.454 28.24v1.275h.038c.476-.971 1.315-1.505 2.4-1.505 1.22 0 2.133.534 2.704 1.6.572-1.028 1.62-1.6 2.953-1.6 2.323 0 3.447 1.296 3.447 3.944v5.696h-2.362v-5.296c0-1.543-.534-2.286-1.638-2.286-1.104 0-1.695.82-1.695 2.362v5.22h-2.363v-5.296c0-1.562-.514-2.286-1.638-2.286-1.124 0-1.695.838-1.695 2.362v5.22h-2.362v-9.41h2.211ZM48.34 33.706c-1.275-.381-2.513-1.067-2.513-2.78 0-1.715 1.447-2.916 3.6-2.916 1.448 0 2.572.514 3.2 1.466l-1.351 1.353c-.477-.59-1.124-.915-1.829-.915-.8 0-1.296.362-1.296.933 0 .762.8.895 1.963 1.257 1.276.381 2.514 1.067 2.514 2.781 0 1.715-1.524 2.99-3.772 2.99-1.466 0-2.648-.514-3.334-1.486l1.353-1.352c.513.609 1.2.934 1.962.934.915 0 1.466-.381 1.466-1.01 0-.762-.8-.895-1.962-1.258v.003ZM55.122 34.277v-4.076h-1.62v-1.963h.858c.78 0 1.085-.304 1.085-1.085v-1.466h2.019v2.552h2.286v1.963h-2.286v4.076c0 .915.476 1.43 1.352 1.43.267 0 .59-.038.78-.096v1.981c-.285.076-.819.133-1.237.133-2.133 0-3.238-1.18-3.238-3.447v-.002ZM60.911 32.944c0-2.915 1.963-4.934 4.763-4.934s4.743 2 4.743 4.876c0 .228-.038.59-.077.839h-7.048c.172 1.275 1.257 2.133 2.648 2.133 1.03 0 1.924-.381 2.514-1.067l1.429 1.391c-.857 1.105-2.343 1.696-4.058 1.696-2.895 0-4.915-2.038-4.915-4.934h.001Zm2.381-.953h4.744c-.153-1.238-1.106-2.076-2.381-2.076-1.276 0-2.229.838-2.363 2.076ZM74.607 28.24V29.8h.038c.457-1.066 1.296-1.638 2.4-1.638.285 0 .685.038.838.095v2.248c-.267-.076-.78-.132-1.162-.132-1.2 0-1.98.914-1.98 2.323v4.953h-2.363v-9.41h2.23ZM78.551 32.983c0-2.915 1.924-4.972 4.648-4.972 1.257 0 2.286.553 2.934 1.562h.037V23.84h2.362v13.81h-2.228v-1.467h-.037c-.61 1.067-1.752 1.696-3.067 1.696-2.724 0-4.648-2.038-4.648-4.895l-.001-.001Zm7.62-.038c0-1.695-1.048-2.82-2.591-2.82-1.543 0-2.61 1.143-2.61 2.82 0 1.677 1.049 2.82 2.61 2.82s2.59-1.124 2.59-2.82ZM90.34 34.963c0-1.81 1.506-2.895 4.02-2.915l1.828-.019v-.304c0-1.106-.704-1.677-1.981-1.677-.838 0-1.581.323-2.095.915l-1.429-1.391c.82-1.01 2.133-1.562 3.752-1.562 2.514 0 4.114 1.371 4.114 3.562v3.733c0 .343.153.495.534.495h.172v1.847H98.15c-.895 0-1.506-.418-1.696-1.105h-.038c-.59.857-1.561 1.333-2.743 1.333-1.981 0-3.333-1.18-3.333-2.915v.003Zm5.848-.82v-.534l-1.561.02c-1.238.018-1.905.457-1.905 1.275 0 .724.571 1.238 1.37 1.238 1.239 0 2.096-.82 2.096-2v.001ZM103.312 28.24v1.275h.038c.476-.971 1.315-1.505 2.4-1.505 1.219 0 2.133.534 2.704 1.6.572-1.028 1.619-1.6 2.953-1.6 2.323 0 3.447 1.296 3.447 3.944v5.696h-2.362v-5.296c0-1.543-.534-2.286-1.638-2.286-1.104 0-1.695.82-1.695 2.362v5.22h-2.363v-5.296c0-1.562-.513-2.286-1.638-2.286-1.124 0-1.695.838-1.695 2.362v5.22h-2.362v-9.41h2.211Z"}),c.jsx("path",{className:"ams-logo__text-secondary",fill:"#000",d:"M16.436 8.581c0-3.752 2.629-6.4 6.343-6.4 1.886 0 3.466.61 4.59 1.829L25.732 5.57c-.705-.78-1.715-1.238-2.915-1.238-2.248 0-3.81 1.752-3.81 4.248 0 2.496 1.524 4.324 3.714 4.324 2 0 3.392-1.143 3.392-2.8v-.323h-2.99V7.705h5.505V9.63c0 3.162-2.458 5.39-5.982 5.39s-6.21-2.666-6.21-6.438ZM30.34 8.581c0-3.752 2.63-6.4 6.344-6.4 1.886 0 3.467.61 4.59 1.829L39.638 5.57c-.705-.78-1.715-1.238-2.915-1.238-2.248 0-3.81 1.752-3.81 4.248 0 2.496 1.524 4.324 3.715 4.324 2 0 3.39-1.143 3.39-2.8v-.323h-2.99V7.705h5.506V9.63c0 3.162-2.458 5.39-5.982 5.39s-6.21-2.666-6.21-6.438ZM44.836 2.41h4.61c3.809 0 6.343 2.476 6.343 6.19 0 3.714-2.59 6.19-6.363 6.19h-4.59V2.41Zm4.419 10.229c2.38 0 3.942-1.543 3.942-4.02 0-2.475-1.524-4.057-3.923-4.057H47.35v8.077h1.905Z"})]}));a.displayName="LogoGgdAmsterdam";try{a.displayName="LogoGgdAmsterdam",a.__docgenInfo={description:"",displayName:"LogoGgdAmsterdam",props:{}}}catch{}const e=l.forwardRef((h,v)=>c.jsxs("svg",{className:"ams-logo","aria-hidden":"true",focusable:"false",ref:v,viewBox:"0 0 121 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...h,children:[c.jsx("path",{className:"ams-logo__text-secondary",d:"M18.085 30.527H20.669L23.051 35.26H23.08L25.46 30.527H28.045V39.964H26.187V32.69H26.157L23.82 37.336H22.31L19.973 32.69H19.943V39.964H18.085V30.527ZM29.976 37.133V32.792H31.776V36.799C31.776 38.004 32.197 38.57 33.068 38.57C33.954 38.57 34.448 37.917 34.448 36.755V32.792H36.248V39.964H34.55V38.991H34.521C34.173 39.688 33.418 40.138 32.605 40.138C30.848 40.138 29.976 39.137 29.976 37.133ZM39.63 36.959C38.658 36.669 37.714 36.146 37.714 34.839C37.714 33.518 38.818 32.618 40.458 32.618C41.562 32.618 42.418 33.009 42.898 33.735L41.867 34.766C41.504 34.316 41.01 34.069 40.473 34.069C39.863 34.069 39.486 34.345 39.486 34.781C39.486 35.361 40.096 35.463 40.981 35.739C41.954 36.029 42.898 36.552 42.898 37.859C42.898 39.209 41.736 40.139 40.023 40.139C38.905 40.139 38.005 39.746 37.482 39.006L38.512 37.975C38.6925 38.1976 38.9205 38.3771 39.1794 38.5001C39.4383 38.6231 39.7214 38.6866 40.008 38.686C40.705 38.686 41.126 38.396 41.126 37.917C41.126 37.337 40.515 37.235 39.63 36.959ZM45.7 35.652H49.315C49.199 34.708 48.473 34.069 47.5 34.069C46.527 34.069 45.801 34.709 45.7 35.652ZM43.885 36.378C43.885 34.157 45.38 32.618 47.515 32.618C49.649 32.618 51.13 34.142 51.13 36.334C51.13 36.509 51.1 36.784 51.072 36.974H45.699C45.83 37.946 46.658 38.599 47.718 38.599C48.502 38.599 49.184 38.309 49.634 37.786L50.724 38.846C50.07 39.688 48.937 40.138 47.631 40.138C45.424 40.138 43.885 38.585 43.885 36.378ZM52.523 37.133V32.792H54.323V36.799C54.323 38.004 54.745 38.57 55.616 38.57C56.502 38.57 56.996 37.917 56.996 36.755V32.792H58.796V39.964H57.096V38.991H57.068C56.72 39.688 55.964 40.138 55.151 40.138C53.395 40.138 52.523 39.137 52.523 37.133ZM60.741 32.792H62.425V33.765H62.455C62.817 33.024 63.456 32.618 64.284 32.618C65.213 32.618 65.91 33.024 66.345 33.838C66.781 33.053 67.58 32.618 68.595 32.618C70.367 32.618 71.224 33.605 71.224 35.623V39.964H69.424V35.928C69.424 34.752 69.017 34.186 68.174 34.186C67.333 34.186 66.883 34.81 66.883 35.986V39.964H65.083V35.928C65.083 34.738 64.69 34.186 63.833 34.186C63.006 34.186 62.541 34.824 62.541 35.986V39.964H60.741V32.792ZM84.683 39.964L82.853 32.908H82.824L80.994 39.964H78.774L76 30.527H78.033L79.891 37.67H79.921L81.793 30.527H83.884L85.757 37.67H85.787L87.645 30.527H89.677L86.904 39.964H84.683ZM91.71 35.652H95.325C95.209 34.708 94.483 34.069 93.51 34.069C92.537 34.069 91.812 34.709 91.71 35.652ZM89.895 36.378C89.895 34.157 91.39 32.618 93.525 32.618C95.659 32.618 97.14 34.142 97.14 36.334C97.14 36.509 97.11 36.784 97.082 36.974H91.71C91.84 37.946 92.668 38.599 93.728 38.599C94.512 38.599 95.194 38.309 95.645 37.786L96.733 38.846C96.08 39.688 94.948 40.138 93.641 40.138C91.434 40.138 89.895 38.585 89.895 36.378ZM100 35.652H103.616C103.499 34.708 102.773 34.069 101.801 34.069C100.828 34.069 100.1 34.709 100 35.652ZM98.185 36.378C98.185 34.157 99.681 32.618 101.815 32.618C103.949 32.618 105.43 34.142 105.43 36.334C105.43 36.509 105.401 36.784 105.372 36.974H100C100.13 37.946 100.958 38.599 102.018 38.599C102.802 38.599 103.485 38.309 103.935 37.786L105.024 38.846C104.37 39.688 103.238 40.138 101.931 40.138C99.724 40.138 98.185 38.585 98.185 36.378ZM108.363 36.959C107.39 36.669 106.446 36.146 106.446 34.839C106.446 33.518 107.55 32.618 109.191 32.618C110.294 32.618 111.151 33.009 111.63 33.735L110.599 34.766C110.236 34.316 109.742 34.069 109.205 34.069C108.595 34.069 108.218 34.345 108.218 34.781C108.218 35.361 108.828 35.463 109.713 35.739C110.686 36.029 111.63 36.552 111.63 37.859C111.63 39.209 110.468 40.139 108.755 40.139C107.637 40.139 106.737 39.746 106.215 39.006L107.245 37.975C107.426 38.1976 107.654 38.3771 107.912 38.5001C108.171 38.6231 108.454 38.6866 108.741 38.686C109.437 38.686 109.859 38.396 109.859 37.917C109.859 37.337 109.249 37.235 108.363 36.959ZM118.83 36.378C118.83 35.086 118.033 34.229 116.857 34.229C115.68 34.229 114.867 35.1 114.867 36.378C114.867 37.656 115.68 38.527 116.857 38.527C118.033 38.527 118.831 37.67 118.831 36.377L118.83 36.378ZM113.067 32.792H114.78V33.91H114.81C115.245 33.097 116.116 32.618 117.162 32.618C119.209 32.618 120.675 34.171 120.675 36.348C120.675 38.556 119.209 40.138 117.162 40.138C116.189 40.138 115.39 39.718 114.896 38.948H114.867V42.65H113.067V32.792Z",fill:"#000"}),c.jsx("path",{className:"ams-logo__text-primary",d:"M20.539 22.287H23.588L22.078 18.309H22.048L20.539 22.287ZM21.018 16.494H23.196L26.971 25.931H24.953L24.169 23.855H19.973L19.189 25.931H17.243L21.018 16.494ZM28.161 18.759H29.845V19.732H29.875C30.237 18.992 30.876 18.584 31.704 18.584C32.633 18.584 33.33 18.991 33.765 19.804C34.201 19.02 35 18.584 36.015 18.584C37.787 18.584 38.644 19.572 38.644 21.59V25.931H36.844V21.895C36.844 20.719 36.437 20.152 35.594 20.152C34.753 20.152 34.303 20.777 34.303 21.952V25.932H32.503V21.895C32.503 20.705 32.11 20.152 31.253 20.152C30.426 20.152 29.961 20.792 29.961 21.952V25.932H28.161V18.759ZM41.954 22.926C40.981 22.636 40.037 22.113 40.037 20.806C40.037 19.485 41.141 18.584 42.781 18.584C43.885 18.584 44.741 18.977 45.221 19.702L44.19 20.733C43.827 20.283 43.333 20.036 42.796 20.036C42.186 20.036 41.809 20.312 41.809 20.748C41.809 21.328 42.419 21.43 43.304 21.706C44.277 21.996 45.221 22.519 45.221 23.826C45.221 25.176 44.059 26.106 42.346 26.106C41.228 26.106 40.328 25.713 39.806 24.973L40.836 23.942C41.0164 24.1645 41.2443 24.3439 41.5029 24.4669C41.7616 24.5899 42.0446 24.6535 42.331 24.653C43.028 24.653 43.449 24.363 43.449 23.884C43.449 23.304 42.839 23.202 41.954 22.926ZM47.122 23.361V20.254H45.888V18.76H46.542C47.137 18.76 47.369 18.527 47.369 17.932V16.814H48.909V18.76H50.651V20.255H48.908V23.362C48.908 24.059 49.271 24.452 49.939 24.452C50.142 24.452 50.389 24.422 50.534 24.379V25.889C50.2243 25.9569 49.9081 25.9907 49.591 25.99C47.965 25.99 47.122 25.089 47.122 23.361ZM53.351 21.619H56.966C56.85 20.675 56.124 20.036 55.151 20.036C54.179 20.036 53.453 20.676 53.351 21.619ZM51.536 22.345C51.536 20.124 53.032 18.585 55.166 18.585C57.3 18.585 58.781 20.109 58.781 22.301C58.781 22.476 58.752 22.751 58.723 22.941H53.351C53.481 23.913 54.309 24.566 55.369 24.566C56.153 24.566 56.836 24.276 57.286 23.753L58.375 24.813C57.721 25.655 56.589 26.105 55.282 26.105C53.075 26.105 51.536 24.552 51.536 22.345ZM60.277 18.759H61.975V19.949H62.005C62.353 19.136 62.992 18.701 63.834 18.701C64.051 18.701 64.356 18.73 64.472 18.773V20.487C64.1819 20.4194 63.8849 20.3852 63.587 20.385C62.672 20.385 62.077 21.082 62.077 22.156V25.931H60.277V18.759ZM70.788 22.345C70.788 21.053 69.99 20.196 68.814 20.196C67.623 20.196 66.824 21.067 66.824 22.346C66.824 23.623 67.623 24.494 68.814 24.494C69.99 24.494 70.788 23.637 70.788 22.345ZM64.981 22.374C64.981 20.152 66.447 18.584 68.523 18.584C69.481 18.584 70.265 19.006 70.759 19.775H70.789V15.405H72.589V25.93H70.889V24.812H70.861C70.396 25.625 69.525 26.104 68.523 26.104C66.447 26.104 64.981 24.552 64.981 22.374ZM78.425 23.26V22.853L77.235 22.868C76.291 22.882 75.783 23.216 75.783 23.841C75.783 24.392 76.218 24.784 76.828 24.784C77.771 24.784 78.425 24.16 78.425 23.26ZM73.968 23.884C73.968 22.504 75.115 21.677 77.031 21.663L78.425 21.648V21.416C78.425 20.574 77.888 20.138 76.915 20.138C76.276 20.138 75.71 20.385 75.318 20.835L74.229 19.775C74.853 19.005 75.855 18.585 77.089 18.585C79.006 18.585 80.225 19.63 80.225 21.3V24.145C80.225 24.407 80.341 24.523 80.632 24.523H80.762V25.931H79.92C79.238 25.931 78.773 25.611 78.628 25.089H78.6C78.15 25.743 77.41 26.105 76.51 26.105C75 26.105 73.969 25.205 73.969 23.885L73.968 23.884ZM82.17 18.759H83.855V19.732H83.884C84.247 18.992 84.886 18.584 85.714 18.584C86.642 18.584 87.339 18.991 87.774 19.804C88.21 19.02 89.009 18.584 90.025 18.584C91.797 18.584 92.653 19.572 92.653 21.59V25.931H90.853V21.895C90.853 20.719 90.446 20.152 89.604 20.152C88.762 20.152 88.312 20.777 88.312 21.952V25.932H86.512V21.895C86.512 20.705 86.12 20.152 85.263 20.152C84.436 20.152 83.971 20.792 83.971 21.952V25.932H82.171L82.17 18.759ZM17.644 6.97998C17.644 4.11998 19.647 2.09998 22.479 2.09998C23.916 2.09998 25.121 2.56498 25.978 3.49398L24.729 4.68398C24.192 4.08898 23.422 3.74098 22.508 3.74098C20.795 3.74098 19.604 5.07698 19.604 6.97898C19.604 8.92398 20.765 10.274 22.435 10.274C23.96 10.274 25.02 9.40398 25.02 8.13998V7.89298H22.74V6.31198H26.936V7.77798C26.936 10.188 25.063 11.887 22.377 11.887C19.604 11.887 17.644 9.85398 17.644 6.97998ZM29.97 7.39998H33.586C33.469 6.45698 32.743 5.81798 31.771 5.81798C30.798 5.81798 30.072 6.45698 29.971 7.40098L29.97 7.39998ZM28.155 8.12698C28.155 5.90498 29.651 4.36698 31.785 4.36698C33.92 4.36698 35.4 5.89098 35.4 8.08298C35.4 8.25698 35.372 8.53298 35.342 8.72198H29.97C30.101 9.69498 30.929 10.348 31.988 10.348C32.773 10.348 33.455 10.058 33.905 9.53498L34.994 10.595C34.341 11.437 33.208 11.887 31.901 11.887C29.694 11.887 28.155 10.333 28.155 8.12698ZM36.896 4.53998H38.58V5.51298H38.609C38.972 4.77298 39.611 4.36598 40.439 4.36598C41.368 4.36598 42.065 4.77298 42.5 5.58598C42.936 4.80198 43.734 4.36598 44.75 4.36598C46.522 4.36598 47.379 5.35398 47.379 7.37198V11.712H45.579V7.67698C45.579 6.50198 45.172 5.93498 44.329 5.93498C43.488 5.93498 43.037 6.55998 43.037 7.73498V11.714H41.237V7.67598C41.237 6.48598 40.845 5.93398 39.988 5.93398C39.161 5.93398 38.696 6.57398 38.696 7.73398V11.713H36.896V4.53998ZM50.616 7.39998H54.231C54.115 6.45698 53.389 5.81798 52.417 5.81798C51.444 5.81798 50.717 6.45698 50.617 7.40098L50.616 7.39998ZM48.801 8.12698C48.801 5.90498 50.297 4.36698 52.431 4.36698C54.565 4.36698 56.046 5.89098 56.046 8.08298C56.046 8.25698 56.017 8.53298 55.988 8.72198H50.616C50.746 9.69498 51.574 10.348 52.634 10.348C53.418 10.348 54.101 10.058 54.551 9.53498L55.64 10.595C54.986 11.437 53.854 11.887 52.547 11.887C50.34 11.887 48.801 10.333 48.801 8.12698ZM58.906 7.39998H62.522C62.406 6.45698 61.68 5.81798 60.707 5.81798C59.734 5.81798 59.008 6.45698 58.907 7.40098L58.906 7.39998ZM57.092 8.12698C57.092 5.90498 58.587 4.36698 60.722 4.36698C62.856 4.36698 64.337 5.89098 64.337 8.08298C64.337 8.25698 64.307 8.53298 64.279 8.72198H58.906C59.037 9.69498 59.865 10.348 60.925 10.348C61.708 10.348 62.391 10.058 62.841 9.53498L63.93 10.595C63.277 11.437 62.144 11.887 60.837 11.887C58.631 11.887 57.092 10.333 57.092 8.12698ZM65.832 4.53998H67.531V5.51298H67.56C67.894 4.80198 68.62 4.36598 69.462 4.36598C71.262 4.36598 72.192 5.39698 72.192 7.37198V11.712H70.39V7.71998C70.39 6.49998 69.955 5.93398 69.04 5.93398C68.125 5.93398 67.631 6.57398 67.631 7.76398V11.713H65.831L65.832 4.53998ZM74.5 9.14298V6.03598H73.266V4.53998H73.919C74.514 4.53998 74.747 4.30798 74.747 3.71298V2.59498H76.286V4.53998H78.028V6.03598H76.286V9.14298C76.286 9.83998 76.648 10.232 77.316 10.232C77.52 10.232 77.766 10.202 77.912 10.159V11.669C77.602 11.7372 77.2855 11.7714 76.968 11.771C75.342 11.771 74.5 10.871 74.5 9.14298ZM80.728 7.39998H84.344C84.227 6.45698 83.501 5.81798 82.529 5.81798C81.556 5.81798 80.83 6.45698 80.729 7.40098L80.728 7.39998ZM78.913 8.12698C78.913 5.90498 80.409 4.36698 82.543 4.36698C84.678 4.36698 86.158 5.89098 86.158 8.08298C86.158 8.25698 86.129 8.53298 86.1 8.72198H80.728C80.859 9.69498 81.687 10.348 82.747 10.348C83.531 10.348 84.213 10.058 84.663 9.53498L85.752 10.595C85.099 11.437 83.966 11.887 82.659 11.887C80.452 11.887 78.913 10.333 78.913 8.12698Z",fill:"#EC0000"}),c.jsx("path",{className:"ams-logo__emblem",d:"M0 38.3642L3.6 34.9356L0 31.507L2.4 29.2213L6 32.6499L9.6 29.2213L12 31.507L8.4 34.9356L12 38.3642L9.6 40.6499L6 37.2213L2.4 40.6499L0 38.3642Z",fill:"#EC0000"}),c.jsx("path",{className:"ams-logo__emblem",d:"M0 9.79276L3.6 6.36419L0 2.93562L2.4 0.649902L6 4.07847L9.6 0.649902L12 2.93562L8.4 6.36419L12 9.79276L9.6 12.0785L6 8.6499L2.4 12.0785L0 9.79276Z",fill:"#EC0000"}),c.jsx("path",{className:"ams-logo__emblem",d:"M0 24.0785L3.6 20.6499L0 17.2213L2.4 14.9356L6 18.3642L9.6 14.9356L12 17.2213L8.4 20.6499L12 24.0785L9.6 26.3642L6 22.9356L2.4 26.3642L0 24.0785Z",fill:"#EC0000"})]}));e.displayName="LogoMuseumWeesp";try{e.displayName="LogoMuseumWeesp",e.__docgenInfo={description:"",displayName:"LogoMuseumWeesp",props:{}}}catch{}const Z=l.forwardRef((h,v)=>c.jsxs("svg",{className:"ams-logo","aria-hidden":"true",focusable:"false",ref:v,viewBox:"0 0 98 40",xmlns:"http://www.w3.org/2000/svg",...h,children:[c.jsx("path",{className:"ams-logo__emblem",fill:"#EC0000",d:"m0 37.648 3.527-3.527L0 30.593l2.352-2.351 3.527 3.527 3.528-3.527 2.351 2.351-3.527 3.528 3.527 3.527L9.407 40l-3.528-3.527L2.352 40 0 37.648ZM0 9.407l3.527-3.528L0 2.352 2.352 0l3.527 3.527L9.407 0l2.351 2.352-3.527 3.527 3.527 3.528-2.351 2.351-3.528-3.527-3.526 3.527L0 9.407ZM0 23.54l3.527-3.528L0 16.485l2.352-2.352 3.527 3.528 3.528-3.528 2.351 2.352-3.527 3.527 3.527 3.528-2.351 2.351-3.528-3.527-3.527 3.527L0 23.54Z"}),c.jsx("path",{className:"ams-logo__text-primary",fill:"#EC0000",d:"M20.937 15.334h2.17l3.76 9.4h-2.011l-.78-2.068h-4.18l-.782 2.068h-1.937l3.76-9.4Zm-.477 5.77h3.037l-1.504-3.962h-.03l-1.503 3.963ZM28.052 17.59h1.678v.969h.03c.36-.737.997-1.143 1.822-1.143.925 0 1.62.405 2.054 1.215.434-.781 1.228-1.215 2.24-1.215 1.766 0 2.618.983 2.618 2.994v4.324h-1.793v-4.02c0-1.17-.404-1.735-1.244-1.735s-1.287.622-1.287 1.793v3.962h-1.794v-4.02c0-1.186-.39-1.735-1.243-1.735-.854 0-1.288.636-1.288 1.793v3.962h-1.793V17.59ZM41.791 21.74c-.969-.288-1.91-.81-1.91-2.111 0-1.302 1.1-2.213 2.734-2.213 1.1 0 1.952.39 2.43 1.114l-1.027 1.026c-.362-.448-.853-.694-1.388-.694-.608 0-.983.276-.983.71 0 .578.608.679 1.49.954.968.29 1.909.81 1.909 2.112 0 1.301-1.157 2.27-2.863 2.27-1.114 0-2.01-.39-2.532-1.127l1.027-1.027c.39.464.911.71 1.49.71.693 0 1.113-.29 1.113-.767 0-.579-.608-.68-1.49-.955v-.001ZM46.94 22.175V19.08h-1.23v-1.49h.652c.592 0 .824-.232.824-.824v-1.114h1.533v1.938h1.736v1.49h-1.736v3.095c0 .693.361 1.085 1.027 1.085.202 0 .448-.03.592-.073v1.504a4.362 4.362 0 0 1-.94.101c-1.62 0-2.46-.897-2.46-2.617h.002ZM51.337 21.162c0-2.213 1.49-3.746 3.615-3.746 2.126 0 3.602 1.52 3.602 3.703 0 .174-.03.448-.058.636h-5.351c.13.969.955 1.62 2.01 1.62.781 0 1.46-.29 1.91-.81l1.084 1.056c-.651.838-1.779 1.287-3.08 1.287-2.2 0-3.731-1.547-3.731-3.746h-.002Zm1.808-.723h3.601c-.115-.94-.838-1.577-1.808-1.577-.97 0-1.692.637-1.793 1.577ZM60.042 17.59h1.692v1.186h.03c.346-.81.983-1.244 1.822-1.244.218 0 .521.03.636.072v1.706a3.906 3.906 0 0 0-.882-.1c-.91 0-1.504.693-1.504 1.764v3.76h-1.793V17.59ZM64.729 21.192c0-2.213 1.46-3.775 3.529-3.775.954 0 1.735.42 2.227 1.187h.029V14.25h1.793v10.486h-1.692v-1.114h-.03c-.462.81-1.33 1.288-2.327 1.288-2.069 0-3.529-1.548-3.529-3.717v-.002Zm5.785-.03c0-1.287-.796-2.14-1.967-2.14s-1.981.868-1.981 2.14c0 1.273.796 2.14 1.98 2.14 1.186 0 1.968-.853 1.968-2.14ZM73.68 22.695c0-1.374 1.143-2.198 3.052-2.212l1.388-.015v-.231c0-.838-.535-1.272-1.504-1.272-.636 0-1.2.245-1.59.693l-1.084-1.056c.622-.766 1.62-1.186 2.849-1.186 1.908 0 3.124 1.042 3.124 2.704v2.835c0 .26.115.377.404.377h.13v1.402h-.838c-.68 0-1.143-.318-1.287-.838h-.03c-.448.651-1.186 1.012-2.082 1.012-1.504 0-2.53-.897-2.53-2.213h-.002Zm4.44-.622v-.404l-1.185.014c-.94.014-1.446.347-1.446.969 0 .55.434.94 1.042.94.94 0 1.59-.621 1.59-1.518ZM81.851 17.59h1.678v.969h.03c.362-.737.998-1.143 1.822-1.143.925 0 1.62.405 2.054 1.215.434-.781 1.229-1.215 2.241-1.215 1.765 0 2.618.983 2.618 2.994v4.324H90.5v-4.02c0-1.17-.405-1.735-1.245-1.735-.84 0-1.287.622-1.287 1.793v3.962h-1.793v-4.02c0-1.186-.39-1.735-1.244-1.735s-1.288.636-1.288 1.793v3.962h-1.793V17.59ZM17.575 5.857c0-2.85 1.996-4.86 4.817-4.86 1.432 0 2.632.463 3.485 1.389l-1.244 1.186c-.535-.593-1.302-.94-2.213-.94-1.706 0-2.893 1.33-2.893 3.225 0 1.894 1.157 3.283 2.821 3.283 1.52 0 2.574-.868 2.574-2.126v-.246h-2.27V5.191h4.18v1.46c0 2.402-1.867 4.094-4.542 4.094s-4.715-2.025-4.715-4.888ZM28.047 7c0-2.213 1.49-3.747 3.616-3.747 2.126 0 3.601 1.52 3.601 3.703 0 .174-.03.448-.057.636h-5.351c.13.97.954 1.62 2.01 1.62.78 0 1.46-.289 1.91-.81l1.085 1.056c-.651.839-1.779 1.288-3.08 1.288-2.2 0-3.732-1.548-3.732-3.746h-.002Zm1.809-.724h3.601c-.115-.94-.838-1.576-1.808-1.576-.97 0-1.692.636-1.793 1.576ZM36.753 3.426h1.678v.97h.03c.361-.738.997-1.144 1.822-1.144.925 0 1.62.405 2.054 1.215.434-.78 1.23-1.215 2.24-1.215 1.766 0 2.618.983 2.618 2.994v4.324h-1.793V6.55c0-1.17-.404-1.735-1.244-1.735s-1.287.622-1.287 1.793v3.962h-1.794V6.55c0-1.186-.39-1.735-1.243-1.735-.854 0-1.288.636-1.288 1.793v3.962h-1.793V3.426ZM48.612 7c0-2.213 1.49-3.747 3.616-3.747 2.126 0 3.601 1.52 3.601 3.703 0 .174-.03.448-.057.636H50.42c.131.97.955 1.62 2.011 1.62.78 0 1.46-.289 1.91-.81l1.084 1.056c-.652.839-1.78 1.288-3.08 1.288-2.2 0-3.732-1.548-3.732-3.746Zm1.808-.724h3.602c-.115-.94-.838-1.576-1.807-1.576s-1.692.636-1.793 1.576h-.002ZM56.87 7c0-2.213 1.49-3.747 3.616-3.747 2.125 0 3.601 1.52 3.601 3.703 0 .174-.03.448-.058.636h-5.35c.13.97.954 1.62 2.01 1.62.78 0 1.46-.289 1.91-.81l1.084 1.056c-.652.839-1.78 1.288-3.081 1.288-2.199 0-3.731-1.548-3.731-3.746h-.001Zm1.808-.724h3.602c-.115-.94-.839-1.576-1.809-1.576s-1.692.636-1.793 1.576ZM65.577 3.426h1.692v.97h.03c.332-.71 1.055-1.144 1.893-1.144 1.794 0 2.719 1.027 2.719 2.994v4.324h-1.793V6.594c0-1.215-.434-1.78-1.345-1.78-.912 0-1.403.637-1.403 1.823v3.935h-1.793V3.426ZM74.21 8.012V4.917h-1.23v-1.49h.652c.593 0 .825-.231.825-.824V1.49h1.533v1.937h1.735v1.49H75.99v3.095c0 .694.36 1.085 1.026 1.085.203 0 .448-.03.593-.073v1.504a4.356 4.356 0 0 1-.94.101c-1.621 0-2.46-.897-2.46-2.617l.002.001ZM78.607 7c0-2.213 1.49-3.747 3.616-3.747 2.126 0 3.601 1.52 3.601 3.703 0 .174-.03.448-.057.636h-5.352c.131.97.955 1.62 2.011 1.62.78 0 1.46-.289 1.91-.81l1.084 1.056c-.652.839-1.78 1.288-3.08 1.288-2.2 0-3.732-1.548-3.732-3.746Zm1.808-.724h3.602c-.115-.94-.838-1.576-1.808-1.576-.97 0-1.692.636-1.794 1.576Z"}),c.jsx("path",{className:"ams-logo__text-secondary",fill:"#000",d:"m17.335 37.353 1.302-1.084a2.07 2.07 0 0 0 1.779.983c.868 0 1.46-.463 1.46-1.143 0-.766-.636-1.042-1.866-1.49-1.143-.42-2.343-1.012-2.343-2.747 0-1.62 1.316-2.734 3.24-2.734 1.3 0 2.327.52 2.906 1.446L22.51 31.67c-.39-.578-.954-.897-1.62-.897-.78 0-1.302.42-1.302 1.042 0 .767.637 1.042 1.866 1.49 1.143.42 2.344 1.012 2.344 2.748 0 1.735-1.375 2.834-3.4 2.834-1.374 0-2.458-.549-3.066-1.533h.002ZM25.738 36.153v-3.095h-1.23v-1.49h.65c.593 0 .824-.231.824-.824v-1.113h1.534v1.937h1.735v1.49h-1.735v3.095c0 .693.362 1.085 1.026 1.085.202 0 .448-.03.593-.073v1.504a4.37 4.37 0 0 1-.941.101c-1.62 0-2.459-.897-2.459-2.617h.003ZM30.134 36.674c0-1.375 1.143-2.2 3.051-2.213l1.389-.014v-.232c0-.838-.535-1.272-1.504-1.272-.636 0-1.2.245-1.59.694l-1.085-1.056c.622-.767 1.62-1.187 2.85-1.187 1.909 0 3.123 1.042 3.123 2.705v2.835c0 .26.115.376.405.376h.13v1.402h-.838c-.68 0-1.143-.318-1.288-.838h-.029c-.448.651-1.186 1.012-2.082 1.012-1.504 0-2.53-.897-2.53-2.212h-.002Zm4.44-.622v-.405l-1.186.014c-.941.014-1.447.347-1.447.97 0 .548.434.94 1.042.94.94 0 1.591-.622 1.591-1.52ZM37.813 35.17c0-2.213 1.46-3.775 3.529-3.775.955 0 1.735.42 2.227 1.187h.03v-4.353h1.792v10.486H43.7V37.6h-.029c-.463.81-1.331 1.288-2.328 1.288-2.068 0-3.529-1.547-3.529-3.717v-.002Zm5.785-.03c0-1.287-.796-2.14-1.967-2.14-1.17 0-1.981.868-1.981 2.14 0 1.273.796 2.14 1.981 2.14s1.967-.853 1.967-2.14ZM48.763 35.719c-.97-.29-1.91-.81-1.91-2.112 0-1.301 1.1-2.213 2.734-2.213 1.1 0 1.952.39 2.429 1.114l-1.026 1.026c-.363-.448-.854-.694-1.39-.694-.607 0-.982.276-.982.71 0 .578.608.68 1.49.954.969.29 1.91.81 1.91 2.112s-1.158 2.27-2.864 2.27c-1.113 0-2.01-.39-2.532-1.127l1.027-1.027c.39.464.911.71 1.49.71.694 0 1.113-.29 1.113-.767 0-.579-.608-.68-1.49-.955v-.001ZM52.97 36.674c0-1.375 1.144-2.2 3.052-2.213l1.389-.014v-.232c0-.838-.535-1.272-1.504-1.272-.636 0-1.2.245-1.591.694l-1.084-1.056c.622-.767 1.62-1.187 2.849-1.187 1.91 0 3.124 1.042 3.124 2.705v2.835c0 .26.115.376.404.376h.13v1.402h-.837c-.68 0-1.143-.318-1.288-.838h-.03c-.447.651-1.186 1.012-2.082 1.012-1.504 0-2.53-.897-2.53-2.212h-.001Zm4.44-.622v-.405l-1.186.014c-.94.014-1.446.347-1.446.97 0 .548.434.94 1.042.94.94 0 1.59-.622 1.59-1.52ZM61.142 31.568h1.691v1.187h.03c.347-.81.983-1.244 1.822-1.244.218 0 .521.029.636.073v1.706a3.907 3.907 0 0 0-.881-.102c-.912 0-1.504.694-1.504 1.765v3.76h-1.793V31.57h-.002ZM65.827 35.14c0-2.227 1.49-3.746 3.689-3.746 1.085 0 2.038.405 2.646 1.128l-1.2 1.127c-.362-.404-.868-.622-1.446-.622-1.1 0-1.851.868-1.851 2.112 0 1.244.752 2.112 1.85 2.112.58 0 1.086-.218 1.476-.636l1.187 1.127c-.636.738-1.577 1.143-2.647 1.143-2.199 0-3.703-1.519-3.703-3.746v.001ZM73.492 28.228h1.793v4.15h.03c.42-.636 1.041-.983 1.793-.983 1.793 0 2.718 1.027 2.718 2.994v4.325h-1.793v-3.978c0-1.215-.434-1.78-1.345-1.78s-1.403.637-1.403 1.823v3.935h-1.793V28.228ZM82.56 30.657c-.622 0-1.07-.434-1.07-1.042 0-.608.448-1.042 1.07-1.042.622 0 1.07.434 1.07 1.042 0 .608-.448 1.042-1.07 1.042Zm-.897.911h1.793v7.144h-1.793v-7.144ZM84.947 35.14c0-2.212 1.49-3.746 3.616-3.746 2.126 0 3.601 1.52 3.601 3.703 0 .174-.03.448-.058.636h-5.35c.13.969.954 1.62 2.01 1.62.78 0 1.46-.289 1.91-.81L91.76 37.6c-.652.838-1.78 1.288-3.081 1.288-2.199 0-3.73-1.548-3.73-3.747h-.002Zm1.808-.723h3.602c-.115-.94-.838-1.577-1.808-1.577-.97 0-1.693.637-1.794 1.577ZM92.886 33.058v-1.49h1.215v-.925c0-1.634.969-2.59 2.632-2.59.203 0 .506.03.666.058v1.548a2.82 2.82 0 0 0-.622-.072c-.565 0-.882.376-.882 1.056v.925h1.736v1.49h-1.736v5.654h-1.793v-5.654h-1.216Z"})]}));Z.displayName="LogoStadsarchief";try{Z.displayName="LogoStadsarchief",Z.__docgenInfo={description:"",displayName:"LogoStadsarchief",props:{}}}catch{}const C=l.forwardRef((h,v)=>c.jsxs("svg",{className:"ams-logo","aria-hidden":"true",focusable:"false",ref:v,viewBox:"0 0 159 42",xmlns:"http://www.w3.org/2000/svg",...h,children:[c.jsx("path",{className:"ams-logo__emblem",fill:"#EC0000",d:"m0 37.65 3.53-3.53L0 30.59l2.35-2.35 3.53 3.53 3.53-3.53 2.35 2.35-3.53 3.53 3.53 3.53L9.41 40l-3.53-3.53L2.35 40 0 37.65ZM0 9.41l3.53-3.53L0 2.35 2.35 0l3.53 3.53L9.41 0l2.35 2.35-3.53 3.53 3.53 3.53-2.35 2.35-3.53-3.53-3.53 3.53L0 9.41ZM0 23.54l3.53-3.53L0 16.48l2.35-2.35 3.53 3.53 3.53-3.53 2.35 2.35-3.53 3.53 3.53 3.53-2.35 2.35-3.53-3.53-3.53 3.53L0 23.54Z"}),c.jsx("path",{className:"ams-logo__text-secondary",fill:"#000",d:"m17.34 37.35 1.3-1.08c.4.64 1.06.98 1.78.98.87 0 1.46-.46 1.46-1.14 0-.77-.64-1.04-1.87-1.49-1.14-.42-2.34-1.01-2.34-2.75 0-1.62 1.32-2.73 3.24-2.73 1.3 0 2.33.52 2.91 1.45l-1.3 1.08c-.39-.58-.95-.9-1.62-.9-.78 0-1.3.42-1.3 1.04 0 .77.64 1.04 1.87 1.49 1.14.42 2.34 1.01 2.34 2.75s-1.37 2.83-3.4 2.83c-1.37 0-2.46-.55-3.07-1.53ZM25.74 36.15v-3.1h-1.23v-1.49h.65c.59 0 .82-.23.82-.82v-1.11h1.53v1.94h1.74v1.49h-1.74v3.1c0 .69.36 1.08 1.03 1.08.2 0 .45-.03.59-.07v1.5c-.22.06-.62.1-.94.1-1.62 0-2.46-.9-2.46-2.62h.01ZM30.13 36.67c0-1.37 1.14-2.2 3.05-2.21h1.39v-.25c0-.84-.54-1.27-1.5-1.27-.64 0-1.2.25-1.59.69l-1.08-1.06c.62-.77 1.62-1.19 2.85-1.19 1.91 0 3.12 1.04 3.12 2.7v2.83c0 .26.12.38.4.38h.13v1.4h-.84c-.68 0-1.14-.32-1.29-.84h-.03c-.45.65-1.19 1.01-2.08 1.01-1.5 0-2.53-.9-2.53-2.21v.02Zm4.44-.62v-.4h-1.19c-.94.03-1.45.36-1.45.98 0 .55.43.94 1.04.94.94 0 1.59-.62 1.59-1.52h.01ZM37.81 35.17c0-2.21 1.46-3.77 3.53-3.77.95 0 1.74.42 2.23 1.19h.03v-4.35h1.79v10.49H43.7v-1.11h-.03c-.46.81-1.33 1.29-2.33 1.29-2.07 0-3.53-1.55-3.53-3.72v-.02Zm5.79-.03c0-1.29-.8-2.14-1.97-2.14s-1.98.87-1.98 2.14.8 2.14 1.98 2.14 1.97-.85 1.97-2.14ZM48.76 35.72c-.97-.29-1.91-.81-1.91-2.11 0-1.3 1.1-2.21 2.73-2.21 1.1 0 1.95.39 2.43 1.11l-1.03 1.03c-.36-.45-.85-.69-1.39-.69-.61 0-.98.27-.98.71 0 .58.61.68 1.49.95.97.29 1.91.81 1.91 2.11 0 1.3-1.16 2.27-2.86 2.27-1.11 0-2.01-.39-2.53-1.13l1.03-1.03c.39.46.91.71 1.49.71.69 0 1.11-.29 1.11-.77 0-.58-.61-.68-1.49-.95ZM55.18 37.6h-.03v1.11h-1.71V28.22h1.79v4.35h.03c.52-.77 1.3-1.19 2.26-1.19 2.04 0 3.5 1.56 3.5 3.75s-1.46 3.75-3.5 3.75c-1 0-1.82-.46-2.34-1.29v.01Zm4.01-2.46c0-1.29-.8-2.14-1.97-2.14s-1.98.87-1.98 2.14.81 2.14 1.98 2.14 1.97-.85 1.97-2.14ZM61.95 36.67c0-1.37 1.14-2.2 3.05-2.21h1.39v-.25c0-.84-.54-1.27-1.5-1.27-.64 0-1.2.25-1.59.69l-1.08-1.06c.62-.77 1.62-1.19 2.85-1.19 1.91 0 3.12 1.04 3.12 2.7v2.83c0 .26.12.38.4.38h.13v1.4h-.84c-.68 0-1.14-.32-1.29-.84h-.03c-.45.65-1.19 1.01-2.08 1.01-1.5 0-2.53-.9-2.53-2.21v.02Zm4.44-.62v-.4H65.2c-.94.03-1.45.36-1.45.98 0 .55.43.94 1.04.94.94 0 1.59-.62 1.59-1.52h.01ZM70.12 31.57h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79v-3.98c0-1.21-.43-1.78-1.35-1.78-.92 0-1.4.64-1.4 1.82v3.93h-1.79v-7.14.01ZM80.09 38.71H78.3V28.22h1.79v6.57h.03l2.66-3.23h2.17l-2.76 3.17 2.89 3.98h-2.17l-1.98-2.81-.84.97v1.84ZM88.97 31.57h1.95l1.66 5.15h.03l1.71-5.15h1.91l-2.69 7.14h-1.92l-2.65-7.14ZM96.6 36.67c0-1.37 1.14-2.2 3.05-2.21h1.39v-.25c0-.84-.54-1.27-1.5-1.27-.64 0-1.2.25-1.59.69l-1.08-1.06c.62-.77 1.62-1.19 2.85-1.19 1.91 0 3.12 1.04 3.12 2.7v2.83c0 .26.12.38.4.38h.13v1.4h-.84c-.68 0-1.14-.32-1.29-.84h-.03c-.45.65-1.19 1.01-2.08 1.01-1.5 0-2.53-.9-2.53-2.21v.02Zm4.44-.62v-.4h-1.19c-.94.03-1.45.36-1.45.98 0 .55.43.94 1.04.94.94 0 1.59-.62 1.59-1.52h.01ZM104.77 31.57h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79v-3.98c0-1.21-.43-1.78-1.34-1.78-.91 0-1.4.64-1.4 1.82v3.93h-1.79v-7.14l-.01.01ZM116.65 29.31h1.91v7.78h3.49v1.62h-5.39v-9.4h-.01ZM122.87 35.14c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM131.57 31.57h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79v-3.98c0-1.21-.43-1.78-1.35-1.78-.92 0-1.4.64-1.4 1.82v3.93h-1.79v-7.14.01ZM140.64 30.66c-.62 0-1.07-.43-1.07-1.04 0-.61.45-1.04 1.07-1.04.62 0 1.07.43 1.07 1.04 0 .61-.45 1.04-1.07 1.04Zm-.9.91h1.79v7.14h-1.79v-7.14ZM143.47 31.57h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79v-3.98c0-1.21-.43-1.78-1.35-1.78-.92 0-1.4.64-1.4 1.82v3.93h-1.79v-7.14.01ZM151.54 40.42l1.16-1.13c.39.45 1.1.72 1.87.72 1.3 0 2.02-.59 2.02-1.63v-1.1h-.03c-.4.75-1.16 1.17-2.1 1.17-2.01 0-3.34-1.42-3.34-3.53s1.37-3.51 3.34-3.51c1.01 0 1.81.45 2.2 1.21h.03v-1.06h1.69v6.88c0 1.91-1.46 3.11-3.79 3.11-1.33 0-2.43-.42-3.05-1.14v.01Zm5.06-5.5c0-1.19-.74-2.01-1.82-2.01s-1.82.82-1.82 2.01.75 2 1.82 2 1.82-.82 1.82-2Z"}),c.jsx("path",{className:"ams-logo__text-primary",fill:"#EC0000",d:"M20.94 15.33h2.17l3.76 9.4h-2.01l-.78-2.07H19.9l-.78 2.07h-1.94l3.76-9.4Zm-.48 5.77h3.04L22 17.14h-.03l-1.5 3.96h-.01ZM28.05 17.59h1.68v.97h.03c.36-.74 1-1.14 1.82-1.14.93 0 1.62.4 2.05 1.21.43-.78 1.23-1.21 2.24-1.21 1.76 0 2.62.98 2.62 2.99v4.32H36.7v-4.02c0-1.17-.4-1.74-1.24-1.74s-1.29.62-1.29 1.79v3.96h-1.79V20.7c0-1.19-.39-1.74-1.24-1.74s-1.29.64-1.29 1.79v3.96h-1.79v-7.14l-.01.02ZM41.79 21.74c-.97-.29-1.91-.81-1.91-2.11 0-1.3 1.1-2.21 2.73-2.21 1.1 0 1.95.39 2.43 1.11l-1.03 1.03c-.36-.45-.85-.69-1.39-.69-.61 0-.98.27-.98.71 0 .58.61.68 1.49.95.97.29 1.91.81 1.91 2.11 0 1.3-1.16 2.27-2.86 2.27-1.11 0-2.01-.39-2.53-1.13l1.03-1.03c.39.46.91.71 1.49.71.69 0 1.11-.29 1.11-.77 0-.58-.61-.68-1.49-.95ZM46.94 22.17v-3.09h-1.23v-1.49h.65c.59 0 .82-.23.82-.82v-1.11h1.53v1.94h1.74v1.49h-1.74v3.09c0 .69.36 1.08 1.03 1.08.2 0 .45-.03.59-.07v1.5c-.22.06-.62.1-.94.1-1.62 0-2.46-.9-2.46-2.62h.01ZM51.34 21.16c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM60.04 17.59h1.69v1.19h.03c.35-.81.98-1.24 1.82-1.24.22 0 .52.03.64.07v1.71c-.2-.06-.59-.1-.88-.1-.91 0-1.5.69-1.5 1.76v3.76h-1.79V17.6l-.01-.01ZM64.73 21.19c0-2.21 1.46-3.77 3.53-3.77.95 0 1.74.42 2.23 1.19h.03v-4.35h1.79v10.49h-1.69v-1.11h-.03c-.46.81-1.33 1.29-2.33 1.29-2.07 0-3.53-1.55-3.53-3.72v-.02Zm5.79-.03c0-1.29-.8-2.14-1.97-2.14s-1.98.87-1.98 2.14.8 2.14 1.98 2.14 1.97-.85 1.97-2.14ZM73.68 22.7c0-1.37 1.14-2.2 3.05-2.21h1.39v-.25c0-.84-.54-1.27-1.5-1.27-.64 0-1.2.25-1.59.69l-1.08-1.06c.62-.77 1.62-1.19 2.85-1.19 1.91 0 3.12 1.04 3.12 2.7v2.83c0 .26.12.38.4.38h.13v1.4h-.84c-.68 0-1.14-.32-1.29-.84h-.03c-.45.65-1.19 1.01-2.08 1.01-1.5 0-2.53-.9-2.53-2.21v.02Zm4.44-.62v-.4h-1.19c-.94.03-1.45.36-1.45.98 0 .55.43.94 1.04.94.94 0 1.59-.62 1.59-1.52h.01ZM81.85 17.59h1.68v.97h.03c.36-.74 1-1.14 1.82-1.14.93 0 1.62.4 2.05 1.21.43-.78 1.23-1.21 2.24-1.21 1.76 0 2.62.98 2.62 2.99v4.32H90.5v-4.02c0-1.17-.4-1.74-1.24-1.74s-1.29.62-1.29 1.79v3.96h-1.79V20.7c0-1.19-.39-1.74-1.24-1.74s-1.29.64-1.29 1.79v3.96h-1.79v-7.14l-.01.02ZM17.58 5.86c0-2.85 2-4.86 4.82-4.86 1.43 0 2.63.46 3.49 1.39l-1.24 1.19c-.54-.59-1.3-.94-2.21-.94-1.71 0-2.89 1.33-2.89 3.23s1.16 3.28 2.82 3.28c1.52 0 2.57-.87 2.57-2.13v-.25h-2.27V5.19h4.18v1.46c0 2.4-1.87 4.09-4.54 4.09S17.6 8.72 17.6 5.85l-.02.01ZM28.05 7c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM36.75 3.43h1.68v.97h.03c.36-.74 1-1.14 1.82-1.14.93 0 1.62.4 2.05 1.21.43-.78 1.23-1.21 2.24-1.21 1.76 0 2.62.98 2.62 2.99v4.32H45.4V6.55c0-1.17-.4-1.74-1.24-1.74s-1.29.62-1.29 1.79v3.96h-1.79V6.55c0-1.19-.39-1.74-1.24-1.74s-1.29.64-1.29 1.79v3.96h-1.79V3.43h-.01ZM48.61 7c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM56.87 7c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM65.58 3.43h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79V6.59c0-1.21-.43-1.78-1.34-1.78-.91 0-1.4.64-1.4 1.82v3.93h-1.79V3.43h-.01ZM74.21 8.01v-3.1h-1.23V3.42h.65c.59 0 .82-.23.82-.82V1.49h1.53v1.94h1.74v1.49h-1.74v3.1c0 .69.36 1.08 1.03 1.08.2 0 .45-.03.59-.07v1.5c-.22.06-.62.1-.94.1-1.62 0-2.46-.9-2.46-2.62h.01ZM78.61 7c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58Z"})]}));C.displayName="LogoStadsbankVanLening";try{C.displayName="LogoStadsbankVanLening",C.__docgenInfo={description:"",displayName:"LogoStadsbankVanLening",props:{}}}catch{}const o=l.forwardRef((h,v)=>c.jsxs("svg",{className:"ams-logo","aria-hidden":"true",focusable:"false",ref:v,viewBox:"0 0 145 43",xmlns:"http://www.w3.org/2000/svg",...h,children:[c.jsx("path",{className:"ams-logo__emblem",fill:"#EC0000",d:"m0 38.2 3.53-3.53L0 31.14l2.35-2.35 3.53 3.53 3.53-3.53 2.35 2.35-3.53 3.53 3.53 3.53-2.35 2.35-3.53-3.53-3.53 3.53L0 38.2ZM0 9.96l3.53-3.53L0 2.9 2.35.55l3.53 3.53L9.41.55l2.35 2.35-3.53 3.53 3.53 3.53-2.35 2.35-3.53-3.53-3.53 3.53L0 9.96ZM0 24.09l3.53-3.53L0 17.03l2.35-2.35 3.53 3.53 3.53-3.53 2.35 2.35-3.53 3.53 3.53 3.53-2.35 2.35-3.53-3.53-3.53 3.53L0 24.09Z"}),c.jsx("path",{className:"ams-logo__text-secondary",fill:"#000",d:"M17.13 29.86h2.07l2.39 7.22h.03l2.42-7.22h1.98l-3.36 9.4h-2.17l-3.36-9.4ZM26.5 34.55c0-2.85 2-4.86 4.82-4.86 1.43 0 2.63.46 3.49 1.39l-1.24 1.19c-.54-.59-1.3-.94-2.21-.94-1.71 0-2.89 1.33-2.89 3.23s1.16 3.28 2.82 3.28c1.52 0 2.57-.87 2.57-2.13v-.25h-2.27v-1.58h4.18v1.46c0 2.4-1.87 4.09-4.54 4.09s-4.71-2.02-4.71-4.89l-.02.01ZM40.43 29.86h2.17l3.76 9.4h-2.01l-.78-2.07h-4.18l-.78 2.07h-1.94l3.76-9.4Zm-.48 5.77h3.04l-1.5-3.96h-.03l-1.5 3.96h-.01ZM50.38 29.86h2.07l2.39 7.22h.03l2.42-7.22h1.98l-3.36 9.4h-2.17l-3.36-9.4ZM59.42 35.69c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM68.13 32.12h1.69v1.19h.03c.35-.81.98-1.24 1.82-1.24.22 0 .52.03.64.07v1.71c-.2-.06-.59-.1-.88-.1-.91 0-1.5.69-1.5 1.76v3.76h-1.79v-7.14l-.01-.01ZM73.01 38.06l3.4-4.45h-3.3v-1.49h5.73v1.2l-3.4 4.45h3.5v1.49h-5.93v-1.2ZM79.88 35.69c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM90.38 39.26h-1.79V28.77h1.79v6.57h.03l2.66-3.23h2.17l-2.76 3.17 2.89 3.98H93.2l-1.98-2.81-.84.97v1.84ZM95.68 35.69c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM104.38 32.12h1.69v1.19h.03c.35-.81.98-1.24 1.82-1.24.22 0 .52.03.64.07v1.71c-.2-.06-.59-.1-.88-.1-.91 0-1.5.69-1.5 1.76v3.76h-1.79v-7.14l-.01-.01ZM110.65 31.21c-.62 0-1.07-.43-1.07-1.04 0-.61.45-1.04 1.07-1.04.62 0 1.07.43 1.07 1.04 0 .61-.45 1.04-1.07 1.04Zm-.9.91h1.79v7.14h-1.79v-7.14ZM113.48 32.12h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79v-3.98c0-1.21-.43-1.78-1.35-1.78-.92 0-1.4.64-1.4 1.82v3.93h-1.79v-7.14.01ZM121.55 40.97l1.16-1.13c.39.45 1.1.72 1.87.72 1.3 0 2.02-.59 2.02-1.63v-1.1h-.03c-.4.75-1.16 1.17-2.1 1.17-2.01 0-3.34-1.42-3.34-3.53s1.37-3.51 3.34-3.51c1.01 0 1.81.45 2.2 1.21h.03v-1.06h1.69v6.88c0 1.91-1.46 3.11-3.79 3.11-1.33 0-2.43-.42-3.05-1.14v.01Zm5.06-5.5c0-1.19-.74-2.01-1.82-2.01s-1.82.82-1.82 2.01.75 2 1.82 2 1.82-.82 1.82-2ZM129.88 35.69c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM138.59 32.12h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79v-3.98c0-1.21-.43-1.78-1.35-1.78-.92 0-1.4.64-1.4 1.82v3.93h-1.79v-7.14.01Z"}),c.jsx("path",{className:"ams-logo__text-primary",fill:"#EC0000",d:"M20.94 15.88h2.17l3.76 9.4h-2.01l-.78-2.07H19.9l-.78 2.07h-1.94l3.76-9.4Zm-.48 5.77h3.04L22 17.69h-.03l-1.5 3.96h-.01ZM28.05 18.14h1.68v.97h.03c.36-.74 1-1.14 1.82-1.14.93 0 1.62.4 2.05 1.21.43-.78 1.23-1.21 2.24-1.21 1.76 0 2.62.98 2.62 2.99v4.32H36.7v-4.02c0-1.17-.4-1.74-1.24-1.74s-1.29.62-1.29 1.79v3.96h-1.79v-4.02c0-1.19-.39-1.74-1.24-1.74s-1.29.64-1.29 1.79v3.96h-1.79v-7.14l-.01.02ZM41.79 22.29c-.97-.29-1.91-.81-1.91-2.11 0-1.3 1.1-2.21 2.73-2.21 1.1 0 1.95.39 2.43 1.11l-1.03 1.03c-.36-.45-.85-.69-1.39-.69-.61 0-.98.27-.98.71 0 .58.61.68 1.49.95.97.29 1.91.81 1.91 2.11 0 1.3-1.16 2.27-2.86 2.27-1.11 0-2.01-.39-2.53-1.13l1.03-1.03c.39.46.91.71 1.49.71.69 0 1.11-.29 1.11-.77 0-.58-.61-.68-1.49-.95ZM46.94 22.72v-3.09h-1.23v-1.49h.65c.59 0 .82-.23.82-.82v-1.11h1.53v1.94h1.74v1.49h-1.74v3.09c0 .69.36 1.08 1.03 1.08.2 0 .45-.03.59-.07v1.5c-.22.06-.62.1-.94.1-1.62 0-2.46-.9-2.46-2.62h.01ZM51.34 21.71c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM60.04 18.14h1.69v1.19h.03c.35-.81.98-1.24 1.82-1.24.22 0 .52.03.64.07v1.71c-.2-.06-.59-.1-.88-.1-.91 0-1.5.69-1.5 1.76v3.76h-1.79v-7.14l-.01-.01ZM64.73 21.74c0-2.21 1.46-3.77 3.53-3.77.95 0 1.74.42 2.23 1.19h.03v-4.35h1.79V25.3h-1.69v-1.11h-.03c-.46.81-1.33 1.29-2.33 1.29-2.07 0-3.53-1.55-3.53-3.72v-.02Zm5.79-.03c0-1.29-.8-2.14-1.97-2.14s-1.98.87-1.98 2.14.8 2.14 1.98 2.14 1.97-.85 1.97-2.14ZM73.68 23.25c0-1.37 1.14-2.2 3.05-2.21h1.39v-.25c0-.84-.54-1.27-1.5-1.27-.64 0-1.2.25-1.59.69l-1.08-1.06c.62-.77 1.62-1.19 2.85-1.19 1.91 0 3.12 1.04 3.12 2.7v2.83c0 .26.12.38.4.38h.13v1.4h-.84c-.68 0-1.14-.32-1.29-.84h-.03c-.45.65-1.19 1.01-2.08 1.01-1.5 0-2.53-.9-2.53-2.21v.02Zm4.44-.62v-.4h-1.19c-.94.03-1.45.36-1.45.98 0 .55.43.94 1.04.94.94 0 1.59-.62 1.59-1.52h.01ZM81.85 18.14h1.68v.97h.03c.36-.74 1-1.14 1.82-1.14.93 0 1.62.4 2.05 1.21.43-.78 1.23-1.21 2.24-1.21 1.76 0 2.62.98 2.62 2.99v4.32H90.5v-4.02c0-1.17-.4-1.74-1.24-1.74s-1.29.62-1.29 1.79v3.96h-1.79v-4.02c0-1.19-.39-1.74-1.24-1.74s-1.29.64-1.29 1.79v3.96h-1.79v-7.14l-.01.02ZM17.58 6.41c0-2.85 2-4.86 4.82-4.86 1.43 0 2.63.46 3.49 1.39l-1.24 1.19c-.54-.59-1.3-.94-2.21-.94-1.71 0-2.89 1.33-2.89 3.23s1.16 3.28 2.82 3.28c1.52 0 2.57-.87 2.57-2.13v-.25h-2.27V5.74h4.18V7.2c0 2.4-1.87 4.09-4.54 4.09S17.6 9.27 17.6 6.4l-.02.01ZM28.05 7.55c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM36.75 3.98h1.68v.97h.03c.36-.74 1-1.14 1.82-1.14.93 0 1.62.4 2.05 1.21.43-.78 1.23-1.21 2.24-1.21 1.76 0 2.62.98 2.62 2.99v4.32H45.4V7.1c0-1.17-.4-1.74-1.24-1.74s-1.29.62-1.29 1.79v3.96h-1.79V7.1c0-1.19-.39-1.74-1.24-1.74s-1.29.64-1.29 1.79v3.96h-1.79V3.98h-.01ZM48.61 7.55c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM56.87 7.55c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM65.58 3.98h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79V7.14c0-1.21-.43-1.78-1.34-1.78-.91 0-1.4.64-1.4 1.82v3.93h-1.79V3.98h-.01ZM74.21 8.56V5.47h-1.23V3.98h.65c.59 0 .82-.23.82-.82V2.04h1.53v1.94h1.74v1.49h-1.74v3.09c0 .69.36 1.08 1.03 1.08.2 0 .45-.03.59-.07v1.5c-.22.06-.62.1-.94.1-1.62 0-2.46-.9-2.46-2.62l.01.01ZM78.61 7.55c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58Z"})]}));o.displayName="LogoVgaVerzekeringen";try{o.displayName="LogoVgaVerzekeringen",o.__docgenInfo={description:"",displayName:"LogoVgaVerzekeringen",props:{}}}catch{}const V={amsterdam:s,"ggd-amsterdam":a,"museum-weesp":e,stadsarchief:Z,"stadsbank-van-lening":C,"vga-verzekeringen":o},m=l.forwardRef(({brand:h="amsterdam",className:v,...M},r)=>{const L=V[h];return c.jsx(L,{...M,ref:r,className:t("ams-logo",v)})});m.displayName="Logo";try{m.displayName="Logo",m.__docgenInfo={description:"",displayName:"Logo",props:{brand:{defaultValue:{value:"amsterdam"},description:"The name of the brand for which to display the logo.",name:"brand",required:!1,type:{name:"enum",value:[{value:'"amsterdam"'},{value:'"ggd-amsterdam"'},{value:'"museum-weesp"'},{value:'"stadsarchief"'},{value:'"stadsbank-van-lening"'},{value:'"vga-verzekeringen"'}]}}}}}catch{}export{m as L}; +import{j as c}from"./jsx-runtime-BjgbQsUx.js";import{c as t}from"./clsx-B-dksMZM.js";import{r as l}from"./index-RigO-4kf.js";const s=l.forwardRef((h,v)=>c.jsxs("svg",{className:"ams-logo","aria-hidden":"true",focusable:"false",ref:v,viewBox:"0 0 115 40",xmlns:"http://www.w3.org/2000/svg",...h,children:[c.jsx("path",{className:"ams-logo__text-primary",fill:"#EC0000",d:"M16.435 8.581c0-3.752 2.63-6.4 6.344-6.4 1.886 0 3.466.61 4.59 1.829L25.731 5.57c-.704-.78-1.714-1.238-2.915-1.238-2.248 0-3.81 1.752-3.81 4.248 0 2.496 1.524 4.324 3.715 4.324 2 0 3.391-1.143 3.391-2.8v-.323h-2.99V7.705h5.505V9.63c0 3.162-2.457 5.39-5.981 5.39s-6.21-2.666-6.21-6.438ZM30.225 10.086c0-2.915 1.962-4.934 4.762-4.934s4.743 2 4.743 4.876c0 .229-.037.59-.076.839h-7.048C32.778 12.143 33.863 13 35.254 13c1.029 0 1.924-.381 2.514-1.067l1.428 1.391c-.857 1.106-2.343 1.696-4.057 1.696-2.895 0-4.915-2.038-4.915-4.934h.001Zm2.381-.952h4.743c-.152-1.238-1.105-2.077-2.38-2.077-1.276 0-2.229.839-2.363 2.077ZM43.902 5.382v1.275h.038c.476-.97 1.314-1.505 2.4-1.505 1.219 0 2.132.534 2.704 1.6.571-1.028 1.62-1.6 2.952-1.6 2.324 0 3.448 1.296 3.448 3.943v5.696h-2.362V9.495c0-1.543-.534-2.286-1.638-2.286-1.104 0-1.696.82-1.696 2.362v5.22h-2.362V9.495c0-1.562-.514-2.286-1.638-2.286-1.124 0-1.695.838-1.695 2.362v5.22H41.69V5.38h2.212ZM57.312 10.086c0-2.915 1.963-4.934 4.762-4.934 2.8 0 4.744 2 4.744 4.876 0 .229-.038.59-.077.839h-7.048C59.865 12.143 60.95 13 62.341 13c1.03 0 1.924-.381 2.514-1.067l1.429 1.391c-.857 1.106-2.344 1.696-4.058 1.696-2.895 0-4.915-2.038-4.915-4.934h.001Zm2.381-.952h4.743c-.152-1.238-1.105-2.077-2.38-2.077-1.276 0-2.229.839-2.363 2.077ZM68.189 10.086c0-2.915 1.962-4.934 4.762-4.934s4.743 2 4.743 4.876c0 .229-.038.59-.077.839H70.57C70.74 12.143 71.827 13 73.218 13c1.028 0 1.923-.381 2.513-1.067l1.429 1.391c-.857 1.106-2.343 1.696-4.058 1.696-2.895 0-4.915-2.038-4.915-4.934h.002Zm2.38-.952h4.744c-.153-1.238-1.105-2.077-2.381-2.077-1.276 0-2.228.839-2.362 2.077ZM81.883 5.382v1.275h.038c.438-.933 1.39-1.505 2.495-1.505 2.362 0 3.582 1.353 3.582 3.943v5.696h-2.363V9.552c0-1.6-.571-2.343-1.772-2.343-1.2 0-1.847.838-1.847 2.4v5.18h-2.362V5.382h2.23ZM91.026 11.42V7.342h-1.619V5.381h.858c.78 0 1.085-.305 1.085-1.086V2.83h2.019v2.553h2.285v1.962H93.37v4.077c0 .915.476 1.428 1.352 1.428.267 0 .59-.037.78-.095v1.981c-.285.077-.819.133-1.238.133-2.133 0-3.238-1.18-3.238-3.447l.001-.002ZM96.817 10.086c0-2.915 1.963-4.934 4.762-4.934 2.8 0 4.744 2 4.744 4.876 0 .229-.038.59-.077.839h-7.048c.172 1.276 1.257 2.133 2.648 2.133 1.029 0 1.924-.381 2.514-1.067l1.429 1.391c-.857 1.106-2.344 1.696-4.058 1.696-2.895 0-4.915-2.038-4.915-4.934h.001Zm2.381-.952h4.744c-.153-1.238-1.106-2.077-2.382-2.077-1.275 0-2.228.839-2.362 2.077ZM23.73 25.267l4.952 12.381h-2.647l-1.03-2.724H19.5l-1.028 2.724h-2.553l4.953-12.38h2.858Zm-3.486 7.6h4l-1.982-5.219h-.037l-1.981 5.22ZM32.454 28.24v1.275h.038c.476-.97 1.315-1.505 2.4-1.505 1.22 0 2.133.534 2.704 1.6.572-1.028 1.62-1.6 2.953-1.6 2.323 0 3.447 1.296 3.447 3.944v5.696h-2.362v-5.296c0-1.543-.534-2.286-1.638-2.286-1.104 0-1.695.82-1.695 2.362v5.22h-2.363v-5.296c0-1.562-.514-2.286-1.638-2.286-1.124 0-1.695.838-1.695 2.362v5.22h-2.362v-9.41h2.211ZM48.34 33.706c-1.275-.381-2.513-1.067-2.513-2.78 0-1.715 1.447-2.916 3.6-2.916 1.448 0 2.572.514 3.2 1.466l-1.351 1.353c-.477-.59-1.124-.915-1.829-.915-.8 0-1.296.362-1.296.933 0 .762.8.895 1.963 1.257 1.276.381 2.514 1.067 2.514 2.781 0 1.715-1.524 2.99-3.772 2.99-1.466 0-2.648-.514-3.334-1.486l1.353-1.352c.513.609 1.2.934 1.962.934.915 0 1.466-.381 1.466-1.01 0-.762-.8-.895-1.962-1.258v.003ZM55.122 34.277v-4.076h-1.62v-1.963h.858c.78 0 1.085-.304 1.085-1.085v-1.466h2.019v2.552h2.286v1.963h-2.286v4.076c0 .915.476 1.43 1.352 1.43.267 0 .59-.038.78-.096v1.981c-.285.077-.819.133-1.237.133-2.133 0-3.238-1.18-3.238-3.447v-.002ZM60.911 32.944c0-2.915 1.963-4.934 4.763-4.934s4.743 2 4.743 4.876c0 .228-.038.59-.077.839h-7.048c.172 1.276 1.257 2.133 2.648 2.133 1.03 0 1.924-.381 2.514-1.067l1.429 1.391c-.857 1.105-2.343 1.696-4.058 1.696-2.895 0-4.915-2.038-4.915-4.934h.001Zm2.381-.952h4.744c-.153-1.239-1.106-2.077-2.381-2.077-1.276 0-2.229.838-2.363 2.077ZM74.607 28.24V29.8h.038c.457-1.066 1.296-1.638 2.4-1.638.285 0 .685.038.838.095v2.248c-.267-.076-.78-.132-1.162-.132-1.2 0-1.98.914-1.98 2.323v4.953h-2.363v-9.41h2.23ZM78.551 32.983c0-2.915 1.924-4.972 4.648-4.972 1.257 0 2.286.553 2.934 1.562h.037V23.84h2.362v13.81h-2.228v-1.467h-.037c-.61 1.067-1.752 1.696-3.067 1.696-2.724 0-4.648-2.038-4.648-4.895l-.001-.001Zm7.62-.038c0-1.695-1.048-2.82-2.591-2.82-1.543 0-2.61 1.143-2.61 2.82 0 1.677 1.049 2.82 2.61 2.82s2.59-1.124 2.59-2.82ZM90.34 34.963c0-1.81 1.506-2.895 4.02-2.915l1.828-.019v-.304c0-1.106-.704-1.677-1.981-1.677-.838 0-1.581.323-2.095.915l-1.429-1.391c.82-1.01 2.133-1.562 3.752-1.562 2.514 0 4.114 1.371 4.114 3.562v3.733c0 .343.153.495.534.495h.172v1.847H98.15c-.895 0-1.506-.418-1.696-1.105h-.038c-.59.857-1.561 1.333-2.743 1.333-1.981 0-3.333-1.18-3.333-2.914v.002Zm5.848-.82v-.534l-1.561.02c-1.238.018-1.905.457-1.905 1.275 0 .724.571 1.238 1.37 1.238 1.239 0 2.096-.82 2.096-2v.001ZM103.312 28.24v1.275h.038c.476-.97 1.315-1.505 2.4-1.505 1.219 0 2.133.534 2.704 1.6.572-1.028 1.619-1.6 2.953-1.6 2.323 0 3.447 1.296 3.447 3.944v5.696h-2.362v-5.296c0-1.543-.534-2.286-1.638-2.286-1.104 0-1.695.82-1.695 2.362v5.22h-2.363v-5.296c0-1.562-.513-2.286-1.638-2.286-1.124 0-1.695.838-1.695 2.362v5.22h-2.362v-9.41h2.211Z"}),c.jsx("path",{className:"ams-logo__emblem",fill:"#EC0000",d:"m0 37.648 3.527-3.527L0 30.593l2.352-2.351 3.527 3.527 3.528-3.527 2.351 2.351-3.527 3.528 3.527 3.527L9.407 40l-3.528-3.527L2.352 40 0 37.648ZM0 23.54l3.527-3.528L0 16.485l2.352-2.352 3.527 3.528 3.528-3.528 2.351 2.352-3.527 3.527 3.527 3.528-2.351 2.351-3.528-3.527-3.527 3.527L0 23.54ZM0 9.407l3.527-3.528L0 2.352 2.352 0l3.527 3.527L9.407 0l2.351 2.352-3.527 3.527 3.527 3.528-2.351 2.351-3.528-3.527-3.526 3.527L0 9.407Z"})]}));s.displayName="LogoAmsterdam";try{s.displayName="LogoAmsterdam",s.__docgenInfo={description:"",displayName:"LogoAmsterdam",props:{}}}catch{}const a=l.forwardRef((h,v)=>c.jsxs("svg",{className:"ams-logo","aria-hidden":"true",focusable:"false",ref:v,viewBox:"0 0 115 40",xmlns:"http://www.w3.org/2000/svg",...h,children:[c.jsx("path",{className:"ams-logo__emblem",fill:"#EC0000",d:"m0 37.648 3.527-3.527L0 30.593l2.352-2.351 3.527 3.527 3.528-3.527 2.351 2.351-3.527 3.528 3.527 3.527L9.407 40l-3.528-3.527L2.352 40 0 37.648ZM0 23.54l3.527-3.528L0 16.485l2.352-2.352 3.527 3.528 3.528-3.528 2.351 2.352-3.527 3.527 3.527 3.528-2.351 2.351-3.528-3.527-3.527 3.527L0 23.54ZM0 9.407l3.527-3.528L0 2.352 2.352 0l3.527 3.527L9.407 0l2.351 2.352-3.527 3.527 3.527 3.528-2.351 2.351-3.528-3.527-3.526 3.527L0 9.407Z"}),c.jsx("path",{className:"ams-logo__text-primary",fill:"#EC0000",d:"m23.73 25.267 4.952 12.381h-2.647l-1.03-2.724H19.5l-1.028 2.724h-2.553l4.953-12.381h2.858Zm-3.486 7.6h4l-1.982-5.219h-.037l-1.981 5.22ZM32.454 28.24v1.275h.038c.476-.971 1.315-1.505 2.4-1.505 1.22 0 2.133.534 2.704 1.6.572-1.028 1.62-1.6 2.953-1.6 2.323 0 3.447 1.296 3.447 3.944v5.696h-2.362v-5.296c0-1.543-.534-2.286-1.638-2.286-1.104 0-1.695.82-1.695 2.362v5.22h-2.363v-5.296c0-1.562-.514-2.286-1.638-2.286-1.124 0-1.695.838-1.695 2.362v5.22h-2.362v-9.41h2.211ZM48.34 33.706c-1.275-.381-2.513-1.067-2.513-2.78 0-1.715 1.447-2.916 3.6-2.916 1.448 0 2.572.514 3.2 1.466l-1.351 1.353c-.477-.59-1.124-.915-1.829-.915-.8 0-1.296.362-1.296.933 0 .762.8.895 1.963 1.257 1.276.381 2.514 1.067 2.514 2.781 0 1.715-1.524 2.99-3.772 2.99-1.466 0-2.648-.514-3.334-1.486l1.353-1.352c.513.609 1.2.934 1.962.934.915 0 1.466-.381 1.466-1.01 0-.762-.8-.895-1.962-1.258v.003ZM55.122 34.277v-4.076h-1.62v-1.963h.858c.78 0 1.085-.304 1.085-1.085v-1.466h2.019v2.552h2.286v1.963h-2.286v4.076c0 .915.476 1.43 1.352 1.43.267 0 .59-.038.78-.096v1.981c-.285.076-.819.133-1.237.133-2.133 0-3.238-1.18-3.238-3.447v-.002ZM60.911 32.944c0-2.915 1.963-4.934 4.763-4.934s4.743 2 4.743 4.876c0 .228-.038.59-.077.839h-7.048c.172 1.275 1.257 2.133 2.648 2.133 1.03 0 1.924-.381 2.514-1.067l1.429 1.391c-.857 1.105-2.343 1.696-4.058 1.696-2.895 0-4.915-2.038-4.915-4.934h.001Zm2.381-.953h4.744c-.153-1.238-1.106-2.076-2.381-2.076-1.276 0-2.229.838-2.363 2.076ZM74.607 28.24V29.8h.038c.457-1.066 1.296-1.638 2.4-1.638.285 0 .685.038.838.095v2.248c-.267-.076-.78-.132-1.162-.132-1.2 0-1.98.914-1.98 2.323v4.953h-2.363v-9.41h2.23ZM78.551 32.983c0-2.915 1.924-4.972 4.648-4.972 1.257 0 2.286.553 2.934 1.562h.037V23.84h2.362v13.81h-2.228v-1.467h-.037c-.61 1.067-1.752 1.696-3.067 1.696-2.724 0-4.648-2.038-4.648-4.895l-.001-.001Zm7.62-.038c0-1.695-1.048-2.82-2.591-2.82-1.543 0-2.61 1.143-2.61 2.82 0 1.677 1.049 2.82 2.61 2.82s2.59-1.124 2.59-2.82ZM90.34 34.963c0-1.81 1.506-2.895 4.02-2.915l1.828-.019v-.304c0-1.106-.704-1.677-1.981-1.677-.838 0-1.581.323-2.095.915l-1.429-1.391c.82-1.01 2.133-1.562 3.752-1.562 2.514 0 4.114 1.371 4.114 3.562v3.733c0 .343.153.495.534.495h.172v1.847H98.15c-.895 0-1.506-.418-1.696-1.105h-.038c-.59.857-1.561 1.333-2.743 1.333-1.981 0-3.333-1.18-3.333-2.915v.003Zm5.848-.82v-.534l-1.561.02c-1.238.018-1.905.457-1.905 1.275 0 .724.571 1.238 1.37 1.238 1.239 0 2.096-.82 2.096-2v.001ZM103.312 28.24v1.275h.038c.476-.971 1.315-1.505 2.4-1.505 1.219 0 2.133.534 2.704 1.6.572-1.028 1.619-1.6 2.953-1.6 2.323 0 3.447 1.296 3.447 3.944v5.696h-2.362v-5.296c0-1.543-.534-2.286-1.638-2.286-1.104 0-1.695.82-1.695 2.362v5.22h-2.363v-5.296c0-1.562-.513-2.286-1.638-2.286-1.124 0-1.695.838-1.695 2.362v5.22h-2.362v-9.41h2.211Z"}),c.jsx("path",{className:"ams-logo__text-secondary",fill:"#000",d:"M16.436 8.581c0-3.752 2.629-6.4 6.343-6.4 1.886 0 3.466.61 4.59 1.829L25.732 5.57c-.705-.78-1.715-1.238-2.915-1.238-2.248 0-3.81 1.752-3.81 4.248 0 2.496 1.524 4.324 3.714 4.324 2 0 3.392-1.143 3.392-2.8v-.323h-2.99V7.705h5.505V9.63c0 3.162-2.458 5.39-5.982 5.39s-6.21-2.666-6.21-6.438ZM30.34 8.581c0-3.752 2.63-6.4 6.344-6.4 1.886 0 3.467.61 4.59 1.829L39.638 5.57c-.705-.78-1.715-1.238-2.915-1.238-2.248 0-3.81 1.752-3.81 4.248 0 2.496 1.524 4.324 3.715 4.324 2 0 3.39-1.143 3.39-2.8v-.323h-2.99V7.705h5.506V9.63c0 3.162-2.458 5.39-5.982 5.39s-6.21-2.666-6.21-6.438ZM44.836 2.41h4.61c3.809 0 6.343 2.476 6.343 6.19 0 3.714-2.59 6.19-6.363 6.19h-4.59V2.41Zm4.419 10.229c2.38 0 3.942-1.543 3.942-4.02 0-2.475-1.524-4.057-3.923-4.057H47.35v8.077h1.905Z"})]}));a.displayName="LogoGgdAmsterdam";try{a.displayName="LogoGgdAmsterdam",a.__docgenInfo={description:"",displayName:"LogoGgdAmsterdam",props:{}}}catch{}const e=l.forwardRef((h,v)=>c.jsxs("svg",{className:"ams-logo","aria-hidden":"true",focusable:"false",ref:v,viewBox:"0 0 121 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...h,children:[c.jsx("path",{className:"ams-logo__text-secondary",d:"M18.085 30.527H20.669L23.051 35.26H23.08L25.46 30.527H28.045V39.964H26.187V32.69H26.157L23.82 37.336H22.31L19.973 32.69H19.943V39.964H18.085V30.527ZM29.976 37.133V32.792H31.776V36.799C31.776 38.004 32.197 38.57 33.068 38.57C33.954 38.57 34.448 37.917 34.448 36.755V32.792H36.248V39.964H34.55V38.991H34.521C34.173 39.688 33.418 40.138 32.605 40.138C30.848 40.138 29.976 39.137 29.976 37.133ZM39.63 36.959C38.658 36.669 37.714 36.146 37.714 34.839C37.714 33.518 38.818 32.618 40.458 32.618C41.562 32.618 42.418 33.009 42.898 33.735L41.867 34.766C41.504 34.316 41.01 34.069 40.473 34.069C39.863 34.069 39.486 34.345 39.486 34.781C39.486 35.361 40.096 35.463 40.981 35.739C41.954 36.029 42.898 36.552 42.898 37.859C42.898 39.209 41.736 40.139 40.023 40.139C38.905 40.139 38.005 39.746 37.482 39.006L38.512 37.975C38.6925 38.1976 38.9205 38.3771 39.1794 38.5001C39.4383 38.6231 39.7214 38.6866 40.008 38.686C40.705 38.686 41.126 38.396 41.126 37.917C41.126 37.337 40.515 37.235 39.63 36.959ZM45.7 35.652H49.315C49.199 34.708 48.473 34.069 47.5 34.069C46.527 34.069 45.801 34.709 45.7 35.652ZM43.885 36.378C43.885 34.157 45.38 32.618 47.515 32.618C49.649 32.618 51.13 34.142 51.13 36.334C51.13 36.509 51.1 36.784 51.072 36.974H45.699C45.83 37.946 46.658 38.599 47.718 38.599C48.502 38.599 49.184 38.309 49.634 37.786L50.724 38.846C50.07 39.688 48.937 40.138 47.631 40.138C45.424 40.138 43.885 38.585 43.885 36.378ZM52.523 37.133V32.792H54.323V36.799C54.323 38.004 54.745 38.57 55.616 38.57C56.502 38.57 56.996 37.917 56.996 36.755V32.792H58.796V39.964H57.096V38.991H57.068C56.72 39.688 55.964 40.138 55.151 40.138C53.395 40.138 52.523 39.137 52.523 37.133ZM60.741 32.792H62.425V33.765H62.455C62.817 33.024 63.456 32.618 64.284 32.618C65.213 32.618 65.91 33.024 66.345 33.838C66.781 33.053 67.58 32.618 68.595 32.618C70.367 32.618 71.224 33.605 71.224 35.623V39.964H69.424V35.928C69.424 34.752 69.017 34.186 68.174 34.186C67.333 34.186 66.883 34.81 66.883 35.986V39.964H65.083V35.928C65.083 34.738 64.69 34.186 63.833 34.186C63.006 34.186 62.541 34.824 62.541 35.986V39.964H60.741V32.792ZM84.683 39.964L82.853 32.908H82.824L80.994 39.964H78.774L76 30.527H78.033L79.891 37.67H79.921L81.793 30.527H83.884L85.757 37.67H85.787L87.645 30.527H89.677L86.904 39.964H84.683ZM91.71 35.652H95.325C95.209 34.708 94.483 34.069 93.51 34.069C92.537 34.069 91.812 34.709 91.71 35.652ZM89.895 36.378C89.895 34.157 91.39 32.618 93.525 32.618C95.659 32.618 97.14 34.142 97.14 36.334C97.14 36.509 97.11 36.784 97.082 36.974H91.71C91.84 37.946 92.668 38.599 93.728 38.599C94.512 38.599 95.194 38.309 95.645 37.786L96.733 38.846C96.08 39.688 94.948 40.138 93.641 40.138C91.434 40.138 89.895 38.585 89.895 36.378ZM100 35.652H103.616C103.499 34.708 102.773 34.069 101.801 34.069C100.828 34.069 100.1 34.709 100 35.652ZM98.185 36.378C98.185 34.157 99.681 32.618 101.815 32.618C103.949 32.618 105.43 34.142 105.43 36.334C105.43 36.509 105.401 36.784 105.372 36.974H100C100.13 37.946 100.958 38.599 102.018 38.599C102.802 38.599 103.485 38.309 103.935 37.786L105.024 38.846C104.37 39.688 103.238 40.138 101.931 40.138C99.724 40.138 98.185 38.585 98.185 36.378ZM108.363 36.959C107.39 36.669 106.446 36.146 106.446 34.839C106.446 33.518 107.55 32.618 109.191 32.618C110.294 32.618 111.151 33.009 111.63 33.735L110.599 34.766C110.236 34.316 109.742 34.069 109.205 34.069C108.595 34.069 108.218 34.345 108.218 34.781C108.218 35.361 108.828 35.463 109.713 35.739C110.686 36.029 111.63 36.552 111.63 37.859C111.63 39.209 110.468 40.139 108.755 40.139C107.637 40.139 106.737 39.746 106.215 39.006L107.245 37.975C107.426 38.1976 107.654 38.3771 107.912 38.5001C108.171 38.6231 108.454 38.6866 108.741 38.686C109.437 38.686 109.859 38.396 109.859 37.917C109.859 37.337 109.249 37.235 108.363 36.959ZM118.83 36.378C118.83 35.086 118.033 34.229 116.857 34.229C115.68 34.229 114.867 35.1 114.867 36.378C114.867 37.656 115.68 38.527 116.857 38.527C118.033 38.527 118.831 37.67 118.831 36.377L118.83 36.378ZM113.067 32.792H114.78V33.91H114.81C115.245 33.097 116.116 32.618 117.162 32.618C119.209 32.618 120.675 34.171 120.675 36.348C120.675 38.556 119.209 40.138 117.162 40.138C116.189 40.138 115.39 39.718 114.896 38.948H114.867V42.65H113.067V32.792Z",fill:"#000"}),c.jsx("path",{className:"ams-logo__text-primary",d:"M20.539 22.287H23.588L22.078 18.309H22.048L20.539 22.287ZM21.018 16.494H23.196L26.971 25.931H24.953L24.169 23.855H19.973L19.189 25.931H17.243L21.018 16.494ZM28.161 18.759H29.845V19.732H29.875C30.237 18.992 30.876 18.584 31.704 18.584C32.633 18.584 33.33 18.991 33.765 19.804C34.201 19.02 35 18.584 36.015 18.584C37.787 18.584 38.644 19.572 38.644 21.59V25.931H36.844V21.895C36.844 20.719 36.437 20.152 35.594 20.152C34.753 20.152 34.303 20.777 34.303 21.952V25.932H32.503V21.895C32.503 20.705 32.11 20.152 31.253 20.152C30.426 20.152 29.961 20.792 29.961 21.952V25.932H28.161V18.759ZM41.954 22.926C40.981 22.636 40.037 22.113 40.037 20.806C40.037 19.485 41.141 18.584 42.781 18.584C43.885 18.584 44.741 18.977 45.221 19.702L44.19 20.733C43.827 20.283 43.333 20.036 42.796 20.036C42.186 20.036 41.809 20.312 41.809 20.748C41.809 21.328 42.419 21.43 43.304 21.706C44.277 21.996 45.221 22.519 45.221 23.826C45.221 25.176 44.059 26.106 42.346 26.106C41.228 26.106 40.328 25.713 39.806 24.973L40.836 23.942C41.0164 24.1645 41.2443 24.3439 41.5029 24.4669C41.7616 24.5899 42.0446 24.6535 42.331 24.653C43.028 24.653 43.449 24.363 43.449 23.884C43.449 23.304 42.839 23.202 41.954 22.926ZM47.122 23.361V20.254H45.888V18.76H46.542C47.137 18.76 47.369 18.527 47.369 17.932V16.814H48.909V18.76H50.651V20.255H48.908V23.362C48.908 24.059 49.271 24.452 49.939 24.452C50.142 24.452 50.389 24.422 50.534 24.379V25.889C50.2243 25.9569 49.9081 25.9907 49.591 25.99C47.965 25.99 47.122 25.089 47.122 23.361ZM53.351 21.619H56.966C56.85 20.675 56.124 20.036 55.151 20.036C54.179 20.036 53.453 20.676 53.351 21.619ZM51.536 22.345C51.536 20.124 53.032 18.585 55.166 18.585C57.3 18.585 58.781 20.109 58.781 22.301C58.781 22.476 58.752 22.751 58.723 22.941H53.351C53.481 23.913 54.309 24.566 55.369 24.566C56.153 24.566 56.836 24.276 57.286 23.753L58.375 24.813C57.721 25.655 56.589 26.105 55.282 26.105C53.075 26.105 51.536 24.552 51.536 22.345ZM60.277 18.759H61.975V19.949H62.005C62.353 19.136 62.992 18.701 63.834 18.701C64.051 18.701 64.356 18.73 64.472 18.773V20.487C64.1819 20.4194 63.8849 20.3852 63.587 20.385C62.672 20.385 62.077 21.082 62.077 22.156V25.931H60.277V18.759ZM70.788 22.345C70.788 21.053 69.99 20.196 68.814 20.196C67.623 20.196 66.824 21.067 66.824 22.346C66.824 23.623 67.623 24.494 68.814 24.494C69.99 24.494 70.788 23.637 70.788 22.345ZM64.981 22.374C64.981 20.152 66.447 18.584 68.523 18.584C69.481 18.584 70.265 19.006 70.759 19.775H70.789V15.405H72.589V25.93H70.889V24.812H70.861C70.396 25.625 69.525 26.104 68.523 26.104C66.447 26.104 64.981 24.552 64.981 22.374ZM78.425 23.26V22.853L77.235 22.868C76.291 22.882 75.783 23.216 75.783 23.841C75.783 24.392 76.218 24.784 76.828 24.784C77.771 24.784 78.425 24.16 78.425 23.26ZM73.968 23.884C73.968 22.504 75.115 21.677 77.031 21.663L78.425 21.648V21.416C78.425 20.574 77.888 20.138 76.915 20.138C76.276 20.138 75.71 20.385 75.318 20.835L74.229 19.775C74.853 19.005 75.855 18.585 77.089 18.585C79.006 18.585 80.225 19.63 80.225 21.3V24.145C80.225 24.407 80.341 24.523 80.632 24.523H80.762V25.931H79.92C79.238 25.931 78.773 25.611 78.628 25.089H78.6C78.15 25.743 77.41 26.105 76.51 26.105C75 26.105 73.969 25.205 73.969 23.885L73.968 23.884ZM82.17 18.759H83.855V19.732H83.884C84.247 18.992 84.886 18.584 85.714 18.584C86.642 18.584 87.339 18.991 87.774 19.804C88.21 19.02 89.009 18.584 90.025 18.584C91.797 18.584 92.653 19.572 92.653 21.59V25.931H90.853V21.895C90.853 20.719 90.446 20.152 89.604 20.152C88.762 20.152 88.312 20.777 88.312 21.952V25.932H86.512V21.895C86.512 20.705 86.12 20.152 85.263 20.152C84.436 20.152 83.971 20.792 83.971 21.952V25.932H82.171L82.17 18.759ZM17.644 6.97998C17.644 4.11998 19.647 2.09998 22.479 2.09998C23.916 2.09998 25.121 2.56498 25.978 3.49398L24.729 4.68398C24.192 4.08898 23.422 3.74098 22.508 3.74098C20.795 3.74098 19.604 5.07698 19.604 6.97898C19.604 8.92398 20.765 10.274 22.435 10.274C23.96 10.274 25.02 9.40398 25.02 8.13998V7.89298H22.74V6.31198H26.936V7.77798C26.936 10.188 25.063 11.887 22.377 11.887C19.604 11.887 17.644 9.85398 17.644 6.97998ZM29.97 7.39998H33.586C33.469 6.45698 32.743 5.81798 31.771 5.81798C30.798 5.81798 30.072 6.45698 29.971 7.40098L29.97 7.39998ZM28.155 8.12698C28.155 5.90498 29.651 4.36698 31.785 4.36698C33.92 4.36698 35.4 5.89098 35.4 8.08298C35.4 8.25698 35.372 8.53298 35.342 8.72198H29.97C30.101 9.69498 30.929 10.348 31.988 10.348C32.773 10.348 33.455 10.058 33.905 9.53498L34.994 10.595C34.341 11.437 33.208 11.887 31.901 11.887C29.694 11.887 28.155 10.333 28.155 8.12698ZM36.896 4.53998H38.58V5.51298H38.609C38.972 4.77298 39.611 4.36598 40.439 4.36598C41.368 4.36598 42.065 4.77298 42.5 5.58598C42.936 4.80198 43.734 4.36598 44.75 4.36598C46.522 4.36598 47.379 5.35398 47.379 7.37198V11.712H45.579V7.67698C45.579 6.50198 45.172 5.93498 44.329 5.93498C43.488 5.93498 43.037 6.55998 43.037 7.73498V11.714H41.237V7.67598C41.237 6.48598 40.845 5.93398 39.988 5.93398C39.161 5.93398 38.696 6.57398 38.696 7.73398V11.713H36.896V4.53998ZM50.616 7.39998H54.231C54.115 6.45698 53.389 5.81798 52.417 5.81798C51.444 5.81798 50.717 6.45698 50.617 7.40098L50.616 7.39998ZM48.801 8.12698C48.801 5.90498 50.297 4.36698 52.431 4.36698C54.565 4.36698 56.046 5.89098 56.046 8.08298C56.046 8.25698 56.017 8.53298 55.988 8.72198H50.616C50.746 9.69498 51.574 10.348 52.634 10.348C53.418 10.348 54.101 10.058 54.551 9.53498L55.64 10.595C54.986 11.437 53.854 11.887 52.547 11.887C50.34 11.887 48.801 10.333 48.801 8.12698ZM58.906 7.39998H62.522C62.406 6.45698 61.68 5.81798 60.707 5.81798C59.734 5.81798 59.008 6.45698 58.907 7.40098L58.906 7.39998ZM57.092 8.12698C57.092 5.90498 58.587 4.36698 60.722 4.36698C62.856 4.36698 64.337 5.89098 64.337 8.08298C64.337 8.25698 64.307 8.53298 64.279 8.72198H58.906C59.037 9.69498 59.865 10.348 60.925 10.348C61.708 10.348 62.391 10.058 62.841 9.53498L63.93 10.595C63.277 11.437 62.144 11.887 60.837 11.887C58.631 11.887 57.092 10.333 57.092 8.12698ZM65.832 4.53998H67.531V5.51298H67.56C67.894 4.80198 68.62 4.36598 69.462 4.36598C71.262 4.36598 72.192 5.39698 72.192 7.37198V11.712H70.39V7.71998C70.39 6.49998 69.955 5.93398 69.04 5.93398C68.125 5.93398 67.631 6.57398 67.631 7.76398V11.713H65.831L65.832 4.53998ZM74.5 9.14298V6.03598H73.266V4.53998H73.919C74.514 4.53998 74.747 4.30798 74.747 3.71298V2.59498H76.286V4.53998H78.028V6.03598H76.286V9.14298C76.286 9.83998 76.648 10.232 77.316 10.232C77.52 10.232 77.766 10.202 77.912 10.159V11.669C77.602 11.7372 77.2855 11.7714 76.968 11.771C75.342 11.771 74.5 10.871 74.5 9.14298ZM80.728 7.39998H84.344C84.227 6.45698 83.501 5.81798 82.529 5.81798C81.556 5.81798 80.83 6.45698 80.729 7.40098L80.728 7.39998ZM78.913 8.12698C78.913 5.90498 80.409 4.36698 82.543 4.36698C84.678 4.36698 86.158 5.89098 86.158 8.08298C86.158 8.25698 86.129 8.53298 86.1 8.72198H80.728C80.859 9.69498 81.687 10.348 82.747 10.348C83.531 10.348 84.213 10.058 84.663 9.53498L85.752 10.595C85.099 11.437 83.966 11.887 82.659 11.887C80.452 11.887 78.913 10.333 78.913 8.12698Z",fill:"#EC0000"}),c.jsx("path",{className:"ams-logo__emblem",d:"M0 38.3642L3.6 34.9356L0 31.507L2.4 29.2213L6 32.6499L9.6 29.2213L12 31.507L8.4 34.9356L12 38.3642L9.6 40.6499L6 37.2213L2.4 40.6499L0 38.3642Z",fill:"#EC0000"}),c.jsx("path",{className:"ams-logo__emblem",d:"M0 9.79276L3.6 6.36419L0 2.93562L2.4 0.649902L6 4.07847L9.6 0.649902L12 2.93562L8.4 6.36419L12 9.79276L9.6 12.0785L6 8.6499L2.4 12.0785L0 9.79276Z",fill:"#EC0000"}),c.jsx("path",{className:"ams-logo__emblem",d:"M0 24.0785L3.6 20.6499L0 17.2213L2.4 14.9356L6 18.3642L9.6 14.9356L12 17.2213L8.4 20.6499L12 24.0785L9.6 26.3642L6 22.9356L2.4 26.3642L0 24.0785Z",fill:"#EC0000"})]}));e.displayName="LogoMuseumWeesp";try{e.displayName="LogoMuseumWeesp",e.__docgenInfo={description:"",displayName:"LogoMuseumWeesp",props:{}}}catch{}const Z=l.forwardRef((h,v)=>c.jsxs("svg",{className:"ams-logo","aria-hidden":"true",focusable:"false",ref:v,viewBox:"0 0 98 40",xmlns:"http://www.w3.org/2000/svg",...h,children:[c.jsx("path",{className:"ams-logo__emblem",fill:"#EC0000",d:"m0 37.648 3.527-3.527L0 30.593l2.352-2.351 3.527 3.527 3.528-3.527 2.351 2.351-3.527 3.528 3.527 3.527L9.407 40l-3.528-3.527L2.352 40 0 37.648ZM0 9.407l3.527-3.528L0 2.352 2.352 0l3.527 3.527L9.407 0l2.351 2.352-3.527 3.527 3.527 3.528-2.351 2.351-3.528-3.527-3.526 3.527L0 9.407ZM0 23.54l3.527-3.528L0 16.485l2.352-2.352 3.527 3.528 3.528-3.528 2.351 2.352-3.527 3.527 3.527 3.528-2.351 2.351-3.528-3.527-3.527 3.527L0 23.54Z"}),c.jsx("path",{className:"ams-logo__text-primary",fill:"#EC0000",d:"M20.937 15.334h2.17l3.76 9.4h-2.011l-.78-2.068h-4.18l-.782 2.068h-1.937l3.76-9.4Zm-.477 5.77h3.037l-1.504-3.962h-.03l-1.503 3.963ZM28.052 17.59h1.678v.969h.03c.36-.737.997-1.143 1.822-1.143.925 0 1.62.405 2.054 1.215.434-.781 1.228-1.215 2.24-1.215 1.766 0 2.618.983 2.618 2.994v4.324h-1.793v-4.02c0-1.17-.404-1.735-1.244-1.735s-1.287.622-1.287 1.793v3.962h-1.794v-4.02c0-1.186-.39-1.735-1.243-1.735-.854 0-1.288.636-1.288 1.793v3.962h-1.793V17.59ZM41.791 21.74c-.969-.288-1.91-.81-1.91-2.111 0-1.302 1.1-2.213 2.734-2.213 1.1 0 1.952.39 2.43 1.114l-1.027 1.026c-.362-.448-.853-.694-1.388-.694-.608 0-.983.276-.983.71 0 .578.608.679 1.49.954.968.29 1.909.81 1.909 2.112 0 1.301-1.157 2.27-2.863 2.27-1.114 0-2.01-.39-2.532-1.127l1.027-1.027c.39.464.911.71 1.49.71.693 0 1.113-.29 1.113-.767 0-.579-.608-.68-1.49-.955v-.001ZM46.94 22.175V19.08h-1.23v-1.49h.652c.592 0 .824-.232.824-.824v-1.114h1.533v1.938h1.736v1.49h-1.736v3.095c0 .693.361 1.085 1.027 1.085.202 0 .448-.03.592-.073v1.504a4.362 4.362 0 0 1-.94.101c-1.62 0-2.46-.897-2.46-2.617h.002ZM51.337 21.162c0-2.213 1.49-3.746 3.615-3.746 2.126 0 3.602 1.52 3.602 3.703 0 .174-.03.448-.058.636h-5.351c.13.969.955 1.62 2.01 1.62.781 0 1.46-.29 1.91-.81l1.084 1.056c-.651.838-1.779 1.287-3.08 1.287-2.2 0-3.731-1.547-3.731-3.746h-.002Zm1.808-.723h3.601c-.115-.94-.838-1.577-1.808-1.577-.97 0-1.692.637-1.793 1.577ZM60.042 17.59h1.692v1.186h.03c.346-.81.983-1.244 1.822-1.244.218 0 .521.03.636.072v1.706a3.906 3.906 0 0 0-.882-.1c-.91 0-1.504.693-1.504 1.764v3.76h-1.793V17.59ZM64.729 21.192c0-2.213 1.46-3.775 3.529-3.775.954 0 1.735.42 2.227 1.187h.029V14.25h1.793v10.486h-1.692v-1.114h-.03c-.462.81-1.33 1.288-2.327 1.288-2.069 0-3.529-1.548-3.529-3.717v-.002Zm5.785-.03c0-1.287-.796-2.14-1.967-2.14s-1.981.868-1.981 2.14c0 1.273.796 2.14 1.98 2.14 1.186 0 1.968-.853 1.968-2.14ZM73.68 22.695c0-1.374 1.143-2.198 3.052-2.212l1.388-.015v-.231c0-.838-.535-1.272-1.504-1.272-.636 0-1.2.245-1.59.693l-1.084-1.056c.622-.766 1.62-1.186 2.849-1.186 1.908 0 3.124 1.042 3.124 2.704v2.835c0 .26.115.377.404.377h.13v1.402h-.838c-.68 0-1.143-.318-1.287-.838h-.03c-.448.651-1.186 1.012-2.082 1.012-1.504 0-2.53-.897-2.53-2.213h-.002Zm4.44-.622v-.404l-1.185.014c-.94.014-1.446.347-1.446.969 0 .55.434.94 1.042.94.94 0 1.59-.621 1.59-1.518ZM81.851 17.59h1.678v.969h.03c.362-.737.998-1.143 1.822-1.143.925 0 1.62.405 2.054 1.215.434-.781 1.229-1.215 2.241-1.215 1.765 0 2.618.983 2.618 2.994v4.324H90.5v-4.02c0-1.17-.405-1.735-1.245-1.735-.84 0-1.287.622-1.287 1.793v3.962h-1.793v-4.02c0-1.186-.39-1.735-1.244-1.735s-1.288.636-1.288 1.793v3.962h-1.793V17.59ZM17.575 5.857c0-2.85 1.996-4.86 4.817-4.86 1.432 0 2.632.463 3.485 1.389l-1.244 1.186c-.535-.593-1.302-.94-2.213-.94-1.706 0-2.893 1.33-2.893 3.225 0 1.894 1.157 3.283 2.821 3.283 1.52 0 2.574-.868 2.574-2.126v-.246h-2.27V5.191h4.18v1.46c0 2.402-1.867 4.094-4.542 4.094s-4.715-2.025-4.715-4.888ZM28.047 7c0-2.213 1.49-3.747 3.616-3.747 2.126 0 3.601 1.52 3.601 3.703 0 .174-.03.448-.057.636h-5.351c.13.97.954 1.62 2.01 1.62.78 0 1.46-.289 1.91-.81l1.085 1.056c-.651.839-1.779 1.288-3.08 1.288-2.2 0-3.732-1.548-3.732-3.746h-.002Zm1.809-.724h3.601c-.115-.94-.838-1.576-1.808-1.576-.97 0-1.692.636-1.793 1.576ZM36.753 3.426h1.678v.97h.03c.361-.738.997-1.144 1.822-1.144.925 0 1.62.405 2.054 1.215.434-.78 1.23-1.215 2.24-1.215 1.766 0 2.618.983 2.618 2.994v4.324h-1.793V6.55c0-1.17-.404-1.735-1.244-1.735s-1.287.622-1.287 1.793v3.962h-1.794V6.55c0-1.186-.39-1.735-1.243-1.735-.854 0-1.288.636-1.288 1.793v3.962h-1.793V3.426ZM48.612 7c0-2.213 1.49-3.747 3.616-3.747 2.126 0 3.601 1.52 3.601 3.703 0 .174-.03.448-.057.636H50.42c.131.97.955 1.62 2.011 1.62.78 0 1.46-.289 1.91-.81l1.084 1.056c-.652.839-1.78 1.288-3.08 1.288-2.2 0-3.732-1.548-3.732-3.746Zm1.808-.724h3.602c-.115-.94-.838-1.576-1.807-1.576s-1.692.636-1.793 1.576h-.002ZM56.87 7c0-2.213 1.49-3.747 3.616-3.747 2.125 0 3.601 1.52 3.601 3.703 0 .174-.03.448-.058.636h-5.35c.13.97.954 1.62 2.01 1.62.78 0 1.46-.289 1.91-.81l1.084 1.056c-.652.839-1.78 1.288-3.081 1.288-2.199 0-3.731-1.548-3.731-3.746h-.001Zm1.808-.724h3.602c-.115-.94-.839-1.576-1.809-1.576s-1.692.636-1.793 1.576ZM65.577 3.426h1.692v.97h.03c.332-.71 1.055-1.144 1.893-1.144 1.794 0 2.719 1.027 2.719 2.994v4.324h-1.793V6.594c0-1.215-.434-1.78-1.345-1.78-.912 0-1.403.637-1.403 1.823v3.935h-1.793V3.426ZM74.21 8.012V4.917h-1.23v-1.49h.652c.593 0 .825-.231.825-.824V1.49h1.533v1.937h1.735v1.49H75.99v3.095c0 .694.36 1.085 1.026 1.085.203 0 .448-.03.593-.073v1.504a4.356 4.356 0 0 1-.94.101c-1.621 0-2.46-.897-2.46-2.617l.002.001ZM78.607 7c0-2.213 1.49-3.747 3.616-3.747 2.126 0 3.601 1.52 3.601 3.703 0 .174-.03.448-.057.636h-5.352c.131.97.955 1.62 2.011 1.62.78 0 1.46-.289 1.91-.81l1.084 1.056c-.652.839-1.78 1.288-3.08 1.288-2.2 0-3.732-1.548-3.732-3.746Zm1.808-.724h3.602c-.115-.94-.838-1.576-1.808-1.576-.97 0-1.692.636-1.794 1.576Z"}),c.jsx("path",{className:"ams-logo__text-secondary",fill:"#000",d:"m17.335 37.353 1.302-1.084a2.07 2.07 0 0 0 1.779.983c.868 0 1.46-.463 1.46-1.143 0-.766-.636-1.042-1.866-1.49-1.143-.42-2.343-1.012-2.343-2.747 0-1.62 1.316-2.734 3.24-2.734 1.3 0 2.327.52 2.906 1.446L22.51 31.67c-.39-.578-.954-.897-1.62-.897-.78 0-1.302.42-1.302 1.042 0 .767.637 1.042 1.866 1.49 1.143.42 2.344 1.012 2.344 2.748 0 1.735-1.375 2.834-3.4 2.834-1.374 0-2.458-.549-3.066-1.533h.002ZM25.738 36.153v-3.095h-1.23v-1.49h.65c.593 0 .824-.231.824-.824v-1.113h1.534v1.937h1.735v1.49h-1.735v3.095c0 .693.362 1.085 1.026 1.085.202 0 .448-.03.593-.073v1.504a4.37 4.37 0 0 1-.941.101c-1.62 0-2.459-.897-2.459-2.617h.003ZM30.134 36.674c0-1.375 1.143-2.2 3.051-2.213l1.389-.014v-.232c0-.838-.535-1.272-1.504-1.272-.636 0-1.2.245-1.59.694l-1.085-1.056c.622-.767 1.62-1.187 2.85-1.187 1.909 0 3.123 1.042 3.123 2.705v2.835c0 .26.115.376.405.376h.13v1.402h-.838c-.68 0-1.143-.318-1.288-.838h-.029c-.448.651-1.186 1.012-2.082 1.012-1.504 0-2.53-.897-2.53-2.212h-.002Zm4.44-.622v-.405l-1.186.014c-.941.014-1.447.347-1.447.97 0 .548.434.94 1.042.94.94 0 1.591-.622 1.591-1.52ZM37.813 35.17c0-2.213 1.46-3.775 3.529-3.775.955 0 1.735.42 2.227 1.187h.03v-4.353h1.792v10.486H43.7V37.6h-.029c-.463.81-1.331 1.288-2.328 1.288-2.068 0-3.529-1.547-3.529-3.717v-.002Zm5.785-.03c0-1.287-.796-2.14-1.967-2.14-1.17 0-1.981.868-1.981 2.14 0 1.273.796 2.14 1.981 2.14s1.967-.853 1.967-2.14ZM48.763 35.719c-.97-.29-1.91-.81-1.91-2.112 0-1.301 1.1-2.213 2.734-2.213 1.1 0 1.952.39 2.429 1.114l-1.026 1.026c-.363-.448-.854-.694-1.39-.694-.607 0-.982.276-.982.71 0 .578.608.68 1.49.954.969.29 1.91.81 1.91 2.112s-1.158 2.27-2.864 2.27c-1.113 0-2.01-.39-2.532-1.127l1.027-1.027c.39.464.911.71 1.49.71.694 0 1.113-.29 1.113-.767 0-.579-.608-.68-1.49-.955v-.001ZM52.97 36.674c0-1.375 1.144-2.2 3.052-2.213l1.389-.014v-.232c0-.838-.535-1.272-1.504-1.272-.636 0-1.2.245-1.591.694l-1.084-1.056c.622-.767 1.62-1.187 2.849-1.187 1.91 0 3.124 1.042 3.124 2.705v2.835c0 .26.115.376.404.376h.13v1.402h-.837c-.68 0-1.143-.318-1.288-.838h-.03c-.447.651-1.186 1.012-2.082 1.012-1.504 0-2.53-.897-2.53-2.212h-.001Zm4.44-.622v-.405l-1.186.014c-.94.014-1.446.347-1.446.97 0 .548.434.94 1.042.94.94 0 1.59-.622 1.59-1.52ZM61.142 31.568h1.691v1.187h.03c.347-.81.983-1.244 1.822-1.244.218 0 .521.029.636.073v1.706a3.907 3.907 0 0 0-.881-.102c-.912 0-1.504.694-1.504 1.765v3.76h-1.793V31.57h-.002ZM65.827 35.14c0-2.227 1.49-3.746 3.689-3.746 1.085 0 2.038.405 2.646 1.128l-1.2 1.127c-.362-.404-.868-.622-1.446-.622-1.1 0-1.851.868-1.851 2.112 0 1.244.752 2.112 1.85 2.112.58 0 1.086-.218 1.476-.636l1.187 1.127c-.636.738-1.577 1.143-2.647 1.143-2.199 0-3.703-1.519-3.703-3.746v.001ZM73.492 28.228h1.793v4.15h.03c.42-.636 1.041-.983 1.793-.983 1.793 0 2.718 1.027 2.718 2.994v4.325h-1.793v-3.978c0-1.215-.434-1.78-1.345-1.78s-1.403.637-1.403 1.823v3.935h-1.793V28.228ZM82.56 30.657c-.622 0-1.07-.434-1.07-1.042 0-.608.448-1.042 1.07-1.042.622 0 1.07.434 1.07 1.042 0 .608-.448 1.042-1.07 1.042Zm-.897.911h1.793v7.144h-1.793v-7.144ZM84.947 35.14c0-2.212 1.49-3.746 3.616-3.746 2.126 0 3.601 1.52 3.601 3.703 0 .174-.03.448-.058.636h-5.35c.13.969.954 1.62 2.01 1.62.78 0 1.46-.289 1.91-.81L91.76 37.6c-.652.838-1.78 1.288-3.081 1.288-2.199 0-3.73-1.548-3.73-3.747h-.002Zm1.808-.723h3.602c-.115-.94-.838-1.577-1.808-1.577-.97 0-1.693.637-1.794 1.577ZM92.886 33.058v-1.49h1.215v-.925c0-1.634.969-2.59 2.632-2.59.203 0 .506.03.666.058v1.548a2.82 2.82 0 0 0-.622-.072c-.565 0-.882.376-.882 1.056v.925h1.736v1.49h-1.736v5.654h-1.793v-5.654h-1.216Z"})]}));Z.displayName="LogoStadsarchief";try{Z.displayName="LogoStadsarchief",Z.__docgenInfo={description:"",displayName:"LogoStadsarchief",props:{}}}catch{}const C=l.forwardRef((h,v)=>c.jsxs("svg",{className:"ams-logo","aria-hidden":"true",focusable:"false",ref:v,viewBox:"0 0 159 42",xmlns:"http://www.w3.org/2000/svg",...h,children:[c.jsx("path",{className:"ams-logo__emblem",fill:"#EC0000",d:"m0 37.65 3.53-3.53L0 30.59l2.35-2.35 3.53 3.53 3.53-3.53 2.35 2.35-3.53 3.53 3.53 3.53L9.41 40l-3.53-3.53L2.35 40 0 37.65ZM0 9.41l3.53-3.53L0 2.35 2.35 0l3.53 3.53L9.41 0l2.35 2.35-3.53 3.53 3.53 3.53-2.35 2.35-3.53-3.53-3.53 3.53L0 9.41ZM0 23.54l3.53-3.53L0 16.48l2.35-2.35 3.53 3.53 3.53-3.53 2.35 2.35-3.53 3.53 3.53 3.53-2.35 2.35-3.53-3.53-3.53 3.53L0 23.54Z"}),c.jsx("path",{className:"ams-logo__text-secondary",fill:"#000",d:"m17.34 37.35 1.3-1.08c.4.64 1.06.98 1.78.98.87 0 1.46-.46 1.46-1.14 0-.77-.64-1.04-1.87-1.49-1.14-.42-2.34-1.01-2.34-2.75 0-1.62 1.32-2.73 3.24-2.73 1.3 0 2.33.52 2.91 1.45l-1.3 1.08c-.39-.58-.95-.9-1.62-.9-.78 0-1.3.42-1.3 1.04 0 .77.64 1.04 1.87 1.49 1.14.42 2.34 1.01 2.34 2.75s-1.37 2.83-3.4 2.83c-1.37 0-2.46-.55-3.07-1.53ZM25.74 36.15v-3.1h-1.23v-1.49h.65c.59 0 .82-.23.82-.82v-1.11h1.53v1.94h1.74v1.49h-1.74v3.1c0 .69.36 1.08 1.03 1.08.2 0 .45-.03.59-.07v1.5c-.22.06-.62.1-.94.1-1.62 0-2.46-.9-2.46-2.62h.01ZM30.13 36.67c0-1.37 1.14-2.2 3.05-2.21h1.39v-.25c0-.84-.54-1.27-1.5-1.27-.64 0-1.2.25-1.59.69l-1.08-1.06c.62-.77 1.62-1.19 2.85-1.19 1.91 0 3.12 1.04 3.12 2.7v2.83c0 .26.12.38.4.38h.13v1.4h-.84c-.68 0-1.14-.32-1.29-.84h-.03c-.45.65-1.19 1.01-2.08 1.01-1.5 0-2.53-.9-2.53-2.21v.02Zm4.44-.62v-.4h-1.19c-.94.03-1.45.36-1.45.98 0 .55.43.94 1.04.94.94 0 1.59-.62 1.59-1.52h.01ZM37.81 35.17c0-2.21 1.46-3.77 3.53-3.77.95 0 1.74.42 2.23 1.19h.03v-4.35h1.79v10.49H43.7v-1.11h-.03c-.46.81-1.33 1.29-2.33 1.29-2.07 0-3.53-1.55-3.53-3.72v-.02Zm5.79-.03c0-1.29-.8-2.14-1.97-2.14s-1.98.87-1.98 2.14.8 2.14 1.98 2.14 1.97-.85 1.97-2.14ZM48.76 35.72c-.97-.29-1.91-.81-1.91-2.11 0-1.3 1.1-2.21 2.73-2.21 1.1 0 1.95.39 2.43 1.11l-1.03 1.03c-.36-.45-.85-.69-1.39-.69-.61 0-.98.27-.98.71 0 .58.61.68 1.49.95.97.29 1.91.81 1.91 2.11 0 1.3-1.16 2.27-2.86 2.27-1.11 0-2.01-.39-2.53-1.13l1.03-1.03c.39.46.91.71 1.49.71.69 0 1.11-.29 1.11-.77 0-.58-.61-.68-1.49-.95ZM55.18 37.6h-.03v1.11h-1.71V28.22h1.79v4.35h.03c.52-.77 1.3-1.19 2.26-1.19 2.04 0 3.5 1.56 3.5 3.75s-1.46 3.75-3.5 3.75c-1 0-1.82-.46-2.34-1.29v.01Zm4.01-2.46c0-1.29-.8-2.14-1.97-2.14s-1.98.87-1.98 2.14.81 2.14 1.98 2.14 1.97-.85 1.97-2.14ZM61.95 36.67c0-1.37 1.14-2.2 3.05-2.21h1.39v-.25c0-.84-.54-1.27-1.5-1.27-.64 0-1.2.25-1.59.69l-1.08-1.06c.62-.77 1.62-1.19 2.85-1.19 1.91 0 3.12 1.04 3.12 2.7v2.83c0 .26.12.38.4.38h.13v1.4h-.84c-.68 0-1.14-.32-1.29-.84h-.03c-.45.65-1.19 1.01-2.08 1.01-1.5 0-2.53-.9-2.53-2.21v.02Zm4.44-.62v-.4H65.2c-.94.03-1.45.36-1.45.98 0 .55.43.94 1.04.94.94 0 1.59-.62 1.59-1.52h.01ZM70.12 31.57h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79v-3.98c0-1.21-.43-1.78-1.35-1.78-.92 0-1.4.64-1.4 1.82v3.93h-1.79v-7.14.01ZM80.09 38.71H78.3V28.22h1.79v6.57h.03l2.66-3.23h2.17l-2.76 3.17 2.89 3.98h-2.17l-1.98-2.81-.84.97v1.84ZM88.97 31.57h1.95l1.66 5.15h.03l1.71-5.15h1.91l-2.69 7.14h-1.92l-2.65-7.14ZM96.6 36.67c0-1.37 1.14-2.2 3.05-2.21h1.39v-.25c0-.84-.54-1.27-1.5-1.27-.64 0-1.2.25-1.59.69l-1.08-1.06c.62-.77 1.62-1.19 2.85-1.19 1.91 0 3.12 1.04 3.12 2.7v2.83c0 .26.12.38.4.38h.13v1.4h-.84c-.68 0-1.14-.32-1.29-.84h-.03c-.45.65-1.19 1.01-2.08 1.01-1.5 0-2.53-.9-2.53-2.21v.02Zm4.44-.62v-.4h-1.19c-.94.03-1.45.36-1.45.98 0 .55.43.94 1.04.94.94 0 1.59-.62 1.59-1.52h.01ZM104.77 31.57h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79v-3.98c0-1.21-.43-1.78-1.34-1.78-.91 0-1.4.64-1.4 1.82v3.93h-1.79v-7.14l-.01.01ZM116.65 29.31h1.91v7.78h3.49v1.62h-5.39v-9.4h-.01ZM122.87 35.14c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM131.57 31.57h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79v-3.98c0-1.21-.43-1.78-1.35-1.78-.92 0-1.4.64-1.4 1.82v3.93h-1.79v-7.14.01ZM140.64 30.66c-.62 0-1.07-.43-1.07-1.04 0-.61.45-1.04 1.07-1.04.62 0 1.07.43 1.07 1.04 0 .61-.45 1.04-1.07 1.04Zm-.9.91h1.79v7.14h-1.79v-7.14ZM143.47 31.57h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79v-3.98c0-1.21-.43-1.78-1.35-1.78-.92 0-1.4.64-1.4 1.82v3.93h-1.79v-7.14.01ZM151.54 40.42l1.16-1.13c.39.45 1.1.72 1.87.72 1.3 0 2.02-.59 2.02-1.63v-1.1h-.03c-.4.75-1.16 1.17-2.1 1.17-2.01 0-3.34-1.42-3.34-3.53s1.37-3.51 3.34-3.51c1.01 0 1.81.45 2.2 1.21h.03v-1.06h1.69v6.88c0 1.91-1.46 3.11-3.79 3.11-1.33 0-2.43-.42-3.05-1.14v.01Zm5.06-5.5c0-1.19-.74-2.01-1.82-2.01s-1.82.82-1.82 2.01.75 2 1.82 2 1.82-.82 1.82-2Z"}),c.jsx("path",{className:"ams-logo__text-primary",fill:"#EC0000",d:"M20.94 15.33h2.17l3.76 9.4h-2.01l-.78-2.07H19.9l-.78 2.07h-1.94l3.76-9.4Zm-.48 5.77h3.04L22 17.14h-.03l-1.5 3.96h-.01ZM28.05 17.59h1.68v.97h.03c.36-.74 1-1.14 1.82-1.14.93 0 1.62.4 2.05 1.21.43-.78 1.23-1.21 2.24-1.21 1.76 0 2.62.98 2.62 2.99v4.32H36.7v-4.02c0-1.17-.4-1.74-1.24-1.74s-1.29.62-1.29 1.79v3.96h-1.79V20.7c0-1.19-.39-1.74-1.24-1.74s-1.29.64-1.29 1.79v3.96h-1.79v-7.14l-.01.02ZM41.79 21.74c-.97-.29-1.91-.81-1.91-2.11 0-1.3 1.1-2.21 2.73-2.21 1.1 0 1.95.39 2.43 1.11l-1.03 1.03c-.36-.45-.85-.69-1.39-.69-.61 0-.98.27-.98.71 0 .58.61.68 1.49.95.97.29 1.91.81 1.91 2.11 0 1.3-1.16 2.27-2.86 2.27-1.11 0-2.01-.39-2.53-1.13l1.03-1.03c.39.46.91.71 1.49.71.69 0 1.11-.29 1.11-.77 0-.58-.61-.68-1.49-.95ZM46.94 22.17v-3.09h-1.23v-1.49h.65c.59 0 .82-.23.82-.82v-1.11h1.53v1.94h1.74v1.49h-1.74v3.09c0 .69.36 1.08 1.03 1.08.2 0 .45-.03.59-.07v1.5c-.22.06-.62.1-.94.1-1.62 0-2.46-.9-2.46-2.62h.01ZM51.34 21.16c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM60.04 17.59h1.69v1.19h.03c.35-.81.98-1.24 1.82-1.24.22 0 .52.03.64.07v1.71c-.2-.06-.59-.1-.88-.1-.91 0-1.5.69-1.5 1.76v3.76h-1.79V17.6l-.01-.01ZM64.73 21.19c0-2.21 1.46-3.77 3.53-3.77.95 0 1.74.42 2.23 1.19h.03v-4.35h1.79v10.49h-1.69v-1.11h-.03c-.46.81-1.33 1.29-2.33 1.29-2.07 0-3.53-1.55-3.53-3.72v-.02Zm5.79-.03c0-1.29-.8-2.14-1.97-2.14s-1.98.87-1.98 2.14.8 2.14 1.98 2.14 1.97-.85 1.97-2.14ZM73.68 22.7c0-1.37 1.14-2.2 3.05-2.21h1.39v-.25c0-.84-.54-1.27-1.5-1.27-.64 0-1.2.25-1.59.69l-1.08-1.06c.62-.77 1.62-1.19 2.85-1.19 1.91 0 3.12 1.04 3.12 2.7v2.83c0 .26.12.38.4.38h.13v1.4h-.84c-.68 0-1.14-.32-1.29-.84h-.03c-.45.65-1.19 1.01-2.08 1.01-1.5 0-2.53-.9-2.53-2.21v.02Zm4.44-.62v-.4h-1.19c-.94.03-1.45.36-1.45.98 0 .55.43.94 1.04.94.94 0 1.59-.62 1.59-1.52h.01ZM81.85 17.59h1.68v.97h.03c.36-.74 1-1.14 1.82-1.14.93 0 1.62.4 2.05 1.21.43-.78 1.23-1.21 2.24-1.21 1.76 0 2.62.98 2.62 2.99v4.32H90.5v-4.02c0-1.17-.4-1.74-1.24-1.74s-1.29.62-1.29 1.79v3.96h-1.79V20.7c0-1.19-.39-1.74-1.24-1.74s-1.29.64-1.29 1.79v3.96h-1.79v-7.14l-.01.02ZM17.58 5.86c0-2.85 2-4.86 4.82-4.86 1.43 0 2.63.46 3.49 1.39l-1.24 1.19c-.54-.59-1.3-.94-2.21-.94-1.71 0-2.89 1.33-2.89 3.23s1.16 3.28 2.82 3.28c1.52 0 2.57-.87 2.57-2.13v-.25h-2.27V5.19h4.18v1.46c0 2.4-1.87 4.09-4.54 4.09S17.6 8.72 17.6 5.85l-.02.01ZM28.05 7c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM36.75 3.43h1.68v.97h.03c.36-.74 1-1.14 1.82-1.14.93 0 1.62.4 2.05 1.21.43-.78 1.23-1.21 2.24-1.21 1.76 0 2.62.98 2.62 2.99v4.32H45.4V6.55c0-1.17-.4-1.74-1.24-1.74s-1.29.62-1.29 1.79v3.96h-1.79V6.55c0-1.19-.39-1.74-1.24-1.74s-1.29.64-1.29 1.79v3.96h-1.79V3.43h-.01ZM48.61 7c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM56.87 7c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM65.58 3.43h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79V6.59c0-1.21-.43-1.78-1.34-1.78-.91 0-1.4.64-1.4 1.82v3.93h-1.79V3.43h-.01ZM74.21 8.01v-3.1h-1.23V3.42h.65c.59 0 .82-.23.82-.82V1.49h1.53v1.94h1.74v1.49h-1.74v3.1c0 .69.36 1.08 1.03 1.08.2 0 .45-.03.59-.07v1.5c-.22.06-.62.1-.94.1-1.62 0-2.46-.9-2.46-2.62h.01ZM78.61 7c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58Z"})]}));C.displayName="LogoStadsbankVanLening";try{C.displayName="LogoStadsbankVanLening",C.__docgenInfo={description:"",displayName:"LogoStadsbankVanLening",props:{}}}catch{}const o=l.forwardRef((h,v)=>c.jsxs("svg",{className:"ams-logo","aria-hidden":"true",focusable:"false",ref:v,viewBox:"0 0 145 43",xmlns:"http://www.w3.org/2000/svg",...h,children:[c.jsx("path",{className:"ams-logo__emblem",fill:"#EC0000",d:"m0 38.2 3.53-3.53L0 31.14l2.35-2.35 3.53 3.53 3.53-3.53 2.35 2.35-3.53 3.53 3.53 3.53-2.35 2.35-3.53-3.53-3.53 3.53L0 38.2ZM0 9.96l3.53-3.53L0 2.9 2.35.55l3.53 3.53L9.41.55l2.35 2.35-3.53 3.53 3.53 3.53-2.35 2.35-3.53-3.53-3.53 3.53L0 9.96ZM0 24.09l3.53-3.53L0 17.03l2.35-2.35 3.53 3.53 3.53-3.53 2.35 2.35-3.53 3.53 3.53 3.53-2.35 2.35-3.53-3.53-3.53 3.53L0 24.09Z"}),c.jsx("path",{className:"ams-logo__text-secondary",fill:"#000",d:"M17.13 29.86h2.07l2.39 7.22h.03l2.42-7.22h1.98l-3.36 9.4h-2.17l-3.36-9.4ZM26.5 34.55c0-2.85 2-4.86 4.82-4.86 1.43 0 2.63.46 3.49 1.39l-1.24 1.19c-.54-.59-1.3-.94-2.21-.94-1.71 0-2.89 1.33-2.89 3.23s1.16 3.28 2.82 3.28c1.52 0 2.57-.87 2.57-2.13v-.25h-2.27v-1.58h4.18v1.46c0 2.4-1.87 4.09-4.54 4.09s-4.71-2.02-4.71-4.89l-.02.01ZM40.43 29.86h2.17l3.76 9.4h-2.01l-.78-2.07h-4.18l-.78 2.07h-1.94l3.76-9.4Zm-.48 5.77h3.04l-1.5-3.96h-.03l-1.5 3.96h-.01ZM50.38 29.86h2.07l2.39 7.22h.03l2.42-7.22h1.98l-3.36 9.4h-2.17l-3.36-9.4ZM59.42 35.69c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM68.13 32.12h1.69v1.19h.03c.35-.81.98-1.24 1.82-1.24.22 0 .52.03.64.07v1.71c-.2-.06-.59-.1-.88-.1-.91 0-1.5.69-1.5 1.76v3.76h-1.79v-7.14l-.01-.01ZM73.01 38.06l3.4-4.45h-3.3v-1.49h5.73v1.2l-3.4 4.45h3.5v1.49h-5.93v-1.2ZM79.88 35.69c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM90.38 39.26h-1.79V28.77h1.79v6.57h.03l2.66-3.23h2.17l-2.76 3.17 2.89 3.98H93.2l-1.98-2.81-.84.97v1.84ZM95.68 35.69c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM104.38 32.12h1.69v1.19h.03c.35-.81.98-1.24 1.82-1.24.22 0 .52.03.64.07v1.71c-.2-.06-.59-.1-.88-.1-.91 0-1.5.69-1.5 1.76v3.76h-1.79v-7.14l-.01-.01ZM110.65 31.21c-.62 0-1.07-.43-1.07-1.04 0-.61.45-1.04 1.07-1.04.62 0 1.07.43 1.07 1.04 0 .61-.45 1.04-1.07 1.04Zm-.9.91h1.79v7.14h-1.79v-7.14ZM113.48 32.12h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79v-3.98c0-1.21-.43-1.78-1.35-1.78-.92 0-1.4.64-1.4 1.82v3.93h-1.79v-7.14.01ZM121.55 40.97l1.16-1.13c.39.45 1.1.72 1.87.72 1.3 0 2.02-.59 2.02-1.63v-1.1h-.03c-.4.75-1.16 1.17-2.1 1.17-2.01 0-3.34-1.42-3.34-3.53s1.37-3.51 3.34-3.51c1.01 0 1.81.45 2.2 1.21h.03v-1.06h1.69v6.88c0 1.91-1.46 3.11-3.79 3.11-1.33 0-2.43-.42-3.05-1.14v.01Zm5.06-5.5c0-1.19-.74-2.01-1.82-2.01s-1.82.82-1.82 2.01.75 2 1.82 2 1.82-.82 1.82-2ZM129.88 35.69c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM138.59 32.12h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79v-3.98c0-1.21-.43-1.78-1.35-1.78-.92 0-1.4.64-1.4 1.82v3.93h-1.79v-7.14.01Z"}),c.jsx("path",{className:"ams-logo__text-primary",fill:"#EC0000",d:"M20.94 15.88h2.17l3.76 9.4h-2.01l-.78-2.07H19.9l-.78 2.07h-1.94l3.76-9.4Zm-.48 5.77h3.04L22 17.69h-.03l-1.5 3.96h-.01ZM28.05 18.14h1.68v.97h.03c.36-.74 1-1.14 1.82-1.14.93 0 1.62.4 2.05 1.21.43-.78 1.23-1.21 2.24-1.21 1.76 0 2.62.98 2.62 2.99v4.32H36.7v-4.02c0-1.17-.4-1.74-1.24-1.74s-1.29.62-1.29 1.79v3.96h-1.79v-4.02c0-1.19-.39-1.74-1.24-1.74s-1.29.64-1.29 1.79v3.96h-1.79v-7.14l-.01.02ZM41.79 22.29c-.97-.29-1.91-.81-1.91-2.11 0-1.3 1.1-2.21 2.73-2.21 1.1 0 1.95.39 2.43 1.11l-1.03 1.03c-.36-.45-.85-.69-1.39-.69-.61 0-.98.27-.98.71 0 .58.61.68 1.49.95.97.29 1.91.81 1.91 2.11 0 1.3-1.16 2.27-2.86 2.27-1.11 0-2.01-.39-2.53-1.13l1.03-1.03c.39.46.91.71 1.49.71.69 0 1.11-.29 1.11-.77 0-.58-.61-.68-1.49-.95ZM46.94 22.72v-3.09h-1.23v-1.49h.65c.59 0 .82-.23.82-.82v-1.11h1.53v1.94h1.74v1.49h-1.74v3.09c0 .69.36 1.08 1.03 1.08.2 0 .45-.03.59-.07v1.5c-.22.06-.62.1-.94.1-1.62 0-2.46-.9-2.46-2.62h.01ZM51.34 21.71c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM60.04 18.14h1.69v1.19h.03c.35-.81.98-1.24 1.82-1.24.22 0 .52.03.64.07v1.71c-.2-.06-.59-.1-.88-.1-.91 0-1.5.69-1.5 1.76v3.76h-1.79v-7.14l-.01-.01ZM64.73 21.74c0-2.21 1.46-3.77 3.53-3.77.95 0 1.74.42 2.23 1.19h.03v-4.35h1.79V25.3h-1.69v-1.11h-.03c-.46.81-1.33 1.29-2.33 1.29-2.07 0-3.53-1.55-3.53-3.72v-.02Zm5.79-.03c0-1.29-.8-2.14-1.97-2.14s-1.98.87-1.98 2.14.8 2.14 1.98 2.14 1.97-.85 1.97-2.14ZM73.68 23.25c0-1.37 1.14-2.2 3.05-2.21h1.39v-.25c0-.84-.54-1.27-1.5-1.27-.64 0-1.2.25-1.59.69l-1.08-1.06c.62-.77 1.62-1.19 2.85-1.19 1.91 0 3.12 1.04 3.12 2.7v2.83c0 .26.12.38.4.38h.13v1.4h-.84c-.68 0-1.14-.32-1.29-.84h-.03c-.45.65-1.19 1.01-2.08 1.01-1.5 0-2.53-.9-2.53-2.21v.02Zm4.44-.62v-.4h-1.19c-.94.03-1.45.36-1.45.98 0 .55.43.94 1.04.94.94 0 1.59-.62 1.59-1.52h.01ZM81.85 18.14h1.68v.97h.03c.36-.74 1-1.14 1.82-1.14.93 0 1.62.4 2.05 1.21.43-.78 1.23-1.21 2.24-1.21 1.76 0 2.62.98 2.62 2.99v4.32H90.5v-4.02c0-1.17-.4-1.74-1.24-1.74s-1.29.62-1.29 1.79v3.96h-1.79v-4.02c0-1.19-.39-1.74-1.24-1.74s-1.29.64-1.29 1.79v3.96h-1.79v-7.14l-.01.02ZM17.58 6.41c0-2.85 2-4.86 4.82-4.86 1.43 0 2.63.46 3.49 1.39l-1.24 1.19c-.54-.59-1.3-.94-2.21-.94-1.71 0-2.89 1.33-2.89 3.23s1.16 3.28 2.82 3.28c1.52 0 2.57-.87 2.57-2.13v-.25h-2.27V5.74h4.18V7.2c0 2.4-1.87 4.09-4.54 4.09S17.6 9.27 17.6 6.4l-.02.01ZM28.05 7.55c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM36.75 3.98h1.68v.97h.03c.36-.74 1-1.14 1.82-1.14.93 0 1.62.4 2.05 1.21.43-.78 1.23-1.21 2.24-1.21 1.76 0 2.62.98 2.62 2.99v4.32H45.4V7.1c0-1.17-.4-1.74-1.24-1.74s-1.29.62-1.29 1.79v3.96h-1.79V7.1c0-1.19-.39-1.74-1.24-1.74s-1.29.64-1.29 1.79v3.96h-1.79V3.98h-.01ZM48.61 7.55c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM56.87 7.55c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58ZM65.58 3.98h1.69v.97h.03c.33-.71 1.06-1.14 1.89-1.14 1.79 0 2.72 1.03 2.72 2.99v4.32h-1.79V7.14c0-1.21-.43-1.78-1.34-1.78-.91 0-1.4.64-1.4 1.82v3.93h-1.79V3.98h-.01ZM74.21 8.56V5.47h-1.23V3.98h.65c.59 0 .82-.23.82-.82V2.04h1.53v1.94h1.74v1.49h-1.74v3.09c0 .69.36 1.08 1.03 1.08.2 0 .45-.03.59-.07v1.5c-.22.06-.62.1-.94.1-1.62 0-2.46-.9-2.46-2.62l.01.01ZM78.61 7.55c0-2.21 1.49-3.75 3.62-3.75s3.6 1.52 3.6 3.7c0 .17-.03.45-.06.64h-5.35c.13.97.95 1.62 2.01 1.62.78 0 1.46-.29 1.91-.81l1.08 1.06c-.65.84-1.78 1.29-3.08 1.29-2.2 0-3.73-1.55-3.73-3.75Zm1.81-.72h3.6c-.12-.94-.84-1.58-1.81-1.58-.97 0-1.69.64-1.79 1.58Z"})]}));o.displayName="LogoVgaVerzekeringen";try{o.displayName="LogoVgaVerzekeringen",o.__docgenInfo={description:"",displayName:"LogoVgaVerzekeringen",props:{}}}catch{}const V={amsterdam:s,"ggd-amsterdam":a,"museum-weesp":e,stadsarchief:Z,"stadsbank-van-lening":C,"vga-verzekeringen":o},m=l.forwardRef(({brand:h="amsterdam",className:v,...M},r)=>{const L=V[h];return c.jsx(L,{...M,ref:r,className:t("ams-logo",v)})});m.displayName="Logo";try{m.displayName="Logo",m.__docgenInfo={description:"",displayName:"Logo",props:{brand:{defaultValue:{value:"amsterdam"},description:"The name of the brand for which to display the logo.",name:"brand",required:!1,type:{name:"enum",value:[{value:'"amsterdam"'},{value:'"ggd-amsterdam"'},{value:'"museum-weesp"'},{value:'"stadsarchief"'},{value:'"stadsbank-van-lening"'},{value:'"vga-verzekeringen"'}]}}}}}catch{}export{m as L}; diff --git a/demo-DES-969-file-list-component/assets/Logo.docs-DcnEY4cC.js b/demo-DES-969-file-list-component/assets/Logo.docs-CvNuBnCq.js similarity index 76% rename from demo-DES-969-file-list-component/assets/Logo.docs-DcnEY4cC.js rename to demo-DES-969-file-list-component/assets/Logo.docs-CvNuBnCq.js index f01a65ca20..74da0db7a2 100644 --- a/demo-DES-969-file-list-component/assets/Logo.docs-DcnEY4cC.js +++ b/demo-DES-969-file-list-component/assets/Logo.docs-CvNuBnCq.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as i,aq as r,ar as h,as as l,at as o}from"./index-CsbqyhR0.js";import{L as d,G as m,S as p,a as g,V as c,M as u}from"./Logo.stories-1D2Iq0g9.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Logo-BnxYOw7m.js";import"./clsx-B-dksMZM.js";const f=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as t}from"./index-3rgQkYFR.js";import{ae as i,aq as r,ar as h,as as l,at as o}from"./index-DEYBsmB_.js";import{L as d,G as m,S as p,a as g,V as c,M as u}from"./Logo.stories-LgbwSI1-.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./Logo-BazI2ckd.js";import"./clsx-B-dksMZM.js";const f=` # Logo @@ -56,4 +56,4 @@ This also applies to sub-brand logos. `,e.jsx(n.h3,{id:"vga-verzekeringen",children:"VGA Verzekeringen"}),` `,e.jsx(o,{of:c}),` `,e.jsx(n.h3,{id:"museum-weesp",children:"Museum Weesp"}),` -`,e.jsx(o,{of:u})]})}function E(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(a,{...s})}):a(s)}export{E as default}; +`,e.jsx(o,{of:u})]})}function L(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(a,{...s})}):a(s)}export{L as default}; diff --git a/demo-DES-969-file-list-component/assets/Logo.stories-1D2Iq0g9.js b/demo-DES-969-file-list-component/assets/Logo.stories-LgbwSI1-.js similarity index 97% rename from demo-DES-969-file-list-component/assets/Logo.stories-1D2Iq0g9.js rename to demo-DES-969-file-list-component/assets/Logo.stories-LgbwSI1-.js index dbdead8799..dcf5cc2554 100644 --- a/demo-DES-969-file-list-component/assets/Logo.stories-1D2Iq0g9.js +++ b/demo-DES-969-file-list-component/assets/Logo.stories-LgbwSI1-.js @@ -1,4 +1,4 @@ -import{L as M}from"./Logo-BnxYOw7m.js";/** +import{L as M}from"./Logo-BazI2ckd.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const h={title:"Components/Media/Logo",component:M},e={},a={args:{brand:"ggd-amsterdam"}},r={args:{brand:"stadsarchief"}},s={args:{brand:"stadsbank-van-lening"}},n={args:{brand:"vga-verzekeringen"}},o={args:{brand:"museum-weesp"}};var t,c,d;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(d=(c=e.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};var m,g,p;a.parameters={...a.parameters,docs:{...(m=a.parameters)==null?void 0:m.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/Margin.docs-D4meO8T5.js b/demo-DES-969-file-list-component/assets/Margin.docs-CVfbiH3V.js similarity index 73% rename from demo-DES-969-file-list-component/assets/Margin.docs-D4meO8T5.js rename to demo-DES-969-file-list-component/assets/Margin.docs-CVfbiH3V.js index 46f18a6fa2..21a5c2d7be 100644 --- a/demo-DES-969-file-list-component/assets/Margin.docs-D4meO8T5.js +++ b/demo-DES-969-file-list-component/assets/Margin.docs-CVfbiH3V.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as o,aq as i,ar as m,as as r}from"./index-CsbqyhR0.js";import{M as l}from"./Margin.stories-Btljaugp.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const p=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as t}from"./index-3rgQkYFR.js";import{ae as o,aq as i,ar as m,as as r}from"./index-DEYBsmB_.js";import{M as l}from"./Margin.stories-BtGsobYp.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const p=` # Margin @@ -28,4 +28,4 @@ The five sizes of [Component Space](/docs/brand-design-tokens-space--docs) are a `,e.jsx(o,{of:l}),` `,e.jsx(i,{children:p}),` `,e.jsx(m,{}),` -`,e.jsx(r,{})]})}function w(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(a,{...s})}):a()}export{w as default}; +`,e.jsx(r,{})]})}function z(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(a,{...s})}):a()}export{z as default}; diff --git a/demo-DES-969-file-list-component/assets/Margin.stories-Btljaugp.js b/demo-DES-969-file-list-component/assets/Margin.stories-BtGsobYp.js similarity index 91% rename from demo-DES-969-file-list-component/assets/Margin.stories-Btljaugp.js rename to demo-DES-969-file-list-component/assets/Margin.stories-BtGsobYp.js index 883f280a13..f33388bb29 100644 --- a/demo-DES-969-file-list-component/assets/Margin.stories-Btljaugp.js +++ b/demo-DES-969-file-list-component/assets/Margin.stories-BtGsobYp.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as l,P as m}from"./index.esm-Dojcg4AG.js";/** +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{H as l,P as m}from"./index.esm-CEzKrmam.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const s=({children:r,size:i})=>e.jsx("span",{className:`ams-mb--${i}`,children:r});try{s.displayName="Margin",s.__docgenInfo={description:"Renders examples in Storybook. Not for reuse.",displayName:"Margin",props:{size:{defaultValue:null,description:"The amount of space below the element.",name:"size",required:!0,type:{name:"enum",value:[{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'}]}}}}}catch{}const c=({size:r})=>e.jsxs(e.Fragment,{children:[e.jsx(l,{className:`ams-mb--${r}`,level:2,children:"This heading has a bottom margin"}),e.jsx(m,{children:"It introduces white space between the heading and this paragraph below."})]}),d={title:"Utilities/CSS/Margin",component:s,args:{size:"xs"}},a={render:c};var t,o,n;a.parameters={...a.parameters,docs:{...(t=a.parameters)==null?void 0:t.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/Mark.docs-B0BqzTDX.js b/demo-DES-969-file-list-component/assets/Mark.docs-B0BqzTDX.js deleted file mode 100644 index 0a522e5740..0000000000 --- a/demo-DES-969-file-list-component/assets/Mark.docs-B0BqzTDX.js +++ /dev/null @@ -1,20 +0,0 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as o,aq as a,ar as s,as as m}from"./index-CsbqyhR0.js";import{M as p}from"./Mark.stories-C1DtnmQB.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const x=` - -# Mark - -Highlights a text fragment using a yellow background. -Provides strong emphasis on the text and draws attention to it. - -## Guidelines - -- Use a maximum of 1 Mark per page. -- Limit the marked text to 1 sentence. -- Do not use it in titles and subtitles. - Use a significant and engaging title if the entire paragraph is important. -- Do not mark an entire paragraph. -`;/*@license CC0-1.0*/function e(n){return t.jsxs(t.Fragment,{children:[` -`,` -`,t.jsx(o,{of:p}),` -`,t.jsx(a,{children:x}),` -`,t.jsx(s,{}),` -`,t.jsx(m,{})]})}function X(n={}){const{wrapper:r}={...i(),...n.components};return r?t.jsx(r,{...n,children:t.jsx(e,{...n})}):e()}export{X as default}; diff --git a/demo-DES-969-file-list-component/assets/Mark.docs-CH0_VqaL.js b/demo-DES-969-file-list-component/assets/Mark.docs-CH0_VqaL.js new file mode 100644 index 0000000000..0389e6892e --- /dev/null +++ b/demo-DES-969-file-list-component/assets/Mark.docs-CH0_VqaL.js @@ -0,0 +1,20 @@ +import{j as t}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as i}from"./index-3rgQkYFR.js";import{ae as o,aq as a,ar as s,as as m}from"./index-DEYBsmB_.js";import{M as p}from"./Mark.stories-B87ybx8h.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const x=` + +# Mark + +Highlights a text fragment using a yellow background. +Provides strong emphasis on the text and draws attention to it. + +## Guidelines + +- Use a maximum of 1 Mark per page. +- Limit the marked text to 1 sentence. +- Do not use it in titles and subtitles. + Use a significant and engaging title if the entire paragraph is important. +- Do not mark an entire paragraph. +`;/*@license CC0-1.0*/function e(n){return t.jsxs(t.Fragment,{children:[` +`,` +`,t.jsx(o,{of:p}),` +`,t.jsx(a,{children:x}),` +`,t.jsx(s,{}),` +`,t.jsx(m,{})]})}function b(n={}){const{wrapper:r}={...i(),...n.components};return r?t.jsx(r,{...n,children:t.jsx(e,{...n})}):e()}export{b as default}; diff --git a/demo-DES-969-file-list-component/assets/Mark.stories-C1DtnmQB.js b/demo-DES-969-file-list-component/assets/Mark.stories-B87ybx8h.js similarity index 89% rename from demo-DES-969-file-list-component/assets/Mark.stories-C1DtnmQB.js rename to demo-DES-969-file-list-component/assets/Mark.stories-B87ybx8h.js index ecb2febd02..4785f30b91 100644 --- a/demo-DES-969-file-list-component/assets/Mark.stories-C1DtnmQB.js +++ b/demo-DES-969-file-list-component/assets/Mark.stories-B87ybx8h.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{P as l}from"./index.esm-Dojcg4AG.js";import{c}from"./clsx-B-dksMZM.js";import{r as p}from"./index-B-o1Wr-g.js";const r=p.forwardRef(({children:a,className:i,...m},d)=>n.jsx("mark",{...m,ref:d,className:c("ams-mark",i),children:a}));r.displayName="Mark";try{r.displayName="Mark",r.__docgenInfo={description:"",displayName:"Mark",props:{}}}catch{}const g={title:"Components/Text/Mark",component:r,argTypes:{children:{description:"The text to mark.",table:{disable:!1}}}},e={args:{children:"Wat vinden Amsterdammers belangrijk?"},render:({children:a})=>n.jsxs(l,{children:["Daarom organiseren we in 2024 het burgerberaad schone stad, waarin 150 Amsterdammers in gesprek gaan over hoe we de stad beter schoonhouden. ",n.jsx(r,{children:a})," Welke oplossingen zien zij? Hier zijn we benieuwd naar. Want elke Amsterdammer heeft afval en moet het kwijt. Wij kunnen als gemeente veel van deze afvalexperts leren."]})};var t,s,o;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{P as l}from"./index.esm-CEzKrmam.js";import{c}from"./clsx-B-dksMZM.js";import{r as p}from"./index-RigO-4kf.js";const r=p.forwardRef(({children:a,className:i,...m},d)=>n.jsx("mark",{...m,ref:d,className:c("ams-mark",i),children:a}));r.displayName="Mark";try{r.displayName="Mark",r.__docgenInfo={description:"",displayName:"Mark",props:{}}}catch{}const g={title:"Components/Text/Mark",component:r,argTypes:{children:{description:"The text to mark.",table:{disable:!1}}}},e={args:{children:"Wat vinden Amsterdammers belangrijk?"},render:({children:a})=>n.jsxs(l,{children:["Daarom organiseren we in 2024 het burgerberaad schone stad, waarin 150 Amsterdammers in gesprek gaan over hoe we de stad beter schoonhouden. ",n.jsx(r,{children:a})," Welke oplossingen zien zij? Hier zijn we benieuwd naar. Want elke Amsterdammer heeft afval en moet het kwijt. Wij kunnen als gemeente veel van deze afvalexperts leren."]})};var t,s,o;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { children: 'Wat vinden Amsterdammers belangrijk?' }, diff --git a/demo-DES-969-file-list-component/assets/MegaMenu.docs-BDmkVW-5.js b/demo-DES-969-file-list-component/assets/MegaMenu.docs-BDmkVW-5.js new file mode 100644 index 0000000000..0eeca67add --- /dev/null +++ b/demo-DES-969-file-list-component/assets/MegaMenu.docs-BDmkVW-5.js @@ -0,0 +1,12 @@ +import{j as t}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as e}from"./index-3rgQkYFR.js";import{ae as i,aq as s,ar as a,at as m}from"./index-DEYBsmB_.js";import{M as p,a as c}from"./MegaMenu.stories-C2u9sjzE.js";import{S as x}from"./StatusBadge-DiE14TfE.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./Badge-BvbF-Lgn.js";const M=` + +# Mega Menu +`;/*@license CC0-1.0*/function r(n){const o={h2:"h2",h3:"h3",...e(),...n.components};return t.jsxs(t.Fragment,{children:[` +`,` +`,t.jsx(i,{of:p}),` +`,t.jsx(x,{reason:"Needs work for narrow screens and integration with Mega Menu."}),` +`,t.jsx(s,{children:M}),` +`,t.jsx(a,{}),` +`,t.jsx(o.h2,{id:"examples",children:"Examples"}),` +`,t.jsx(o.h3,{id:"with-categories",children:"With categories"}),` +`,t.jsx(m,{of:c})]})}function v(n={}){const{wrapper:o}={...e(),...n.components};return o?t.jsx(o,{...n,children:t.jsx(r,{...n})}):r(n)}export{v as default}; diff --git a/demo-DES-969-file-list-component/assets/MegaMenu.docs-Dh9DEteW.js b/demo-DES-969-file-list-component/assets/MegaMenu.docs-Dh9DEteW.js deleted file mode 100644 index 30940a01ee..0000000000 --- a/demo-DES-969-file-list-component/assets/MegaMenu.docs-Dh9DEteW.js +++ /dev/null @@ -1,12 +0,0 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as s,aq as i,ar as a,at as m}from"./index-CsbqyhR0.js";import{M as p,a as c}from"./MegaMenu.stories-Bm-aQUEJ.js";import{S as x}from"./StatusBadge-_VA1BtQE.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./Badge-Cg5Q2pVP.js";const M=` - -# Mega Menu -`;/*@license CC0-1.0*/function o(n){const e={h2:"h2",h3:"h3",...r(),...n.components};return t.jsxs(t.Fragment,{children:[` -`,` -`,t.jsx(s,{of:p}),` -`,t.jsx(x,{reason:"Needs work for narrow screens and integration with Mega Menu."}),` -`,t.jsx(i,{children:M}),` -`,t.jsx(a,{}),` -`,t.jsx(e.h2,{id:"examples",children:"Examples"}),` -`,t.jsx(e.h3,{id:"with-categories",children:"With categories"}),` -`,t.jsx(m,{of:c})]})}function q(n={}){const{wrapper:e}={...r(),...n.components};return e?t.jsx(e,{...n,children:t.jsx(o,{...n})}):o(n)}export{q as default}; diff --git a/demo-DES-969-file-list-component/assets/MegaMenu.stories-Bm-aQUEJ.js b/demo-DES-969-file-list-component/assets/MegaMenu.stories-C2u9sjzE.js similarity index 98% rename from demo-DES-969-file-list-component/assets/MegaMenu.stories-Bm-aQUEJ.js rename to demo-DES-969-file-list-component/assets/MegaMenu.stories-C2u9sjzE.js index 1d6484f869..0cf7ff337b 100644 --- a/demo-DES-969-file-list-component/assets/MegaMenu.stories-Bm-aQUEJ.js +++ b/demo-DES-969-file-list-component/assets/MegaMenu.stories-C2u9sjzE.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as t,H as k,o as n}from"./index.esm-Dojcg4AG.js";import{c as j}from"./clsx-B-dksMZM.js";import{r as m}from"./index-B-o1Wr-g.js";const x=m.forwardRef(({children:r,className:a,...l},d)=>e.jsx("div",{...l,ref:d,className:j("ams-mega-menu__list-category",a),children:r}));x.displayName="MegaMenu.ListCategory";try{MegaMenu.ListCategory.displayName="MegaMenu.ListCategory",MegaMenu.ListCategory.__docgenInfo={description:"",displayName:"MegaMenu.ListCategory",props:{}}}catch{}const p=m.forwardRef(({children:r,className:a,...l},d)=>e.jsx("div",{...l,ref:d,className:j("ams-mega-menu",a),children:r}));p.displayName="MegaMenu";const i=Object.assign(p,{ListCategory:x});try{i.displayName="MegaMenu",i.__docgenInfo={description:"",displayName:"MegaMenu",props:{}}}catch{}const v={title:"Components/Navigation/Mega Menu",component:i,parameters:{layout:"fullscreen"}},s={args:{children:e.jsx(t,{paddingVertical:"medium",children:e.jsxs(t.Cell,{span:"all",children:[e.jsx(k,{level:1,size:"level-2",children:"Alle onderwerpen"}),e.jsx(i.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",children:"Afval"}),e.jsx(n.Link,{href:"#",children:"Bestuur en organisatie"}),e.jsx(n.Link,{href:"#",children:"Bouw- en verkeersprojecten"}),e.jsx(n.Link,{href:"#",children:"Burgerzaken"}),e.jsx(n.Link,{href:"#",children:"Diversiteit"}),e.jsx(n.Link,{href:"#",children:"Gemeentebelastingen"}),e.jsx(n.Link,{href:"#",children:"Gezondheidsdienst (GGD)"}),e.jsx(n.Link,{href:"#",children:"Kunst en cultuur"}),e.jsx(n.Link,{href:"#",children:"Ondernemen"}),e.jsx(n.Link,{href:"#",children:"Onderwijs en jeugd"}),e.jsx(n.Link,{href:"#",children:"Parkeren"}),e.jsx(n.Link,{href:"#",children:"Sport"}),e.jsx(n.Link,{href:"#",children:"Stadsdelen"}),e.jsx(n.Link,{href:"#",children:"Subsidies"}),e.jsx(n.Link,{href:"#",children:"Vacatures"}),e.jsx(n.Link,{href:"#",children:"Verkeer en vervoer"}),e.jsx(n.Link,{href:"#",children:"Vrije tijd"}),e.jsx(n.Link,{href:"#",children:"Werk aan de weg"}),e.jsx(n.Link,{href:"#",children:"Werk en inkomen"}),e.jsx(n.Link,{href:"#",children:"Wonen en leefomgeving"})]})})]})},"nav")}},L={args:{children:e.jsxs(t,{paddingVertical:"medium",children:[e.jsxs(t.Cell,{span:{narrow:4,medium:8,wide:8},children:[e.jsx(k,{level:3,size:"level-3",children:"Thema’s"}),e.jsx(i.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",size:"large",children:"Afval"}),e.jsx(n.Link,{href:"#",size:"large",children:"Bestuur en organisatie"}),e.jsx(n.Link,{href:"#",size:"large",children:"Bouw- en verkeersprojecten"}),e.jsx(n.Link,{href:"#",size:"large",children:"Burgerzaken"}),e.jsx(n.Link,{href:"#",size:"large",children:"Diversiteit"}),e.jsx(n.Link,{href:"#",size:"large",children:"Gemeentebelastingen"}),e.jsx(n.Link,{href:"#",size:"large",children:"Gezondheidsdienst (GGD)"}),e.jsx(n.Link,{href:"#",size:"large",children:"Kunst en cultuur"}),e.jsx(n.Link,{href:"#",size:"large",children:"Ondernemen"}),e.jsx(n.Link,{href:"#",size:"large",children:"Onderwijs en jeugd"}),e.jsx(n.Link,{href:"#",size:"large",children:"Parkeren"}),e.jsx(n.Link,{href:"#",size:"large",children:"Sport"}),e.jsx(n.Link,{href:"#",size:"large",children:"Stadsdelen"}),e.jsx(n.Link,{href:"#",size:"large",children:"Subsidies"})]})})]}),e.jsxs(t.Cell,{span:{narrow:4,medium:8,wide:4},children:[e.jsx(k,{level:3,size:"level-3",children:"Categorieën"}),e.jsx(i.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",children:"Vacatures"}),e.jsx(n.Link,{href:"#",children:"Verkeer en vervoer"}),e.jsx(n.Link,{href:"#",children:"Vrije tijd"}),e.jsx(n.Link,{href:"#",children:"Werk aan de weg"}),e.jsx(n.Link,{href:"#",children:"Werk en inkomen"}),e.jsx(n.Link,{href:"#",children:"Wonen en leefomgeving"})]})}),e.jsx(k,{level:3,size:"level-3",children:"Snel naar"}),e.jsx(i.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",children:"Vacatures"}),e.jsx(n.Link,{href:"#",children:"Verkeer en vervoer"}),e.jsx(n.Link,{href:"#",children:"Vrije tijd"}),e.jsx(n.Link,{href:"#",children:"Werk aan de weg"})]})})]})]},"nav")}};var h,o,g;s.parameters={...s.parameters,docs:{...(h=s.parameters)==null?void 0:h.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{G as t,H as k,o as n}from"./index.esm-CEzKrmam.js";import{c as j}from"./clsx-B-dksMZM.js";import{r as m}from"./index-RigO-4kf.js";const x=m.forwardRef(({children:r,className:a,...l},d)=>e.jsx("div",{...l,ref:d,className:j("ams-mega-menu__list-category",a),children:r}));x.displayName="MegaMenu.ListCategory";try{MegaMenu.ListCategory.displayName="MegaMenu.ListCategory",MegaMenu.ListCategory.__docgenInfo={description:"",displayName:"MegaMenu.ListCategory",props:{}}}catch{}const p=m.forwardRef(({children:r,className:a,...l},d)=>e.jsx("div",{...l,ref:d,className:j("ams-mega-menu",a),children:r}));p.displayName="MegaMenu";const i=Object.assign(p,{ListCategory:x});try{i.displayName="MegaMenu",i.__docgenInfo={description:"",displayName:"MegaMenu",props:{}}}catch{}const v={title:"Components/Navigation/Mega Menu",component:i,parameters:{layout:"fullscreen"}},s={args:{children:e.jsx(t,{paddingVertical:"medium",children:e.jsxs(t.Cell,{span:"all",children:[e.jsx(k,{level:1,size:"level-2",children:"Alle onderwerpen"}),e.jsx(i.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",children:"Afval"}),e.jsx(n.Link,{href:"#",children:"Bestuur en organisatie"}),e.jsx(n.Link,{href:"#",children:"Bouw- en verkeersprojecten"}),e.jsx(n.Link,{href:"#",children:"Burgerzaken"}),e.jsx(n.Link,{href:"#",children:"Diversiteit"}),e.jsx(n.Link,{href:"#",children:"Gemeentebelastingen"}),e.jsx(n.Link,{href:"#",children:"Gezondheidsdienst (GGD)"}),e.jsx(n.Link,{href:"#",children:"Kunst en cultuur"}),e.jsx(n.Link,{href:"#",children:"Ondernemen"}),e.jsx(n.Link,{href:"#",children:"Onderwijs en jeugd"}),e.jsx(n.Link,{href:"#",children:"Parkeren"}),e.jsx(n.Link,{href:"#",children:"Sport"}),e.jsx(n.Link,{href:"#",children:"Stadsdelen"}),e.jsx(n.Link,{href:"#",children:"Subsidies"}),e.jsx(n.Link,{href:"#",children:"Vacatures"}),e.jsx(n.Link,{href:"#",children:"Verkeer en vervoer"}),e.jsx(n.Link,{href:"#",children:"Vrije tijd"}),e.jsx(n.Link,{href:"#",children:"Werk aan de weg"}),e.jsx(n.Link,{href:"#",children:"Werk en inkomen"}),e.jsx(n.Link,{href:"#",children:"Wonen en leefomgeving"})]})})]})},"nav")}},L={args:{children:e.jsxs(t,{paddingVertical:"medium",children:[e.jsxs(t.Cell,{span:{narrow:4,medium:8,wide:8},children:[e.jsx(k,{level:3,size:"level-3",children:"Thema’s"}),e.jsx(i.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",size:"large",children:"Afval"}),e.jsx(n.Link,{href:"#",size:"large",children:"Bestuur en organisatie"}),e.jsx(n.Link,{href:"#",size:"large",children:"Bouw- en verkeersprojecten"}),e.jsx(n.Link,{href:"#",size:"large",children:"Burgerzaken"}),e.jsx(n.Link,{href:"#",size:"large",children:"Diversiteit"}),e.jsx(n.Link,{href:"#",size:"large",children:"Gemeentebelastingen"}),e.jsx(n.Link,{href:"#",size:"large",children:"Gezondheidsdienst (GGD)"}),e.jsx(n.Link,{href:"#",size:"large",children:"Kunst en cultuur"}),e.jsx(n.Link,{href:"#",size:"large",children:"Ondernemen"}),e.jsx(n.Link,{href:"#",size:"large",children:"Onderwijs en jeugd"}),e.jsx(n.Link,{href:"#",size:"large",children:"Parkeren"}),e.jsx(n.Link,{href:"#",size:"large",children:"Sport"}),e.jsx(n.Link,{href:"#",size:"large",children:"Stadsdelen"}),e.jsx(n.Link,{href:"#",size:"large",children:"Subsidies"})]})})]}),e.jsxs(t.Cell,{span:{narrow:4,medium:8,wide:4},children:[e.jsx(k,{level:3,size:"level-3",children:"Categorieën"}),e.jsx(i.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",children:"Vacatures"}),e.jsx(n.Link,{href:"#",children:"Verkeer en vervoer"}),e.jsx(n.Link,{href:"#",children:"Vrije tijd"}),e.jsx(n.Link,{href:"#",children:"Werk aan de weg"}),e.jsx(n.Link,{href:"#",children:"Werk en inkomen"}),e.jsx(n.Link,{href:"#",children:"Wonen en leefomgeving"})]})}),e.jsx(k,{level:3,size:"level-3",children:"Snel naar"}),e.jsx(i.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",children:"Vacatures"}),e.jsx(n.Link,{href:"#",children:"Verkeer en vervoer"}),e.jsx(n.Link,{href:"#",children:"Vrije tijd"}),e.jsx(n.Link,{href:"#",children:"Werk aan de weg"})]})})]})]},"nav")}};var h,o,g;s.parameters={...s.parameters,docs:{...(h=s.parameters)==null?void 0:h.docs,source:{originalSource:`{ args: { children: diff --git a/demo-DES-969-file-list-component/assets/OrderedList.docs-U-eEn8Zo.js b/demo-DES-969-file-list-component/assets/OrderedList.docs-DqJ8jglF.js similarity index 78% rename from demo-DES-969-file-list-component/assets/OrderedList.docs-U-eEn8Zo.js rename to demo-DES-969-file-list-component/assets/OrderedList.docs-DqJ8jglF.js index 4969bafb3b..1962fa997c 100644 --- a/demo-DES-969-file-list-component/assets/OrderedList.docs-U-eEn8Zo.js +++ b/demo-DES-969-file-list-component/assets/OrderedList.docs-DqJ8jglF.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as o,aq as a,ar as h,as as l,at as r}from"./index-CsbqyhR0.js";import{O as d,T as c,S as m,D as p,W as x,I as u,a as j}from"./OrderedList.stories-BOzViUd1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./exampleContent-hIIPvEhU.js";const f=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as i}from"./index-3rgQkYFR.js";import{ae as o,aq as a,ar as h,as as l,at as r}from"./index-DEYBsmB_.js";import{O as d,T as c,S as m,D as p,W as x,I as u,a as j}from"./OrderedList.stories-CcAlAwgC.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./exampleContent-hIIPvEhU.js";const f=` # Ordered List @@ -46,4 +46,4 @@ When nesting lists, set the prop on all lists.`]}),` `,e.jsx(r,{of:u}),` `,e.jsx(n.h3,{id:"small-text",children:"Small text"}),` `,e.jsx(n.p,{children:"Use a list with a smaller font size in form descriptions and captions and the like."}),` -`,e.jsx(r,{of:j})]})}function N(s={}){const{wrapper:n}={...i(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{N as default}; +`,e.jsx(r,{of:j})]})}function O(s={}){const{wrapper:n}={...i(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{O as default}; diff --git a/demo-DES-969-file-list-component/assets/OrderedList.stories-BOzViUd1.js b/demo-DES-969-file-list-component/assets/OrderedList.stories-CcAlAwgC.js similarity index 97% rename from demo-DES-969-file-list-component/assets/OrderedList.stories-BOzViUd1.js rename to demo-DES-969-file-list-component/assets/OrderedList.stories-CcAlAwgC.js index 3df68fd2a7..09e6fc0cf6 100644 --- a/demo-DES-969-file-list-component/assets/OrderedList.stories-BOzViUd1.js +++ b/demo-DES-969-file-list-component/assets/OrderedList.stories-CcAlAwgC.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as h,P as t}from"./index.esm-Dojcg4AG.js";import{d as q}from"./exampleContent-hIIPvEhU.js";import{c as E}from"./clsx-B-dksMZM.js";import{r as H}from"./index-B-o1Wr-g.js";const A=H.forwardRef(({children:s,className:a,...u},p)=>e.jsx("li",{ref:p,className:E("ams-ordered-list__item",a),...u,children:s}));A.displayName="OrderedList.Item";try{OrderedList.Item.displayName="OrderedList.Item",OrderedList.Item.__docgenInfo={description:"",displayName:"OrderedList.Item",props:{}}}catch{}const G=H.forwardRef(({children:s,className:a,inverseColor:u,markers:p=!0,size:g,...R},Z)=>e.jsx("ol",{ref:Z,className:E("ams-ordered-list",u&&"ams-ordered-list--inverse-color",!p&&"ams-ordered-list--no-markers",g&&`ams-ordered-list--${g}`,a),...R,children:s}));G.displayName="OrderedList";const r=Object.assign(G,{Item:A});try{r.displayName="OrderedList",r.__docgenInfo={description:"",displayName:"OrderedList",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},markers:{defaultValue:{value:"true"},description:"Whether the list items show a marker.",name:"markers",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"The size of the text.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'}]}}}}}catch{}const M=q().map((s,a)=>e.jsx(r.Item,{children:s},a)),V={title:"Components/Text/Ordered List",component:r,args:{children:M,inverseColor:!1,markers:void 0,reversed:void 0,start:void 0},argTypes:{reversed:{control:"boolean",description:"Numbers the items from the highest value down."},start:{control:"number",description:"The value for the first list item’s marker."},size:{control:{type:"radio",labels:{small:"small",undefined:"medium"}},options:["small",void 0]}}},d={},n={render:s=>e.jsxs(r,{...s,children:[e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]}),e.jsxs(r.Item,{children:["Stadsdeel Nieuw-West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"De Aker, Sloten en Nieuw Sloten"}),e.jsx(r.Item,{children:"Geuzenveld, Slotermeer en Sloterdijken"}),e.jsx(r.Item,{children:"Osdorp"}),e.jsx(r.Item,{children:"Slotervaart"})]})]})]})},i={args:{children:[e.jsx(r.Item,{children:"Zes"},6),e.jsx(r.Item,{children:"Zeven"},7),e.jsx(r.Item,{children:"Acht"},8)],start:6}},o={args:{children:[e.jsx(r.Item,{children:"Drie"},3),e.jsx(r.Item,{children:"Twee"},2),e.jsx(r.Item,{children:"Eén"},1)],reversed:!0,start:3}},l={args:{children:[e.jsxs(r.Item,{children:[e.jsx(h,{size:"level-4",children:"Weg met steen, hallo extra groen en koelte"}),e.jsx(t,{children:"Sinds 2021 kwamen er maar liefst 60 nieuwe groene plekken bij in de stad. Groen is fijn en het verkoelt de stad in de zomer. Een paar voorbeelden."}),e.jsx(t,{size:"small",children:"16 augustus 2023"})]},1),e.jsxs(r.Item,{children:[e.jsx(h,{size:"level-4",children:"Amsterdam bindt de strijd aan met lawaaierige voertuigen"}),e.jsx(t,{children:"Deze zomer testen we of digitale borden langs de weg kunnen helpen om geluidsoverlast van voertuigen zoals motoren en auto’s tegen te gaan."}),e.jsx(t,{size:"small",children:"10 augustus 2023"})]},2),e.jsxs(r.Item,{children:[e.jsx(h,{size:"level-4",children:"Een prachtroute door de wonderlijke Baarsjes"}),e.jsx(t,{children:"In de Baarsjes zijn kunst en cultuur met elkaar vervlochten. We zetten een prachtige wandelroute voor u uit en laten zien hoe het was en hoe het nu is."}),e.jsx(t,{size:"small",children:"8 augustus 2023"})]},3)],markers:!1}},m={args:{inverseColor:!0},render:s=>e.jsx(r,{...s,children:e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]})})},c={args:{size:"small"}};var I,O,L;d.parameters={...d.parameters,docs:{...(I=d.parameters)==null?void 0:I.docs,source:{originalSource:"{}",...(L=(O=d.parameters)==null?void 0:O.docs)==null?void 0:L.source}}};var j,v,x;n.parameters={...n.parameters,docs:{...(j=n.parameters)==null?void 0:j.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{H as h,P as t}from"./index.esm-CEzKrmam.js";import{d as q}from"./exampleContent-hIIPvEhU.js";import{c as E}from"./clsx-B-dksMZM.js";import{r as H}from"./index-RigO-4kf.js";const A=H.forwardRef(({children:s,className:a,...u},p)=>e.jsx("li",{ref:p,className:E("ams-ordered-list__item",a),...u,children:s}));A.displayName="OrderedList.Item";try{OrderedList.Item.displayName="OrderedList.Item",OrderedList.Item.__docgenInfo={description:"",displayName:"OrderedList.Item",props:{}}}catch{}const G=H.forwardRef(({children:s,className:a,inverseColor:u,markers:p=!0,size:g,...R},Z)=>e.jsx("ol",{ref:Z,className:E("ams-ordered-list",u&&"ams-ordered-list--inverse-color",!p&&"ams-ordered-list--no-markers",g&&`ams-ordered-list--${g}`,a),...R,children:s}));G.displayName="OrderedList";const r=Object.assign(G,{Item:A});try{r.displayName="OrderedList",r.__docgenInfo={description:"",displayName:"OrderedList",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},markers:{defaultValue:{value:"true"},description:"Whether the list items show a marker.",name:"markers",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"The size of the text.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'}]}}}}}catch{}const M=q().map((s,a)=>e.jsx(r.Item,{children:s},a)),V={title:"Components/Text/Ordered List",component:r,args:{children:M,inverseColor:!1,markers:void 0,reversed:void 0,start:void 0},argTypes:{reversed:{control:"boolean",description:"Numbers the items from the highest value down."},start:{control:"number",description:"The value for the first list item’s marker."},size:{control:{type:"radio",labels:{small:"small",undefined:"medium"}},options:["small",void 0]}}},d={},n={render:s=>e.jsxs(r,{...s,children:[e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]}),e.jsxs(r.Item,{children:["Stadsdeel Nieuw-West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"De Aker, Sloten en Nieuw Sloten"}),e.jsx(r.Item,{children:"Geuzenveld, Slotermeer en Sloterdijken"}),e.jsx(r.Item,{children:"Osdorp"}),e.jsx(r.Item,{children:"Slotervaart"})]})]})]})},i={args:{children:[e.jsx(r.Item,{children:"Zes"},6),e.jsx(r.Item,{children:"Zeven"},7),e.jsx(r.Item,{children:"Acht"},8)],start:6}},o={args:{children:[e.jsx(r.Item,{children:"Drie"},3),e.jsx(r.Item,{children:"Twee"},2),e.jsx(r.Item,{children:"Eén"},1)],reversed:!0,start:3}},l={args:{children:[e.jsxs(r.Item,{children:[e.jsx(h,{size:"level-4",children:"Weg met steen, hallo extra groen en koelte"}),e.jsx(t,{children:"Sinds 2021 kwamen er maar liefst 60 nieuwe groene plekken bij in de stad. Groen is fijn en het verkoelt de stad in de zomer. Een paar voorbeelden."}),e.jsx(t,{size:"small",children:"16 augustus 2023"})]},1),e.jsxs(r.Item,{children:[e.jsx(h,{size:"level-4",children:"Amsterdam bindt de strijd aan met lawaaierige voertuigen"}),e.jsx(t,{children:"Deze zomer testen we of digitale borden langs de weg kunnen helpen om geluidsoverlast van voertuigen zoals motoren en auto’s tegen te gaan."}),e.jsx(t,{size:"small",children:"10 augustus 2023"})]},2),e.jsxs(r.Item,{children:[e.jsx(h,{size:"level-4",children:"Een prachtroute door de wonderlijke Baarsjes"}),e.jsx(t,{children:"In de Baarsjes zijn kunst en cultuur met elkaar vervlochten. We zetten een prachtige wandelroute voor u uit en laten zien hoe het was en hoe het nu is."}),e.jsx(t,{size:"small",children:"8 augustus 2023"})]},3)],markers:!1}},m={args:{inverseColor:!0},render:s=>e.jsx(r,{...s,children:e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]})})},c={args:{size:"small"}};var I,O,L;d.parameters={...d.parameters,docs:{...(I=d.parameters)==null?void 0:I.docs,source:{originalSource:"{}",...(L=(O=d.parameters)==null?void 0:O.docs)==null?void 0:L.source}}};var j,v,x;n.parameters={...n.parameters,docs:{...(j=n.parameters)==null?void 0:j.docs,source:{originalSource:`{ render: args => Stadsdeel West diff --git a/demo-DES-969-file-list-component/assets/Overlap.docs-gJ5uV54_.js b/demo-DES-969-file-list-component/assets/Overlap.docs-DHZOlQIg.js similarity index 62% rename from demo-DES-969-file-list-component/assets/Overlap.docs-gJ5uV54_.js rename to demo-DES-969-file-list-component/assets/Overlap.docs-DHZOlQIg.js index b034fddfd3..ea28b69a21 100644 --- a/demo-DES-969-file-list-component/assets/Overlap.docs-gJ5uV54_.js +++ b/demo-DES-969-file-list-component/assets/Overlap.docs-DHZOlQIg.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as t,aq as s,ar as a}from"./index-CsbqyhR0.js";import{O as l}from"./Overlap.stories-BONGKRWw.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const m=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as r}from"./index-3rgQkYFR.js";import{ae as t,aq as s,ar as a}from"./index-DEYBsmB_.js";import{O as l}from"./Overlap.stories-c9S-8hsR.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const m=` # Overlap @@ -18,4 +18,4 @@ Note: the library does not yet offer an option to vertically center the form.`]} `,e.jsxs(o.li,{children:["Follow ",e.jsx(o.a,{href:"/docs/components-media-image--docs#guidelines",children:"the general guidelines for images"}),"."]}),` `,e.jsx(o.li,{children:`Use a sufficiently large image. The aspect ratio of 32:9 is most suitable.`}),` -`]})]})}function v(n={}){const{wrapper:o}={...r(),...n.components};return o?e.jsx(o,{...n,children:e.jsx(i,{...n})}):i(n)}export{v as default}; +`]})]})}function E(n={}){const{wrapper:o}={...r(),...n.components};return o?e.jsx(o,{...n,children:e.jsx(i,{...n})}):i(n)}export{E as default}; diff --git a/demo-DES-969-file-list-component/assets/Overlap.stories-BONGKRWw.js b/demo-DES-969-file-list-component/assets/Overlap.stories-c9S-8hsR.js similarity index 91% rename from demo-DES-969-file-list-component/assets/Overlap.stories-BONGKRWw.js rename to demo-DES-969-file-list-component/assets/Overlap.stories-c9S-8hsR.js index 06c1193843..4a34d6696e 100644 --- a/demo-DES-969-file-list-component/assets/Overlap.stories-BONGKRWw.js +++ b/demo-DES-969-file-list-component/assets/Overlap.stories-c9S-8hsR.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{I as d,G as o,S as a}from"./index.esm-Dojcg4AG.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as h}from"./index-B-o1Wr-g.js";const s=h.forwardRef(({children:r,className:n,...c},m)=>e.jsx("div",{...c,ref:m,className:u("ams-overlap",n),children:r}));s.displayName="Overlap";try{s.displayName="Overlap",s.__docgenInfo={description:"",displayName:"Overlap",props:{}}}catch{}const x={title:"Components/Layout/Overlap",component:s},t={args:{children:[e.jsx(d,{alt:"",aspectRatio:"2x-wide",sizes:"(max-width: 36rem) 640px, (max-width: 68rem) 1280px, 1600px",src:"https://picsum.photos/1600/500",srcSet:"https://picsum.photos/640/200 640w, https://picsum.photos/1280/400 1280w, https://picsum.photos/1600/500 1600w"},1),e.jsx(o,{style:{alignSelf:"center"},children:e.jsx(o.Cell,{span:{narrow:4,medium:6,wide:8},start:{narrow:1,medium:2,wide:3},children:e.jsxs(a,{onSubmit:r=>r.preventDefault(),children:[e.jsx(a.Input,{label:"Zoeken",placeholder:"Wat kunnen we voor u vinden?"}),e.jsx(a.Button,{})]})})},2)]}};var p,i,l;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{I as d,G as o,S as a}from"./index.esm-CEzKrmam.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as h}from"./index-RigO-4kf.js";const s=h.forwardRef(({children:r,className:n,...c},m)=>e.jsx("div",{...c,ref:m,className:u("ams-overlap",n),children:r}));s.displayName="Overlap";try{s.displayName="Overlap",s.__docgenInfo={description:"",displayName:"Overlap",props:{}}}catch{}const x={title:"Components/Layout/Overlap",component:s},t={args:{children:[e.jsx(d,{alt:"",aspectRatio:"2x-wide",sizes:"(max-width: 36rem) 640px, (max-width: 68rem) 1280px, 1600px",src:"https://picsum.photos/1600/500",srcSet:"https://picsum.photos/640/200 640w, https://picsum.photos/1280/400 1280w, https://picsum.photos/1600/500 1600w"},1),e.jsx(o,{style:{alignSelf:"center"},children:e.jsx(o.Cell,{span:{narrow:4,medium:6,wide:8},start:{narrow:1,medium:2,wide:3},children:e.jsxs(a,{onSubmit:r=>r.preventDefault(),children:[e.jsx(a.Input,{label:"Zoeken",placeholder:"Wat kunnen we voor u vinden?"}),e.jsx(a.Button,{})]})})},2)]}};var p,i,l;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { children: [, +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as i,aq as a,ar as r,as as h,at as p}from"./index-DEYBsmB_.js";import{P as m,I as c}from"./PageHeading.stories-xdugF2bU.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const d=` # Page Heading @@ -27,4 +27,4 @@ For this component, the same WCAG requirements apply as for [the heading compone `,e.jsx(n.h3,{id:"inverse-colour",children:"Inverse colour"}),` `,e.jsxs(n.p,{children:["Set the ",e.jsx(n.code,{children:"inverseColor"}),` prop if the Page Heading sits on a dark background. This ensures the colour of the text provides enough contrast.`]}),` -`,e.jsx(p,{of:c})]})}function E(t={}){const{wrapper:n}={...s(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(o,{...t})}):o(t)}export{E as default}; +`,e.jsx(p,{of:c})]})}function b(t={}){const{wrapper:n}={...s(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(o,{...t})}):o(t)}export{b as default}; diff --git a/demo-DES-969-file-list-component/assets/PageHeading.stories-BmEmYOYu.js b/demo-DES-969-file-list-component/assets/PageHeading.stories-xdugF2bU.js similarity index 91% rename from demo-DES-969-file-list-component/assets/PageHeading.stories-BmEmYOYu.js rename to demo-DES-969-file-list-component/assets/PageHeading.stories-xdugF2bU.js index 20ecbe2705..e06517d8ab 100644 --- a/demo-DES-969-file-list-component/assets/PageHeading.stories-BmEmYOYu.js +++ b/demo-DES-969-file-list-component/assets/PageHeading.stories-xdugF2bU.js @@ -1,4 +1,4 @@ -import{j as u}from"./jsx-runtime-j_jdvEMj.js";import{c as f}from"./clsx-B-dksMZM.js";import{r as _}from"./index-B-o1Wr-g.js";const a=_.forwardRef(({children:o,className:l,inverseColor:p,...m},g)=>u.jsx("h1",{...m,ref:g,className:f("ams-page-heading",p&&"ams-page-heading--inverse-color",l),children:o}));a.displayName="PageHeading";try{a.displayName="PageHeading",a.__docgenInfo={description:"",displayName:"PageHeading",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}}}}}catch{}/** +import{j as u}from"./jsx-runtime-BjgbQsUx.js";import{c as f}from"./clsx-B-dksMZM.js";import{r as _}from"./index-RigO-4kf.js";const a=_.forwardRef(({children:o,className:l,inverseColor:p,...m},g)=>u.jsx("h1",{...m,ref:g,className:f("ams-page-heading",p&&"ams-page-heading--inverse-color",l),children:o}));a.displayName="PageHeading";try{a.displayName="PageHeading",a.__docgenInfo={description:"",displayName:"PageHeading",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}}}}}catch{}/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const h={title:"Components/Text/Page Heading",component:a,args:{children:"Gemeente Amsterdam",inverseColor:!1},argTypes:{children:{description:"The heading text.",table:{disable:!1}}}},e={},r={args:{inverseColor:!0}};var s,t,n;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(n=(t=e.parameters)==null?void 0:t.docs)==null?void 0:n.source}}};var i,c,d;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/PageMenu.docs-CPSwskYm.js b/demo-DES-969-file-list-component/assets/PageMenu.docs-dnS43fI7.js similarity index 71% rename from demo-DES-969-file-list-component/assets/PageMenu.docs-CPSwskYm.js rename to demo-DES-969-file-list-component/assets/PageMenu.docs-dnS43fI7.js index ce0aa44af5..7785db8324 100644 --- a/demo-DES-969-file-list-component/assets/PageMenu.docs-CPSwskYm.js +++ b/demo-DES-969-file-list-component/assets/PageMenu.docs-dnS43fI7.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as a,ar as d,as as h,at as o}from"./index-CsbqyhR0.js";import{P as m,A as l,W as c}from"./PageMenu.stories-CMbLUYFI.js";import{S as u}from"./StatusBadge-_VA1BtQE.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-CEthAr-Q.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";import"./Badge-Cg5Q2pVP.js";const p=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as r,aq as a,ar as d,as as h,at as o}from"./index-DEYBsmB_.js";import{P as m,A as l,W as c}from"./PageMenu.stories-DCbTKHnl.js";import{S as u}from"./StatusBadge-DiE14TfE.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-Bz9pa_xK.js";import"./clsx-B-dksMZM.js";import"./Icon-B4wlDyQ3.js";import"./Badge-BvbF-Lgn.js";const p=` # Page Menu @@ -37,4 +37,4 @@ Page Menu is an interactive element, and the [general requirements and guideline `,e.jsxs(n.p,{children:[`If all menu items do not fit on a single line, e.g. on a narrow screen or with zoomed-in text, they wrap to new lines. This is often useful in the `,e.jsx(n.a,{href:"/docs/components-containers-footer--docs",children:"Footer"}),`. The Header has its own responsive behaviour; its Page Menu should be configured not to wrap.`]}),` -`,e.jsx(o,{of:c})]})}function D(t={}){const{wrapper:n}={...s(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(i,{...t})}):i(t)}export{D as default}; +`,e.jsx(o,{of:c})]})}function E(t={}){const{wrapper:n}={...s(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(i,{...t})}):i(t)}export{E as default}; diff --git a/demo-DES-969-file-list-component/assets/PageMenu.stories-CMbLUYFI.js b/demo-DES-969-file-list-component/assets/PageMenu.stories-DCbTKHnl.js similarity index 94% rename from demo-DES-969-file-list-component/assets/PageMenu.stories-CMbLUYFI.js rename to demo-DES-969-file-list-component/assets/PageMenu.stories-DCbTKHnl.js index cbf65ed316..08e8652617 100644 --- a/demo-DES-969-file-list-component/assets/PageMenu.stories-CMbLUYFI.js +++ b/demo-DES-969-file-list-component/assets/PageMenu.stories-DCbTKHnl.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{j as _}from"./index.esm-CEthAr-Q.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as M}from"./index-B-o1Wr-g.js";import{I as v}from"./Icon-D1obyjGa.js";const y=M.forwardRef(({children:r,className:t,icon:o,...c},u)=>e.jsx("li",{children:e.jsxs("a",{...c,ref:u,className:P("ams-page-menu__link",t),children:[r,o&&e.jsx(v,{svg:o,size:"level-6"})]})}));y.displayName="PageMenu.Link";try{PageMenu.Link.displayName="PageMenu.Link",PageMenu.Link.__docgenInfo={description:"",displayName:"PageMenu.Link",props:{icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"Function"}}}}}catch{}const j=M.forwardRef(({alignEnd:r,children:t,className:o,wrap:c=!0,...u},x)=>e.jsx("ul",{...u,className:P("ams-page-menu",r&&"ams-page-menu--align-end",!c&&"ams-page-menu--no-wrap",o),ref:x,children:t}));j.displayName="PageMenu";const n=Object.assign(j,{Link:y});try{n.displayName="PageMenu",n.__docgenInfo={description:"",displayName:"PageMenu",props:{alignEnd:{defaultValue:null,description:"Whether the items align to the end margin. Set to `true` if the Page Menu itself does so.",name:"alignEnd",required:!1,type:{name:"boolean"}},wrap:{defaultValue:{value:"true"},description:"Whether menu items should wrap if they don’t fit on a single row.",name:"wrap",required:!1,type:{name:"boolean"}}}}}catch{}const w={title:"Components/Navigation/Page Menu",component:n,args:{alignEnd:!1,wrap:void 0}},a={args:{children:[e.jsx(n.Link,{href:"#",children:"Over deze site"},1),e.jsx(n.Link,{href:"#",children:"Privacy"},2),e.jsx(n.Link,{href:"#",children:"Cookies"},3)]}},i={args:{alignEnd:!0,children:[e.jsx(n.Link,{href:"#",lang:"en",children:"English"},1),e.jsx(n.Link,{href:"#",children:"Contact"},2),e.jsx(n.Link,{href:"#",icon:_,children:"Zoeken"},3)]}},s={args:{children:[e.jsx(n.Link,{href:"#",children:"Onderzoeken"},1),e.jsx(n.Link,{href:"#",children:"Bezoeken"},2),e.jsx(n.Link,{href:"#",children:"Archiveren"},3),e.jsx(n.Link,{href:"#",children:"Nieuws"},4),e.jsx(n.Link,{href:"#",children:"Themasites"},5),e.jsx(n.Link,{href:"#",children:"Onderwijs"},6),e.jsx(n.Link,{href:"#",children:"Steun ons"},7),e.jsx(n.Link,{href:"#",children:"Organisatie"},8),e.jsx(n.Link,{href:"#",children:"Contact"},9)]}};var g,l,d;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{j as _}from"./index.esm-Bz9pa_xK.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as M}from"./index-RigO-4kf.js";import{I as v}from"./Icon-B4wlDyQ3.js";const y=M.forwardRef(({children:r,className:t,icon:o,...c},u)=>e.jsx("li",{children:e.jsxs("a",{...c,ref:u,className:P("ams-page-menu__link",t),children:[r,o&&e.jsx(v,{svg:o,size:"level-6"})]})}));y.displayName="PageMenu.Link";try{PageMenu.Link.displayName="PageMenu.Link",PageMenu.Link.__docgenInfo={description:"",displayName:"PageMenu.Link",props:{icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"Function"}}}}}catch{}const j=M.forwardRef(({alignEnd:r,children:t,className:o,wrap:c=!0,...u},x)=>e.jsx("ul",{...u,className:P("ams-page-menu",r&&"ams-page-menu--align-end",!c&&"ams-page-menu--no-wrap",o),ref:x,children:t}));j.displayName="PageMenu";const n=Object.assign(j,{Link:y});try{n.displayName="PageMenu",n.__docgenInfo={description:"",displayName:"PageMenu",props:{alignEnd:{defaultValue:null,description:"Whether the items align to the end margin. Set to `true` if the Page Menu itself does so.",name:"alignEnd",required:!1,type:{name:"boolean"}},wrap:{defaultValue:{value:"true"},description:"Whether menu items should wrap if they don’t fit on a single row.",name:"wrap",required:!1,type:{name:"boolean"}}}}}catch{}const w={title:"Components/Navigation/Page Menu",component:n,args:{alignEnd:!1,wrap:void 0}},a={args:{children:[e.jsx(n.Link,{href:"#",children:"Over deze site"},1),e.jsx(n.Link,{href:"#",children:"Privacy"},2),e.jsx(n.Link,{href:"#",children:"Cookies"},3)]}},i={args:{alignEnd:!0,children:[e.jsx(n.Link,{href:"#",lang:"en",children:"English"},1),e.jsx(n.Link,{href:"#",children:"Contact"},2),e.jsx(n.Link,{href:"#",icon:_,children:"Zoeken"},3)]}},s={args:{children:[e.jsx(n.Link,{href:"#",children:"Onderzoeken"},1),e.jsx(n.Link,{href:"#",children:"Bezoeken"},2),e.jsx(n.Link,{href:"#",children:"Archiveren"},3),e.jsx(n.Link,{href:"#",children:"Nieuws"},4),e.jsx(n.Link,{href:"#",children:"Themasites"},5),e.jsx(n.Link,{href:"#",children:"Onderwijs"},6),e.jsx(n.Link,{href:"#",children:"Steun ons"},7),e.jsx(n.Link,{href:"#",children:"Organisatie"},8),e.jsx(n.Link,{href:"#",children:"Contact"},9)]}};var g,l,d;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:`{ args: { children: [ Over deze site diff --git a/demo-DES-969-file-list-component/assets/Pagination.docs-Fj-ZmLr8.js b/demo-DES-969-file-list-component/assets/Pagination.docs-DvCAdBHb.js similarity index 62% rename from demo-DES-969-file-list-component/assets/Pagination.docs-Fj-ZmLr8.js rename to demo-DES-969-file-list-component/assets/Pagination.docs-DvCAdBHb.js index c03b824aa7..57501e9f48 100644 --- a/demo-DES-969-file-list-component/assets/Pagination.docs-Fj-ZmLr8.js +++ b/demo-DES-969-file-list-component/assets/Pagination.docs-DvCAdBHb.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as o,aq as s,ar as r,as as l}from"./index-CsbqyhR0.js";import{P as p}from"./Pagination.stories-BzrmslUD.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-CEthAr-Q.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const g=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as i}from"./index-3rgQkYFR.js";import{ae as o,aq as s,ar as r,as as l}from"./index-DEYBsmB_.js";import{P as p}from"./Pagination.stories-bRssyqcu.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-Bz9pa_xK.js";import"./clsx-B-dksMZM.js";import"./Icon-B4wlDyQ3.js";const g=` # Pagination @@ -20,9 +20,9 @@ Pagination indicates the current page and allows users to navigate to other page ## Relevant WCAG rules Pagination is an interactive element, and the [general requirements and guidelines for interactivity](/docs/docs-developer-guide-interactivity--docs) apply. -`;/*@license CC0-1.0*/function a(n){return e.jsxs(e.Fragment,{children:[` +`;/*@license CC0-1.0*/function a(t){return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(o,{of:p}),` `,e.jsx(s,{children:g}),` `,e.jsx(r,{}),` -`,e.jsx(l,{})]})}function R(n={}){const{wrapper:t}={...i(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(a,{...n})}):a()}export{R as default}; +`,e.jsx(l,{})]})}function D(t={}){const{wrapper:n}={...i(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(a,{...t})}):a()}export{D as default}; diff --git a/demo-DES-969-file-list-component/assets/Pagination.stories-BzrmslUD.js b/demo-DES-969-file-list-component/assets/Pagination.stories-bRssyqcu.js similarity index 94% rename from demo-DES-969-file-list-component/assets/Pagination.stories-BzrmslUD.js rename to demo-DES-969-file-list-component/assets/Pagination.stories-bRssyqcu.js index 3acd5c8530..b9910f1fc1 100644 --- a/demo-DES-969-file-list-component/assets/Pagination.stories-BzrmslUD.js +++ b/demo-DES-969-file-list-component/assets/Pagination.stories-bRssyqcu.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{l as M,e as H}from"./index.esm-CEthAr-Q.js";import{c as b}from"./clsx-B-dksMZM.js";import{r as c}from"./index-B-o1Wr-g.js";import{I as x}from"./Icon-D1obyjGa.js";function I(o,i,g){const s=Math.min(i,Math.max(g,5)),u=1;let r=o-Math.floor(s/2);return r=Math.max(r,u),r=Math.min(r,u+i-s),Array.from({length:s},(l,t)=>r+t).reduce((l,t,d)=>d===0&&t!==1?[1,"firstSpacer"]:i>s&&d===s-2&&o{const[n,L]=c.useState(r),C=c.useMemo(()=>I(n,t,i),[n,t,i]),h=a=>{u!==void 0&&u(a),L(a)},T=()=>{h(n-1)},q=()=>{h(n+1)},v=c.useId();return t<=1?null:e.jsxs("nav",{...V,"aria-labelledby":v,className:b("ams-pagination",o),ref:P,children:[e.jsx("span",{id:v,className:"ams-visually-hidden",children:d}),e.jsxs("ol",{className:"ams-pagination__list",children:[e.jsx("li",{children:e.jsxs("button",{className:"ams-pagination__button",disabled:n===1,onClick:T,type:"button",children:[e.jsx(x,{svg:M,size:"level-5"}),e.jsx("span",{className:"ams-visually-hidden",children:l}),e.jsx("span",{"aria-hidden":!0,children:f})]})}),C.map(a=>typeof a=="number"?e.jsx("li",{children:e.jsxs("button",{"aria-current":a===n?!0:void 0,className:b("ams-pagination__button",a===n&&"ams-pagination__button--current"),onClick:()=>a!==n&&h(a),tabIndex:a===n?-1:0,type:"button",children:[e.jsx("span",{className:"ams-visually-hidden",children:a===n?`Pagina ${a}`:`Ga naar pagina ${a}`}),e.jsx("span",{"aria-hidden":!0,children:a})]})},a):e.jsx("li",{"aria-hidden":!0,"data-testid":a,children:"…"},a)),e.jsx("li",{children:e.jsxs("button",{className:"ams-pagination__button",disabled:n===t,onClick:q,type:"button",children:[e.jsx("span",{className:"ams-visually-hidden",children:s}),e.jsx("span",{"aria-hidden":!0,children:g}),e.jsx(x,{svg:H,size:"level-5"})]})})]})]})});p.displayName="Pagination";try{p.displayName="Pagination",p.__docgenInfo={description:"",displayName:"Pagination",props:{maxVisiblePages:{defaultValue:{value:"7"},description:"The maximum amount of pages shown. Minimum value: 5.",name:"maxVisiblePages",required:!1,type:{name:"number"}},nextLabel:{defaultValue:{value:"volgende"},description:"The visible label for the next page-button.",name:"nextLabel",required:!1,type:{name:"string"}},nextVisuallyHiddenLabel:{defaultValue:{value:"Volgende pagina"},description:"The accessible name for the next page-button.",name:"nextVisuallyHiddenLabel",required:!1,type:{name:"string"}},onPageChange:{defaultValue:null,description:"A function to run when the page number changes.",name:"onPageChange",required:!1,type:{name:"((page: number) => void)"}},page:{defaultValue:{value:"1"},description:"The current page number.",name:"page",required:!1,type:{name:"number"}},previousLabel:{defaultValue:{value:"vorige"},description:"The visible label for the previous page-button.",name:"previousLabel",required:!1,type:{name:"string"}},previousVisuallyHiddenLabel:{defaultValue:{value:"Vorige pagina"},description:"The accessible name for the previous page-button.",name:"previousVisuallyHiddenLabel",required:!1,type:{name:"string"}},totalPages:{defaultValue:null,description:"The total amount of pages.",name:"totalPages",required:!0,type:{name:"number"}},visuallyHiddenLabel:{defaultValue:{value:"Paginering"},description:"The accessible name for the Pagination component.",name:"visuallyHiddenLabel",required:!1,type:{name:"string"}}}}}catch{}const R={title:"Components/Navigation/Pagination",component:p,args:{page:1,maxVisiblePages:7,totalPages:10},argTypes:{onPageChange:{action:"page changed"},page:{control:{type:"number",min:1}}},decorators:[(o,{args:i})=>e.jsx("div",{id:"ams-docs-custom-root",children:e.jsx(o,{})},JSON.stringify(i))],parameters:{html:{root:"#ams-docs-custom-root"}}},m={};var y,_,j;m.parameters={...m.parameters,docs:{...(y=m.parameters)==null?void 0:y.docs,source:{originalSource:"{}",...(j=(_=m.parameters)==null?void 0:_.docs)==null?void 0:j.source}}};const k=["Default"],N=Object.freeze(Object.defineProperty({__proto__:null,Default:m,__namedExportsOrder:k,default:R},Symbol.toStringTag,{value:"Module"}));export{N as P}; +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{l as M,e as H}from"./index.esm-Bz9pa_xK.js";import{c as b}from"./clsx-B-dksMZM.js";import{r as c}from"./index-RigO-4kf.js";import{I as x}from"./Icon-B4wlDyQ3.js";function I(o,i,g){const s=Math.min(i,Math.max(g,5)),u=1;let r=o-Math.floor(s/2);return r=Math.max(r,u),r=Math.min(r,u+i-s),Array.from({length:s},(l,t)=>r+t).reduce((l,t,d)=>d===0&&t!==1?[1,"firstSpacer"]:i>s&&d===s-2&&o{const[n,L]=c.useState(r),C=c.useMemo(()=>I(n,t,i),[n,t,i]),h=a=>{u!==void 0&&u(a),L(a)},T=()=>{h(n-1)},q=()=>{h(n+1)},v=c.useId();return t<=1?null:e.jsxs("nav",{...V,"aria-labelledby":v,className:b("ams-pagination",o),ref:P,children:[e.jsx("span",{id:v,className:"ams-visually-hidden",children:d}),e.jsxs("ol",{className:"ams-pagination__list",children:[e.jsx("li",{children:e.jsxs("button",{className:"ams-pagination__button",disabled:n===1,onClick:T,type:"button",children:[e.jsx(x,{svg:M,size:"level-5"}),e.jsx("span",{className:"ams-visually-hidden",children:l}),e.jsx("span",{"aria-hidden":!0,children:f})]})}),C.map(a=>typeof a=="number"?e.jsx("li",{children:e.jsxs("button",{"aria-current":a===n?!0:void 0,className:b("ams-pagination__button",a===n&&"ams-pagination__button--current"),onClick:()=>a!==n&&h(a),tabIndex:a===n?-1:0,type:"button",children:[e.jsx("span",{className:"ams-visually-hidden",children:a===n?`Pagina ${a}`:`Ga naar pagina ${a}`}),e.jsx("span",{"aria-hidden":!0,children:a})]})},a):e.jsx("li",{"aria-hidden":!0,"data-testid":a,children:"…"},a)),e.jsx("li",{children:e.jsxs("button",{className:"ams-pagination__button",disabled:n===t,onClick:q,type:"button",children:[e.jsx("span",{className:"ams-visually-hidden",children:s}),e.jsx("span",{"aria-hidden":!0,children:g}),e.jsx(x,{svg:H,size:"level-5"})]})})]})]})});p.displayName="Pagination";try{p.displayName="Pagination",p.__docgenInfo={description:"",displayName:"Pagination",props:{maxVisiblePages:{defaultValue:{value:"7"},description:"The maximum amount of pages shown. Minimum value: 5.",name:"maxVisiblePages",required:!1,type:{name:"number"}},nextLabel:{defaultValue:{value:"volgende"},description:"The visible label for the next page-button.",name:"nextLabel",required:!1,type:{name:"string"}},nextVisuallyHiddenLabel:{defaultValue:{value:"Volgende pagina"},description:"The accessible name for the next page-button.",name:"nextVisuallyHiddenLabel",required:!1,type:{name:"string"}},onPageChange:{defaultValue:null,description:"A function to run when the page number changes.",name:"onPageChange",required:!1,type:{name:"((page: number) => void)"}},page:{defaultValue:{value:"1"},description:"The current page number.",name:"page",required:!1,type:{name:"number"}},previousLabel:{defaultValue:{value:"vorige"},description:"The visible label for the previous page-button.",name:"previousLabel",required:!1,type:{name:"string"}},previousVisuallyHiddenLabel:{defaultValue:{value:"Vorige pagina"},description:"The accessible name for the previous page-button.",name:"previousVisuallyHiddenLabel",required:!1,type:{name:"string"}},totalPages:{defaultValue:null,description:"The total amount of pages.",name:"totalPages",required:!0,type:{name:"number"}},visuallyHiddenLabel:{defaultValue:{value:"Paginering"},description:"The accessible name for the Pagination component.",name:"visuallyHiddenLabel",required:!1,type:{name:"string"}}}}}catch{}const R={title:"Components/Navigation/Pagination",component:p,args:{page:1,maxVisiblePages:7,totalPages:10},argTypes:{onPageChange:{action:"page changed"},page:{control:{type:"number",min:1}}},decorators:[(o,{args:i})=>e.jsx("div",{id:"ams-docs-custom-root",children:e.jsx(o,{})},JSON.stringify(i))],parameters:{html:{root:"#ams-docs-custom-root"}}},m={};var y,_,j;m.parameters={...m.parameters,docs:{...(y=m.parameters)==null?void 0:y.docs,source:{originalSource:"{}",...(j=(_=m.parameters)==null?void 0:_.docs)==null?void 0:j.source}}};const k=["Default"],N=Object.freeze(Object.defineProperty({__proto__:null,Default:m,__namedExportsOrder:k,default:R},Symbol.toStringTag,{value:"Module"}));export{N as P}; diff --git a/demo-DES-969-file-list-component/assets/Paragraph-DZy4cHOZ.js b/demo-DES-969-file-list-component/assets/Paragraph-B2U4A2CY.js similarity index 83% rename from demo-DES-969-file-list-component/assets/Paragraph-DZy4cHOZ.js rename to demo-DES-969-file-list-component/assets/Paragraph-B2U4A2CY.js index c9f7606d98..3fb0ce2131 100644 --- a/demo-DES-969-file-list-component/assets/Paragraph-DZy4cHOZ.js +++ b/demo-DES-969-file-list-component/assets/Paragraph-B2U4A2CY.js @@ -1 +1 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{c as i}from"./clsx-B-dksMZM.js";import{r as n}from"./index-B-o1Wr-g.js";const a=n.forwardRef(({children:e,className:o,inverseColor:s,size:r,...p},l)=>t.jsx("p",{ref:l,className:i("ams-paragraph",r&&`ams-paragraph--${r}`,s&&"ams-paragraph--inverse-color",o),...p,children:e}));a.displayName="Paragraph";try{a.displayName="Paragraph",a.__docgenInfo={description:"",displayName:"Paragraph",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"The size of the text.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'}]}}}}}catch{}export{a as P}; +import{j as t}from"./jsx-runtime-BjgbQsUx.js";import{c as i}from"./clsx-B-dksMZM.js";import{r as n}from"./index-RigO-4kf.js";const a=n.forwardRef(({children:e,className:o,inverseColor:s,size:r,...p},l)=>t.jsx("p",{ref:l,className:i("ams-paragraph",r&&`ams-paragraph--${r}`,s&&"ams-paragraph--inverse-color",o),...p,children:e}));a.displayName="Paragraph";try{a.displayName="Paragraph",a.__docgenInfo={description:"",displayName:"Paragraph",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"The size of the text.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'}]}}}}}catch{}export{a as P}; diff --git a/demo-DES-969-file-list-component/assets/Paragraph.docs-BvgB37ue.js b/demo-DES-969-file-list-component/assets/Paragraph.docs-BXjtuHVm.js similarity index 80% rename from demo-DES-969-file-list-component/assets/Paragraph.docs-BvgB37ue.js rename to demo-DES-969-file-list-component/assets/Paragraph.docs-BXjtuHVm.js index f6a2415949..8aa85ca759 100644 --- a/demo-DES-969-file-list-component/assets/Paragraph.docs-BvgB37ue.js +++ b/demo-DES-969-file-list-component/assets/Paragraph.docs-BXjtuHVm.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as i,ar as h,as as p,at as a}from"./index-CsbqyhR0.js";import{P as l,L as c,S as d,I as g}from"./Paragraph.stories-BthwCSgv.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./exampleContent-hIIPvEhU.js";import"./Paragraph-DZy4cHOZ.js";import"./clsx-B-dksMZM.js";const m=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as s,aq as i,ar as h,as as p,at as a}from"./index-DEYBsmB_.js";import{P as l,L as c,S as d,I as g}from"./Paragraph.stories--7CE_aZk.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./exampleContent-hIIPvEhU.js";import"./Paragraph-B2U4A2CY.js";import"./clsx-B-dksMZM.js";const m=` # Paragraph @@ -46,4 +46,4 @@ Keep these texts short.`}),` `,e.jsx(t.h3,{id:"inverse-colour",children:"Inverse colour"}),` `,e.jsxs(t.p,{children:["Set the ",e.jsx(t.code,{children:"inverseColor"}),` prop if the Paragraph sits on a dark background. This ensures the colour of the text provides enough contrast.`]}),` -`,e.jsx(a,{of:g})]})}function M(n={}){const{wrapper:t}={...o(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(r,{...n})}):r(n)}export{M as default}; +`,e.jsx(a,{of:g})]})}function z(n={}){const{wrapper:t}={...o(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(r,{...n})}):r(n)}export{z as default}; diff --git a/demo-DES-969-file-list-component/assets/Paragraph.stories-BthwCSgv.js b/demo-DES-969-file-list-component/assets/Paragraph.stories--7CE_aZk.js similarity index 97% rename from demo-DES-969-file-list-component/assets/Paragraph.stories-BthwCSgv.js rename to demo-DES-969-file-list-component/assets/Paragraph.stories--7CE_aZk.js index e09b988dc4..8f5505a841 100644 --- a/demo-DES-969-file-list-component/assets/Paragraph.stories-BthwCSgv.js +++ b/demo-DES-969-file-list-component/assets/Paragraph.stories--7CE_aZk.js @@ -1,4 +1,4 @@ -import{b as S}from"./exampleContent-hIIPvEhU.js";import{P as h}from"./Paragraph-DZy4cHOZ.js";/** +import{b as S}from"./exampleContent-hIIPvEhU.js";import{P as h}from"./Paragraph-B2U4A2CY.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const x=S(),T={title:"Components/Text/Paragraph",component:h,args:{children:x,inverseColor:!1},argTypes:{children:{description:"The paragraph text.",table:{disable:!1}},size:{control:{type:"radio",labels:{small:"small",undefined:"medium",large:"large"}},options:["small",void 0,"large"]}}},e={},r={args:{size:"large"}},a={args:{size:"small"}},s={args:{inverseColor:!0}};var o,t,l;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(l=(t=e.parameters)==null?void 0:t.docs)==null?void 0:l.source}}};var n,c,p;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/PasswordInput.docs-CEt1xquh.js b/demo-DES-969-file-list-component/assets/PasswordInput.docs-BdYX8spy.js similarity index 79% rename from demo-DES-969-file-list-component/assets/PasswordInput.docs-CEt1xquh.js rename to demo-DES-969-file-list-component/assets/PasswordInput.docs-BdYX8spy.js index facb1a8b0b..987455769e 100644 --- a/demo-DES-969-file-list-component/assets/PasswordInput.docs-CEt1xquh.js +++ b/demo-DES-969-file-list-component/assets/PasswordInput.docs-BdYX8spy.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,aq as a,ar as d,as as h,at as t}from"./index-CsbqyhR0.js";import{P as p,I as c,a as l}from"./PasswordInput.stories-ajnz_2K-.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const m=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as i,aq as a,ar as d,as as h,at as t}from"./index-DEYBsmB_.js";import{P as p,I as c,a as l}from"./PasswordInput.stories-iRzY7fKz.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const m=` # Password Input @@ -42,4 +42,4 @@ Follow the [guidelines for asking for passwords](https://design-system.service.g `,e.jsx(n.h3,{id:"in-a-field-with-validation",children:"In a Field with validation"}),` `,e.jsxs(n.p,{children:["If the Password Input can become invalid, add an Error Message and its ",e.jsx(n.code,{children:"id"})," to the ",e.jsx(n.code,{children:"aria-describedby"})," attribute of the Password Input."]}),` `,e.jsxs(n.p,{children:["Check ",e.jsx(n.a,{href:"/docs/components-forms-field--docs",children:"the Field docs"})," for more information on configuring it."]}),` -`,e.jsx(t,{of:l})]})}function D(s={}){const{wrapper:n}={...o(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{D as default}; +`,e.jsx(t,{of:l})]})}function E(s={}){const{wrapper:n}={...o(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{E as default}; diff --git a/demo-DES-969-file-list-component/assets/PasswordInput.stories-ajnz_2K-.js b/demo-DES-969-file-list-component/assets/PasswordInput.stories-iRzY7fKz.js similarity index 93% rename from demo-DES-969-file-list-component/assets/PasswordInput.stories-ajnz_2K-.js rename to demo-DES-969-file-list-component/assets/PasswordInput.stories-iRzY7fKz.js index 3fe16d0fdd..58f504f390 100644 --- a/demo-DES-969-file-list-component/assets/PasswordInput.stories-ajnz_2K-.js +++ b/demo-DES-969-file-list-component/assets/PasswordInput.stories-iRzY7fKz.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{e as v,f as h,P as b,E as f}from"./index.esm-Dojcg4AG.js";import{c as y}from"./clsx-B-dksMZM.js";import{r as I}from"./index-B-o1Wr-g.js";const i=I.forwardRef(({className:r,dir:j,invalid:F,...x},P)=>e.jsx("input",{...x,"aria-invalid":F||void 0,autoCorrect:"off",className:y("ams-password-input",r),dir:j??"auto",ref:P,spellCheck:"false",type:"password"}));i.displayName="PasswordInput";try{i.displayName="PasswordInput",i.__docgenInfo={description:"",displayName:"PasswordInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const _={title:"Components/Forms/Password Input",component:i,args:{disabled:!1,invalid:!1},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},a={},s={render:r=>e.jsxs(v,{invalid:r.invalid,children:[e.jsx(h,{htmlFor:"input1",children:"Label"}),e.jsx(b,{id:"description1",size:"small",children:"Omschrijving."}),r.invalid&&e.jsx(f,{id:"error1",children:"Foutmelding."}),e.jsx(i,{"aria-describedby":`description1${r.invalid?" error1":""}`,id:"input1",...r})]})},d={args:{invalid:!0},render:r=>e.jsxs(v,{invalid:r.invalid,children:[e.jsx(h,{htmlFor:"input2",children:"Label"}),e.jsx(b,{id:"description2",size:"small",children:"Omschrijving."}),r.invalid&&e.jsx(f,{id:"error2",children:"Foutmelding."}),e.jsx(i,{"aria-describedby":`description2${r.invalid?" error2":""}`,id:"input2",...r})]})};var o,n,t;a.parameters={...a.parameters,docs:{...(o=a.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(t=(n=a.parameters)==null?void 0:n.docs)==null?void 0:t.source}}};var l,p,c;s.parameters={...s.parameters,docs:{...(l=s.parameters)==null?void 0:l.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{e as v,f as h,P as b,E as f}from"./index.esm-CEzKrmam.js";import{c as y}from"./clsx-B-dksMZM.js";import{r as I}from"./index-RigO-4kf.js";const i=I.forwardRef(({className:r,dir:j,invalid:F,...x},P)=>e.jsx("input",{...x,"aria-invalid":F||void 0,autoCorrect:"off",className:y("ams-password-input",r),dir:j??"auto",ref:P,spellCheck:"false",type:"password"}));i.displayName="PasswordInput";try{i.displayName="PasswordInput",i.__docgenInfo={description:"",displayName:"PasswordInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const _={title:"Components/Forms/Password Input",component:i,args:{disabled:!1,invalid:!1},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},a={},s={render:r=>e.jsxs(v,{invalid:r.invalid,children:[e.jsx(h,{htmlFor:"input1",children:"Label"}),e.jsx(b,{id:"description1",size:"small",children:"Omschrijving."}),r.invalid&&e.jsx(f,{id:"error1",children:"Foutmelding."}),e.jsx(i,{"aria-describedby":`description1${r.invalid?" error1":""}`,id:"input1",...r})]})},d={args:{invalid:!0},render:r=>e.jsxs(v,{invalid:r.invalid,children:[e.jsx(h,{htmlFor:"input2",children:"Label"}),e.jsx(b,{id:"description2",size:"small",children:"Omschrijving."}),r.invalid&&e.jsx(f,{id:"error2",children:"Foutmelding."}),e.jsx(i,{"aria-describedby":`description2${r.invalid?" error2":""}`,id:"input2",...r})]})};var o,n,t;a.parameters={...a.parameters,docs:{...(o=a.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(t=(n=a.parameters)==null?void 0:n.docs)==null?void 0:t.source}}};var l,p,c;s.parameters={...s.parameters,docs:{...(l=s.parameters)==null?void 0:l.docs,source:{originalSource:`{ render: args => diff --git a/demo-DES-969-file-list-component/assets/Radio.docs-CpwRrT9J.js b/demo-DES-969-file-list-component/assets/Radio.docs-CE2VzVVX.js similarity index 79% rename from demo-DES-969-file-list-component/assets/Radio.docs-CpwRrT9J.js rename to demo-DES-969-file-list-component/assets/Radio.docs-CE2VzVVX.js index 4b71b0696f..27937e9e5e 100644 --- a/demo-DES-969-file-list-component/assets/Radio.docs-CpwRrT9J.js +++ b/demo-DES-969-file-list-component/assets/Radio.docs-CE2VzVVX.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as a,aq as r,ar as d,as as c,at as i}from"./index-CsbqyhR0.js";import{R as l,I as h,a as m,W as p}from"./Radio.stories-X76H3-vz.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const u=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as r,aq as a,ar as d,as as c,at as i}from"./index-DEYBsmB_.js";import{R as l,I as h,a as m,W as p}from"./Radio.stories-ClYS-1fK.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const u=` # Radio @@ -18,8 +18,8 @@ Allows users to select one option from a list. Use a [Checkbox](/docs/components-forms-checkbox--docs) when a user can select more than 1 option from a list. `;/*@license CC0-1.0*/function t(n){const o={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",...s(),...n.components};return e.jsxs(e.Fragment,{children:[` `,` -`,e.jsx(a,{of:l}),` -`,e.jsx(r,{children:u}),` +`,e.jsx(r,{of:l}),` +`,e.jsx(a,{children:u}),` `,e.jsx(d,{}),` `,e.jsx(c,{}),` `,e.jsx(o.h2,{id:"examples",children:"Examples"}),` @@ -39,4 +39,4 @@ Even so, always set `,e.jsx(o.code,{children:"aria-required"})," on the individu `,e.jsxs(o.p,{children:[`Replace the icon with a custom version to use the Radio in a different theme or visual identity. Use `,e.jsx(o.code,{children:"ams-radio__circle"})," and ",e.jsx(o.code,{children:"ams-radio__checked-indicator"}),` classes in its SVG markup. Applications for the City of Amsterdam must use the default icon.`]}),` -`,e.jsx(i,{of:p})]})}function A(n={}){const{wrapper:o}={...s(),...n.components};return o?e.jsx(o,{...n,children:e.jsx(t,{...n})}):t(n)}export{A as default}; +`,e.jsx(i,{of:p})]})}function E(n={}){const{wrapper:o}={...s(),...n.components};return o?e.jsx(o,{...n,children:e.jsx(t,{...n})}):t(n)}export{E as default}; diff --git a/demo-DES-969-file-list-component/assets/Radio.stories-X76H3-vz.js b/demo-DES-969-file-list-component/assets/Radio.stories-ClYS-1fK.js similarity index 97% rename from demo-DES-969-file-list-component/assets/Radio.stories-X76H3-vz.js rename to demo-DES-969-file-list-component/assets/Radio.stories-ClYS-1fK.js index 98f48a0519..e191ef271b 100644 --- a/demo-DES-969-file-list-component/assets/Radio.stories-X76H3-vz.js +++ b/demo-DES-969-file-list-component/assets/Radio.stories-ClYS-1fK.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{F as N,P as C,E as w,C as S}from"./index.esm-Dojcg4AG.js";import{c as A}from"./clsx-B-dksMZM.js";import{r as u}from"./index-B-o1Wr-g.js";const W=a=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",...a,children:[e.jsx("circle",{cx:12,cy:12,r:10,className:"ams-radio__circle"}),e.jsx("circle",{cx:12,cy:12,r:9.5,className:"ams-radio__hover-indicator"}),e.jsx("circle",{cx:12,cy:12,r:6,className:"ams-radio__checked-indicator"})]});try{RadioIcon.displayName="RadioIcon",RadioIcon.__docgenInfo={description:"",displayName:"RadioIcon",props:{}}}catch{}const r=u.forwardRef(({children:a,className:l,icon:n,invalid:t,...E},k)=>{const m=u.useId();return e.jsxs("div",{className:A("ams-radio",l),children:[e.jsx("input",{...E,"aria-invalid":t||void 0,className:"ams-radio__input",id:m,ref:k,type:"radio"}),e.jsxs("label",{className:"ams-radio__label",htmlFor:m,children:[e.jsx("span",{className:"ams-radio__icon-container",children:n??e.jsx(W,{})}),a]})]})});r.displayName="Radio";try{r.displayName="Radio",r.__docgenInfo={description:"",displayName:"Radio",props:{icon:{defaultValue:null,description:"An icon to display instead of the default icon.",name:"icon",required:!1,type:{name:"ReactNode"}},invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const c=a=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32","aria-hidden":"true",focusable:"false",...a,children:[e.jsx("path",{className:"ams-radio__circle",d:"M 13.92 20.26 z m -0.1088 4.6456 l -2.336 -2.324 c -4.0904 -3.7048 -5.592 -5.1368 -7.1088 -6.9104 C 2.16 13.0928 1 10.7624 1 8 C 1 4.032 4.232 0.8 8.4 0.8 c 2.012 0 3.9624 0.808 5.4 4 C 15.2368 1.6088 17.1872 0.8 19.2 0.8 C 23.368 0.8 26.6 4.032 26.6 8.2 c 0 2.5624 -1.16 4.8928 -3.3672 7.472 c -1.516 1.7712 -3.0144 3.2 -7.104 6.904 z"}),e.jsx("path",{className:"ams-radio__checked-indicator",d:"M 13.92 20.26 z m -0.1088 4.6456 l -2.336 -2.324 c -4.0904 -3.7048 -5.592 -5.1368 -7.1088 -6.9104 C 2.16 13.0928 1 10.7624 1 8 C 1 4.032 4.232 0.8 8.4 0.8 c 2.012 0 3.9624 0.808 5.4 4 C 15.2368 1.6088 17.1872 0.8 19.2 0.8 C 23.368 0.8 26.6 4.032 26.6 8.2 c 0 2.5624 -1.16 4.8928 -3.3672 7.472 c -1.516 1.7712 -3.0144 3.2 -7.104 6.904 z"})]});try{c.displayName="CustomIcon",c.__docgenInfo={description:"",displayName:"CustomIcon",props:{}}}catch{}const{useArgs:F}=__STORYBOOK_MODULE_PREVIEW_API__,P={title:"Components/Forms/Radio",component:r,args:{checked:!1,children:"Radio label",disabled:!1,invalid:!1},argTypes:{checked:{description:"Whether the control is checked."},children:{description:"The text for the label.",table:{disable:!1}},disabled:{description:"Prevents interaction. Avoid if possible."},icon:{table:{disable:!0}},invalid:{description:"Whether the value fails a validation rule."},onChange:{action:"clicked",table:{disable:!0}}},render:a=>{const[,l]=F(),n=t=>{l({checked:t.target.checked})};return e.jsx(r,{onClick:n,...a})}},s={},i={argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(N,{"aria-describedby":`description1${a?" error1":""}`,invalid:a,legend:"Waar gaat uw melding over?",role:"radiogroup",children:[e.jsx(C,{className:"ams-mb--sm",id:"description1",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(w,{className:"ams-mb--sm",id:"error1",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(S,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})},d={args:{invalid:!0},argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(N,{"aria-describedby":`description2${a?" error2":""}`,invalid:a,legend:"Waar gaat uw melding over?",role:"radiogroup",children:[e.jsx(C,{className:"ams-mb--sm",id:"description2",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(w,{className:"ams-mb--sm",id:"error2",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(S,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})},o={args:{icon:e.jsx(c,{})}};var p,b,g;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(g=(b=s.parameters)==null?void 0:b.docs)==null?void 0:g.source}}};var h,v,_;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{F as N,P as C,E as w,C as S}from"./index.esm-CEzKrmam.js";import{c as A}from"./clsx-B-dksMZM.js";import{r as u}from"./index-RigO-4kf.js";const W=a=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",...a,children:[e.jsx("circle",{cx:12,cy:12,r:10,className:"ams-radio__circle"}),e.jsx("circle",{cx:12,cy:12,r:9.5,className:"ams-radio__hover-indicator"}),e.jsx("circle",{cx:12,cy:12,r:6,className:"ams-radio__checked-indicator"})]});try{RadioIcon.displayName="RadioIcon",RadioIcon.__docgenInfo={description:"",displayName:"RadioIcon",props:{}}}catch{}const r=u.forwardRef(({children:a,className:l,icon:n,invalid:t,...E},k)=>{const m=u.useId();return e.jsxs("div",{className:A("ams-radio",l),children:[e.jsx("input",{...E,"aria-invalid":t||void 0,className:"ams-radio__input",id:m,ref:k,type:"radio"}),e.jsxs("label",{className:"ams-radio__label",htmlFor:m,children:[e.jsx("span",{className:"ams-radio__icon-container",children:n??e.jsx(W,{})}),a]})]})});r.displayName="Radio";try{r.displayName="Radio",r.__docgenInfo={description:"",displayName:"Radio",props:{icon:{defaultValue:null,description:"An icon to display instead of the default icon.",name:"icon",required:!1,type:{name:"ReactNode"}},invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const c=a=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32","aria-hidden":"true",focusable:"false",...a,children:[e.jsx("path",{className:"ams-radio__circle",d:"M 13.92 20.26 z m -0.1088 4.6456 l -2.336 -2.324 c -4.0904 -3.7048 -5.592 -5.1368 -7.1088 -6.9104 C 2.16 13.0928 1 10.7624 1 8 C 1 4.032 4.232 0.8 8.4 0.8 c 2.012 0 3.9624 0.808 5.4 4 C 15.2368 1.6088 17.1872 0.8 19.2 0.8 C 23.368 0.8 26.6 4.032 26.6 8.2 c 0 2.5624 -1.16 4.8928 -3.3672 7.472 c -1.516 1.7712 -3.0144 3.2 -7.104 6.904 z"}),e.jsx("path",{className:"ams-radio__checked-indicator",d:"M 13.92 20.26 z m -0.1088 4.6456 l -2.336 -2.324 c -4.0904 -3.7048 -5.592 -5.1368 -7.1088 -6.9104 C 2.16 13.0928 1 10.7624 1 8 C 1 4.032 4.232 0.8 8.4 0.8 c 2.012 0 3.9624 0.808 5.4 4 C 15.2368 1.6088 17.1872 0.8 19.2 0.8 C 23.368 0.8 26.6 4.032 26.6 8.2 c 0 2.5624 -1.16 4.8928 -3.3672 7.472 c -1.516 1.7712 -3.0144 3.2 -7.104 6.904 z"})]});try{c.displayName="CustomIcon",c.__docgenInfo={description:"",displayName:"CustomIcon",props:{}}}catch{}const{useArgs:F}=__STORYBOOK_MODULE_PREVIEW_API__,P={title:"Components/Forms/Radio",component:r,args:{checked:!1,children:"Radio label",disabled:!1,invalid:!1},argTypes:{checked:{description:"Whether the control is checked."},children:{description:"The text for the label.",table:{disable:!1}},disabled:{description:"Prevents interaction. Avoid if possible."},icon:{table:{disable:!0}},invalid:{description:"Whether the value fails a validation rule."},onChange:{action:"clicked",table:{disable:!0}}},render:a=>{const[,l]=F(),n=t=>{l({checked:t.target.checked})};return e.jsx(r,{onClick:n,...a})}},s={},i={argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(N,{"aria-describedby":`description1${a?" error1":""}`,invalid:a,legend:"Waar gaat uw melding over?",role:"radiogroup",children:[e.jsx(C,{className:"ams-mb--sm",id:"description1",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(w,{className:"ams-mb--sm",id:"error1",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(S,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})},d={args:{invalid:!0},argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(N,{"aria-describedby":`description2${a?" error2":""}`,invalid:a,legend:"Waar gaat uw melding over?",role:"radiogroup",children:[e.jsx(C,{className:"ams-mb--sm",id:"description2",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(w,{className:"ams-mb--sm",id:"error2",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(S,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})},o={args:{icon:e.jsx(c,{})}};var p,b,g;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(g=(b=s.parameters)==null?void 0:b.docs)==null?void 0:g.source}}};var h,v,_;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ argTypes: { checked: { table: { diff --git a/demo-DES-969-file-list-component/assets/Row.docs-ChM3RCmf.js b/demo-DES-969-file-list-component/assets/Row.docs-DtkD1Uo0.js similarity index 85% rename from demo-DES-969-file-list-component/assets/Row.docs-ChM3RCmf.js rename to demo-DES-969-file-list-component/assets/Row.docs-DtkD1Uo0.js index 863bf804b4..52b3950a72 100644 --- a/demo-DES-969-file-list-component/assets/Row.docs-ChM3RCmf.js +++ b/demo-DES-969-file-list-component/assets/Row.docs-DtkD1Uo0.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as l}from"./index-BSj771as.js";import{ae as o,aq as r,ar as a,as as h,at as t}from"./index-CsbqyhR0.js";import{R as d,A as c,E as p,a as g,b as x,V as m,W as j}from"./Row.stories-C7A2fCsS.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./types-B5YJ6HHW.js";const f=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as l}from"./index-3rgQkYFR.js";import{ae as o,aq as r,ar as a,as as h,at as t}from"./index-DEYBsmB_.js";import{R as d,A as c,E as p,a as g,b as m,V as x,W as j}from"./Row.stories-D-qzFHD3.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./types-B5YJ6HHW.js";const f=` # Row @@ -42,7 +42,7 @@ This option has no class name or prop value.`]}),` `,e.jsxs(n.li,{children:["Add ",e.jsx(n.code,{children:'alignVertical="baseline"'})," to align them vertically to their common baseline."]}),` `,e.jsxs(n.li,{children:["Include ",e.jsx(n.code,{children:"wrap"})," to allow the link to wrap to a new line if both components don’t fit on the same line."]}),` `]}),` -`,e.jsx(t,{of:x}),` +`,e.jsx(t,{of:m}),` `,e.jsx(n.h3,{id:"vertical-alignment",children:"Vertical alignment"}),` `,e.jsx(n.p,{children:"Items in the row can be aligned vertically in several ways:"}),` `,e.jsxs(n.ul,{children:[` @@ -54,7 +54,7 @@ This option has no class name or prop value.`]}),` `,e.jsxs(n.p,{children:["By default, items ",e.jsx(n.strong,{children:"stretch"}),` to the height of the row. This option has no class name or prop value.`]}),` `,e.jsx(n.p,{children:"This example centers three items vertically."}),` -`,e.jsx(t,{of:m}),` +`,e.jsx(t,{of:x}),` `,e.jsx(n.h3,{id:"wrapping",children:"Wrapping"}),` `,e.jsx(n.p,{children:"Items that may not fit together on a single line should be allowed to wrap onto multiple lines."}),` -`,e.jsx(t,{of:j})]})}function D(i={}){const{wrapper:n}={...l(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(s,{...i})}):s(i)}export{D as default}; +`,e.jsx(t,{of:j})]})}function I(i={}){const{wrapper:n}={...l(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(s,{...i})}):s(i)}export{I as default}; diff --git a/demo-DES-969-file-list-component/assets/Row.stories-C7A2fCsS.js b/demo-DES-969-file-list-component/assets/Row.stories-D-qzFHD3.js similarity index 96% rename from demo-DES-969-file-list-component/assets/Row.stories-C7A2fCsS.js rename to demo-DES-969-file-list-component/assets/Row.stories-D-qzFHD3.js index 24823114b4..5d0c306775 100644 --- a/demo-DES-969-file-list-component/assets/Row.stories-C7A2fCsS.js +++ b/demo-DES-969-file-list-component/assets/Row.stories-D-qzFHD3.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{h as $,H as z,L as D}from"./index.esm-Dojcg4AG.js";import{m as I,a as M}from"./types-B5YJ6HHW.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as F}from"./index-B-o1Wr-g.js";const c=F.forwardRef(({align:a,alignVertical:m,as:L="div",children:q,className:C,gap:d,wrap:H,...B},W)=>e.jsx(L,{...B,ref:W,className:P("ams-row",a&&`ams-row--align-${a}`,m&&`ams-row--align-vertical-${m}`,d&&`ams-row--gap-${d}`,H&&"ams-row--wrap",C),children:q}));c.displayName="Row";try{c.displayName="Row",c.__docgenInfo={description:"",displayName:"Row",props:{align:{defaultValue:{value:"start"},description:"The horizontal alignment of the items in the row.",name:"align",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"between"'},{value:'"around"'},{value:'"evenly"'}]}},alignVertical:{defaultValue:{value:"stretch"},description:"The vertical alignment of the items in the row.",name:"alignVertical",required:!1,type:{name:"enum",value:[{value:'"baseline"'},{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},as:{defaultValue:{value:"div"},description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'}]}},gap:{defaultValue:{value:"medium"},description:"The amount of space between items.",name:"gap",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"small"'},{value:'"large"'},{value:'"extra-small"'},{value:'"extra-large"'}]}},wrap:{defaultValue:{value:"false"},description:"Whether items of the row can wrap onto multiple lines.",name:"wrap",required:!1,type:{name:"boolean"}}}}}catch{}const G=[e.jsx("div",{className:"ams-docs-item"},0),e.jsx("div",{className:"ams-docs-item"},1),e.jsx("div",{className:"ams-docs-item"},2)],J={title:"Components/Layout/Row",component:c,args:{children:G,className:"ams-docs-row"},argTypes:{align:{control:{type:"radio",labels:{undefined:"start"}},options:[void 0,...I]},alignVertical:{control:{type:"radio",labels:{undefined:"stretch"}},options:[void 0,...M]},className:{table:{disable:!0}},gap:{control:{type:"radio",labels:{undefined:"medium"}},options:["none","extra-small","small",void 0,"large","extra-large"]}}},r={},s={args:{align:"evenly"}},n={args:{align:"end",alignVertical:"center",children:e.jsx($,{label:"AB"})}},l={args:{align:"end",dir:"rtl"},argTypes:{dir:{table:{disable:!0}}}},t={args:{align:"between",alignVertical:"baseline",children:[e.jsx(z,{level:3,children:"An example heading"}),e.jsx(D,{href:"#",children:"An example link"})],className:void 0,wrap:!0}},i={args:{alignVertical:"center"}},o={args:{children:Array.from(Array(4).keys()).map(a=>e.jsx("span",{className:"ams-docs-item",style:{flexBasis:"16rem"}},a)),wrap:!0}};var p,u,g;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(g=(u=r.parameters)==null?void 0:u.docs)==null?void 0:g.source}}};var v,f,h;s.parameters={...s.parameters,docs:{...(v=s.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{h as $,H as z,L as D}from"./index.esm-CEzKrmam.js";import{m as I,a as M}from"./types-B5YJ6HHW.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as F}from"./index-RigO-4kf.js";const c=F.forwardRef(({align:a,alignVertical:m,as:L="div",children:q,className:C,gap:d,wrap:H,...B},W)=>e.jsx(L,{...B,ref:W,className:P("ams-row",a&&`ams-row--align-${a}`,m&&`ams-row--align-vertical-${m}`,d&&`ams-row--gap-${d}`,H&&"ams-row--wrap",C),children:q}));c.displayName="Row";try{c.displayName="Row",c.__docgenInfo={description:"",displayName:"Row",props:{align:{defaultValue:{value:"start"},description:"The horizontal alignment of the items in the row.",name:"align",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"between"'},{value:'"around"'},{value:'"evenly"'}]}},alignVertical:{defaultValue:{value:"stretch"},description:"The vertical alignment of the items in the row.",name:"alignVertical",required:!1,type:{name:"enum",value:[{value:'"baseline"'},{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},as:{defaultValue:{value:"div"},description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'}]}},gap:{defaultValue:{value:"medium"},description:"The amount of space between items.",name:"gap",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"small"'},{value:'"large"'},{value:'"extra-small"'},{value:'"extra-large"'}]}},wrap:{defaultValue:{value:"false"},description:"Whether items of the row can wrap onto multiple lines.",name:"wrap",required:!1,type:{name:"boolean"}}}}}catch{}const G=[e.jsx("div",{className:"ams-docs-item"},0),e.jsx("div",{className:"ams-docs-item"},1),e.jsx("div",{className:"ams-docs-item"},2)],J={title:"Components/Layout/Row",component:c,args:{children:G,className:"ams-docs-row"},argTypes:{align:{control:{type:"radio",labels:{undefined:"start"}},options:[void 0,...I]},alignVertical:{control:{type:"radio",labels:{undefined:"stretch"}},options:[void 0,...M]},className:{table:{disable:!0}},gap:{control:{type:"radio",labels:{undefined:"medium"}},options:["none","extra-small","small",void 0,"large","extra-large"]}}},r={},s={args:{align:"evenly"}},n={args:{align:"end",alignVertical:"center",children:e.jsx($,{label:"AB"})}},l={args:{align:"end",dir:"rtl"},argTypes:{dir:{table:{disable:!0}}}},t={args:{align:"between",alignVertical:"baseline",children:[e.jsx(z,{level:3,children:"An example heading"}),e.jsx(D,{href:"#",children:"An example link"})],className:void 0,wrap:!0}},i={args:{alignVertical:"center"}},o={args:{children:Array.from(Array(4).keys()).map(a=>e.jsx("span",{className:"ams-docs-item",style:{flexBasis:"16rem"}},a)),wrap:!0}};var p,u,g;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(g=(u=r.parameters)==null?void 0:u.docs)==null?void 0:g.source}}};var v,f,h;s.parameters={...s.parameters,docs:{...(v=s.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { align: 'evenly' } diff --git a/demo-DES-969-file-list-component/assets/Screen.docs-GUx4yaTD.js b/demo-DES-969-file-list-component/assets/Screen.docs-DSBafJ7a.js similarity index 50% rename from demo-DES-969-file-list-component/assets/Screen.docs-GUx4yaTD.js rename to demo-DES-969-file-list-component/assets/Screen.docs-DSBafJ7a.js index 14c6e051e4..f272f04929 100644 --- a/demo-DES-969-file-list-component/assets/Screen.docs-GUx4yaTD.js +++ b/demo-DES-969-file-list-component/assets/Screen.docs-DSBafJ7a.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as i,aq as r,ar as a,as as m,at as c}from"./index-CsbqyhR0.js";import{S as d,E as p}from"./Screen.stories-DBafdEz8.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const h=` +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as i,aq as r,ar as a,as as m,at as c}from"./index-DEYBsmB_.js";import{S as d,E as p}from"./Screen.stories-BEbhUpOk.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const h=` # Screen @@ -21,12 +21,12 @@ By default, this component expands to a width of 1600 pixels. This is the maximum width for a website of the City of Amsterdam. For applications, you can choose a larger maximum width of 2112 pixels. The component horizontally centres both itself and its content. -`;/*@license CC0-1.0*/function t(o){const e={h2:"h2",h3:"h3",...s(),...o.components};return n.jsxs(n.Fragment,{children:[` +`;/*@license CC0-1.0*/function e(o){const t={h2:"h2",h3:"h3",...s(),...o.components};return n.jsxs(n.Fragment,{children:[` `,` `,n.jsx(i,{of:d}),` `,n.jsx(r,{children:h}),` `,n.jsx(a,{}),` `,n.jsx(m,{}),` -`,n.jsx(e.h2,{id:"examples",children:"Examples"}),` -`,n.jsx(e.h3,{id:"extra-wide",children:"Extra wide"}),` -`,n.jsx(c,{of:p})]})}function D(o={}){const{wrapper:e}={...s(),...o.components};return e?n.jsx(e,{...o,children:n.jsx(t,{...o})}):t(o)}export{D as default}; +`,n.jsx(t.h2,{id:"examples",children:"Examples"}),` +`,n.jsx(t.h3,{id:"extra-wide",children:"Extra wide"}),` +`,n.jsx(c,{of:p})]})}function F(o={}){const{wrapper:t}={...s(),...o.components};return t?n.jsx(t,{...o,children:n.jsx(e,{...o})}):e(o)}export{F as default}; diff --git a/demo-DES-969-file-list-component/assets/Screen.stories-DBafdEz8.js b/demo-DES-969-file-list-component/assets/Screen.stories-BEbhUpOk.js similarity index 93% rename from demo-DES-969-file-list-component/assets/Screen.stories-DBafdEz8.js rename to demo-DES-969-file-list-component/assets/Screen.stories-BEbhUpOk.js index 80875407cc..1fc3f86c81 100644 --- a/demo-DES-969-file-list-component/assets/Screen.stories-DBafdEz8.js +++ b/demo-DES-969-file-list-component/assets/Screen.stories-BEbhUpOk.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-j_jdvEMj.js";import{c as x}from"./clsx-B-dksMZM.js";import{r as g}from"./index-B-o1Wr-g.js";const a=g.forwardRef(({children:t,className:l,fullHeight:p,maxWidth:u="wide",...h},f)=>s.jsx("div",{...h,ref:f,className:x("ams-screen",p&&"ams-screen--full-height",`ams-screen--${u}`,l),children:t}));a.displayName="Screen";try{a.displayName="Screen",a.__docgenInfo={description:"",displayName:"Screen",props:{fullHeight:{defaultValue:null,description:"Whether the screen should stretch to the full height of the viewport.",name:"fullHeight",required:!1,type:{name:"boolean"}},maxWidth:{defaultValue:{value:"wide"},description:"The maximum width of the screen.",name:"maxWidth",required:!1,type:{name:"enum",value:[{value:'"wide"'},{value:'"x-wide"'}]}}}}}catch{}const _={title:"Components/Layout/Screen",component:a,parameters:{layout:"fullscreen"}},e={args:{children:s.jsx("div",{className:"ams-docs-item",children:"Ik pas in het scherm."})}},r={args:{children:s.jsx("div",{className:"ams-docs-item",children:"Ik pas in een extra breed scherm."}),maxWidth:"x-wide"}};var c,i,o;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`{ +import{j as s}from"./jsx-runtime-BjgbQsUx.js";import{c as x}from"./clsx-B-dksMZM.js";import{r as g}from"./index-RigO-4kf.js";const a=g.forwardRef(({children:t,className:l,fullHeight:p,maxWidth:u="wide",...h},f)=>s.jsx("div",{...h,ref:f,className:x("ams-screen",p&&"ams-screen--full-height",`ams-screen--${u}`,l),children:t}));a.displayName="Screen";try{a.displayName="Screen",a.__docgenInfo={description:"",displayName:"Screen",props:{fullHeight:{defaultValue:null,description:"Whether the screen should stretch to the full height of the viewport.",name:"fullHeight",required:!1,type:{name:"boolean"}},maxWidth:{defaultValue:{value:"wide"},description:"The maximum width of the screen.",name:"maxWidth",required:!1,type:{name:"enum",value:[{value:'"wide"'},{value:'"x-wide"'}]}}}}}catch{}const _={title:"Components/Layout/Screen",component:a,parameters:{layout:"fullscreen"}},e={args:{children:s.jsx("div",{className:"ams-docs-item",children:"Ik pas in het scherm."})}},r={args:{children:s.jsx("div",{className:"ams-docs-item",children:"Ik pas in een extra breed scherm."}),maxWidth:"x-wide"}};var c,i,o;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`{ args: { children:
Ik pas in het scherm.
} diff --git a/demo-DES-969-file-list-component/assets/SearchField.docs-yw5ZDX8l.js b/demo-DES-969-file-list-component/assets/SearchField.docs-DSgdKcPR.js similarity index 78% rename from demo-DES-969-file-list-component/assets/SearchField.docs-yw5ZDX8l.js rename to demo-DES-969-file-list-component/assets/SearchField.docs-DSgdKcPR.js index 68caaff5e9..760e82e9d8 100644 --- a/demo-DES-969-file-list-component/assets/SearchField.docs-yw5ZDX8l.js +++ b/demo-DES-969-file-list-component/assets/SearchField.docs-DSgdKcPR.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as i,aq as s,ar as c,as as h,at as o}from"./index-CsbqyhR0.js";import{S as l,W as u,C as p}from"./SearchField.stories-8xLkmLHt.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./Button-CLCAbUHj.js";import"./Icon-D1obyjGa.js";const d=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as r}from"./index-3rgQkYFR.js";import{ae as i,aq as s,ar as c,as as h,at as o}from"./index-DEYBsmB_.js";import{S as l,W as u,C as p}from"./SearchField.stories-BpM-QaNP.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./Button-nAoFhtc2.js";import"./Icon-B4wlDyQ3.js";const d=` # Search Field @@ -47,4 +47,4 @@ Search Field is an interactive element, and the [general requirements and guidel `,e.jsx(t.p,{children:`By default, the search field is not managed by React but by the browser. However, it can be controlled by React. If you enter a value in this search field and use the search Button or the Enter key, you will receive a notification.`}),` -`,e.jsx(o,{of:p})]})}function M(n={}){const{wrapper:t}={...r(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(a,{...n})}):a(n)}export{M as default}; +`,e.jsx(o,{of:p})]})}function E(n={}){const{wrapper:t}={...r(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(a,{...n})}):a(n)}export{E as default}; diff --git a/demo-DES-969-file-list-component/assets/SearchField.stories-8xLkmLHt.js b/demo-DES-969-file-list-component/assets/SearchField.stories-BpM-QaNP.js similarity index 94% rename from demo-DES-969-file-list-component/assets/SearchField.stories-8xLkmLHt.js rename to demo-DES-969-file-list-component/assets/SearchField.stories-BpM-QaNP.js index 4e28548c36..40d45e1730 100644 --- a/demo-DES-969-file-list-component/assets/SearchField.stories-8xLkmLHt.js +++ b/demo-DES-969-file-list-component/assets/SearchField.stories-BpM-QaNP.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-j_jdvEMj.js";import{c as j}from"./clsx-B-dksMZM.js";import{r as u}from"./index-B-o1Wr-g.js";import{j as C}from"./index.esm-CEthAr-Q.js";import{B as N}from"./Button-CLCAbUHj.js";const I=u.forwardRef(({children:e="Zoeken",...r},t)=>a.jsx(N,{...r,icon:C,iconOnly:!0,ref:t,children:e}));I.displayName="SearchField.Button";try{SearchField.Button.displayName="SearchField.Button",SearchField.Button.__docgenInfo={description:"",displayName:"SearchField.Button",props:{}}}catch{}const D=u.forwardRef(({className:e,dir:r,invalid:t,label:o="Zoeken",...p},h)=>{const i=u.useId();return a.jsxs(a.Fragment,{children:[a.jsx("label",{htmlFor:i,className:"ams-visually-hidden",children:o}),a.jsx("input",{...p,"aria-invalid":t||void 0,autoComplete:"off",className:j("ams-search-field__input",e),dir:r??"auto",enterKeyHint:"search",id:i,ref:h,spellCheck:"false",type:"search"})]})});D.displayName="SearchField.Input";try{SearchField.Input.displayName="SearchField.Input",SearchField.Input.__docgenInfo={description:"",displayName:"SearchField.Input",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},label:{defaultValue:{value:"Zoeken"},description:"Describes the field for screen readers.",name:"label",required:!1,type:{name:"string"}}}}}catch{}const B=u.forwardRef(({children:e,className:r,...t},o)=>a.jsx("form",{role:"search",...t,ref:o,className:j("ams-search-field",r),children:e}));B.displayName="SearchField";const n=Object.assign(B,{Button:I,Input:D});try{n.displayName="SearchField",n.__docgenInfo={description:"",displayName:"SearchField",props:{}}}catch{}const{useArgs:w}=__STORYBOOK_MODULE_PREVIEW_API__,O={title:"Components/Forms/Search Field",component:n,args:{invalid:!1,onSubmit:e=>{e.preventDefault()}},argTypes:{label:{description:"Describes the field for screen readers."},onSubmit:{table:{disable:!0}},placeholder:{description:"Displayed while the field is empty."}},render:({invalid:e,label:r,placeholder:t,...o})=>a.jsxs(n,{...o,children:[a.jsx(n.Input,{invalid:e,label:r,placeholder:t}),a.jsx(n.Button,{})]})},s={},l={args:{placeholder:"Wat kunnen we voor u vinden?"}},c={args:{value:""},render:function({invalid:r,label:t,placeholder:o}){const[p,h]=w(),i=d=>{h({value:d.target.value})};return a.jsxs(n,{onSubmit:d=>{d.preventDefault();const m=new FormData(d.currentTarget).get("search-box");m&&alert(`Gezocht op '${m}'`)},children:[a.jsx(n.Input,{name:"search-box",value:p.value,invalid:r,label:t,onChange:i,placeholder:o}),a.jsx(n.Button,{})]})}};var f,g,_;s.parameters={...s.parameters,docs:{...(f=s.parameters)==null?void 0:f.docs,source:{originalSource:"{}",...(_=(g=s.parameters)==null?void 0:g.docs)==null?void 0:_.source}}};var v,S,F;l.parameters={...l.parameters,docs:{...(v=l.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-BjgbQsUx.js";import{c as j}from"./clsx-B-dksMZM.js";import{r as u}from"./index-RigO-4kf.js";import{j as C}from"./index.esm-Bz9pa_xK.js";import{B as N}from"./Button-nAoFhtc2.js";const I=u.forwardRef(({children:e="Zoeken",...r},t)=>a.jsx(N,{...r,icon:C,iconOnly:!0,ref:t,children:e}));I.displayName="SearchField.Button";try{SearchField.Button.displayName="SearchField.Button",SearchField.Button.__docgenInfo={description:"",displayName:"SearchField.Button",props:{}}}catch{}const D=u.forwardRef(({className:e,dir:r,invalid:t,label:o="Zoeken",...p},h)=>{const i=u.useId();return a.jsxs(a.Fragment,{children:[a.jsx("label",{htmlFor:i,className:"ams-visually-hidden",children:o}),a.jsx("input",{...p,"aria-invalid":t||void 0,autoComplete:"off",className:j("ams-search-field__input",e),dir:r??"auto",enterKeyHint:"search",id:i,ref:h,spellCheck:"false",type:"search"})]})});D.displayName="SearchField.Input";try{SearchField.Input.displayName="SearchField.Input",SearchField.Input.__docgenInfo={description:"",displayName:"SearchField.Input",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},label:{defaultValue:{value:"Zoeken"},description:"Describes the field for screen readers.",name:"label",required:!1,type:{name:"string"}}}}}catch{}const B=u.forwardRef(({children:e,className:r,...t},o)=>a.jsx("form",{role:"search",...t,ref:o,className:j("ams-search-field",r),children:e}));B.displayName="SearchField";const n=Object.assign(B,{Button:I,Input:D});try{n.displayName="SearchField",n.__docgenInfo={description:"",displayName:"SearchField",props:{}}}catch{}const{useArgs:w}=__STORYBOOK_MODULE_PREVIEW_API__,O={title:"Components/Forms/Search Field",component:n,args:{invalid:!1,onSubmit:e=>{e.preventDefault()}},argTypes:{label:{description:"Describes the field for screen readers."},onSubmit:{table:{disable:!0}},placeholder:{description:"Displayed while the field is empty."}},render:({invalid:e,label:r,placeholder:t,...o})=>a.jsxs(n,{...o,children:[a.jsx(n.Input,{invalid:e,label:r,placeholder:t}),a.jsx(n.Button,{})]})},s={},l={args:{placeholder:"Wat kunnen we voor u vinden?"}},c={args:{value:""},render:function({invalid:r,label:t,placeholder:o}){const[p,h]=w(),i=d=>{h({value:d.target.value})};return a.jsxs(n,{onSubmit:d=>{d.preventDefault();const m=new FormData(d.currentTarget).get("search-box");m&&alert(`Gezocht op '${m}'`)},children:[a.jsx(n.Input,{name:"search-box",value:p.value,invalid:r,label:t,onChange:i,placeholder:o}),a.jsx(n.Button,{})]})}};var f,g,_;s.parameters={...s.parameters,docs:{...(f=s.parameters)==null?void 0:f.docs,source:{originalSource:"{}",...(_=(g=s.parameters)==null?void 0:g.docs)==null?void 0:_.source}}};var v,S,F;l.parameters={...l.parameters,docs:{...(v=l.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { placeholder: 'Wat kunnen we voor u vinden?' } diff --git a/demo-DES-969-file-list-component/assets/Select.docs-DQRX7hpV.js b/demo-DES-969-file-list-component/assets/Select.docs-B_TjWgMn.js similarity index 69% rename from demo-DES-969-file-list-component/assets/Select.docs-DQRX7hpV.js rename to demo-DES-969-file-list-component/assets/Select.docs-B_TjWgMn.js index e546aa4e5c..c45f3c335c 100644 --- a/demo-DES-969-file-list-component/assets/Select.docs-DQRX7hpV.js +++ b/demo-DES-969-file-list-component/assets/Select.docs-B_TjWgMn.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as r,aq as d,ar as a,as as l,at as i}from"./index-CsbqyhR0.js";import{S as c,G as h,I as m,D as p,a as x,b as j}from"./Select.stories-MxkKYoae.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const f=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as r,aq as d,ar as a,as as l,at as i}from"./index-DEYBsmB_.js";import{S as c,G as h,I as m,D as p,a as x,b as j}from"./Select.stories-L1lXDLiv.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const f=` # Select @@ -7,7 +7,7 @@ A form control that allows users to select one or more options from a list. ## References - [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) -`;/*@license CC0-1.0*/function s(o){const n={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",...t(),...o.components};return e.jsxs(e.Fragment,{children:[` +`;/*@license CC0-1.0*/function t(o){const n={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",...s(),...o.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(r,{of:c}),` `,e.jsx(d,{children:f}),` @@ -34,4 +34,4 @@ The component requires a `,e.jsx(n.code,{children:"label"})," attribute."]}),` `,e.jsx(n.h3,{id:"in-a-field-with-validation",children:"In a Field with validation"}),` `,e.jsxs(n.p,{children:["If the Select can become invalid, add an Error Message and its ",e.jsx(n.code,{children:"id"})," to the ",e.jsx(n.code,{children:"aria-describedby"})," attribute of the Select."]}),` `,e.jsxs(n.p,{children:["Check ",e.jsx(n.a,{href:"/docs/components-forms-field--docs",children:"the Field docs"})," for more information on configuring it."]}),` -`,e.jsx(i,{of:j})]})}function G(o={}){const{wrapper:n}={...t(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(s,{...o})}):s(o)}export{G as default}; +`,e.jsx(i,{of:j})]})}function q(o={}){const{wrapper:n}={...s(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(t,{...o})}):t(o)}export{q as default}; diff --git a/demo-DES-969-file-list-component/assets/Select.stories-MxkKYoae.js b/demo-DES-969-file-list-component/assets/Select.stories-L1lXDLiv.js similarity index 97% rename from demo-DES-969-file-list-component/assets/Select.stories-MxkKYoae.js rename to demo-DES-969-file-list-component/assets/Select.stories-L1lXDLiv.js index dad1ae0ab4..960a1bcc77 100644 --- a/demo-DES-969-file-list-component/assets/Select.stories-MxkKYoae.js +++ b/demo-DES-969-file-list-component/assets/Select.stories-L1lXDLiv.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{e as P,f as W,P as B,E}from"./index.esm-Dojcg4AG.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as O}from"./index-B-o1Wr-g.js";const I=O.forwardRef(({children:t,className:i,...n},o)=>e.jsx("option",{...n,ref:o,className:u("ams-select__option",i),children:t}));I.displayName="Select.Option";try{Select.Option.displayName="Select.Option",Select.Option.__docgenInfo={description:"",displayName:"Select.Option",props:{}}}catch{}const A=O.forwardRef(({children:t,className:i,...n},o)=>e.jsx("optgroup",{...n,ref:o,className:u("ams-select__group",i),children:t}));A.displayName="Select.Group";try{Select.Group.displayName="Select.Group",Select.Group.__docgenInfo={description:"",displayName:"Select.Group",props:{}}}catch{}const H=O.forwardRef(({children:t,className:i,invalid:n,...o},K)=>e.jsx("select",{...o,"aria-invalid":n||void 0,className:u("ams-select",i),ref:K,children:t}));H.displayName="Select";const r=Object.assign(H,{Option:I,Group:A});try{r.displayName="Select",r.__docgenInfo={description:"",displayName:"Select",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const S=[e.jsx(r.Option,{value:"1",children:"Centrum"},"1"),e.jsx(r.Option,{value:"2",children:"Noord"},"2"),e.jsx(r.Option,{value:"3",children:"West"},"3"),e.jsx(r.Option,{value:"4",disabled:!0,children:"Westpoort"},"4"),e.jsx(r.Option,{value:"5",children:"Nieuw-West"},"6"),e.jsx(r.Option,{value:"6",children:"Zuid"},"7"),e.jsx(r.Option,{value:"7",children:"Zuidoost"},"8")],D={title:"Components/Forms/Select",component:r,args:{invalid:!1,disabled:!1,children:S},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},l={},a={args:{children:[e.jsxs(r.Group,{label:"Burgwallen-Oude Zijde",children:[e.jsx(r.Option,{children:"BG-terrein e.o."}),e.jsx(r.Option,{children:"Burgwallen oost"}),e.jsx(r.Option,{children:"Kop Zeedijk"}),e.jsx(r.Option,{children:"Nes e.o."}),e.jsx(r.Option,{children:"Oude Kerk e.o."})]},"1"),e.jsxs(r.Group,{label:"Burgwallen-Nieuwe Zijde",children:[e.jsx(r.Option,{children:"Begijnhofbuurt"}),e.jsx(r.Option,{children:"Hemelrijk"}),e.jsx(r.Option,{children:"Kalverdriehoek"}),e.jsx(r.Option,{children:"Nieuwe Kerk e.o."}),e.jsx(r.Option,{children:"Nieuwendijk Noord"}),e.jsx(r.Option,{children:"Spuistraat Noord"}),e.jsx(r.Option,{children:"Spuistraat Zuid"}),e.jsx(r.Option,{children:"Stationsplein e.o."})]},"2"),e.jsxs(r.Group,{label:"Grachtengordel-West",children:[e.jsx(r.Option,{children:"Felix Meritisbuurt"}),e.jsx(r.Option,{children:"Langestraat e.o."}),e.jsx(r.Option,{children:"Leidsegracht Noord"}),e.jsx(r.Option,{children:"Leliegracht e.o."})]},"3"),e.jsxs(r.Group,{label:"Haarlemmerbuurt",children:[e.jsx(r.Option,{children:"Haarlemmerbuurt Oost"}),e.jsx(r.Option,{children:"Haarlemmerbuurt West"}),e.jsx(r.Option,{children:"Planciusbuurt Noord"}),e.jsx(r.Option,{children:"Planciusbuurt Zuid"}),e.jsx(r.Option,{children:"Westelijke eilanden"}),e.jsx(r.Option,{children:"Westerdokseiland"})]},"4"),e.jsxs(r.Group,{label:"Jordaan",children:[e.jsx(r.Option,{children:"Anjeliersbuurt Noord"}),e.jsx(r.Option,{children:"Anjeliersbuurt Zuid"}),e.jsx(r.Option,{children:"Bloemgrachtbuurt"}),e.jsx(r.Option,{children:"Driehoekbuurt"}),e.jsx(r.Option,{children:"Elandsgrachtbuurt"}),e.jsx(r.Option,{children:"Groenmarktkadebuurt"}),e.jsx(r.Option,{children:"Marnixbuurt Midden"}),e.jsx(r.Option,{children:"Marnixbuurt Noord"}),e.jsx(r.Option,{children:"Marnixbuurt Zuid"}),e.jsx(r.Option,{children:"Passeerdersgrachtbuurt"}),e.jsx(r.Option,{children:"Zaagpoortbuurt"})]},"5")]}},s={args:{invalid:!0}},c={args:{disabled:!0}},d={render:t=>e.jsxs(P,{invalid:t.invalid,children:[e.jsx(W,{htmlFor:"input1",children:"Label"}),e.jsx(B,{id:"description1",size:"small",children:"Omschrijving."}),t.invalid&&e.jsx(E,{id:"error1",children:"Foutmelding."}),e.jsx(r,{"aria-describedby":`description1${t.invalid?" error1":""}`,id:"input1",...t,children:S})]})},p={args:{invalid:!0},render:t=>e.jsxs(P,{invalid:t.invalid,children:[e.jsx(W,{htmlFor:"input2",children:"Label"}),e.jsx(B,{id:"description2",size:"small",children:"Omschrijving."}),t.invalid&&e.jsx(E,{id:"error2",children:"Foutmelding."}),e.jsx(r,{"aria-describedby":`description2${t.invalid?" error2":""}`,id:"input2",...t,children:S})]})};var h,m,j;l.parameters={...l.parameters,docs:{...(h=l.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(j=(m=l.parameters)==null?void 0:m.docs)==null?void 0:j.source}}};var b,g,x;a.parameters={...a.parameters,docs:{...(b=a.parameters)==null?void 0:b.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{e as P,f as W,P as B,E}from"./index.esm-CEzKrmam.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as O}from"./index-RigO-4kf.js";const I=O.forwardRef(({children:t,className:i,...n},o)=>e.jsx("option",{...n,ref:o,className:u("ams-select__option",i),children:t}));I.displayName="Select.Option";try{Select.Option.displayName="Select.Option",Select.Option.__docgenInfo={description:"",displayName:"Select.Option",props:{}}}catch{}const A=O.forwardRef(({children:t,className:i,...n},o)=>e.jsx("optgroup",{...n,ref:o,className:u("ams-select__group",i),children:t}));A.displayName="Select.Group";try{Select.Group.displayName="Select.Group",Select.Group.__docgenInfo={description:"",displayName:"Select.Group",props:{}}}catch{}const H=O.forwardRef(({children:t,className:i,invalid:n,...o},K)=>e.jsx("select",{...o,"aria-invalid":n||void 0,className:u("ams-select",i),ref:K,children:t}));H.displayName="Select";const r=Object.assign(H,{Option:I,Group:A});try{r.displayName="Select",r.__docgenInfo={description:"",displayName:"Select",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const S=[e.jsx(r.Option,{value:"1",children:"Centrum"},"1"),e.jsx(r.Option,{value:"2",children:"Noord"},"2"),e.jsx(r.Option,{value:"3",children:"West"},"3"),e.jsx(r.Option,{value:"4",disabled:!0,children:"Westpoort"},"4"),e.jsx(r.Option,{value:"5",children:"Nieuw-West"},"6"),e.jsx(r.Option,{value:"6",children:"Zuid"},"7"),e.jsx(r.Option,{value:"7",children:"Zuidoost"},"8")],D={title:"Components/Forms/Select",component:r,args:{invalid:!1,disabled:!1,children:S},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},l={},a={args:{children:[e.jsxs(r.Group,{label:"Burgwallen-Oude Zijde",children:[e.jsx(r.Option,{children:"BG-terrein e.o."}),e.jsx(r.Option,{children:"Burgwallen oost"}),e.jsx(r.Option,{children:"Kop Zeedijk"}),e.jsx(r.Option,{children:"Nes e.o."}),e.jsx(r.Option,{children:"Oude Kerk e.o."})]},"1"),e.jsxs(r.Group,{label:"Burgwallen-Nieuwe Zijde",children:[e.jsx(r.Option,{children:"Begijnhofbuurt"}),e.jsx(r.Option,{children:"Hemelrijk"}),e.jsx(r.Option,{children:"Kalverdriehoek"}),e.jsx(r.Option,{children:"Nieuwe Kerk e.o."}),e.jsx(r.Option,{children:"Nieuwendijk Noord"}),e.jsx(r.Option,{children:"Spuistraat Noord"}),e.jsx(r.Option,{children:"Spuistraat Zuid"}),e.jsx(r.Option,{children:"Stationsplein e.o."})]},"2"),e.jsxs(r.Group,{label:"Grachtengordel-West",children:[e.jsx(r.Option,{children:"Felix Meritisbuurt"}),e.jsx(r.Option,{children:"Langestraat e.o."}),e.jsx(r.Option,{children:"Leidsegracht Noord"}),e.jsx(r.Option,{children:"Leliegracht e.o."})]},"3"),e.jsxs(r.Group,{label:"Haarlemmerbuurt",children:[e.jsx(r.Option,{children:"Haarlemmerbuurt Oost"}),e.jsx(r.Option,{children:"Haarlemmerbuurt West"}),e.jsx(r.Option,{children:"Planciusbuurt Noord"}),e.jsx(r.Option,{children:"Planciusbuurt Zuid"}),e.jsx(r.Option,{children:"Westelijke eilanden"}),e.jsx(r.Option,{children:"Westerdokseiland"})]},"4"),e.jsxs(r.Group,{label:"Jordaan",children:[e.jsx(r.Option,{children:"Anjeliersbuurt Noord"}),e.jsx(r.Option,{children:"Anjeliersbuurt Zuid"}),e.jsx(r.Option,{children:"Bloemgrachtbuurt"}),e.jsx(r.Option,{children:"Driehoekbuurt"}),e.jsx(r.Option,{children:"Elandsgrachtbuurt"}),e.jsx(r.Option,{children:"Groenmarktkadebuurt"}),e.jsx(r.Option,{children:"Marnixbuurt Midden"}),e.jsx(r.Option,{children:"Marnixbuurt Noord"}),e.jsx(r.Option,{children:"Marnixbuurt Zuid"}),e.jsx(r.Option,{children:"Passeerdersgrachtbuurt"}),e.jsx(r.Option,{children:"Zaagpoortbuurt"})]},"5")]}},s={args:{invalid:!0}},c={args:{disabled:!0}},d={render:t=>e.jsxs(P,{invalid:t.invalid,children:[e.jsx(W,{htmlFor:"input1",children:"Label"}),e.jsx(B,{id:"description1",size:"small",children:"Omschrijving."}),t.invalid&&e.jsx(E,{id:"error1",children:"Foutmelding."}),e.jsx(r,{"aria-describedby":`description1${t.invalid?" error1":""}`,id:"input1",...t,children:S})]})},p={args:{invalid:!0},render:t=>e.jsxs(P,{invalid:t.invalid,children:[e.jsx(W,{htmlFor:"input2",children:"Label"}),e.jsx(B,{id:"description2",size:"small",children:"Omschrijving."}),t.invalid&&e.jsx(E,{id:"error2",children:"Foutmelding."}),e.jsx(r,{"aria-describedby":`description2${t.invalid?" error2":""}`,id:"input2",...t,children:S})]})};var h,m,j;l.parameters={...l.parameters,docs:{...(h=l.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(j=(m=l.parameters)==null?void 0:m.docs)==null?void 0:j.source}}};var b,g,x;a.parameters={...a.parameters,docs:{...(b=a.parameters)==null?void 0:b.docs,source:{originalSource:`{ args: { children: [ BG-terrein e.o. diff --git a/demo-DES-969-file-list-component/assets/SkipLink.docs-Cy8zCLtq.js b/demo-DES-969-file-list-component/assets/SkipLink.docs-zmabAxo4.js similarity index 65% rename from demo-DES-969-file-list-component/assets/SkipLink.docs-Cy8zCLtq.js rename to demo-DES-969-file-list-component/assets/SkipLink.docs-zmabAxo4.js index 171f868565..4067d1e446 100644 --- a/demo-DES-969-file-list-component/assets/SkipLink.docs-Cy8zCLtq.js +++ b/demo-DES-969-file-list-component/assets/SkipLink.docs-zmabAxo4.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as r,ar as p,as as l,at as t}from"./index-CsbqyhR0.js";import{S as h,O as m,M as c}from"./SkipLink.stories-xhUKh_2a.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const d=` +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as s,aq as r,ar as p,as as l,at as t}from"./index-DEYBsmB_.js";import{S as m,O as h,M as c}from"./SkipLink.stories-BIcZH1Gp.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const d=` # Skip Link @@ -21,14 +21,14 @@ After appearing, it pushes the entire page down. - Skip Links are unnecessary on a simple page with only text and minimal navigation. `;/*@license CC0-1.0*/function a(i){const e={h2:"h2",h3:"h3",p:"p",...o(),...i.components};return n.jsxs(n.Fragment,{children:[` `,` -`,n.jsx(s,{of:h}),` +`,n.jsx(s,{of:m}),` `,n.jsx(r,{children:d}),` `,n.jsx(p,{}),` `,n.jsx(l,{}),` `,n.jsx(e.h2,{id:"examples",children:"Examples"}),` `,n.jsx(e.h3,{id:"display-on-focus",children:"Display on focus"}),` `,n.jsx(e.p,{children:"A Skip Link is only displayed when it receives focus."}),` -`,n.jsx(t,{of:m}),` +`,n.jsx(t,{of:h}),` `,n.jsx(e.h3,{id:"multiple-links",children:"Multiple links"}),` `,n.jsx(e.p,{children:"You can use more than one Skip Link if you have a complex page with multiple sections."}),` -`,n.jsx(t,{of:c})]})}function A(i={}){const{wrapper:e}={...o(),...i.components};return e?n.jsx(e,{...i,children:n.jsx(a,{...i})}):a(i)}export{A as default}; +`,n.jsx(t,{of:c})]})}function E(i={}){const{wrapper:e}={...o(),...i.components};return e?n.jsx(e,{...i,children:n.jsx(a,{...i})}):a(i)}export{E as default}; diff --git a/demo-DES-969-file-list-component/assets/SkipLink.stories-xhUKh_2a.js b/demo-DES-969-file-list-component/assets/SkipLink.stories-BIcZH1Gp.js similarity index 93% rename from demo-DES-969-file-list-component/assets/SkipLink.stories-xhUKh_2a.js rename to demo-DES-969-file-list-component/assets/SkipLink.stories-BIcZH1Gp.js index ebc28ac9e4..cafbb876c4 100644 --- a/demo-DES-969-file-list-component/assets/SkipLink.stories-xhUKh_2a.js +++ b/demo-DES-969-file-list-component/assets/SkipLink.stories-BIcZH1Gp.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as g}from"./index.esm-Dojcg4AG.js";import{c as y}from"./clsx-B-dksMZM.js";import{r as v}from"./index-B-o1Wr-g.js";const i=v.forwardRef(({children:n,className:u,...f},S)=>e.jsx("a",{...f,ref:S,className:y("ams-skip-link","ams-visually-hidden",u),children:n}));i.displayName="SkipLink";try{i.displayName="SkipLink",i.__docgenInfo={description:"",displayName:"SkipLink",props:{}}}catch{}const L={title:"Components/Navigation/Skip Link",component:i,args:{children:"Direct naar inhoud",href:"#"},argTypes:{children:{description:"The text to attach the link to.",table:{disable:!1}},href:{description:"The url for the link. References an anchor on the current page."},style:{table:{disable:!0}}}},r={args:{style:{clip:"initial",clipPath:"initial",height:"initial",overflow:"initial",position:"initial",whiteSpace:"initial",width:"initial"}}},t={decorators:[n=>e.jsxs(e.Fragment,{children:[e.jsx(g,{size:"small",style:{marginBottom:"2rem"},children:"Klik op deze tekst en druk vervolgens op tab om de Skip Link te tonen."}),e.jsx(n,{})]})]},a={render:()=>e.jsxs(e.Fragment,{children:[e.jsx(g,{size:"small",style:{marginBottom:"2rem"},children:"Klik op deze tekst en druk vervolgens twee keer op tab om de Skip Links te tonen."}),e.jsx(i,{href:"#",children:"Direct naar inhoud"}),e.jsx(i,{href:"#",children:"Direct naar contactgegevens"})]})};var o,s,l;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{P as g}from"./index.esm-CEzKrmam.js";import{c as y}from"./clsx-B-dksMZM.js";import{r as v}from"./index-RigO-4kf.js";const i=v.forwardRef(({children:n,className:u,...f},S)=>e.jsx("a",{...f,ref:S,className:y("ams-skip-link","ams-visually-hidden",u),children:n}));i.displayName="SkipLink";try{i.displayName="SkipLink",i.__docgenInfo={description:"",displayName:"SkipLink",props:{}}}catch{}const L={title:"Components/Navigation/Skip Link",component:i,args:{children:"Direct naar inhoud",href:"#"},argTypes:{children:{description:"The text to attach the link to.",table:{disable:!1}},href:{description:"The url for the link. References an anchor on the current page."},style:{table:{disable:!0}}}},r={args:{style:{clip:"initial",clipPath:"initial",height:"initial",overflow:"initial",position:"initial",whiteSpace:"initial",width:"initial"}}},t={decorators:[n=>e.jsxs(e.Fragment,{children:[e.jsx(g,{size:"small",style:{marginBottom:"2rem"},children:"Klik op deze tekst en druk vervolgens op tab om de Skip Link te tonen."}),e.jsx(n,{})]})]},a={render:()=>e.jsxs(e.Fragment,{children:[e.jsx(g,{size:"small",style:{marginBottom:"2rem"},children:"Klik op deze tekst en druk vervolgens twee keer op tab om de Skip Links te tonen."}),e.jsx(i,{href:"#",children:"Direct naar inhoud"}),e.jsx(i,{href:"#",children:"Direct naar contactgegevens"})]})};var o,s,l;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { // This resets the default behaviour of only showing the link // on focus, in order to always show the link in Storybook diff --git a/demo-DES-969-file-list-component/assets/Spotlight-DZdLn00J.js b/demo-DES-969-file-list-component/assets/Spotlight-CVxUBei2.js similarity index 85% rename from demo-DES-969-file-list-component/assets/Spotlight-DZdLn00J.js rename to demo-DES-969-file-list-component/assets/Spotlight-CVxUBei2.js index a5bccb4352..828b2ce5dc 100644 --- a/demo-DES-969-file-list-component/assets/Spotlight-DZdLn00J.js +++ b/demo-DES-969-file-list-component/assets/Spotlight-CVxUBei2.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime-j_jdvEMj.js";import{c as i}from"./clsx-B-dksMZM.js";import{r as p}from"./index-B-o1Wr-g.js";const e=p.forwardRef(({children:a,className:l,as:o="div",color:t="blue",...r},u)=>s.jsx(o,{...r,ref:u,className:i("ams-spotlight",`ams-spotlight--${t}`,l),children:a}));e.displayName="Spotlight";try{e.displayName="Spotlight",e.__docgenInfo={description:"",displayName:"Spotlight",props:{as:{defaultValue:null,description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'},{value:'"aside"'},{value:'"footer"'}]}},color:{defaultValue:{value:"blue"},description:"The background colour.",name:"color",required:!1,type:{name:"enum",value:[{value:'"azure"'},{value:'"blue"'},{value:'"green"'},{value:'"lime"'},{value:'"magenta"'},{value:'"orange"'},{value:'"purple"'},{value:'"yellow"'}]}}}}}catch{}export{e as S}; +import{j as s}from"./jsx-runtime-BjgbQsUx.js";import{c as i}from"./clsx-B-dksMZM.js";import{r as p}from"./index-RigO-4kf.js";const e=p.forwardRef(({children:a,className:l,as:o="div",color:t="blue",...r},u)=>s.jsx(o,{...r,ref:u,className:i("ams-spotlight",`ams-spotlight--${t}`,l),children:a}));e.displayName="Spotlight";try{e.displayName="Spotlight",e.__docgenInfo={description:"",displayName:"Spotlight",props:{as:{defaultValue:null,description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'},{value:'"aside"'},{value:'"footer"'}]}},color:{defaultValue:{value:"blue"},description:"The background colour.",name:"color",required:!1,type:{name:"enum",value:[{value:'"azure"'},{value:'"blue"'},{value:'"green"'},{value:'"lime"'},{value:'"magenta"'},{value:'"orange"'},{value:'"purple"'},{value:'"yellow"'}]}}}}}catch{}export{e as S}; diff --git a/demo-DES-969-file-list-component/assets/Spotlight.docs-BAy4X4is.js b/demo-DES-969-file-list-component/assets/Spotlight.docs-BcC1wvk2.js similarity index 71% rename from demo-DES-969-file-list-component/assets/Spotlight.docs-BAy4X4is.js rename to demo-DES-969-file-list-component/assets/Spotlight.docs-BcC1wvk2.js index 904bbaece8..6ac773aff3 100644 --- a/demo-DES-969-file-list-component/assets/Spotlight.docs-BAy4X4is.js +++ b/demo-DES-969-file-list-component/assets/Spotlight.docs-BcC1wvk2.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as i,aq as a,ar as c,as as l,at as t}from"./index-CsbqyhR0.js";import{S as m,A as d,B as h,G as p,L as x,M as u,O as j,P as f,Y as g,I as w}from"./Spotlight.stories-Chu4DCLA.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./exampleContent-hIIPvEhU.js";import"./Spotlight-DZdLn00J.js";const y=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as r}from"./index-3rgQkYFR.js";import{ae as i,aq as a,ar as c,as as l,at as t}from"./index-DEYBsmB_.js";import{S as m,A as d,B as h,G as p,L as x,M as u,O as j,P as f,Y as g,I as w}from"./Spotlight.stories-Bf9mkOpd.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./exampleContent-hIIPvEhU.js";import"./Spotlight-CVxUBei2.js";const y=` # Spotlight @@ -42,4 +42,4 @@ Emphasizes a section on a page through a distinctive background colour. `,e.jsx(n.h3,{id:"improve-semantics",children:"Improve semantics"}),` `,e.jsxs(n.p,{children:["By default, a Spotlight renders a ",e.jsx(n.code,{children:"
"}),` element in HTML. Use the `,e.jsx(n.code,{children:"as"})," prop to make your markup more semantic."]}),` -`,e.jsx(t,{of:w})]})}function W(o={}){const{wrapper:n}={...r(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(s,{...o})}):s(o)}export{W as default}; +`,e.jsx(t,{of:w})]})}function X(o={}){const{wrapper:n}={...r(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(s,{...o})}):s(o)}export{X as default}; diff --git a/demo-DES-969-file-list-component/assets/Spotlight.stories-Chu4DCLA.js b/demo-DES-969-file-list-component/assets/Spotlight.stories-Bf9mkOpd.js similarity index 94% rename from demo-DES-969-file-list-component/assets/Spotlight.stories-Chu4DCLA.js rename to demo-DES-969-file-list-component/assets/Spotlight.stories-Bf9mkOpd.js index d1e65aeb7b..8234a6ea28 100644 --- a/demo-DES-969-file-list-component/assets/Spotlight.stories-Chu4DCLA.js +++ b/demo-DES-969-file-list-component/assets/Spotlight.stories-Bf9mkOpd.js @@ -1,4 +1,4 @@ -import{j as p}from"./jsx-runtime-j_jdvEMj.js";import{G as i,B as H}from"./index.esm-Dojcg4AG.js";import{c as J}from"./exampleContent-hIIPvEhU.js";import{S as d}from"./Spotlight-DZdLn00J.js";const K=J(),N={title:"Components/Containers/Spotlight",component:d,render:({as:F,color:u})=>p.jsx(d,{as:F,color:u,children:p.jsx(i,{paddingVertical:"medium",children:p.jsx(i.Cell,{span:"all",children:p.jsx(H,{inverseColor:!u||!["lime","yellow"].includes(u),children:K})})})})},r={},e={args:{color:"azure"}},s={args:{color:"blue"}},o={args:{color:"green"}},a={args:{color:"lime"}},c={args:{color:"magenta"}},n={args:{color:"orange"}},t={args:{color:"purple"}},l={args:{color:"yellow"}},m={args:{as:"section"}};var g,S,f;r.parameters={...r.parameters,docs:{...(g=r.parameters)==null?void 0:g.docs,source:{originalSource:"{}",...(f=(S=r.parameters)==null?void 0:S.docs)==null?void 0:f.source}}};var x,j,h;e.parameters={...e.parameters,docs:{...(x=e.parameters)==null?void 0:x.docs,source:{originalSource:`{ +import{j as p}from"./jsx-runtime-BjgbQsUx.js";import{G as i,B as H}from"./index.esm-CEzKrmam.js";import{c as J}from"./exampleContent-hIIPvEhU.js";import{S as d}from"./Spotlight-CVxUBei2.js";const K=J(),N={title:"Components/Containers/Spotlight",component:d,render:({as:F,color:u})=>p.jsx(d,{as:F,color:u,children:p.jsx(i,{paddingVertical:"medium",children:p.jsx(i.Cell,{span:"all",children:p.jsx(H,{inverseColor:!u||!["lime","yellow"].includes(u),children:K})})})})},r={},e={args:{color:"azure"}},s={args:{color:"blue"}},o={args:{color:"green"}},a={args:{color:"lime"}},c={args:{color:"magenta"}},n={args:{color:"orange"}},t={args:{color:"purple"}},l={args:{color:"yellow"}},m={args:{as:"section"}};var g,S,f;r.parameters={...r.parameters,docs:{...(g=r.parameters)==null?void 0:g.docs,source:{originalSource:"{}",...(f=(S=r.parameters)==null?void 0:S.docs)==null?void 0:f.source}}};var x,j,h;e.parameters={...e.parameters,docs:{...(x=e.parameters)==null?void 0:x.docs,source:{originalSource:`{ args: { color: 'azure' } diff --git a/demo-DES-969-file-list-component/assets/StatusBadge-_VA1BtQE.js b/demo-DES-969-file-list-component/assets/StatusBadge-DiE14TfE.js similarity index 76% rename from demo-DES-969-file-list-component/assets/StatusBadge-_VA1BtQE.js rename to demo-DES-969-file-list-component/assets/StatusBadge-DiE14TfE.js index 2db772753f..c22aa7218d 100644 --- a/demo-DES-969-file-list-component/assets/StatusBadge-_VA1BtQE.js +++ b/demo-DES-969-file-list-component/assets/StatusBadge-DiE14TfE.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{B as t}from"./Badge-Cg5Q2pVP.js";const s=({reason:a})=>e.jsxs("span",{className:"ams-storybook-status-badge",children:[e.jsx(t,{color:"orange",label:"beta"}),e.jsx("span",{children:a})]});try{s.displayName="StatusBadge",s.__docgenInfo={description:"Indicates the status of a component. Use this to prepare implementers for API changes.",displayName:"StatusBadge",props:{reason:{defaultValue:null,description:"",name:"reason",required:!0,type:{name:"string"}}}}}catch{}export{s as S}; +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{B as t}from"./Badge-BvbF-Lgn.js";const s=({reason:a})=>e.jsxs("span",{className:"ams-storybook-status-badge",children:[e.jsx(t,{color:"orange",label:"beta"}),e.jsx("span",{children:a})]});try{s.displayName="StatusBadge",s.__docgenInfo={description:"Indicates the status of a component. Use this to prepare implementers for API changes.",displayName:"StatusBadge",props:{reason:{defaultValue:null,description:"",name:"reason",required:!0,type:{name:"string"}}}}}catch{}export{s as S}; diff --git a/demo-DES-969-file-list-component/assets/Switch.docs-elgGiUnJ.js b/demo-DES-969-file-list-component/assets/Switch.docs-Dnb98MCX.js similarity index 64% rename from demo-DES-969-file-list-component/assets/Switch.docs-elgGiUnJ.js rename to demo-DES-969-file-list-component/assets/Switch.docs-Dnb98MCX.js index 94a30b7f33..0a39873373 100644 --- a/demo-DES-969-file-list-component/assets/Switch.docs-elgGiUnJ.js +++ b/demo-DES-969-file-list-component/assets/Switch.docs-Dnb98MCX.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as o,aq as a,ar as r,as as c,at as l}from"./index-CsbqyhR0.js";import{S as h,W as m}from"./Switch.stories-D_Yf2EWO.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const p=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as o,aq as a,ar as r,as as c,at as l}from"./index-DEYBsmB_.js";import{S as h,W as m}from"./Switch.stories-eHpUME7l.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const p=` # Switch @@ -30,4 +30,4 @@ Switch is an interactive element, and the [general requirements and guidelines f `,e.jsx(c,{}),` `,e.jsx(n.h2,{id:"examples",children:"Examples"}),` `,e.jsx(n.h3,{id:"with-label",children:"With Label"}),` -`,e.jsx(l,{of:m})]})}function M(t={}){const{wrapper:n}={...s(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(i,{...t})}):i(t)}export{M as default}; +`,e.jsx(l,{of:m})]})}function I(t={}){const{wrapper:n}={...s(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(i,{...t})}):i(t)}export{I as default}; diff --git a/demo-DES-969-file-list-component/assets/Switch.stories-D_Yf2EWO.js b/demo-DES-969-file-list-component/assets/Switch.stories-eHpUME7l.js similarity index 91% rename from demo-DES-969-file-list-component/assets/Switch.stories-D_Yf2EWO.js rename to demo-DES-969-file-list-component/assets/Switch.stories-eHpUME7l.js index 4460f8745b..2f0c5b1c42 100644 --- a/demo-DES-969-file-list-component/assets/Switch.stories-D_Yf2EWO.js +++ b/demo-DES-969-file-list-component/assets/Switch.stories-eHpUME7l.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{f as b}from"./index.esm-Dojcg4AG.js";import{c as w}from"./clsx-B-dksMZM.js";import{r as n}from"./index-B-o1Wr-g.js";const s=n.forwardRef(({className:t,id:r,...c},a)=>{const l=r||n.useId();return e.jsxs("div",{className:w("ams-switch",t),children:[e.jsx("input",{...c,className:"ams-switch__input",id:l,ref:a,type:"checkbox",role:"switch"}),e.jsx("label",{className:"ams-switch__label",htmlFor:l})]})});s.displayName="Switch";try{s.displayName="Switch",s.__docgenInfo={description:"",displayName:"Switch",props:{}}}catch{}const{useArgs:u}=__STORYBOOK_MODULE_PREVIEW_API__,f={title:"Components/Forms/Switch",component:s,args:{checked:!1,disabled:!1},argTypes:{checked:{description:"Whether the control is initially checked."},disabled:{description:"Prevents interaction. Avoid if possible."},onChange:{action:"clicked",table:{disable:!0}}},render:t=>{const[,r]=u(),c=a=>{r({checked:a.target.checked})};return e.jsx(s,{onClick:c,...t})}},i={},o={decorators:[t=>e.jsx("div",{style:{display:"flex",alignItems:"center",gap:"5rem"},children:e.jsx(t,{})})],render:t=>{const[,r]=u(),c=a=>{r({checked:a.target.checked})};return e.jsxs(e.Fragment,{children:[e.jsx(b,{htmlFor:"switch-with-label",children:"Label"}),e.jsx(s,{onClick:c,...t,id:"switch-with-label"})]})}};var d,h,m;i.parameters={...i.parameters,docs:{...(d=i.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(m=(h=i.parameters)==null?void 0:h.docs)==null?void 0:m.source}}};var p,g,_;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{f as b}from"./index.esm-CEzKrmam.js";import{c as w}from"./clsx-B-dksMZM.js";import{r as n}from"./index-RigO-4kf.js";const s=n.forwardRef(({className:t,id:r,...c},a)=>{const l=r||n.useId();return e.jsxs("div",{className:w("ams-switch",t),children:[e.jsx("input",{...c,className:"ams-switch__input",id:l,ref:a,type:"checkbox",role:"switch"}),e.jsx("label",{className:"ams-switch__label",htmlFor:l})]})});s.displayName="Switch";try{s.displayName="Switch",s.__docgenInfo={description:"",displayName:"Switch",props:{}}}catch{}const{useArgs:u}=__STORYBOOK_MODULE_PREVIEW_API__,f={title:"Components/Forms/Switch",component:s,args:{checked:!1,disabled:!1},argTypes:{checked:{description:"Whether the control is initially checked."},disabled:{description:"Prevents interaction. Avoid if possible."},onChange:{action:"clicked",table:{disable:!0}}},render:t=>{const[,r]=u(),c=a=>{r({checked:a.target.checked})};return e.jsx(s,{onClick:c,...t})}},i={},o={decorators:[t=>e.jsx("div",{style:{display:"flex",alignItems:"center",gap:"5rem"},children:e.jsx(t,{})})],render:t=>{const[,r]=u(),c=a=>{r({checked:a.target.checked})};return e.jsxs(e.Fragment,{children:[e.jsx(b,{htmlFor:"switch-with-label",children:"Label"}),e.jsx(s,{onClick:c,...t,id:"switch-with-label"})]})}};var d,h,m;i.parameters={...i.parameters,docs:{...(d=i.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(m=(h=i.parameters)==null?void 0:h.docs)==null?void 0:m.source}}};var p,g,_;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`{ decorators: [Story =>
+import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as r,aq as a,ar as i,at as d}from"./index-DEYBsmB_.js";import{T as m,W as l}from"./Table.stories-BfFwfuPP.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const c=` # Table @@ -13,12 +13,12 @@ Table is used to display simple information that does not need to be filtered or Instead, use [Grid](/docs/components-layout-grid--docs). `;/*@license CC0-1.0*/function t(o){const n={code:"code",h2:"h2",h3:"h3",p:"p",...s(),...o.components};return e.jsxs(e.Fragment,{children:[` `,` -`,e.jsx(a,{of:m}),` -`,e.jsx(r,{children:c}),` +`,e.jsx(r,{of:m}),` +`,e.jsx(a,{children:c}),` `,e.jsx(i,{}),` `,e.jsx(n.h2,{id:"examples",children:"Examples"}),` `,e.jsx(n.h3,{id:"with-footer-and-row-headers",children:"With footer and row headers"}),` `,e.jsxs(n.p,{children:[`Use table headers to tell users what the rows and columns represent. Use the scope attribute to help users of assistive technology distinguish between row and column headers. Use `,e.jsx(n.code,{children:"Table.Footer"})," for a summary row."]}),` -`,e.jsx(d,{of:l})]})}function U(o={}){const{wrapper:n}={...s(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(t,{...o})}):t(o)}export{U as default}; +`,e.jsx(d,{of:l})]})}function v(o={}){const{wrapper:n}={...s(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(t,{...o})}):t(o)}export{v as default}; diff --git a/demo-DES-969-file-list-component/assets/Table.stories-BhkPPk6Y.js b/demo-DES-969-file-list-component/assets/Table.stories-BfFwfuPP.js similarity index 97% rename from demo-DES-969-file-list-component/assets/Table.stories-BhkPPk6Y.js rename to demo-DES-969-file-list-component/assets/Table.stories-BfFwfuPP.js index a37baacd85..aa6f1a2bb8 100644 --- a/demo-DES-969-file-list-component/assets/Table.stories-BhkPPk6Y.js +++ b/demo-DES-969-file-list-component/assets/Table.stories-BfFwfuPP.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{c as s}from"./clsx-B-dksMZM.js";import{r as n}from"./index-B-o1Wr-g.js";const y=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("tbody",{...o,ref:d,className:s("ams-table__body",r),children:a}));y.displayName="Table.Body";try{Table.Body.displayName="Table.Body",Table.Body.__docgenInfo={description:"",displayName:"Table.Body",props:{}}}catch{}const m=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("caption",{...o,ref:d,className:s("ams-table__caption",r),children:a}));m.displayName="Table.Caption";try{Table.Caption.displayName="Table.Caption",Table.Caption.__docgenInfo={description:"",displayName:"Table.Caption",props:{}}}catch{}const w=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("td",{...o,ref:d,className:s("ams-table__cell",r),children:a}));w.displayName="Table.Cell";try{Table.Cell.displayName="Table.Cell",Table.Cell.__docgenInfo={description:"",displayName:"Table.Cell",props:{}}}catch{}const h=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("tfoot",{...o,ref:d,className:s("ams-table__footer",r),children:a}));h.displayName="Table.Footer";try{Table.Footer.displayName="Table.Footer",Table.Footer.__docgenInfo={description:"",displayName:"Table.Footer",props:{}}}catch{}const j=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("thead",{...o,ref:d,className:s("ams-table__header",r),children:a}));j.displayName="Table.Header";try{Table.Header.displayName="Table.Header",Table.Header.__docgenInfo={description:"",displayName:"Table.Header",props:{}}}catch{}const x=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("th",{...o,ref:d,className:s("ams-table__header-cell",r),children:a}));x.displayName="Table.HeaderCell";try{Table.HeaderCell.displayName="Table.HeaderCell",Table.HeaderCell.__docgenInfo={description:"",displayName:"Table.HeaderCell",props:{}}}catch{}const H=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("tr",{...o,ref:d,className:s("ams-table__row",r),children:a}));H.displayName="Table.Row";try{Table.Row.displayName="Table.Row",Table.Row.__docgenInfo={description:"",displayName:"Table.Row",props:{}}}catch{}const R=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("div",{className:"ams-table",children:e.jsx("table",{...o,ref:d,className:s("ams-table__table",r),children:a})}));R.displayName="Table";const l=Object.assign(R,{Body:y,Caption:m,Cell:w,Footer:h,Header:j,HeaderCell:x,Row:H});try{l.displayName="Table",l.__docgenInfo={description:"",displayName:"Table",props:{}}}catch{}const f={title:"Components/Containers/Table",component:l},t={args:{children:[e.jsx(l.Caption,{children:"Kosten en levertijd"},"caption"),e.jsx(l.Header,{children:e.jsxs(l.Row,{children:[e.jsx(l.HeaderCell,{children:"Type"}),e.jsxs(l.HeaderCell,{children:["Normale levertijd",e.jsx("br",{}),"1 week"]}),e.jsxs(l.HeaderCell,{children:["Spoed",e.jsx("br",{}),"2 werkdagen"]})]})},"header"),e.jsxs(l.Body,{children:[e.jsxs(l.Row,{children:[e.jsx(l.Cell,{children:"Paspoort"}),e.jsx(l.Cell,{children:"€ 77,85"}),e.jsx(l.Cell,{children:"€ 130,80"})]}),e.jsxs(l.Row,{children:[e.jsx(l.Cell,{children:"ID-kaart"}),e.jsx(l.Cell,{children:"€ 70,35"}),e.jsx(l.Cell,{children:"€ 123,30"})]})]},"body")]}},c={args:{children:[e.jsx(l.Caption,{children:"Kosten en tijd"},"caption"),e.jsx(l.Header,{children:e.jsxs(l.Row,{children:[e.jsx(l.HeaderCell,{children:"Tijd"}),e.jsx(l.HeaderCell,{children:"Kosten"})]})},"header"),e.jsxs(l.Body,{children:[e.jsxs(l.Row,{children:[e.jsx(l.HeaderCell,{scope:"row",children:"Eerste 6 weken"}),e.jsx(l.Cell,{children:"€ 109,80 per week"})]}),e.jsxs(l.Row,{children:[e.jsx(l.HeaderCell,{scope:"row",children:"Volgende 33 weken"}),e.jsx(l.Cell,{children:"€ 79,80 per week"})]})]},"body"),e.jsx(l.Footer,{children:e.jsxs(l.Row,{children:[e.jsx(l.HeaderCell,{scope:"row",children:"Totale verwachte kosten"}),e.jsx(l.Cell,{children:"€ 3.292,20"})]})},"footer")]}};var b,i,T;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{c as s}from"./clsx-B-dksMZM.js";import{r as n}from"./index-RigO-4kf.js";const y=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("tbody",{...o,ref:d,className:s("ams-table__body",r),children:a}));y.displayName="Table.Body";try{Table.Body.displayName="Table.Body",Table.Body.__docgenInfo={description:"",displayName:"Table.Body",props:{}}}catch{}const m=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("caption",{...o,ref:d,className:s("ams-table__caption",r),children:a}));m.displayName="Table.Caption";try{Table.Caption.displayName="Table.Caption",Table.Caption.__docgenInfo={description:"",displayName:"Table.Caption",props:{}}}catch{}const w=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("td",{...o,ref:d,className:s("ams-table__cell",r),children:a}));w.displayName="Table.Cell";try{Table.Cell.displayName="Table.Cell",Table.Cell.__docgenInfo={description:"",displayName:"Table.Cell",props:{}}}catch{}const h=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("tfoot",{...o,ref:d,className:s("ams-table__footer",r),children:a}));h.displayName="Table.Footer";try{Table.Footer.displayName="Table.Footer",Table.Footer.__docgenInfo={description:"",displayName:"Table.Footer",props:{}}}catch{}const j=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("thead",{...o,ref:d,className:s("ams-table__header",r),children:a}));j.displayName="Table.Header";try{Table.Header.displayName="Table.Header",Table.Header.__docgenInfo={description:"",displayName:"Table.Header",props:{}}}catch{}const x=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("th",{...o,ref:d,className:s("ams-table__header-cell",r),children:a}));x.displayName="Table.HeaderCell";try{Table.HeaderCell.displayName="Table.HeaderCell",Table.HeaderCell.__docgenInfo={description:"",displayName:"Table.HeaderCell",props:{}}}catch{}const H=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("tr",{...o,ref:d,className:s("ams-table__row",r),children:a}));H.displayName="Table.Row";try{Table.Row.displayName="Table.Row",Table.Row.__docgenInfo={description:"",displayName:"Table.Row",props:{}}}catch{}const R=n.forwardRef(({children:a,className:r,...o},d)=>e.jsx("div",{className:"ams-table",children:e.jsx("table",{...o,ref:d,className:s("ams-table__table",r),children:a})}));R.displayName="Table";const l=Object.assign(R,{Body:y,Caption:m,Cell:w,Footer:h,Header:j,HeaderCell:x,Row:H});try{l.displayName="Table",l.__docgenInfo={description:"",displayName:"Table",props:{}}}catch{}const f={title:"Components/Containers/Table",component:l},t={args:{children:[e.jsx(l.Caption,{children:"Kosten en levertijd"},"caption"),e.jsx(l.Header,{children:e.jsxs(l.Row,{children:[e.jsx(l.HeaderCell,{children:"Type"}),e.jsxs(l.HeaderCell,{children:["Normale levertijd",e.jsx("br",{}),"1 week"]}),e.jsxs(l.HeaderCell,{children:["Spoed",e.jsx("br",{}),"2 werkdagen"]})]})},"header"),e.jsxs(l.Body,{children:[e.jsxs(l.Row,{children:[e.jsx(l.Cell,{children:"Paspoort"}),e.jsx(l.Cell,{children:"€ 77,85"}),e.jsx(l.Cell,{children:"€ 130,80"})]}),e.jsxs(l.Row,{children:[e.jsx(l.Cell,{children:"ID-kaart"}),e.jsx(l.Cell,{children:"€ 70,35"}),e.jsx(l.Cell,{children:"€ 123,30"})]})]},"body")]}},c={args:{children:[e.jsx(l.Caption,{children:"Kosten en tijd"},"caption"),e.jsx(l.Header,{children:e.jsxs(l.Row,{children:[e.jsx(l.HeaderCell,{children:"Tijd"}),e.jsx(l.HeaderCell,{children:"Kosten"})]})},"header"),e.jsxs(l.Body,{children:[e.jsxs(l.Row,{children:[e.jsx(l.HeaderCell,{scope:"row",children:"Eerste 6 weken"}),e.jsx(l.Cell,{children:"€ 109,80 per week"})]}),e.jsxs(l.Row,{children:[e.jsx(l.HeaderCell,{scope:"row",children:"Volgende 33 weken"}),e.jsx(l.Cell,{children:"€ 79,80 per week"})]})]},"body"),e.jsx(l.Footer,{children:e.jsxs(l.Row,{children:[e.jsx(l.HeaderCell,{scope:"row",children:"Totale verwachte kosten"}),e.jsx(l.Cell,{children:"€ 3.292,20"})]})},"footer")]}};var b,i,T;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{ args: { children: [Kosten en levertijd, diff --git a/demo-DES-969-file-list-component/assets/TableOfContents.docs-Dv2E6URY.js b/demo-DES-969-file-list-component/assets/TableOfContents.docs-Dv2E6URY.js new file mode 100644 index 0000000000..4547ea70d7 --- /dev/null +++ b/demo-DES-969-file-list-component/assets/TableOfContents.docs-Dv2E6URY.js @@ -0,0 +1,15 @@ +import{j as t}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as s}from"./index-3rgQkYFR.js";import{ae as r,aq as i,ar as a,as as m,at as l}from"./index-DEYBsmB_.js";import{T as p,M as c}from"./TableOfContents.stories-VCBJ07Xc.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Heading-Vg3KKL7T.js";import"./getHeadingTag-Dv1eMqvl.js";const x=` + +# Table of Contents + +A list of links corresponding to the content sections on the page. +It helps users to easily navigate to different sections on the same page. +`;/*@license CC0-1.0*/function o(n){const e={h2:"h2",h3:"h3",...s(),...n.components};return t.jsxs(t.Fragment,{children:[` +`,` +`,t.jsx(r,{of:p}),` +`,t.jsx(i,{children:x}),` +`,t.jsx(a,{}),` +`,t.jsx(m,{}),` +`,t.jsx(e.h2,{id:"examples",children:"Examples"}),` +`,t.jsx(e.h3,{id:"multiple-levels",children:"Multiple levels"}),` +`,t.jsx(l,{of:c})]})}function w(n={}){const{wrapper:e}={...s(),...n.components};return e?t.jsx(e,{...n,children:t.jsx(o,{...n})}):o(n)}export{w as default}; diff --git a/demo-DES-969-file-list-component/assets/TableOfContents.docs-TYy4aPJA.js b/demo-DES-969-file-list-component/assets/TableOfContents.docs-TYy4aPJA.js deleted file mode 100644 index ed81278089..0000000000 --- a/demo-DES-969-file-list-component/assets/TableOfContents.docs-TYy4aPJA.js +++ /dev/null @@ -1,15 +0,0 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as i,ar as a,as as m,at as l}from"./index-CsbqyhR0.js";import{T as p,M as c}from"./TableOfContents.stories-CDYIQLGg.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";const x=` - -# Table of Contents - -A list of links corresponding to the content sections on the page. -It helps users to easily navigate to different sections on the same page. -`;/*@license CC0-1.0*/function o(n){const e={h2:"h2",h3:"h3",...s(),...n.components};return t.jsxs(t.Fragment,{children:[` -`,` -`,t.jsx(r,{of:p}),` -`,t.jsx(i,{children:x}),` -`,t.jsx(a,{}),` -`,t.jsx(m,{}),` -`,t.jsx(e.h2,{id:"examples",children:"Examples"}),` -`,t.jsx(e.h3,{id:"multiple-levels",children:"Multiple levels"}),` -`,t.jsx(l,{of:c})]})}function k(n={}){const{wrapper:e}={...s(),...n.components};return e?t.jsx(e,{...n,children:t.jsx(o,{...n})}):o(n)}export{k as default}; diff --git a/demo-DES-969-file-list-component/assets/TableOfContents.stories-CDYIQLGg.js b/demo-DES-969-file-list-component/assets/TableOfContents.stories-VCBJ07Xc.js similarity index 96% rename from demo-DES-969-file-list-component/assets/TableOfContents.stories-CDYIQLGg.js rename to demo-DES-969-file-list-component/assets/TableOfContents.stories-VCBJ07Xc.js index 8d6ea019ed..2c9c055abe 100644 --- a/demo-DES-969-file-list-component/assets/TableOfContents.stories-CDYIQLGg.js +++ b/demo-DES-969-file-list-component/assets/TableOfContents.stories-VCBJ07Xc.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{c}from"./clsx-B-dksMZM.js";import{r as f}from"./index-B-o1Wr-g.js";import{H as C}from"./Heading-BMR-3CH3.js";const m=f.forwardRef(({children:t,className:a,label:s,...l},r)=>e.jsxs("li",{className:"ams-table-of-contents__item",children:[e.jsx("a",{...l,className:c("ams-table-of-contents__link",a),ref:r,children:s}),t]}));m.displayName="TableOfContents.Link";try{TableOfContents.Link.displayName="TableOfContents.Link",TableOfContents.Link.__docgenInfo={description:"",displayName:"TableOfContents.Link",props:{label:{defaultValue:null,description:"The text for the link.",name:"label",required:!0,type:{name:"string"}}}}}catch{}const T=f.forwardRef(({children:t,className:a,...s},l)=>e.jsx("ul",{...s,ref:l,className:c("ams-table-of-contents__list",a),children:t}));T.displayName="TableOfContents.List";try{TableOfContents.List.displayName="TableOfContents.List",TableOfContents.List.__docgenInfo={description:"",displayName:"TableOfContents.List",props:{}}}catch{}const u=f.forwardRef(({children:t,className:a,heading:s,headingLevel:l=2,...r},O)=>e.jsxs("nav",{...r,ref:O,className:c("ams-table-of-contents",a),children:[s&&e.jsx(C,{className:"ams-table-of-contents__heading",level:l,size:"level-4",children:s}),t]}));u.displayName="TableOfContents";const n=Object.assign(u,{Link:m,List:T});try{n.displayName="TableOfContents",n.__docgenInfo={description:"",displayName:"TableOfContents",props:{heading:{defaultValue:null,description:"The text for the Heading.",name:"heading",required:!1,type:{name:"string"}},headingLevel:{defaultValue:{value:"2"},description:`The hierarchical level of the Heading within the document. +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{c}from"./clsx-B-dksMZM.js";import{r as f}from"./index-RigO-4kf.js";import{H as C}from"./Heading-Vg3KKL7T.js";const m=f.forwardRef(({children:t,className:a,label:s,...l},r)=>e.jsxs("li",{className:"ams-table-of-contents__item",children:[e.jsx("a",{...l,className:c("ams-table-of-contents__link",a),ref:r,children:s}),t]}));m.displayName="TableOfContents.Link";try{TableOfContents.Link.displayName="TableOfContents.Link",TableOfContents.Link.__docgenInfo={description:"",displayName:"TableOfContents.Link",props:{label:{defaultValue:null,description:"The text for the link.",name:"label",required:!0,type:{name:"string"}}}}}catch{}const T=f.forwardRef(({children:t,className:a,...s},l)=>e.jsx("ul",{...s,ref:l,className:c("ams-table-of-contents__list",a),children:t}));T.displayName="TableOfContents.List";try{TableOfContents.List.displayName="TableOfContents.List",TableOfContents.List.__docgenInfo={description:"",displayName:"TableOfContents.List",props:{}}}catch{}const u=f.forwardRef(({children:t,className:a,heading:s,headingLevel:l=2,...r},O)=>e.jsxs("nav",{...r,ref:O,className:c("ams-table-of-contents",a),children:[s&&e.jsx(C,{className:"ams-table-of-contents__heading",level:l,size:"level-4",children:s}),t]}));u.displayName="TableOfContents";const n=Object.assign(u,{Link:m,List:T});try{n.displayName="TableOfContents",n.__docgenInfo={description:"",displayName:"TableOfContents",props:{heading:{defaultValue:null,description:"The text for the Heading.",name:"heading",required:!1,type:{name:"string"}},headingLevel:{defaultValue:{value:"2"},description:`The hierarchical level of the Heading within the document. Note: this intentionally does not change the font size.`,name:"headingLevel",required:!1,type:{name:"enum",value:[{value:"1"},{value:"2"},{value:"3"},{value:"4"}]}}}}}catch{}const g={title:"Components/Navigation/Table of Contents",component:n,args:{heading:"Op deze pagina",children:e.jsxs(n.List,{children:[e.jsx(n.Link,{href:"#section-1",label:"Zo werkt het"}),e.jsx(n.Link,{href:"#section-2",label:"Voorwaarden"}),e.jsx(n.Link,{href:"#section-3",label:"Aanvragen"}),e.jsx(n.Link,{href:"#section-4",label:"Zie ook"})]})}},i={},o={args:{heading:"Inhoudsopgave",children:e.jsxs(n.List,{children:[e.jsx(n.Link,{href:"#section-1",label:"Waarom is het belangrijk om helder te schrijven?"}),e.jsx(n.Link,{href:"#section-2",label:"Schrijf in stappen",children:e.jsxs(n.List,{children:[e.jsx(n.Link,{href:"#section-2.1",label:"Stap 2"}),e.jsx(n.Link,{href:"#section-2.2",label:"Stap 3"}),e.jsx(n.Link,{href:"#section-2.3",label:"Stap 4"})]})}),e.jsx(n.Link,{href:"#section-3",label:"Structuur van een heldere tekst",children:e.jsxs(n.List,{children:[e.jsx(n.Link,{href:"#section-3.1",label:"Opmaakeisen"}),e.jsx(n.Link,{href:"#section-3.2",label:"Tekstlengte",children:e.jsx(n.List,{children:e.jsx(n.Link,{href:"#section-3.2.1",label:"Boodschap en achtergronden"})})}),e.jsx(n.Link,{href:"#section-3.3",label:"Alinea's en tussenkopjes"}),e.jsx(n.Link,{href:"#section-3.4",label:"Opsommingen"})]})}),e.jsx(n.Link,{href:"#section-4",label:"Taalgebruik in heldere taal"}),e.jsx(n.Link,{href:"#section-5",label:"Tekstonderdelen in heldere taal"}),e.jsx(n.Link,{href:"#section-6",label:"Moeilijke woordenboek (inclusief niet te gebruiken)"})]})}};var b,d,h;i.parameters={...i.parameters,docs:{...(b=i.parameters)==null?void 0:b.docs,source:{originalSource:"{}",...(h=(d=i.parameters)==null?void 0:d.docs)==null?void 0:h.source}}};var p,k,L;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { heading: 'Inhoudsopgave', diff --git a/demo-DES-969-file-list-component/assets/Tabs.docs-uKIqw_N8.js b/demo-DES-969-file-list-component/assets/Tabs.docs-mLNzdWuL.js similarity index 70% rename from demo-DES-969-file-list-component/assets/Tabs.docs-uKIqw_N8.js rename to demo-DES-969-file-list-component/assets/Tabs.docs-mLNzdWuL.js index fa97d6c533..0c5cc022a8 100644 --- a/demo-DES-969-file-list-component/assets/Tabs.docs-uKIqw_N8.js +++ b/demo-DES-969-file-list-component/assets/Tabs.docs-mLNzdWuL.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as i,ar as r,at as h}from"./index-CsbqyhR0.js";import{T as c,W as l}from"./Tabs.stories-cbgyGlla.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./exampleContent-hIIPvEhU.js";import"./useKeyboardFocus-CRUFsA_C.js";const p=` +import{j as t}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as i,aq as s,ar as r,at as h}from"./index-DEYBsmB_.js";import{T as c,W as l}from"./Tabs.stories-CARY9rN5.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./exampleContent-hIIPvEhU.js";import"./useKeyboardFocus-CRUFsA_C.js";const p=` # Tabs @@ -34,11 +34,11 @@ Do not use tabs if the content in each tab functions just as well on separate pa - [MDN - Tab Aria Roles](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tab_role) `;/*@license CC0-1.0*/function a(e){const n={h2:"h2",h3:"h3",p:"p",...o(),...e.components};return t.jsxs(t.Fragment,{children:[` `,` -`,t.jsx(s,{of:c}),` -`,t.jsx(i,{children:p}),` +`,t.jsx(i,{of:c}),` +`,t.jsx(s,{children:p}),` `,t.jsx(r,{}),` `,t.jsx(n.h2,{id:"examples",children:"Examples"}),` `,t.jsx(n.h3,{id:"with-initial-tab",children:"With initial tab"}),` `,t.jsx(n.p,{children:`The first tab is active by default. Another tab’s panel can be displayed initially as well.`}),` -`,t.jsx(h,{of:l})]})}function R(e={}){const{wrapper:n}={...o(),...e.components};return n?t.jsx(n,{...e,children:t.jsx(a,{...e})}):a(e)}export{R as default}; +`,t.jsx(h,{of:l})]})}function D(e={}){const{wrapper:n}={...o(),...e.components};return n?t.jsx(n,{...e,children:t.jsx(a,{...e})}):a(e)}export{D as default}; diff --git a/demo-DES-969-file-list-component/assets/Tabs.stories-cbgyGlla.js b/demo-DES-969-file-list-component/assets/Tabs.stories-CARY9rN5.js similarity index 95% rename from demo-DES-969-file-list-component/assets/Tabs.stories-cbgyGlla.js rename to demo-DES-969-file-list-component/assets/Tabs.stories-CARY9rN5.js index 7c6a136e73..5bc7bc3317 100644 --- a/demo-DES-969-file-list-component/assets/Tabs.stories-cbgyGlla.js +++ b/demo-DES-969-file-list-component/assets/Tabs.stories-CARY9rN5.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{H as B,P as S}from"./index.esm-Dojcg4AG.js";import{b as T}from"./exampleContent-hIIPvEhU.js";import{c as m}from"./clsx-B-dksMZM.js";import{r}from"./index-B-o1Wr-g.js";import{u as D}from"./useKeyboardFocus-CRUFsA_C.js";/** +import{j as t}from"./jsx-runtime-BjgbQsUx.js";import{H as B,P as S}from"./index.esm-CEzKrmam.js";import{b as T}from"./exampleContent-hIIPvEhU.js";import{c as m}from"./clsx-B-dksMZM.js";import{r}from"./index-RigO-4kf.js";import{u as D}from"./useKeyboardFocus-CRUFsA_C.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const O={activeTab:0,tabsId:"",updateTab:()=>{}},g=r.createContext(O),P=r.forwardRef(({children:e,className:a,tab:s=0,...o},c)=>{const{activeTab:i,tabsId:n,updateTab:u}=r.useContext(g);return t.jsxs("button",{...o,"aria-controls":`${n}-panel-${s}`,"aria-selected":i===s,className:m("ams-tabs__button",a),id:`${n}-tab-${s}`,onClick:()=>{r.startTransition(()=>{u(s)})},ref:c,role:"tab",tabIndex:i===s?0:-1,children:[t.jsx("span",{"aria-hidden":"true",className:"ams-tabs__button-label-hidden",children:e}),t.jsx("span",{className:"ams-tabs__button-label",children:e})]})});P.displayName="Tabs.Button";try{Tabs.Button.displayName="Tabs.Button",Tabs.Button.__docgenInfo={description:"",displayName:"Tabs.Button",props:{tab:{defaultValue:{value:"0"},description:"An identifier.",name:"tab",required:!1,type:{name:"number"}}}}}catch{}const L=r.forwardRef(({children:e,className:a,...s},o)=>t.jsx("div",{...s,role:"tablist",ref:o,className:m("ams-tabs__list",a),children:e}));L.displayName="Tabs.List";try{Tabs.List.displayName="Tabs.List",Tabs.List.__docgenInfo={description:"",displayName:"Tabs.List",props:{}}}catch{}const w=r.forwardRef(({tab:e,children:a,className:s,...o},c)=>{const{activeTab:i,tabsId:n}=r.useContext(g);return e!==i?null:t.jsx("div",{...o,role:"tabpanel","aria-labelledby":`${n}-tab-${e}`,id:`${n}-panel-${e}`,tabIndex:0,ref:c,className:m("ams-tabs__panel",s),children:a})});w.displayName="Tabs.Panel";try{Tabs.Panel.displayName="Tabs.Panel",Tabs.Panel.__docgenInfo={description:"",displayName:"Tabs.Panel",props:{tab:{defaultValue:null,description:"The identifier of the corresponding Tab.",name:"tab",required:!0,type:{name:"number"}}}}}catch{}const C=r.forwardRef(({activeTab:e,children:a,className:s,...o},c)=>{const i=r.useId(),n=r.useRef(null),[u,p]=r.useState(0),f=r.useMemo(()=>Array.isArray(a)?a[0].props.children:[],[a]);r.useEffect(()=>{typeof e=="number"&&Number.isInteger(e)&&(e<0?p(0):e>f.length-1?p(f.length-1):p(e))},[e,f]);const $=R=>{p(R)};r.useImperativeHandle(c,()=>n.current);const{keyDown:A}=D(n,{rotating:!0,horizontally:!0});return t.jsx(g.Provider,{value:{activeTab:u,updateTab:$,tabsId:i},children:t.jsx("div",{...o,role:"tabs",ref:n,onKeyDown:A,className:m("ams-tabs",s),children:a})})});C.displayName="Tabs";const l=Object.assign(C,{Button:P,List:L,Panel:w});try{l.displayName="Tabs",l.__docgenInfo={description:"",displayName:"Tabs",props:{activeTab:{defaultValue:null,description:"The number of the active tab. Corresponds to its `tab` value.",name:"activeTab",required:!1,type:{name:"number"}}}}}catch{}const _=1e3,E=({children:e})=>{console.log(`[ARTIFICIALLY SLOW] Adding a ${_}ms delay…`);let a=performance.now();for(;performance.now()-a<_;);return e},y=[{id:0,label:"Gegevens",body:T()},{id:1,label:"Aanslagen",body:T()},{id:2,label:"Documenten",body:t.jsxs(t.Fragment,{children:["(This tab panel simulates a load time of ",_," milliseconds.)",t.jsx(E,{})]})},{id:3,label:"Acties",body:T()}],V=[t.jsx(l.List,{children:y.map(({id:e,label:a})=>t.jsx(l.Button,{tab:e,children:a},a))},"tabsList"),y.map(({id:e,body:a,label:s})=>t.jsxs(l.Panel,{tab:e,children:[t.jsx(B,{className:"ams-mb--xs",level:3,children:s}),t.jsx(S,{children:a})]},s))],W={title:"Components/Containers/Tabs",component:l,args:{children:V},argTypes:{activeTab:{control:{type:"number",min:0,max:y.length-1}}}},d={},b={args:{activeTab:3}};var x,h,I;d.parameters={...d.parameters,docs:{...(x=d.parameters)==null?void 0:x.docs,source:{originalSource:"{}",...(I=(h=d.parameters)==null?void 0:h.docs)==null?void 0:I.source}}};var N,j,v;b.parameters={...b.parameters,docs:{...(N=b.parameters)==null?void 0:N.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/TextArea.docs-Wg6mpxFx.js b/demo-DES-969-file-list-component/assets/TextArea.docs-9lowQHEt.js similarity index 77% rename from demo-DES-969-file-list-component/assets/TextArea.docs-Wg6mpxFx.js rename to demo-DES-969-file-list-component/assets/TextArea.docs-9lowQHEt.js index a2ba32f4fa..f0afaa8798 100644 --- a/demo-DES-969-file-list-component/assets/TextArea.docs-Wg6mpxFx.js +++ b/demo-DES-969-file-list-component/assets/TextArea.docs-9lowQHEt.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as r,aq as a,ar as d,as as l,at as i}from"./index-CsbqyhR0.js";import{T as h,V as c,H as m,N as x,I as p,D as f,a as j,b as u}from"./TextArea.stories-Bfet-u2f.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./exampleContent-hIIPvEhU.js";const b=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as t}from"./index-3rgQkYFR.js";import{ae as r,aq as a,ar as d,as as l,at as i}from"./index-DEYBsmB_.js";import{T as h,V as c,H as m,N as x,I as p,D as f,a as j,b as u}from"./TextArea.stories-BF3x5yDF.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./exampleContent-hIIPvEhU.js";const b=` # TextArea @@ -40,4 +40,4 @@ A form field that allows the user to input text over multiple lines. `,e.jsx(n.h4,{id:"in-a-field-with-validation",children:"In a Field with validation"}),` `,e.jsxs(n.p,{children:["If the Text Area can become invalid, add an Error Message and its ",e.jsx(n.code,{children:"id"})," to the ",e.jsx(n.code,{children:"aria-describedby"})," prop of the Text Area."]}),` `,e.jsxs(n.p,{children:["Check ",e.jsx(n.a,{href:"/docs/components-forms-field--docs",children:"the Field docs"})," for more information on configuring it."]}),` -`,e.jsx(i,{of:u})]})}function V(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(o,{...s})}):o(s)}export{V as default}; +`,e.jsx(i,{of:u})]})}function W(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(o,{...s})}):o(s)}export{W as default}; diff --git a/demo-DES-969-file-list-component/assets/TextArea.stories-Bfet-u2f.js b/demo-DES-969-file-list-component/assets/TextArea.stories-BF3x5yDF.js similarity index 96% rename from demo-DES-969-file-list-component/assets/TextArea.stories-Bfet-u2f.js rename to demo-DES-969-file-list-component/assets/TextArea.stories-BF3x5yDF.js index 388375e8c2..43b724fca7 100644 --- a/demo-DES-969-file-list-component/assets/TextArea.stories-Bfet-u2f.js +++ b/demo-DES-969-file-list-component/assets/TextArea.stories-BF3x5yDF.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{e as w,f as D,P as $,E as H}from"./index.esm-Dojcg4AG.js";import{b as k}from"./exampleContent-hIIPvEhU.js";import{c as B}from"./clsx-B-dksMZM.js";import{r as G}from"./index-B-o1Wr-g.js";const a=G.forwardRef(({className:e,dir:W,invalid:q,resize:p,...m},C)=>r.jsx("textarea",{...m,"aria-invalid":q||void 0,className:B("ams-text-area",p&&`ams-text-area--resize-${p}`,m.cols&&"ams-text-area--cols",e),dir:W??"auto",ref:C}));a.displayName="TextArea";try{a.displayName="TextArea",a.__docgenInfo={description:"",displayName:"TextArea",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},resize:{defaultValue:null,description:"Allows the user to resize the text box. The default is resizing in both directions.",name:"resize",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"horizontal"'},{value:'"vertical"'}]}}}}}catch{}const J=k(),K={title:"Components/Forms/Text Area",component:a,args:{defaultValue:J,disabled:!1,invalid:!1},argTypes:{cols:{control:{type:"number"},description:"The width, expressed in the average number of characters."},defaultValue:{table:{disable:!0}},disabled:{description:"Prevents interaction. Avoid if possible."},resize:{control:{type:"radio",labels:{undefined:"default",none:"none",horizontal:"horizontal",vertical:"vertical"}},options:[void 0,"none","horizontal","vertical"]},rows:{control:{type:"number"},description:"The number of lines to show"}}},i={},s={args:{resize:"vertical"}},o={args:{resize:"horizontal"}},t={args:{resize:"none"}},n={args:{invalid:!0}},l={args:{disabled:!0}},d={render:e=>r.jsxs(w,{invalid:e.invalid,children:[r.jsx(D,{htmlFor:"input1",children:"Label"}),r.jsx($,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(H,{id:"error1",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},c={args:{invalid:!0},render:e=>r.jsxs(w,{invalid:e.invalid,children:[r.jsx(D,{htmlFor:"input2",children:"Label"}),r.jsx($,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(H,{id:"error2",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var u,g,v;i.parameters={...i.parameters,docs:{...(u=i.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(v=(g=i.parameters)==null?void 0:g.docs)==null?void 0:v.source}}};var h,b,x;s.parameters={...s.parameters,docs:{...(h=s.parameters)==null?void 0:h.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-BjgbQsUx.js";import{e as w,f as D,P as $,E as H}from"./index.esm-CEzKrmam.js";import{b as k}from"./exampleContent-hIIPvEhU.js";import{c as B}from"./clsx-B-dksMZM.js";import{r as G}from"./index-RigO-4kf.js";const a=G.forwardRef(({className:e,dir:W,invalid:q,resize:p,...m},C)=>r.jsx("textarea",{...m,"aria-invalid":q||void 0,className:B("ams-text-area",p&&`ams-text-area--resize-${p}`,m.cols&&"ams-text-area--cols",e),dir:W??"auto",ref:C}));a.displayName="TextArea";try{a.displayName="TextArea",a.__docgenInfo={description:"",displayName:"TextArea",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},resize:{defaultValue:null,description:"Allows the user to resize the text box. The default is resizing in both directions.",name:"resize",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"horizontal"'},{value:'"vertical"'}]}}}}}catch{}const J=k(),K={title:"Components/Forms/Text Area",component:a,args:{defaultValue:J,disabled:!1,invalid:!1},argTypes:{cols:{control:{type:"number"},description:"The width, expressed in the average number of characters."},defaultValue:{table:{disable:!0}},disabled:{description:"Prevents interaction. Avoid if possible."},resize:{control:{type:"radio",labels:{undefined:"default",none:"none",horizontal:"horizontal",vertical:"vertical"}},options:[void 0,"none","horizontal","vertical"]},rows:{control:{type:"number"},description:"The number of lines to show"}}},i={},s={args:{resize:"vertical"}},o={args:{resize:"horizontal"}},t={args:{resize:"none"}},n={args:{invalid:!0}},l={args:{disabled:!0}},d={render:e=>r.jsxs(w,{invalid:e.invalid,children:[r.jsx(D,{htmlFor:"input1",children:"Label"}),r.jsx($,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(H,{id:"error1",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},c={args:{invalid:!0},render:e=>r.jsxs(w,{invalid:e.invalid,children:[r.jsx(D,{htmlFor:"input2",children:"Label"}),r.jsx($,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(H,{id:"error2",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var u,g,v;i.parameters={...i.parameters,docs:{...(u=i.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(v=(g=i.parameters)==null?void 0:g.docs)==null?void 0:v.source}}};var h,b,x;s.parameters={...s.parameters,docs:{...(h=s.parameters)==null?void 0:h.docs,source:{originalSource:`{ args: { resize: 'vertical' } diff --git a/demo-DES-969-file-list-component/assets/TextInput.docs-BHF0gScl.js b/demo-DES-969-file-list-component/assets/TextInput.docs-DHACD7DW.js similarity index 92% rename from demo-DES-969-file-list-component/assets/TextInput.docs-BHF0gScl.js rename to demo-DES-969-file-list-component/assets/TextInput.docs-DHACD7DW.js index 5cb2a983a5..3fb14f4b7d 100644 --- a/demo-DES-969-file-list-component/assets/TextInput.docs-BHF0gScl.js +++ b/demo-DES-969-file-list-component/assets/TextInput.docs-DHACD7DW.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r,aq as l,ar as a,as as d,at as s}from"./index-CsbqyhR0.js";import{T as h,E as c,W as p,P as m,a as u,I as f,D as x,b as j,c as b}from"./TextInput.stories-CqVUdAjk.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const g=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as r,aq as l,ar as a,as as d,at as s}from"./index-DEYBsmB_.js";import{T as h,E as c,W as p,P as m,a as u,I as f,D as x,b as j,c as b}from"./TextInput.stories-DkoWNMyS.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const g=` # Text Input @@ -106,4 +106,4 @@ This helps the user understand the context.`}),` `,e.jsxs(n.ul,{children:[` `,e.jsxs(n.li,{children:["Extensive ",e.jsx(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/text",rel:"nofollow",children:"guidelines for all types of input"})," on Mozilla Developer Network."]}),` `,e.jsxs(n.li,{children:["An overview of ",e.jsx(n.a,{href:"https://nl-design-system.github.io/utrecht/storybook/?path=/docs/react_react-textbox--docs",rel:"nofollow",children:"suitable metadata for various kinds of content"})," to be entered by Gemeente Utrecht."]}),` -`]})]})}function P(i={}){const{wrapper:n}={...o(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{P as default}; +`]})]})}function G(i={}){const{wrapper:n}={...o(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{G as default}; diff --git a/demo-DES-969-file-list-component/assets/TextInput.stories-CqVUdAjk.js b/demo-DES-969-file-list-component/assets/TextInput.stories-DkoWNMyS.js similarity index 96% rename from demo-DES-969-file-list-component/assets/TextInput.stories-CqVUdAjk.js rename to demo-DES-969-file-list-component/assets/TextInput.stories-DkoWNMyS.js index b88d3e1d30..1cbd04186b 100644 --- a/demo-DES-969-file-list-component/assets/TextInput.stories-CqVUdAjk.js +++ b/demo-DES-969-file-list-component/assets/TextInput.stories-DkoWNMyS.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-j_jdvEMj.js";import{e as q,f as R,P as k,E as w}from"./index.esm-Dojcg4AG.js";import{c as K}from"./clsx-B-dksMZM.js";import{r as Q}from"./index-B-o1Wr-g.js";const r=Q.forwardRef(({className:e,dir:C,invalid:B,type:G="text",...H},J)=>a.jsx("input",{...H,"aria-invalid":B||void 0,className:K("ams-text-input",e),dir:C??"auto",ref:J,type:G}));r.displayName="TextInput";try{r.displayName="TextInput",r.__docgenInfo={description:"",displayName:"TextInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},type:{defaultValue:{value:"text"},description:"The kind of data that the user should provide.",name:"type",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'}]}}}}}catch{}const U={title:"Components/Forms/Text Input",component:r,args:{disabled:!1,invalid:!1},argTypes:{defaultValue:{table:{disable:!0}},disabled:{description:"Prevents interaction. Avoid if possible."},invalid:{description:"Whether the value fails a validation rule."}}},s={},i={args:{defaultValue:"designsystem@amsterdam.nl",type:"email"}},t={args:{defaultValue:"https://designsystem.amsterdam/",type:"url"}},d={args:{defaultValue:"14020",type:"tel"}},l={args:{placeholder:"Placeholder text"}},n={args:{defaultValue:"Invalid value",invalid:!0}},o={args:{defaultValue:"Disabled input",disabled:!0}},c={render:e=>a.jsxs(q,{invalid:e.invalid,children:[a.jsx(R,{htmlFor:"input1",children:"Label"}),a.jsx(k,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&a.jsx(w,{id:"error1",children:"Foutmelding."}),a.jsx(r,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},u={args:{invalid:!0},render:e=>a.jsxs(q,{invalid:e.invalid,children:[a.jsx(R,{htmlFor:"input2",children:"Label"}),a.jsx(k,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&a.jsx(w,{id:"error2",children:"Foutmelding."}),a.jsx(r,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var p,m,g;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(g=(m=s.parameters)==null?void 0:m.docs)==null?void 0:g.source}}};var v,h,b;i.parameters={...i.parameters,docs:{...(v=i.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-BjgbQsUx.js";import{e as q,f as R,P as k,E as w}from"./index.esm-CEzKrmam.js";import{c as K}from"./clsx-B-dksMZM.js";import{r as Q}from"./index-RigO-4kf.js";const r=Q.forwardRef(({className:e,dir:C,invalid:B,type:G="text",...H},J)=>a.jsx("input",{...H,"aria-invalid":B||void 0,className:K("ams-text-input",e),dir:C??"auto",ref:J,type:G}));r.displayName="TextInput";try{r.displayName="TextInput",r.__docgenInfo={description:"",displayName:"TextInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},type:{defaultValue:{value:"text"},description:"The kind of data that the user should provide.",name:"type",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'}]}}}}}catch{}const U={title:"Components/Forms/Text Input",component:r,args:{disabled:!1,invalid:!1},argTypes:{defaultValue:{table:{disable:!0}},disabled:{description:"Prevents interaction. Avoid if possible."},invalid:{description:"Whether the value fails a validation rule."}}},s={},i={args:{defaultValue:"designsystem@amsterdam.nl",type:"email"}},t={args:{defaultValue:"https://designsystem.amsterdam/",type:"url"}},d={args:{defaultValue:"14020",type:"tel"}},l={args:{placeholder:"Placeholder text"}},n={args:{defaultValue:"Invalid value",invalid:!0}},o={args:{defaultValue:"Disabled input",disabled:!0}},c={render:e=>a.jsxs(q,{invalid:e.invalid,children:[a.jsx(R,{htmlFor:"input1",children:"Label"}),a.jsx(k,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&a.jsx(w,{id:"error1",children:"Foutmelding."}),a.jsx(r,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},u={args:{invalid:!0},render:e=>a.jsxs(q,{invalid:e.invalid,children:[a.jsx(R,{htmlFor:"input2",children:"Label"}),a.jsx(k,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&a.jsx(w,{id:"error2",children:"Foutmelding."}),a.jsx(r,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var p,m,g;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(g=(m=s.parameters)==null?void 0:m.docs)==null?void 0:g.source}}};var v,h,b;i.parameters={...i.parameters,docs:{...(v=i.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { defaultValue: 'designsystem@amsterdam.nl', type: 'email' diff --git a/demo-DES-969-file-list-component/assets/TimeInput.docs-B-1RTI6a.js b/demo-DES-969-file-list-component/assets/TimeInput.docs-D3jt_vCC.js similarity index 71% rename from demo-DES-969-file-list-component/assets/TimeInput.docs-B-1RTI6a.js rename to demo-DES-969-file-list-component/assets/TimeInput.docs-D3jt_vCC.js index 32b34f43af..1e93e79e05 100644 --- a/demo-DES-969-file-list-component/assets/TimeInput.docs-B-1RTI6a.js +++ b/demo-DES-969-file-list-component/assets/TimeInput.docs-D3jt_vCC.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as r,aq as a,ar as d,as as c,at as o}from"./index-CsbqyhR0.js";import{T as h,I as l,D as m,a as p,b as f}from"./TimeInput.stories-SjNKPEzG.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const x=` +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as t}from"./index-3rgQkYFR.js";import{ae as r,aq as a,ar as d,as as c,at as o}from"./index-DEYBsmB_.js";import{T as h,I as l,D as m,a as p,b as f}from"./TimeInput.stories-6ZCQRTgm.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const x=` # Time Input @@ -28,4 +28,4 @@ This does mean that this component does not look identical on all browsers and o `,n.jsx(e.h3,{id:"in-a-field-with-validation",children:"In a Field with validation"}),` `,n.jsxs(e.p,{children:["If the Time Input can become invalid, add an Error Message and its ",n.jsx(e.code,{children:"id"})," to the ",n.jsx(e.code,{children:"aria-describedby"})," attribute of the Time Input."]}),` `,n.jsxs(e.p,{children:["Check ",n.jsx(e.a,{href:"/docs/components-forms-field--docs",children:"the Field docs"})," for more information on configuring it."]}),` -`,n.jsx(o,{of:f})]})}function A(i={}){const{wrapper:e}={...t(),...i.components};return e?n.jsx(e,{...i,children:n.jsx(s,{...i})}):s(i)}export{A as default}; +`,n.jsx(o,{of:f})]})}function R(i={}){const{wrapper:e}={...t(),...i.components};return e?n.jsx(e,{...i,children:n.jsx(s,{...i})}):s(i)}export{R as default}; diff --git a/demo-DES-969-file-list-component/assets/TimeInput.stories-SjNKPEzG.js b/demo-DES-969-file-list-component/assets/TimeInput.stories-6ZCQRTgm.js similarity index 94% rename from demo-DES-969-file-list-component/assets/TimeInput.stories-SjNKPEzG.js rename to demo-DES-969-file-list-component/assets/TimeInput.stories-6ZCQRTgm.js index 1b7dc2f081..5b2b7bd800 100644 --- a/demo-DES-969-file-list-component/assets/TimeInput.stories-SjNKPEzG.js +++ b/demo-DES-969-file-list-component/assets/TimeInput.stories-6ZCQRTgm.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{e as y,f as _,P as T,E}from"./index.esm-Dojcg4AG.js";import{c as O}from"./clsx-B-dksMZM.js";import{r as M}from"./index-B-o1Wr-g.js";const i=M.forwardRef(({className:e,invalid:L,...P},S)=>r.jsx("input",{...P,"aria-invalid":L||void 0,className:O("ams-time-input",e),ref:S,type:"time"}));i.displayName="TimeInput";try{i.displayName="TimeInput",i.__docgenInfo={description:"",displayName:"TimeInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const z={title:"Components/Forms/Time Input",component:i,args:{disabled:!1,invalid:!1},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},a={},s={args:{invalid:!0}},d={args:{disabled:!0}},n={render:e=>r.jsxs(y,{invalid:e.invalid,children:[r.jsx(_,{htmlFor:"input1",children:"Label"}),r.jsx(T,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(E,{id:"error1",children:"Foutmelding."}),r.jsx(i,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},t={args:{invalid:!0},render:e=>r.jsxs(y,{invalid:e.invalid,children:[r.jsx(_,{htmlFor:"input2",children:"Label"}),r.jsx(T,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(E,{id:"error2",children:"Foutmelding."}),r.jsx(i,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var o,l,c;a.parameters={...a.parameters,docs:{...(o=a.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(c=(l=a.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};var p,m,u;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-BjgbQsUx.js";import{e as y,f as _,P as T,E}from"./index.esm-CEzKrmam.js";import{c as O}from"./clsx-B-dksMZM.js";import{r as M}from"./index-RigO-4kf.js";const i=M.forwardRef(({className:e,invalid:L,...P},S)=>r.jsx("input",{...P,"aria-invalid":L||void 0,className:O("ams-time-input",e),ref:S,type:"time"}));i.displayName="TimeInput";try{i.displayName="TimeInput",i.__docgenInfo={description:"",displayName:"TimeInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const z={title:"Components/Forms/Time Input",component:i,args:{disabled:!1,invalid:!1},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},a={},s={args:{invalid:!0}},d={args:{disabled:!0}},n={render:e=>r.jsxs(y,{invalid:e.invalid,children:[r.jsx(_,{htmlFor:"input1",children:"Label"}),r.jsx(T,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(E,{id:"error1",children:"Foutmelding."}),r.jsx(i,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},t={args:{invalid:!0},render:e=>r.jsxs(y,{invalid:e.invalid,children:[r.jsx(_,{htmlFor:"input2",children:"Label"}),r.jsx(T,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(E,{id:"error2",children:"Foutmelding."}),r.jsx(i,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var o,l,c;a.parameters={...a.parameters,docs:{...(o=a.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(c=(l=a.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};var p,m,u;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { invalid: true } diff --git a/demo-DES-969-file-list-component/assets/TopTaskLink.docs-Byk9I1Uf.js b/demo-DES-969-file-list-component/assets/TopTaskLink.docs-DjZxqMc_.js similarity index 70% rename from demo-DES-969-file-list-component/assets/TopTaskLink.docs-Byk9I1Uf.js rename to demo-DES-969-file-list-component/assets/TopTaskLink.docs-DjZxqMc_.js index 23ec22cd6a..6309f751d0 100644 --- a/demo-DES-969-file-list-component/assets/TopTaskLink.docs-Byk9I1Uf.js +++ b/demo-DES-969-file-list-component/assets/TopTaskLink.docs-DjZxqMc_.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as s,aq as r,ar as a,as as p,at as l}from"./index-CsbqyhR0.js";import{T as c,M as d}from"./TopTaskLink.stories-DXjCvwK3.js";import{S as h}from"./StatusBadge-_VA1BtQE.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./Badge-Cg5Q2pVP.js";const m=` +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as i}from"./index-3rgQkYFR.js";import{ae as s,aq as r,ar as a,as as p,at as l}from"./index-DEYBsmB_.js";import{T as c,M as d}from"./TopTaskLink.stories-Dp3qlzko.js";import{S as h}from"./StatusBadge-DiE14TfE.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./Badge-BvbF-Lgn.js";const m=` # Top Task Link @@ -35,4 +35,4 @@ The Top Task Link is subject to the same requirements as [regular links](/docs/c `,n.jsx(o.h3,{id:"multiple-links",children:"Multiple links"}),` `,n.jsx(o.p,{children:`Top tasks usually come in groups. Present them in a grid.`}),` -`,n.jsx(l,{of:d})]})}function E(e={}){const{wrapper:o}={...i(),...e.components};return o?n.jsx(o,{...e,children:n.jsx(t,{...e})}):t(e)}export{E as default}; +`,n.jsx(l,{of:d})]})}function G(e={}){const{wrapper:o}={...i(),...e.components};return o?n.jsx(o,{...e,children:n.jsx(t,{...e})}):t(e)}export{G as default}; diff --git a/demo-DES-969-file-list-component/assets/TopTaskLink.stories-DXjCvwK3.js b/demo-DES-969-file-list-component/assets/TopTaskLink.stories-Dp3qlzko.js similarity index 94% rename from demo-DES-969-file-list-component/assets/TopTaskLink.stories-DXjCvwK3.js rename to demo-DES-969-file-list-component/assets/TopTaskLink.stories-Dp3qlzko.js index ac80243ff1..9792188579 100644 --- a/demo-DES-969-file-list-component/assets/TopTaskLink.stories-DXjCvwK3.js +++ b/demo-DES-969-file-list-component/assets/TopTaskLink.stories-Dp3qlzko.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as r}from"./index.esm-Dojcg4AG.js";import{c as g}from"./clsx-B-dksMZM.js";import{r as h}from"./index-B-o1Wr-g.js";const a=h.forwardRef(({className:i,label:m,description:k,...u},f)=>e.jsxs("a",{...u,ref:f,className:g("ams-top-task-link",i),children:[e.jsx("span",{className:"ams-top-task-link__label",children:m}),e.jsx("span",{className:"ams-visually-hidden",children:","}),e.jsx("span",{className:"ams-top-task-link__description",children:k})]}));a.displayName="TopTaskLink";try{a.displayName="TopTaskLink",a.__docgenInfo={description:"",displayName:"TopTaskLink",props:{label:{defaultValue:null,description:"The title.",name:"label",required:!0,type:{name:"string"}},description:{defaultValue:null,description:"The text content.",name:"description",required:!0,type:{name:"string"}}}}}catch{}const b={title:"Components/Navigation/Top Task Link",component:a},n={args:{description:"Geef uw nieuwe adres door als u binnen Amsterdam of naar Amsterdam verhuist.",href:"#",label:"Verhuizing doorgeven"},argTypes:{href:{description:"The url for the link."}}},s={args:{description:"Omschrijving",label:"Titel"},render:()=>e.jsxs(r,{children:[e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"Bekijk welke belastingen en heffingen er zijn, hoe u bezwaar maakt of een betalingsregeling treft.",href:"#",label:"Gemeentebelastingen"})}),e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"U kunt met uw auto goedkoop parkeren bij een P+R-locatie aan de rand van de stad.",href:"#",label:"Parkeren + Reizen (P+R)"})}),e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"Vraag deze bewijzen aan of verleng ze. Geef een vermissing aan.",href:"#",label:"Paspoort, ID-kaart en rijbewijs"})}),e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"Meld een kind aan voor basisschool, middelbare school of kinderopvang. Bekijk het kindtegoed op uw Stadspas.",href:"#",label:"Onderwijs"})})]}),parameters:{docs:{source:{type:"dynamic"}}}};var o,t,l;n.parameters={...n.parameters,docs:{...(o=n.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{G as r}from"./index.esm-CEzKrmam.js";import{c as g}from"./clsx-B-dksMZM.js";import{r as h}from"./index-RigO-4kf.js";const a=h.forwardRef(({className:i,label:m,description:k,...u},f)=>e.jsxs("a",{...u,ref:f,className:g("ams-top-task-link",i),children:[e.jsx("span",{className:"ams-top-task-link__label",children:m}),e.jsx("span",{className:"ams-visually-hidden",children:","}),e.jsx("span",{className:"ams-top-task-link__description",children:k})]}));a.displayName="TopTaskLink";try{a.displayName="TopTaskLink",a.__docgenInfo={description:"",displayName:"TopTaskLink",props:{label:{defaultValue:null,description:"The title.",name:"label",required:!0,type:{name:"string"}},description:{defaultValue:null,description:"The text content.",name:"description",required:!0,type:{name:"string"}}}}}catch{}const b={title:"Components/Navigation/Top Task Link",component:a},n={args:{description:"Geef uw nieuwe adres door als u binnen Amsterdam of naar Amsterdam verhuist.",href:"#",label:"Verhuizing doorgeven"},argTypes:{href:{description:"The url for the link."}}},s={args:{description:"Omschrijving",label:"Titel"},render:()=>e.jsxs(r,{children:[e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"Bekijk welke belastingen en heffingen er zijn, hoe u bezwaar maakt of een betalingsregeling treft.",href:"#",label:"Gemeentebelastingen"})}),e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"U kunt met uw auto goedkoop parkeren bij een P+R-locatie aan de rand van de stad.",href:"#",label:"Parkeren + Reizen (P+R)"})}),e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"Vraag deze bewijzen aan of verleng ze. Geef een vermissing aan.",href:"#",label:"Paspoort, ID-kaart en rijbewijs"})}),e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"Meld een kind aan voor basisschool, middelbare school of kinderopvang. Bekijk het kindtegoed op uw Stadspas.",href:"#",label:"Onderwijs"})})]}),parameters:{docs:{source:{type:"dynamic"}}}};var o,t,l;n.parameters={...n.parameters,docs:{...(o=n.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { description: 'Geef uw nieuwe adres door als u binnen Amsterdam of naar Amsterdam verhuist.', href: '#', diff --git a/demo-DES-969-file-list-component/assets/UnorderedList.docs-B6TZ5chP.js b/demo-DES-969-file-list-component/assets/UnorderedList.docs-qxL94N2X.js similarity index 73% rename from demo-DES-969-file-list-component/assets/UnorderedList.docs-B6TZ5chP.js rename to demo-DES-969-file-list-component/assets/UnorderedList.docs-qxL94N2X.js index 06c83ab83b..3969125580 100644 --- a/demo-DES-969-file-list-component/assets/UnorderedList.docs-B6TZ5chP.js +++ b/demo-DES-969-file-list-component/assets/UnorderedList.docs-qxL94N2X.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r,aq as a,ar as h,as as l,at as t}from"./index-CsbqyhR0.js";import{U as d,T as c,W as m,I as p,S as x}from"./UnorderedList.stories-BenMmfj5.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";import"./exampleContent-hIIPvEhU.js";const f=` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as o}from"./index-3rgQkYFR.js";import{ae as r,aq as a,ar as h,as as l,at as t}from"./index-DEYBsmB_.js";import{U as d,T as c,W as m,I as p,S as x}from"./UnorderedList.stories-C46aic7k.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";import"./exampleContent-hIIPvEhU.js";const f=` # Unordered List @@ -40,4 +40,4 @@ When nesting lists, set the prop on all lists.`]}),` `,e.jsx(t,{of:p}),` `,e.jsx(s.h3,{id:"small-text",children:"Small text"}),` `,e.jsx(s.p,{children:"Use a list with a smaller font size in form descriptions and captions and the like."}),` -`,e.jsx(t,{of:x})]})}function A(n={}){const{wrapper:s}={...o(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(i,{...n})}):i(n)}export{A as default}; +`,e.jsx(t,{of:x})]})}function E(n={}){const{wrapper:s}={...o(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(i,{...n})}):i(n)}export{E as default}; diff --git a/demo-DES-969-file-list-component/assets/UnorderedList.stories-BenMmfj5.js b/demo-DES-969-file-list-component/assets/UnorderedList.stories-C46aic7k.js similarity index 96% rename from demo-DES-969-file-list-component/assets/UnorderedList.stories-BenMmfj5.js rename to demo-DES-969-file-list-component/assets/UnorderedList.stories-C46aic7k.js index b1daf22d45..1bdb10065e 100644 --- a/demo-DES-969-file-list-component/assets/UnorderedList.stories-BenMmfj5.js +++ b/demo-DES-969-file-list-component/assets/UnorderedList.stories-C46aic7k.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{p as n,P as d}from"./index.esm-Dojcg4AG.js";import{m as T,n as B,o as O,p as R,S as A,g as G,q as E,k as M}from"./index.esm-CEthAr-Q.js";import{f as V}from"./exampleContent-hIIPvEhU.js";import{c as _}from"./clsx-B-dksMZM.js";import{r as W}from"./index-B-o1Wr-g.js";const b=W.forwardRef(({children:s,className:a,...c},I)=>e.jsx("li",{ref:I,className:_("ams-unordered-list__item",a),...c,children:s}));b.displayName="UnorderedList.Item";try{UnorderedList.Item.displayName="UnorderedList.Item",UnorderedList.Item.__docgenInfo={description:"",displayName:"UnorderedList.Item",props:{}}}catch{}const D=W.forwardRef(({children:s,className:a,inverseColor:c,markers:I=!0,size:p,...w},C)=>e.jsx("ul",{ref:C,className:_("ams-unordered-list",c&&"ams-unordered-list--inverse-color",!I&&"ams-unordered-list--no-markers",p&&`ams-unordered-list--${p}`,a),...w,children:s}));D.displayName="UnorderedList";const r=Object.assign(D,{Item:b});try{r.displayName="UnorderedList",r.__docgenInfo={description:"",displayName:"UnorderedList",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},markers:{defaultValue:{value:"true"},description:"Whether the list items show a marker.",name:"markers",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"The size of the text.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'}]}}}}}catch{}const q=V().map((s,a)=>e.jsx(r.Item,{children:s},a)),H={title:"Components/Text/Unordered List",component:r,args:{children:q,inverseColor:!1,markers:void 0},argTypes:{size:{control:{type:"radio",labels:{small:"small",undefined:"medium"}},options:["small",void 0]}}},t={},o={render:s=>e.jsxs(r,{...s,children:[e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]}),e.jsxs(r.Item,{children:["Stadsdeel Nieuw-West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"De Aker, Sloten en Nieuw Sloten"}),e.jsx(r.Item,{children:"Geuzenveld, Slotermeer en Sloterdijken"}),e.jsx(r.Item,{children:"Osdorp"}),e.jsx(r.Item,{children:"Slotervaart"})]})]})]})},i={args:{children:[e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:T,size:"level-6"}),e.jsx(d,{children:"Stadsloket: locaties en openingstijden"})]})},1),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:B,size:"level-6"}),e.jsx(d,{children:"Parkeren + Reizen (P+R)"})]})},2),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:O,size:"level-6"}),e.jsx(d,{children:"Paspoort, ID-kaart en Rijbewijs"})]})},3),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:R,size:"level-6"}),e.jsx(d,{children:"Gemeentebelastingen"})]})},4),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:A,size:"level-6"}),e.jsx(d,{children:"Melding openbare ruimte en overlast"})]})},5),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:G,size:"level-6"}),e.jsx(d,{children:"Verhuizing doorgeven"})]})},6),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:E,size:"level-6"}),e.jsx(d,{children:"Grof afval"})]})},7),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:M,size:"level-6"}),e.jsx(d,{children:"Kennisgevingen en bekendmakingen"})]})},8)],markers:!1}},l={args:{inverseColor:!0},render:s=>e.jsx(r,{...s,children:e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]})})},m={args:{size:"small"}};var v,g,h;t.parameters={...t.parameters,docs:{...(v=t.parameters)==null?void 0:v.docs,source:{originalSource:"{}",...(h=(g=t.parameters)==null?void 0:g.docs)==null?void 0:h.source}}};var u,L,j;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{p as n,P as d}from"./index.esm-CEzKrmam.js";import{m as T,n as B,o as O,p as R,S as A,g as G,q as E,k as M}from"./index.esm-Bz9pa_xK.js";import{f as V}from"./exampleContent-hIIPvEhU.js";import{c as _}from"./clsx-B-dksMZM.js";import{r as W}from"./index-RigO-4kf.js";const b=W.forwardRef(({children:s,className:a,...c},I)=>e.jsx("li",{ref:I,className:_("ams-unordered-list__item",a),...c,children:s}));b.displayName="UnorderedList.Item";try{UnorderedList.Item.displayName="UnorderedList.Item",UnorderedList.Item.__docgenInfo={description:"",displayName:"UnorderedList.Item",props:{}}}catch{}const D=W.forwardRef(({children:s,className:a,inverseColor:c,markers:I=!0,size:p,...w},C)=>e.jsx("ul",{ref:C,className:_("ams-unordered-list",c&&"ams-unordered-list--inverse-color",!I&&"ams-unordered-list--no-markers",p&&`ams-unordered-list--${p}`,a),...w,children:s}));D.displayName="UnorderedList";const r=Object.assign(D,{Item:b});try{r.displayName="UnorderedList",r.__docgenInfo={description:"",displayName:"UnorderedList",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},markers:{defaultValue:{value:"true"},description:"Whether the list items show a marker.",name:"markers",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"The size of the text.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'}]}}}}}catch{}const q=V().map((s,a)=>e.jsx(r.Item,{children:s},a)),H={title:"Components/Text/Unordered List",component:r,args:{children:q,inverseColor:!1,markers:void 0},argTypes:{size:{control:{type:"radio",labels:{small:"small",undefined:"medium"}},options:["small",void 0]}}},t={},o={render:s=>e.jsxs(r,{...s,children:[e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]}),e.jsxs(r.Item,{children:["Stadsdeel Nieuw-West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"De Aker, Sloten en Nieuw Sloten"}),e.jsx(r.Item,{children:"Geuzenveld, Slotermeer en Sloterdijken"}),e.jsx(r.Item,{children:"Osdorp"}),e.jsx(r.Item,{children:"Slotervaart"})]})]})]})},i={args:{children:[e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:T,size:"level-6"}),e.jsx(d,{children:"Stadsloket: locaties en openingstijden"})]})},1),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:B,size:"level-6"}),e.jsx(d,{children:"Parkeren + Reizen (P+R)"})]})},2),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:O,size:"level-6"}),e.jsx(d,{children:"Paspoort, ID-kaart en Rijbewijs"})]})},3),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:R,size:"level-6"}),e.jsx(d,{children:"Gemeentebelastingen"})]})},4),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:A,size:"level-6"}),e.jsx(d,{children:"Melding openbare ruimte en overlast"})]})},5),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:G,size:"level-6"}),e.jsx(d,{children:"Verhuizing doorgeven"})]})},6),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:E,size:"level-6"}),e.jsx(d,{children:"Grof afval"})]})},7),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:M,size:"level-6"}),e.jsx(d,{children:"Kennisgevingen en bekendmakingen"})]})},8)],markers:!1}},l={args:{inverseColor:!0},render:s=>e.jsx(r,{...s,children:e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]})})},m={args:{size:"small"}};var v,g,h;t.parameters={...t.parameters,docs:{...(v=t.parameters)==null?void 0:v.docs,source:{originalSource:"{}",...(h=(g=t.parameters)==null?void 0:g.docs)==null?void 0:h.source}}};var u,L,j;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ render: args => Stadsdeel West diff --git a/demo-DES-969-file-list-component/assets/VisuallyHidden.docs-C6S7jU94.js b/demo-DES-969-file-list-component/assets/VisuallyHidden.docs-C6S7jU94.js deleted file mode 100644 index 57f77442bf..0000000000 --- a/demo-DES-969-file-list-component/assets/VisuallyHidden.docs-C6S7jU94.js +++ /dev/null @@ -1,20 +0,0 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as r,aq as a,ar as i,as as m}from"./index-CsbqyhR0.js";import{V as l}from"./VisuallyHidden.stories-CnuszhTj.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Dojcg4AG.js";import"./clsx-B-dksMZM.js";import"./index.esm-CEthAr-Q.js";const u=` - -# Visually Hidden - -Hides content from sighted users but keeps it accessible to non-visual user agents, such as screen readers. - -## Class name - -\`ams-visually-hidden\` - -## Guidelines - -- In most cases, visually available content should be accessible to non-visual user agents and vice versa. - Elaborate instructions or guidance read only by non-visual user agents can do more harm than good. -`;/*@license CC0-1.0*/function o(s){return n.jsxs(n.Fragment,{children:[` -`,` -`,n.jsx(r,{of:l}),` -`,n.jsx(a,{children:u}),` -`,n.jsx(i,{}),` -`,n.jsx(m,{})]})}function H(s={}){const{wrapper:e}={...t(),...s.components};return e?n.jsx(e,{...s,children:n.jsx(o,{...s})}):o()}export{H as default}; diff --git a/demo-DES-969-file-list-component/assets/VisuallyHidden.docs-CyuEGu8R.js b/demo-DES-969-file-list-component/assets/VisuallyHidden.docs-CyuEGu8R.js new file mode 100644 index 0000000000..4f350da4ed --- /dev/null +++ b/demo-DES-969-file-list-component/assets/VisuallyHidden.docs-CyuEGu8R.js @@ -0,0 +1,20 @@ +import{j as n}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as t}from"./index-3rgQkYFR.js";import{ae as r,aq as a,ar as i,as as m}from"./index-DEYBsmB_.js";import{V as l}from"./VisuallyHidden.stories-k4e6uhBr.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index.esm-CEzKrmam.js";import"./clsx-B-dksMZM.js";import"./index.esm-Bz9pa_xK.js";const u=` + +# Visually Hidden + +Hides content from sighted users but keeps it accessible to non-visual user agents, such as screen readers. + +## Class name + +\`ams-visually-hidden\` + +## Guidelines + +- In most cases, visually available content should be accessible to non-visual user agents and vice versa. + Elaborate instructions or guidance read only by non-visual user agents can do more harm than good. +`;/*@license CC0-1.0*/function o(s){return n.jsxs(n.Fragment,{children:[` +`,` +`,n.jsx(r,{of:l}),` +`,n.jsx(a,{children:u}),` +`,n.jsx(i,{}),` +`,n.jsx(m,{})]})}function V(s={}){const{wrapper:e}={...t(),...s.components};return e?n.jsx(e,{...s,children:n.jsx(o,{...s})}):o()}export{V as default}; diff --git a/demo-DES-969-file-list-component/assets/VisuallyHidden.stories-CnuszhTj.js b/demo-DES-969-file-list-component/assets/VisuallyHidden.stories-k4e6uhBr.js similarity index 92% rename from demo-DES-969-file-list-component/assets/VisuallyHidden.stories-CnuszhTj.js rename to demo-DES-969-file-list-component/assets/VisuallyHidden.stories-k4e6uhBr.js index 81c0362c82..f49dd3ae6a 100644 --- a/demo-DES-969-file-list-component/assets/VisuallyHidden.stories-CnuszhTj.js +++ b/demo-DES-969-file-list-component/assets/VisuallyHidden.stories-k4e6uhBr.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as i}from"./index.esm-Dojcg4AG.js";/** +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{P as i}from"./index.esm-CEzKrmam.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const r=({children:s})=>e.jsx("span",{className:"ams-visually-hidden",children:s});try{r.displayName="VisuallyHidden",r.__docgenInfo={description:"Renders examples in Storybook. Not for reuse.",displayName:"VisuallyHidden",props:{}}}catch{}const l=({children:s})=>e.jsxs(e.Fragment,{children:[e.jsx(i,{children:"This paragraph is available for everyone. Below this is a second paragraph, but it is aimed at non-visual user agents only. It is not perceivable on a screen."}),e.jsx(i,{className:"ams-visually-hidden",children:s})]}),d={title:"Utilities/CSS/Visually Hidden",component:r,args:{children:"Here is the paragraph that is visually hidden. A screen reader will pick it up and read it to its user."},argTypes:{children:{description:"The content to hide visually.",table:{disable:!1}}}},a={render:l};var t,o,n;a.parameters={...a.parameters,docs:{...(t=a.parameters)==null?void 0:t.docs,source:{originalSource:`{ diff --git a/demo-DES-969-file-list-component/assets/_commonjsHelpers-Cpj98o6Y.js b/demo-DES-969-file-list-component/assets/_commonjsHelpers-Cpj98o6Y.js deleted file mode 100644 index b285ce5431..0000000000 --- a/demo-DES-969-file-list-component/assets/_commonjsHelpers-Cpj98o6Y.js +++ /dev/null @@ -1 +0,0 @@ -var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{o as c,l as g}; diff --git a/demo-DES-969-file-list-component/assets/_commonjsHelpers-CqkleIqs.js b/demo-DES-969-file-list-component/assets/_commonjsHelpers-CqkleIqs.js new file mode 100644 index 0000000000..dbbfc19b90 --- /dev/null +++ b/demo-DES-969-file-list-component/assets/_commonjsHelpers-CqkleIqs.js @@ -0,0 +1 @@ +function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}export{e as g}; diff --git a/demo-DES-969-file-list-component/assets/aspect-ratio.docs-D4idx08P.js b/demo-DES-969-file-list-component/assets/aspect-ratio.docs-B1QrkXfy.js similarity index 82% rename from demo-DES-969-file-list-component/assets/aspect-ratio.docs-D4idx08P.js rename to demo-DES-969-file-list-component/assets/aspect-ratio.docs-B1QrkXfy.js index f8f8256192..4051119870 100644 --- a/demo-DES-969-file-list-component/assets/aspect-ratio.docs-D4idx08P.js +++ b/demo-DES-969-file-list-component/assets/aspect-ratio.docs-B1QrkXfy.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as n}from"./index-CsbqyhR0.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BqRGPnP1.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function a(s){const t={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-BjgbQsUx.js";import{useMDXComponents as i}from"./index-3rgQkYFR.js";import{ae as n}from"./index-DEYBsmB_.js";import"./index-D2MAbzvX.js";import"./index-RigO-4kf.js";import"./_commonjsHelpers-CqkleIqs.js";import"./iframe-QKsKbWsF.js";import"../sb-preview/runtime.js";import"./index-BIm0odtm.js";import"./index-D-8MO0q_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function a(s){const t={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(n,{title:"Brand/Design Tokens/Aspect Ratio"}),` `,e.jsx(t.h1,{id:"aspect-ratio",children:"Aspect Ratio"}),` @@ -14,4 +14,4 @@ Content with intrinsic dimensions that do not match an aspect ratio will be crop `,e.jsxs(t.ul,{children:[` `,e.jsxs(t.li,{children:["The ",e.jsx(t.a,{href:"https://designsystem.amsterdam/?path=/docs/components-media-image--docs",rel:"nofollow",children:"Image"})," component has an ",e.jsx(t.code,{children:"aspectRatio"})," prop that sets one of these classes."]}),` `,e.jsxs(t.li,{children:["The ",e.jsx(t.a,{href:"https://designsystem.amsterdam/?path=/docs/components-layout-breakout--docs",rel:"nofollow",children:"Breakout"})," layout positions an image with a certain aspect ratio in a Spotlight."]}),` -`]})]})}function y(s={}){const{wrapper:t}={...i(),...s.components};return t?e.jsx(t,{...s,children:e.jsx(a,{...s})}):a(s)}export{y as default}; +`]})]})}function f(s={}){const{wrapper:t}={...i(),...s.components};return t?e.jsx(t,{...s,children:e.jsx(a,{...s})}):a(s)}export{f as default}; diff --git a/demo-DES-969-file-list-component/assets/axe-lnWdN9pe.js b/demo-DES-969-file-list-component/assets/axe-CAdAuYKS.js similarity index 81% rename from demo-DES-969-file-list-component/assets/axe-lnWdN9pe.js rename to demo-DES-969-file-list-component/assets/axe-CAdAuYKS.js index 2d237e4e27..f9885664db 100644 --- a/demo-DES-969-file-list-component/assets/axe-lnWdN9pe.js +++ b/demo-DES-969-file-list-component/assets/axe-CAdAuYKS.js @@ -1,4 +1,4 @@ -import{g as FF,c as TF}from"./_commonjsHelpers-Cpj98o6Y.js";function RF(Zt,zr){for(var w=0;wJe[M]})}}}return Object.freeze(Object.defineProperty(Zt,Symbol.toStringTag,{value:"Module"}))}var wu={exports:{}};/*! axe v4.8.4 +import{g as TF}from"./_commonjsHelpers-CqkleIqs.js";function RF(Zt,zr){for(var w=0;wJe[M]})}}}return Object.freeze(Object.defineProperty(Zt,Symbol.toStringTag,{value:"Module"}))}var Kn={exports:{}};/*! axe v4.8.4 * Copyright (c) 2015 - 2024 Deque Systems, Inc. * * Your use of this Source Code Form is subject to the terms of the Mozilla Public @@ -8,23 +8,23 @@ import{g as FF,c as TF}from"./_commonjsHelpers-Cpj98o6Y.js";function RF(Zt,zr){f * 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. - */wu.exports;(function(Zt){(function zr(w){var Je=w,M=w.document,y=y||{};y.version="4.8.4",k(Zt)==="object"&&Zt.exports&&typeof zr.toString=="function"&&(y.source="("+zr.toString()+')(typeof window === "object" ? window : this);',Zt.exports=y),typeof w.getComputedStyle=="function"&&(w.axe=y);function Vr(C){this.name="SupportError",this.cause=C.cause,this.message="`".concat(C.cause,"` - feature unsupported in your environment."),C.ruleId&&(this.ruleId=C.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=new Error().stack}Vr.prototype=Object.create(Error.prototype),Vr.prototype.constructor=Vr;var Vf=["node"],Hf=["relatedNodes"],$f=["node"],Uf=["variant"],Gf=["matches"],Wf=["chromium"],Yf=["noImplicit"],Xf=["noPresentational"],Kf=["precision","format","inGamut"],Zf=["space"],Jf=["algorithm"],Qf=["method"],ep=["maxDeltaE","deltaEMethod","steps","maxSteps"],tp=["node"],rp=["environmentData"],ap=["environmentData"],np=["environmentData"],ip=["environmentData"],op=["environmentData"];function up(C){return ku(C)||Tu(C)||Ta(C)||Ru()}function lp(C,T,N){return T=Ou(T),T in C?Object.defineProperty(C,T,{value:N,enumerable:!0,configurable:!0,writable:!0}):C[T]=N,C}function Ca(C,T,N){return _u()?Ca=Reflect.construct.bind():Ca=function(pe,ge,Qe){var dt=[null];dt.push.apply(dt,ge);var et=Function.bind.apply(pe,dt),tt=new et;return Qe&&Aa(tt,Qe.prototype),tt},Ca.apply(null,arguments)}function Kn(C,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(T&&T.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),T&&Aa(C,T)}function Aa(C,T){return Aa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(K,pe){return K.__proto__=pe,K},Aa(C,T)}function Zn(C){var T=_u();return function(){var K=Fa(C),pe;if(T){var ge=Fa(this).constructor;pe=Reflect.construct(K,arguments,ge)}else pe=K.apply(this,arguments);return sp(this,pe)}}function sp(C,T){if(T&&(k(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Du(C)}function Du(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}function _u(){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 Fa(C){return Fa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(N){return N.__proto__||Object.getPrototypeOf(N)},Fa(C)}function xu(C,T,N){Cu(C,T),T.set(C,N)}function Eu(C,T){Cu(C,T),T.add(C)}function Cu(C,T){if(T.has(C))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Hr(C,T){var N=Fu(C,T,"get");return cp(C,N)}function cp(C,T){return T.get?T.get.call(C):T.value}function Jn(C,T,N){if(!T.has(C))throw new TypeError("attempted to get private field on non-instance");return N}function Au(C,T,N){var K=Fu(C,T,"set");return dp(C,K,N),N}function Fu(C,T,N){if(!T.has(C))throw new TypeError("attempted to "+N+" private field on non-instance");return T.get(C)}function dp(C,T,N){if(T.set)T.set.call(C,N);else{if(!T.writable)throw new TypeError("attempted to set read only private field");T.value=N}}function Pe(C,T){if(C==null)return{};var N=fp(C,T),K,pe;if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(C);for(pe=0;pe=0)&&Object.prototype.propertyIsEnumerable.call(C,K)&&(N[K]=C[K])}return N}function fp(C,T){if(C==null)return{};var N={},K=Object.keys(C),pe,ge;for(ge=0;ge=0)&&(N[pe]=C[pe]);return N}function re(C){return mp(C)||Tu(C)||Ta(C)||pp()}function pp(){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 Tu(C){if(typeof Symbol<"u"&&C[Symbol.iterator]!=null||C["@@iterator"]!=null)return Array.from(C)}function mp(C){if(Array.isArray(C))return Qn(C)}function fe(){return fe=Object.assign?Object.assign.bind():function(C){for(var T=1;T=C.length?{done:!0}:{done:!1,value:C[K++]}},e:function(tt){throw tt},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 ge=!0,Qe=!1,dt;return{s:function(){N=N.call(C)},n:function(){var tt=N.next();return ge=tt.done,tt},e:function(tt){Qe=!0,dt=tt},f:function(){try{!ge&&N.return!=null&&N.return()}finally{if(Qe)throw dt}}}}function Ta(C,T){if(C){if(typeof C=="string")return Qn(C,T);var N=Object.prototype.toString.call(C).slice(8,-1);if(N==="Object"&&C.constructor&&(N=C.constructor.name),N==="Map"||N==="Set")return Array.from(C);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return Qn(C,T)}}function Qn(C,T){(T==null||T>C.length)&&(T=C.length);for(var N=0,K=new Array(T);N0?1:-1}}),_p=x(function(e,t){t.exports=wp()()?Math.sign:Dp()}),xp=x(function(e,t){var r=_p(),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)))}}),Qt=x(function(e,t){var r=xp(),a=Math.max;t.exports=function(n){return a(0,r(n))}}),Iu=x(function(e,t){var r=Qt();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)}}),Bt=x(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r}}),yr=x(function(e,t){var r=Jt();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a}}),Ep=x(function(e,t){var r=Bt(),a=yr(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(l,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 l!="function"&&(l=f[l]),i.call(l,f,function(h,b){return u.call(c,h)?i.call(d,p,c[h],h,c,b):s})}}}),Ra=x(function(e,t){t.exports=Ep()("forEach")}),er=x(function(){}),Cp=x(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")}}),Ap=x(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}}),Fp=x(function(e,t){var r=Jt(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)}}),Tp=x(function(e,t){t.exports=Ap()()?Object.keys:Fp()}),Rp=x(function(e,t){var r=Tp(),a=yr(),n=Math.max;t.exports=function(i,o){var u,l,s=n(arguments.length,2),c;for(i=Object(a(i)),c=function(f){try{i[f]=o[f]}catch(p){u||(u=p)}},l=1;l-1}}),Bp=x(function(e,t){t.exports=Pp()()?String.prototype.contains:Lp()}),tr=x(function(e,t){var r=qu(),a=Ip(),n=Pu(),i=Nu(),o=Bp(),u=t.exports=function(l,s){var c,d,f,p,m;return arguments.length<2||typeof l!="string"?(p=s,s=l,l=null):p=arguments[2],r(l)?(c=o.call(l,"c"),d=o.call(l,"e"),f=o.call(l,"w")):(c=f=!0,d=!1),m={value:s,configurable:c,enumerable:d,writable:f},p?n(i(p),m):m};u.gs=function(l,s,c){var d,f,p,m;return typeof l!="string"?(p=c,c=s,s=l,l=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(l)?(d=o.call(l,"c"),f=o.call(l,"e")):(d=!0,f=!1),m={get:s,set:c,configurable:d,enumerable:f},p?n(i(p),m):m}}),qp=x(function(e,t){var r=tr(),a=Bt(),n=Function.prototype.apply,i=Function.prototype.call,o=Object.create,u=Object.defineProperty,l=Object.defineProperties,s=Object.prototype.hasOwnProperty,c={configurable:!0,enumerable:!1,writable:!0},d,f,p,m,h,b,v;d=function(D,_){var F;return a(_),s.call(this,"__ee__")?F=this.__ee__:(F=c.value=o(null),u(this,"__ee__",c),c.value=null),F[D]?k(F[D])==="object"?F[D].push(_):F[D]=[F[D],_]:F[D]=_,this},f=function(D,_){var F,R;return a(_),R=this,d.call(this,D,F=function(){p.call(R,D,F),n.call(_,this,arguments)}),F.__eeOnceListener__=_,this},p=function(D,_){var F,R,S,L;if(a(_),!s.call(this,"__ee__"))return this;if(F=this.__ee__,!F[D])return this;if(R=F[D],k(R)==="object")for(L=0;S=R[L];++L)(S===_||S.__eeOnceListener__===_)&&(R.length===2?F[D]=R[L?0:1]:R.splice(L,1));else(R===_||R.__eeOnceListener__===_)&&delete F[D];return this},m=function(D){var _,F,R,S,L;if(s.call(this,"__ee__")&&(S=this.__ee__[D],!!S))if(k(S)==="object"){for(F=arguments.length,L=new Array(F-1),_=1;_"u"?"undefined":k(globalThis))!=="object"||!globalThis?!1:globalThis.Array===Array}}),Vp=x(function(e,t){var r=function(){if((typeof self>"u"?"undefined":k(self))==="object"&&self)return self;if((typeof w>"u"?"undefined":k(w))==="object"&&w)return w;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__}}()}),ka=x(function(e,t){t.exports=zp()()?globalThis:Vp()}),Hp=x(function(e,t){var r=ka(),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[k(n.iterator)]||!a[k(n.toPrimitive)]||!a[k(n.toStringTag)])}}),$p=x(function(e,t){t.exports=function(r){return r?k(r)==="symbol"?!0:!r.constructor||r.constructor.name!=="Symbol"?!1:r[r.constructor.toStringTag]==="Symbol":!1}}),ju=x(function(e,t){var r=$p();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a}}),Up=x(function(e,t){var r=tr(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(u){for(var l=0,s,c;o[u+(l||"")];)++l;return u+=l||"",o[u]=!0,s="@@"+u,n(i,s,r.gs(null,function(d){c||(c=!0,n(this,s,r(d)),c=!1)})),s}}),Gp=x(function(e,t){var r=tr(),a=ka().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"))})}}),Wp=x(function(e,t){var r=tr(),a=ju(),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 u;a(o);for(u in n)if(n[u]===o)return u})})}}),Yp=x(function(e,t){var r=tr(),a=ju(),n=ka().Symbol,i=Up(),o=Gp(),u=Wp(),l=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(h){if(this instanceof f)throw new TypeError("Symbol is not a constructor");return d(h)},t.exports=d=function m(h){var b;if(this instanceof m)throw new TypeError("Symbol is not a constructor");return p?n(h):(b=l(f.prototype),h=h===void 0?"":String(h),s(b,{__description__:r("",h),__name__:r("",i(h))}))},o(d),u(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 k(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]))}),Xp=x(function(e,t){t.exports=Hp()()?ka().Symbol:Yp()}),Kp=x(function(e,t){var r=Object.prototype.toString,a=r.call(function(){return arguments}());t.exports=function(n){return r.call(n)===a}}),Zp=x(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))}}),Jp=x(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&k(n)==="object"&&(n instanceof String||r.call(n)===a)||!1}}),Qp=x(function(e,t){var r=Xp().iterator,a=Kp(),n=Zp(),i=Qt(),o=Bt(),u=yr(),l=Jt(),s=Jp(),c=Array.isArray,d=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},p=Object.defineProperty;t.exports=function(m){var h=arguments[1],b=arguments[2],v,g,D,_,F,R,S,L,G,q;if(m=Object(u(m)),l(h)&&o(h),!this||this===Array||!n(this)){if(!h){if(a(m))return F=m.length,F!==1?Array.apply(null,m):(_=new Array(1),_[0]=m[0],_);if(c(m)){for(_=new Array(F=m.length),g=0;g=55296&&R<=56319&&(q+=m[++g])),q=h?d.call(h,b,q,D):q,v?(f.value=q,p(_,D,f)):_[D]=q,++D;F=D}}if(F===void 0)for(F=i(m.length),v&&(_=new v(F)),g=0;g=0?f=l(f):f=a(this.length)-l(u(f)),c=f;c"u"?"undefined":k(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n))};if((typeof M>"u"?"undefined":k(M))==="object"&&M){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":k(setTimeout))==="object"?function(n){setTimeout(r(n),0)}:null}()}),pm=x(function(){var e=ti(),t=zu(),r=Lu(),a=Bu(),n=ai(),i=Array.prototype.slice,o=Function.prototype.apply,u=Object.create;er().async=function(l,s){var c=u(null),d=u(null),f=s.memoized,p=s.original,m,h,b;s.memoized=a(function(v){var g=arguments,D=g[g.length-1];return typeof D=="function"&&(m=D,g=i.call(g,0,-1)),f.apply(h=this,b=g)},f);try{r(s.memoized,f)}catch{}s.on("get",function(v){var g,D,_;if(m){if(c[v]){typeof c[v]=="function"?c[v]=[c[v],m]:c[v].push(m),m=null;return}g=m,D=h,_=b,m=h=b=null,n(function(){var F;hasOwnProperty.call(d,v)?(F=d[v],s.emit("getasync",v,_,D),o.call(g,F.context,F.args)):(m=g,h=D,b=_,f.apply(D,_))})}}),s.original=function(){var v,g,D,_;return m?(v=e(arguments),g=function F(R){var S,L,G=F.id;if(G==null){n(o.bind(F,this,arguments));return}if(delete F.id,S=c[G],delete c[G],!!S)return L=e(arguments),s.has(G)&&(R?s.delete(G):(d[G]={context:this,args:L},s.emit("setasync",G,typeof S=="function"?1:S.length))),typeof S=="function"?_=o.call(S,this,L):S.forEach(function(q){_=o.call(q,this,L)},this),_},D=m,m=h=b=null,v.push(g),_=o.call(p,this,v),g.cb=D,m=g,_):o.call(p,this,arguments)},s.on("set",function(v){if(!m){s.delete(v);return}c[v]?typeof c[v]=="function"?c[v]=[c[v],m.cb]:c[v].push(m.cb):c[v]=m.cb,delete m.cb,m.id=v,m=null}),s.on("delete",function(v){var g;hasOwnProperty.call(c,v)||d[v]&&(g=d[v],delete d[v],s.emit("deleteasync",v,i.call(g.args,1)))}),s.on("clear",function(){var v=d;d=u(null),s.emit("clearasync",t(v,function(g){return i.call(g.args,1)}))})}}),mm=x(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}}),Vu=x(function(e,t){t.exports=function(r){return typeof r=="function"}}),hm=x(function(e,t){var r=Vu();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}}}),vm=x(function(e,t){var r=yr(),a=hm();t.exports=function(n){return a(r(n))}}),gm=x(function(e,t){var r=Vu();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return""}}}),bm=x(function(e,t){var r=gm(),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}}),Hu=x(function(e,t){t.exports=r,t.exports.default=r;function r(a){return!!a&&(k(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),ym=x(function(){var e=zu(),t=mm(),r=vm(),a=bm(),n=Hu(),i=ai(),o=Object.create,u=t("then","then:finally","done","done:finally");er().promise=function(l,s){var c=o(null),d=o(null),f=o(null);if(l===!0)l=null;else if(l=r(l),!u[l])throw new TypeError("'"+a(l)+"' is not valid promise mode");s.on("set",function(p,m,h){var b=!1;if(!n(h)){d[p]=h,s.emit("setasync",p,1);return}c[p]=1,f[p]=h;var v=function(R){var S=c[p];if(b)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.`);S&&(delete c[p],d[p]=R,s.emit("setasync",p,S))},g=function(){b=!0,c[p]&&(delete c[p],delete f[p],s.delete(p))},D=l;if(D||(D="then"),D==="then"){var _=function(){i(g)};h=h.then(function(F){i(v.bind(this,F))},_),typeof h.finally=="function"&&h.finally(_)}else if(D==="done"){if(typeof h.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");h.done(v,g)}else if(D==="done:finally"){if(typeof h.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof h.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");h.done(v),h.finally(g)}}),s.on("get",function(p,m,h){var b;if(c[p]){++c[p];return}b=f[p];var v=function(){s.emit("getasync",p,m,h)};n(b)?typeof b.done=="function"?b.done(v):b.then(function(){i(v)}):v()}),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]}))})}}),wm=x(function(){var e=Bt(),t=Ra(),r=er(),a=Function.prototype.apply;r.dispose=function(n,i,o){var u;if(e(n),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",u=function(s,c){a.call(n,null,c)}),i.on("clearasync",function(l){t(l,function(s,c){u(c,s)})});return}i.on("delete",u=function(s,c){n(c)}),i.on("clear",function(l){t(l,function(s,c){u(c,s)})})}}),Dm=x(function(e,t){t.exports=2147483647}),_m=x(function(e,t){var r=Qt(),a=Dm();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n}}),xm=x(function(){var e=ti(),t=Ra(),r=ai(),a=Hu(),n=_m(),i=er(),o=Function.prototype,u=Math.max,l=Math.min,s=Object.create;i.maxAge=function(c,d,f){var p,m,h,b;c=n(c),c&&(p=s(null),m=f.async&&i.async||f.promise&&i.promise?"async":"",d.on("set"+m,function(v){p[v]=setTimeout(function(){d.delete(v)},c),typeof p[v].unref=="function"&&p[v].unref(),b&&(b[v]&&b[v]!=="nextTick"&&clearTimeout(b[v]),b[v]=setTimeout(function(){delete b[v]},h),typeof b[v].unref=="function"&&b[v].unref())}),d.on("delete"+m,function(v){clearTimeout(p[v]),delete p[v],b&&(b[v]!=="nextTick"&&clearTimeout(b[v]),delete b[v])}),f.preFetch&&(f.preFetch===!0||isNaN(f.preFetch)?h=.333:h=u(l(Number(f.preFetch),1),0),h&&(b={},h=(1-h)*c,d.on("get"+m,function(v,g,D){b[v]||(b[v]="nextTick",r(function(){var _;b[v]==="nextTick"&&(delete b[v],d.delete(v),f.async&&(g=e(g),g.push(o)),_=d.memoized.apply(D,g),f.promise&&a(_)&&(typeof _.done=="function"?_.done(o,o):_.then(o,o)))}))}))),d.on("clear"+m,function(){t(p,function(v){clearTimeout(v)}),p={},b&&(t(b,function(v){v!=="nextTick"&&clearTimeout(v)}),b={})}))}}),Em=x(function(e,t){var r=Qt(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,u=1,l=a(null),s=a(null),c=0,d;return i=r(i),{hit:function(p){var m=s[p],h=++c;if(l[h]=p,s[p]=h,!m)return++o,o<=i?void 0:(p=l[u],d(p),p);if(delete l[m],u===m)for(;!n.call(l,++u););},delete:d=function(p){var m=s[p];if(m&&(delete l[m],delete s[p],--o,u===m)){if(!o){c=0,u=1;return}for(;!n.call(l,++u););}},clear:function(){o=0,u=1,l=a(null),s=a(null),c=0}}}}),Cm=x(function(){var e=Qt(),t=Em(),r=er();r.max=function(a,n,i){var o,u,l;a=e(a),a&&(u=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,l=function(c){c=u.hit(c),c!==void 0&&n.delete(c)}),n.on("get"+o,l),n.on("delete"+o,u.delete),n.on("clear"+o,u.clear))}}),Am=x(function(){var e=tr(),t=er(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,i,o){var u,l;u=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+l,function(s,c){u[s]=c||1}),i.on("get"+l,function(s){++u[s]}),i.on("delete"+l,function(s){delete u[s]}),i.on("clear"+l,function(){u={}}),a(i.memoized,{deleteRef:e(function(){var s=i.get(arguments);return s===null||!u[s]?null:--u[s]?!1:(i.delete(s),!0)}),getRefCount:e(function(){var s=i.get(arguments);return s===null||!u[s]?0:u[s]})})}}),$u=x(function(e,t){var r=Nu(),a=Iu(),n=nm();t.exports=function(i){var o=r(arguments[1]),u;return o.normalizer||(u=o.length=a(o.length,i.length,o.async),u!==0&&(o.primitive?u===!1?o.normalizer=im():u>1&&(o.normalizer=om()(u)):u===!1?o.normalizer=cm()():u===1?o.normalizer=dm()():o.normalizer=fm()(u))),o.async&&pm(),o.promise&&ym(),o.dispose&&wm(),o.maxAge&&xm(),o.max&&Cm(),o.refCounter&&Am(),n(i,o)}}),Uu=x(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(o){return o>="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 u=o.length,l="",s=0;s="A"&&c<="Z"||c>="a"&&c<="z"||s!==0&&c>="0"&&c<="9")l+=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}l+="\\"+d.toString(16)+" "}s++}return l}e.escapeIdentifier=n;function i(o){for(var u=o.length,l="",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:` + */var kF=Kn.exports,zf;function SF(){return zf||(zf=1,function(Zt){(function zr(w){var Je=w,M=w.document,y=y||{};y.version="4.8.4",k(Zt)==="object"&&Zt.exports&&typeof zr.toString=="function"&&(y.source="("+zr.toString()+')(typeof window === "object" ? window : this);',Zt.exports=y),typeof w.getComputedStyle=="function"&&(w.axe=y);function Vr(C){this.name="SupportError",this.cause=C.cause,this.message="`".concat(C.cause,"` - feature unsupported in your environment."),C.ruleId&&(this.ruleId=C.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=new Error().stack}Vr.prototype=Object.create(Error.prototype),Vr.prototype.constructor=Vr;var Hf=["node"],$f=["relatedNodes"],Uf=["node"],Gf=["variant"],Wf=["matches"],Yf=["chromium"],Xf=["noImplicit"],Kf=["noPresentational"],Zf=["precision","format","inGamut"],Jf=["space"],Qf=["algorithm"],ep=["method"],tp=["maxDeltaE","deltaEMethod","steps","maxSteps"],rp=["node"],ap=["environmentData"],np=["environmentData"],ip=["environmentData"],op=["environmentData"],up=["environmentData"];function lp(C){return ku(C)||Tu(C)||Ta(C)||Ru()}function sp(C,T,N){return T=Ou(T),T in C?Object.defineProperty(C,T,{value:N,enumerable:!0,configurable:!0,writable:!0}):C[T]=N,C}function Ca(C,T,N){return _u()?Ca=Reflect.construct.bind():Ca=function(pe,ge,Qe){var dt=[null];dt.push.apply(dt,ge);var et=Function.bind.apply(pe,dt),tt=new et;return Qe&&Aa(tt,Qe.prototype),tt},Ca.apply(null,arguments)}function Zn(C,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(T&&T.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),T&&Aa(C,T)}function Aa(C,T){return Aa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(K,pe){return K.__proto__=pe,K},Aa(C,T)}function Jn(C){var T=_u();return function(){var K=Fa(C),pe;if(T){var ge=Fa(this).constructor;pe=Reflect.construct(K,arguments,ge)}else pe=K.apply(this,arguments);return cp(this,pe)}}function cp(C,T){if(T&&(k(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Du(C)}function Du(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}function _u(){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 Fa(C){return Fa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(N){return N.__proto__||Object.getPrototypeOf(N)},Fa(C)}function xu(C,T,N){Cu(C,T),T.set(C,N)}function Eu(C,T){Cu(C,T),T.add(C)}function Cu(C,T){if(T.has(C))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Hr(C,T){var N=Fu(C,T,"get");return dp(C,N)}function dp(C,T){return T.get?T.get.call(C):T.value}function Qn(C,T,N){if(!T.has(C))throw new TypeError("attempted to get private field on non-instance");return N}function Au(C,T,N){var K=Fu(C,T,"set");return fp(C,K,N),N}function Fu(C,T,N){if(!T.has(C))throw new TypeError("attempted to "+N+" private field on non-instance");return T.get(C)}function fp(C,T,N){if(T.set)T.set.call(C,N);else{if(!T.writable)throw new TypeError("attempted to set read only private field");T.value=N}}function Pe(C,T){if(C==null)return{};var N=pp(C,T),K,pe;if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(C);for(pe=0;pe=0)&&Object.prototype.propertyIsEnumerable.call(C,K)&&(N[K]=C[K])}return N}function pp(C,T){if(C==null)return{};var N={},K=Object.keys(C),pe,ge;for(ge=0;ge=0)&&(N[pe]=C[pe]);return N}function re(C){return hp(C)||Tu(C)||Ta(C)||mp()}function mp(){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 Tu(C){if(typeof Symbol<"u"&&C[Symbol.iterator]!=null||C["@@iterator"]!=null)return Array.from(C)}function hp(C){if(Array.isArray(C))return ei(C)}function fe(){return fe=Object.assign?Object.assign.bind():function(C){for(var T=1;T=C.length?{done:!0}:{done:!1,value:C[K++]}},e:function(tt){throw tt},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 ge=!0,Qe=!1,dt;return{s:function(){N=N.call(C)},n:function(){var tt=N.next();return ge=tt.done,tt},e:function(tt){Qe=!0,dt=tt},f:function(){try{!ge&&N.return!=null&&N.return()}finally{if(Qe)throw dt}}}}function Ta(C,T){if(C){if(typeof C=="string")return ei(C,T);var N=Object.prototype.toString.call(C).slice(8,-1);if(N==="Object"&&C.constructor&&(N=C.constructor.name),N==="Map"||N==="Set")return Array.from(C);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return ei(C,T)}}function ei(C,T){(T==null||T>C.length)&&(T=C.length);for(var N=0,K=new Array(T);N0?1:-1}}),xp=x(function(e,t){t.exports=Dp()()?Math.sign:_p()}),Ep=x(function(e,t){var r=xp(),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)))}}),Qt=x(function(e,t){var r=Ep(),a=Math.max;t.exports=function(n){return a(0,r(n))}}),Iu=x(function(e,t){var r=Qt();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)}}),Bt=x(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r}}),yr=x(function(e,t){var r=Jt();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a}}),Cp=x(function(e,t){var r=Bt(),a=yr(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(l,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 l!="function"&&(l=f[l]),i.call(l,f,function(h,b){return u.call(c,h)?i.call(d,p,c[h],h,c,b):s})}}}),Ra=x(function(e,t){t.exports=Cp()("forEach")}),er=x(function(){}),Ap=x(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")}}),Fp=x(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}}),Tp=x(function(e,t){var r=Jt(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)}}),Rp=x(function(e,t){t.exports=Fp()()?Object.keys:Tp()}),kp=x(function(e,t){var r=Rp(),a=yr(),n=Math.max;t.exports=function(i,o){var u,l,s=n(arguments.length,2),c;for(i=Object(a(i)),c=function(f){try{i[f]=o[f]}catch(p){u||(u=p)}},l=1;l-1}}),qp=x(function(e,t){t.exports=Lp()()?String.prototype.contains:Bp()}),tr=x(function(e,t){var r=qu(),a=Pp(),n=Pu(),i=Nu(),o=qp(),u=t.exports=function(l,s){var c,d,f,p,m;return arguments.length<2||typeof l!="string"?(p=s,s=l,l=null):p=arguments[2],r(l)?(c=o.call(l,"c"),d=o.call(l,"e"),f=o.call(l,"w")):(c=f=!0,d=!1),m={value:s,configurable:c,enumerable:d,writable:f},p?n(i(p),m):m};u.gs=function(l,s,c){var d,f,p,m;return typeof l!="string"?(p=c,c=s,s=l,l=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(l)?(d=o.call(l,"c"),f=o.call(l,"e")):(d=!0,f=!1),m={get:s,set:c,configurable:d,enumerable:f},p?n(i(p),m):m}}),jp=x(function(e,t){var r=tr(),a=Bt(),n=Function.prototype.apply,i=Function.prototype.call,o=Object.create,u=Object.defineProperty,l=Object.defineProperties,s=Object.prototype.hasOwnProperty,c={configurable:!0,enumerable:!1,writable:!0},d,f,p,m,h,b,v;d=function(D,_){var F;return a(_),s.call(this,"__ee__")?F=this.__ee__:(F=c.value=o(null),u(this,"__ee__",c),c.value=null),F[D]?k(F[D])==="object"?F[D].push(_):F[D]=[F[D],_]:F[D]=_,this},f=function(D,_){var F,R;return a(_),R=this,d.call(this,D,F=function(){p.call(R,D,F),n.call(_,this,arguments)}),F.__eeOnceListener__=_,this},p=function(D,_){var F,R,S,L;if(a(_),!s.call(this,"__ee__"))return this;if(F=this.__ee__,!F[D])return this;if(R=F[D],k(R)==="object")for(L=0;S=R[L];++L)(S===_||S.__eeOnceListener__===_)&&(R.length===2?F[D]=R[L?0:1]:R.splice(L,1));else(R===_||R.__eeOnceListener__===_)&&delete F[D];return this},m=function(D){var _,F,R,S,L;if(s.call(this,"__ee__")&&(S=this.__ee__[D],!!S))if(k(S)==="object"){for(F=arguments.length,L=new Array(F-1),_=1;_"u"?"undefined":k(globalThis))!=="object"||!globalThis?!1:globalThis.Array===Array}}),Hp=x(function(e,t){var r=function(){if((typeof self>"u"?"undefined":k(self))==="object"&&self)return self;if((typeof w>"u"?"undefined":k(w))==="object"&&w)return w;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__}}()}),ka=x(function(e,t){t.exports=Vp()()?globalThis:Hp()}),$p=x(function(e,t){var r=ka(),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[k(n.iterator)]||!a[k(n.toPrimitive)]||!a[k(n.toStringTag)])}}),Up=x(function(e,t){t.exports=function(r){return r?k(r)==="symbol"?!0:!r.constructor||r.constructor.name!=="Symbol"?!1:r[r.constructor.toStringTag]==="Symbol":!1}}),ju=x(function(e,t){var r=Up();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a}}),Gp=x(function(e,t){var r=tr(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(u){for(var l=0,s,c;o[u+(l||"")];)++l;return u+=l||"",o[u]=!0,s="@@"+u,n(i,s,r.gs(null,function(d){c||(c=!0,n(this,s,r(d)),c=!1)})),s}}),Wp=x(function(e,t){var r=tr(),a=ka().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"))})}}),Yp=x(function(e,t){var r=tr(),a=ju(),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 u;a(o);for(u in n)if(n[u]===o)return u})})}}),Xp=x(function(e,t){var r=tr(),a=ju(),n=ka().Symbol,i=Gp(),o=Wp(),u=Yp(),l=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(h){if(this instanceof f)throw new TypeError("Symbol is not a constructor");return d(h)},t.exports=d=function m(h){var b;if(this instanceof m)throw new TypeError("Symbol is not a constructor");return p?n(h):(b=l(f.prototype),h=h===void 0?"":String(h),s(b,{__description__:r("",h),__name__:r("",i(h))}))},o(d),u(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 k(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]))}),Kp=x(function(e,t){t.exports=$p()()?ka().Symbol:Xp()}),Zp=x(function(e,t){var r=Object.prototype.toString,a=r.call(function(){return arguments}());t.exports=function(n){return r.call(n)===a}}),Jp=x(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))}}),Qp=x(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&k(n)==="object"&&(n instanceof String||r.call(n)===a)||!1}}),em=x(function(e,t){var r=Kp().iterator,a=Zp(),n=Jp(),i=Qt(),o=Bt(),u=yr(),l=Jt(),s=Qp(),c=Array.isArray,d=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},p=Object.defineProperty;t.exports=function(m){var h=arguments[1],b=arguments[2],v,g,D,_,F,R,S,L,G,q;if(m=Object(u(m)),l(h)&&o(h),!this||this===Array||!n(this)){if(!h){if(a(m))return F=m.length,F!==1?Array.apply(null,m):(_=new Array(1),_[0]=m[0],_);if(c(m)){for(_=new Array(F=m.length),g=0;g=55296&&R<=56319&&(q+=m[++g])),q=h?d.call(h,b,q,D):q,v?(f.value=q,p(_,D,f)):_[D]=q,++D;F=D}}if(F===void 0)for(F=i(m.length),v&&(_=new v(F)),g=0;g=0?f=l(f):f=a(this.length)-l(u(f)),c=f;c"u"?"undefined":k(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n))};if((typeof M>"u"?"undefined":k(M))==="object"&&M){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":k(setTimeout))==="object"?function(n){setTimeout(r(n),0)}:null}()}),mm=x(function(){var e=ri(),t=zu(),r=Lu(),a=Bu(),n=ni(),i=Array.prototype.slice,o=Function.prototype.apply,u=Object.create;er().async=function(l,s){var c=u(null),d=u(null),f=s.memoized,p=s.original,m,h,b;s.memoized=a(function(v){var g=arguments,D=g[g.length-1];return typeof D=="function"&&(m=D,g=i.call(g,0,-1)),f.apply(h=this,b=g)},f);try{r(s.memoized,f)}catch{}s.on("get",function(v){var g,D,_;if(m){if(c[v]){typeof c[v]=="function"?c[v]=[c[v],m]:c[v].push(m),m=null;return}g=m,D=h,_=b,m=h=b=null,n(function(){var F;hasOwnProperty.call(d,v)?(F=d[v],s.emit("getasync",v,_,D),o.call(g,F.context,F.args)):(m=g,h=D,b=_,f.apply(D,_))})}}),s.original=function(){var v,g,D,_;return m?(v=e(arguments),g=function F(R){var S,L,G=F.id;if(G==null){n(o.bind(F,this,arguments));return}if(delete F.id,S=c[G],delete c[G],!!S)return L=e(arguments),s.has(G)&&(R?s.delete(G):(d[G]={context:this,args:L},s.emit("setasync",G,typeof S=="function"?1:S.length))),typeof S=="function"?_=o.call(S,this,L):S.forEach(function(q){_=o.call(q,this,L)},this),_},D=m,m=h=b=null,v.push(g),_=o.call(p,this,v),g.cb=D,m=g,_):o.call(p,this,arguments)},s.on("set",function(v){if(!m){s.delete(v);return}c[v]?typeof c[v]=="function"?c[v]=[c[v],m.cb]:c[v].push(m.cb):c[v]=m.cb,delete m.cb,m.id=v,m=null}),s.on("delete",function(v){var g;hasOwnProperty.call(c,v)||d[v]&&(g=d[v],delete d[v],s.emit("deleteasync",v,i.call(g.args,1)))}),s.on("clear",function(){var v=d;d=u(null),s.emit("clearasync",t(v,function(g){return i.call(g.args,1)}))})}}),hm=x(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}}),Vu=x(function(e,t){t.exports=function(r){return typeof r=="function"}}),vm=x(function(e,t){var r=Vu();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}}}),gm=x(function(e,t){var r=yr(),a=vm();t.exports=function(n){return a(r(n))}}),bm=x(function(e,t){var r=Vu();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return""}}}),ym=x(function(e,t){var r=bm(),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}}),Hu=x(function(e,t){t.exports=r,t.exports.default=r;function r(a){return!!a&&(k(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),wm=x(function(){var e=zu(),t=hm(),r=gm(),a=ym(),n=Hu(),i=ni(),o=Object.create,u=t("then","then:finally","done","done:finally");er().promise=function(l,s){var c=o(null),d=o(null),f=o(null);if(l===!0)l=null;else if(l=r(l),!u[l])throw new TypeError("'"+a(l)+"' is not valid promise mode");s.on("set",function(p,m,h){var b=!1;if(!n(h)){d[p]=h,s.emit("setasync",p,1);return}c[p]=1,f[p]=h;var v=function(R){var S=c[p];if(b)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.`);S&&(delete c[p],d[p]=R,s.emit("setasync",p,S))},g=function(){b=!0,c[p]&&(delete c[p],delete f[p],s.delete(p))},D=l;if(D||(D="then"),D==="then"){var _=function(){i(g)};h=h.then(function(F){i(v.bind(this,F))},_),typeof h.finally=="function"&&h.finally(_)}else if(D==="done"){if(typeof h.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");h.done(v,g)}else if(D==="done:finally"){if(typeof h.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof h.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");h.done(v),h.finally(g)}}),s.on("get",function(p,m,h){var b;if(c[p]){++c[p];return}b=f[p];var v=function(){s.emit("getasync",p,m,h)};n(b)?typeof b.done=="function"?b.done(v):b.then(function(){i(v)}):v()}),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]}))})}}),Dm=x(function(){var e=Bt(),t=Ra(),r=er(),a=Function.prototype.apply;r.dispose=function(n,i,o){var u;if(e(n),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",u=function(s,c){a.call(n,null,c)}),i.on("clearasync",function(l){t(l,function(s,c){u(c,s)})});return}i.on("delete",u=function(s,c){n(c)}),i.on("clear",function(l){t(l,function(s,c){u(c,s)})})}}),_m=x(function(e,t){t.exports=2147483647}),xm=x(function(e,t){var r=Qt(),a=_m();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n}}),Em=x(function(){var e=ri(),t=Ra(),r=ni(),a=Hu(),n=xm(),i=er(),o=Function.prototype,u=Math.max,l=Math.min,s=Object.create;i.maxAge=function(c,d,f){var p,m,h,b;c=n(c),c&&(p=s(null),m=f.async&&i.async||f.promise&&i.promise?"async":"",d.on("set"+m,function(v){p[v]=setTimeout(function(){d.delete(v)},c),typeof p[v].unref=="function"&&p[v].unref(),b&&(b[v]&&b[v]!=="nextTick"&&clearTimeout(b[v]),b[v]=setTimeout(function(){delete b[v]},h),typeof b[v].unref=="function"&&b[v].unref())}),d.on("delete"+m,function(v){clearTimeout(p[v]),delete p[v],b&&(b[v]!=="nextTick"&&clearTimeout(b[v]),delete b[v])}),f.preFetch&&(f.preFetch===!0||isNaN(f.preFetch)?h=.333:h=u(l(Number(f.preFetch),1),0),h&&(b={},h=(1-h)*c,d.on("get"+m,function(v,g,D){b[v]||(b[v]="nextTick",r(function(){var _;b[v]==="nextTick"&&(delete b[v],d.delete(v),f.async&&(g=e(g),g.push(o)),_=d.memoized.apply(D,g),f.promise&&a(_)&&(typeof _.done=="function"?_.done(o,o):_.then(o,o)))}))}))),d.on("clear"+m,function(){t(p,function(v){clearTimeout(v)}),p={},b&&(t(b,function(v){v!=="nextTick"&&clearTimeout(v)}),b={})}))}}),Cm=x(function(e,t){var r=Qt(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,u=1,l=a(null),s=a(null),c=0,d;return i=r(i),{hit:function(p){var m=s[p],h=++c;if(l[h]=p,s[p]=h,!m)return++o,o<=i?void 0:(p=l[u],d(p),p);if(delete l[m],u===m)for(;!n.call(l,++u););},delete:d=function(p){var m=s[p];if(m&&(delete l[m],delete s[p],--o,u===m)){if(!o){c=0,u=1;return}for(;!n.call(l,++u););}},clear:function(){o=0,u=1,l=a(null),s=a(null),c=0}}}}),Am=x(function(){var e=Qt(),t=Cm(),r=er();r.max=function(a,n,i){var o,u,l;a=e(a),a&&(u=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,l=function(c){c=u.hit(c),c!==void 0&&n.delete(c)}),n.on("get"+o,l),n.on("delete"+o,u.delete),n.on("clear"+o,u.clear))}}),Fm=x(function(){var e=tr(),t=er(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,i,o){var u,l;u=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+l,function(s,c){u[s]=c||1}),i.on("get"+l,function(s){++u[s]}),i.on("delete"+l,function(s){delete u[s]}),i.on("clear"+l,function(){u={}}),a(i.memoized,{deleteRef:e(function(){var s=i.get(arguments);return s===null||!u[s]?null:--u[s]?!1:(i.delete(s),!0)}),getRefCount:e(function(){var s=i.get(arguments);return s===null||!u[s]?0:u[s]})})}}),$u=x(function(e,t){var r=Nu(),a=Iu(),n=im();t.exports=function(i){var o=r(arguments[1]),u;return o.normalizer||(u=o.length=a(o.length,i.length,o.async),u!==0&&(o.primitive?u===!1?o.normalizer=om():u>1&&(o.normalizer=um()(u)):u===!1?o.normalizer=dm()():u===1?o.normalizer=fm()():o.normalizer=pm()(u))),o.async&&mm(),o.promise&&wm(),o.dispose&&Dm(),o.maxAge&&Em(),o.max&&Am(),o.refCounter&&Fm(),n(i,o)}}),Uu=x(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(o){return o>="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 u=o.length,l="",s=0;s="A"&&c<="Z"||c>="a"&&c<="z"||s!==0&&c>="0"&&c<="9")l+=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}l+="\\"+d.toString(16)+" "}s++}return l}e.escapeIdentifier=n;function i(o){for(var u=o.length,l="",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","\\":"\\",'"':'"'}}),Fm=x(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Uu();function r(a,n,i,o,u,l){var s=a.length,c="";function d(g,D){var _="";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 D=c;for(n++,c=a.charAt(n);t.isHex(c);)D+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),g+=String.fromCharCode(parseInt(D,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=h();if(n=s||c===","||c===")"));)if(u[c]){var F=c;if(n++,p(),D=v(),!D)throw Error('Rule expected after "'+F+'".');D.nestingOperator=F}else D=v(),D&&(D.nestingOperator=null);return g}function v(){for(var g=null;n=s)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');D.operator=_+"=",n++,p();var F="";if(D.valueType="string",c==='"')F=d('"',t.doubleQuotesEscapeChars);else if(c==="'")F=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,F=f(),D.valueType="substitute";else{for(;n=s)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,D.value=F}g=g||{},(g.attrs=g.attrs||[]).push(D)}else if(c===":"){n++;var R=f(),S={name:R};if(c==="("){n++;var L="";if(p(),i[R]==="selector")S.valueType="selector",L=h();else{if(S.valueType=i[R]||"string",c==='"')L=d('"',t.doubleQuotesEscapeChars);else if(c==="'")L=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,L=f(),S.valueType="substitute";else{for(;n=s)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,S.value=L}g=g||{},(g.pseudos=g.pseudos||[]).push(S)}else break;return g}return m()}e.parseCssSelector=r}),Tm=x(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Uu();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(u){return"."+t.escapeIdentifier(u)}).join("")),a.attrs&&(n+=a.attrs.map(function(u){return"operator"in u?u.valueType==="substitute"?"["+t.escapeIdentifier(u.name)+u.operator+"$"+u.value+"]":"["+t.escapeIdentifier(u.name)+u.operator+t.escapeStr(u.value)+"]":"["+t.escapeIdentifier(u.name)+"]"}).join("")),a.pseudos&&(n+=a.pseudos.map(function(u){return u.valueType?u.valueType==="selector"?":"+t.escapeIdentifier(u.name)+"("+r(u.value)+")":u.valueType==="substitute"?":"+t.escapeIdentifier(u.name)+"($"+u.value+")":u.valueType==="numeric"?":"+t.escapeIdentifier(u.name)+"("+u.value+")":":"+t.escapeIdentifier(u.name)+"("+t.escapeIdentifier(u.value)+")":":"+t.escapeIdentifier(u.name)}).join(""));break;default:throw Error('Unknown entity type: "'+a.type+'".')}return n}e.renderEntity=r}),Gu=x(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Fm(),r=Tm(),a=function(){function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return n.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",b=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function v(){return function(){return process.nextTick(S)}}function g(){return typeof u<"u"?function(){u(S)}:F()}function D(){var A=0,O=new m(S),P=M.createTextNode("");return O.observe(P,{characterData:!0}),function(){P.data=A=++A%2}}function _(){var A=new MessageChannel;return A.port1.onmessage=S,function(){return A.port2.postMessage(0)}}function F(){var A=setTimeout;return function(){return A(S,1)}}var R=new Array(1e3);function S(){for(var A=0;A>0},ToUint32:function(J){return J>>>0}}}(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,u=Math.min,l=Math.pow,s=Math.round;function c(E,U,I){return EI?I:E}var d=Object.getOwnPropertyNames||function(E){if(E!==Object(E))throw new TypeError("Object.getOwnPropertyNames called on non-object");var U=[],I;for(I in E)r.HasOwnProperty(E,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,J){if(!U===Object(U))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(J,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(U,I,J.get),r.HasProperty(J,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(U,I,J.set),r.HasProperty(J,"value")&&(U[I]=J.value),U};function p(E){if(d&&f){var U=d(E),I;for(I=0;It)throw new RangeError("Array too large for polyfill");function U(J){f(E,J,{get:function(){return E._getter(J)},set:function($){E._setter(J,$)},enumerable:!0,configurable:!1})}var I;for(I=0;I>I}function b(E,U){var I=32-U;return E<>>I}function v(E){return[E&255]}function g(E){return h(E[0],8)}function D(E){return[E&255]}function _(E){return b(E[0],8)}function F(E){return E=s(Number(E)),[E<0?0:E>255?255:E&255]}function R(E){return[E>>8&255,E&255]}function S(E){return h(E[0]<<8|E[1],16)}function L(E){return[E>>8&255,E&255]}function G(E){return b(E[0]<<8|E[1],16)}function q(E){return[E>>24&255,E>>16&255,E>>8&255,E&255]}function j(E){return h(E[0]<<24|E[1]<<16|E[2]<<8|E[3],32)}function H(E){return[E>>24&255,E>>16&255,E>>8&255,E&255]}function z(E){return b(E[0]<<24|E[1]<<16|E[2]<<8|E[3],32)}function Z(E,U,I){var J=(1<.5||Ee%2?Ee+1:Ee}for(E!==E?($=(1<=l(2,1-J)?($=u(i(o(E)/a),1023),X=qe(E/l(2,$)*l(2,I)),X/l(2,I)>=2&&($=$+1,X=1),$>J?($=(1<>1;return J.reverse(),ve=J.join(""),ye=(1<0?_e*l(2,Oe-ye)*(1+qe/l(2,I)):qe!==0?_e*l(2,-(ye-1))*(qe/l(2,I)):_e<0?-0:0}function Q(E){return te(E,11,52)}function W(E){return Z(E,11,52)}function B(E){return te(E,8,23)}function ne(E){return Z(E,8,23)}(function(){function E(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 Ee;for(Ee=0;Eethis.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(Ke),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=Ge,p(this),m(this)},Ge.prototype=new U,Ge.prototype.BYTES_PER_ELEMENT=Ie,Ge.prototype._pack=Ee,Ge.prototype._unpack=qr,Ge.BYTES_PER_ELEMENT=Ie,Ge.prototype._getter=function(Ce){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(Ce=r.ToUint32(Ce),!(Ce>=this.length)){for(var je=[],Me=0,Ke=this.byteOffset+Ce*this.BYTES_PER_ELEMENT;Methis.length)throw new RangeError("Offset plus length of array is out of range");if(P=this.byteOffset+Ze*this.BYTES_PER_ELEMENT,Y=Me.length*this.BYTES_PER_ELEMENT,Me.buffer===this.buffer){for(oe=[],we=0,A=Me.byteOffset;wethis.length)throw new RangeError("Offset plus length of array is out of range");for(we=0;wethis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(ve),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 J($){return function(X,ve){if(X=r.ToUint32(X),X+$.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");X+=this.byteOffset;var ye=new e.Uint8Array(this.buffer,X,$.BYTES_PER_ELEMENT),_e=[],Oe;for(Oe=0;Oe<$.BYTES_PER_ELEMENT;Oe+=1)_e.push(E(ye,Oe));return!!ve==!!U&&_e.reverse(),E(new $(new e.Uint8Array(_e).buffer),0)}}I.prototype.getUint8=J(e.Uint8Array),I.prototype.getInt8=J(e.Int8Array),I.prototype.getUint16=J(e.Uint16Array),I.prototype.getInt16=J(e.Int16Array),I.prototype.getUint32=J(e.Uint32Array),I.prototype.getInt32=J(e.Int32Array),I.prototype.getFloat32=J(e.Float32Array),I.prototype.getFloat64=J(e.Float64Array);function ie($){return function(X,ve,ye){if(X=r.ToUint32(X),X+$.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var _e=new $([ve]),Oe=new e.Uint8Array(_e.buffer),qe=[],Ie,Ee;for(Ie=0;Ie<$.BYTES_PER_ELEMENT;Ie+=1)qe.push(E(Oe,Ie));!!ye==!!U&&qe.reverse(),Ee=new e.Uint8Array(this.buffer,X,$.BYTES_PER_ELEMENT),Ee.set(qe)}}I.prototype.setUint8=ie(e.Uint8Array),I.prototype.setInt8=ie(e.Int8Array),I.prototype.setUint16=ie(e.Uint16Array),I.prototype.setInt16=ie(e.Int16Array),I.prototype.setUint32=ie(e.Uint32Array),I.prototype.setInt32=ie(e.Int32Array),I.prototype.setFloat32=ie(e.Float32Array),I.prototype.setFloat64=ie(e.Float64Array),e.DataView=e.DataView||I}()}),Sm=x(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,a=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),n=function(u,l,s){a?Object.defineProperty(u,l,{configurable:!0,writable:!0,value:s}):u[l]=s};t.WeakMap=function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",l("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(o.prototype,"delete",function(c){if(u(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(u(this,"get"),!!i(c)){var d=c[this._id];if(d&&d[0]===c)return d[1]}}),n(o.prototype,"has",function(c){if(u(this,"has"),!i(c))return!1;var d=c[this._id];return!!(d&&d[0]===c)}),n(o.prototype,"set",function(c,d){if(u(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 u(c,d){if(!i(c)||!r.call(c,"_id"))throw new TypeError(d+" method called on incompatible receiver "+k(c))}function l(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 w<"u"?w:typeof Je<"u"?Je:e)}),rr=x(function(e,t){var r=function(n){return n&&n.Math==Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":k(globalThis))=="object"&&globalThis)||r((typeof w>"u"?"undefined":k(w))=="object"&&w)||r((typeof self>"u"?"undefined":k(self))=="object"&&self)||r((typeof Je>"u"?"undefined":k(Je))=="object"&&Je)||function(){return this}()||Function("return this")()}),ar=x(function(e,t){t.exports=function(r){try{return!!r()}catch{return!0}}}),Sa=x(function(e,t){var r=ar();t.exports=!r(function(){var a=(function(){}).bind();return typeof a!="function"||a.hasOwnProperty("prototype")})}),Om=x(function(e,t){var r=Sa(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":k(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)})}),qt=x(function(e,t){var r=Sa(),a=Function.prototype,n=a.call,i=r&&a.bind.bind(n,n);t.exports=r?i:function(o){return function(){return n.apply(o,arguments)}}}),Wu=x(function(e,t){var r=qt(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)}}),Yu=x(function(e,t){var r=Wu(),a=qt();t.exports=function(n){if(r(n)==="Function")return a(n)}}),Xu=x(function(e,t){var r=(typeof M>"u"?"undefined":k(M))=="object"&&M.all,a=typeof r>"u"&&r!==void 0;t.exports={all:r,IS_HTMLDDA:a}}),nr=x(function(e,t){var r=Xu(),a=r.all;t.exports=r.IS_HTMLDDA?function(n){return typeof n=="function"||n===a}:function(n){return typeof n=="function"}}),wr=x(function(e,t){var r=ar();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),ni=x(function(e,t){var r=Sa(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)}}),Ku=x(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!t.call({1:2},1);e.f=a?function(i){var o=r(this,i);return!!o&&o.enumerable}:t}),Zu=x(function(e,t){t.exports=function(r,a){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}}}),Mm=x(function(e,t){var r=qt(),a=ar(),n=Wu(),i=Object,o=r("".split);t.exports=a(function(){return!i("z").propertyIsEnumerable(0)})?function(u){return n(u)=="String"?o(u,""):i(u)}:i}),Ju=x(function(e,t){t.exports=function(r){return r==null}}),Qu=x(function(e,t){var r=Ju(),a=TypeError;t.exports=function(n){if(r(n))throw a("Can't call method on "+n);return n}}),Oa=x(function(e,t){var r=Mm(),a=Qu();t.exports=function(n){return r(a(n))}}),Ma=x(function(e,t){var r=nr(),a=Xu(),n=a.all;t.exports=a.IS_HTMLDDA?function(i){return k(i)=="object"?i!==null:r(i)||i===n}:function(i){return k(i)=="object"?i!==null:r(i)}}),Na=x(function(e,t){t.exports={}}),el=x(function(e,t){var r=Na(),a=rr(),n=nr(),i=function(u){return n(u)?u:void 0};t.exports=function(o,u){return arguments.length<2?i(r[o])||i(a[o]):r[o]&&r[o][u]||a[o]&&a[o][u]}}),Nm=x(function(e,t){var r=qt();t.exports=r({}.isPrototypeOf)}),Im=x(function(e,t){var r=el();t.exports=r("navigator","userAgent")||""}),Pm=x(function(e,t){var r=rr(),a=Im(),n=r.process,i=r.Deno,o=n&&n.versions||i&&i.version,u=o&&o.v8,l,s;u&&(l=u.split("."),s=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!s&&a&&(l=a.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=a.match(/Chrome\/(\d+)/),l&&(s=+l[1]))),t.exports=s}),tl=x(function(e,t){var r=Pm(),a=ar();t.exports=!!Object.getOwnPropertySymbols&&!a(function(){var n=Symbol();return!String(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),rl=x(function(e,t){var r=tl();t.exports=r&&!Symbol.sham&&k(Symbol.iterator)=="symbol"}),al=x(function(e,t){var r=el(),a=nr(),n=Nm(),i=rl(),o=Object;t.exports=i?function(u){return k(u)=="symbol"}:function(u){var l=r("Symbol");return a(l)&&n(l.prototype,o(u))}}),Lm=x(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return"Object"}}}),nl=x(function(e,t){var r=nr(),a=Lm(),n=TypeError;t.exports=function(i){if(r(i))return i;throw n(a(i)+" is not a function")}}),Bm=x(function(e,t){var r=nl(),a=Ju();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)}}),qm=x(function(e,t){var r=ni(),a=nr(),n=Ma(),i=TypeError;t.exports=function(o,u){var l,s;if(u==="string"&&a(l=o.toString)&&!n(s=r(l,o))||a(l=o.valueOf)&&!n(s=r(l,o))||u!=="string"&&a(l=o.toString)&&!n(s=r(l,o)))return s;throw i("Can't convert object to primitive value")}}),jm=x(function(e,t){t.exports=!0}),zm=x(function(e,t){var r=rr(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0})}catch{r[n]=i}return i}}),Vm=x(function(e,t){var r=rr(),a=zm(),n="__core-js_shared__",i=r[n]||a(n,{});t.exports=i}),Hm=x(function(e,t){var r=jm(),a=Vm();(t.exports=function(n,i){return a[n]||(a[n]=i!==void 0?i:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),$m=x(function(e,t){var r=Qu(),a=Object;t.exports=function(n){return a(r(n))}}),$r=x(function(e,t){var r=qt(),a=$m(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,u){return n(a(o),u)}}),Um=x(function(e,t){var r=qt(),a=0,n=Math.random(),i=r(1 .toString);t.exports=function(o){return"Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)}}),Gm=x(function(e,t){var r=rr(),a=Hm(),n=$r(),i=Um(),o=tl(),u=rl(),l=a("wks"),s=r.Symbol,c=s&&s.for,d=u?s:s&&s.withoutSetter||i;t.exports=function(f){if(!n(l,f)||!(o||typeof l[f]=="string")){var p="Symbol."+f;o&&n(s,f)?l[f]=s[f]:u&&c?l[f]=c(p):l[f]=d(p)}return l[f]}}),Wm=x(function(e,t){var r=ni(),a=Ma(),n=al(),i=Bm(),o=qm(),u=Gm(),l=TypeError,s=u("toPrimitive");t.exports=function(c,d){if(!a(c)||n(c))return c;var f=i(c,s),p;if(f){if(d===void 0&&(d="default"),p=r(f,c,d),!a(p)||n(p))return p;throw l("Can't convert object to primitive value")}return d===void 0&&(d="number"),o(c,d)}}),il=x(function(e,t){var r=Wm(),a=al();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""}}),Ym=x(function(e,t){var r=rr(),a=Ma(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}}}),ol=x(function(e,t){var r=wr(),a=ar(),n=Ym();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!=7})}),Xm=x(function(e){var t=wr(),r=ni(),a=Ku(),n=Zu(),i=Oa(),o=il(),u=$r(),l=ol(),s=Object.getOwnPropertyDescriptor;e.f=t?s:function(d,f){if(d=i(d),f=o(f),l)try{return s(d,f)}catch{}if(u(d,f))return n(!r(a.f,d,f),d[f])}}),Km=x(function(e,t){var r=ar(),a=nr(),n=/#|\.prototype\./,i=function(d,f){var p=u[o(d)];return p==s?!0:p==l?!1:a(f)?r(f):!!f},o=i.normalize=function(c){return String(c).replace(n,".").toLowerCase()},u=i.data={},l=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i}),Zm=x(function(e,t){var r=Yu(),a=nl(),n=Sa(),i=r(r.bind);t.exports=function(o,u){return a(o),u===void 0?o:n?i(o,u):function(){return o.apply(u,arguments)}}}),Jm=x(function(e,t){var r=wr(),a=ar();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Qm=x(function(e,t){var r=Ma(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw n(a(i)+" is not an object")}}),eh=x(function(e){var t=wr(),r=ol(),a=Jm(),n=Qm(),i=il(),o=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",d="writable";e.f=t?a?function(p,m,h){if(n(p),m=i(m),n(h),typeof p=="function"&&m==="prototype"&&"value"in h&&d in h&&!h[d]){var b=l(p,m);b&&b[d]&&(p[m]=h.value,h={configurable:c in h?h[c]:b[c],enumerable:s in h?h[s]:b[s],writable:!1})}return u(p,m,h)}:u:function(p,m,h){if(n(p),m=i(m),n(h),r)try{return u(p,m,h)}catch{}if("get"in h||"set"in h)throw o("Accessors not supported");return"value"in h&&(p[m]=h.value),p}}),th=x(function(e,t){var r=wr(),a=eh(),n=Zu();t.exports=r?function(i,o,u){return a.f(i,o,n(1,u))}:function(i,o,u){return i[o]=u,i}}),ul=x(function(e,t){var r=rr(),a=Om(),n=Yu(),i=nr(),o=Xm().f,u=Km(),l=Na(),s=Zm(),c=th(),d=$r(),f=function(m){var h=function b(v,g,D){if(this instanceof b){switch(arguments.length){case 0:return new m;case 1:return new m(v);case 2:return new m(v,g)}return new m(v,g,D)}return a(m,this,arguments)};return h.prototype=m.prototype,h};t.exports=function(p,m){var h=p.target,b=p.global,v=p.stat,g=p.proto,D=b?r:v?r[h]:(r[h]||{}).prototype,_=b?l:l[h]||c(l,h,{})[h],F=_.prototype,R,S,L,G,q,j,H,z,Z;for(G in m)R=u(b?G:h+(v?".":"#")+G,p.forced),S=!R&&D&&d(D,G),j=_[G],S&&(p.dontCallGetSet?(Z=o(D,G),H=Z&&Z.value):H=D[G]),q=S&&H?H:m[G],!(S&&k(j)==k(q))&&(p.bind&&S?z=s(q,r):p.wrap&&S?z=f(q):g&&i(q)?z=n(q):z=q,(p.sham||q&&q.sham||j&&j.sham)&&c(z,"sham",!0),c(_,G,z),g&&(L=h+"Prototype",d(l,L)||c(l,L,{}),c(l[L],G,q),p.real&&F&&!F[G]&&c(F,G,q)))}}),rh=x(function(){var e=ul(),t=$r();e({target:"Object",stat:!0},{hasOwn:t})}),ah=x(function(e,t){rh();var r=Na();t.exports=r.Object.hasOwn}),nh=x(function(e,t){var r=ah();t.exports=r}),ih=x(function(e,t){var r=nh();t.exports=r}),oh=x(function(e,t){var r=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return(o>0?a:r)(o)}}),ll=x(function(e,t){var r=oh();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)}}),uh=x(function(e,t){var r=ll(),a=Math.max,n=Math.min;t.exports=function(i,o){var u=r(i);return u<0?a(u+o,0):n(u,o)}}),lh=x(function(e,t){var r=ll(),a=Math.min;t.exports=function(n){return n>0?a(r(n),9007199254740991):0}}),sh=x(function(e,t){var r=lh();t.exports=function(a){return r(a.length)}}),ch=x(function(e,t){var r=Oa(),a=uh(),n=sh(),i=function(u){return function(l,s,c){var d=r(l),f=n(d),p=a(c,f),m;if(u&&s!=s){for(;f>p;)if(m=d[p++],m!=m)return!0}else for(;f>p;p++)if((u||p in d)&&d[p]===s)return u||p||0;return!u&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}}),dh=x(function(e,t){t.exports={}}),fh=x(function(e,t){var r=qt(),a=$r(),n=Oa(),i=ch().indexOf,o=dh(),u=r([].push);t.exports=function(l,s){var c=n(l),d=0,f=[],p;for(p in c)!a(o,p)&&a(c,p)&&u(f,p);for(;s.length>d;)a(c,p=s[d++])&&(~i(f,p)||u(f,p));return f}}),ph=x(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),mh=x(function(e,t){var r=fh(),a=ph();t.exports=Object.keys||function(i){return r(i,a)}}),hh=x(function(e,t){var r=wr(),a=qt(),n=mh(),i=Oa(),o=Ku().f,u=a(o),l=a([].push),s=function(d){return function(f){for(var p=i(f),m=n(p),h=m.length,b=0,v=[],g;h>b;)g=m[b++],(!r||u(p,g))&&l(v,d?[g,p[g]]:p[g]);return v}};t.exports={entries:s(!0),values:s(!1)}}),vh=x(function(){var e=ul(),t=hh().values;e({target:"Object",stat:!0},{values:function(a){return t(a)}})}),gh=x(function(e,t){vh();var r=Na();t.exports=r.Object.values}),bh=x(function(e,t){var r=gh();t.exports=r}),yh=x(function(e,t){var r=bh();t.exports=r}),sl=x(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":k(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{w.globalThis=function(){if(typeof self<"u")return self;if(typeof w<"u")return w;if(typeof Je<"u")return Je;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")}()}})(),r.encodeHTMLSource=function(u){var l={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},s=u?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(s,function(d){return l[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(u,l,s){return(typeof l=="string"?l:l.toString()).replace(u.define||n,function(c,d,f,p){return d.indexOf("def.")===0&&(d=d.substring(4)),d in s||(f===":"?(u.defineParams&&p.replace(u.defineParams,function(m,h,b){s[d]={arg:h,text:b}}),d in s||(s[d]=p)):new Function("def","def['"+d+"']="+p)(s)),""}).replace(u.use||n,function(c,d){u.useParams&&(d=d.replace(u.useParams,function(p,m,h,b){if(s[h]&&s[h].arg&&b){var v=(h+":"+b).replace(/'|\\/g,"_");return s.__exp=s.__exp||{},s.__exp[v]=s[h].text.replace(new RegExp("(^|[^\\w$])"+s[h].arg+"([^\\w$])","g"),"$1"+b+"$2"),m+"def.__exp['"+v+"']"}}));var f=new Function("def","return "+d)(s);return f&&i(u,f,s)})}function o(u){return u.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(u,l,s){l=l||r.templateSettings;var c=l.append?a.append:a.split,d,f=0,p,m=l.use||l.define?i(l,u,s||{}):u;m=("var out='"+(l.strip?m.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):m).replace(/'|\\/g,"\\$&").replace(l.interpolate||n,function(h,b){return c.start+o(b)+c.end}).replace(l.encode||n,function(h,b){return d=!0,c.startencode+o(b)+c.end}).replace(l.conditional||n,function(h,b,v){return b?v?"';}else if("+o(v)+"){out+='":"';}else{out+='":v?"';if("+o(v)+"){out+='":"';}out+='"}).replace(l.iterate||n,function(h,b,v,g){return b?(f+=1,p=g||"i"+f,b=o(b),"';var arr"+f+"="+b+";if(arr"+f+"){var "+v+","+p+"=-1,l"+f+"=arr"+f+".length-1;while("+p+"",sameOrigin:""};wh.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;bt[t]=r,bt[t+"_PRIO"]=a,bt[t+"_GROUP"]=n,bt.results[a]=r,bt.resultGroups[a]=n,bt.resultGroupMap[r]=n}),Object.freeze(bt.results),Object.freeze(bt.resultGroups),Object.freeze(bt.resultGroupMap),Object.freeze(bt);var se=bt;function Dh(){(typeof console>"u"?"undefined":k(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}var ir=Dh,_h=/[\t\r\n\f]/g,xh=function(){function e(){_t(this,e),this.parent=void 0}return xt(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(_h," ").indexOf(n)>=0}}]),e}(),Ve=xh,ii={};vt(ii,{DqElement:function(){return Ot},aggregate:function(){return Ia},aggregateChecks:function(){return fl},aggregateNodeResults:function(){return pl},aggregateResult:function(){return ml},areStylesSet:function(){return kh},assert:function(){return me},checkHelper:function(){return di},clone:function(){return Mt},closest:function(){return nt},collectResultsFromFrames:function(){return Hl},contains:function(){return lr},convertSelector:function(){return za},cssParser:function(){return Cl},deepMerge:function(){return Fi},escapeSelector:function(){return Re},extendMetaData:function(){return Ti},filterHtmlAttrs:function(){return h1},finalizeRuleResult:function(){return Ur},findBy:function(){return Qr},getAllChecks:function(){return Ga},getAncestry:function(){return ja},getBaseLang:function(){return br},getCheckMessage:function(){return U2},getCheckOption:function(){return Nn},getEnvironmentData:function(){return Yt},getFlattenedTree:function(){return Po},getFrameContexts:function(){return sw},getFriendlyUriEnd:function(){return gl},getNodeAttributes:function(){return La},getNodeFromTree:function(){return le},getPreloadConfig:function(){return d1},getRootNode:function(){return ea},getRule:function(){return Kd},getScroll:function(){return Pt},getScrollState:function(){return fw},getSelector:function(){return ci},getSelectorData:function(){return qa},getShadowSelector:function(){return ui},getStandards:function(){return pw},getStyleSheetFactory:function(){return Qd},getXpath:function(){return xl},injectStyle:function(){return vw},isHidden:function(){return gw},isHtmlElement:function(){return Ho},isNodeInContext:function(){return $o},isShadowRoot:function(){return Ya},isValidLang:function(){return Bn},isXHTML:function(){return Ba},matchAncestry:function(){return Uo},matches:function(){return pi},matchesExpression:function(){return _r},matchesSelector:function(){return Dr},memoize:function(){return Le},mergeResults:function(){return Wa},nodeLookup:function(){return De},nodeSerializer:function(){return ft},nodeSorter:function(){return Go},parseCrossOriginStylesheet:function(){return Yo},parseSameOriginStylesheet:function(){return r1},parseStylesheet:function(){return Wo},performanceTimer:function(){return Be},pollyfillElementsFromPoint:function(){return a1},preload:function(){return s1},preloadCssom:function(){return i1},preloadMedia:function(){return l1},processMessage:function(){return jo},publishMetaData:function(){return Pn},querySelectorAll:function(){return ct},querySelectorAllFilter:function(){return kt},queue:function(){return Et},respondable:function(){return yt},ruleShouldRun:function(){return m1},select:function(){return Xo},sendCommandToFrame:function(){return ql},setScrollState:function(){return Yw},shadowSelect:function(){return Xw},shadowSelectAll:function(){return Ko},shouldPreload:function(){return c1},toArray:function(){return vl},tokenList:function(){return Ye},uniqueArray:function(){return ya},uuid:function(){return wv},validInputTypes:function(){return Ln},validLangs:function(){return w1}});function Eh(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 Ia=Eh,Ch=se.CANTTELL_PRIO,Ah=se.FAIL_PRIO,Pa=[];Pa[se.PASS_PRIO]=!0,Pa[se.CANTTELL_PRIO]=null,Pa[se.FAIL_PRIO]=!1;var cl=["any","all","none"];function dl(e,t){return cl.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function Fh(e){var t=Object.assign({},e);dl(t,function(n,i){var o=typeof n.result>"u"?-1:Pa.indexOf(n.result);n.priority=o!==-1?o:se.CANTTELL_PRIO,i==="none"&&(n.priority===se.PASS_PRIO?n.priority=se.FAIL_PRIO:n.priority===se.FAIL_PRIO&&(n.priority=se.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 cl.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)})}),[Ch,Ah].includes(t.priority)?t.impact=Ia(se.impact,a):t.impact=null,dl(t,function(n){delete n.result,delete n.priority}),t.result=se.results[t.priority],delete t.priority,t}var fl=Fh;function Ur(e){var t=y._audit.rules.find(function(r){var a=r.id;return a===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,pl(e.nodes)),delete e.nodes,e}function Th(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return fl(i);if(Array.isArray(i.node))return Ur(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Ia(se.results,r,t.result)}else t.result="inapplicable";se.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=se.resultGroupMap[i.result];t[o].push(i)});var a=se.FAIL_GROUP;if(t[a].length===0&&(a=se.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=Ia(se.impact,n)||null}else t.impact=null;return t}var pl=Th;function oi(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),se.resultGroups.forEach(function(n){delete a[n]}),e[r].push(a)}function Rh(e){var t={};return se.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?oi(t,r,se.CANTTELL_GROUP):r.result===se.NA?oi(t,r,se.NA_GROUP):se.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&oi(t,r,a)})}),t}var ml=Rh;function hl(e,t,r){var a=w.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 Re=Mh;function Nh(){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 Gr(e,t){return[e.substring(0,t),e.substring(t)]}function Wr(e){return e.replace(/\s+$/,"")}function Ih(e){var t=e,r="",a="",n="",i="",o="",u="";if(e.includes("#")){var l=Gr(e,e.indexOf("#")),s=V(l,2);e=s[0],u=s[1]}if(e.includes("?")){var c=Gr(e,e.indexOf("?")),d=V(c,2);e=d[0],o=d[1]}if(e.includes("://")){var f=e.split("://"),p=V(f,2);r=p[0],e=p[1];var m=Gr(e,e.indexOf("/")),h=V(m,2);a=h[0],e=h[1]}else if(e.substr(0,2)==="//"){e=e.substr(2);var b=Gr(e,e.indexOf("/")),v=V(b,2);a=v[0],e=v[1]}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var g=Gr(a,a.indexOf(":")),D=V(g,2);a=D[0],n=D[1]}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:u}}function Ph(){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=Ih(e),o=i.path,u=i.domain,l=i.hash,s=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(l)return s&&(s+l).length<=n?Wr(s+l):s.length<2&&l.length>2&&l.length<=n?Wr(l):void 0;if(u&&u.length1)&&(c!==-1||s.length>2)&&s.length<=n&&!s.match(/index(\.[a-zA-Z]{2-4})?/)&&!Nh(s))return Wr(s)}}var gl=Ph;function Lh(e){return e.attributes instanceof w.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes}var La=Lh,Bh=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()||M;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){return e(i.elm,r,i.doc)})}var Vh=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],Hh=31,$h=/([\\"])/g,Uh=/(\r\n|\r|\n)/g;function li(e){return e.replace($h,"\\$1").replace(Uh,"\\a ")}function bl(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=gl(e.getAttribute(r));n?a=Re(t.name)+'$="'+li(n)+'"':a=Re(t.name)+'="'+li(e.getAttribute(r))+'"'}else a=Re(r)+'="'+li(t.value)+'"';return a}function si(e,t){return e.count "+i:i=u,o?o=o.filter(function(l){return Dr(l,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 ci(e,t){return ui(Zh,e,t)}function Dl(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 Dl(r)+" > "+t+a}function ja(e,t){return ui(Dl,e,t)}function _l(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=_l(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&&Re(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 Jh(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 Qh(e){var t=_l(e);return Jh(t)}var xl=Qh,Yr={},ev={set:function(t,r){tv(t),Yr[t]=r},get:function(t,r){if(rv(r),t in Yr)return Yr[t];if(typeof r=="function"){var a=r();return me(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),Yr[t]}},clear:function(){Yr={}}};function tv(e){me(typeof e=="string","key must be a string, "+k(e)+" given"),me(e!=="","key must not be empty")}function rv(e){me(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+k(e)+" given")}var ue=ev;function av(e,t){var r=t||e;return ue.get("nodeMap")?ue.get("nodeMap").get(r):null}var le=av,El="DqElm.RunOptions";function nv(e,t){if(t=t||300,e.length>t){var r=e.indexOf(">");e=e.substring(0,r+1)}return e}function iv(e){if(!(e!=null&&e.outerHTML))return"";var t=e.outerHTML;return!t&&typeof w.XMLSerializer=="function"&&(t=new w.XMLSerializer().serializeToString(e)),nv(t||"")}function or(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!a){var i;a=(i=ue.get(El))!==null&&i!==void 0?i:{}}if(this.spec=n,e instanceof Ve?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=le(e)),this.fromFrame=((t=this.spec.selector)===null||t===void 0?void 0:t.length)>1,this._includeElementInJson=a.elementRef,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,!y._audit.noHtml){var o;this.source=(o=this.spec.source)!==null&&o!==void 0?o:iv(this._element)}}or.prototype={get selector(){return this.spec.selector||[ci(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[ja(this.element)]},get xpath(){return this.spec.xpath||[xl(this.element)]},get element(){return this._element},toJSON:function(){var t={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(t.element=this._element),t}},or.fromFrame=function(t,r,a){var n=or.mergeSpecs(t,a);return new or(a.element,r,n)},or.mergeSpecs=function(t,r){return fe({},t,{selector:[].concat(re(r.selector),re(t.selector)),ancestry:[].concat(re(r.ancestry),re(t.ancestry)),xpath:[].concat(re(r.xpath),re(t.xpath)),nodeIndexes:[].concat(re(r.nodeIndexes),re(t.nodeIndexes)),fromFrame:!0})},or.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;ue.set(El,{elementRef:r,absolutePaths:a})};var Ot=or;function ov(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){w.Node&&(i instanceof w.Node||i instanceof Ve?i=[i]:i=vl(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Ve&&(o=o.actualNode),o instanceof w.Node){var u=new Ot(o);e.relatedNodes.push(u)}}))}}}var di=ov;function Mt(e){return fi(e,new Map)}function fi(e,t){var r,a;if(e===null||k(e)!=="object"||(r=w)!==null&&r!==void 0&&r.Node&&e instanceof w.Node||(a=w)!==null&&a!==void 0&&a.HTMLCollection&&e instanceof w.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var n=[];return t.set(e,n),e.forEach(function(u){n.push(fi(u,t))}),n}var i={};t.set(e,i);for(var o in e)i[o]=fi(e[o],t);return i}var uv=gt(Gu()),Xr=new uv.CssSelectorParser;Xr.registerSelectorPseudos("not"),Xr.registerSelectorPseudos("is"),Xr.registerNestingOperators(">"),Xr.registerAttrEqualityMods("^","$","*","~");var Cl=Xr;function pi(e,t){var r=za(t);return r.some(function(a){return _r(e,a)})}function lv(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function sv(e,t){return!t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function cv(e,t){return!t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function dv(e,t){return!t.id||e.props.id===t.id}function fv(e,t){return!!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return!r.expressions.some(function(a){return _r(e,a)});if(r.name==="is")return r.expressions.some(function(a){return _r(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Al(e,t){return lv(e,t)&&sv(e,t)&&cv(e,t)&&dv(e,t)&&fv(e,t)}var Kr=function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}}(),mi=/\\/g;function pv(e){if(e)return e.map(function(t){var r=t.name.replace(mi,""),a=(t.value||"").replace(mi,""),n,i;switch(t.operator){case"^=":i=new RegExp("^"+Kr(a));break;case"$=":i=new RegExp(Kr(a)+"$");break;case"~=":i=new RegExp("(^|\\s)"+Kr(a)+"(\\s|$)");break;case"|=":i=new RegExp("^"+Kr(a)+"(-|$)");break;case"=":n=function(u){return a===u};break;case"*=":n=function(u){return u&&u.includes(a)};break;case"!=":n=function(u){return a!==u};break;default:n=function(u){return u!==null}}return a===""&&/^[*$^]=$/.test(t.operator)&&(n=function(){return!1}),n||(n=function(u){return u&&i.test(u)}),{key:r,value:a,type:typeof t.value>"u"?"attrExist":"attrValue",test:n}})}function mv(e){if(e)return e.map(function(t){return t=t.replace(mi,""),{value:t,regexp:new RegExp("(^|\\s)"+Kr(t)+"(\\s|$)")}})}function hv(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=Fl(r)),{name:t.name,expressions:r,value:t.value}})}function Fl(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:pv(a.attrs),classes:mv(a.classNames),pseudos:hv(a.pseudos)}),a=a.rule;return r})}function za(e){var t=Cl.parse(e);return t=t.selectors?t.selectors:[t],Fl(t)}function Tl(e,t,r,a){if(!e)return!1;for(var n=Array.isArray(t),i=n?t[r]:t,o=Al(e,i);!o&&a&&e.parent;)e=e.parent,o=Al(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&&Tl(e.parent,t,r-1,i.combinator===" ")}return o}function _r(e,t,r){return Tl(e,t,t.length-1,r)}function vv(e,t){for(;e;){if(pi(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 nt=vv;function Va(){}function hi(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function gv(){var e=[],t=0,r=0,a=Va,n=!1,i,o=function(p){i=p,setTimeout(function(){i!=null&&ir("Uncaught error (of queue)",i)},1)},u=o;function l(f){return function(p){e[f]=p,r-=1,!r&&a!==Va&&(n=!0,a(e))}}function s(f){return a=Va,u(f),e}function c(){for(var f=e.length;t>>((t&3)<<3)&255;return bi});for(var bi,Rl=typeof w.Buffer=="function"?w.Buffer:Array,yi=[],kl={},Cr=0;Cr<256;Cr++)yi[Cr]=(Cr+256).toString(16).substr(1),kl[yi[Cr]]=Cr;function bv(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++]=kl[i])});n<16;)t[a+n++]=0;return t}function wi(e,t){var r=t||0,a=yi;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 jt=Er(),yv=[jt[0]|1,jt[1],jt[2],jt[3],jt[4],jt[5]],Sl=(jt[6]<<8|jt[7])&16383,Di=0,_i=0;function Ol(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Sl,o=e.msecs!=null?e.msecs:new Date().getTime(),u=e.nsecs!=null?e.nsecs:_i+1,l=o-Di+(u-_i)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Di)&&e.nsecs==null&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Di=o,_i=u,Sl=i,o+=122192928e5;var s=((o&268435455)*1e4+u)%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||yv,f=0;f<6;f++)n[a+f]=d[f];return t||wi(n)}function ur(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Rl(16):null,e=null),e=e||{};var n=e.random||(e.rng||Er)();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||wi(n)}xr=ur,xr.v1=Ol,xr.v4=ur,xr.parse=bv,xr.unparse=wi,xr.BufferClass=Rl,y._uuid=Ol();var wv=ur,Dv=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function _v(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:Ml()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function xv(e){var t;try{t=JSON.parse(e)}catch{return}if(Ev(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,u=k(t.error)==="object"?Cv(t.error):t.payload;return{topic:a,message:u,messageId:i,channelId:n,keepalive:!!o}}}function Ev(e){return e!==null&&k(e)==="object"&&typeof e.channelId=="string"&&e.source===Ml()}function Cv(e){var t=e.message||"Unknown error occurred",r=Dv.includes(e.name)?e.name:"Error",a=w[r]||Error;return e.stack&&(t+=` -`+e.stack.replace(e.message,"")),new a(t)}function Ml(){var e="axeAPI",t="";return typeof y<"u"&&y._audit&&y._audit.application&&(e=y._audit.application),typeof y<"u"&&(t=y.version),e+"."+t}function xi(e){Il(e),me(w.parent===e,"Source of the response must be the parent window.")}function Nl(e){Il(e),me(e.parent===w,"Respondable target must be a frame in the current window")}function Il(e){me(w!==e,"Messages can not be sent to the same window.")}var Ha={};function Av(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;me(!Ha[e],"A replyHandler already exists for this message channel."),Ha[e]={replyHandler:t,sendToParent:r}}function Fv(e){return Ha[e]}function Tv(e){delete Ha[e]}var $a=[];function Ei(){var e="".concat(ur(),":").concat(ur());return $a.includes(e)?Ei():($a.push(e),e)}function Rv(e){return $a.includes(e)?!1:($a.push(e),!0)}function Ci(e,t,r,a){if(r?xi(e):Nl(e),t.message instanceof Error&&!r)return y.log(t.message),!1;var n=_v(fe({messageId:Ei()},t)),i=y._audit.allowedOrigins;return!i||!i.length?!1:(typeof a=="function"&&Av(t.channelId,a,r),i.forEach(function(o){try{e.postMessage(n,o)}catch(u){throw u instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):u}}),!0)}function kv(e,t,r){if(!e.parent!==w)return y.log(t);try{Ci(e,{topic:null,channelId:r,message:t,messageId:Ei(),keepalive:!0},!0)}catch(a){return y.log(a)}}function Pl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return function(n,i,o){var u={channelId:t,message:n,keepalive:i};Ci(e,u,r,o)}}function Sv(e){var t=y._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Ov(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=xv(a)||{},o=i.channelId,u=i.message,l=i.messageId;if(!Sv(r)||!Rv(l))return;if(u instanceof Error&&n.parent!==w)return y.log(u),!1;try{if(i.topic){var s=Pl(n,o);xi(n),t(i,s)}else Mv(n,i)}catch(c){kv(n,c,o)}}catch(c){return y.log(c),!1}}function Mv(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=Fv(r)||{},o=i.replyHandler,u=i.sendToParent;if(o){u?xi(e):Nl(e);var l=Pl(e,r,u);!n&&r&&Tv(r);try{o(a,n,l)}catch(s){y.log(s),l(s,n)}}}var Nv={open:function(t){if(typeof w.addEventListener=="function"){var r=function(n){Ov(n,t)};return w.addEventListener("message",r,!1),function(){w.removeEventListener("message",r,!1)}}},post:function(t,r,a){return typeof w.addEventListener!="function"?!1:Ci(t,r,!1,a)}};function Ll(e){e.updateMessenger(Nv)}var Ua,Bl,Ai={};function yt(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(ur(),":").concat(ur()),keepalive:a};return Bl(e,i,n)}function Iv(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=Ai[r];if(i)try{i(a,n,t)}catch(o){y.log(o),t(o,n)}}yt.updateMessenger=function(t){var r=t.open,a=t.post;me(typeof r=="function","open callback must be a function"),me(typeof a=="function","post callback must be a function"),Ua&&Ua();var n=r(Iv);n?(me(typeof n=="function","open callback must return a cleanup function"),Ua=n):Ua=null,Bl=a},yt.subscribe=function(t,r){me(typeof r=="function","Subscriber callback must be a function"),me(!Ai[t],"Topic ".concat(t," is already registered to.")),Ai[t]=r},yt.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:w;return!!t.frameElement},Ll(yt);function ql(e,t,r,a){var n,i,o=e.contentWindow,u=(n=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&n!==void 0?n:500;if(!o){ir("Frame does not have a content window",e),r(null);return}if(u===0){jl(e,t,r,a);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?a(zl("No response from frame",e)):r(null)},0)},u);yt(o,"axe.ping",null,void 0,function(){clearTimeout(l),jl(e,t,r,a)})}function jl(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,u=e.contentWindow,l=setTimeout(function(){a(zl("Axe in frame timed out",e))},o);yt(u,"axe.start",t,void 0,function(s){clearTimeout(l),s instanceof Error?a(s):r(s)})}function zl(e,t){var r;return y._tree&&(r=ci(t)),new Error(e+": "+(r||t))}var Zr=null,Jr={update:function(t){me(k(t)==="object","serializer must be an object"),Zr=t},toSpec:function(t){return Jr.dqElmToSpec(new Ot(t))},dqElmToSpec:function(t,r){var a;return t instanceof Ot?(r&&(t=Pv(t,r)),typeof((a=Zr)===null||a===void 0?void 0:a.toSpec)=="function"?Zr.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=Zr)===null||a===void 0?void 0:a.mergeSpecs)=="function"?Zr.mergeSpecs(t,r):Ot.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return fe({},r,{nodes:Jr.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t==null?void 0:t.map(function(r){var a=r.node,n=Pe(r,Vf);n.node=Jr.dqElmToSpec(a);for(var i=0,o=["any","all","none"];i0||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 Wl=Le(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(Wl(t.parent))}),Xa=Wl,Zv=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Jv=/(\w+)\((\d+)/;function Yl(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Xl(e){return e.props.nodeName==="area"?!1:e.getComputedStylePropertyValue("display")==="none"}function Kl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return!r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Zl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return!!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Jl(e){return e.attr("aria-hidden")==="true"}function Ql(e){return e.getComputedStylePropertyValue("opacity")==="0"}function es(e){var t=Pt(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(r===0||a===0)}function ts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return!1;var a=e.boundingClientRect,n=Xa(e);return n.length?n.some(function(i){var o=i.boundingClientRect;return o.width<2||o.height<2?!0:!Gl(a,o)}):!1}function rs(e){var t=e.getComputedStylePropertyValue("clip").match(Zv),r=e.getComputedStylePropertyValue("clip-path").match(Jv);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 ki(e,t){var r=nt(e,"map");if(!r)return!0;var a=r.attr("name");if(!a)return!0;var n=ea(e.actualNode);if(!n||n.nodeType!==9)return!0;var i=ct(y._tree,'img[usemap="#'.concat(Re(a),'"]'));return!i||!i.length?!0:i.some(function(o){return!t(o)})}function as(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 Qv=[Xl,Kl,Zl,as];function zt(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=De(e).vNode,r?ns(e,n):is(e,n)}var ns=Le(function(t,r){return Yl(t)?!0:t.actualNode?!!(Qv.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):!1}),is=Le(function(t,r){return ns(t,r)?!0:t.parent?is(t.parent,!0):!1});function os(e){if(e.assignedSlot)return os(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var He=os;function eg(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 us=eg;function tg(e){var t=us(M),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 Si=tg;function rg(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 Ka=rg;function ag(e,t){for(e=He(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return!1;e=He(e)}return!0}function ng(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return!1;var a=De(e),n=a.domNode;if(n){var i,o=M.documentElement,u=w.getComputedStyle(n),l=w.getComputedStyle(M.body||o).getPropertyValue("direction"),s=Si(n);if(s.bottom<0&&(ag(n,s.bottom)||u.position==="absolute"))return!0;if(s.left===0&&s.right===0)return!1;if(l==="ltr"){if(s.right<=0)return!0}else if(i=Math.max(o.scrollWidth,Ka(w).width),s.left>=i)return!0;return!1}}var Za=ng,ig=[Ql,es,ts,rs,Za];function it(e){return e=De(e).vNode,Oi(e)}var Oi=Le(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!ki(t,Oi):zt(t,{skipAncestors:!0,isAncestor:r})||t.actualNode&&ig.some(function(a){return a(t,{isAncestor:r})})?!1:t.parent?Oi(t.parent,!0):!0});function Ja(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 w.DOMRect(i,r,a-i,n-r)}function Qa(e,t){var r=e.x,a=e.y,n=t.top,i=t.right,o=t.bottom,u=t.left;return a>=n&&r<=i&&a<=o&&r>=u}var ls={};vt(ls,{getBoundingRect:function(){return Ja},getIntersectionRect:function(){return en},getOffset:function(){return cs},getRectCenter:function(){return ta},hasVisualOverlap:function(){return Mi},isPointInRect:function(){return Qa},rectHasMinimumSize:function(){return sr},rectsOverlap:function(){return Gl},splitRects:function(){return Ni}});function en(e,t){var r=Math.max(e.left,t.left),a=Math.min(e.right,t.right),n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=a||n>=i?null:new w.DOMRect(r,n,a-r,i-n)}function ta(e){var t=e.left,r=e.top,a=e.width,n=e.height;return new w.DOMPoint(t+a/2,r+n/2)}var ss=.05;function sr(e,t){var r=t.width,a=t.height;return r+ss>=e&&a+ss>=e}function cs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=nn(e),n=nn(t);if(!a.length||!n.length)return 0;var i=a.reduce(Ja),o=ta(i),u=1/0,l=Ae(n),s;try{for(l.s();!(s=l.n()).done;){var c=s.value;if(Qa(o,c))return 0;var d=og(o,c),f=ds(o,d);u=Math.min(u,f)}}catch(v){l.e(v)}finally{l.f()}var p=Fs(t);if(sr(r*2,p))return u;var m=n.reduce(Ja),h=ta(m),b=ds(o,h)-r;return Math.max(0,Math.min(u,b))}function og(e,t){var r,a;return e.xt.right?r=t.right:r=e.x,e.yt.bottom?a=t.bottom:a=e.y,{x:r,y:a}}function ds(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Mi(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.left>=a.right||r.right<=a.left||r.top>=a.bottom||r.bottom<=a.top?!1:zi(e,t)>0}function Ni(e,t){var r=[e],a=Ae(t),n;try{var i=function(){var u=n.value;r=r.reduce(function(l,s){return l.concat(ug(s,u))},[])};for(a.s();!(n=a.n()).done;)i()}catch(o){a.e(o)}finally{a.f()}return r}function ug(e,t){var r=e.top,a=e.left,n=e.bottom,i=e.right,o=rt.top,u=at.left,l=[];if(tn(t.top,r,n)&&u&&l.push({top:r,left:a,bottom:t.top,right:i}),tn(t.right,a,i)&&o&&l.push({top:r,left:t.right,bottom:n,right:i}),tn(t.bottom,r,n)&&u&&l.push({top:t.bottom,right:i,bottom:n,left:a}),tn(t.left,a,i)&&o&&l.push({top:r,left:a,bottom:n,right:t.left}),l.length===0){if(sg(e,t))return[];l.push(e)}return l.map(lg)}var tn=function(t,r,a){return t>r&&t=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var fs=0,cg=.1,ps=.2,ms=.3,Ii=0;function cr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:M.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(ue.get("gridCreated")&&!r)return se.gridSize;if(ue.set("gridCreated",!0),!r){var a,n=le(M.documentElement);if(n||(n=new Mo(M.documentElement)),Ii=0,n._stackingOrder=[gs(fs,Ii++,null)],(a=t)!==null&&a!==void 0||(t=new Pi),bs(t,n),Pt(n.actualNode)){var i=new Pi(n);n._subGrid=i}}for(var o=M.createTreeWalker(e,w.NodeFilter.SHOW_ELEMENT,null,!1),u=r?o.nextNode():o.currentNode;u;){var l=le(u);l&&l.parent?r=l.parent:u.assignedSlot?r=le(u.assignedSlot):u.parentElement?r=le(u.parentElement):u.parentNode&&le(u.parentNode)&&(r=le(u.parentNode)),l||(l=new y.VirtualNode(u,r)),l._stackingOrder=dg(l,r,Ii++);var s=mg(l,r),c=s?s._subGrid:t;if(Pt(l.actualNode)){var d=new Pi(l);l._subGrid=d}var f=l.boundingClientRect;f.width!==0&&f.height!==0&&it(u)&&bs(c,l),Ya(u)&&cr(u.shadowRoot,c,l),u=o.nextNode()}return se.gridSize}function hs(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 u=e.getComputedStylePropertyValue("perspective");if(u&&u!=="none")return!0;var l=e.getComputedStylePropertyValue("clip-path");if(l&&l!=="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");return!!(["layout","paint","strict","content"].includes(p)||a!=="auto"&&vs(t))}function vs(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function dg(e,t,r){var a=t._stackingOrder.slice();if(hs(e,t)){var n=a.findIndex(function(o){var u=o.stackLevel;return[fs,ps,ms].includes(u)});n!==-1&&a.splice(n,a.length-n)}var i=fg(e,t);return i!==null&&a.push(gs(i,r,e)),a}function gs(e,t,r){return{stackLevel:e,treeOrder:t,vNode:r}}function fg(e,t){var r=pg(e,t);return["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?ms:e.getComputedStylePropertyValue("float")!=="none"?ps:hs(e,t)?cg:null:parseInt(r)}function pg(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!vs(t)?"auto":e.getComputedStylePropertyValue("z-index")}function mg(e,t){for(var r=null,a=[e];t;){if(Pt(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=le(t.actualNode.parentElement||t.actualNode.parentNode)}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function bs(e,t){var r=Xa(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(u,l){return u&&en(u,l.boundingClientRect)},a);if(i){(n=t._grid)!==null&&n!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(u){u.includes(t)||u.push(t)})}})}var Pi=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;_t(this,e),this.container=t,this.cells=[]}return xt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/se.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;me(this.boundaries,"Grid does not have cells added");var u=this.toGridIndex(o),l=this.toGridIndex(i);me(Qa({y:u,x:l},this.boundaries),"Element midpoint exceeds the grid bounds");var s=(a=this.cells[u-this.cells._negativeIndex])!==null&&a!==void 0?a:[];return(n=s[l-s._negativeIndex])!==null&&n!==void 0?n:[]}},{key:"loopGridPosition",value:function(r,a){var n=r,i=n.left,o=n.right,u=n.top,l=n.bottom;this.boundaries&&(r=Ja(this.boundaries,r)),this.boundaries=r,ys(this.cells,u,l,function(s,c){ys(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,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return a=this.toGridIndex(a-u),n=this.toGridIndex(n+u-1),i=this.toGridIndex(i+u-1),o=this.toGridIndex(o-u),new w.DOMRect(o,a,n-o,i-a)}}]),e}();function ys(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(cr(),!((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=Li(e),u=i.getGridPositionOfRect(n,a),l=[];return i.loopGridPosition(u,function(s){var c=Ae(s),d;try{for(c.s();!(d=c.n()).done;){var f=d.value;f&&f!==e&&!l.includes(f)&&o===Li(f)&&l.push(f)}}catch(p){c.e(p)}finally{c.f()}}),l}var Li=Le(function(e){return e?e.getComputedStylePropertyValue("position")==="fixed"?!0:Li(e.parent):!1}),hg=Le(function(){var t;if(!y._tree)return null;var r=kt(y._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=M.elementsFromPoint(i.left+1,i.top+1);return o.includes(n.actualNode)&&it(n)});if(!r.length)return null;var a=r.find(function(n){var i=n.boundingClientRect,o=M.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=vg(n))!==null&&i!==void 0?i:{},u=o.vNode,l=o.rect;if(!u)return!1;var s=M.elementsFromPoint(l.left+1,l.top+1);return!s.includes(u.actualNode)}))!==null&&t!==void 0?t:null)}),ws=hg;function vg(e){cr();var t=y._tree[0]._grid,r=new w.DOMRect(0,0,w.innerWidth,w.innerHeight);if(t)for(var a=0;a1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?Ds(e,a):_s(e,a)}var Ds=Le(function(t,r){if(t.hasAttr("inert"))return!0;if(!r&&t.actualNode){var a=ws();if(a&&!lr(a,t))return!0}return!1}),_s=Le(function(t,r){return Ds(t,r)?!0:t.parent?_s(t.parent,!0):!1}),gg=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function bg(e){return gg.includes(e)}function yg(e){var t=De(e),r=t.vNode;if(bg(r.props.nodeName)&&r.hasAttr("disabled")||an(r))return!0;for(var a=r.parent,n=[],i=!1;a&&a.shadowId===r.shadowId&&!i&&(n.push(a),a.props.nodeName!=="legend");){if(a._inDisabledFieldset!==void 0){i=a._inDisabledFieldset;break}a.props.nodeName==="fieldset"&&a.hasAttr("disabled")&&(i=!0),a=a.parent}return n.forEach(function(o){return o._inDisabledFieldset=i}),i?!0:r.props.nodeName!=="area"&&r.actualNode?zt(r):!1}var Bi=yg,wg=/^\/\#/,Dg=/^#[!/]/;function qi(e){var t,r=e.getAttribute("href");if(!r||r==="#")return!1;if(wg.test(r))return!0;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,u=e.pathname;if(Dg.test(a))return!1;if(r.charAt(0)==="#")return!0;if(typeof((t=w.location)===null||t===void 0?void 0:t.origin)!="string"||w.location.origin.indexOf("://")===-1)return null;var l=w.location.origin+w.location.pathname,s;return i?s="".concat(n,"//").concat(i).concat(o?":".concat(o):""):s=w.location.origin,u?s+=(u[0]!=="/"?"/":"")+u:s+=w.location.pathname,s===l}function _g(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!qi(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=M.getElementById(r);return a||(a=M.getElementsByName(r),a.length?a[0]:null)}var ji=_g;function zi(e,t){cr();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].stackLevel>e._stackingOrder[a].stackLevel)return 1;if(t._stackingOrder[a].stackLevel2&&arguments[2]!==void 0?arguments[2]:!1,a=ta(t),n=e.getCellFromPoint(a)||[],i=Math.floor(a.x),o=Math.floor(a.y),u=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)})}),l=e.container;return l&&(u=Vi(l._grid,l.boundingClientRect,!0).concat(u)),r||(u=u.sort(zi).map(function(s){return s.actualNode}).concat(M.documentElement).filter(function(s,c,d){return d.indexOf(s)===c})),u}function xg(e){cr();var t=le(e),r=t._grid;return r?Vi(r,t.boundingClientRect):[]}var Cs=xg;function Eg(e){var t=ct(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 As=Eg;function Cg(e){var t=De(e),r=t.vNode;if(!r||Bi(r))return!1;switch(r.props.nodeName){case"a":case"area":if(r.hasAttr("href"))return!0;break;case"input":return r.props.type!=="hidden";case"textarea":case"select":case"summary":case"button":return!0;case"details":return!ct(r,"summary").length}return!1}var Hi=Cg;function ke(e){var t=De(e),r=t.vNode;if(r.props.nodeType!==1||Bi(r))return!1;if(Hi(r))return!0;var a=r.attr("tabindex");return!!(a&&!isNaN(parseInt(a,10)))}function wt(e){var t=De(e),r=t.vNode;if(r.props.nodeType!==1)return!1;var a=parseInt(r.attr("tabindex",10));return a<=-1?!1:ke(r)}var nn=Le(Ag);function Ag(e){var t=e.boundingClientRect,r=rn(e).filter(function(n){return Mi(e,n)&&n.getComputedStylePropertyValue("pointer-events")!=="none"&&!Fg(e,n)});if(!r.length)return[t];var a=r.map(function(n){var i=n.boundingClientRect;return i});return Ni(t,a)}function Fg(e,t){return e.actualNode.contains(t.actualNode)&&!wt(t)}var Fs=Le(Tg);function Tg(e,t){var r=nn(e);return Rg(r,t)}function Rg(e,t){return e.reduce(function(r,a){var n=sr(t,r),i=sr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,u=a.width*a.height;return o>u?r:a})}var ra={};vt(ra,{accessibleText:function(){return dr},accessibleTextVirtual:function(){return $e},autocomplete:function(){return hr},formControlValue:function(){return nc},formControlValueMethods:function(){return Ki},hasUnicode:function(){return eo},isHumanInterpretable:function(){return ro},isIconLigature:function(){return to},isValidAutocomplete:function(){return dc},label:function(){return ty},labelText:function(){return Zi},labelVirtual:function(){return cn},nativeElementType:function(){return ay},nativeTextAlternative:function(){return oc},nativeTextMethods:function(){return ic},removeUnicode:function(){return ua},sanitize:function(){return ae},subtreeText:function(){return Vt},titleText:function(){return un},unsupported:function(){return Ys},visible:function(){return fc},visibleTextNodes:function(){return ny},visibleVirtual:function(){return Ft}});function kg(e,t){e=e.actualNode||e;try{var r=We(e),a=[],n=e.getAttribute(t);if(n){n=Ye(n);for(var i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=De(e),a=r.vNode;if((a==null?void 0:a.props.nodeType)!==1||a.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!a.attr("aria-labelledby"))return"";var n=Ct(a,"aria-labelledby").filter(function(i){return i});return n.reduce(function(i,o){var u=dr(o,fe({inLabelledByContext:!0,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(u):u},"")}var aa=Og;function na(e){var t=De(e),r=t.vNode;return(r==null?void 0:r.props.nodeType)!==1?"":r.attr("aria-label")||""}var Mg={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},Ts=Mg,Ng={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-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"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-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"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-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"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"]}},Rs=Ng,Ig={"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"]}},Pg=Ig,Lg={"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}},Bg=Lg,qg={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","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,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["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","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},jg=qg,zg={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]},Vg=zg,ks={ariaAttrs:Ts,ariaRoles:fe({},Rs,Pg,Bg),htmlElms:jg,cssColors:Vg},Tr=fe({},ks);function Hg(e){Object.keys(Tr).forEach(function(t){e[t]&&(Tr[t]=Fi(Tr[t],e[t]))})}function $g(){Object.keys(Tr).forEach(function(e){Tr[e]=ks[e]})}var he=Tr;function Ug(e){var t=he.ariaRoles[e];return t?!!t.unsupported:!1}var $i=Ug;function Gg(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=he.ariaRoles[e],o=$i(e);return!i||n&&o?!1:r?!0:i.type!=="abstract"}var Rr=Gg;function Wg(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 Ve?e:le(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Ye(i):[i],u=o.find(function(l){return!n&&l.substr(0,4)==="doc-"?!1:Rr(l,{allowAbstract:a})});return u||null}var xe=Wg;function Yg(e){return Object.keys(he.htmlElms).filter(function(t){var r=he.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 Ui=Yg;function Xg(){return ue.get("globalAriaAttrs",function(){return Object.keys(he.ariaAttrs).filter(function(e){return he.ariaAttrs[e].global})})}var fr=Xg;function Kg(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=nt(t,"table"),a=xe(r);return["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(kr(t))return"columnheader";if(Sr(t))return"rowheader"},thead:"rowgroup",tr:"row",ul:"list"},Wi=tb;function rb(e,t){var r=k(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 pr=rb;function ab(e,t){return pr(!!$e(e),t)}var Ms=ab;function nb(e,t){var r=k(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 pr(e(a),t[a])})}var Yi=nb;function ib(e,t){return e=De(e).vNode,Yi(function(r){return e.attr(r)},t)}var Ns=ib;function Is(e,t){return!!t(e)}function ob(e,t){return pr(xe(e),t)}var Ps=ob;function ub(e,t){return pr(At(e),t)}var Ls=ub;function lb(e,t){return e=De(e).vNode,pr(e.props.nodeName,t)}var Bs=lb;function sb(e,t){return e=De(e).vNode,Yi(function(r){return e.props[r]},t)}var qs=sb;function cb(e,t){return pr(ce(e),t)}var js=cb,zs={hasAccessibleName:Ms,attributes:Ns,condition:Is,explicitRole:Ps,implicitRole:Ls,nodeName:Bs,properties:qs,semanticRole:js};function Vs(e,t){return e=De(e).vNode,Array.isArray(t)?t.some(function(r){return Vs(e,r)}):typeof t=="string"?pi(e,t):Object.keys(t).every(function(r){if(!zs[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=zs[r],n=t[r];return a(e,n)})}var Hs=Vs;function db(e,t){return Hs(e,t)}var ot=db;ot.hasAccessibleName=Ms,ot.attributes=Ns,ot.condition=Is,ot.explicitRole=Ps,ot.fromDefinition=Hs,ot.fromFunction=Yi,ot.fromPrimative=pr,ot.implicitRole=Ls,ot.nodeName=Bs,ot.properties=qs,ot.semanticRole=js;var ia=ot;function fb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?!1:r,n=he.htmlElms[e.props.nodeName];if(!n)return{};if(!n.variant)return n;var i=n.variant,o=Pe(n,Uf);for(var u in i)if(!(!i.hasOwnProperty(u)||u==="default")){for(var l=i[u],s=l.matches,c=Pe(l,Gf),d=Array.isArray(s)?s:[s],f=0;f"u"&&(o[m]=i.default[m]);return o}var mr=fb;function pb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof Ve?e:le(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=Wi[n];if(!i&&r){var o=mr(a),u=o.chromiumRole;return u||null}return typeof i=="function"?i(a):i||null}var At=pb,mb={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 $s(e,t){var r=mb[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=xe(e.parent,t);return["none","presentation"].includes(a)&&!Gs(e.parent)?a:a?null:$s(e.parent,t)}function Us(e,t){var r=t.chromium,a=Pe(t,Wf),n=At(e,{chromium:r});if(!n)return null;var i=$s(e,a);return i||n}function Gs(e){var t=fr().some(function(r){return e.hasAttr(r)});return t||ke(e)}function hb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=Pe(t,Yf),n=De(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=xe(i,a);return o?["presentation","none"].includes(o)&&Gs(i)?r?null:Us(i,a):o:r?null:Us(i,a)}function vb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=Pe(t,Xf),n=hb(e,a);return r&&["presentation","none"].includes(n)?null:n}var ce=vb,gb=["iframe"];function bb(e){var t=De(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!ot(r,gb)&&["none","presentation"].includes(ce(r))?"":r.attr("title")}var un=bb;function yb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Ve?e:le(e),e.props.nodeType!==1)return!1;var a=ce(e),n=he.ariaRoles[a];return n&&n.nameFromContent?!0:r?!1:!n||["presentation","none"].includes(a)}var Ws=yb;function wb(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=Ct(t,"aria-owns").filter(function(n){return!!n}).map(function(n){return y.utils.getNodeFromTree(n)});return[].concat(re(r),re(a))}return re(r)}var oa=wb,Ys={accessibleNameFromFieldValue:["progressbar"]};function Fe(e){return e=De(e).vNode,Xi(e)}var Xi=Le(function(t,r){return Jl(t)||an(t,{skipAncestors:!0,isAncestor:r})?!1:t.actualNode&&t.props.nodeName==="area"?!ki(t,Xi):zt(t,{skipAncestors:!0,isAncestor:r})?!1:t.parent?Xi(t.parent,!0):!0});function Xs(e,t,r){var a=De(e),n=a.vNode,i=t?Fe:it,o=!e.actualNode||e.actualNode&&i(e),u=n.children.map(function(l){var s=l.props,c=s.nodeType,d=s.nodeValue;if(c===3){if(d&&o)return d}else if(!r)return Xs(l,t)}).join("");return ae(u)}var Ft=Xs,Db=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function _b(e){e=e instanceof Ve?e:le(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!Db.includes((e.attr("type")||"").toLowerCase())}var Ks=_b;function xb(e){e=e instanceof Ve?e:le(e);var t=e.props.nodeName;return t==="select"}var Zs=xb;function Eb(e){var t=xe(e);return t==="textbox"}var Js=Eb;function Cb(e){var t=xe(e);return t==="listbox"}var Qs=Cb;function Ab(e){var t=xe(e);return t==="combobox"}var ec=Ab,Fb=["progressbar","scrollbar","slider","spinbutton"];function Tb(e){var t=xe(e);return Fb.includes(t)}var tc=Tb,rc=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Ki={nativeTextboxValue:kb,nativeSelectValue:Sb,ariaTextboxValue:Ob,ariaListboxValue:ac,ariaComboboxValue:Mb,ariaRangeValue:Nb};function Rb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=Ys.accessibleNameFromFieldValue||[],n=ce(e);if(t.startNode===e||!rc.includes(n)||a.includes(n))return"";var i=Object.keys(Ki).map(function(u){return Ki[u]}),o=i.reduce(function(u,l){return u||l(e,t)},"");return t.debug&&ir(o||"{empty-value}",r,t),o}function kb(e){var t=De(e),r=t.vNode;return Ks(r)&&r.props.value||""}function Sb(e){var t=De(e),r=t.vNode;if(!Zs(r))return"";var a=ct(r,"option"),n=a.filter(function(i){return i.props.selected});return n.length||n.push(a[0]),n.map(function(i){return Ft(i)}).join(" ")||""}function Ob(e){var t=De(e),r=t.vNode,a=t.domNode;return Js(r)?!a||a&&!zt(a)?Ft(r,!0):a.textContent:""}function ac(e,t){var r=De(e),a=r.vNode;if(!Qs(a))return"";var n=oa(a).filter(function(i){return ce(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":$e(n[0],t)}function Mb(e,t){var r=De(e),a=r.vNode;if(!ec(a))return"";var n=oa(a).filter(function(i){return ce(i)==="listbox"})[0];return n?ac(n,t):""}function Nb(e){var t=De(e),r=t.vNode;if(!tc(r)||!r.hasAttr("aria-valuenow"))return"";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var nc=Rb;function Ib(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,u=ce(e),l=mr(e,{noMatchAccessibleName:!0}),s=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||s!=null&&s.includes("embedded")||rc.includes(u)||!t.subtreeDescendant&&!t.inLabelledByContext&&!Ws(e,{strict:n}))return"";if(!n){var c=!i&&!o;t=fe({subtreeDescendant:c},t)}return oa(e).reduce(function(d,f){return Lb(d,f,t)},"")}var Pb=Ui("phrasing").concat(["#text"]);function Lb(e,t,r){var a=t.props.nodeName,n=$e(t,r);return n?(Pb.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var Vt=Ib;function Bb(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=fe({inControlContext:!0},t),n=qb(e),i=nt(e,"label"),o;return i?(o=[].concat(re(n),[i.actualNode]),o.sort(Go)):o=n,o.map(function(u){return dr(u,a)}).filter(function(u){return u!==""}).join(" ")}function qb(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Ul({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var Zi=Bb,jb={submit:"Submit",image:"Submit",reset:"Reset",button:""},zb={valueText:function(t){var r=t.actualNode;return r.value||""},buttonDefaultText:function(t){var r=t.actualNode;return jb[r.type]||""},tableCaptionText:ln.bind(null,"caption"),figureText:ln.bind(null,"figcaption"),svgTitleText:ln.bind(null,"title"),fieldsetLegendText:ln.bind(null,"legend"),altText:Ji.bind(null,"alt"),tableSummaryText:Ji.bind(null,"summary"),titleText:un,subtreeText:Vt,labelText:Zi,singleSpace:function(){return" "},placeholderText:Ji.bind(null,"placeholder")};function Ji(e,t){return t.attr(e)||""}function ln(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?"":dr(i,r)}var ic=zb;function oc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(ce(e)))return"";var a=Vb(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&y.log(n||"{empty-value}",r,t),n}function Vb(e){var t=mr(e,{noMatchAccessibleName:!0}),r=t.namingMethods||[];return r.map(function(a){return ic[a]})}function uc(){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 lc(){return/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function sc(){return/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function cc(){return/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g}var Qi=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 Hb(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=!1;return r&&(i||(i=Qi().test(e))),a&&(i||(i=uc().test(e)||sc().test(e)||cc().test(e))),n&&(i||(i=lc().test(e))),i}var eo=Hb;function to(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(!ae(a)||eo(a,{emoji:!0,nonBmp:!0}))return!1;var n=ue.get("canvasContext",function(){return M.createElement("canvas").getContext("2d",{willReadFrequently:!0})}),i=n.canvas,o=ue.get("fonts",function(){return{}}),u=w.getComputedStyle(e.parent.actualNode),l=u.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var s=o[l];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(l);n.font=d;var f=a.charAt(0),p=n.measureText(f).width;if(p===0)return s.numLigatures++,!0;if(p<30){var m=30/p;p*=m,c*=m,d="".concat(c,"px ").concat(l)}i.width=p,i.height=c,n.font=d,n.textAlign="left",n.textBaseline="top",n.fillText(f,0,0);var h=new Uint32Array(n.getImageData(0,0,p,c).data.buffer);if(!h.some(function(R){return R}))return s.numLigatures++,!0;n.clearRect(0,0,p,c),n.fillText(a,0,0);var b=new Uint32Array(n.getImageData(0,0,p,c).data.buffer),v=h.reduce(function(R,S,L){return S===0&&b[L]===0||S!==0&&b[L]!==0?R:++R},0),g=a.split("").reduce(function(R,S){return R+n.measureText(S).width},0),D=n.measureText(a).width,_=v/h.length,F=1-D/g;return _>=t&&F>=t?(s.numLigatures++,!0):!1}function $e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=Wb(e,t),Ub(e,t)||Gb(e,t))return"";var r=[aa,na,oc,nc,Vt,$b,un],a=r.reduce(function(n,i){return t.startNode===e&&(n=ae(n)),n!==""?n:i(e,t)},"");return t.debug&&y.log(a||"{empty-value}",e.actualNode,t),a}function $b(e){return e.props.nodeType!==3?"":e.props.nodeValue}function Ub(e,t){return!e||e.props.nodeType!==1||t.includeHidden?!1:!Fe(e)}function Gb(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:to(e,n,i)}function Wb(e,t){return t.startNode||(t=fe({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=fe({includeHidden:!Fe(e)},t)),t}$e.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?!0:(r.processed.push(t),!1)};function Yb(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(Qi(),"")),a&&(e=e.replace(uc(),"").replace(sc(),"").replace(cc(),"")),n&&(e=e.replace(lc(),"")),e}var ua=Yb;function Xb(e){if(!e.length)return 0;var t=["x","i"];if(t.includes(e))return 0;var r=ua(e,{emoji:!0,nonBmp:!0,punctuations:!0});return ae(r)?1:0}var ro=Xb,hr={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 Kb(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,u=o===void 0?[]:o,l=t.qualifiers,s=l===void 0?[]:l,c=t.standaloneTerms,d=c===void 0?[]:c,f=t.qualifiedTerms,p=f===void 0?[]:f;if(e=e.toLowerCase().trim(),i=i.concat(hr.stateTerms),i.includes(e)||e==="")return!0;s=s.concat(hr.qualifiers),u=u.concat(hr.locations),d=d.concat(hr.standaloneTerms),p=p.concat(hr.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(),u.includes(m[0])&&m.shift(),s.includes(m[0])&&(m.shift(),d=[]),m.length!==1))return!1;var h=m[m.length-1];return d.includes(h)||p.includes(h)}var dc=Kb;function Zb(e){var t,r;return e.attr("aria-labelledby")&&(t=Ct(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=le(a);return n?Ft(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=ae(r),r))?r:null}var sn=Zb;function Jb(e,t,r){return e=le(e),Ft(e,t,r)}var fc=Jb;function Qb(e){var t,r,a;if(r=sn(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=Re(e.attr("id"));if(a=We(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&fc(t,!0),r)return r}return t=nt(e,"label"),r=t&&Ft(t,!0),r||null}var cn=Qb;function ey(e){return e=le(e),cn(e)}var ty=ey,ry=[{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"]}],ay=ry;function pc(e){var t=it(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(pc(a))}),r}var ny=pc,iy=Le(function(t){var r=le(t),a=r.boundingClientRect,n=[],i=Xa(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||ae(o.nodeValue)==="")){var u=oy(o);uy(u,a)||n.push.apply(n,re(ly(u,i)))}}),n.length?n:[a]}),ao=iy;function oy(e){var t=M.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function uy(e,t){return e.some(function(r){var a=ta(r);return!Qa(a,t)})}function ly(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&&en(i,o.boundingClientRect)},a);n&&r.push(n)}}),r}function sy(e){cr();var t=le(e),r=t._grid;if(!r)return[];var a=ao(e);return a.map(function(n){return Vi(r,n)})}var no=sy,cy=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function dy(e){var t=De(e),r=t.vNode,a=y.commons.aria.getExplicitRole(r);if(a)return cy.indexOf(a)!==-1;switch(r.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 r.props.type!=="hidden";default:return!1}}var io=dy,fy=["head","title","template","script","style","iframe","object","video","audio","noscript"];function mc(e){return fy.includes(e.props.nodeName)?!1:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function hc(e,t,r){return mc(e)||io(e.actualNode)||!r&&!!sn(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&hc(a)})}var la=hc;function py(e,t,r){return e=le(e),la(e,t,r)}var dn=py;function oo(e){return typeof e.children>"u"||mc(e)?!0:e.props.nodeType===1&&io(e)?!!y.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return!t.attr("lang")&&oo(t)&&!zt(t)})}function my(e){var t=parseInt(e.getAttribute("tabindex"),10);return t>-1&&ke(e)&&!Hi(e)}var vc=my;function gc(e,t){var r=De(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=bc(n,t)),a._isHiddenWithCSS):bc(n,t)}function bc(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return!1;var r=w.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=He(e);return o&&!n.includes(i)?gc(o,i):!1}var hy=gc;function vy(e){var t=e.doctype;return t===null?!1:t.name==="html"&&!t.publicId&&!t.systemId}var yc=vy;function gy(e){var t;(e instanceof Ve||(t=w)!==null&&t!==void 0&&t.Node&&e instanceof w.Node)&&(e=y.commons.aria.getRole(e));var r=he.ariaRoles[e];return(r==null?void 0:r.type)||null}var Tt=gy;function wc(e,t){t(e.actualNode)!==!1&&e.children.forEach(function(r){return wc(r,t)})}var by=["block","list-item","table","flex","grid","inline-block"];function Dc(e){var t=w.getComputedStyle(e).getPropertyValue("display");return by.includes(t)||t.substr(0,6)==="table-"}function yy(e){for(var t=He(e);t&&!Dc(t);)t=He(t);return le(t)}function wy(e,t){if(Dc(e))return!1;var r=yy(e),a="",n="",i=0;return wc(r,function(o){if(i===2)return!1;if(o.nodeType===3&&(a+=o.nodeValue),o.nodeType===1){var u=(o.nodeName||"").toUpperCase();if(o===e&&(i=1),["BR","HR"].includes(u))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(Tt(o)==="widget")return n+=o.textContent,!1}}}),a=ae(a),t!=null&&t.noLengthCompare?a.length!==0:(n=ae(n),a.length>n.length)}var uo=wy;function Dy(e){e=e||{};var t=e.modalPercent||.75;if(ue.get("isModalOpen"))return ue.get("isModalOpen");var r=kt(y._tree[0],"dialog, [role=dialog], [aria-modal=true]",it);if(r.length)return ue.set("isModalOpen",!0),!0;for(var a=Ka(w),n=a.width*t,i=a.height*t,o=(a.width-n)/2,u=(a.height-i)/2,l=[{x:o,y:u},{x:a.width-o,y:u},{x:a.width/2,y:a.height/2},{x:o,y:a.height-u},{x:a.width-o,y:a.height-u}],s=l.map(function(p){return Array.from(M.elementsFromPoint(p.x,p.y))}),c=function(m){var h=s[m].find(function(b){var v=w.getComputedStyle(b);return parseInt(v.width,10)>=n&&parseInt(v.height,10)>=i&&v.getPropertyValue("pointer-events")!=="none"&&(v.position==="absolute"||v.position==="fixed")});if(h&&s.every(function(b){return b.includes(h)}))return ue.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=Ae(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var u=o.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else if(n===0)a=u.bottom,n++;else return!0}}catch(l){i.e(l)}finally{i.f()}return!1}function _y(e){return e instanceof w.Node}var xy=_y,lo="color.incompleteData",Ey={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=ue.get(lo,function(){return{}});return r&&(a[t]=r),a[t]},get:function(t){var r=ue.get(lo);return r==null?void 0:r[t]},clear:function(){ue.set(lo,{})}},Ue=Ey;function Cy(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return Ue.set("bgColor","imgNode"),!0;t=t||w.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);Ue.set("bgColor",o?"bgGradient":"bgImage")}return i}var fn=Cy,xc={};vt(xc,{Colorjs:function(){return lt},CssSelectorParser:function(){return ky.CssSelectorParser},doT:function(){return Ec.default},emojiRegexText:function(){return Qi},memoize:function(){return Sy.default}});var Ay=gt(Rm()),Fy=gt(km());gt(Sm());var Ty=gt(ih()),Ry=gt(yh());"hasOwn"in Object||(Object.hasOwn=Ty.default),"values"in Object||(Object.values=Ry.default),"Promise"in w||Ay.default.polyfill(),"Uint32Array"in w||(w.Uint32Array=Fy.Uint32Array),w.Uint32Array&&("some"in w.Uint32Array.prototype||Object.defineProperty(w.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in w.Uint32Array.prototype||Object.defineProperty(w.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r>>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(u))},a=Math.pow(2,53)-1,n=function(o){var u=r(o);return Math.min(Math.max(u,0),a)};return function(o){var u=this,l=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(l.length),f=t(u)?Object(new u(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}),w.Node&&!("isConnected"in w.Node.prototype)&&Object.defineProperty(w.Node.prototype,"isConnected",{get:function(){return!this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var ky=gt(Gu()),Ec=gt(sl()),Sy=gt($u());function Ne(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return[o]}));var a=t[0].length,n=t[0].map(function(o,u){return t.map(function(l){return l[u]})}),i=e.map(function(o){return n.map(function(u){var l=0;if(!Array.isArray(o)){var s=Ae(u),c;try{for(s.s();!(c=s.n()).done;){var d=c.value;l+=o*d}}catch(p){s.e(p)}finally{s.f()}return l}for(var f=0;fr)return+e.toFixed(t-r);var a=Math.pow(10,r-t);return Math.round(e/a)*a}function Cc(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,a=e.match(t);if(a){var n=[];return a[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(i,o){/%$/.test(o)?(o=new Number(o.slice(0,-1)/100),o.type=""):/deg$/.test(o)?(o=new Number(+o.slice(0,-3)),o.type="",o.unit="deg"):r.test(o)&&(o=new Number(o),o.type=""),i.startsWith("/")&&(o=o instanceof Number?o:new Number(o),o.alpha=!0),n.push(o)}),{name:a[1].toLowerCase(),rawName:a[1],rawArgs:a[2],args:n}}}}function Ac(e){return e[e.length-1]}function mn(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Fc(e,t,r){return(r-e)/(t-e)}function so(e,t,r){return mn(t[0],t[1],Fc(e[0],e[1],r))}function Tc(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var a=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(a){var n=new String(a[1]);return n.range=[+a[2],+a[3]],n}return r})})}var Oy=Object.freeze({__proto__:null,isString:ca,type:Ht,toPrecision:pn,parseFunction:Cc,last:Ac,interpolate:mn,interpolateInv:Fc,mapRange:so,parseCoordGrammar:Tc,multiplyMatrices:Ne}),My=function(){function e(){_t(this,e)}return xt(e,[{key:"add",value:function(r,a,n){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],a&&this[i][n?"unshift":"push"](a)},this)}},{key:"run",value:function(r,a){this[r]=this[r]||[],this[r].forEach(function(n){n.call(a&&a.context?a.context:a,a)})}}]),e}(),$t=new My,Rt={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Dt={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function co(e){return Array.isArray(e)?e:Dt[e]}function hn(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=co(e),t=co(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(!e&&!t?"/":"").concat(t?"":"to"));if(e===t)return r;var n={W1:e,W2:t,XYZ:r,options:a};if($t.run("chromatic-adaptation-start",n),n.M||(n.W1===Dt.D65&&n.W2===Dt.D50?n.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:n.W1===Dt.D50&&n.W2===Dt.D65&&(n.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),$t.run("chromatic-adaptation-end",n),n.M)return Ne(n.M,n.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Ny=75e-6,Iy=(C=new WeakSet,T=new WeakMap,N=new WeakSet,function(){function e(t){var r,a,n,i,o,u,l;_t(this,e),Eu(this,N),Eu(this,C),xu(this,T,{writable:!0,value:void 0}),this.id=t.id,this.name=t.name,this.base=t.base?e.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var s=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=s;var c=(a=(n=t.white)!==null&&n!==void 0?n:this.base.white)!==null&&a!==void 0?a:"D65";this.white=co(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var d in this.formats){var f=this.formats[d];f.type||(f.type="function"),f.name||(f.name=d)}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(u=this.formats)!==null&&u!==void 0&&u.color&&!((l=this.formats)!==null&&l!==void 0&&l.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Au(this,T,Jn(this,N,Py).call(this).reverse()),$t.run("colorspace-init-end",this)}return xt(e,[{key:"inGamut",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.epsilon,i=n===void 0?Ny:n;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(u,l){var s=o[l];if(s.type!=="angle"&&s.range){if(Number.isNaN(u))return!0;var c=V(s.range,2),d=c[0],f=c[1];return(d===void 0||u>=d-i)&&(f===void 0||u<=f+i)}return!0})}},{key:"cssId",get:function(){var r,a;return((r=this.formats.functions)===null||r===void 0||(a=r.color)===null||a===void 0?void 0:a.id)||this.id}},{key:"isPolar",get:function(){for(var r in this.coords)if(this.coords[r].type==="angle")return!0;return!1}},{key:"getFormat",value:function(r){if(k(r)==="object")return r=Jn(this,C,Rc).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=Jn(this,C,Rc).call(this,a),a):null}},{key:"to",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1]}if(r=e.get(r),this===r)return a;a=a.map(function(f){return Number.isNaN(f)?0:f});for(var i=Hr(this,T),o=Hr(r,T),u,l,s=0;sl;c--)a=i[c].toBase(a);for(var d=l+1;d1?i-1:0),u=1;u=0){var c=Object.entries(i.coords)[o];if(c)return fe({space:i,id:c[0],index:o},c[1])}i=e.get(i);var d=o.toLowerCase(),f=0;for(var p in i.coords){var m,h=i.coords[p];if(p.toLowerCase()===d||((m=h.name)===null||m===void 0?void 0:m.toLowerCase())===d)return fe({space:i,id:p,index:f},h);f++}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}]),e}());function Rc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Tc(e.coords);var t=Object.entries(this.coords).map(function(r,a){var n=V(r,2);n[0];var i=n[1],o=e.coordGrammar[a][0],u=i.range||i.refRange,l=o.range,s="";return o==""?(l=[0,100],s="%"):o==""&&(s="deg"),{fromRange:u,toRange:l,suffix:s}});e.serializeCoords=function(r,a){return r.map(function(n,i){var o=t[i],u=o.fromRange,l=o.toRange,s=o.suffix;return u&&l&&(n=so(u,l,n)),n=pn(n,a),s&&(n+=s),n})}}return e}function Py(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var ee=Iy;Mu(ee,"registry",{}),Mu(ee,"DEFAULT_FORMAT",{type:"functions",name:"color"});var pt=new ee({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),rt=function(e){Kn(r,e);var t=Zn(r);function r(a){var n,i;if(_t(this,r),a.coords||(a.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),a.base||(a.base=pt),a.toXYZ_M&&a.fromXYZ_M){var o,u;(o=a.toBase)!==null&&o!==void 0||(a.toBase=function(l){var s=Ne(a.toXYZ_M,l);return i.white!==i.base.white&&(s=hn(i.white,i.base.white,s)),s}),(u=a.fromBase)!==null&&u!==void 0||(a.fromBase=function(l){return l=hn(i.base.white,i.white,l),Ne(a.fromXYZ_M,l)})}return(n=a.referred)!==null&&n!==void 0||(a.referred="display"),i=t.call(this,a)}return xt(r)}(ee);function kc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if($t.run("parse-start",r),r.color)return r.color;if(r.parsed=Cc(r.str),r.parsed){var a=function(){var d=r.parsed.name;if(d==="color"){var f=r.parsed.args.shift(),p=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,m=Ae(ee.all),h;try{for(m.s();!(h=m.n()).done;){var b=h.value,v=b.getFormat("color");if(v){var g;if(f===v.id||(g=v.ids)!==null&&g!==void 0&&g.includes(f)){var D=function(){var z=Object.keys(b.coords).length,Z=Array(z).fill(0);return Z.forEach(function(te,Q){return Z[Q]=r.parsed.args[Q]||0}),{v:{v:{spaceId:b.id,coords:Z,alpha:p}}}}();if(k(D)==="object")return D.v}}}}catch(z){m.e(z)}finally{m.f()}var _="";if(f in ee.registry){var F,R,S,L=(F=ee.registry[f].formats)===null||F===void 0||(R=F.functions)===null||R===void 0||(S=R.color)===null||S===void 0?void 0:S.id;L&&(_="Did you mean color(".concat(L,")?"))}throw new TypeError("Cannot parse color(".concat(f,"). ")+(_||"Missing a plugin?"))}else{var G=Ae(ee.all),q;try{var j=function(){var Z=q.value,te=Z.getFormat(d);if(te&&te.type==="function"){var Q=1;(te.lastAlpha||Ac(r.parsed.args).alpha)&&(Q=r.parsed.args.pop());var W=r.parsed.args;return te.coordGrammar&&Object.entries(Z.coords).forEach(function(B,ne){var E,U=V(B,2),I=U[0],J=U[1],ie=te.coordGrammar[ne],$=(E=W[ne])===null||E===void 0?void 0:E.type;if(ie=ie.find(function(_e){return _e==$}),!ie){var X=J.name||I;throw new TypeError("".concat($," not allowed for ").concat(X," in ").concat(d,"()"))}var ve=ie.range;$===""&&(ve||(ve=[0,1]));var ye=J.range||J.refRange;ve&&ye&&(W[ne]=so(ve,ye,W[ne]))}),{v:{v:{spaceId:Z.id,coords:W,alpha:Q}}}}};for(G.s();!(q=G.n()).done;){var H=j();if(k(H)==="object")return H.v}}catch(z){G.e(z)}finally{G.f()}}}();if(k(a)==="object")return a.v}else{var n=Ae(ee.all),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;for(var u in o.formats){var l=o.formats[u];if(l.type==="custom"&&!(l.test&&!l.test(r.str))){var s=l.parse(r.str);if(s){var c;return(c=s.alpha)!==null&&c!==void 0||(s.alpha=1),s}}}}}catch(d){n.e(d)}finally{n.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function be(e){if(!e)throw new TypeError("Empty color reference");ca(e)&&(e=kc(e));var t=e.space||e.spaceId;return t instanceof ee||(e.space=ee.get(t)),e.alpha===void 0&&(e.alpha=1),e}function da(e,t){return t=ee.get(t),t.from(e)}function mt(e,t){var r=ee.resolveCoord(t,e.space),a=r.space,n=r.index,i=da(e,a);return i[n]}function Sc(e,t,r){return t=ee.get(t),e.coords=t.to(e.space,r),e}function Ut(e,t,r){if(e=be(e),arguments.length===2&&Ht(arguments[1])==="object"){var a=arguments[1];for(var n in a)Ut(e,n,a[n])}else{typeof r=="function"&&(r=r(mt(e,t)));var i=ee.resolveCoord(t,e.space),o=i.space,u=i.index,l=da(e,o);l[u]=r,Sc(e,o,l)}return e}var fo=new ee({id:"xyz-d50",name:"XYZ D50",white:"D50",base:pt,fromBase:function(t){return hn(pt.white,"D50",t)},toBase:function(t){return hn("D50",pt.white,t)},formats:{color:{}}}),Ly=216/24389,Oc=24/116,vn=24389/27,po=Dt.D50,ut=new ee({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:po,base:fo,fromBase:function(t){var r=t.map(function(n,i){return n/po[i]}),a=r.map(function(n){return n>Ly?Math.cbrt(n):(vn*n+16)/116});return[116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var a=[r[0]>Oc?Math.pow(r[0],3):(116*r[0]-16)/vn,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/vn,r[2]>Oc?Math.pow(r[2],3):(116*r[2]-16)/vn];return a.map(function(n,i){return n*po[i]})},formats:{lab:{coords:[" | ","",""]}}});function gn(e){return(e%360+360)%360}function By(e,t){if(e==="raw")return t;var r=t.map(gn),a=V(r,2),n=a[0],i=a[1],o=i-n;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(n+=360):e==="longer"?-1800?i+=360:n+=360):e==="shorter"&&(o>180?n+=360:o<-180&&(i+=360)),[n,i]}var fa=new ee({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:ut,fromBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2],o,u=.02;return Math.abs(n) | ",""," | "]}}}),Mc=Math.pow(25,7),bn=Math.PI,Nc=180/bn,Or=bn/180;function mo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.kL,n=a===void 0?1:a,i=r.kC,o=i===void 0?1:i,u=r.kH,l=u===void 0?1:u,s=ut.from(e),c=V(s,3),d=c[0],f=c[1],p=c[2],m=fa.from(ut,[d,f,p])[1],h=ut.from(t),b=V(h,3),v=b[0],g=b[1],D=b[2],_=fa.from(ut,[v,g,D])[1];m<0&&(m=0),_<0&&(_=0);var F=(m+_)/2,R=Math.pow(F,7),S=.5*(1-Math.sqrt(R/(R+Mc))),L=(1+S)*f,G=(1+S)*g,q=Math.sqrt(Math.pow(L,2)+Math.pow(p,2)),j=Math.sqrt(Math.pow(G,2)+Math.pow(D,2)),H=L===0&&p===0?0:Math.atan2(p,L),z=G===0&&D===0?0:Math.atan2(D,G);H<0&&(H+=2*bn),z<0&&(z+=2*bn),H*=Nc,z*=Nc;var Z=v-d,te=j-q,Q=z-H,W=H+z,B=Math.abs(Q),ne;q*j===0?ne=0:B<=180?ne=Q:Q>180?ne=Q-360:Q<-180?ne=Q+360:console.log("the unthinkable has happened");var E=2*Math.sqrt(j*q)*Math.sin(ne*Or/2),U=(d+v)/2,I=(q+j)/2,J=Math.pow(I,7),ie;q*j===0?ie=W:B<=180?ie=W/2:W<360?ie=(W+360)/2:ie=(W-360)/2;var $=Math.pow(U-50,2),X=1+.015*$/Math.sqrt(20+$),ve=1+.045*I,ye=1;ye-=.17*Math.cos((ie-30)*Or),ye+=.24*Math.cos(2*ie*Or),ye+=.32*Math.cos((3*ie+6)*Or),ye-=.2*Math.cos((4*ie-63)*Or);var _e=1+.015*I*ye,Oe=30*Math.exp(-1*Math.pow((ie-275)/25,2)),qe=2*Math.sqrt(J/(J+Mc)),Ie=-1*Math.sin(2*Oe*Or)*qe,Ee=Math.pow(Z/(n*X),2);return Ee+=Math.pow(te/(o*ve),2),Ee+=Math.pow(E/(l*_e),2),Ee+=Ie*(te/(o*ve))*(E/(l*_e)),Math.sqrt(Ee)}var qy=75e-6;function pa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.epsilon,n=a===void 0?qy:a;e=be(e),t=ee.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:n})}function ma(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Gt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,a=r===void 0?Rt.gamut_mapping:r,n=t.space,i=n===void 0?e.space:n;if(ca(arguments[1])&&(i=arguments[1]),i=ee.get(i),pa(e,i,{epsilon:0}))return e;var o=ht(e,i);if(a!=="clip"&&!pa(e,i)){var u=Gt(ma(o),{method:"clip",space:i});if(mo(e,u)>2){for(var l=ee.resolveCoord(a),s=l.space,c=l.id,d=ht(o,s),f=l.range||l.refRange,p=f[0],m=.01,h=p,b=mt(d,c);b-h>m;){var v=ma(d);v=Gt(v,{space:i,method:"clip"});var g=mo(d,v);g-22&&arguments[2]!==void 0?arguments[2]:{},a=r.inGamut;e=be(e),t=ee.get(t);var n=t.from(e),i={space:t,coords:n,alpha:e.alpha};return a&&(i=Gt(i)),i}ht.returns="color";function yn(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.precision,i=n===void 0?Rt.precision:n,o=a.format,u=o===void 0?"default":o,l=a.inGamut,s=l===void 0?!0:l,c=Pe(a,Kf),d;e=be(e);var f=u;u=(t=(r=e.space.getFormat(u))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:ee.DEFAULT_FORMAT,s||(s=u.toGamut);var p=e.coords;if(p=p.map(function(_){return _||0}),s&&!pa(e)&&(p=Gt(ma(e),s===!0?void 0:s).coords),u.type==="custom")if(c.precision=i,u.serialize)d=u.serialize(p,e.alpha,c);else throw new TypeError("format ".concat(f," can only be used to parse colors, not for serialization"));else{var m=u.name||"color";u.serializeCoords?p=u.serializeCoords(p,i):i!==null&&(p=p.map(function(_){return pn(_,i)}));var h=re(p);if(m==="color"){var b,v=u.id||((b=u.ids)===null||b===void 0?void 0:b[0])||e.space.id;h.unshift(v)}var g=e.alpha;i!==null&&(g=pn(g,i));var D=e.alpha<1&&!u.noAlpha?"".concat(u.commas?",":" /"," ").concat(g):"";d="".concat(m,"(").concat(h.join(u.commas?", ":" ")).concat(D,")")}return d}var jy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],zy=[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],wn=new rt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:jy,fromXYZ_M:zy,formats:{color:{}}}),Dn=1.09929682680944,Ic=.018053968510807,Pc=new rt({id:"rec2020",name:"REC.2020",base:wn,toBase:function(t){return t.map(function(r){return r=Ic?Dn*Math.pow(r,.45)-(Dn-1):4.5*r})},formats:{color:{}}}),Vy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Hy=[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]],Lc=new rt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Vy,fromXYZ_M:Hy}),$y=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Uy=[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],Bc=new rt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:$y,fromXYZ_M:Uy,formats:{color:{}}}),qc={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},jc=Array(3).fill(" | [0, 255]"),zc=Array(3).fill("[0, 255]"),ha=new rt({id:"srgb",name:"sRGB",base:Bc,fromBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n>.0031308?a*(1.055*Math.pow(n,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n<.04045?r/12.92:a*Math.pow((n+.055)/1.055,2.4)})},formats:{rgb:{coords:jc},rgb_number:{name:"rgb",commas:!0,coords:zc,noAlpha:!0},color:{},rgba:{coords:jc,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:zc},hex:{type:"custom",toGamut:!0,test:function(t){return/^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(a){r.push(parseInt(a,16)/255)}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=a.collapse,i=n===void 0?!0:n;r<1&&t.push(r),t=t.map(function(l){return Math.round(l*255)});var o=i&&t.every(function(l){return l%17===0}),u=t.map(function(l){return o?(l/17).toString(16):l.toString(16).padStart(2,"0")}).join("");return"#"+u}},keyword:{type:"custom",test:function(t){return/^[a-z]+$/i.test(t)},parse:function(t){t=t.toLowerCase();var r={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(r.coords=qc.black,r.alpha=0):r.coords=qc[t],r.coords)return r}}}}),Vc=new rt({id:"p3",name:"P3",base:Lc,fromBase:ha.fromBase,toBase:ha.toBase,formats:{color:{id:"display-p3"}}});if(Rt.display_space=ha,typeof CSS<"u"&&CSS.supports)for(var ho=0,Hc=[ut,Pc,Vc];ho1&&arguments[1]!==void 0?arguments[1]:{},r=t.space,a=r===void 0?Rt.display_space:r,n=Pe(t,Zf),i=yn(e,n);if(typeof CSS>"u"||CSS.supports("color",i)||!Rt.display_space)i=new String(i),i.color=e;else{var o=ht(e,a);i=new String(yn(o,n)),i.color=o}return i}function $c(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=ee.get(r);var a=r.from(e),n=r.from(t);return Math.sqrt(a.reduce(function(i,o,u){var l=n[u];return isNaN(o)||isNaN(l)?i:i+Math.pow(l-o,2)},0))}function Ky(e,t){return e=be(e),t=be(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,a){return r===t.coords[a]})}function Wt(e){return mt(e,[pt,"y"])}function Uc(e,t){Ut(e,[pt,"y"],t)}function Zy(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Wt(this)},set:function(r){Uc(this,r)}})}var Jy=Object.freeze({__proto__:null,getLuminance:Wt,setLuminance:Uc,register:Zy});function Qy(e,t){e=be(e),t=be(t);var r=Math.max(Wt(e),0),a=Math.max(Wt(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1]}return(r+.05)/(a+.05)}var e0=.56,t0=.57,r0=.62,a0=.65,Gc=.022,n0=1.414,i0=.1,o0=5e-4,u0=1.14,Wc=.027,l0=1.14;function Yc(e){return e>=Gc?e:e+Math.pow(Gc-e,n0)}function Mr(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function s0(e,t){t=be(t),e=be(e);var r,a,n,i,o,u;t=ht(t,"srgb");var l=V(t.coords,3);i=l[0],o=l[1],u=l[2];var s=Mr(i)*.2126729+Mr(o)*.7151522+Mr(u)*.072175;e=ht(e,"srgb");var c=V(e.coords,3);i=c[0],o=c[1],u=c[2];var d=Mr(i)*.2126729+Mr(o)*.7151522+Mr(u)*.072175,f=Yc(s),p=Yc(d),m=p>f;return Math.abs(p-f)0?n=a-Wc:n=a+Wc,n*100}function c0(e,t){e=be(e),t=be(t);var r=Math.max(Wt(e),0),a=Math.max(Wt(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1]}var i=r+a;return i===0?0:(r-a)/i}var d0=5e4;function f0(e,t){e=be(e),t=be(t);var r=Math.max(Wt(e),0),a=Math.max(Wt(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1]}return a===0?d0:(r-a)/a}function p0(e,t){e=be(e),t=be(t);var r=mt(e,[ut,"l"]),a=mt(t,[ut,"l"]);return Math.abs(r-a)}var m0=216/24389,Xc=24/116,_n=24389/27,go=Dt.D65,bo=new ee({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:go,base:pt,fromBase:function(t){var r=t.map(function(n,i){return n/go[i]}),a=r.map(function(n){return n>m0?Math.cbrt(n):(_n*n+16)/116});return[116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var a=[r[0]>Xc?Math.pow(r[0],3):(116*r[0]-16)/_n,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/_n,r[2]>Xc?Math.pow(r[2],3):(116*r[2]-16)/_n];return a.map(function(n,i){return n*go[i]})},formats:{"lab-d65":{coords:[" | ","",""]}}}),yo=Math.pow(5,.5)*.5+.5;function h0(e,t){e=be(e),t=be(t);var r=mt(e,[bo,"l"]),a=mt(t,[bo,"l"]),n=Math.abs(Math.pow(r,yo)-Math.pow(a,yo)),i=Math.pow(n,1/yo)*Math.SQRT2-40;return i<7.5?0:i}var xn=Object.freeze({__proto__:null,contrastWCAG21:Qy,contrastAPCA:s0,contrastMichelson:c0,contrastWeber:f0,contrastLstar:p0,contrastDeltaPhi:h0});function v0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ca(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=Pe(a,Jf);if(!n){var o=Object.keys(xn).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=be(e),t=be(t);for(var u in xn)if("contrast"+n.toLowerCase()===u.toLowerCase())return xn[u](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function Kc(e){var t=da(e,pt),r=V(t,3),a=r[0],n=r[1],i=r[2],o=a+15*n+3*i;return[4*a/o,9*n/o]}function Zc(e){var t=da(e,pt),r=V(t,3),a=r[0],n=r[1],i=r[2],o=a+n+i;return[a/o,n/o]}function g0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Kc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Zc(this)}})}var b0=Object.freeze({__proto__:null,uv:Kc,xy:Zc,register:g0});function y0(e,t){return $c(e,t,"lab")}var w0=Math.PI,Jc=w0/180;function D0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.l,n=a===void 0?2:a,i=r.c,o=i===void 0?1:i,u=ut.from(e),l=V(u,3),s=l[0],c=l[1],d=l[2],f=fa.from(ut,[s,c,d]),p=V(f,3),m=p[1],h=p[2],b=ut.from(t),v=V(b,3),g=v[0],D=v[1],_=v[2],F=fa.from(ut,[g,D,_])[1];m<0&&(m=0),F<0&&(F=0);var R=s-g,S=m-F,L=c-D,G=d-_,q=Math.pow(L,2)+Math.pow(G,2)-Math.pow(S,2),j=.511;s>=16&&(j=.040975*s/(1+.01765*s));var H=.0638*m/(1+.0131*m)+.638,z;Number.isNaN(h)&&(h=0),h>=164&&h<=345?z=.56+Math.abs(.2*Math.cos((h+168)*Jc)):z=.36+Math.abs(.4*Math.cos((h+35)*Jc));var Z=Math.pow(m,4),te=Math.sqrt(Z/(Z+1900)),Q=H*(te*z+1-te),W=Math.pow(R/(n*j),2);return W+=Math.pow(S/(o*H),2),W+=q/Math.pow(Q,2),Math.sqrt(W)}var Qc=203,wo=new ee({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:pt,fromBase:function(t){return t.map(function(r){return Math.max(r*Qc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Qc,0)})}}),En=1.15,Cn=.66,ed=2610/Math.pow(2,14),_0=Math.pow(2,14)/2610,td=3424/Math.pow(2,12),rd=2413/Math.pow(2,7),ad=2392/Math.pow(2,7),x0=1.7*2523/Math.pow(2,5),nd=Math.pow(2,5)/(1.7*2523),An=-.56,Do=16295499532821565e-27,E0=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],C0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],A0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],F0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],id=new ee({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:wo,fromBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2],o=En*a-(En-1)*i,u=Cn*n-(Cn-1)*a,l=Ne(E0,[o,u,i]),s=l.map(function(b){var v=td+rd*Math.pow(b/1e4,ed),g=1+ad*Math.pow(b/1e4,ed);return Math.pow(v/g,x0)}),c=Ne(A0,s),d=V(c,3),f=d[0],p=d[1],m=d[2],h=(1+An)*f/(1+An*f)-Do;return[h,p,m]},toBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2],o=(a+Do)/(1+An-An*(a+Do)),u=Ne(F0,[o,n,i]),l=u.map(function(b){var v=td-Math.pow(b,nd),g=ad*Math.pow(b,nd)-rd,D=1e4*Math.pow(v/g,_0);return D}),s=Ne(C0,l),c=V(s,3),d=c[0],f=c[1],p=c[2],m=(d+(En-1)*p)/En,h=(f+(Cn-1)*m)/Cn;return[m,h,p]},formats:{color:{}}}),_o=new ee({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:id,fromBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2],o,u=2e-4;return Math.abs(n) | ","",""]}}});function V0(e,t){var r=Fn.from(e),a=V(r,3),n=a[0],i=a[1],o=a[2],u=Fn.from(t),l=V(u,3),s=l[0],c=l[1],d=l[2],f=n-s,p=i-c,m=o-d;return Math.sqrt(Math.pow(f,2)+Math.pow(p,2)+Math.pow(m,2))}var Eo=Object.freeze({__proto__:null,deltaE76:y0,deltaECMC:D0,deltaE2000:mo,deltaEJz:T0,deltaEITP:L0,deltaEOK:V0});function va(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ca(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?Rt.deltaE:n,o=Pe(a,Qf);e=be(e),t=be(t);for(var u in Eo)if("deltae"+i.toLowerCase()===u.toLowerCase())return Eo[u](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function H0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=ee.get("oklch","lch"),a=[r,"l"];return Ut(e,a,function(n){return n*(1+t)})}function $0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=ee.get("oklch","lch"),a=[r,"l"];return Ut(e,a,function(n){return n*(1-t)})}var U0=Object.freeze({__proto__:null,lighten:H0,darken:$0});function dd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=[be(e),be(t)];if(e=n[0],t=n[1],Ht(r)==="object"){var i=[.5,r];r=i[0],a=i[1]}var o=a,u=o.space,l=o.outputSpace,s=o.premultiplied,c=ga(e,t,{space:u,outputSpace:l,premultiplied:s});return c(r)}function fd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(Co(e)){a=e,r=t;var n=V(a.rangeArgs.colors,2);e=n[0],t=n[1]}var i=r,o=i.maxDeltaE,u=i.deltaEMethod,l=i.steps,s=l===void 0?2:l,c=i.maxSteps,d=c===void 0?1e3:c,f=Pe(i,ep);if(!a){var p=[be(e),be(t)];e=p[0],t=p[1],a=ga(e,t,f)}var m=va(e,t),h=o>0?Math.max(s,Math.ceil(m/o)+1):s,b=[];if(d!==void 0&&(h=Math.min(h,d)),h===1)b=[{p:.5,color:a(.5)}];else{var v=1/(h-1);b=Array.from({length:h},function(L,G){var q=G*v;return{p:q,color:a(q)}})}if(o>0)for(var g=b.reduce(function(L,G,q){if(q===0)return 0;var j=va(G.color,b[q-1].color,u);return Math.max(L,j)},0);g>o;){g=0;for(var D=1;D2&&arguments[2]!==void 0?arguments[2]:{};if(Co(e)){var a=e,n=t;return ga.apply(void 0,re(a.rangeArgs.colors).concat([fe({},a.rangeArgs.options,n)]))}var i=r.space,o=r.outputSpace,u=r.progression,l=r.premultiplied;e=be(e),t=be(t),e=ma(e),t=ma(t);var s={colors:[e,t],options:r};if(i?i=ee.get(i):i=ee.registry[Rt.interpolationSpace]||e.space,o=o?ee.get(o):i,e=ht(e,i),t=ht(t,i),e=Gt(e),t=Gt(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",d=[i,"h"],f=[mt(e,d),mt(t,d)],p=f[0],m=f[1],h=By(c,[p,m]),b=V(h,2);p=b[0],m=b[1],Ut(e,d,p),Ut(t,d,m)}return l&&(e.coords=e.coords.map(function(v){return v*e.alpha}),t.coords=t.coords.map(function(v){return v*t.alpha})),Object.assign(function(v){v=u?u(v):v;var g=e.coords.map(function(F,R){var S=t.coords[R];return mn(F,S,v)}),D=mn(e.alpha,t.alpha,v),_={space:i,coords:g,alpha:D};return l&&(_.coords=_.coords.map(function(F){return F/D})),o!==i&&(_=ht(_,o)),_},{rangeArgs:s})}function Co(e){return Ht(e)==="function"&&!!e.rangeArgs}Rt.interpolationSpace="lab";function G0(e){e.defineFunction("mix",dd,{returns:"color"}),e.defineFunction("range",ga,{returns:"function"}),e.defineFunction("steps",fd,{returns:"array"})}var W0=Object.freeze({__proto__:null,mix:dd,steps:fd,range:ga,isRange:Co,register:G0}),pd=new ee({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:ha,fromBase:function(t){var r=Math.max.apply(Math,re(t)),a=Math.min.apply(Math,re(t)),n=V(t,3),i=n[0],o=n[1],u=n[2],l=NaN,s=0,c=(a+r)/2,d=r-a;if(d!==0){switch(s=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-u)/d+(o | ","",""]},hsla:{coords:[" | ","",""],commas:!0,lastAlpha:!0}}}),md=new ee({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:pd,fromBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i+n*Math.min(i,1-i);return[a,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i*(1-n/2);return[a,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:!0}}}),Y0=new ee({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:md,fromBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2];return[a,i*(100-n)/100,100-i]},toBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=n+i;if(o>=1){var u=n/o;return[a,0,u*100]}var l=1-i,s=l===0?0:1-n/l;return[a,s*100,l*100]},formats:{hwb:{toGamut:!0,coords:[" | ","",""]}}}),X0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],K0=[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]],hd=new rt({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:X0,fromXYZ_M:K0}),Z0=new rt({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:hd,toBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),563/256)*Math.sign(r)})},fromBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),256/563)*Math.sign(r)})},formats:{color:{id:"a98-rgb"}}}),J0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],Q0=[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],vd=new rt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:fo,toXYZ_M:J0,fromXYZ_M:Q0}),e2=1/512,t2=16/512,r2=new rt({id:"prophoto",name:"ProPhoto",base:vd,toBase:function(t){return t.map(function(r){return r=e2?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),a2=new ee({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Fn,fromBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2],o,u=2e-4;return Math.abs(n) | ",""," | "]}}}),gd=203,bd=2610/Math.pow(2,14),n2=Math.pow(2,14)/2610,i2=2523/Math.pow(2,5),yd=Math.pow(2,5)/2523,wd=3424/Math.pow(2,12),Dd=2413/Math.pow(2,7),_d=2392/Math.pow(2,7),o2=new rt({id:"rec2100pq",name:"REC.2100-PQ",base:wn,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,yd)-wd,0)/(Dd-_d*Math.pow(r,yd)),n2);return a*1e4/gd})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*gd/1e4,0),n=wd+Dd*Math.pow(a,bd),i=1+_d*Math.pow(a,bd);return Math.pow(n/i,i2)})},formats:{color:{id:"rec2100-pq"}}}),xd=.17883277,Ed=.28466892,Cd=.55991073,Ao=3.7743,u2=new rt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:wn,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*Ao:Math.exp((r-Cd)/xd+Ed)/12*Ao})},fromBase:function(t){return t.map(function(r){return r/=Ao,r<=1/12?Math.sqrt(3*r):xd*Math.log(12*r-Ed)+Cd})},formats:{color:{id:"rec2100-hlg"}}}),Ad={};$t.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Fd(e.W1,e.W2,e.options.method))}),$t.add("chromatic-adaptation-end",function(e){e.M||(e.M=Fd(e.W1,e.W2,e.options.method))});function Tn(e){var t=e.id;e.toCone_M,e.fromCone_M,Ad[t]=arguments[0]}function Fd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=Ad[r],n=Ne(a.toCone_M,e),i=V(n,3),o=i[0],u=i[1],l=i[2],s=Ne(a.toCone_M,t),c=V(s,3),d=c[0],f=c[1],p=c[2],m=[[d/o,0,0],[0,f/u,0],[0,0,p/l]],h=Ne(m,a.toCone_M),b=Ne(a.fromCone_M,h);return b}Tn({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),Tn({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),Tn({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),Tn({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(Dt,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),Dt.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var l2=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],s2=[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],Td=new rt({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:Dt.ACES,toXYZ_M:l2,fromXYZ_M:s2,formats:{color:{}}}),Rn=Math.pow(2,-16),Fo=-.35828683,kn=(Math.log2(65504)+9.72)/17.52,c2=new rt({id:"acescc",name:"ACEScc",coords:{r:{range:[Fo,kn],name:"Red"},g:{range:[Fo,kn],name:"Green"},b:{range:[Fo,kn],name:"Blue"}},referred:"scene",base:Td,toBase:function(t){var r=-.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-Rn)*2:a1?a-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:a,i=n.instance,o=i===void 0?!0:i,u=n.returns,l=function(){var c=a.apply(void 0,arguments);if(u==="color")c=e.get(c);else if(u==="function"){var d=c;c=function(){var p=d.apply(void 0,arguments);return e.get(p)},Object.assign(c,d)}else u==="array"&&(c=c.map(function(f){return e.get(f)}));return c};r in e||(e[r]=l),o&&(e.prototype[r]=function(){for(var s=arguments.length,c=new Array(s),d=0;d"u"?i:new Proxy(i,{has:function(u,l){try{return ee.resolveCoord([t,l]),!0}catch{}return Reflect.has(u,l)},get:function(u,l,s){if(l&&k(l)!=="symbol"&&!(l in u)){var c=ee.resolveCoord([t,l]),d=c.index;if(d>=0)return u[d]}return Reflect.get(u,l,s)},set:function(u,l,s,c){if(l&&k(l)!=="symbol"&&!(l in u)||l>=0){var d=ee.resolveCoord([t,l]),f=d.index;if(f>=0)return u[f]=s,n.setAll(e,u),!0}return Reflect.set(u,l,s,c)}})},set:function(n){this.setAll(e,n)},configurable:!0,enumerable:!0})}lt.extend(Eo),lt.extend({deltaE:va}),lt.extend(U0),lt.extend({contrast:v0}),lt.extend(b0),lt.extend(Jy),lt.extend(W0),lt.extend(xn),Ec.default.templateSettings.strip=!1;var f2=/^#[0-9a-f]{3,8}$/i,p2=/hsl\(\s*([\d.]+)(rad|turn)/,m2=function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;_t(this,e),this.red=t,this.green=r,this.blue=a,this.alpha=n}return xt(e,[{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),a=Math.round(this.green).toString(16),n=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?a:"0"+a)+(this.blue>15.5?n:"0"+n)}},{key:"toJSON",value:function(){var r=this.red,a=this.green,n=this.blue,i=this.alpha;return{red:r,green:a,blue:n,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(p2,function(n,i,o){var u=i+o;switch(o){case"rad":return n.replace(u,h2(i));case"turn":return n.replace(u,v2(i))}});try{var a=new lt(r).to("srgb");this.red=Math.round(ko(a.r,0,1)*255),this.green=Math.round(ko(a.g,0,1)*255),this.blue=Math.round(ko(a.b,0,1)*255),this.alpha=+a.alpha}catch{throw new Error('Unable to parse color "'.concat(r,'"'))}return this}},{key:"parseRgbString",value:function(r){this.parseString(r)}},{key:"parseHexString",value:function(r){!r.match(f2)||[6,8].includes(r.length)||this.parseString(r)}},{key:"parseColorFnString",value:function(r){this.parseString(r)}},{key:"getRelativeLuminance",value:function(){var r=this.red/255,a=this.green/255,n=this.blue/255,i=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),o=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),u=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4);return .2126*i+.7152*o+.0722*u}}]),e}(),Se=m2;function ko(e,t,r){return Math.min(Math.max(t,e),r)}function h2(e){return e*180/Math.PI}function v2(e){return e*360}function g2(e){var t=new Se;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r}return t}var vr=g2;function b2(e){var t=w.getComputedStyle(e);return fn(e,t)||vr(t).alpha===1}var y2=b2;function So(e){if(!e.href)return!1;var t=ue.get("firstPageLink",w2);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:!0}function w2(){var e;return w.location.origin?e=ct(y._tree,'a[href]:not([href^="javascript:"])').find(function(t){return!qi(t.actualNode)}):e=ct(y._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var D2=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,_2=/(\w+)\((\d+)/;function x2(e){var t=e.getPropertyValue("clip").match(D2),r=e.getPropertyValue("clip-path").match(_2);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 E2(e,t,r){var a=Fr(e,"map");if(!a)return!1;var n=a.getAttribute("name");if(!n)return!1;var i=We(e);if(!i||i.nodeType!==9)return!1;var o=ct(y._tree,'img[usemap="#'.concat(Re(n),'"]'));return!o||!o.length?!1:o.some(function(u){var l=u.actualNode;return Sn(l,t,r)})}function Sn(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof Ve?e:le(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=w.Node)!==null&&a!==void 0?a:{},u=o.DOCUMENT_NODE,l=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===u)return!0;if(["style","script","noscript","template"].includes(c))return!1;if(e&&s===l&&(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=Sn(f,t,!0)),n&&(n[i]=p),p}var m=w.getComputedStyle(e,null);if(m===null)return!1;if(c==="area")return E2(e,t,r);if(m.getPropertyValue("display")==="none")return!1;var h=parseInt(m.getPropertyValue("height")),b=parseInt(m.getPropertyValue("width")),v=Pt(e),g=v&&h===0,D=v&&b===0,_=m.getPropertyValue("position")==="absolute"&&(h<2||b<2)&&m.getPropertyValue("overflow")==="hidden";if(!t&&(x2(m)||m.getPropertyValue("opacity")==="0"||g||D||_)||!r&&(m.getPropertyValue("visibility")==="hidden"||!t&&Za(e)))return!1;var F=e.assignedSlot?e.assignedSlot:e.parentNode,R=!1;return F&&(R=Sn(F,t,!0)),n&&(n[i]=R),R}var C2=Sn;function A2(e,t){for(var r=["fixed","sticky"],a=[],n=!1,i=0;iMath.ceil(o.left+o.width)||Math.floor(u.top+u.height)>Math.ceil(o.top+o.height))})}function Id(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:M,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 We(n)===r}).reduce(function(n,i){if(Ya(i)){var o=Id(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&Md(n[0],i)&&n.push(i)}else n.push(i);return n},[])}var T2=Id;function R2(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=M.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=S2(i),u=o.pathname,l=o.filename;return{protocol:n,hostname:a.hostname,port:k2(a.port),pathname:/\/$/.test(u)?u:"".concat(u,"/"),search:O2(a.search),hash:M2(a.hash),filename:l}}}function k2(e){var t=["443","80"];return t.includes(e)?"":e}function S2(e){var t=e.split("/").pop();return!t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function O2(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 w.HTMLBodyElement||t instanceof w.HTMLHtmlElement:!0}var Oo=I2,Pd=0,P2=function(e){Kn(r,e);var t=Zn(r);function r(a,n,i){var o;if(_t(this,r),o=t.call(this),o.shadowId=i,o.children=[],o.actualNode=a,o.parent=n,n||(Pd=0),o.nodeIndex=Pd++,o._isHidden=null,o._cache={},o._isXHTML=Ba(a.ownerDocument),a.nodeName.toLowerCase()==="input"){var u=a.getAttribute("type");u=o._isXHTML?u:(u||"").toLowerCase(),Ln().includes(u)||(u="text"),o._type=u}return ue.get("nodeMap")&&ue.get("nodeMap").set(a,Du(o)),o}return xt(r,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var n=this.actualNode,i=n.nodeType,o=n.nodeName,u=n.id,l=n.nodeValue;this._cache.props={nodeType:i,nodeName:this._isXHTML?o:o.toLowerCase(),id:u,type:this._type,nodeValue:l},i===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate)}return this._cache.props}},{key:"attr",value:function(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 w.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=w.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=ke(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=As(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}(Ve),Mo=P2;function L2(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Ye=L2,gr=" [idsMap]";function Ld(e,t,r){var a=e[0]._selectorMap;if(a){for(var n=e[0].shadowId,i=0;i1&&t[i].some(function(l){return Bd(l)}))return;var o=new Set;t.forEach(function(l){var s,c=B2(l,a,n);c==null||(s=c.nodes)===null||s===void 0||s.forEach(function(d){c.isComplexSelector&&!_r(d,l)||o.add(d)})});var u=[];return o.forEach(function(l){return u.push(l)}),r&&(u=u.filter(r)),u.sort(function(l,s){return l.nodeIndex-s.nodeIndex})}}function B2(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(Bd(a))n=t["*"];else{if(a.id){var o;if(!t[gr]||!Object.hasOwn(t[gr],a.id)||!((o=t[gr][a.id])!==null&&o!==void 0&&o.length))return;n=t[gr][a.id].filter(function(h){return h.shadowId===r})}if(a.tag&&a.tag!=="*"){var u;if(!((u=t[a.tag])!==null&&u!==void 0&&u.length))return;var l=t[a.tag];n=n?No(l,n):l}if(a.classes){var s;if(!((s=t["[class]"])!==null&&s!==void 0&&s.length))return;var c=t["[class]"];n=n?No(c,n):c}if(a.attributes)for(var d=0;d0&&arguments[0]!==void 0?arguments[0]:M.documentElement,t=arguments.length>1?arguments[1]:void 0;Io=!1;var r={};ue.set("nodeMap",new WeakMap),ue.set("selectorMap",r);var a=jd(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=Io,a}function q2(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Lo(e,t,r){var a=new Mo(e,t,r);return qd(a,ue.get("selectorMap")),a}function jd(e,t,r){var a,n,i;function o(u,l,s){var c=jd(l,t,s);return c&&(u=u.concat(c)),u}return e.documentElement&&(e=e.documentElement),i=e.nodeName.toLowerCase(),Ya(e)?(Io=!0,a=Lo(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=n.reduce(function(u,l){return o(u,l,a)},[]),[a]):i==="content"&&typeof e.getDistributedNodes=="function"?(n=Array.from(e.getDistributedNodes()),n.reduce(function(u,l){return o(u,l,r)},[])):i==="slot"&&typeof e.assignedNodes=="function"?(n=Array.from(e.assignedNodes()),n.length||(n=q2(e)),w.getComputedStyle(e),n.reduce(function(u,l){return o(u,l,r)},[])):e.nodeType===1?(a=Lo(e,r,t),n=Array.from(e.childNodes),a.children=n.reduce(function(u,l){return o(u,l,a)},[]),[a]):e.nodeType===3?[Lo(e,r)]:void 0}function j2(e){return e?e.trim().split("-")[0].toLowerCase():""}var br=j2;function z2(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=y._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(` +`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'}}),Tm=x(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Uu();function r(a,n,i,o,u,l){var s=a.length,c="";function d(g,D){var _="";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 D=c;for(n++,c=a.charAt(n);t.isHex(c);)D+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),g+=String.fromCharCode(parseInt(D,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=h();if(n=s||c===","||c===")"));)if(u[c]){var F=c;if(n++,p(),D=v(),!D)throw Error('Rule expected after "'+F+'".');D.nestingOperator=F}else D=v(),D&&(D.nestingOperator=null);return g}function v(){for(var g=null;n=s)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');D.operator=_+"=",n++,p();var F="";if(D.valueType="string",c==='"')F=d('"',t.doubleQuotesEscapeChars);else if(c==="'")F=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,F=f(),D.valueType="substitute";else{for(;n=s)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,D.value=F}g=g||{},(g.attrs=g.attrs||[]).push(D)}else if(c===":"){n++;var R=f(),S={name:R};if(c==="("){n++;var L="";if(p(),i[R]==="selector")S.valueType="selector",L=h();else{if(S.valueType=i[R]||"string",c==='"')L=d('"',t.doubleQuotesEscapeChars);else if(c==="'")L=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,L=f(),S.valueType="substitute";else{for(;n=s)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,S.value=L}g=g||{},(g.pseudos=g.pseudos||[]).push(S)}else break;return g}return m()}e.parseCssSelector=r}),Rm=x(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Uu();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(u){return"."+t.escapeIdentifier(u)}).join("")),a.attrs&&(n+=a.attrs.map(function(u){return"operator"in u?u.valueType==="substitute"?"["+t.escapeIdentifier(u.name)+u.operator+"$"+u.value+"]":"["+t.escapeIdentifier(u.name)+u.operator+t.escapeStr(u.value)+"]":"["+t.escapeIdentifier(u.name)+"]"}).join("")),a.pseudos&&(n+=a.pseudos.map(function(u){return u.valueType?u.valueType==="selector"?":"+t.escapeIdentifier(u.name)+"("+r(u.value)+")":u.valueType==="substitute"?":"+t.escapeIdentifier(u.name)+"($"+u.value+")":u.valueType==="numeric"?":"+t.escapeIdentifier(u.name)+"("+u.value+")":":"+t.escapeIdentifier(u.name)+"("+t.escapeIdentifier(u.value)+")":":"+t.escapeIdentifier(u.name)}).join(""));break;default:throw Error('Unknown entity type: "'+a.type+'".')}return n}e.renderEntity=r}),Gu=x(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Tm(),r=Rm(),a=function(){function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return n.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",b=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function v(){return function(){return process.nextTick(S)}}function g(){return typeof u<"u"?function(){u(S)}:F()}function D(){var A=0,O=new m(S),P=M.createTextNode("");return O.observe(P,{characterData:!0}),function(){P.data=A=++A%2}}function _(){var A=new MessageChannel;return A.port1.onmessage=S,function(){return A.port2.postMessage(0)}}function F(){var A=setTimeout;return function(){return A(S,1)}}var R=new Array(1e3);function S(){for(var A=0;A>0},ToUint32:function(J){return J>>>0}}}(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,u=Math.min,l=Math.pow,s=Math.round;function c(E,U,I){return EI?I:E}var d=Object.getOwnPropertyNames||function(E){if(E!==Object(E))throw new TypeError("Object.getOwnPropertyNames called on non-object");var U=[],I;for(I in E)r.HasOwnProperty(E,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,J){if(!U===Object(U))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(J,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(U,I,J.get),r.HasProperty(J,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(U,I,J.set),r.HasProperty(J,"value")&&(U[I]=J.value),U};function p(E){if(d&&f){var U=d(E),I;for(I=0;It)throw new RangeError("Array too large for polyfill");function U(J){f(E,J,{get:function(){return E._getter(J)},set:function($){E._setter(J,$)},enumerable:!0,configurable:!1})}var I;for(I=0;I>I}function b(E,U){var I=32-U;return E<>>I}function v(E){return[E&255]}function g(E){return h(E[0],8)}function D(E){return[E&255]}function _(E){return b(E[0],8)}function F(E){return E=s(Number(E)),[E<0?0:E>255?255:E&255]}function R(E){return[E>>8&255,E&255]}function S(E){return h(E[0]<<8|E[1],16)}function L(E){return[E>>8&255,E&255]}function G(E){return b(E[0]<<8|E[1],16)}function q(E){return[E>>24&255,E>>16&255,E>>8&255,E&255]}function j(E){return h(E[0]<<24|E[1]<<16|E[2]<<8|E[3],32)}function H(E){return[E>>24&255,E>>16&255,E>>8&255,E&255]}function z(E){return b(E[0]<<24|E[1]<<16|E[2]<<8|E[3],32)}function Z(E,U,I){var J=(1<.5||Ee%2?Ee+1:Ee}for(E!==E?($=(1<=l(2,1-J)?($=u(i(o(E)/a),1023),X=qe(E/l(2,$)*l(2,I)),X/l(2,I)>=2&&($=$+1,X=1),$>J?($=(1<>1;return J.reverse(),ve=J.join(""),ye=(1<0?_e*l(2,Oe-ye)*(1+qe/l(2,I)):qe!==0?_e*l(2,-(ye-1))*(qe/l(2,I)):_e<0?-0:0}function Q(E){return te(E,11,52)}function W(E){return Z(E,11,52)}function B(E){return te(E,8,23)}function ne(E){return Z(E,8,23)}(function(){function E(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 Ee;for(Ee=0;Eethis.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(Ke),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=Ge,p(this),m(this)},Ge.prototype=new U,Ge.prototype.BYTES_PER_ELEMENT=Ie,Ge.prototype._pack=Ee,Ge.prototype._unpack=qr,Ge.BYTES_PER_ELEMENT=Ie,Ge.prototype._getter=function(Ce){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(Ce=r.ToUint32(Ce),!(Ce>=this.length)){for(var je=[],Me=0,Ke=this.byteOffset+Ce*this.BYTES_PER_ELEMENT;Methis.length)throw new RangeError("Offset plus length of array is out of range");if(P=this.byteOffset+Ze*this.BYTES_PER_ELEMENT,Y=Me.length*this.BYTES_PER_ELEMENT,Me.buffer===this.buffer){for(oe=[],we=0,A=Me.byteOffset;wethis.length)throw new RangeError("Offset plus length of array is out of range");for(we=0;wethis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(ve),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 J($){return function(X,ve){if(X=r.ToUint32(X),X+$.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");X+=this.byteOffset;var ye=new e.Uint8Array(this.buffer,X,$.BYTES_PER_ELEMENT),_e=[],Oe;for(Oe=0;Oe<$.BYTES_PER_ELEMENT;Oe+=1)_e.push(E(ye,Oe));return!!ve==!!U&&_e.reverse(),E(new $(new e.Uint8Array(_e).buffer),0)}}I.prototype.getUint8=J(e.Uint8Array),I.prototype.getInt8=J(e.Int8Array),I.prototype.getUint16=J(e.Uint16Array),I.prototype.getInt16=J(e.Int16Array),I.prototype.getUint32=J(e.Uint32Array),I.prototype.getInt32=J(e.Int32Array),I.prototype.getFloat32=J(e.Float32Array),I.prototype.getFloat64=J(e.Float64Array);function ie($){return function(X,ve,ye){if(X=r.ToUint32(X),X+$.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var _e=new $([ve]),Oe=new e.Uint8Array(_e.buffer),qe=[],Ie,Ee;for(Ie=0;Ie<$.BYTES_PER_ELEMENT;Ie+=1)qe.push(E(Oe,Ie));!!ye==!!U&&qe.reverse(),Ee=new e.Uint8Array(this.buffer,X,$.BYTES_PER_ELEMENT),Ee.set(qe)}}I.prototype.setUint8=ie(e.Uint8Array),I.prototype.setInt8=ie(e.Int8Array),I.prototype.setUint16=ie(e.Uint16Array),I.prototype.setInt16=ie(e.Int16Array),I.prototype.setUint32=ie(e.Uint32Array),I.prototype.setInt32=ie(e.Int32Array),I.prototype.setFloat32=ie(e.Float32Array),I.prototype.setFloat64=ie(e.Float64Array),e.DataView=e.DataView||I}()}),Om=x(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,a=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),n=function(u,l,s){a?Object.defineProperty(u,l,{configurable:!0,writable:!0,value:s}):u[l]=s};t.WeakMap=function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",l("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(o.prototype,"delete",function(c){if(u(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(u(this,"get"),!!i(c)){var d=c[this._id];if(d&&d[0]===c)return d[1]}}),n(o.prototype,"has",function(c){if(u(this,"has"),!i(c))return!1;var d=c[this._id];return!!(d&&d[0]===c)}),n(o.prototype,"set",function(c,d){if(u(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 u(c,d){if(!i(c)||!r.call(c,"_id"))throw new TypeError(d+" method called on incompatible receiver "+k(c))}function l(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 w<"u"?w:typeof Je<"u"?Je:e)}),rr=x(function(e,t){var r=function(n){return n&&n.Math==Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":k(globalThis))=="object"&&globalThis)||r((typeof w>"u"?"undefined":k(w))=="object"&&w)||r((typeof self>"u"?"undefined":k(self))=="object"&&self)||r((typeof Je>"u"?"undefined":k(Je))=="object"&&Je)||function(){return this}()||Function("return this")()}),ar=x(function(e,t){t.exports=function(r){try{return!!r()}catch{return!0}}}),Sa=x(function(e,t){var r=ar();t.exports=!r(function(){var a=(function(){}).bind();return typeof a!="function"||a.hasOwnProperty("prototype")})}),Mm=x(function(e,t){var r=Sa(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":k(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)})}),qt=x(function(e,t){var r=Sa(),a=Function.prototype,n=a.call,i=r&&a.bind.bind(n,n);t.exports=r?i:function(o){return function(){return n.apply(o,arguments)}}}),Wu=x(function(e,t){var r=qt(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)}}),Yu=x(function(e,t){var r=Wu(),a=qt();t.exports=function(n){if(r(n)==="Function")return a(n)}}),Xu=x(function(e,t){var r=(typeof M>"u"?"undefined":k(M))=="object"&&M.all,a=typeof r>"u"&&r!==void 0;t.exports={all:r,IS_HTMLDDA:a}}),nr=x(function(e,t){var r=Xu(),a=r.all;t.exports=r.IS_HTMLDDA?function(n){return typeof n=="function"||n===a}:function(n){return typeof n=="function"}}),wr=x(function(e,t){var r=ar();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),ii=x(function(e,t){var r=Sa(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)}}),Ku=x(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!t.call({1:2},1);e.f=a?function(i){var o=r(this,i);return!!o&&o.enumerable}:t}),Zu=x(function(e,t){t.exports=function(r,a){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}}}),Nm=x(function(e,t){var r=qt(),a=ar(),n=Wu(),i=Object,o=r("".split);t.exports=a(function(){return!i("z").propertyIsEnumerable(0)})?function(u){return n(u)=="String"?o(u,""):i(u)}:i}),Ju=x(function(e,t){t.exports=function(r){return r==null}}),Qu=x(function(e,t){var r=Ju(),a=TypeError;t.exports=function(n){if(r(n))throw a("Can't call method on "+n);return n}}),Oa=x(function(e,t){var r=Nm(),a=Qu();t.exports=function(n){return r(a(n))}}),Ma=x(function(e,t){var r=nr(),a=Xu(),n=a.all;t.exports=a.IS_HTMLDDA?function(i){return k(i)=="object"?i!==null:r(i)||i===n}:function(i){return k(i)=="object"?i!==null:r(i)}}),Na=x(function(e,t){t.exports={}}),el=x(function(e,t){var r=Na(),a=rr(),n=nr(),i=function(u){return n(u)?u:void 0};t.exports=function(o,u){return arguments.length<2?i(r[o])||i(a[o]):r[o]&&r[o][u]||a[o]&&a[o][u]}}),Im=x(function(e,t){var r=qt();t.exports=r({}.isPrototypeOf)}),Pm=x(function(e,t){var r=el();t.exports=r("navigator","userAgent")||""}),Lm=x(function(e,t){var r=rr(),a=Pm(),n=r.process,i=r.Deno,o=n&&n.versions||i&&i.version,u=o&&o.v8,l,s;u&&(l=u.split("."),s=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!s&&a&&(l=a.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=a.match(/Chrome\/(\d+)/),l&&(s=+l[1]))),t.exports=s}),tl=x(function(e,t){var r=Lm(),a=ar();t.exports=!!Object.getOwnPropertySymbols&&!a(function(){var n=Symbol();return!String(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),rl=x(function(e,t){var r=tl();t.exports=r&&!Symbol.sham&&k(Symbol.iterator)=="symbol"}),al=x(function(e,t){var r=el(),a=nr(),n=Im(),i=rl(),o=Object;t.exports=i?function(u){return k(u)=="symbol"}:function(u){var l=r("Symbol");return a(l)&&n(l.prototype,o(u))}}),Bm=x(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return"Object"}}}),nl=x(function(e,t){var r=nr(),a=Bm(),n=TypeError;t.exports=function(i){if(r(i))return i;throw n(a(i)+" is not a function")}}),qm=x(function(e,t){var r=nl(),a=Ju();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)}}),jm=x(function(e,t){var r=ii(),a=nr(),n=Ma(),i=TypeError;t.exports=function(o,u){var l,s;if(u==="string"&&a(l=o.toString)&&!n(s=r(l,o))||a(l=o.valueOf)&&!n(s=r(l,o))||u!=="string"&&a(l=o.toString)&&!n(s=r(l,o)))return s;throw i("Can't convert object to primitive value")}}),zm=x(function(e,t){t.exports=!0}),Vm=x(function(e,t){var r=rr(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0})}catch{r[n]=i}return i}}),Hm=x(function(e,t){var r=rr(),a=Vm(),n="__core-js_shared__",i=r[n]||a(n,{});t.exports=i}),$m=x(function(e,t){var r=zm(),a=Hm();(t.exports=function(n,i){return a[n]||(a[n]=i!==void 0?i:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Um=x(function(e,t){var r=Qu(),a=Object;t.exports=function(n){return a(r(n))}}),$r=x(function(e,t){var r=qt(),a=Um(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,u){return n(a(o),u)}}),Gm=x(function(e,t){var r=qt(),a=0,n=Math.random(),i=r(1 .toString);t.exports=function(o){return"Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)}}),Wm=x(function(e,t){var r=rr(),a=$m(),n=$r(),i=Gm(),o=tl(),u=rl(),l=a("wks"),s=r.Symbol,c=s&&s.for,d=u?s:s&&s.withoutSetter||i;t.exports=function(f){if(!n(l,f)||!(o||typeof l[f]=="string")){var p="Symbol."+f;o&&n(s,f)?l[f]=s[f]:u&&c?l[f]=c(p):l[f]=d(p)}return l[f]}}),Ym=x(function(e,t){var r=ii(),a=Ma(),n=al(),i=qm(),o=jm(),u=Wm(),l=TypeError,s=u("toPrimitive");t.exports=function(c,d){if(!a(c)||n(c))return c;var f=i(c,s),p;if(f){if(d===void 0&&(d="default"),p=r(f,c,d),!a(p)||n(p))return p;throw l("Can't convert object to primitive value")}return d===void 0&&(d="number"),o(c,d)}}),il=x(function(e,t){var r=Ym(),a=al();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""}}),Xm=x(function(e,t){var r=rr(),a=Ma(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}}}),ol=x(function(e,t){var r=wr(),a=ar(),n=Xm();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!=7})}),Km=x(function(e){var t=wr(),r=ii(),a=Ku(),n=Zu(),i=Oa(),o=il(),u=$r(),l=ol(),s=Object.getOwnPropertyDescriptor;e.f=t?s:function(d,f){if(d=i(d),f=o(f),l)try{return s(d,f)}catch{}if(u(d,f))return n(!r(a.f,d,f),d[f])}}),Zm=x(function(e,t){var r=ar(),a=nr(),n=/#|\.prototype\./,i=function(d,f){var p=u[o(d)];return p==s?!0:p==l?!1:a(f)?r(f):!!f},o=i.normalize=function(c){return String(c).replace(n,".").toLowerCase()},u=i.data={},l=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i}),Jm=x(function(e,t){var r=Yu(),a=nl(),n=Sa(),i=r(r.bind);t.exports=function(o,u){return a(o),u===void 0?o:n?i(o,u):function(){return o.apply(u,arguments)}}}),Qm=x(function(e,t){var r=wr(),a=ar();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),eh=x(function(e,t){var r=Ma(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw n(a(i)+" is not an object")}}),th=x(function(e){var t=wr(),r=ol(),a=Qm(),n=eh(),i=il(),o=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",d="writable";e.f=t?a?function(p,m,h){if(n(p),m=i(m),n(h),typeof p=="function"&&m==="prototype"&&"value"in h&&d in h&&!h[d]){var b=l(p,m);b&&b[d]&&(p[m]=h.value,h={configurable:c in h?h[c]:b[c],enumerable:s in h?h[s]:b[s],writable:!1})}return u(p,m,h)}:u:function(p,m,h){if(n(p),m=i(m),n(h),r)try{return u(p,m,h)}catch{}if("get"in h||"set"in h)throw o("Accessors not supported");return"value"in h&&(p[m]=h.value),p}}),rh=x(function(e,t){var r=wr(),a=th(),n=Zu();t.exports=r?function(i,o,u){return a.f(i,o,n(1,u))}:function(i,o,u){return i[o]=u,i}}),ul=x(function(e,t){var r=rr(),a=Mm(),n=Yu(),i=nr(),o=Km().f,u=Zm(),l=Na(),s=Jm(),c=rh(),d=$r(),f=function(m){var h=function b(v,g,D){if(this instanceof b){switch(arguments.length){case 0:return new m;case 1:return new m(v);case 2:return new m(v,g)}return new m(v,g,D)}return a(m,this,arguments)};return h.prototype=m.prototype,h};t.exports=function(p,m){var h=p.target,b=p.global,v=p.stat,g=p.proto,D=b?r:v?r[h]:(r[h]||{}).prototype,_=b?l:l[h]||c(l,h,{})[h],F=_.prototype,R,S,L,G,q,j,H,z,Z;for(G in m)R=u(b?G:h+(v?".":"#")+G,p.forced),S=!R&&D&&d(D,G),j=_[G],S&&(p.dontCallGetSet?(Z=o(D,G),H=Z&&Z.value):H=D[G]),q=S&&H?H:m[G],!(S&&k(j)==k(q))&&(p.bind&&S?z=s(q,r):p.wrap&&S?z=f(q):g&&i(q)?z=n(q):z=q,(p.sham||q&&q.sham||j&&j.sham)&&c(z,"sham",!0),c(_,G,z),g&&(L=h+"Prototype",d(l,L)||c(l,L,{}),c(l[L],G,q),p.real&&F&&!F[G]&&c(F,G,q)))}}),ah=x(function(){var e=ul(),t=$r();e({target:"Object",stat:!0},{hasOwn:t})}),nh=x(function(e,t){ah();var r=Na();t.exports=r.Object.hasOwn}),ih=x(function(e,t){var r=nh();t.exports=r}),oh=x(function(e,t){var r=ih();t.exports=r}),uh=x(function(e,t){var r=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return(o>0?a:r)(o)}}),ll=x(function(e,t){var r=uh();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)}}),lh=x(function(e,t){var r=ll(),a=Math.max,n=Math.min;t.exports=function(i,o){var u=r(i);return u<0?a(u+o,0):n(u,o)}}),sh=x(function(e,t){var r=ll(),a=Math.min;t.exports=function(n){return n>0?a(r(n),9007199254740991):0}}),ch=x(function(e,t){var r=sh();t.exports=function(a){return r(a.length)}}),dh=x(function(e,t){var r=Oa(),a=lh(),n=ch(),i=function(u){return function(l,s,c){var d=r(l),f=n(d),p=a(c,f),m;if(u&&s!=s){for(;f>p;)if(m=d[p++],m!=m)return!0}else for(;f>p;p++)if((u||p in d)&&d[p]===s)return u||p||0;return!u&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}}),fh=x(function(e,t){t.exports={}}),ph=x(function(e,t){var r=qt(),a=$r(),n=Oa(),i=dh().indexOf,o=fh(),u=r([].push);t.exports=function(l,s){var c=n(l),d=0,f=[],p;for(p in c)!a(o,p)&&a(c,p)&&u(f,p);for(;s.length>d;)a(c,p=s[d++])&&(~i(f,p)||u(f,p));return f}}),mh=x(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),hh=x(function(e,t){var r=ph(),a=mh();t.exports=Object.keys||function(i){return r(i,a)}}),vh=x(function(e,t){var r=wr(),a=qt(),n=hh(),i=Oa(),o=Ku().f,u=a(o),l=a([].push),s=function(d){return function(f){for(var p=i(f),m=n(p),h=m.length,b=0,v=[],g;h>b;)g=m[b++],(!r||u(p,g))&&l(v,d?[g,p[g]]:p[g]);return v}};t.exports={entries:s(!0),values:s(!1)}}),gh=x(function(){var e=ul(),t=vh().values;e({target:"Object",stat:!0},{values:function(a){return t(a)}})}),bh=x(function(e,t){gh();var r=Na();t.exports=r.Object.values}),yh=x(function(e,t){var r=bh();t.exports=r}),wh=x(function(e,t){var r=yh();t.exports=r}),sl=x(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":k(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{w.globalThis=function(){if(typeof self<"u")return self;if(typeof w<"u")return w;if(typeof Je<"u")return Je;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")}()}})(),r.encodeHTMLSource=function(u){var l={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},s=u?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(s,function(d){return l[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(u,l,s){return(typeof l=="string"?l:l.toString()).replace(u.define||n,function(c,d,f,p){return d.indexOf("def.")===0&&(d=d.substring(4)),d in s||(f===":"?(u.defineParams&&p.replace(u.defineParams,function(m,h,b){s[d]={arg:h,text:b}}),d in s||(s[d]=p)):new Function("def","def['"+d+"']="+p)(s)),""}).replace(u.use||n,function(c,d){u.useParams&&(d=d.replace(u.useParams,function(p,m,h,b){if(s[h]&&s[h].arg&&b){var v=(h+":"+b).replace(/'|\\/g,"_");return s.__exp=s.__exp||{},s.__exp[v]=s[h].text.replace(new RegExp("(^|[^\\w$])"+s[h].arg+"([^\\w$])","g"),"$1"+b+"$2"),m+"def.__exp['"+v+"']"}}));var f=new Function("def","return "+d)(s);return f&&i(u,f,s)})}function o(u){return u.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(u,l,s){l=l||r.templateSettings;var c=l.append?a.append:a.split,d,f=0,p,m=l.use||l.define?i(l,u,s||{}):u;m=("var out='"+(l.strip?m.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):m).replace(/'|\\/g,"\\$&").replace(l.interpolate||n,function(h,b){return c.start+o(b)+c.end}).replace(l.encode||n,function(h,b){return d=!0,c.startencode+o(b)+c.end}).replace(l.conditional||n,function(h,b,v){return b?v?"';}else if("+o(v)+"){out+='":"';}else{out+='":v?"';if("+o(v)+"){out+='":"';}out+='"}).replace(l.iterate||n,function(h,b,v,g){return b?(f+=1,p=g||"i"+f,b=o(b),"';var arr"+f+"="+b+";if(arr"+f+"){var "+v+","+p+"=-1,l"+f+"=arr"+f+".length-1;while("+p+"",sameOrigin:""};Dh.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;bt[t]=r,bt[t+"_PRIO"]=a,bt[t+"_GROUP"]=n,bt.results[a]=r,bt.resultGroups[a]=n,bt.resultGroupMap[r]=n}),Object.freeze(bt.results),Object.freeze(bt.resultGroups),Object.freeze(bt.resultGroupMap),Object.freeze(bt);var se=bt;function _h(){(typeof console>"u"?"undefined":k(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}var ir=_h,xh=/[\t\r\n\f]/g,Eh=function(){function e(){_t(this,e),this.parent=void 0}return xt(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(xh," ").indexOf(n)>=0}}]),e}(),Ve=Eh,oi={};vt(oi,{DqElement:function(){return Ot},aggregate:function(){return Ia},aggregateChecks:function(){return fl},aggregateNodeResults:function(){return pl},aggregateResult:function(){return ml},areStylesSet:function(){return Sh},assert:function(){return me},checkHelper:function(){return fi},clone:function(){return Mt},closest:function(){return nt},collectResultsFromFrames:function(){return Hl},contains:function(){return lr},convertSelector:function(){return za},cssParser:function(){return Cl},deepMerge:function(){return Ti},escapeSelector:function(){return Re},extendMetaData:function(){return Ri},filterHtmlAttrs:function(){return h1},finalizeRuleResult:function(){return Ur},findBy:function(){return Qr},getAllChecks:function(){return Ga},getAncestry:function(){return ja},getBaseLang:function(){return br},getCheckMessage:function(){return G2},getCheckOption:function(){return Nn},getEnvironmentData:function(){return Yt},getFlattenedTree:function(){return Lo},getFrameContexts:function(){return cw},getFriendlyUriEnd:function(){return gl},getNodeAttributes:function(){return La},getNodeFromTree:function(){return le},getPreloadConfig:function(){return d1},getRootNode:function(){return ea},getRule:function(){return Kd},getScroll:function(){return Pt},getScrollState:function(){return pw},getSelector:function(){return di},getSelectorData:function(){return qa},getShadowSelector:function(){return li},getStandards:function(){return mw},getStyleSheetFactory:function(){return Qd},getXpath:function(){return xl},injectStyle:function(){return gw},isHidden:function(){return bw},isHtmlElement:function(){return $o},isNodeInContext:function(){return Uo},isShadowRoot:function(){return Ya},isValidLang:function(){return Bn},isXHTML:function(){return Ba},matchAncestry:function(){return Go},matches:function(){return mi},matchesExpression:function(){return _r},matchesSelector:function(){return Dr},memoize:function(){return Le},mergeResults:function(){return Wa},nodeLookup:function(){return De},nodeSerializer:function(){return ft},nodeSorter:function(){return Wo},parseCrossOriginStylesheet:function(){return Xo},parseSameOriginStylesheet:function(){return r1},parseStylesheet:function(){return Yo},performanceTimer:function(){return Be},pollyfillElementsFromPoint:function(){return a1},preload:function(){return s1},preloadCssom:function(){return i1},preloadMedia:function(){return l1},processMessage:function(){return zo},publishMetaData:function(){return Pn},querySelectorAll:function(){return ct},querySelectorAllFilter:function(){return kt},queue:function(){return Et},respondable:function(){return yt},ruleShouldRun:function(){return m1},select:function(){return Ko},sendCommandToFrame:function(){return ql},setScrollState:function(){return Xw},shadowSelect:function(){return Kw},shadowSelectAll:function(){return Zo},shouldPreload:function(){return c1},toArray:function(){return vl},tokenList:function(){return Ye},uniqueArray:function(){return ya},uuid:function(){return Dv},validInputTypes:function(){return Ln},validLangs:function(){return w1}});function Ch(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 Ia=Ch,Ah=se.CANTTELL_PRIO,Fh=se.FAIL_PRIO,Pa=[];Pa[se.PASS_PRIO]=!0,Pa[se.CANTTELL_PRIO]=null,Pa[se.FAIL_PRIO]=!1;var cl=["any","all","none"];function dl(e,t){return cl.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function Th(e){var t=Object.assign({},e);dl(t,function(n,i){var o=typeof n.result>"u"?-1:Pa.indexOf(n.result);n.priority=o!==-1?o:se.CANTTELL_PRIO,i==="none"&&(n.priority===se.PASS_PRIO?n.priority=se.FAIL_PRIO:n.priority===se.FAIL_PRIO&&(n.priority=se.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 cl.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)})}),[Ah,Fh].includes(t.priority)?t.impact=Ia(se.impact,a):t.impact=null,dl(t,function(n){delete n.result,delete n.priority}),t.result=se.results[t.priority],delete t.priority,t}var fl=Th;function Ur(e){var t=y._audit.rules.find(function(r){var a=r.id;return a===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,pl(e.nodes)),delete e.nodes,e}function Rh(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return fl(i);if(Array.isArray(i.node))return Ur(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Ia(se.results,r,t.result)}else t.result="inapplicable";se.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=se.resultGroupMap[i.result];t[o].push(i)});var a=se.FAIL_GROUP;if(t[a].length===0&&(a=se.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=Ia(se.impact,n)||null}else t.impact=null;return t}var pl=Rh;function ui(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),se.resultGroups.forEach(function(n){delete a[n]}),e[r].push(a)}function kh(e){var t={};return se.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?ui(t,r,se.CANTTELL_GROUP):r.result===se.NA?ui(t,r,se.NA_GROUP):se.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&ui(t,r,a)})}),t}var ml=kh;function hl(e,t,r){var a=w.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 Re=Nh;function Ih(){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 Gr(e,t){return[e.substring(0,t),e.substring(t)]}function Wr(e){return e.replace(/\s+$/,"")}function Ph(e){var t=e,r="",a="",n="",i="",o="",u="";if(e.includes("#")){var l=Gr(e,e.indexOf("#")),s=V(l,2);e=s[0],u=s[1]}if(e.includes("?")){var c=Gr(e,e.indexOf("?")),d=V(c,2);e=d[0],o=d[1]}if(e.includes("://")){var f=e.split("://"),p=V(f,2);r=p[0],e=p[1];var m=Gr(e,e.indexOf("/")),h=V(m,2);a=h[0],e=h[1]}else if(e.substr(0,2)==="//"){e=e.substr(2);var b=Gr(e,e.indexOf("/")),v=V(b,2);a=v[0],e=v[1]}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var g=Gr(a,a.indexOf(":")),D=V(g,2);a=D[0],n=D[1]}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:u}}function Lh(){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=Ph(e),o=i.path,u=i.domain,l=i.hash,s=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(l)return s&&(s+l).length<=n?Wr(s+l):s.length<2&&l.length>2&&l.length<=n?Wr(l):void 0;if(u&&u.length1)&&(c!==-1||s.length>2)&&s.length<=n&&!s.match(/index(\.[a-zA-Z]{2-4})?/)&&!Ih(s))return Wr(s)}}var gl=Lh;function Bh(e){return e.attributes instanceof w.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes}var La=Bh,qh=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()||M;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){return e(i.elm,r,i.doc)})}var Hh=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],$h=31,Uh=/([\\"])/g,Gh=/(\r\n|\r|\n)/g;function si(e){return e.replace(Uh,"\\$1").replace(Gh,"\\a ")}function bl(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=gl(e.getAttribute(r));n?a=Re(t.name)+'$="'+si(n)+'"':a=Re(t.name)+'="'+si(e.getAttribute(r))+'"'}else a=Re(r)+'="'+si(t.value)+'"';return a}function ci(e,t){return e.count "+i:i=u,o?o=o.filter(function(l){return Dr(l,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 di(e,t){return li(Jh,e,t)}function Dl(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 Dl(r)+" > "+t+a}function ja(e,t){return li(Dl,e,t)}function _l(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=_l(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&&Re(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 Qh(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 ev(e){var t=_l(e);return Qh(t)}var xl=ev,Yr={},tv={set:function(t,r){rv(t),Yr[t]=r},get:function(t,r){if(av(r),t in Yr)return Yr[t];if(typeof r=="function"){var a=r();return me(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),Yr[t]}},clear:function(){Yr={}}};function rv(e){me(typeof e=="string","key must be a string, "+k(e)+" given"),me(e!=="","key must not be empty")}function av(e){me(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+k(e)+" given")}var ue=tv;function nv(e,t){var r=t||e;return ue.get("nodeMap")?ue.get("nodeMap").get(r):null}var le=nv,El="DqElm.RunOptions";function iv(e,t){if(t=t||300,e.length>t){var r=e.indexOf(">");e=e.substring(0,r+1)}return e}function ov(e){if(!(e!=null&&e.outerHTML))return"";var t=e.outerHTML;return!t&&typeof w.XMLSerializer=="function"&&(t=new w.XMLSerializer().serializeToString(e)),iv(t||"")}function or(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!a){var i;a=(i=ue.get(El))!==null&&i!==void 0?i:{}}if(this.spec=n,e instanceof Ve?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=le(e)),this.fromFrame=((t=this.spec.selector)===null||t===void 0?void 0:t.length)>1,this._includeElementInJson=a.elementRef,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,!y._audit.noHtml){var o;this.source=(o=this.spec.source)!==null&&o!==void 0?o:ov(this._element)}}or.prototype={get selector(){return this.spec.selector||[di(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[ja(this.element)]},get xpath(){return this.spec.xpath||[xl(this.element)]},get element(){return this._element},toJSON:function(){var t={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(t.element=this._element),t}},or.fromFrame=function(t,r,a){var n=or.mergeSpecs(t,a);return new or(a.element,r,n)},or.mergeSpecs=function(t,r){return fe({},t,{selector:[].concat(re(r.selector),re(t.selector)),ancestry:[].concat(re(r.ancestry),re(t.ancestry)),xpath:[].concat(re(r.xpath),re(t.xpath)),nodeIndexes:[].concat(re(r.nodeIndexes),re(t.nodeIndexes)),fromFrame:!0})},or.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;ue.set(El,{elementRef:r,absolutePaths:a})};var Ot=or;function uv(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){w.Node&&(i instanceof w.Node||i instanceof Ve?i=[i]:i=vl(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Ve&&(o=o.actualNode),o instanceof w.Node){var u=new Ot(o);e.relatedNodes.push(u)}}))}}}var fi=uv;function Mt(e){return pi(e,new Map)}function pi(e,t){var r,a;if(e===null||k(e)!=="object"||(r=w)!==null&&r!==void 0&&r.Node&&e instanceof w.Node||(a=w)!==null&&a!==void 0&&a.HTMLCollection&&e instanceof w.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var n=[];return t.set(e,n),e.forEach(function(u){n.push(pi(u,t))}),n}var i={};t.set(e,i);for(var o in e)i[o]=pi(e[o],t);return i}var lv=gt(Gu()),Xr=new lv.CssSelectorParser;Xr.registerSelectorPseudos("not"),Xr.registerSelectorPseudos("is"),Xr.registerNestingOperators(">"),Xr.registerAttrEqualityMods("^","$","*","~");var Cl=Xr;function mi(e,t){var r=za(t);return r.some(function(a){return _r(e,a)})}function sv(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function cv(e,t){return!t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function dv(e,t){return!t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function fv(e,t){return!t.id||e.props.id===t.id}function pv(e,t){return!!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return!r.expressions.some(function(a){return _r(e,a)});if(r.name==="is")return r.expressions.some(function(a){return _r(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Al(e,t){return sv(e,t)&&cv(e,t)&&dv(e,t)&&fv(e,t)&&pv(e,t)}var Kr=function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}}(),hi=/\\/g;function mv(e){if(e)return e.map(function(t){var r=t.name.replace(hi,""),a=(t.value||"").replace(hi,""),n,i;switch(t.operator){case"^=":i=new RegExp("^"+Kr(a));break;case"$=":i=new RegExp(Kr(a)+"$");break;case"~=":i=new RegExp("(^|\\s)"+Kr(a)+"(\\s|$)");break;case"|=":i=new RegExp("^"+Kr(a)+"(-|$)");break;case"=":n=function(u){return a===u};break;case"*=":n=function(u){return u&&u.includes(a)};break;case"!=":n=function(u){return a!==u};break;default:n=function(u){return u!==null}}return a===""&&/^[*$^]=$/.test(t.operator)&&(n=function(){return!1}),n||(n=function(u){return u&&i.test(u)}),{key:r,value:a,type:typeof t.value>"u"?"attrExist":"attrValue",test:n}})}function hv(e){if(e)return e.map(function(t){return t=t.replace(hi,""),{value:t,regexp:new RegExp("(^|\\s)"+Kr(t)+"(\\s|$)")}})}function vv(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=Fl(r)),{name:t.name,expressions:r,value:t.value}})}function Fl(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:mv(a.attrs),classes:hv(a.classNames),pseudos:vv(a.pseudos)}),a=a.rule;return r})}function za(e){var t=Cl.parse(e);return t=t.selectors?t.selectors:[t],Fl(t)}function Tl(e,t,r,a){if(!e)return!1;for(var n=Array.isArray(t),i=n?t[r]:t,o=Al(e,i);!o&&a&&e.parent;)e=e.parent,o=Al(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&&Tl(e.parent,t,r-1,i.combinator===" ")}return o}function _r(e,t,r){return Tl(e,t,t.length-1,r)}function gv(e,t){for(;e;){if(mi(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 nt=gv;function Va(){}function vi(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function bv(){var e=[],t=0,r=0,a=Va,n=!1,i,o=function(p){i=p,setTimeout(function(){i!=null&&ir("Uncaught error (of queue)",i)},1)},u=o;function l(f){return function(p){e[f]=p,r-=1,!r&&a!==Va&&(n=!0,a(e))}}function s(f){return a=Va,u(f),e}function c(){for(var f=e.length;t>>((t&3)<<3)&255;return yi});for(var yi,Rl=typeof w.Buffer=="function"?w.Buffer:Array,wi=[],kl={},Cr=0;Cr<256;Cr++)wi[Cr]=(Cr+256).toString(16).substr(1),kl[wi[Cr]]=Cr;function yv(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++]=kl[i])});n<16;)t[a+n++]=0;return t}function Di(e,t){var r=t||0,a=wi;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 jt=Er(),wv=[jt[0]|1,jt[1],jt[2],jt[3],jt[4],jt[5]],Sl=(jt[6]<<8|jt[7])&16383,_i=0,xi=0;function Ol(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Sl,o=e.msecs!=null?e.msecs:new Date().getTime(),u=e.nsecs!=null?e.nsecs:xi+1,l=o-_i+(u-xi)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>_i)&&e.nsecs==null&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_i=o,xi=u,Sl=i,o+=122192928e5;var s=((o&268435455)*1e4+u)%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||wv,f=0;f<6;f++)n[a+f]=d[f];return t||Di(n)}function ur(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Rl(16):null,e=null),e=e||{};var n=e.random||(e.rng||Er)();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||Di(n)}xr=ur,xr.v1=Ol,xr.v4=ur,xr.parse=yv,xr.unparse=Di,xr.BufferClass=Rl,y._uuid=Ol();var Dv=ur,_v=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function xv(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:Ml()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function Ev(e){var t;try{t=JSON.parse(e)}catch{return}if(Cv(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,u=k(t.error)==="object"?Av(t.error):t.payload;return{topic:a,message:u,messageId:i,channelId:n,keepalive:!!o}}}function Cv(e){return e!==null&&k(e)==="object"&&typeof e.channelId=="string"&&e.source===Ml()}function Av(e){var t=e.message||"Unknown error occurred",r=_v.includes(e.name)?e.name:"Error",a=w[r]||Error;return e.stack&&(t+=` +`+e.stack.replace(e.message,"")),new a(t)}function Ml(){var e="axeAPI",t="";return typeof y<"u"&&y._audit&&y._audit.application&&(e=y._audit.application),typeof y<"u"&&(t=y.version),e+"."+t}function Ei(e){Il(e),me(w.parent===e,"Source of the response must be the parent window.")}function Nl(e){Il(e),me(e.parent===w,"Respondable target must be a frame in the current window")}function Il(e){me(w!==e,"Messages can not be sent to the same window.")}var Ha={};function Fv(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;me(!Ha[e],"A replyHandler already exists for this message channel."),Ha[e]={replyHandler:t,sendToParent:r}}function Tv(e){return Ha[e]}function Rv(e){delete Ha[e]}var $a=[];function Ci(){var e="".concat(ur(),":").concat(ur());return $a.includes(e)?Ci():($a.push(e),e)}function kv(e){return $a.includes(e)?!1:($a.push(e),!0)}function Ai(e,t,r,a){if(r?Ei(e):Nl(e),t.message instanceof Error&&!r)return y.log(t.message),!1;var n=xv(fe({messageId:Ci()},t)),i=y._audit.allowedOrigins;return!i||!i.length?!1:(typeof a=="function"&&Fv(t.channelId,a,r),i.forEach(function(o){try{e.postMessage(n,o)}catch(u){throw u instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):u}}),!0)}function Sv(e,t,r){if(!e.parent!==w)return y.log(t);try{Ai(e,{topic:null,channelId:r,message:t,messageId:Ci(),keepalive:!0},!0)}catch(a){return y.log(a)}}function Pl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return function(n,i,o){var u={channelId:t,message:n,keepalive:i};Ai(e,u,r,o)}}function Ov(e){var t=y._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Mv(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=Ev(a)||{},o=i.channelId,u=i.message,l=i.messageId;if(!Ov(r)||!kv(l))return;if(u instanceof Error&&n.parent!==w)return y.log(u),!1;try{if(i.topic){var s=Pl(n,o);Ei(n),t(i,s)}else Nv(n,i)}catch(c){Sv(n,c,o)}}catch(c){return y.log(c),!1}}function Nv(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=Tv(r)||{},o=i.replyHandler,u=i.sendToParent;if(o){u?Ei(e):Nl(e);var l=Pl(e,r,u);!n&&r&&Rv(r);try{o(a,n,l)}catch(s){y.log(s),l(s,n)}}}var Iv={open:function(t){if(typeof w.addEventListener=="function"){var r=function(n){Mv(n,t)};return w.addEventListener("message",r,!1),function(){w.removeEventListener("message",r,!1)}}},post:function(t,r,a){return typeof w.addEventListener!="function"?!1:Ai(t,r,!1,a)}};function Ll(e){e.updateMessenger(Iv)}var Ua,Bl,Fi={};function yt(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(ur(),":").concat(ur()),keepalive:a};return Bl(e,i,n)}function Pv(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=Fi[r];if(i)try{i(a,n,t)}catch(o){y.log(o),t(o,n)}}yt.updateMessenger=function(t){var r=t.open,a=t.post;me(typeof r=="function","open callback must be a function"),me(typeof a=="function","post callback must be a function"),Ua&&Ua();var n=r(Pv);n?(me(typeof n=="function","open callback must return a cleanup function"),Ua=n):Ua=null,Bl=a},yt.subscribe=function(t,r){me(typeof r=="function","Subscriber callback must be a function"),me(!Fi[t],"Topic ".concat(t," is already registered to.")),Fi[t]=r},yt.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:w;return!!t.frameElement},Ll(yt);function ql(e,t,r,a){var n,i,o=e.contentWindow,u=(n=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&n!==void 0?n:500;if(!o){ir("Frame does not have a content window",e),r(null);return}if(u===0){jl(e,t,r,a);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?a(zl("No response from frame",e)):r(null)},0)},u);yt(o,"axe.ping",null,void 0,function(){clearTimeout(l),jl(e,t,r,a)})}function jl(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,u=e.contentWindow,l=setTimeout(function(){a(zl("Axe in frame timed out",e))},o);yt(u,"axe.start",t,void 0,function(s){clearTimeout(l),s instanceof Error?a(s):r(s)})}function zl(e,t){var r;return y._tree&&(r=di(t)),new Error(e+": "+(r||t))}var Zr=null,Jr={update:function(t){me(k(t)==="object","serializer must be an object"),Zr=t},toSpec:function(t){return Jr.dqElmToSpec(new Ot(t))},dqElmToSpec:function(t,r){var a;return t instanceof Ot?(r&&(t=Lv(t,r)),typeof((a=Zr)===null||a===void 0?void 0:a.toSpec)=="function"?Zr.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=Zr)===null||a===void 0?void 0:a.mergeSpecs)=="function"?Zr.mergeSpecs(t,r):Ot.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return fe({},r,{nodes:Jr.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t==null?void 0:t.map(function(r){var a=r.node,n=Pe(r,Hf);n.node=Jr.dqElmToSpec(a);for(var i=0,o=["any","all","none"];i0||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 Wl=Le(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(Wl(t.parent))}),Xa=Wl,Jv=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Qv=/(\w+)\((\d+)/;function Yl(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Xl(e){return e.props.nodeName==="area"?!1:e.getComputedStylePropertyValue("display")==="none"}function Kl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return!r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Zl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return!!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Jl(e){return e.attr("aria-hidden")==="true"}function Ql(e){return e.getComputedStylePropertyValue("opacity")==="0"}function es(e){var t=Pt(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(r===0||a===0)}function ts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return!1;var a=e.boundingClientRect,n=Xa(e);return n.length?n.some(function(i){var o=i.boundingClientRect;return o.width<2||o.height<2?!0:!Gl(a,o)}):!1}function rs(e){var t=e.getComputedStylePropertyValue("clip").match(Jv),r=e.getComputedStylePropertyValue("clip-path").match(Qv);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 Si(e,t){var r=nt(e,"map");if(!r)return!0;var a=r.attr("name");if(!a)return!0;var n=ea(e.actualNode);if(!n||n.nodeType!==9)return!0;var i=ct(y._tree,'img[usemap="#'.concat(Re(a),'"]'));return!i||!i.length?!0:i.some(function(o){return!t(o)})}function as(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 eg=[Xl,Kl,Zl,as];function zt(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=De(e).vNode,r?ns(e,n):is(e,n)}var ns=Le(function(t,r){return Yl(t)?!0:t.actualNode?!!(eg.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):!1}),is=Le(function(t,r){return ns(t,r)?!0:t.parent?is(t.parent,!0):!1});function os(e){if(e.assignedSlot)return os(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var He=os;function tg(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 us=tg;function rg(e){var t=us(M),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 Oi=rg;function ag(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 Ka=ag;function ng(e,t){for(e=He(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return!1;e=He(e)}return!0}function ig(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return!1;var a=De(e),n=a.domNode;if(n){var i,o=M.documentElement,u=w.getComputedStyle(n),l=w.getComputedStyle(M.body||o).getPropertyValue("direction"),s=Oi(n);if(s.bottom<0&&(ng(n,s.bottom)||u.position==="absolute"))return!0;if(s.left===0&&s.right===0)return!1;if(l==="ltr"){if(s.right<=0)return!0}else if(i=Math.max(o.scrollWidth,Ka(w).width),s.left>=i)return!0;return!1}}var Za=ig,og=[Ql,es,ts,rs,Za];function it(e){return e=De(e).vNode,Mi(e)}var Mi=Le(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Si(t,Mi):zt(t,{skipAncestors:!0,isAncestor:r})||t.actualNode&&og.some(function(a){return a(t,{isAncestor:r})})?!1:t.parent?Mi(t.parent,!0):!0});function Ja(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 w.DOMRect(i,r,a-i,n-r)}function Qa(e,t){var r=e.x,a=e.y,n=t.top,i=t.right,o=t.bottom,u=t.left;return a>=n&&r<=i&&a<=o&&r>=u}var ls={};vt(ls,{getBoundingRect:function(){return Ja},getIntersectionRect:function(){return en},getOffset:function(){return cs},getRectCenter:function(){return ta},hasVisualOverlap:function(){return Ni},isPointInRect:function(){return Qa},rectHasMinimumSize:function(){return sr},rectsOverlap:function(){return Gl},splitRects:function(){return Ii}});function en(e,t){var r=Math.max(e.left,t.left),a=Math.min(e.right,t.right),n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=a||n>=i?null:new w.DOMRect(r,n,a-r,i-n)}function ta(e){var t=e.left,r=e.top,a=e.width,n=e.height;return new w.DOMPoint(t+a/2,r+n/2)}var ss=.05;function sr(e,t){var r=t.width,a=t.height;return r+ss>=e&&a+ss>=e}function cs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=nn(e),n=nn(t);if(!a.length||!n.length)return 0;var i=a.reduce(Ja),o=ta(i),u=1/0,l=Ae(n),s;try{for(l.s();!(s=l.n()).done;){var c=s.value;if(Qa(o,c))return 0;var d=ug(o,c),f=ds(o,d);u=Math.min(u,f)}}catch(v){l.e(v)}finally{l.f()}var p=Fs(t);if(sr(r*2,p))return u;var m=n.reduce(Ja),h=ta(m),b=ds(o,h)-r;return Math.max(0,Math.min(u,b))}function ug(e,t){var r,a;return e.xt.right?r=t.right:r=e.x,e.yt.bottom?a=t.bottom:a=e.y,{x:r,y:a}}function ds(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Ni(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.left>=a.right||r.right<=a.left||r.top>=a.bottom||r.bottom<=a.top?!1:Vi(e,t)>0}function Ii(e,t){var r=[e],a=Ae(t),n;try{var i=function(){var u=n.value;r=r.reduce(function(l,s){return l.concat(lg(s,u))},[])};for(a.s();!(n=a.n()).done;)i()}catch(o){a.e(o)}finally{a.f()}return r}function lg(e,t){var r=e.top,a=e.left,n=e.bottom,i=e.right,o=rt.top,u=at.left,l=[];if(tn(t.top,r,n)&&u&&l.push({top:r,left:a,bottom:t.top,right:i}),tn(t.right,a,i)&&o&&l.push({top:r,left:t.right,bottom:n,right:i}),tn(t.bottom,r,n)&&u&&l.push({top:t.bottom,right:i,bottom:n,left:a}),tn(t.left,a,i)&&o&&l.push({top:r,left:a,bottom:n,right:t.left}),l.length===0){if(cg(e,t))return[];l.push(e)}return l.map(sg)}var tn=function(t,r,a){return t>r&&t=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var fs=0,dg=.1,ps=.2,ms=.3,Pi=0;function cr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:M.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(ue.get("gridCreated")&&!r)return se.gridSize;if(ue.set("gridCreated",!0),!r){var a,n=le(M.documentElement);if(n||(n=new No(M.documentElement)),Pi=0,n._stackingOrder=[gs(fs,Pi++,null)],(a=t)!==null&&a!==void 0||(t=new Li),bs(t,n),Pt(n.actualNode)){var i=new Li(n);n._subGrid=i}}for(var o=M.createTreeWalker(e,w.NodeFilter.SHOW_ELEMENT,null,!1),u=r?o.nextNode():o.currentNode;u;){var l=le(u);l&&l.parent?r=l.parent:u.assignedSlot?r=le(u.assignedSlot):u.parentElement?r=le(u.parentElement):u.parentNode&&le(u.parentNode)&&(r=le(u.parentNode)),l||(l=new y.VirtualNode(u,r)),l._stackingOrder=fg(l,r,Pi++);var s=hg(l,r),c=s?s._subGrid:t;if(Pt(l.actualNode)){var d=new Li(l);l._subGrid=d}var f=l.boundingClientRect;f.width!==0&&f.height!==0&&it(u)&&bs(c,l),Ya(u)&&cr(u.shadowRoot,c,l),u=o.nextNode()}return se.gridSize}function hs(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 u=e.getComputedStylePropertyValue("perspective");if(u&&u!=="none")return!0;var l=e.getComputedStylePropertyValue("clip-path");if(l&&l!=="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");return!!(["layout","paint","strict","content"].includes(p)||a!=="auto"&&vs(t))}function vs(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function fg(e,t,r){var a=t._stackingOrder.slice();if(hs(e,t)){var n=a.findIndex(function(o){var u=o.stackLevel;return[fs,ps,ms].includes(u)});n!==-1&&a.splice(n,a.length-n)}var i=pg(e,t);return i!==null&&a.push(gs(i,r,e)),a}function gs(e,t,r){return{stackLevel:e,treeOrder:t,vNode:r}}function pg(e,t){var r=mg(e,t);return["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?ms:e.getComputedStylePropertyValue("float")!=="none"?ps:hs(e,t)?dg:null:parseInt(r)}function mg(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!vs(t)?"auto":e.getComputedStylePropertyValue("z-index")}function hg(e,t){for(var r=null,a=[e];t;){if(Pt(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=le(t.actualNode.parentElement||t.actualNode.parentNode)}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function bs(e,t){var r=Xa(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(u,l){return u&&en(u,l.boundingClientRect)},a);if(i){(n=t._grid)!==null&&n!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(u){u.includes(t)||u.push(t)})}})}var Li=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;_t(this,e),this.container=t,this.cells=[]}return xt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/se.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;me(this.boundaries,"Grid does not have cells added");var u=this.toGridIndex(o),l=this.toGridIndex(i);me(Qa({y:u,x:l},this.boundaries),"Element midpoint exceeds the grid bounds");var s=(a=this.cells[u-this.cells._negativeIndex])!==null&&a!==void 0?a:[];return(n=s[l-s._negativeIndex])!==null&&n!==void 0?n:[]}},{key:"loopGridPosition",value:function(r,a){var n=r,i=n.left,o=n.right,u=n.top,l=n.bottom;this.boundaries&&(r=Ja(this.boundaries,r)),this.boundaries=r,ys(this.cells,u,l,function(s,c){ys(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,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return a=this.toGridIndex(a-u),n=this.toGridIndex(n+u-1),i=this.toGridIndex(i+u-1),o=this.toGridIndex(o-u),new w.DOMRect(o,a,n-o,i-a)}}]),e}();function ys(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(cr(),!((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=Bi(e),u=i.getGridPositionOfRect(n,a),l=[];return i.loopGridPosition(u,function(s){var c=Ae(s),d;try{for(c.s();!(d=c.n()).done;){var f=d.value;f&&f!==e&&!l.includes(f)&&o===Bi(f)&&l.push(f)}}catch(p){c.e(p)}finally{c.f()}}),l}var Bi=Le(function(e){return e?e.getComputedStylePropertyValue("position")==="fixed"?!0:Bi(e.parent):!1}),vg=Le(function(){var t;if(!y._tree)return null;var r=kt(y._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=M.elementsFromPoint(i.left+1,i.top+1);return o.includes(n.actualNode)&&it(n)});if(!r.length)return null;var a=r.find(function(n){var i=n.boundingClientRect,o=M.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=gg(n))!==null&&i!==void 0?i:{},u=o.vNode,l=o.rect;if(!u)return!1;var s=M.elementsFromPoint(l.left+1,l.top+1);return!s.includes(u.actualNode)}))!==null&&t!==void 0?t:null)}),ws=vg;function gg(e){cr();var t=y._tree[0]._grid,r=new w.DOMRect(0,0,w.innerWidth,w.innerHeight);if(t)for(var a=0;a1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?Ds(e,a):_s(e,a)}var Ds=Le(function(t,r){if(t.hasAttr("inert"))return!0;if(!r&&t.actualNode){var a=ws();if(a&&!lr(a,t))return!0}return!1}),_s=Le(function(t,r){return Ds(t,r)?!0:t.parent?_s(t.parent,!0):!1}),bg=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function yg(e){return bg.includes(e)}function wg(e){var t=De(e),r=t.vNode;if(yg(r.props.nodeName)&&r.hasAttr("disabled")||an(r))return!0;for(var a=r.parent,n=[],i=!1;a&&a.shadowId===r.shadowId&&!i&&(n.push(a),a.props.nodeName!=="legend");){if(a._inDisabledFieldset!==void 0){i=a._inDisabledFieldset;break}a.props.nodeName==="fieldset"&&a.hasAttr("disabled")&&(i=!0),a=a.parent}return n.forEach(function(o){return o._inDisabledFieldset=i}),i?!0:r.props.nodeName!=="area"&&r.actualNode?zt(r):!1}var qi=wg,Dg=/^\/\#/,_g=/^#[!/]/;function ji(e){var t,r=e.getAttribute("href");if(!r||r==="#")return!1;if(Dg.test(r))return!0;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,u=e.pathname;if(_g.test(a))return!1;if(r.charAt(0)==="#")return!0;if(typeof((t=w.location)===null||t===void 0?void 0:t.origin)!="string"||w.location.origin.indexOf("://")===-1)return null;var l=w.location.origin+w.location.pathname,s;return i?s="".concat(n,"//").concat(i).concat(o?":".concat(o):""):s=w.location.origin,u?s+=(u[0]!=="/"?"/":"")+u:s+=w.location.pathname,s===l}function xg(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!ji(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=M.getElementById(r);return a||(a=M.getElementsByName(r),a.length?a[0]:null)}var zi=xg;function Vi(e,t){cr();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].stackLevel>e._stackingOrder[a].stackLevel)return 1;if(t._stackingOrder[a].stackLevel2&&arguments[2]!==void 0?arguments[2]:!1,a=ta(t),n=e.getCellFromPoint(a)||[],i=Math.floor(a.x),o=Math.floor(a.y),u=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)})}),l=e.container;return l&&(u=Hi(l._grid,l.boundingClientRect,!0).concat(u)),r||(u=u.sort(Vi).map(function(s){return s.actualNode}).concat(M.documentElement).filter(function(s,c,d){return d.indexOf(s)===c})),u}function Eg(e){cr();var t=le(e),r=t._grid;return r?Hi(r,t.boundingClientRect):[]}var Cs=Eg;function Cg(e){var t=ct(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 As=Cg;function Ag(e){var t=De(e),r=t.vNode;if(!r||qi(r))return!1;switch(r.props.nodeName){case"a":case"area":if(r.hasAttr("href"))return!0;break;case"input":return r.props.type!=="hidden";case"textarea":case"select":case"summary":case"button":return!0;case"details":return!ct(r,"summary").length}return!1}var $i=Ag;function ke(e){var t=De(e),r=t.vNode;if(r.props.nodeType!==1||qi(r))return!1;if($i(r))return!0;var a=r.attr("tabindex");return!!(a&&!isNaN(parseInt(a,10)))}function wt(e){var t=De(e),r=t.vNode;if(r.props.nodeType!==1)return!1;var a=parseInt(r.attr("tabindex",10));return a<=-1?!1:ke(r)}var nn=Le(Fg);function Fg(e){var t=e.boundingClientRect,r=rn(e).filter(function(n){return Ni(e,n)&&n.getComputedStylePropertyValue("pointer-events")!=="none"&&!Tg(e,n)});if(!r.length)return[t];var a=r.map(function(n){var i=n.boundingClientRect;return i});return Ii(t,a)}function Tg(e,t){return e.actualNode.contains(t.actualNode)&&!wt(t)}var Fs=Le(Rg);function Rg(e,t){var r=nn(e);return kg(r,t)}function kg(e,t){return e.reduce(function(r,a){var n=sr(t,r),i=sr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,u=a.width*a.height;return o>u?r:a})}var ra={};vt(ra,{accessibleText:function(){return dr},accessibleTextVirtual:function(){return $e},autocomplete:function(){return hr},formControlValue:function(){return nc},formControlValueMethods:function(){return Zi},hasUnicode:function(){return to},isHumanInterpretable:function(){return ao},isIconLigature:function(){return ro},isValidAutocomplete:function(){return dc},label:function(){return ry},labelText:function(){return Ji},labelVirtual:function(){return cn},nativeElementType:function(){return ny},nativeTextAlternative:function(){return oc},nativeTextMethods:function(){return ic},removeUnicode:function(){return ua},sanitize:function(){return ae},subtreeText:function(){return Vt},titleText:function(){return un},unsupported:function(){return Ys},visible:function(){return fc},visibleTextNodes:function(){return iy},visibleVirtual:function(){return Ft}});function Sg(e,t){e=e.actualNode||e;try{var r=We(e),a=[],n=e.getAttribute(t);if(n){n=Ye(n);for(var i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=De(e),a=r.vNode;if((a==null?void 0:a.props.nodeType)!==1||a.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!a.attr("aria-labelledby"))return"";var n=Ct(a,"aria-labelledby").filter(function(i){return i});return n.reduce(function(i,o){var u=dr(o,fe({inLabelledByContext:!0,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(u):u},"")}var aa=Mg;function na(e){var t=De(e),r=t.vNode;return(r==null?void 0:r.props.nodeType)!==1?"":r.attr("aria-label")||""}var Ng={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},Ts=Ng,Ig={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-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"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-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"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-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"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"]}},Rs=Ig,Pg={"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"]}},Lg=Pg,Bg={"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}},qg=Bg,jg={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","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,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["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","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},zg=jg,Vg={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]},Hg=Vg,ks={ariaAttrs:Ts,ariaRoles:fe({},Rs,Lg,qg),htmlElms:zg,cssColors:Hg},Tr=fe({},ks);function $g(e){Object.keys(Tr).forEach(function(t){e[t]&&(Tr[t]=Ti(Tr[t],e[t]))})}function Ug(){Object.keys(Tr).forEach(function(e){Tr[e]=ks[e]})}var he=Tr;function Gg(e){var t=he.ariaRoles[e];return t?!!t.unsupported:!1}var Ui=Gg;function Wg(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=he.ariaRoles[e],o=Ui(e);return!i||n&&o?!1:r?!0:i.type!=="abstract"}var Rr=Wg;function Yg(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 Ve?e:le(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Ye(i):[i],u=o.find(function(l){return!n&&l.substr(0,4)==="doc-"?!1:Rr(l,{allowAbstract:a})});return u||null}var xe=Yg;function Xg(e){return Object.keys(he.htmlElms).filter(function(t){var r=he.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 Gi=Xg;function Kg(){return ue.get("globalAriaAttrs",function(){return Object.keys(he.ariaAttrs).filter(function(e){return he.ariaAttrs[e].global})})}var fr=Kg;function Zg(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=nt(t,"table"),a=xe(r);return["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(kr(t))return"columnheader";if(Sr(t))return"rowheader"},thead:"rowgroup",tr:"row",ul:"list"},Yi=rb;function ab(e,t){var r=k(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 pr=ab;function nb(e,t){return pr(!!$e(e),t)}var Ms=nb;function ib(e,t){var r=k(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 pr(e(a),t[a])})}var Xi=ib;function ob(e,t){return e=De(e).vNode,Xi(function(r){return e.attr(r)},t)}var Ns=ob;function Is(e,t){return!!t(e)}function ub(e,t){return pr(xe(e),t)}var Ps=ub;function lb(e,t){return pr(At(e),t)}var Ls=lb;function sb(e,t){return e=De(e).vNode,pr(e.props.nodeName,t)}var Bs=sb;function cb(e,t){return e=De(e).vNode,Xi(function(r){return e.props[r]},t)}var qs=cb;function db(e,t){return pr(ce(e),t)}var js=db,zs={hasAccessibleName:Ms,attributes:Ns,condition:Is,explicitRole:Ps,implicitRole:Ls,nodeName:Bs,properties:qs,semanticRole:js};function Vs(e,t){return e=De(e).vNode,Array.isArray(t)?t.some(function(r){return Vs(e,r)}):typeof t=="string"?mi(e,t):Object.keys(t).every(function(r){if(!zs[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=zs[r],n=t[r];return a(e,n)})}var Hs=Vs;function fb(e,t){return Hs(e,t)}var ot=fb;ot.hasAccessibleName=Ms,ot.attributes=Ns,ot.condition=Is,ot.explicitRole=Ps,ot.fromDefinition=Hs,ot.fromFunction=Xi,ot.fromPrimative=pr,ot.implicitRole=Ls,ot.nodeName=Bs,ot.properties=qs,ot.semanticRole=js;var ia=ot;function pb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?!1:r,n=he.htmlElms[e.props.nodeName];if(!n)return{};if(!n.variant)return n;var i=n.variant,o=Pe(n,Gf);for(var u in i)if(!(!i.hasOwnProperty(u)||u==="default")){for(var l=i[u],s=l.matches,c=Pe(l,Wf),d=Array.isArray(s)?s:[s],f=0;f"u"&&(o[m]=i.default[m]);return o}var mr=pb;function mb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof Ve?e:le(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=Yi[n];if(!i&&r){var o=mr(a),u=o.chromiumRole;return u||null}return typeof i=="function"?i(a):i||null}var At=mb,hb={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 $s(e,t){var r=hb[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=xe(e.parent,t);return["none","presentation"].includes(a)&&!Gs(e.parent)?a:a?null:$s(e.parent,t)}function Us(e,t){var r=t.chromium,a=Pe(t,Yf),n=At(e,{chromium:r});if(!n)return null;var i=$s(e,a);return i||n}function Gs(e){var t=fr().some(function(r){return e.hasAttr(r)});return t||ke(e)}function vb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=Pe(t,Xf),n=De(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=xe(i,a);return o?["presentation","none"].includes(o)&&Gs(i)?r?null:Us(i,a):o:r?null:Us(i,a)}function gb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=Pe(t,Kf),n=vb(e,a);return r&&["presentation","none"].includes(n)?null:n}var ce=gb,bb=["iframe"];function yb(e){var t=De(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!ot(r,bb)&&["none","presentation"].includes(ce(r))?"":r.attr("title")}var un=yb;function wb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Ve?e:le(e),e.props.nodeType!==1)return!1;var a=ce(e),n=he.ariaRoles[a];return n&&n.nameFromContent?!0:r?!1:!n||["presentation","none"].includes(a)}var Ws=wb;function Db(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=Ct(t,"aria-owns").filter(function(n){return!!n}).map(function(n){return y.utils.getNodeFromTree(n)});return[].concat(re(r),re(a))}return re(r)}var oa=Db,Ys={accessibleNameFromFieldValue:["progressbar"]};function Fe(e){return e=De(e).vNode,Ki(e)}var Ki=Le(function(t,r){return Jl(t)||an(t,{skipAncestors:!0,isAncestor:r})?!1:t.actualNode&&t.props.nodeName==="area"?!Si(t,Ki):zt(t,{skipAncestors:!0,isAncestor:r})?!1:t.parent?Ki(t.parent,!0):!0});function Xs(e,t,r){var a=De(e),n=a.vNode,i=t?Fe:it,o=!e.actualNode||e.actualNode&&i(e),u=n.children.map(function(l){var s=l.props,c=s.nodeType,d=s.nodeValue;if(c===3){if(d&&o)return d}else if(!r)return Xs(l,t)}).join("");return ae(u)}var Ft=Xs,_b=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function xb(e){e=e instanceof Ve?e:le(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!_b.includes((e.attr("type")||"").toLowerCase())}var Ks=xb;function Eb(e){e=e instanceof Ve?e:le(e);var t=e.props.nodeName;return t==="select"}var Zs=Eb;function Cb(e){var t=xe(e);return t==="textbox"}var Js=Cb;function Ab(e){var t=xe(e);return t==="listbox"}var Qs=Ab;function Fb(e){var t=xe(e);return t==="combobox"}var ec=Fb,Tb=["progressbar","scrollbar","slider","spinbutton"];function Rb(e){var t=xe(e);return Tb.includes(t)}var tc=Rb,rc=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Zi={nativeTextboxValue:Sb,nativeSelectValue:Ob,ariaTextboxValue:Mb,ariaListboxValue:ac,ariaComboboxValue:Nb,ariaRangeValue:Ib};function kb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=Ys.accessibleNameFromFieldValue||[],n=ce(e);if(t.startNode===e||!rc.includes(n)||a.includes(n))return"";var i=Object.keys(Zi).map(function(u){return Zi[u]}),o=i.reduce(function(u,l){return u||l(e,t)},"");return t.debug&&ir(o||"{empty-value}",r,t),o}function Sb(e){var t=De(e),r=t.vNode;return Ks(r)&&r.props.value||""}function Ob(e){var t=De(e),r=t.vNode;if(!Zs(r))return"";var a=ct(r,"option"),n=a.filter(function(i){return i.props.selected});return n.length||n.push(a[0]),n.map(function(i){return Ft(i)}).join(" ")||""}function Mb(e){var t=De(e),r=t.vNode,a=t.domNode;return Js(r)?!a||a&&!zt(a)?Ft(r,!0):a.textContent:""}function ac(e,t){var r=De(e),a=r.vNode;if(!Qs(a))return"";var n=oa(a).filter(function(i){return ce(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":$e(n[0],t)}function Nb(e,t){var r=De(e),a=r.vNode;if(!ec(a))return"";var n=oa(a).filter(function(i){return ce(i)==="listbox"})[0];return n?ac(n,t):""}function Ib(e){var t=De(e),r=t.vNode;if(!tc(r)||!r.hasAttr("aria-valuenow"))return"";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var nc=kb;function Pb(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,u=ce(e),l=mr(e,{noMatchAccessibleName:!0}),s=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||s!=null&&s.includes("embedded")||rc.includes(u)||!t.subtreeDescendant&&!t.inLabelledByContext&&!Ws(e,{strict:n}))return"";if(!n){var c=!i&&!o;t=fe({subtreeDescendant:c},t)}return oa(e).reduce(function(d,f){return Bb(d,f,t)},"")}var Lb=Gi("phrasing").concat(["#text"]);function Bb(e,t,r){var a=t.props.nodeName,n=$e(t,r);return n?(Lb.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var Vt=Pb;function qb(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=fe({inControlContext:!0},t),n=jb(e),i=nt(e,"label"),o;return i?(o=[].concat(re(n),[i.actualNode]),o.sort(Wo)):o=n,o.map(function(u){return dr(u,a)}).filter(function(u){return u!==""}).join(" ")}function jb(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Ul({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var Ji=qb,zb={submit:"Submit",image:"Submit",reset:"Reset",button:""},Vb={valueText:function(t){var r=t.actualNode;return r.value||""},buttonDefaultText:function(t){var r=t.actualNode;return zb[r.type]||""},tableCaptionText:ln.bind(null,"caption"),figureText:ln.bind(null,"figcaption"),svgTitleText:ln.bind(null,"title"),fieldsetLegendText:ln.bind(null,"legend"),altText:Qi.bind(null,"alt"),tableSummaryText:Qi.bind(null,"summary"),titleText:un,subtreeText:Vt,labelText:Ji,singleSpace:function(){return" "},placeholderText:Qi.bind(null,"placeholder")};function Qi(e,t){return t.attr(e)||""}function ln(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?"":dr(i,r)}var ic=Vb;function oc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(ce(e)))return"";var a=Hb(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&y.log(n||"{empty-value}",r,t),n}function Hb(e){var t=mr(e,{noMatchAccessibleName:!0}),r=t.namingMethods||[];return r.map(function(a){return ic[a]})}function uc(){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 lc(){return/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function sc(){return/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function cc(){return/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g}var eo=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 $b(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=!1;return r&&(i||(i=eo().test(e))),a&&(i||(i=uc().test(e)||sc().test(e)||cc().test(e))),n&&(i||(i=lc().test(e))),i}var to=$b;function ro(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(!ae(a)||to(a,{emoji:!0,nonBmp:!0}))return!1;var n=ue.get("canvasContext",function(){return M.createElement("canvas").getContext("2d",{willReadFrequently:!0})}),i=n.canvas,o=ue.get("fonts",function(){return{}}),u=w.getComputedStyle(e.parent.actualNode),l=u.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var s=o[l];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(l);n.font=d;var f=a.charAt(0),p=n.measureText(f).width;if(p===0)return s.numLigatures++,!0;if(p<30){var m=30/p;p*=m,c*=m,d="".concat(c,"px ").concat(l)}i.width=p,i.height=c,n.font=d,n.textAlign="left",n.textBaseline="top",n.fillText(f,0,0);var h=new Uint32Array(n.getImageData(0,0,p,c).data.buffer);if(!h.some(function(R){return R}))return s.numLigatures++,!0;n.clearRect(0,0,p,c),n.fillText(a,0,0);var b=new Uint32Array(n.getImageData(0,0,p,c).data.buffer),v=h.reduce(function(R,S,L){return S===0&&b[L]===0||S!==0&&b[L]!==0?R:++R},0),g=a.split("").reduce(function(R,S){return R+n.measureText(S).width},0),D=n.measureText(a).width,_=v/h.length,F=1-D/g;return _>=t&&F>=t?(s.numLigatures++,!0):!1}function $e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=Yb(e,t),Gb(e,t)||Wb(e,t))return"";var r=[aa,na,oc,nc,Vt,Ub,un],a=r.reduce(function(n,i){return t.startNode===e&&(n=ae(n)),n!==""?n:i(e,t)},"");return t.debug&&y.log(a||"{empty-value}",e.actualNode,t),a}function Ub(e){return e.props.nodeType!==3?"":e.props.nodeValue}function Gb(e,t){return!e||e.props.nodeType!==1||t.includeHidden?!1:!Fe(e)}function Wb(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:ro(e,n,i)}function Yb(e,t){return t.startNode||(t=fe({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=fe({includeHidden:!Fe(e)},t)),t}$e.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?!0:(r.processed.push(t),!1)};function Xb(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(eo(),"")),a&&(e=e.replace(uc(),"").replace(sc(),"").replace(cc(),"")),n&&(e=e.replace(lc(),"")),e}var ua=Xb;function Kb(e){if(!e.length)return 0;var t=["x","i"];if(t.includes(e))return 0;var r=ua(e,{emoji:!0,nonBmp:!0,punctuations:!0});return ae(r)?1:0}var ao=Kb,hr={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 Zb(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,u=o===void 0?[]:o,l=t.qualifiers,s=l===void 0?[]:l,c=t.standaloneTerms,d=c===void 0?[]:c,f=t.qualifiedTerms,p=f===void 0?[]:f;if(e=e.toLowerCase().trim(),i=i.concat(hr.stateTerms),i.includes(e)||e==="")return!0;s=s.concat(hr.qualifiers),u=u.concat(hr.locations),d=d.concat(hr.standaloneTerms),p=p.concat(hr.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(),u.includes(m[0])&&m.shift(),s.includes(m[0])&&(m.shift(),d=[]),m.length!==1))return!1;var h=m[m.length-1];return d.includes(h)||p.includes(h)}var dc=Zb;function Jb(e){var t,r;return e.attr("aria-labelledby")&&(t=Ct(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=le(a);return n?Ft(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=ae(r),r))?r:null}var sn=Jb;function Qb(e,t,r){return e=le(e),Ft(e,t,r)}var fc=Qb;function ey(e){var t,r,a;if(r=sn(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=Re(e.attr("id"));if(a=We(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&fc(t,!0),r)return r}return t=nt(e,"label"),r=t&&Ft(t,!0),r||null}var cn=ey;function ty(e){return e=le(e),cn(e)}var ry=ty,ay=[{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"]}],ny=ay;function pc(e){var t=it(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(pc(a))}),r}var iy=pc,oy=Le(function(t){var r=le(t),a=r.boundingClientRect,n=[],i=Xa(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||ae(o.nodeValue)==="")){var u=uy(o);ly(u,a)||n.push.apply(n,re(sy(u,i)))}}),n.length?n:[a]}),no=oy;function uy(e){var t=M.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function ly(e,t){return e.some(function(r){var a=ta(r);return!Qa(a,t)})}function sy(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&&en(i,o.boundingClientRect)},a);n&&r.push(n)}}),r}function cy(e){cr();var t=le(e),r=t._grid;if(!r)return[];var a=no(e);return a.map(function(n){return Hi(r,n)})}var io=cy,dy=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function fy(e){var t=De(e),r=t.vNode,a=y.commons.aria.getExplicitRole(r);if(a)return dy.indexOf(a)!==-1;switch(r.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 r.props.type!=="hidden";default:return!1}}var oo=fy,py=["head","title","template","script","style","iframe","object","video","audio","noscript"];function mc(e){return py.includes(e.props.nodeName)?!1:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function hc(e,t,r){return mc(e)||oo(e.actualNode)||!r&&!!sn(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&hc(a)})}var la=hc;function my(e,t,r){return e=le(e),la(e,t,r)}var dn=my;function uo(e){return typeof e.children>"u"||mc(e)?!0:e.props.nodeType===1&&oo(e)?!!y.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return!t.attr("lang")&&uo(t)&&!zt(t)})}function hy(e){var t=parseInt(e.getAttribute("tabindex"),10);return t>-1&&ke(e)&&!$i(e)}var vc=hy;function gc(e,t){var r=De(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=bc(n,t)),a._isHiddenWithCSS):bc(n,t)}function bc(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return!1;var r=w.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=He(e);return o&&!n.includes(i)?gc(o,i):!1}var vy=gc;function gy(e){var t=e.doctype;return t===null?!1:t.name==="html"&&!t.publicId&&!t.systemId}var yc=gy;function by(e){var t;(e instanceof Ve||(t=w)!==null&&t!==void 0&&t.Node&&e instanceof w.Node)&&(e=y.commons.aria.getRole(e));var r=he.ariaRoles[e];return(r==null?void 0:r.type)||null}var Tt=by;function wc(e,t){t(e.actualNode)!==!1&&e.children.forEach(function(r){return wc(r,t)})}var yy=["block","list-item","table","flex","grid","inline-block"];function Dc(e){var t=w.getComputedStyle(e).getPropertyValue("display");return yy.includes(t)||t.substr(0,6)==="table-"}function wy(e){for(var t=He(e);t&&!Dc(t);)t=He(t);return le(t)}function Dy(e,t){if(Dc(e))return!1;var r=wy(e),a="",n="",i=0;return wc(r,function(o){if(i===2)return!1;if(o.nodeType===3&&(a+=o.nodeValue),o.nodeType===1){var u=(o.nodeName||"").toUpperCase();if(o===e&&(i=1),["BR","HR"].includes(u))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(Tt(o)==="widget")return n+=o.textContent,!1}}}),a=ae(a),t!=null&&t.noLengthCompare?a.length!==0:(n=ae(n),a.length>n.length)}var lo=Dy;function _y(e){e=e||{};var t=e.modalPercent||.75;if(ue.get("isModalOpen"))return ue.get("isModalOpen");var r=kt(y._tree[0],"dialog, [role=dialog], [aria-modal=true]",it);if(r.length)return ue.set("isModalOpen",!0),!0;for(var a=Ka(w),n=a.width*t,i=a.height*t,o=(a.width-n)/2,u=(a.height-i)/2,l=[{x:o,y:u},{x:a.width-o,y:u},{x:a.width/2,y:a.height/2},{x:o,y:a.height-u},{x:a.width-o,y:a.height-u}],s=l.map(function(p){return Array.from(M.elementsFromPoint(p.x,p.y))}),c=function(m){var h=s[m].find(function(b){var v=w.getComputedStyle(b);return parseInt(v.width,10)>=n&&parseInt(v.height,10)>=i&&v.getPropertyValue("pointer-events")!=="none"&&(v.position==="absolute"||v.position==="fixed")});if(h&&s.every(function(b){return b.includes(h)}))return ue.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=Ae(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var u=o.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else if(n===0)a=u.bottom,n++;else return!0}}catch(l){i.e(l)}finally{i.f()}return!1}function xy(e){return e instanceof w.Node}var Ey=xy,so="color.incompleteData",Cy={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=ue.get(so,function(){return{}});return r&&(a[t]=r),a[t]},get:function(t){var r=ue.get(so);return r==null?void 0:r[t]},clear:function(){ue.set(so,{})}},Ue=Cy;function Ay(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return Ue.set("bgColor","imgNode"),!0;t=t||w.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);Ue.set("bgColor",o?"bgGradient":"bgImage")}return i}var fn=Ay,xc={};vt(xc,{Colorjs:function(){return lt},CssSelectorParser:function(){return Sy.CssSelectorParser},doT:function(){return Ec.default},emojiRegexText:function(){return eo},memoize:function(){return Oy.default}});var Fy=gt(km()),Ty=gt(Sm());gt(Om());var Ry=gt(oh()),ky=gt(wh());"hasOwn"in Object||(Object.hasOwn=Ry.default),"values"in Object||(Object.values=ky.default),"Promise"in w||Fy.default.polyfill(),"Uint32Array"in w||(w.Uint32Array=Ty.Uint32Array),w.Uint32Array&&("some"in w.Uint32Array.prototype||Object.defineProperty(w.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in w.Uint32Array.prototype||Object.defineProperty(w.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r>>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(u))},a=Math.pow(2,53)-1,n=function(o){var u=r(o);return Math.min(Math.max(u,0),a)};return function(o){var u=this,l=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(l.length),f=t(u)?Object(new u(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}),w.Node&&!("isConnected"in w.Node.prototype)&&Object.defineProperty(w.Node.prototype,"isConnected",{get:function(){return!this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Sy=gt(Gu()),Ec=gt(sl()),Oy=gt($u());function Ne(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return[o]}));var a=t[0].length,n=t[0].map(function(o,u){return t.map(function(l){return l[u]})}),i=e.map(function(o){return n.map(function(u){var l=0;if(!Array.isArray(o)){var s=Ae(u),c;try{for(s.s();!(c=s.n()).done;){var d=c.value;l+=o*d}}catch(p){s.e(p)}finally{s.f()}return l}for(var f=0;fr)return+e.toFixed(t-r);var a=Math.pow(10,r-t);return Math.round(e/a)*a}function Cc(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,a=e.match(t);if(a){var n=[];return a[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(i,o){/%$/.test(o)?(o=new Number(o.slice(0,-1)/100),o.type=""):/deg$/.test(o)?(o=new Number(+o.slice(0,-3)),o.type="",o.unit="deg"):r.test(o)&&(o=new Number(o),o.type=""),i.startsWith("/")&&(o=o instanceof Number?o:new Number(o),o.alpha=!0),n.push(o)}),{name:a[1].toLowerCase(),rawName:a[1],rawArgs:a[2],args:n}}}}function Ac(e){return e[e.length-1]}function mn(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Fc(e,t,r){return(r-e)/(t-e)}function co(e,t,r){return mn(t[0],t[1],Fc(e[0],e[1],r))}function Tc(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var a=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(a){var n=new String(a[1]);return n.range=[+a[2],+a[3]],n}return r})})}var My=Object.freeze({__proto__:null,isString:ca,type:Ht,toPrecision:pn,parseFunction:Cc,last:Ac,interpolate:mn,interpolateInv:Fc,mapRange:co,parseCoordGrammar:Tc,multiplyMatrices:Ne}),Ny=function(){function e(){_t(this,e)}return xt(e,[{key:"add",value:function(r,a,n){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],a&&this[i][n?"unshift":"push"](a)},this)}},{key:"run",value:function(r,a){this[r]=this[r]||[],this[r].forEach(function(n){n.call(a&&a.context?a.context:a,a)})}}]),e}(),$t=new Ny,Rt={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Dt={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function fo(e){return Array.isArray(e)?e:Dt[e]}function hn(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=fo(e),t=fo(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(!e&&!t?"/":"").concat(t?"":"to"));if(e===t)return r;var n={W1:e,W2:t,XYZ:r,options:a};if($t.run("chromatic-adaptation-start",n),n.M||(n.W1===Dt.D65&&n.W2===Dt.D50?n.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:n.W1===Dt.D50&&n.W2===Dt.D65&&(n.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),$t.run("chromatic-adaptation-end",n),n.M)return Ne(n.M,n.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Iy=75e-6,Py=(C=new WeakSet,T=new WeakMap,N=new WeakSet,function(){function e(t){var r,a,n,i,o,u,l;_t(this,e),Eu(this,N),Eu(this,C),xu(this,T,{writable:!0,value:void 0}),this.id=t.id,this.name=t.name,this.base=t.base?e.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var s=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=s;var c=(a=(n=t.white)!==null&&n!==void 0?n:this.base.white)!==null&&a!==void 0?a:"D65";this.white=fo(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var d in this.formats){var f=this.formats[d];f.type||(f.type="function"),f.name||(f.name=d)}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(u=this.formats)!==null&&u!==void 0&&u.color&&!((l=this.formats)!==null&&l!==void 0&&l.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Au(this,T,Qn(this,N,Ly).call(this).reverse()),$t.run("colorspace-init-end",this)}return xt(e,[{key:"inGamut",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.epsilon,i=n===void 0?Iy:n;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(u,l){var s=o[l];if(s.type!=="angle"&&s.range){if(Number.isNaN(u))return!0;var c=V(s.range,2),d=c[0],f=c[1];return(d===void 0||u>=d-i)&&(f===void 0||u<=f+i)}return!0})}},{key:"cssId",get:function(){var r,a;return((r=this.formats.functions)===null||r===void 0||(a=r.color)===null||a===void 0?void 0:a.id)||this.id}},{key:"isPolar",get:function(){for(var r in this.coords)if(this.coords[r].type==="angle")return!0;return!1}},{key:"getFormat",value:function(r){if(k(r)==="object")return r=Qn(this,C,Rc).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=Qn(this,C,Rc).call(this,a),a):null}},{key:"to",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1]}if(r=e.get(r),this===r)return a;a=a.map(function(f){return Number.isNaN(f)?0:f});for(var i=Hr(this,T),o=Hr(r,T),u,l,s=0;sl;c--)a=i[c].toBase(a);for(var d=l+1;d1?i-1:0),u=1;u=0){var c=Object.entries(i.coords)[o];if(c)return fe({space:i,id:c[0],index:o},c[1])}i=e.get(i);var d=o.toLowerCase(),f=0;for(var p in i.coords){var m,h=i.coords[p];if(p.toLowerCase()===d||((m=h.name)===null||m===void 0?void 0:m.toLowerCase())===d)return fe({space:i,id:p,index:f},h);f++}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}]),e}());function Rc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Tc(e.coords);var t=Object.entries(this.coords).map(function(r,a){var n=V(r,2);n[0];var i=n[1],o=e.coordGrammar[a][0],u=i.range||i.refRange,l=o.range,s="";return o==""?(l=[0,100],s="%"):o==""&&(s="deg"),{fromRange:u,toRange:l,suffix:s}});e.serializeCoords=function(r,a){return r.map(function(n,i){var o=t[i],u=o.fromRange,l=o.toRange,s=o.suffix;return u&&l&&(n=co(u,l,n)),n=pn(n,a),s&&(n+=s),n})}}return e}function Ly(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var ee=Py;Mu(ee,"registry",{}),Mu(ee,"DEFAULT_FORMAT",{type:"functions",name:"color"});var pt=new ee({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),rt=function(e){Zn(r,e);var t=Jn(r);function r(a){var n,i;if(_t(this,r),a.coords||(a.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),a.base||(a.base=pt),a.toXYZ_M&&a.fromXYZ_M){var o,u;(o=a.toBase)!==null&&o!==void 0||(a.toBase=function(l){var s=Ne(a.toXYZ_M,l);return i.white!==i.base.white&&(s=hn(i.white,i.base.white,s)),s}),(u=a.fromBase)!==null&&u!==void 0||(a.fromBase=function(l){return l=hn(i.base.white,i.white,l),Ne(a.fromXYZ_M,l)})}return(n=a.referred)!==null&&n!==void 0||(a.referred="display"),i=t.call(this,a)}return xt(r)}(ee);function kc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if($t.run("parse-start",r),r.color)return r.color;if(r.parsed=Cc(r.str),r.parsed){var a=function(){var d=r.parsed.name;if(d==="color"){var f=r.parsed.args.shift(),p=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,m=Ae(ee.all),h;try{for(m.s();!(h=m.n()).done;){var b=h.value,v=b.getFormat("color");if(v){var g;if(f===v.id||(g=v.ids)!==null&&g!==void 0&&g.includes(f)){var D=function(){var z=Object.keys(b.coords).length,Z=Array(z).fill(0);return Z.forEach(function(te,Q){return Z[Q]=r.parsed.args[Q]||0}),{v:{v:{spaceId:b.id,coords:Z,alpha:p}}}}();if(k(D)==="object")return D.v}}}}catch(z){m.e(z)}finally{m.f()}var _="";if(f in ee.registry){var F,R,S,L=(F=ee.registry[f].formats)===null||F===void 0||(R=F.functions)===null||R===void 0||(S=R.color)===null||S===void 0?void 0:S.id;L&&(_="Did you mean color(".concat(L,")?"))}throw new TypeError("Cannot parse color(".concat(f,"). ")+(_||"Missing a plugin?"))}else{var G=Ae(ee.all),q;try{var j=function(){var Z=q.value,te=Z.getFormat(d);if(te&&te.type==="function"){var Q=1;(te.lastAlpha||Ac(r.parsed.args).alpha)&&(Q=r.parsed.args.pop());var W=r.parsed.args;return te.coordGrammar&&Object.entries(Z.coords).forEach(function(B,ne){var E,U=V(B,2),I=U[0],J=U[1],ie=te.coordGrammar[ne],$=(E=W[ne])===null||E===void 0?void 0:E.type;if(ie=ie.find(function(_e){return _e==$}),!ie){var X=J.name||I;throw new TypeError("".concat($," not allowed for ").concat(X," in ").concat(d,"()"))}var ve=ie.range;$===""&&(ve||(ve=[0,1]));var ye=J.range||J.refRange;ve&&ye&&(W[ne]=co(ve,ye,W[ne]))}),{v:{v:{spaceId:Z.id,coords:W,alpha:Q}}}}};for(G.s();!(q=G.n()).done;){var H=j();if(k(H)==="object")return H.v}}catch(z){G.e(z)}finally{G.f()}}}();if(k(a)==="object")return a.v}else{var n=Ae(ee.all),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;for(var u in o.formats){var l=o.formats[u];if(l.type==="custom"&&!(l.test&&!l.test(r.str))){var s=l.parse(r.str);if(s){var c;return(c=s.alpha)!==null&&c!==void 0||(s.alpha=1),s}}}}}catch(d){n.e(d)}finally{n.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function be(e){if(!e)throw new TypeError("Empty color reference");ca(e)&&(e=kc(e));var t=e.space||e.spaceId;return t instanceof ee||(e.space=ee.get(t)),e.alpha===void 0&&(e.alpha=1),e}function da(e,t){return t=ee.get(t),t.from(e)}function mt(e,t){var r=ee.resolveCoord(t,e.space),a=r.space,n=r.index,i=da(e,a);return i[n]}function Sc(e,t,r){return t=ee.get(t),e.coords=t.to(e.space,r),e}function Ut(e,t,r){if(e=be(e),arguments.length===2&&Ht(arguments[1])==="object"){var a=arguments[1];for(var n in a)Ut(e,n,a[n])}else{typeof r=="function"&&(r=r(mt(e,t)));var i=ee.resolveCoord(t,e.space),o=i.space,u=i.index,l=da(e,o);l[u]=r,Sc(e,o,l)}return e}var po=new ee({id:"xyz-d50",name:"XYZ D50",white:"D50",base:pt,fromBase:function(t){return hn(pt.white,"D50",t)},toBase:function(t){return hn("D50",pt.white,t)},formats:{color:{}}}),By=216/24389,Oc=24/116,vn=24389/27,mo=Dt.D50,ut=new ee({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:mo,base:po,fromBase:function(t){var r=t.map(function(n,i){return n/mo[i]}),a=r.map(function(n){return n>By?Math.cbrt(n):(vn*n+16)/116});return[116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var a=[r[0]>Oc?Math.pow(r[0],3):(116*r[0]-16)/vn,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/vn,r[2]>Oc?Math.pow(r[2],3):(116*r[2]-16)/vn];return a.map(function(n,i){return n*mo[i]})},formats:{lab:{coords:[" | ","",""]}}});function gn(e){return(e%360+360)%360}function qy(e,t){if(e==="raw")return t;var r=t.map(gn),a=V(r,2),n=a[0],i=a[1],o=i-n;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(n+=360):e==="longer"?-1800?i+=360:n+=360):e==="shorter"&&(o>180?n+=360:o<-180&&(i+=360)),[n,i]}var fa=new ee({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:ut,fromBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2],o,u=.02;return Math.abs(n) | ",""," | "]}}}),Mc=Math.pow(25,7),bn=Math.PI,Nc=180/bn,Or=bn/180;function ho(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.kL,n=a===void 0?1:a,i=r.kC,o=i===void 0?1:i,u=r.kH,l=u===void 0?1:u,s=ut.from(e),c=V(s,3),d=c[0],f=c[1],p=c[2],m=fa.from(ut,[d,f,p])[1],h=ut.from(t),b=V(h,3),v=b[0],g=b[1],D=b[2],_=fa.from(ut,[v,g,D])[1];m<0&&(m=0),_<0&&(_=0);var F=(m+_)/2,R=Math.pow(F,7),S=.5*(1-Math.sqrt(R/(R+Mc))),L=(1+S)*f,G=(1+S)*g,q=Math.sqrt(Math.pow(L,2)+Math.pow(p,2)),j=Math.sqrt(Math.pow(G,2)+Math.pow(D,2)),H=L===0&&p===0?0:Math.atan2(p,L),z=G===0&&D===0?0:Math.atan2(D,G);H<0&&(H+=2*bn),z<0&&(z+=2*bn),H*=Nc,z*=Nc;var Z=v-d,te=j-q,Q=z-H,W=H+z,B=Math.abs(Q),ne;q*j===0?ne=0:B<=180?ne=Q:Q>180?ne=Q-360:Q<-180?ne=Q+360:console.log("the unthinkable has happened");var E=2*Math.sqrt(j*q)*Math.sin(ne*Or/2),U=(d+v)/2,I=(q+j)/2,J=Math.pow(I,7),ie;q*j===0?ie=W:B<=180?ie=W/2:W<360?ie=(W+360)/2:ie=(W-360)/2;var $=Math.pow(U-50,2),X=1+.015*$/Math.sqrt(20+$),ve=1+.045*I,ye=1;ye-=.17*Math.cos((ie-30)*Or),ye+=.24*Math.cos(2*ie*Or),ye+=.32*Math.cos((3*ie+6)*Or),ye-=.2*Math.cos((4*ie-63)*Or);var _e=1+.015*I*ye,Oe=30*Math.exp(-1*Math.pow((ie-275)/25,2)),qe=2*Math.sqrt(J/(J+Mc)),Ie=-1*Math.sin(2*Oe*Or)*qe,Ee=Math.pow(Z/(n*X),2);return Ee+=Math.pow(te/(o*ve),2),Ee+=Math.pow(E/(l*_e),2),Ee+=Ie*(te/(o*ve))*(E/(l*_e)),Math.sqrt(Ee)}var jy=75e-6;function pa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.epsilon,n=a===void 0?jy:a;e=be(e),t=ee.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:n})}function ma(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Gt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,a=r===void 0?Rt.gamut_mapping:r,n=t.space,i=n===void 0?e.space:n;if(ca(arguments[1])&&(i=arguments[1]),i=ee.get(i),pa(e,i,{epsilon:0}))return e;var o=ht(e,i);if(a!=="clip"&&!pa(e,i)){var u=Gt(ma(o),{method:"clip",space:i});if(ho(e,u)>2){for(var l=ee.resolveCoord(a),s=l.space,c=l.id,d=ht(o,s),f=l.range||l.refRange,p=f[0],m=.01,h=p,b=mt(d,c);b-h>m;){var v=ma(d);v=Gt(v,{space:i,method:"clip"});var g=ho(d,v);g-22&&arguments[2]!==void 0?arguments[2]:{},a=r.inGamut;e=be(e),t=ee.get(t);var n=t.from(e),i={space:t,coords:n,alpha:e.alpha};return a&&(i=Gt(i)),i}ht.returns="color";function yn(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.precision,i=n===void 0?Rt.precision:n,o=a.format,u=o===void 0?"default":o,l=a.inGamut,s=l===void 0?!0:l,c=Pe(a,Zf),d;e=be(e);var f=u;u=(t=(r=e.space.getFormat(u))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:ee.DEFAULT_FORMAT,s||(s=u.toGamut);var p=e.coords;if(p=p.map(function(_){return _||0}),s&&!pa(e)&&(p=Gt(ma(e),s===!0?void 0:s).coords),u.type==="custom")if(c.precision=i,u.serialize)d=u.serialize(p,e.alpha,c);else throw new TypeError("format ".concat(f," can only be used to parse colors, not for serialization"));else{var m=u.name||"color";u.serializeCoords?p=u.serializeCoords(p,i):i!==null&&(p=p.map(function(_){return pn(_,i)}));var h=re(p);if(m==="color"){var b,v=u.id||((b=u.ids)===null||b===void 0?void 0:b[0])||e.space.id;h.unshift(v)}var g=e.alpha;i!==null&&(g=pn(g,i));var D=e.alpha<1&&!u.noAlpha?"".concat(u.commas?",":" /"," ").concat(g):"";d="".concat(m,"(").concat(h.join(u.commas?", ":" ")).concat(D,")")}return d}var zy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Vy=[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],wn=new rt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:zy,fromXYZ_M:Vy,formats:{color:{}}}),Dn=1.09929682680944,Ic=.018053968510807,Pc=new rt({id:"rec2020",name:"REC.2020",base:wn,toBase:function(t){return t.map(function(r){return r=Ic?Dn*Math.pow(r,.45)-(Dn-1):4.5*r})},formats:{color:{}}}),Hy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],$y=[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]],Lc=new rt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Hy,fromXYZ_M:$y}),Uy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Gy=[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],Bc=new rt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Uy,fromXYZ_M:Gy,formats:{color:{}}}),qc={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},jc=Array(3).fill(" | [0, 255]"),zc=Array(3).fill("[0, 255]"),ha=new rt({id:"srgb",name:"sRGB",base:Bc,fromBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n>.0031308?a*(1.055*Math.pow(n,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n<.04045?r/12.92:a*Math.pow((n+.055)/1.055,2.4)})},formats:{rgb:{coords:jc},rgb_number:{name:"rgb",commas:!0,coords:zc,noAlpha:!0},color:{},rgba:{coords:jc,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:zc},hex:{type:"custom",toGamut:!0,test:function(t){return/^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(a){r.push(parseInt(a,16)/255)}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=a.collapse,i=n===void 0?!0:n;r<1&&t.push(r),t=t.map(function(l){return Math.round(l*255)});var o=i&&t.every(function(l){return l%17===0}),u=t.map(function(l){return o?(l/17).toString(16):l.toString(16).padStart(2,"0")}).join("");return"#"+u}},keyword:{type:"custom",test:function(t){return/^[a-z]+$/i.test(t)},parse:function(t){t=t.toLowerCase();var r={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(r.coords=qc.black,r.alpha=0):r.coords=qc[t],r.coords)return r}}}}),Vc=new rt({id:"p3",name:"P3",base:Lc,fromBase:ha.fromBase,toBase:ha.toBase,formats:{color:{id:"display-p3"}}});if(Rt.display_space=ha,typeof CSS<"u"&&CSS.supports)for(var vo=0,Hc=[ut,Pc,Vc];vo1&&arguments[1]!==void 0?arguments[1]:{},r=t.space,a=r===void 0?Rt.display_space:r,n=Pe(t,Jf),i=yn(e,n);if(typeof CSS>"u"||CSS.supports("color",i)||!Rt.display_space)i=new String(i),i.color=e;else{var o=ht(e,a);i=new String(yn(o,n)),i.color=o}return i}function $c(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=ee.get(r);var a=r.from(e),n=r.from(t);return Math.sqrt(a.reduce(function(i,o,u){var l=n[u];return isNaN(o)||isNaN(l)?i:i+Math.pow(l-o,2)},0))}function Zy(e,t){return e=be(e),t=be(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,a){return r===t.coords[a]})}function Wt(e){return mt(e,[pt,"y"])}function Uc(e,t){Ut(e,[pt,"y"],t)}function Jy(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Wt(this)},set:function(r){Uc(this,r)}})}var Qy=Object.freeze({__proto__:null,getLuminance:Wt,setLuminance:Uc,register:Jy});function e0(e,t){e=be(e),t=be(t);var r=Math.max(Wt(e),0),a=Math.max(Wt(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1]}return(r+.05)/(a+.05)}var t0=.56,r0=.57,a0=.62,n0=.65,Gc=.022,i0=1.414,o0=.1,u0=5e-4,l0=1.14,Wc=.027,s0=1.14;function Yc(e){return e>=Gc?e:e+Math.pow(Gc-e,i0)}function Mr(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function c0(e,t){t=be(t),e=be(e);var r,a,n,i,o,u;t=ht(t,"srgb");var l=V(t.coords,3);i=l[0],o=l[1],u=l[2];var s=Mr(i)*.2126729+Mr(o)*.7151522+Mr(u)*.072175;e=ht(e,"srgb");var c=V(e.coords,3);i=c[0],o=c[1],u=c[2];var d=Mr(i)*.2126729+Mr(o)*.7151522+Mr(u)*.072175,f=Yc(s),p=Yc(d),m=p>f;return Math.abs(p-f)0?n=a-Wc:n=a+Wc,n*100}function d0(e,t){e=be(e),t=be(t);var r=Math.max(Wt(e),0),a=Math.max(Wt(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1]}var i=r+a;return i===0?0:(r-a)/i}var f0=5e4;function p0(e,t){e=be(e),t=be(t);var r=Math.max(Wt(e),0),a=Math.max(Wt(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1]}return a===0?f0:(r-a)/a}function m0(e,t){e=be(e),t=be(t);var r=mt(e,[ut,"l"]),a=mt(t,[ut,"l"]);return Math.abs(r-a)}var h0=216/24389,Xc=24/116,_n=24389/27,bo=Dt.D65,yo=new ee({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:bo,base:pt,fromBase:function(t){var r=t.map(function(n,i){return n/bo[i]}),a=r.map(function(n){return n>h0?Math.cbrt(n):(_n*n+16)/116});return[116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var a=[r[0]>Xc?Math.pow(r[0],3):(116*r[0]-16)/_n,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/_n,r[2]>Xc?Math.pow(r[2],3):(116*r[2]-16)/_n];return a.map(function(n,i){return n*bo[i]})},formats:{"lab-d65":{coords:[" | ","",""]}}}),wo=Math.pow(5,.5)*.5+.5;function v0(e,t){e=be(e),t=be(t);var r=mt(e,[yo,"l"]),a=mt(t,[yo,"l"]),n=Math.abs(Math.pow(r,wo)-Math.pow(a,wo)),i=Math.pow(n,1/wo)*Math.SQRT2-40;return i<7.5?0:i}var xn=Object.freeze({__proto__:null,contrastWCAG21:e0,contrastAPCA:c0,contrastMichelson:d0,contrastWeber:p0,contrastLstar:m0,contrastDeltaPhi:v0});function g0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ca(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=Pe(a,Qf);if(!n){var o=Object.keys(xn).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=be(e),t=be(t);for(var u in xn)if("contrast"+n.toLowerCase()===u.toLowerCase())return xn[u](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function Kc(e){var t=da(e,pt),r=V(t,3),a=r[0],n=r[1],i=r[2],o=a+15*n+3*i;return[4*a/o,9*n/o]}function Zc(e){var t=da(e,pt),r=V(t,3),a=r[0],n=r[1],i=r[2],o=a+n+i;return[a/o,n/o]}function b0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Kc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Zc(this)}})}var y0=Object.freeze({__proto__:null,uv:Kc,xy:Zc,register:b0});function w0(e,t){return $c(e,t,"lab")}var D0=Math.PI,Jc=D0/180;function _0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.l,n=a===void 0?2:a,i=r.c,o=i===void 0?1:i,u=ut.from(e),l=V(u,3),s=l[0],c=l[1],d=l[2],f=fa.from(ut,[s,c,d]),p=V(f,3),m=p[1],h=p[2],b=ut.from(t),v=V(b,3),g=v[0],D=v[1],_=v[2],F=fa.from(ut,[g,D,_])[1];m<0&&(m=0),F<0&&(F=0);var R=s-g,S=m-F,L=c-D,G=d-_,q=Math.pow(L,2)+Math.pow(G,2)-Math.pow(S,2),j=.511;s>=16&&(j=.040975*s/(1+.01765*s));var H=.0638*m/(1+.0131*m)+.638,z;Number.isNaN(h)&&(h=0),h>=164&&h<=345?z=.56+Math.abs(.2*Math.cos((h+168)*Jc)):z=.36+Math.abs(.4*Math.cos((h+35)*Jc));var Z=Math.pow(m,4),te=Math.sqrt(Z/(Z+1900)),Q=H*(te*z+1-te),W=Math.pow(R/(n*j),2);return W+=Math.pow(S/(o*H),2),W+=q/Math.pow(Q,2),Math.sqrt(W)}var Qc=203,Do=new ee({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:pt,fromBase:function(t){return t.map(function(r){return Math.max(r*Qc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Qc,0)})}}),En=1.15,Cn=.66,ed=2610/Math.pow(2,14),x0=Math.pow(2,14)/2610,td=3424/Math.pow(2,12),rd=2413/Math.pow(2,7),ad=2392/Math.pow(2,7),E0=1.7*2523/Math.pow(2,5),nd=Math.pow(2,5)/(1.7*2523),An=-.56,_o=16295499532821565e-27,C0=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],A0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],F0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],T0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],id=new ee({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:Do,fromBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2],o=En*a-(En-1)*i,u=Cn*n-(Cn-1)*a,l=Ne(C0,[o,u,i]),s=l.map(function(b){var v=td+rd*Math.pow(b/1e4,ed),g=1+ad*Math.pow(b/1e4,ed);return Math.pow(v/g,E0)}),c=Ne(F0,s),d=V(c,3),f=d[0],p=d[1],m=d[2],h=(1+An)*f/(1+An*f)-_o;return[h,p,m]},toBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2],o=(a+_o)/(1+An-An*(a+_o)),u=Ne(T0,[o,n,i]),l=u.map(function(b){var v=td-Math.pow(b,nd),g=ad*Math.pow(b,nd)-rd,D=1e4*Math.pow(v/g,x0);return D}),s=Ne(A0,l),c=V(s,3),d=c[0],f=c[1],p=c[2],m=(d+(En-1)*p)/En,h=(f+(Cn-1)*m)/Cn;return[m,h,p]},formats:{color:{}}}),xo=new ee({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:id,fromBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2],o,u=2e-4;return Math.abs(n) | ","",""]}}});function H0(e,t){var r=Fn.from(e),a=V(r,3),n=a[0],i=a[1],o=a[2],u=Fn.from(t),l=V(u,3),s=l[0],c=l[1],d=l[2],f=n-s,p=i-c,m=o-d;return Math.sqrt(Math.pow(f,2)+Math.pow(p,2)+Math.pow(m,2))}var Co=Object.freeze({__proto__:null,deltaE76:w0,deltaECMC:_0,deltaE2000:ho,deltaEJz:R0,deltaEITP:B0,deltaEOK:H0});function va(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ca(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?Rt.deltaE:n,o=Pe(a,ep);e=be(e),t=be(t);for(var u in Co)if("deltae"+i.toLowerCase()===u.toLowerCase())return Co[u](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function $0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=ee.get("oklch","lch"),a=[r,"l"];return Ut(e,a,function(n){return n*(1+t)})}function U0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=ee.get("oklch","lch"),a=[r,"l"];return Ut(e,a,function(n){return n*(1-t)})}var G0=Object.freeze({__proto__:null,lighten:$0,darken:U0});function dd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=[be(e),be(t)];if(e=n[0],t=n[1],Ht(r)==="object"){var i=[.5,r];r=i[0],a=i[1]}var o=a,u=o.space,l=o.outputSpace,s=o.premultiplied,c=ga(e,t,{space:u,outputSpace:l,premultiplied:s});return c(r)}function fd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(Ao(e)){a=e,r=t;var n=V(a.rangeArgs.colors,2);e=n[0],t=n[1]}var i=r,o=i.maxDeltaE,u=i.deltaEMethod,l=i.steps,s=l===void 0?2:l,c=i.maxSteps,d=c===void 0?1e3:c,f=Pe(i,tp);if(!a){var p=[be(e),be(t)];e=p[0],t=p[1],a=ga(e,t,f)}var m=va(e,t),h=o>0?Math.max(s,Math.ceil(m/o)+1):s,b=[];if(d!==void 0&&(h=Math.min(h,d)),h===1)b=[{p:.5,color:a(.5)}];else{var v=1/(h-1);b=Array.from({length:h},function(L,G){var q=G*v;return{p:q,color:a(q)}})}if(o>0)for(var g=b.reduce(function(L,G,q){if(q===0)return 0;var j=va(G.color,b[q-1].color,u);return Math.max(L,j)},0);g>o;){g=0;for(var D=1;D2&&arguments[2]!==void 0?arguments[2]:{};if(Ao(e)){var a=e,n=t;return ga.apply(void 0,re(a.rangeArgs.colors).concat([fe({},a.rangeArgs.options,n)]))}var i=r.space,o=r.outputSpace,u=r.progression,l=r.premultiplied;e=be(e),t=be(t),e=ma(e),t=ma(t);var s={colors:[e,t],options:r};if(i?i=ee.get(i):i=ee.registry[Rt.interpolationSpace]||e.space,o=o?ee.get(o):i,e=ht(e,i),t=ht(t,i),e=Gt(e),t=Gt(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",d=[i,"h"],f=[mt(e,d),mt(t,d)],p=f[0],m=f[1],h=qy(c,[p,m]),b=V(h,2);p=b[0],m=b[1],Ut(e,d,p),Ut(t,d,m)}return l&&(e.coords=e.coords.map(function(v){return v*e.alpha}),t.coords=t.coords.map(function(v){return v*t.alpha})),Object.assign(function(v){v=u?u(v):v;var g=e.coords.map(function(F,R){var S=t.coords[R];return mn(F,S,v)}),D=mn(e.alpha,t.alpha,v),_={space:i,coords:g,alpha:D};return l&&(_.coords=_.coords.map(function(F){return F/D})),o!==i&&(_=ht(_,o)),_},{rangeArgs:s})}function Ao(e){return Ht(e)==="function"&&!!e.rangeArgs}Rt.interpolationSpace="lab";function W0(e){e.defineFunction("mix",dd,{returns:"color"}),e.defineFunction("range",ga,{returns:"function"}),e.defineFunction("steps",fd,{returns:"array"})}var Y0=Object.freeze({__proto__:null,mix:dd,steps:fd,range:ga,isRange:Ao,register:W0}),pd=new ee({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:ha,fromBase:function(t){var r=Math.max.apply(Math,re(t)),a=Math.min.apply(Math,re(t)),n=V(t,3),i=n[0],o=n[1],u=n[2],l=NaN,s=0,c=(a+r)/2,d=r-a;if(d!==0){switch(s=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-u)/d+(o | ","",""]},hsla:{coords:[" | ","",""],commas:!0,lastAlpha:!0}}}),md=new ee({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:pd,fromBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i+n*Math.min(i,1-i);return[a,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i*(1-n/2);return[a,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:!0}}}),X0=new ee({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:md,fromBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2];return[a,i*(100-n)/100,100-i]},toBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=n+i;if(o>=1){var u=n/o;return[a,0,u*100]}var l=1-i,s=l===0?0:1-n/l;return[a,s*100,l*100]},formats:{hwb:{toGamut:!0,coords:[" | ","",""]}}}),K0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],Z0=[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]],hd=new rt({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:K0,fromXYZ_M:Z0}),J0=new rt({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:hd,toBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),563/256)*Math.sign(r)})},fromBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),256/563)*Math.sign(r)})},formats:{color:{id:"a98-rgb"}}}),Q0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],e2=[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],vd=new rt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:po,toXYZ_M:Q0,fromXYZ_M:e2}),t2=1/512,r2=16/512,a2=new rt({id:"prophoto",name:"ProPhoto",base:vd,toBase:function(t){return t.map(function(r){return r=t2?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),n2=new ee({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Fn,fromBase:function(t){var r=V(t,3),a=r[0],n=r[1],i=r[2],o,u=2e-4;return Math.abs(n) | ",""," | "]}}}),gd=203,bd=2610/Math.pow(2,14),i2=Math.pow(2,14)/2610,o2=2523/Math.pow(2,5),yd=Math.pow(2,5)/2523,wd=3424/Math.pow(2,12),Dd=2413/Math.pow(2,7),_d=2392/Math.pow(2,7),u2=new rt({id:"rec2100pq",name:"REC.2100-PQ",base:wn,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,yd)-wd,0)/(Dd-_d*Math.pow(r,yd)),i2);return a*1e4/gd})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*gd/1e4,0),n=wd+Dd*Math.pow(a,bd),i=1+_d*Math.pow(a,bd);return Math.pow(n/i,o2)})},formats:{color:{id:"rec2100-pq"}}}),xd=.17883277,Ed=.28466892,Cd=.55991073,Fo=3.7743,l2=new rt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:wn,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*Fo:Math.exp((r-Cd)/xd+Ed)/12*Fo})},fromBase:function(t){return t.map(function(r){return r/=Fo,r<=1/12?Math.sqrt(3*r):xd*Math.log(12*r-Ed)+Cd})},formats:{color:{id:"rec2100-hlg"}}}),Ad={};$t.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Fd(e.W1,e.W2,e.options.method))}),$t.add("chromatic-adaptation-end",function(e){e.M||(e.M=Fd(e.W1,e.W2,e.options.method))});function Tn(e){var t=e.id;e.toCone_M,e.fromCone_M,Ad[t]=arguments[0]}function Fd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=Ad[r],n=Ne(a.toCone_M,e),i=V(n,3),o=i[0],u=i[1],l=i[2],s=Ne(a.toCone_M,t),c=V(s,3),d=c[0],f=c[1],p=c[2],m=[[d/o,0,0],[0,f/u,0],[0,0,p/l]],h=Ne(m,a.toCone_M),b=Ne(a.fromCone_M,h);return b}Tn({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),Tn({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),Tn({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),Tn({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(Dt,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),Dt.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var s2=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],c2=[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],Td=new rt({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:Dt.ACES,toXYZ_M:s2,fromXYZ_M:c2,formats:{color:{}}}),Rn=Math.pow(2,-16),To=-.35828683,kn=(Math.log2(65504)+9.72)/17.52,d2=new rt({id:"acescc",name:"ACEScc",coords:{r:{range:[To,kn],name:"Red"},g:{range:[To,kn],name:"Green"},b:{range:[To,kn],name:"Blue"}},referred:"scene",base:Td,toBase:function(t){var r=-.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-Rn)*2:a1?a-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:a,i=n.instance,o=i===void 0?!0:i,u=n.returns,l=function(){var c=a.apply(void 0,arguments);if(u==="color")c=e.get(c);else if(u==="function"){var d=c;c=function(){var p=d.apply(void 0,arguments);return e.get(p)},Object.assign(c,d)}else u==="array"&&(c=c.map(function(f){return e.get(f)}));return c};r in e||(e[r]=l),o&&(e.prototype[r]=function(){for(var s=arguments.length,c=new Array(s),d=0;d"u"?i:new Proxy(i,{has:function(u,l){try{return ee.resolveCoord([t,l]),!0}catch{}return Reflect.has(u,l)},get:function(u,l,s){if(l&&k(l)!=="symbol"&&!(l in u)){var c=ee.resolveCoord([t,l]),d=c.index;if(d>=0)return u[d]}return Reflect.get(u,l,s)},set:function(u,l,s,c){if(l&&k(l)!=="symbol"&&!(l in u)||l>=0){var d=ee.resolveCoord([t,l]),f=d.index;if(f>=0)return u[f]=s,n.setAll(e,u),!0}return Reflect.set(u,l,s,c)}})},set:function(n){this.setAll(e,n)},configurable:!0,enumerable:!0})}lt.extend(Co),lt.extend({deltaE:va}),lt.extend(G0),lt.extend({contrast:g0}),lt.extend(y0),lt.extend(Qy),lt.extend(Y0),lt.extend(xn),Ec.default.templateSettings.strip=!1;var p2=/^#[0-9a-f]{3,8}$/i,m2=/hsl\(\s*([\d.]+)(rad|turn)/,h2=function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;_t(this,e),this.red=t,this.green=r,this.blue=a,this.alpha=n}return xt(e,[{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),a=Math.round(this.green).toString(16),n=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?a:"0"+a)+(this.blue>15.5?n:"0"+n)}},{key:"toJSON",value:function(){var r=this.red,a=this.green,n=this.blue,i=this.alpha;return{red:r,green:a,blue:n,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(m2,function(n,i,o){var u=i+o;switch(o){case"rad":return n.replace(u,v2(i));case"turn":return n.replace(u,g2(i))}});try{var a=new lt(r).to("srgb");this.red=Math.round(So(a.r,0,1)*255),this.green=Math.round(So(a.g,0,1)*255),this.blue=Math.round(So(a.b,0,1)*255),this.alpha=+a.alpha}catch{throw new Error('Unable to parse color "'.concat(r,'"'))}return this}},{key:"parseRgbString",value:function(r){this.parseString(r)}},{key:"parseHexString",value:function(r){!r.match(p2)||[6,8].includes(r.length)||this.parseString(r)}},{key:"parseColorFnString",value:function(r){this.parseString(r)}},{key:"getRelativeLuminance",value:function(){var r=this.red/255,a=this.green/255,n=this.blue/255,i=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),o=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),u=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4);return .2126*i+.7152*o+.0722*u}}]),e}(),Se=h2;function So(e,t,r){return Math.min(Math.max(t,e),r)}function v2(e){return e*180/Math.PI}function g2(e){return e*360}function b2(e){var t=new Se;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r}return t}var vr=b2;function y2(e){var t=w.getComputedStyle(e);return fn(e,t)||vr(t).alpha===1}var w2=y2;function Oo(e){if(!e.href)return!1;var t=ue.get("firstPageLink",D2);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:!0}function D2(){var e;return w.location.origin?e=ct(y._tree,'a[href]:not([href^="javascript:"])').find(function(t){return!ji(t.actualNode)}):e=ct(y._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var _2=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,x2=/(\w+)\((\d+)/;function E2(e){var t=e.getPropertyValue("clip").match(_2),r=e.getPropertyValue("clip-path").match(x2);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 C2(e,t,r){var a=Fr(e,"map");if(!a)return!1;var n=a.getAttribute("name");if(!n)return!1;var i=We(e);if(!i||i.nodeType!==9)return!1;var o=ct(y._tree,'img[usemap="#'.concat(Re(n),'"]'));return!o||!o.length?!1:o.some(function(u){var l=u.actualNode;return Sn(l,t,r)})}function Sn(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof Ve?e:le(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=w.Node)!==null&&a!==void 0?a:{},u=o.DOCUMENT_NODE,l=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===u)return!0;if(["style","script","noscript","template"].includes(c))return!1;if(e&&s===l&&(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=Sn(f,t,!0)),n&&(n[i]=p),p}var m=w.getComputedStyle(e,null);if(m===null)return!1;if(c==="area")return C2(e,t,r);if(m.getPropertyValue("display")==="none")return!1;var h=parseInt(m.getPropertyValue("height")),b=parseInt(m.getPropertyValue("width")),v=Pt(e),g=v&&h===0,D=v&&b===0,_=m.getPropertyValue("position")==="absolute"&&(h<2||b<2)&&m.getPropertyValue("overflow")==="hidden";if(!t&&(E2(m)||m.getPropertyValue("opacity")==="0"||g||D||_)||!r&&(m.getPropertyValue("visibility")==="hidden"||!t&&Za(e)))return!1;var F=e.assignedSlot?e.assignedSlot:e.parentNode,R=!1;return F&&(R=Sn(F,t,!0)),n&&(n[i]=R),R}var A2=Sn;function F2(e,t){for(var r=["fixed","sticky"],a=[],n=!1,i=0;iMath.ceil(o.left+o.width)||Math.floor(u.top+u.height)>Math.ceil(o.top+o.height))})}function Id(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:M,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 We(n)===r}).reduce(function(n,i){if(Ya(i)){var o=Id(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&Md(n[0],i)&&n.push(i)}else n.push(i);return n},[])}var R2=Id;function k2(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=M.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=O2(i),u=o.pathname,l=o.filename;return{protocol:n,hostname:a.hostname,port:S2(a.port),pathname:/\/$/.test(u)?u:"".concat(u,"/"),search:M2(a.search),hash:N2(a.hash),filename:l}}}function S2(e){var t=["443","80"];return t.includes(e)?"":e}function O2(e){var t=e.split("/").pop();return!t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function M2(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 w.HTMLBodyElement||t instanceof w.HTMLHtmlElement:!0}var Mo=P2,Pd=0,L2=function(e){Zn(r,e);var t=Jn(r);function r(a,n,i){var o;if(_t(this,r),o=t.call(this),o.shadowId=i,o.children=[],o.actualNode=a,o.parent=n,n||(Pd=0),o.nodeIndex=Pd++,o._isHidden=null,o._cache={},o._isXHTML=Ba(a.ownerDocument),a.nodeName.toLowerCase()==="input"){var u=a.getAttribute("type");u=o._isXHTML?u:(u||"").toLowerCase(),Ln().includes(u)||(u="text"),o._type=u}return ue.get("nodeMap")&&ue.get("nodeMap").set(a,Du(o)),o}return xt(r,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var n=this.actualNode,i=n.nodeType,o=n.nodeName,u=n.id,l=n.nodeValue;this._cache.props={nodeType:i,nodeName:this._isXHTML?o:o.toLowerCase(),id:u,type:this._type,nodeValue:l},i===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate)}return this._cache.props}},{key:"attr",value:function(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 w.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=w.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=ke(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=As(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}(Ve),No=L2;function B2(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Ye=B2,gr=" [idsMap]";function Ld(e,t,r){var a=e[0]._selectorMap;if(a){for(var n=e[0].shadowId,i=0;i1&&t[i].some(function(l){return Bd(l)}))return;var o=new Set;t.forEach(function(l){var s,c=q2(l,a,n);c==null||(s=c.nodes)===null||s===void 0||s.forEach(function(d){c.isComplexSelector&&!_r(d,l)||o.add(d)})});var u=[];return o.forEach(function(l){return u.push(l)}),r&&(u=u.filter(r)),u.sort(function(l,s){return l.nodeIndex-s.nodeIndex})}}function q2(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(Bd(a))n=t["*"];else{if(a.id){var o;if(!t[gr]||!Object.hasOwn(t[gr],a.id)||!((o=t[gr][a.id])!==null&&o!==void 0&&o.length))return;n=t[gr][a.id].filter(function(h){return h.shadowId===r})}if(a.tag&&a.tag!=="*"){var u;if(!((u=t[a.tag])!==null&&u!==void 0&&u.length))return;var l=t[a.tag];n=n?Io(l,n):l}if(a.classes){var s;if(!((s=t["[class]"])!==null&&s!==void 0&&s.length))return;var c=t["[class]"];n=n?Io(c,n):c}if(a.attributes)for(var d=0;d0&&arguments[0]!==void 0?arguments[0]:M.documentElement,t=arguments.length>1?arguments[1]:void 0;Po=!1;var r={};ue.set("nodeMap",new WeakMap),ue.set("selectorMap",r);var a=jd(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=Po,a}function j2(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Bo(e,t,r){var a=new No(e,t,r);return qd(a,ue.get("selectorMap")),a}function jd(e,t,r){var a,n,i;function o(u,l,s){var c=jd(l,t,s);return c&&(u=u.concat(c)),u}return e.documentElement&&(e=e.documentElement),i=e.nodeName.toLowerCase(),Ya(e)?(Po=!0,a=Bo(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=n.reduce(function(u,l){return o(u,l,a)},[]),[a]):i==="content"&&typeof e.getDistributedNodes=="function"?(n=Array.from(e.getDistributedNodes()),n.reduce(function(u,l){return o(u,l,r)},[])):i==="slot"&&typeof e.assignedNodes=="function"?(n=Array.from(e.assignedNodes()),n.length||(n=j2(e)),w.getComputedStyle(e),n.reduce(function(u,l){return o(u,l,r)},[])):e.nodeType===1?(a=Bo(e,r,t),n=Array.from(e.childNodes),a.children=n.reduce(function(u,l){return o(u,l,a)},[]),[a]):e.nodeType===3?[Bo(e,r)]:void 0}function z2(e){return e?e.trim().split("-")[0].toLowerCase():""}var br=z2;function V2(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=y._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 Bo=z2;function qo(){var e=y._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var zd=se.resultGroups;function ba(e,t){var r=y.utils.aggregateResult(e);return zd.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){if(k(i.node)==="object"){var o=Vd(i.node,t);Object.assign(i,o)}return delete i.result,delete i.node,V2(i,t),i})),zd.forEach(function(i){return delete n[i]}),delete n.pageLevel,delete n.result,n})}),r}function V2(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){return Vd(n,t)})})})}function Vd(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=ft.dqElmToSpec(e,t);var r={};if(y._audit.noHtml)r.html=null;else{var a;r.html=(a=e.source)!==null&&a!==void 0?a:"Undefined"}if(t.elementRef&&!e.fromFrame){var n;r.element=(n=e.element)!==null&&n!==void 0?n:null}if(t.selectors!==!1||e.fromFrame){var i;r.target=(i=e.selector)!==null&&i!==void 0?i:[":root"]}if(t.ancestry){var o;r.ancestry=(o=e.ancestry)!==null&&o!==void 0?o:[":root"]}if(t.xpath){var u;r.xpath=(u=e.xpath)!==null&&u!==void 0?u:["/"]}return r}var H2=/\$\{\s?data\s?\}/g;function Mn(e,t){if(typeof t=="string")return e.replace(H2,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 Hd(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 Mn(r,t)}return Mn(e,t)}if(typeof e=="string")return Mn(e,t);if(typeof t=="string"){var a=e[t];return Mn(a,t)}var n=e.default||qo();return t&&t.messageKey&&e[t.messageKey]&&(n=e[t.messageKey]),Hd(n,t)}}var jo=Hd;function $2(e,t,r){var a=y._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 jo(a.messages[t],r)}var U2=$2;function G2(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 Nn=G2;function Yt(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w;return t&&k(t)==="object"?t:k(r)!=="object"?{}:{testEngine:{name:"axe-core",version:y.version},testRunner:{name:y._audit.brand},testEnvironment:W2(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function W2(e){if(!e.navigator||k(e.navigator)!=="object")return{};var t=e.navigator,r=e.innerHeight,a=e.innerWidth,n=Y2(e)||{},i=n.angle,o=n.type;return{userAgent:t.userAgent,windowWidth:a,windowHeight:r,orientationAngle:i,orientationType:o}}function Y2(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function $d(e,t){var r=t.focusable,a=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:r&&X2(e),size:K2(e),page:a}}function X2(e){var t=e.getAttribute("tabindex");if(!t)return!0;var r=parseInt(t,10);return isNaN(r)||r>=0}function K2(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 Z2(e){if(Gd(e)){var t=" must be used inside include or exclude. It should not be on the same object.";Xt(!It(e,"fromFrames"),"fromFrames"+t),Xt(!It(e,"fromShadowDom"),"fromShadowDom"+t)}else if(zo(e))e={include:e,exclude:[]};else return{include:[M],exclude:[]};var r=Ud(e.include);r.length===0&&r.push(M);var a=Ud(e.exclude);return{include:r,exclude:a}}function J2(e){return Gd(e)||zo(e)}function Ud(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];Yd(e)||(e=[e]);for(var r=0;r1)nw(e,t,i);else{var o=Ko(i[0]);r.push.apply(r,re(o.map(function(u){return le(u)})))}}return r.filter(function(u){return u})}function nw(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=Ko(a);n.forEach(function(i){var o=e.frames.find(function(u){return u.node===i});o||(o=$d(i,e),e.frames.push(o)),o[t].push(r)})}function In(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=k((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=Z2(e),this.flatTree=t??Po(lw(e)),this.exclude=e.exclude,this.include=e.include,this.include=Xd(this,"include"),this.exclude=Xd(this,"exclude"),Xo("frame, iframe",this).forEach(function(u){$o(u,o)&&iw(o,u.actualNode)}),typeof this.page>"u"&&(this.page=ow(this),this.frames.forEach(function(u){u.page=o.page})),uw(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Go)}function iw(e,t){!Fe(t)||Qr(e.frames,"node",t)||e.frames.push($d(t,e))}function ow(e){var t=e.include;return t.length===1&&t[0].actualNode===M.documentElement}function uw(e){if(e.include.length===0&&e.frames.length===0){var t=yt.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function lw(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 In(e),a=r.frames;return a.map(function(n){var i=n.node,o=Pe(n,tp);o.initiator=!1;var u=ja(i);return{frameSelector:u,frameContext:o}})}function Kd(e){var t=y._audit.rules.find(function(r){var a=r.id;return a===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function cw(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=w.getComputedStyle(e),i=Zd(n,"overflow-x"),o=Zd(n,"overflow-y");if(r&&i||a&&o)return{elm:e,top:e.scrollTop,left:e.scrollLeft}}}function Zd(e,t){var r=e.getPropertyValue(t);return["scroll","auto"].includes(r)}var Pt=Le(cw);function Jd(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=Pt(r);return a&&t.push(a),t.concat(Jd(r))},[])}function dw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:w,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(Jd(M.body))}var fw=dw;function pw(){return Mt(he)}function mw(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,u=t.priority,l=t.isLink,s=l===void 0?!1:l,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:u}}}var Qd=mw,st;function hw(e){if(st&&st.parentNode)return st.styleSheet===void 0?st.appendChild(M.createTextNode(e)):st.styleSheet.cssText+=e,st;if(e){var t=M.head||M.getElementsByTagName("head")[0];return st=M.createElement("style"),st.type="text/css",st.styleSheet===void 0?st.appendChild(M.createTextNode(e)):st.styleSheet.cssText=e,t.appendChild(st),st}}var vw=hw;function e1(e,t){var r=le(e);if(e.nodeType===9)return!1;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var a=w.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=e1(n,!0);return r&&(r._isHidden=i),i}var gw=e1;function bw(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:!!he.htmlElms[a]}var Ho=bw;function $o(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 lr(c,e)});if(o.length===0)return!1;var u=i.filter(function(c){return lr(c,e)});if(u.length===0)return!0;var l=t1(o),s=t1(u);return lr(s,l)}function t1(e){var t,r=Ae(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;(!t||!lr(n,t))&&(t=n)}}catch(i){r.e(i)}finally{r.f()}return t}function Uo(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})}function yw(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Go=yw;function De(e){return e instanceof Ve?{vNode:e,domNode:e.actualNode}:{vNode:le(e),domNode:e}}function ww(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 u=o.filter(function(c){return c.href}).map(function(c){return c.href}).filter(function(c){return!a.includes(c)}),l=u.map(function(c,d){var f=[].concat(re(r),[d]),p=/^https?:\/\/|^\/\//i.test(c);return Yo(c,t,f,a,p)}),s=i.filter(function(c){return c.type!==3});return s.length&&l.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(l)}var r1=ww;function Dw(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,i=_w(e);return i?r1(e,t,r,a,n):Yo(e.href,t,r,a,!0)}function _w(e){try{var t=e.cssRules;return!(!t&&e.href)}catch{return!1}}var Wo=Dw;function xw(e,t,r,a,n){return a.push(e),new Promise(function(i,o){var u=new w.XMLHttpRequest;u.open("GET",e),u.timeout=se.preload.timeout,u.addEventListener("error",o),u.addEventListener("timeout",o),u.addEventListener("loadend",function(l){if(l.loaded&&u.responseText)return i(u.responseText);o(u.responseText)}),u.send()}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId});return Wo(o.sheet,t,r,a,o.isCrossOrigin)})}var Yo=xw,Ew=function(){function e(){if(w.performance&&w.performance)return w.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){w.performance&&w.performance.mark!==void 0&&w.performance.mark(n)},measure:function(n,i,o){w.performance&&w.performance.measure!==void 0&&w.performance.measure(n,i,o)},logMeasures:function(n){function i(c){ir("Measure "+c.name+" took "+c.duration+"ms")}if(w.performance&&w.performance.getEntriesByType!==void 0)for(var o=w.performance.getEntriesByName("mark_axe_start")[0],u=w.performance.getEntriesByType("measure").filter(function(c){return c.startTime>=o.startTime}),l=0;l"].includes(_[0].combinator)===!1)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+D[1].combinator);_[0].combinator===">"?(d=d||[]).push(_):(f=f||[]).push(_)}(!D[0].id||c.shadowId===o.parentShadowId)&&(g=o.anyLevel)!==null&&g!==void 0&&g.includes(D)&&(f=f||[]).push(D)}for(c.children&&c.children.length&&(n.push(o),o=n1(c.children,f,d,c.shadowId,a.pop()));o.vNodesIndex===o.vNodes.length&&n.length;)a.push(o),o=n.pop()}return u}function Fw(e,t,r){e=Array.isArray(e)?e:[e];var a=za(t),n=Ld(e,a,r);return n||Aw(e,a,r)}var kt=Fw;function Tw(e){var t=e.treeRoot,r=t===void 0?y._tree[0]:t,a=Rw(r);if(!a.length)return Promise.resolve();var n=M.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=Qd(n);return kw(a,i).then(function(o){return o1(o)})}var i1=Tw;function Rw(e){var t=[],r=kt(e,"*",function(a){return t.includes(a.shadowId)?!1:(t.push(a.shadowId),!0)}).map(function(a){return{shadowId:a.shadowId,rootNode:ea(a.actualNode)}});return ya(r,[])}function kw(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,u=Sw(i,o,t);if(!u)return Promise.all(r);var l=n+1,s={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],d=Promise.all(u.map(function(f,p){var m=[l,p];return Wo(f,s,m,c)}));r.push(d)}),Promise.all(r)}function o1(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(o1(r)):t.concat(r)},[])}function Sw(e,t,r){var a;return e.nodeType===11&&t?a=Ow(e,r):a=Mw(e),Iw(a)}function Ow(e,t){return Array.from(e.children).filter(Nw).reduce(function(r,a){var n=a.nodeName.toUpperCase(),i=n==="STYLE"?a.textContent:a,o=n==="LINK",u=t({data:i,isLink:o,root:e});return u.sheet&&r.push(u.sheet),r},[])}function Mw(e){return Array.from(e.styleSheets).filter(function(t){return t.media?u1(t.media.mediaText):!1})}function Nw(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&&u1(e.media)}function u1(e){return e?!e.toUpperCase().includes("PRINT"):!0}function Iw(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?!1:(t.push(r.href),!0):!0})}function Pw(e){var t=e.treeRoot,r=t===void 0?y._tree[0]:t,a=kt(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(u){return!!u.getAttribute("src")});return!(o.length<=0)});return Promise.all(a.map(function(n){var i=n.actualNode;return Lw(i)}))}var l1=Pw;function Lw(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e)}e.addEventListener("loadedmetadata",r)})}function s1(e){var t={cssom:i1,media:l1};return c1(e)?new Promise(function(r,a){var n=d1(e),i=n.assets,o=n.timeout,u=setTimeout(function(){return a(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(l){return t[l](e).then(function(s){return lp({},l,s)})})).then(function(l){var s=l.reduce(function(c,d){return fe({},c,d)},{});clearTimeout(u),r(s)}).catch(function(l){clearTimeout(u),a(l)})}):Promise.resolve()}function Bw(e){return k(e)==="object"&&Array.isArray(e.assets)}function c1(e){return!e||e.preload===void 0||e.preload===null?!0:typeof e.preload=="boolean"?e.preload:Bw(e.preload)}function d1(e){var t=se.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=ya(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 Pn(e){var t=y._audit.data.checks||{},r=y._audit.data.rules||{},a=Qr(y._audit.rules,"id",e.id)||{};e.tags=Mt(a.tags||[]);var n=f1(t,!0,a),i=f1(t,!1,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i)}),Ti(e,Mt(r[e.id]||{}))}function qw(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:qo()}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 f1(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?(k(i.incomplete)==="object"&&!Array.isArray(a.data)&&(o.message=qw(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=jo(o.message,a.data)),Ti(a,o)}}function jw(e,t){return kt(e,t)}var ct=jw;function p1(e,t){var r,a,n,i=y._audit&&y._audit.tagExclude?y._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 zw(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?p1(e,a.values):p1(e,[])}var m1=zw;function h1(e,t){if(!t)return e;var r=e.cloneNode(!1),a=La(r);if(r.nodeType===1){var n=r.outerHTML;r=ue.get(n,function(){return v1(r,a,e,t)})}else r=v1(r,a,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(h1(i,t))}),r}function v1(e,t,r,a){return t&&(e=M.createElement(e.nodeName),Array.from(t).forEach(function(n){Vw(r,n.name,a)||e.setAttribute(n.name,n.value)})),e}function Vw(e,t,r){return typeof r[t]>"u"?!1:r[t]===!0?!0:Dr(e,r[t])}function Xo(e,t){var r=[],a;if(y._selectCache)for(var n=0,i=y._selectCache.length;n1&&arguments[1]!==void 0?arguments[1]:M,r=Array.isArray(e)?re(e):[e];return e.length===0?[]:b1(r,t)}function b1(e,t){var r=up(e),a=r[0],n=r.slice(1),i=t.querySelectorAll(a);if(n.length===0)return Array.from(i);var o=[],u=Ae(i),l;try{for(u.s();!(l=u.n()).done;){var s=l.value;s!=null&&s.shadowRoot&&o.push.apply(o,re(b1(n,s.shadowRoot)))}}catch(c){u.e(c)}finally{u.f()}return o}function Kw(){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 Ln=Kw,y1=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],,[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,,1,,1,1,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,,,1,,1,,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,,,1,1,,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],,[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,,,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],,[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,,,,,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,,,1,,,,,1],[,,1,,,,,,,1,,,1,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],,[,1,,,,,,,,1,1,1,1,1,,1,1,,,,1,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,,1,,1,1,1,,,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 Zw(e){for(var t=y1;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 w1(e){e=Array.isArray(e)?e:y1;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat(w1(r).map(function(i){return n+i})):t.push(n)}),t}var Bn=Zw,Jw=function(e){Kn(r,e);var t=Zn(r);function r(a){var n;return _t(this,r),n=t.call(this),n._props=eD(a),n._attrs=tD(a),n}return xt(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}(Ve),Zo={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},D1={},Qw=Object.keys(Zo);Qw.forEach(function(e){D1[Zo[e]]=e});function eD(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:D1[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:Zo[e.nodeName])!==null&&r!==void 0?r:1;me(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),me(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(),Ln().includes(o)||(o="text"));var u=fe({},e,{nodeType:i,nodeName:n});return o&&(u.type=o),delete u.attributes,Object.freeze(u)}function tD(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(me(k(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var u=a[i]||i;n[u]=o!==null?String(o):null}return n},{})}var _1=Jw;function rD(e,t){if(e=e||function(){},t=t||y.log,!y._audit)throw new Error("No audit configured");var r=y.utils.queue(),a=[];Object.keys(y.plugins).forEach(function(i){r.defer(function(o){var u=function(s){a.push(s),o()};try{y.plugins[i].cleanup(o,u)}catch(l){u(l)}})});var n=y.utils.getFlattenedTree(M.body);y.utils.querySelectorAll(n,"iframe, frame").forEach(function(i){r.defer(function(o,u){return y.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,u)})}),r.then(function(i){a.length===0?e(i):t(a)}).catch(t)}var x1=rD,wa={},E1;function C1(e){return wa.hasOwnProperty(e)}function Jo(e){return typeof e=="string"&&wa[e]?wa[e]:typeof e=="function"?e:E1}function aD(e,t,r){wa[e]=t,r&&(E1=t)}function nD(e){var t;if(t=y._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=V(a,2),i=n[0],o=n[1],u=i.split(".").map(Number),l=V(u,3),s=l[0],c=l[1],d=l[2],f=y.version.split("-"),p=V(f,2),m=p[0],h=p[1],b=m.split(".").map(Number),v=V(b,3),g=v[0],D=v[1],_=v[2];if(s!==g||D1&&arguments[1]!==void 0?arguments[1]:!0,r=De(e),a=r.vNode;if(!Ho(a))return[];var n=a.props.nodeName,i=At(a)||mD[n],o=hD(a);return o.filter(function(u){return!gD(u,a,t,i)})}function gD(e,t,r,a){return r&&e===a?!0:pD.includes(e)&&Tt(e)!==a?!1:R1(t,e)}var k1=vD;function bD(e){return Object.keys(he.ariaRoles).filter(function(t){return he.ariaRoles[t].type===e})}var Nr=bD;function yD(e){return Nr(e)}var wD=yD;function DD(){return ue.get("ariaRolesNameFromContent",function(){return Object.keys(he.ariaRoles).filter(function(e){return he.ariaRoles[e].nameFromContent})})}var eu=DD;function _D(){return eu()}var xD=_D,S1=function(t){return t===null},Xe=function(t){return t!==null},Lt={};Lt.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}},Lt.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"],Lt.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:Xe}}]},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:Xe}}]},"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:Xe}}]},"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:Xe}}]},"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:Xe}}]},"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:Xe}}]},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:Xe}}]},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:Xe}}]},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:Xe}}]},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:Xe}}]},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:Xe}}]},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:Xe}}]},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:Xe}}]},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:Xe}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},Lt.implicitHtmlRole=Wi,Lt.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:Xe}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Xe}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof y.AbstractVirtualNode||(t=y.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"]}],Lt.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:S1}},{nodeName:"img",attributes:{alt:S1}},{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"]}],Lt.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=y.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=y.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}},Lt.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 O1=Lt;function ED(e){var t=null,r=O1.role[e];return r&&r.implicit&&(t=Mt(r.implicit)),t}var CD=ED;function AD(e){return!!Qo(e).length}var qn=AD;function tu(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.popupRoles,n=ce(e);if((t=a)!==null&&t!==void 0||(a=Ts["aria-haspopup"].values),!a.includes(n))return!1;var i=FD(e);if(M1(i))return!0;var o=e.props.id;if(!o)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var u=ea(e.actualNode),l=u.querySelectorAll('[aria-owns~="'.concat(o,`"][role~="combobox"]:not(select), - [aria-controls~="`).concat(o,'"][role~="combobox"]:not(select)'));return Array.from(l).some(M1)}var M1=function(t){return t&&ce(t)==="combobox"};function FD(e){for(;e=e.parent;)if(ce(e,{noPresentational:!0})!==null)return e;return null}function TD(e){return e=le(e),sn(e)}var N1=TD;function RD(e){var t=he.ariaRoles[e];return!t||!Array.isArray(t.requiredAttrs)?[]:re(t.requiredAttrs)}var I1=RD;function kD(e){var t=he.ariaRoles[e];return!t||!Array.isArray(t.requiredContext)?null:re(t.requiredContext)}var ru=kD;function SD(e){var t=he.ariaRoles[e];return!t||!Array.isArray(t.requiredOwned)?null:re(t.requiredOwned)}var au=SD;function OD(e,t){e=e instanceof Ve?e:le(e);var r,a,n=e.attr(t),i=he.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=Ye(n),a.reduce(function(l,s){return l&&i.values.includes(s)},a.length!==0);case"idref":try{var o=We(e.actualNode);return!!(n&&o.getElementById(n))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return Ct(e,t).some(function(l){return!!l});case"string":return n.trim()!=="";case"decimal":return r=n.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case"int":var u=typeof i.minValue<"u"?i.minValue:-1/0;return/^[-+]?[0-9]+$/.test(n)&&parseInt(n)>=u}}var P1=OD;function MD(e){var t=he.ariaAttrs[e];return!!t}var jn=MD;function ND(e,t,r){var a=Ye(r.attr("role")).filter(function(n){return Tt(n)==="abstract"});return a.length>0?(this.data(a),!0):!1}var ID=ND;function PD(e,t,r){var a=[],n=ce(r),i=F1(n);Array.isArray(t[n])&&(i=ya(t[n].concat(i)));var o=Ae(r.attrNames),u;try{for(o.s();!(u=o.n()).done;){var l=u.value;jn(l)&&!i.includes(l)&&a.push(l)}}catch(s){o.e(s)}finally{o.f()}if(!a.length)return!0;if(this.data(a.map(function(s){return s+'="'+r.attr(s)+'"'})),!(!n&&!Ho(r)&&!ke(r)))return!1}function LD(e){var t=arguments.length>1&&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,u=r.props.nodeName;if(o.map(function(s){return s.toLowerCase()}).includes(u))return!0;var l=k1(r,n);return l.length?(this.data(l),Fe(r)?!1:void 0):!0}var BD=LD;function qD(e,t,r){return r.attr("aria-busy")==="true"}function L1(e,t,r){var a=r.props,n=a.nodeName,i=a.type,o=zD(r.attr("aria-checked"));if(n!=="input"||i!=="checkbox"||!o)return!0;var u=jD(r);return o===u?!0:(this.data({messageKey:"checkbox",checkState:u}),!1)}function jD(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function zD(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}function B1(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=n==null||(r=n.filter)===null||r===void 0?void 0:r.call(n,function(c){return i.hasAttr(c)}))!==null&&t!==void 0?t:[];if(o.length===0)return!0;var u=VD(i),l=u&&ce(u);if(!l||l==="treegrid")return!0;var s="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:s,invalidAttrs:o,ownerRole:l}),!1}function VD(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return nt(e,t)}}var q1={row:B1,checkbox:L1};function HD(e,t,r){var a=ce(r);return q1[a]?q1[a].call(this,e,t,r):!0}function $D(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 u(l){if(l.trim()==="")return he.ariaAttrs["aria-errormessage"].allowEmpty;var s;try{s=l&&Ct(r,"aria-errormessage")[0]}catch{this.data({messageKey:"idrefs",values:Ye(l)});return}if(s)return Fe(s)?s.getAttribute("role")==="alert"||s.getAttribute("aria-live")==="assertive"||s.getAttribute("aria-live")==="polite"||Ye(r.attr("aria-describedby")).indexOf(l)>-1:(this.data({messageKey:"hidden",values:Ye(l)}),!1)}return t.indexOf(a)===-1&&n?(this.data(Ye(a)),u.call(this,a)):!0}function UD(e,t,r){return r.attr("aria-hidden")!=="true"}var GD=UD;function WD(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return!0}var YD=WD;function XD(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=ce(r,{chromium:!0}),o=KD(i,n,a),u=o.filter(function(c){return r.attrNames.includes(c)?ae(r.attr(c))!=="":!1});if(u.length===0)return!1;var l=r.hasAttr("role")?"hasRole":"noRole";l+=u.length>1?"Plural":"Singular",this.data({role:i,nodeName:n,messageKey:l,prohibited:u});var s=Vt(r,{subtreeDescendant:!0});if(ae(s)==="")return!0}function KD(e,t,r){var a=he.ariaRoles[e];return a?a.prohibitedAttrs||[]:e||r.includes(t)?[]:["aria-label","aria-labelledby"]}var j1={};vt(j1,{getAriaRolesByType:function(){return Nr},getAriaRolesSupportingNameFromContent:function(){return eu},getElementSpec:function(){return mr},getElementsByContentType:function(){return Ui},getGlobalAriaAttrs:function(){return fr},implicitHtmlRoles:function(){return Wi}});function ZD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=xe(r),n=r.attrNames,i=I1(a);if(Array.isArray(t[a])&&(i=ya(t[a],i)),!a||!n.length||!i.length||JD(r,a)||e_(r,a))return!0;var o=mr(r),u=i.filter(function(l){return!r.attr(l)&&!QD(o,l)});return u.length?(this.data(u),!1):!0}function JD(e,t){return t==="separator"&&!ke(e)}function QD(e,t){var r;return((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function e_(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function t_(e,t,r){var a=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=xe(r,{dpub:!0}),i=au(n);if(i===null)return!0;var o=r_(r,i),u=o.filter(function(l){var s=l.role,c=l.vNode;return c.props.nodeType===1&&!i.includes(s)});if(u.length)return this.relatedNodes(u.map(function(l){var s=l.vNode;return s})),this.data({messageKey:"unallowed",values:u.map(function(l){var s=l.vNode,c=l.attr;return i_(s,c)}).filter(function(l,s,c){return c.indexOf(l)===s}).join(", ")}),!1;if(a_(i,o))return!0;if(this.data(i),!(a.includes(n)&&!o.some(o_)))return!1}function r_(e,t){for(var r,a=[],n=oa(e),i=function(){if(r.props.nodeType===3&&a.push({vNode:r,role:null}),r.props.nodeType!==1||!Fe(r))return"continue";var l=ce(r,{noPresentational:!0}),s=n_(r),c=!!s||ke(r);if(!l&&!c||["group","rowgroup"].includes(l)&&t.some(function(f){return f===l}))n.push.apply(n,re(r.children));else if(l||c){var d=s||"tabindex";a.push({role:l,attr:d,vNode:r})}};r=n.shift();)var o=i();return a}function a_(e,t){return t.some(function(r){var a=r.role;return a&&e.includes(a)})}function n_(e){return fr().find(function(t){return e.hasAttr(t)})}function i_(e,t){var r=e.props,a=r.nodeName,n=r.nodeType;if(n===3)return"#text";var i=xe(e,{dpub:!0});return i?"[role=".concat(i,"]"):t?a+"[".concat(t,"]"):a}function o_(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:la(t,!1,!0)}function z1(e,t,r,a){var n=xe(e);if(r||(r=ru(n)),!r)return null;for(var i=r.includes("group"),o=a?e:e.parent;o;){var u=ce(o,{noPresentational:!0});if(!u)o=o.parent;else if(u==="group"&&i)t.includes(n)&&r.push(n),r=r.filter(function(l){return l!=="group"}),o=o.parent;else return r.includes(u)?null:r}return r}function u_(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=Re(e.getAttribute("id")),n=We(e);r=n.querySelector("[aria-owns~=".concat(a,"]")),r&&t.push(r)}e=e.parentElement}return t.length?t:null}function l_(e,t,r){var a=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=z1(r,a);if(!n)return!0;var i=u_(e);if(i){for(var o=0,u=i.length;o1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=ce(r),n=t.supportedRoles||[];if(n.includes(a))return!0;if(!(a&&a!=="presentation"&&a!=="none"))return!1}var d_=c_;function f_(e,t,r){var a=r.attrNames.filter(function(n){var i=he.ariaAttrs[n];if(!jn(n))return!1;var o=i.unsupported;return k(o)!=="object"?!!o:!ia(e,o.exceptions)});return a.length?(this.data(a),!0):!1}var p_=f_;function m_(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)&&!jn(i)&&a.push(i)}),a.length?(this.data(a),!1):!0}var h_=m_;function v_(e,t,r){t=Array.isArray(t.value)?t.value:[];var a="",n="",i=[],o=/^aria-/,u=["aria-errormessage"],l={"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=y._tree&&y._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(c){c||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=y._tree&&y._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};if(r.attrNames.forEach(function(s){if(!(u.includes(s)||t.includes(s)||!o.test(s))){var c,d=r.attr(s);try{c=P1(r,s)}catch{a="".concat(s,'="').concat(d,'"'),n="idrefs";return}(!l[s]||l[s](c))&&!c&&(d===""&&!g_(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 g_(e){var t;return((t=he.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function b_(e,t,r){var a,n=(a=r.attr("aria-braillelabel"))!==null&&a!==void 0?a:"";if(!n.trim())return!0;try{return ae($e(r))!==""}catch{return}}function y_(e,t,r){var a,n=(a=r.attr("aria-brailleroledescription"))!==null&&a!==void 0?a:"";if(ae(n)==="")return!0;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),!1):ae(i)===""?(this.data({messageKey:"emptyRoleDescription"}),!1):!0}function w_(e,t,r){var a=ce(r,{dpub:!0,fallback:!0}),n=he.ariaRoles[a];return n!=null&&n.deprecated?(this.data(a),!0):!1}function D_(e,t){var r=At(e);return!r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function __(e,t,r){var a=Ye(r.attr("role"));return a.length<=1?!1:D_(r,a)?void 0:!0}var x_=__;function E_(e,t,r){var a=fr().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var C_=E_;function A_(e){var t=e.getAttribute("role");if(t===null)return!1;var r=Tt(t);return r==="widget"||r==="composite"}var F_=A_;function T_(e,t,r){var a=Ye(r.attr("role")),n=a.every(function(i){return!Rr(i,{allowAbstract:!0})});return n?(this.data(a),!0):!1}var R_=T_;function k_(e,t,r){return ke(r)}var S_=k_;function O_(e,t,r){var a=ce(r,{noImplicit:!0});this.data(a);var n,i;try{n=ae(Zi(r)).toLowerCase(),i=ae($e(r)).toLowerCase()}catch{return}if(!i&&!n)return!1;if(!(!i&&n)&&i.includes(n))return!1}var M_=O_;function N_(e,t,r){var a=ce(r,{dpub:!0,fallback:!0}),n=$i(a);return n&&this.data(a),n}var I_=N_,P_={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},L_={application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,form:!0,main:!0,navigation:!0,region:!0,search:!1};function B_(e){var t=e.nodeName.toUpperCase();return P_[t]||!1}function q_(e,t){var r=xe(e);return r&&(L_[r]||t.roles.includes(r))||!1}function j_(e,t){return q_(e,t)||B_(e)}var z_=j_,V1={};vt(V1,{Color:function(){return Se},centerPointOfRect:function(){return H_},elementHasImage:function(){return fn},elementIsDistinct:function(){return $1},filteredRectStack:function(){return W_},flattenColors:function(){return St},flattenShadowColors:function(){return iu},getBackgroundColor:function(){return _a},getBackgroundStack:function(){return ou},getContrast:function(){return Ir},getForegroundColor:function(){return Hn},getOwnBackgroundColor:function(){return vr},getRectStack:function(){return U1},getStackingContext:function(){return lu},getStrokeColorsFromShadows:function(){return uu},getTextShadowColors:function(){return Vn},hasValidContrastRatio:function(){return hx},incompleteData:function(){return Ue},parseTextShadows:function(){return W1},stackingContextToColor:function(){return Da}});function V_(e){if(!(e.left>w.innerWidth)&&!(e.top>w.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),w.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),w.innerHeight-1);return{x:t,y:r}}}var H_=V_;function H1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function $_(e,t){var r=w.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return!0;var a=["border-bottom","border-top","outline"].reduce(function(u,l){var s=new Se;return s.parseString(r.getPropertyValue(l+"-color")),u||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&s.alpha!==0},!1);if(a)return!0;var n=w.getComputedStyle(t);if(H1(r)[0]!==H1(n)[0])return!0;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(u,l){return u||r.getPropertyValue(l)!==n.getPropertyValue(l)},!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==n.getPropertyValue("text-decoration")),i}var $1=$_;function U_(e){var t=Cs(e),r=no(e);return!r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var U1=U_;function G_(e){var t=U1(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],u=t[i];a=o.every(function(l,s){return l===u[s]})||r.includes(e)}}),a?t[0]:(Ue.set("bgColor","elmPartiallyObscuring"),null)}return Ue.set("bgColor","outsideViewport"),null}var W_=G_;function Y_(e,t,r){return Math.min(Math.max(t,e),r)}var X_={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 nu(e,t,r,a,n){return t*(1-a)*e+t*a*X_[n](r/255,e/255)*255+(1-t)*a*r}function K_(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",a=nu(e.red,e.alpha,t.red,t.alpha,r),n=nu(e.green,e.alpha,t.green,t.alpha,r),i=nu(e.blue,e.alpha,t.blue,t.alpha,r),o=Y_(e.alpha+t.alpha*(1-e.alpha),0,1);if(o===0)return new Se(a,n,i,o);var u=Math.round(a/o),l=Math.round(n/o),s=Math.round(i/o);return new Se(u,l,s,o)}var St=K_;function iu(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 Se(a,n,i,o)}function ou(e){for(var t=no(e).map(function(n){return n=Od(n,e),n=Z_(n),n}),r=0;r1&&a.alpha===0&&!fn(M.documentElement)){t>1&&(r.splice(t,1),r.push(M.body));var n=r.indexOf(M.documentElement);n>0&&(r.splice(n,1),r.push(M.documentElement))}return r}function J_(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.ignoreEdgeCount,a=r===void 0?!1:r,n=tx(e),i=Object.entries(n).map(function(o){var u=V(o,2),l=u[0],s=u[1],c=G1.filter(function(d){return s[d].length!==0}).length;return{colorStr:l,sides:s,edgeCount:c}});return!a&&i.some(function(o){var u=o.edgeCount;return u>1&&u<4})?null:i.map(rx).filter(function(o){return o!==null})}function tx(e){var t={},r=Ae(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value,o=i.colorStr,u=i.pixels;(n=t[o])!==null&&n!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var l=t[o],s=V(u,2),c=s[0],d=s[1];c>zn?l.right.push(c):-c>zn&&l.left.push(-c),d>zn?l.bottom.push(d):-d>zn&&l.top.push(-d)}}catch(f){r.e(f)}finally{r.f()}return t}function rx(e){var t=e.colorStr,r=e.sides,a=e.edgeCount;if(a!==4)return null;var n=new Se;n.parseString(t);var i=0,o=!0;return G1.forEach(function(u){i+=r[u].length/4,o&&(o=r[u].every(function(l){return l>ex}))}),o||(n.alpha=1-Math.pow(Q_,i)),n}function W1(e){var t={pixels:[]},r=e.trim(),a=[t];if(!r)return[];for(;r;){var n=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(n)me(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(n[0],"").trim(),t.colorStr=n[0];else if(i){me(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(i[0],"").trim();var o=parseFloat((i[1][0]==="."?"0":"")+i[1]);t.pixels.push(o)}else if(r[0]===",")me(t.pixels.length>=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(r))}return a.forEach(function(u){var l=u.pixels;l.length===2&&l.push(0)}),a}function Vn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,a=t.maxRatio,n=t.ignoreEdgeCount,i=[],o=w.getComputedStyle(e),u=o.getPropertyValue("text-shadow");if(u==="none")return i;var l=o.getPropertyValue("font-size"),s=parseInt(l);me(isNaN(s)===!1,"Unable to determine font-size value ".concat(l));var c=[],d=W1(u),f=Ae(d),p;try{for(f.s();!(p=f.n()).done;){var m=p.value,h=m.colorStr||o.getPropertyValue("color"),b=V(m.pixels,3),v=b[0],g=b[1],D=b[2],_=D===void 0?0:D;if(!(a&&_>=s*a)){if(r&&_0){var F=uu(c,{ignoreEdgeCount:n});if(F===null)return null;i.push.apply(i,re(F)),c.splice(0,c.length)}var R=ax({colorStr:h,offsetX:v,offsetY:g,blurRadius:_,fontSize:s});i.push(R)}}}catch(L){f.e(L)}finally{f.f()}if(c.length>0){var S=uu(c,{ignoreEdgeCount:n});if(S===null)return null;i.push.apply(i,re(S))}return i}function ax(e){var t=e.colorStr,r=e.offsetX,a=e.offsetY,n=e.blurRadius,i=e.fontSize;if(r>n||a>n)return new Se(0,0,0,0);var o=new Se;return o.parseString(t),o.alpha*=nx(n,i),o}function nx(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function lu(e,t){var r,a=le(e);if(a._stackingContext)return a._stackingContext;var n=[],i=new Map;return t=(r=t)!==null&&r!==void 0?r:ou(e),t.forEach(function(o){var u,l=le(o),s=ux(l),c=l._stackingOrder.filter(function(p){var m=p.vNode;return!!m});c.forEach(function(p,m){var h,b=p.vNode,v=(h=c[m-1])===null||h===void 0?void 0:h.vNode,g=X1(i,b,v);m===0&&!i.get(b)&&n.unshift(g),i.set(b,g)});var d=(u=c[c.length-1])===null||u===void 0?void 0:u.vNode,f=X1(i,l,d);c.length||n.unshift(f),f.bgColor=s}),a._stackingContext=n,n}function Da(e){var t;if(!((t=e.descendants)!==null&&t!==void 0&&t.length)){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var a=e.descendants.reduce(ix,Y1()),n=St(a,e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function ix(e,t){var r;e instanceof Se?r=e:r=Da(e).color;var a=Da(t).color;return St(a,r,t.blendMode)}function Y1(e,t){var r;return{vNode:e,ancestor:t,opacity:parseFloat((r=e==null?void 0:e.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new Se(0,0,0,0),blendMode:ox(e==null?void 0:e.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function ox(e){return e||void 0}function X1(e,t,r){var a,n=e.get(r),i=(a=e.get(t))!==null&&a!==void 0?a:Y1(t,n);return n&&r!==t&&!n.descendants.includes(i)&&n.descendants.unshift(i),i}function ux(e){var t=new Se;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function _a(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=le(e),n=a._cache.getBackgroundColor;if(n)return t.push.apply(t,re(n.bgElms)),Ue.set("bgColor",n.incompleteData),n.bgColor;var i=lx(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:Ue.get("bgColor")},i}function lx(e,t,r){var a,n,i=ou(e);if(!i)return null;var o=ao(e),u=(a=Vn(e,{minRatio:r,ignoreEdgeCount:!0}))!==null&&a!==void 0?a:[];u.length&&(u=[{color:u.reduce(iu)}]);for(var l=0;l=r.top&&u.bottom<=n&&u.left>=r.left&&u.right<=a})}function Z1(e){return e||void 0}function sx(e,t){var r=[];if(!t){var a=M.documentElement,n=M.body,i=w.getComputedStyle(a),o=w.getComputedStyle(n),u=vr(i),l=vr(o),s=l.alpha!==0&&K1(n,e.getBoundingClientRect());(l.alpha!==0&&u.alpha===0||s&&l.alpha!==1)&&r.unshift({color:l,blendMode:Z1(o.getPropertyValue("mix-blend-mode"))}),u.alpha!==0&&(!s||s&&l.alpha!==1)&&r.unshift({color:u,blendMode:Z1(i.getPropertyValue("mix-blend-mode"))})}return r}function cx(e,t){if(!t||!e)return null;t.alpha<1&&(t=St(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return(Math.max(a,r)+.05)/(Math.min(a,r)+.05)}var Ir=cx;function Hn(e,t,r){for(var a,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=w.getComputedStyle(e),o=[function(){return fx(i,n)},function(){return dx(i)},function(){return Vn(e,{minRatio:0})}],u=[],l=0,s=o;lo,contrastRatio:n,expectedContrastRatio:o}}var hx=mx;function vx(e,t,r){var a=t.ignoreUnicode,n=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,u=t.boldTextPt,l=t.largeTextPt,s=t.contrastRatio,c=t.shadowOutlineEmMax,d=t.pseudoSizeThreshold;if(!it(e))return this.data({messageKey:"hidden"}),!0;var f=Ft(r,!1,!0);if(a&&bx(f)){this.data({messageKey:"nonBmp"});return}var p=w.getComputedStyle(e),m=parseFloat(p.getPropertyValue("font-size")),h=p.getPropertyValue("font-weight"),b=parseFloat(h)>=o||h==="bold",v=Math.ceil(m*72)/96,g=b&&vW?"shadowOnBgColor":"fgOnShadowColor")}var B=H>_;if(typeof F=="number"&&(typeof H!="number"||HR))return this.data({contrastRatio:H}),!0;var ne=Math.floor(H*100)/100,E;q===null?E=Ue.get("bgColor"):B||(E=z);var U=ne===1,I=f.length===1;if(U?E=Ue.set("bgColor","equalRatio"):!B&&I&&!n&&(E="shortTextContent"),this.data({fgColor:j?j.toHexString():void 0,bgColor:q?q.toHexString():void 0,contrastRatio:ne,fontSize:"".concat((m*72/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:b?"bold":"normal",messageKey:E,expectedContrastRatio:_+":1",shadowColor:Z?Z.toHexString():void 0}),j===null||q===null||U||I&&!n&&!B){E=null,Ue.clear(),this.relatedNodes(G);return}return B||this.relatedNodes(G),B}function gx(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,u=o.width*o.height*a;do{var l=Q1(e.actualNode,":before"),s=Q1(e.actualNode,":after");if(l+s>u)return e}while(e=e.parent)}}var Q1=Le(function(t,r){var a=w.getComputedStyle(t,r),n=function(l,s){return a.getPropertyValue(l)===s};if(n("content","none")||n("display","none")||n("visibility","hidden")||n("position","absolute")===!1||vr(a).alpha===0&&n("background-image","none"))return 0;var i=ef(a.getPropertyValue("width")),o=ef(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function bx(e){var t={nonBmp:!0},r=eo(e,t),a=ae(ua(e,t))==="";return r&&a}function ef(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],a=V(r,3),n=a[1],i=n===void 0?"":n,o=a[2],u=o===void 0?"":o;return{value:parseFloat(i),unit:u.toLowerCase()}}function tf(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return(Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var yx=["block","list-item","table","flex","grid","inline-block"];function rf(e){var t=w.getComputedStyle(e).getPropertyValue("display");return yx.indexOf(t)!==-1||t.substr(0,6)==="table-"}function wx(e,t){var r=t.requiredContrastRatio,a=t.allowSameColor;if(rf(e))return!1;for(var n=He(e);n&&n.nodeType===1&&!rf(n);)n=He(n);if(n){this.relatedNodes([n]);var i=Hn(e),o=Hn(n),u=_a(e),l=_a(n),s=i&&o?tf(i,o):void 0;if(s&&(s=Math.floor(s*100)/100),s&&s>=r)return!0;var c=u&&l?tf(u,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return!0;if(!c){var d,f=(d=Ue.get("bgColor"))!==null&&d!==void 0?d:"bgContrast";this.data({messageKey:f}),Ue.clear();return}if(s)return a&&s===1&&c===1?!0:s===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:u?u.toHexString():void 0,parentBackgroundColor:l?l.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 Dx=wx,_x=["block","list-item","table","flex","grid","inline-block"];function xx(e){if(af(e))return!1;for(var t=He(e);t&&t.nodeType===1&&!af(t);)t=He(t);if(t){if(this.relatedNodes([t]),$1(e,t))return!0;if(Ex(e)){this.data({messageKey:"pseudoContent"});return}return!1}}function af(e){var t=w.getComputedStyle(e).getPropertyValue("display");return _x.indexOf(t)!==-1||t.substr(0,6)==="table-"}function Ex(e){for(var t=0,r=["before","after"];t"u"?c==="text":s.includes(c)}var Ax=Cx;function Fx(e,t,r){var a=r.attr("autocomplete")||"";return dc(a,t)}var Tx=Fx;function Rx(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=!ae(a);return n?(this.data({messageKey:"emptyAttr"}),!1):!0}var kx=Rx;function Sx(e){var t=e.some(function(r){return r.result===!0});return t&&e.forEach(function(r){r.result=!0}),e}var Ox=Sx;function Mx(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&&sa())return!0;var a=kt(r,t.selector,function(n){return Fe(n)});return this.relatedNodes(a.map(function(n){return n.actualNode})),a.length>0}var Nx=Mx;function Ix(e,t,r){try{return ae(Vt(r))!==""}catch{return}}function Px(e,t,r){return ia(r,t.matcher)}var Lx=Px;function Bx(e){return e.filter(function(t){return t.data!=="ignored"})}var qx=Bx;function jx(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(ue.get(a)){this.data("ignored");return}ue.set(a,!0);var n=kt(y._tree[0],t.selector,function(i){return Fe(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!Ar(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(n=n.filter(function(i){return ce(i)===t.role})),this.relatedNodes(n.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),n.length<=1}var zx=jx;function Vx(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 Hx=Vx;function $x(e,t,r){return zt(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),!0}var Ux=$x;function Gx(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 Wx=Gx;function Yx(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||sa()?!0:i.every(function(o){var u=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),s=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||s===0)&&u==="none"})?void 0:!1}var Xx=Yx;function Kx(e,t,r){if(r.hasAttr("contenteditable")&&a(r))return!0;return wt(r);function a(n){var i=n.attr("contenteditable");if(i==="true"||i==="")return!0;if(i==="false")return!1;var o=nt(r.parent,"[contenteditable]");return o?a(o):!1}}var Zx=Kx;function Jx(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return!0;if(sa()){this.relatedNodes(a);return}return!0}var Qx=Jx;function e5(e,t,r){var a=r.attr("tabindex"),n=ke(r)&&a>-1;if(!n)return!1;try{return!$e(r)}catch{return}}var t5=e5;function r5(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||sa()?!0:i.every(function(o){var u=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),s=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||s===0)&&u==="none"})?void 0:!1}var a5=r5;function n5(e,t,r){if(r.children)try{return!r.children.some(function(a){return nf(a)})}catch{return}}function nf(e){if(wt(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 nf(t)})}function i5(e){var t=Nr("landmark"),r=He(e),a=ce(e);for(this.data({role:a});r;){var n=r.getAttribute("role");if(!n&&r.nodeName.toUpperCase()!=="FORM"&&(n=At(r)),n&&t.includes(n)&&!(n==="main"&&a==="complementary"))return!1;r=He(r)}return!0}var o5=i5;function u5(e,t,r){if(r.children)try{var a=of(r);if(!a.length)return!0;var n=a.filter(l5);return n.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(n)):this.relatedNodes(a),!1}catch{return}}function of(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach(function(r){Tt(r)==="widget"&&ke(r)?t.push(r):t.push.apply(t,re(of(r)))}),t}function l5(e){var t=parseInt(e.attr("tabindex"),10);return!isNaN(t)&&t<0}function s5(e,t,r){var a=parseInt(r.attr("tabindex"),10);return isNaN(a)?!0:a<=0}var c5=s5;function d5(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var f5=d5;function p5(e,t,r){if(["none","presentation"].includes(ce(r)))return!1;var a=nt(r,t.parentSelector);if(!a)return!1;var n=Ft(a,!0).toLowerCase();return n===""?!1:n===$e(r).toLowerCase()}var m5=p5;function h5(e,t,r){var a=this;if(!r.attr("id"))return!1;if(r.actualNode){var n=We(r.actualNode),i=Re(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(u){if(it(u)){var l=ae(dr(u,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:l}),!!l}else return!0})}catch{return}}}var v5=h5;function g5(e,t,r){var a=cn(r),n=e.getAttribute("title");if(!a)return!1;if(!n&&(n="",e.getAttribute("aria-describedby"))){var i=Ct(e,"aria-describedby");n=i.map(function(o){return o?dr(o):""}).join("")}return ae(n)===ae(a)}var b5=g5;function y5(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=We(e),n=Re(e.getAttribute("id")),i=a.querySelector('label[for="'.concat(n,'"]'));if(i&&!Fe(i)){var o;try{o=$e(r).trim()}catch{return}var u=o==="";return u}}return!1}var w5=y5;function D5(e,t,r){try{var a=nt(r,"label");if(a){var n=ae($e(a,{inControlContext:!0,startNode:r}));return a.actualNode&&this.relatedNodes([a.actualNode]),this.data({implicitLabel:n}),!!n}return!1}catch{return}}var _5=D5;function uf(e,t){var r=lf(t),a=lf(e);return!r||!a?!1:r.includes(a)}function lf(e){var t=ua(e,{emoji:!0,nonBmp:!0,punctuations:!0});return ae(t)}function x5(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=dr(e).toLowerCase();if(!(ro(o)<1)){var u=ae(Vt(r,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();return u?ro(u)<1?uf(u,o)?!0:void 0:uf(u,o):!0}}var E5=x5;function C5(e){var t=Re(e.getAttribute("id")),r=e.parentNode,a=We(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(u){return!zt(u)}));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(u){return Fe(u)});if(i.length>1)return;var o=Ct(e,"aria-labelledby");return o.includes(i[0])?!1:void 0}return!1}var A5=C5;function F5(e,t,r){var a=cn(r),n=un(r),i=r.attr("aria-describedby");return!a&&!!(n||i)}var T5=F5;function R5(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 k5=R5;function S5(e,t,r){var a=ce(e),n=$e(r);return n=n?n.toLowerCase():null,this.data({role:a,accessibleText:n}),this.relatedNodes([e]),!0}var O5=S5;function su(e){return(e||"").trim()!==""}function M5(e,t,r){var a=typeof M<"u"?Ba(M):!1;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&su(r.attr("xml:lang"))&&!su(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),!1;var n=t.attributes.some(function(i){return su(r.attr(i))});return n?!0:(this.data({messageKey:"noLang"}),!1)}var N5=M5;function I5(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=br(i),u=t.value?!t.value.map(br).includes(o):!Bn(o);(o!==""&&u||i!==""&&!ae(i))&&a.push(n+'="'+r.attr(n)+'"')}}),!a.length||r.props.nodeName!=="html"&&!oo(r)?!1:(this.data(a),!0)}var P5=I5;function L5(e,t,r){var a=br(r.attr("lang")),n=br(r.attr("xml:lang"));return a===n}var B5=L5;function q5(e){var t=He(e),r=t.nodeName.toUpperCase(),a=xe(t);return r==="DIV"&&["presentation","none",null].includes(a)&&(t=He(t),r=t.nodeName.toUpperCase(),a=xe(t)),r!=="DL"?!1:!!(!a||["presentation","none","list"].includes(a))}var j5=q5;function z5(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=sf(r.children);i.length;){var o,u=i.shift(),l=u.vChild,s=u.nested;if(t.divGroups&&!s&&H5(l)){if(!l.children)return;var c=sf(l.children,!0);i.push.apply(i,re(c));continue}var d=V5(l,s,t);d&&(n.includes(d)||n.push(d),(l==null||(o=l.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&a.push(l.actualNode))}return n.length===0?!1:(this.data({values:n.join(", ")}),this.relatedNodes(a),!0)}}function V5(e,t,r){var a=r.validRoles,n=a===void 0?[]:a,i=r.validNodeNames,o=i===void 0?[]:i,u=e.props,l=u.nodeName,s=u.nodeType,c=u.nodeValue,d=t?"div > ":"";if(s===3&&c.trim()!=="")return d+"#text";if(s!==1||!Fe(e))return!1;var f=xe(e);return f?n.includes(f)?!1:d+"[role=".concat(f,"]"):o.includes(l)?!1:d+l}function H5(e){return e.props.nodeName==="div"&&xe(e)===null}function sf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e.map(function(r){return{vChild:r,nested:t}})}function $5(e,t,r){var a=r.parent;if(a){var n=a.props.nodeName,i=xe(a);return["presentation","none","list"].includes(i)?!0:i&&Rr(i)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(n)}}function U5(e,t,r){var a=["definition","term","list"],n={badNodes:[],hasNonEmptyTextNode:!1},i=r.children.reduce(function(u,l){var s=l.actualNode;return s.nodeName.toUpperCase()==="DIV"&&ce(s)===null?u.concat(l.children):u.concat(l)},[]),o=i.reduce(function(u,l){var s=l.actualNode,c=s.nodeName.toUpperCase();if(s.nodeType===1&&Fe(s)){var d=xe(s);(c!=="DT"&&c!=="DD"||d)&&(a.includes(d)||u.badNodes.push(s))}else s.nodeType===3&&s.nodeValue.trim()!==""&&(u.hasNonEmptyTextNode=!0);return u},n);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function G5(e,t,r){var a=!1,n=!1,i=!0,o=[],u=[],l=[];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=ce(s),p=f==="listitem";!d&&!p&&o.push(c),d&&!p&&(u.push(c),l.includes(f)||l.push(f)),p&&(n=!0)}}),a||o.length?(this.relatedNodes(o),!0):i||n?!1:(this.relatedNodes(u),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),!0)}var W5=G5;function Y5(e,t,r){var a=r.children;if(!a||!a.length)return!1;for(var n=!1,i=!1,o,u=0;u ";function J5(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(cf);return t[n]=r,!0}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(cf);return t[i]&&(t[i].result=!0),!1})}var Q5=J5;function eE(e,t){return t.isViolation?!1:void 0}var tE=eE;function rE(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(l){if(!l.currentSrc)return 0;var s=o(l.currentSrc);return s?s.length===1?Math.abs(l.duration-s[0]):Math.abs(s[1]-s[0]):Math.abs(l.duration-(l.currentTime||0))}function o(l){var s=l.match(/#t=(.*)/);if(s){var c=V(s,2),d=c[1],f=d.split(",");return f.map(function(p){return/:/.test(p)?u(p):parseFloat(p)})}}function u(l){for(var s=l.split(":"),c=0,d=1;s.length>0;)c+=d*parseInt(s.pop(),10),d*=60;return parseFloat(c)}}var aE=rE;function nE(e,t,r,a){var n=a||{},i=n.cssom,o=i===void 0?void 0:i,u=t||{},l=u.degreeThreshold,s=l===void 0?0:l;if(!o||!o.length)return;for(var c=!1,d=[],f=v(o),p=function(){var H=h[m],z=f[H],Z=z.root,te=z.rules,Q=te.filter(g);if(!Q.length)return"continue";Q.forEach(function(W){var B=W.cssRules;Array.from(B).forEach(function(ne){var E=D(ne);if(E&&ne.selectorText.toUpperCase()!=="HTML"){var U=Array.from(Z.querySelectorAll(ne.selectorText))||[];d=d.concat(U)}c=c||E})})},m=0,h=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(l))}}}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(wt)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:a});return}return this.data({closestOffset:i,minOffset:a}),wt(r)?!1:void 0}function cE(e){return Math.round(e*10)/10}function dE(e,t,r){var a=(t==null?void 0:t.minSize)||24,n=r.boundingClientRect,i=sr.bind(null,a),o=rn(r),u=fE(r,o),l=pE(r,o),s=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&!u.length)return this.relatedNodes($n(s)),this.data({messageKey:"obscured"}),!0;var d=wt(r)?!1:void 0;if(!i(n)&&!u.length)return this.data(fe({minSize:a},cu(n))),d;var f=vE(c),p=mE(r,f);if(u.length&&(s.length||!i(p||n))){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes($n(u));return}if(f.length!==0&&!i(p)){var m=f.every(wt),h="partiallyObscured".concat(m?"":"NonTabbable");return this.data(fe({messageKey:h,minSize:a},cu(p))),this.relatedNodes($n(f)),m?d:void 0}return this.data(fe({minSize:a},cu(p||n))),this.relatedNodes($n(f)),!0}function fE(e,t){return t.filter(function(r){return!df(r,e)&&ff(e,r)})}function pE(e,t){var r=[],a=[],n=Ae(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;!ff(e,o)&&Mi(e,o)&&gE(o)!=="none"&&(df(e,o)?r.push(o):a.push(o))}}catch(u){n.e(u)}finally{n.f()}return{fullyObscuringElms:r,partialObscuringElms:a}}function mE(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=Ni(r,a);return hE(n)}function hE(e,t){return e.reduce(function(r,a){var n=sr(t,r),i=sr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,u=a.width*a.height;return o>u?r:a})}function vE(e){return e.filter(function(t){return Tt(t)==="widget"&&ke(t)})}function df(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 gE(e){return e.getComputedStylePropertyValue("pointer-events")}function cu(e){return{width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function ff(e,t){return e.actualNode.contains(t.actualNode)&&!wt(t)}function $n(e){return e.map(function(t){var r=t.actualNode;return r})}function bE(e){var t=wE(e);return e.forEach(function(r){r.result=yE(r,t)}),e}function yE(e,t){var r,a,n,i,o=pf(t,e.node.ancestry),u=(r=(a=t[o])===null||a===void 0?void 0:a.level)!==null&&r!==void 0?r:-1,l=(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(u!==-1)return u-l<=1}function wE(e){e=re(e),e.sort(function(r,a){var n=r.node,i=a.node;return n.ancestry.length-i.ancestry.length});var t=e.reduce(DE,[]);return t.filter(function(r){var a=r.level;return a!==-1})}function DE(e,t){var r,a=(r=t.data)===null||r===void 0?void 0:r.headingOrder,n=mf(t.node.ancestry,1);if(!a)return e;var i=a.map(function(u){return xE(u,n)}),o=_E(e,n);return o===-1?e.push.apply(e,re(i)):e.splice.apply(e,[o,0].concat(re(i))),e}function _E(e,t){for(;t.length;){var r=pf(e,t);if(r!==-1)return r;t=mf(t,1)}return-1}function pf(e,t){return e.findIndex(function(r){return Uo(r.ancestry,t)})}function xE(e,t){var r=t.concat(e.ancestry);return fe({},e,{ancestry:r})}function mf(e,t){return e.slice(0,e.length-t)}function EE(e){var t=ce(e),r=t&&t.includes("heading"),a=e.attr("aria-level"),n=parseInt(a,10),i=e.props.nodeName.match(/h(\d)/)||[],o=V(i,2),u=o[1];return r?u&&!a?parseInt(u,10):isNaN(n)||n<1?u?parseInt(u,10):2:n||-1:-1}function CE(){var e=ue.get("headingOrder");if(e)return!0;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=kt(y._tree[0],t,Fe);return e=r.map(function(a){return{ancestry:[ja(a.actualNode)],level:EE(a)}}),this.data({headingOrder:e}),ue.set("headingOrder",r),!0}var AE=CE;function hf(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],u=t[i];return k(o)!==k(u)?!1:k(o)==="object"||k(u)==="object"?hf(o,u):o===u});return n}function FE(e){if(e.length<2)return e;for(var t=e.filter(function(u){var l=u.result;return l!==void 0}),r=[],a={},n=function(l){var s,c=t[l],d=c.data,f=d.name,p=d.urlProps;if(a[f])return"continue";var m=t.filter(function(b,v){var g=b.data;return g.name===f&&v!==l}),h=m.every(function(b){var v=b.data;return hf(v.urlProps,p)});m.length&&!h&&(c.result=void 0),c.relatedNodes=[],(s=c.relatedNodes).push.apply(s,re(m.map(function(b){return b.relatedNodes[0]}))),a[f]=m,r.push(c)},i=0;i=f&&!m;b--)for(var v=d;v>=p;v--){var g=r[b]?r[b][v]:void 0;if(g){var D=y.utils.getNodeFromTree(g);if(D[a]){m=D[a];break}h.push(g)}}return m=(m||[]).concat(h.filter(n)),h.forEach(function(_){var F=y.utils.getNodeFromTree(_);F[a]=m}),m}function SE(e,t){if(e.getAttribute("headers")){var r=Ct(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Nt(Fr(e,"table")));var a=on(e,t),n=wf("row",a,t),i=wf("col",a,t);return[].concat(n,i).reverse()}var Un=SE;function OE(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return Rr(t)?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Df=OE;function ME(e){var t=(e.getAttribute("role")||"").toLowerCase();if((t==="presentation"||t==="none")&&!ke(e))return!1;if(e.getAttribute("contenteditable")==="true"||Fr(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||Tt(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||l)return!0;var p,m;for(s=0;s=20?!0:!(Si(e).width>Ka(w).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var Gn=ME;function NE(e){if(kr(e)||Sr(e))return!0;if(e.getAttribute("id")){var t=Re(e.getAttribute("id"));return!!M.querySelector('[headers~="'.concat(t,'"]'))}return!1}var IE=NE;function _f(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=_f(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function PE(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 _f(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var fu=PE;function LE(e,t,r){var a=ra.accessibleTextVirtual(r),n=ra.sanitize(ra.removeUnicode(a,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(n){var i={name:n,urlProps:Ri.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),!0}}var BE=LE;function qE(e,t,r){var a=ct(r,"a[href]");return a.some(function(n){return/^#[^/!]/.test(n.attr("href"))})}var jE=qE,zE=/[;,\s]/,VE=/^[0-9.]+$/;function HE(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),u=o.split(zE),l=V(u,1),s=l[0];if(!s.match(VE))return!0;var c=parseFloat(s);return this.data({redirectDelay:c}),typeof n=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function $E(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 UE(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 GE(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(b){return b.nodeName.toUpperCase()==="P"}),u=a.slice(0,n).reverse().find(function(b){return b.nodeName.toUpperCase()==="P"}),l=pu(e),s=o?pu(o):null,c=u?pu(u):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||!xf(l,s,i))return!0;var h=Ar(r,"blockquote");if(!(h&&h.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!xf(l,c,i))&&!(p>m*f))return!1}var WE=GE;function YE(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=Ae(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(Uo(a,o.node.ancestry)){r.result=o.result;break}}}catch(u){n.e(u)}finally{n.f()}}}),t.forEach(function(r){r.result||(r.result=!0)}),e}var XE=YE,KE=["alert","log","status"];function ZE(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=ue.get("regionlessNodes",function(){return JE(t)});return!a.includes(r)}function JE(e){var t=Ef(y._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==M.body;)r=r.parent;return r}).filter(function(r,a,n){return n.indexOf(r)===a});return t}function Ef(e,t){var r=e.actualNode;if(ce(e)==="button"||QE(e,t)||["iframe","frame"].includes(e.props.nodeName)||So(e.actualNode)&&ji(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!==M.body&&dn(r,!0)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return Ef(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function QE(e,t){var r=e.actualNode,a=ce(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Nr("landmark");return!!(["assertive","polite"].includes(n)||KE.includes(a)||i.includes(a)||t.regionMatcher&&ia(e,t.regionMatcher))}function eC(e){var t=ji(e,"href");return t?Fe(t)||void 0:!1}var tC=eC;function rC(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 aC=rC;function nC(e,t,r){var a=ae(r.attr("title")).toLowerCase();return this.data(a),!0}var iC=nC;function oC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),!0):!1})}var uC=oC;function lC(e){var t=e.getAttribute("id").trim();if(!t)return!0;var r=We(e),a=Array.from(r.querySelectorAll('[id="'.concat(Re(t),'"]'))).filter(function(n){return n!==e});return a.length&&this.relatedNodes(a),this.data(t),a.length===0}var sC=lC;function cC(e,t,r){return!!ae(na(r))}var dC=cC;function fC(e,t,r){try{return!!ae(aa(r))}catch{return}}var pC=fC;function mC(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 hC=mC;function vC(){var e=M.title;return!!ae(e)}var gC=vC;function bC(){}var yC=bC;function wC(e,t,r){var a=r.props.nodeName;return["img","input","area"].includes(a)?r.hasAttr("alt"):!1}var DC=wC;function _C(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.minValue,i=t.maxValue,o=t.normalValue,u=o===void 0?0:o,l=t.noImportant,s=t.multiLineOnly;if(!l&&e.style.getPropertyPriority(r)!=="important"||s&&!_c(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(fe({value:d},c)),!0;var f=xC(e,{absoluteValues:a,cssProperty:r,normalValue:u});if(this.data(fe({value:f},c)),typeof f=="number")return(typeof n!="number"||f>=n)&&(typeof i!="number"||f<=i)}function xC(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.normalValue,i=w.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return n;var u=parseFloat(o);if(a)return u;var l=parseFloat(i.getPropertyValue("font-size")),s=Math.round(u/l*100)/100;return isNaN(s)?o:s}function EC(e){return it(e)}var CC=EC;function AC(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 FC=AC;function TC(e,t,r){var a=xe(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=ce(r);if(["presentation","none"].includes(n))return this.data({role:n}),!0;if(!["presentation","none"].includes(a))return!1;var i=fr().some(function(l){return r.hasAttr(l)}),o=ke(r),u;return i&&!o?u="globalAria":!i&&o?u="focusable":u="both",this.data({messageKey:u,role:n}),!1}function RC(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=Vt(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return!0}}var kC=RC;function SC(e){var t=Nt(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 OC=SC;function MC(e){return yc(M)?e.nodeName.toUpperCase()==="TH":!0}var NC=MC,IC=PC;function PC(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(LC),i=n?ae(Vt(n)):!1;return!i||!a?!1:ae(a).toLowerCase()===ae(i).toLowerCase()}}function LC(e){return e.props.nodeName==="caption"}function BC(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var qC=BC;function jC(e){var t=[],r=du(e),a=Nt(e);return r.forEach(function(n){if(dn(n)&&Df(n)&&!N1(n)){var i=Un(n,a).some(function(o){return o!==null&&!!dn(o)});i||t.push(n)}}),t.length?(this.relatedNodes(t),!1):!0}var zC=jC;function VC(e){for(var t=[],r=[],a=[],n=0;n0)return this.relatedNodes(a),!1;if(r.length){this.relatedNodes(r);return}return!0}function HC(e){var t=du(e),r=this,a=[];t.forEach(function(u){var l=u.getAttribute("headers");l&&(a=a.concat(l.split(/\s+/)));var s=u.getAttribute("aria-labelledby");s&&(a=a.concat(s.split(/\s+/)))});var n=t.filter(function(u){return ae(u.textContent)===""?!1:u.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(u.getAttribute("role"))!==-1}),i=Nt(e),o=!0;return n.forEach(function(u){if(!(u.getAttribute("id")&&a.includes(u.getAttribute("id")))){var l=on(u,i),s=!1;kr(u)&&(s=fu("down",l,i).find(function(c){return!kr(c)&&Un(c,i).includes(u)})),!s&&Sr(u)&&(s=fu("right",l,i).find(function(c){return!Sr(c)&&Un(c,i).includes(u)})),s||r.relatedNodes(u),o=o&&s}}),o?!0:void 0}var $C=HC;function UC(e,t,r){var a=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!a.includes(e.nodeName.toUpperCase())&&la(r)){var n=w.getComputedStyle(e);if(n.getPropertyValue("display")==="none")return;if(n.getPropertyValue("visibility")==="hidden"){var i=He(e),o=i&&w.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return!0}var GC=UC;function WC(e,t){var r=/^aria-/,a=t.attrNames;if(a.length){for(var n=0,i=a.length;n0&&g.every(xa)||!pA(t))return!1;for(var F=M.createRange(),R=t.children,S=0;S=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1}var hA=mA;function vA(e){return Gn(e)}var gA=vA;function bA(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Re(t),'"]'),a=Array.from(We(e).querySelectorAll(r));return!qn(e)&&a.some(ke)}var yA=bA;function wA(e){return qn(e)}var DA=wA;function _A(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Re(t),'"]'),a=Array.from(We(e).querySelectorAll(r));return!qn(e)&&a.every(function(n){return!ke(n)})}var xA=_A;function EA(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 CA=EA;function AA(e){var t=e.getAttribute("title");return!!ae(t)}var FA=AA;function TA(e,t){return At(t,{chromium:!0})!==null}var RA=TA;function kA(e,t){return ce(t)==="heading"}function SA(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!nt(t,"svg")}catch{return!1}}var mu=SA;function OA(e,t){return!mu(e,t)}var MA=OA;function NA(e,t){var r=!!$e(t);if(!r)return!1;var a=ce(e);return!(a&&a!=="link")}var IA=NA;function PA(e){return vc(e)}var LA=PA;function BA(e){return it(e)}function qA(e,t){return it(t)}function jA(e,t){var r=ce(e);if(!r)return!1;var a=Nr("widget"),n=a.includes(r);if(!n)return!1;var i=eu();return!(!i.includes(r)||!ae(na(t))&&!ae(aa(e))||!ae(Ft(t)))}var zA=jA;function VA(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 HA=VA;function $A(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Ar(t,r)}var UA=$A,GA=["article","aside","main","nav","section"].join(",");function WA(e,t){return YA(t)&&Fe(t)}function YA(e){var t=Nr("landmark"),r=ce(e);if(!r)return!1;var a=e.props.nodeName;if(a==="header"||a==="footer")return XA(e);if(a==="section"||a==="form"){var n=$e(e);return!!n}return t.indexOf(r)>=0||r==="region"}function XA(e){return!nt(e,GA)}function KA(e){return!Gn(e)&&!ke(e)}var ZA=KA;function JA(e){var t=ae(e.innerText),r=e.getAttribute("role");return r&&r!=="link"||!t||!it(e)?!1:uo(e)}var QA=JA;function e3(e,t){var r=ce(t);return r?!!he.ariaRoles[r].childrenPresentational:!1}var t3=e3;function r3(e){return!(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var a3=r3;function n3(e,t){return!(!t.hasAttr("role")||!t.attr("role").trim())}var i3=n3;function o3(e,t){var r=xe(t);if(!r||["none","presentation"].includes(r))return!0;var a=Rs[r]||{},n=a.accessibleNameRequired;return!!(n||ke(t))}var Ff=o3;function u3(e,t){var r=mr(t),a=r.namingMethods;return!(a&&a.length!==0||xe(t)==="combobox"&&ct(t,'input:not([type="hidden"])').length||tu(t,{popupRoles:["listbox"]}))}var l3=u3;function s3(e,t){var r=parseInt(t.attr("tabindex"),10);return isNaN(r)||r>=0}var c3=s3;function d3(e,t){return!t.attr("role")}var f3=d3;function p3(e,t){return t.props.nodeName!=="html"}var m3=p3,h3=function(t,r){return[Ff,v3].every(function(a){return a(t,r)})};function v3(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 g3(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 b3=g3;function y3(e,t){return At(t,{chromiumRoles:!0})!==null}var w3=y3;function D3(e,t){return Pt(e,13)!==void 0&&tu(t)===!1&&_3(t)}function _3(e){return ct(e,"*").some(function(t){return la(t,!0,!0)})}function x3(e){return So(e)&&Za(e)}var E3=x3;function C3(e,t){var r=ce(t);return["treegrid","grid","table"].includes(r)}function A3(e,t){return F3.every(function(r){return r(e,t)})}var F3=[function(e,t){return Tf(t)},function(e,t){return T3(t)},function(e,t){return!mu(e,t)},function(e,t){return ke(t)},function(e,t){return wt(t)||!R3(t)},function(e){return!uo(e,{noLengthCompare:!0})}];function Tf(e){return Tt(e)==="widget"}function T3(e){return e.props.nodeName!=="area"}var R3=Le(function e(t){return t!=null&&t.parent?Tf(t.parent)&&wt(t.parent)?!0:e(t.parent):!1});function k3(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var S3=k3;function O3(e){var t=br(e.getAttribute("lang")),r=br(e.getAttribute("xml:lang"));return Bn(t)&&Bn(r)}var M3=O3,N3={"abstractrole-evaluate":ID,"accesskeys-after":Hx,"accesskeys-evaluate":Ux,"alt-space-value-evaluate":f5,"aria-allowed-attr-evaluate":PD,"aria-allowed-attr-matches":YC,"aria-allowed-role-evaluate":BD,"aria-allowed-role-matches":KC,"aria-busy-evaluate":qD,"aria-conditional-attr-evaluate":HD,"aria-conditional-checkbox-attr-evaluate":L1,"aria-conditional-row-attr-evaluate":B1,"aria-errormessage-evaluate":$D,"aria-has-attr-matches":JC,"aria-hidden-body-evaluate":GD,"aria-hidden-focus-matches":eA,"aria-label-evaluate":dC,"aria-labelledby-evaluate":pC,"aria-level-evaluate":YD,"aria-prohibited-attr-evaluate":XD,"aria-required-attr-evaluate":ZD,"aria-required-children-evaluate":t_,"aria-required-children-matches":rA,"aria-required-parent-evaluate":s_,"aria-required-parent-matches":nA,"aria-roledescription-evaluate":d_,"aria-unsupported-attr-evaluate":p_,"aria-valid-attr-evaluate":h_,"aria-valid-attr-value-evaluate":v_,"attr-non-space-content-evaluate":kx,"autocomplete-appropriate-evaluate":Ax,"autocomplete-matches":oA,"autocomplete-valid-evaluate":Tx,"avoid-inline-spacing-evaluate":hC,"braille-label-equivalent-evaluate":b_,"braille-roledescription-equivalent-evaluate":y_,"bypass-matches":sA,"caption-evaluate":Z5,"caption-faked-evaluate":OC,"color-contrast-evaluate":vx,"color-contrast-matches":dA,"css-orientation-lock-evaluate":iE,"data-table-large-matches":hA,"data-table-matches":gA,"deprecatedrole-evaluate":w_,"dlitem-evaluate":j5,"doc-has-title-evaluate":gC,"duplicate-id-active-matches":yA,"duplicate-id-after":uC,"duplicate-id-aria-matches":DA,"duplicate-id-evaluate":sC,"duplicate-id-misc-matches":xA,"duplicate-img-label-evaluate":m5,"exists-evaluate":yC,"explicit-evaluate":v5,"fallbackrole-evaluate":x_,"focusable-content-evaluate":Wx,"focusable-disabled-evaluate":Xx,"focusable-element-evaluate":Zx,"focusable-modal-open-evaluate":Qx,"focusable-no-name-evaluate":t5,"focusable-not-tabbable-evaluate":a5,"frame-focusable-content-evaluate":n5,"frame-focusable-content-matches":CA,"frame-tested-after":Q5,"frame-tested-evaluate":tE,"frame-title-has-text-matches":FA,"has-alt-evaluate":DC,"has-descendant-after":Ox,"has-descendant-evaluate":Nx,"has-global-aria-attribute-evaluate":C_,"has-implicit-chromium-role-matches":RA,"has-lang-evaluate":N5,"has-text-content-evaluate":Ix,"has-widget-role-evaluate":F_,"heading-matches":kA,"heading-order-after":bE,"heading-order-evaluate":AE,"help-same-as-label-evaluate":b5,"hidden-content-evaluate":GC,"hidden-explicit-label-evaluate":w5,"html-namespace-matches":MA,"html5-scope-evaluate":NC,"identical-links-same-purpose-after":TE,"identical-links-same-purpose-evaluate":BE,"identical-links-same-purpose-matches":IA,"implicit-evaluate":_5,"inline-style-property-evaluate":_C,"inserted-into-focus-order-matches":LA,"internal-link-present-evaluate":jE,"invalid-children-evaluate":z5,"invalidrole-evaluate":R_,"is-element-focusable-evaluate":S_,"is-initiator-matches":Af,"is-on-screen-evaluate":CC,"is-visible-matches":BA,"is-visible-on-screen-matches":qA,"label-content-name-mismatch-evaluate":E5,"label-content-name-mismatch-matches":zA,"label-matches":HA,"landmark-has-body-context-matches":UA,"landmark-is-top-level-evaluate":o5,"landmark-is-unique-after":k5,"landmark-is-unique-evaluate":O5,"landmark-unique-matches":WA,"layout-table-matches":ZA,"link-in-text-block-evaluate":Dx,"link-in-text-block-matches":QA,"link-in-text-block-style-evaluate":xx,"listitem-evaluate":$5,"matches-definition-evaluate":Lx,"meta-refresh-evaluate":HE,"meta-viewport-scale-evaluate":uE,"multiple-label-evaluate":A5,"nested-interactive-matches":t3,"no-autoplay-audio-evaluate":aE,"no-autoplay-audio-matches":a3,"no-empty-role-matches":i3,"no-explicit-name-required-matches":Ff,"no-focusable-content-evaluate":u5,"no-implicit-explicit-label-evaluate":M_,"no-naming-method-matches":l3,"no-negative-tabindex-matches":c3,"no-role-matches":f3,"non-empty-if-present-evaluate":FC,"not-html-matches":m3,"object-is-loaded-matches":h3,"only-dlitems-evaluate":U5,"only-listitems-evaluate":W5,"p-as-heading-evaluate":WE,"p-as-heading-matches":b3,"page-no-duplicate-after":qx,"page-no-duplicate-evaluate":zx,"presentation-role-conflict-matches":w3,"presentational-role-evaluate":TC,"region-after":XE,"region-evaluate":ZE,"same-caption-summary-evaluate":IC,"scope-value-evaluate":qC,"scrollable-region-focusable-matches":D3,"skip-link-evaluate":tC,"skip-link-matches":E3,"structured-dlitems-evaluate":X5,"svg-namespace-matches":mu,"svg-non-empty-title-evaluate":kC,"tabindex-evaluate":c5,"table-or-grid-role-matches":C3,"target-offset-evaluate":sE,"target-size-evaluate":dE,"td-has-header-evaluate":zC,"td-headers-attr-evaluate":VC,"th-has-data-cells-evaluate":$C,"title-only-evaluate":T5,"unique-frame-title-after":aC,"unique-frame-title-evaluate":iC,"unsupportedrole-evaluate":I_,"valid-lang-evaluate":P5,"valid-scrollable-semantics-evaluate":z_,"widget-not-inline-matches":A3,"window-is-top-matches":S3,"xml-lang-mismatch-evaluate":B5,"xml-lang-mismatch-matches":M3},Wn=N3;function I3(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null}var hu=I3;function vu(e){if(typeof e=="string"){if(Wn[e])return Wn[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 Rf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(Array.isArray(e)||k(e)!=="object")&&(e={value:e}),e}function Pr(e){e&&(this.id=e.id,this.configure(e))}Pr.prototype.enabled=!0,Pr.prototype.run=function(t,r,a,n,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,u=this.getOptions(r.options);if(o){var l=new hu(this),s=di(l,r,n,i),c;try{c=this.evaluate.call(s,t.actualNode,u,t,a)}catch(d){t&&t.actualNode&&(d.errorNode=ft.toSpec(t)),i(d);return}s.isAsync||(l.result=c,n(l))}else n(null)},Pr.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 u=this.getOptions(r.options),l=new hu(this),s=di(l);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,u,t,a)}catch(d){throw t&&t.actualNode&&(d.errorNode=ft.toSpec(t)),d}return l.result=c,l},Pr.prototype.configure=function(t){var r=this;(!t.evaluate||Wn[t.evaluate])&&(this._internalCheck=!0),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=Rf(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=vu(t[a])})},Pr.prototype.getOptions=function(t){return this._internalCheck?Fi(this.options,Rf(t||{})):t||this.options};var kf=Pr;function P3(e){this.id=e.id,this.result=se.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]}var Yn=P3;function at(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(me(se.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=vu(e.matches))}at.prototype.matches=function(){return!0},at.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&&Be.mark(a);var u=Xo(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&Be.mark(i),u=u.filter(function(l){return Fe(l)}),r.performanceTimer&&(Be.mark(o),Be.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(Be.mark(n),Be.measure("rule_"+this.id+"#gather",a,n)),u},at.prototype.runChecks=function(t,r,a,n,i,o){var u=this,l=Et();this[t].forEach(function(s){var c=u._audit.checks[s.id||s],d=Nn(c,u.id,a);l.defer(function(f,p){c.run(r,d,n,f,p)})}),l.then(function(s){s=s.filter(function(c){return c}),i({type:t,results:s})}).catch(o)},at.prototype.runChecksSync=function(t,r,a,n){var i=this,o=[];return this[t].forEach(function(u){var l=i._audit.checks[u.id||u],s=Nn(l,i.id,a);o.push(l.runSync(r,s,n))}),o=o.filter(function(u){return u}),{type:t,results:o}},at.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=Et(),u=new Yn(this),l;try{l=this.gatherAndMatchNodes(t,a)}catch(s){i(new Vr({cause:s,ruleId:this.id}));return}a.performanceTimer&&this._logGatherPerformance(l),l.forEach(function(s){o.defer(function(c,d){var f=Et();["any","all","none"].forEach(function(p){f.defer(function(m,h){r.runChecks(p,s,a,t,m,h)})}),f.then(function(p){var m=Sf(p);m&&(m.node=new Ot(s),u.nodes.push(m),r.reviewOnFail&&(["any","all"].forEach(function(h){m[h].forEach(function(b){b.result===!1&&(b.result=void 0)})}),m.none.forEach(function(h){h.result===!0&&(h.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(u)}).catch(function(s){return i(s)})},at.prototype.runSync=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var n=new Yn(this),i;try{i=this.gatherAndMatchNodes(t,a)}catch(o){throw new Vr({cause:o,ruleId:this.id})}return a.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var u=[];["any","all","none"].forEach(function(s){u.push(r.runChecksSync(s,o,a,t))});var l=Sf(u);l&&(l.node=o.actualNode?new Ot(o):null,n.nodes.push(l),r.reviewOnFail&&(["any","all"].forEach(function(s){l[s].forEach(function(c){c.result===!1&&(c.result=void 0)})}),l.none.forEach(function(s){s.result===!0&&(s.result=void 0)})))}),a.performanceTimer&&this._logRulePerformance(),n},at.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},at.prototype._logGatherPerformance=function(t){ir("gather (",t.length,"):",Be.timeElapsed()+"ms"),Be.mark(this._markChecksStart)},at.prototype._logRulePerformance=function(){Be.mark(this._markChecksEnd),Be.mark(this._markEnd),Be.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Be.measure("rule_"+this.id,this._markStart,this._markEnd)};function Sf(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}}at.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&&Be.mark(n),o=o.filter(function(u){return a.matches(u.actualNode,u,t)}),r.performanceTimer&&(Be.mark(i),Be.measure("rule_"+this.id+"#matches",n,i)),o};function L3(e){return Ga(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function B3(e,t){var r=[];return e.forEach(function(a){var n=Ga(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i))})}),r}function q3(e){return e.filter(function(t){return t.filtered!==!0})}function j3(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=q3(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}at.prototype.after=function(t,r){var a=this,n=L3(this),i=this.id;return n.forEach(function(o){var u=B3(t.nodes,o.id),l=Nn(o,i,r),s=o.after(u,l.options);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)}),u.forEach(function(c){delete c.node,s.indexOf(c)===-1&&(c.filtered=!0)})}),t.nodes=j3(t),t},at.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=vu(t.matches)),t.impact&&(me(se.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact)};var Lr=gt(sl()),Br=/\{\{.+?\}\}/g,z3=function(){function e(t){_t(this,e),this.lang="en",this.defaultConfig=t,this.standards=he,this._init(),this._defaultLocale=null}return xt(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},a=Object.keys(this.data.checks),n=0;n0&&arguments[0]!==void 0?arguments[0]:null,n=(y.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===Pf(a,i.id,n))&&(o.helpUrl=Pf(r,i.id,n))})}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),e}(),Of=z3;function Mf(){if(w.origin&&w.origin!=="null")return w.origin;if(w.location&&w.location.origin&&w.location.origin!=="null")return w.location.origin}function V3(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=Mf();t.allowedOrigins=r?[r]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=fe({checks:{},rules:{}},t.data),t}function Nf(e,t,r){var a,n;for(a=0,n=e.length;a2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||y._audit.reporter||"v1",y._selectorData={},t instanceof Ve||(t=new _1(t));var a=Kd(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);Pn(i),Ur(i);var o=ml([i]);return o.violations.forEach(function(u){return u.nodes.forEach(function(l){l.failureSummary=Bo(l)})}),fe({},Yt(),o,{toolOptions:r})}function qf(e){var t,r,a,n=V(e,3),i=n[0],o=n[1],u=n[2],l=new TypeError("axe.run arguments are invalid");if(!J2(i)){if(u!==void 0)throw l;u=o,o=i,i=M}if(k(o)!=="object"){if(u!==void 0)throw l;u=o,o={}}if(typeof u!="function"&&u!==void 0)throw l;return o=Mt(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(a=y._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:u}}var gu=function(){};function aF(){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(l){return l.environmentData})||{},o=i.environmentData;y._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=y._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",sF(e);var u=Wa(e);return u=y._audit.after(u,n),u.forEach(Pn),u=u.map(Ur),dF(u,fe({environmentData:o},n))}function sF(e){var t=[],r=Ae(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=cF(n);t.unshift.apply(t,re(o))}}}catch(u){r.e(u)}finally{r.f()}}function cF(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return ft.mergeSpecs(a,r)}):t}function dF(e,t){return new Promise(function(r,a){var n=Jo(t.reporter);n(e,t,r,a)})}function fF(e){if(y._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&k(e.documentElement)==="object"&&k(e.defaultView)==="object"&&(e=e.documentElement),Lf(e),y._tree=Po(e),y._selectorData=qa(y._tree),y._tree[0]}var pF=fF,mF=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=Pe(n,rp);a(fe({},Yt(i),{toolOptions:o},ba(t,r)))},hF=mF,vF=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Pe(n,ap);r.resultTypes=["violations"];var u=ba(t,r),l=u.violations;a(fe({},Yt(i),{toolOptions:o,violations:l}))},gF=vF,bF=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=fe({},i),u=["passes","violations","incomplete","inapplicable"],l=0,s=u;l elements of image maps have alternate text",help:"Active elements must have alternate text"},"aria-allowed-attr":{description:"Ensures an element's role supports its ARIA attributes",help:"Elements must only use supported 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-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensures every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensures ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensures elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"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-prohibited-attr":{description:"Ensures ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"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