@mattilsynet/design 2.1.7 → 2.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import S from "../styles.module.css.js";
2
2
  import { onLoaded as _, onMutation as P, on as r, QUICK_EVENT as p, debounce as E } from "../utils.js";
3
- import "./app-toggle2.js";
3
+ import "./app-toggle.js";
4
4
  const g = S.app.split(" ")[0], h = S.sticky.split(" ")[0], I = '[data-command="toggle-app-expanded"]', y = `.${g} > dialog,.${g} dialog ~ main`, C = (t) => {
5
5
  document.startViewTransition ? document.startViewTransition(t) : t();
6
6
  }, x = (t) => (
@@ -1,27 +1,11 @@
1
- const t = `if (
2
- typeof window !== "undefined" &&
3
- window.CSSStyleSheet &&
4
- document.adoptedStyleSheets
5
- )
6
- (() => {
7
- const key = "--mtds-app-expanded";
8
- const sheet = new CSSStyleSheet();
9
- const prev = () => !window.localStorage.getItem(key)?.includes("false");
10
-
11
- document.adoptedStyleSheets.push(sheet);
12
- window.mtdsToggleAppExpanded = (force) => {
13
- try {
14
- const next = force ?? !prev();
15
- sheet.replaceSync?.(\`:root { \${key}: var(\${key}--\${next})}\`);
16
- window.localStorage.setItem(key, next);
17
- } catch (_err) {} // localStorage is full or replaceSync is not supported
18
- };
19
-
20
- // Set and store initial state
21
- window.mtdsToggleAppExpanded(prev());
22
- })();
23
- `;
24
- export {
25
- t as default
26
- };
1
+ typeof window < "u" && window.CSSStyleSheet && document.adoptedStyleSheets && (() => {
2
+ const e = "--mtds-app-expanded", d = new CSSStyleSheet(), o = () => !window.localStorage.getItem(e)?.includes("false");
3
+ document.adoptedStyleSheets.push(d), window.mtdsToggleAppExpanded = (n) => {
4
+ try {
5
+ const t = n ?? !o();
6
+ d.replaceSync?.(`:root { ${e}: var(${e}--${t})}`), window.localStorage.setItem(e, t);
7
+ } catch {
8
+ }
9
+ }, window.mtdsToggleAppExpanded(o());
10
+ })();
27
11
  //# sourceMappingURL=app-toggle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-toggle.js","sources":["../../designsystem/app/app-toggle.js?raw"],"sourcesContent":["export default \"if (\\n\\ttypeof window !== \\\"undefined\\\" &&\\n\\twindow.CSSStyleSheet &&\\n\\tdocument.adoptedStyleSheets\\n)\\n\\t(() => {\\n\\t\\tconst key = \\\"--mtds-app-expanded\\\";\\n\\t\\tconst sheet = new CSSStyleSheet();\\n\\t\\tconst prev = () => !window.localStorage.getItem(key)?.includes(\\\"false\\\");\\n\\n\\t\\tdocument.adoptedStyleSheets.push(sheet);\\n\\t\\twindow.mtdsToggleAppExpanded = (force) => {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tconst next = force ?? !prev();\\n\\t\\t\\t\\tsheet.replaceSync?.(`:root { ${key}: var(${key}--${next})}`);\\n\\t\\t\\t\\twindow.localStorage.setItem(key, next);\\n\\t\\t\\t} catch (_err) {} // localStorage is full or replaceSync is not supported\\n\\t\\t};\\n\\n\\t\\t// Set and store initial state\\n\\t\\twindow.mtdsToggleAppExpanded(prev());\\n\\t})();\\n\""],"names":["script"],"mappings":"AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
1
+ {"version":3,"file":"app-toggle.js","sources":["../../designsystem/app/app-toggle.js"],"sourcesContent":["if (\n\ttypeof window !== \"undefined\" &&\n\twindow.CSSStyleSheet &&\n\tdocument.adoptedStyleSheets\n)\n\t(() => {\n\t\tconst key = \"--mtds-app-expanded\";\n\t\tconst sheet = new CSSStyleSheet();\n\t\tconst prev = () => !window.localStorage.getItem(key)?.includes(\"false\");\n\n\t\tdocument.adoptedStyleSheets.push(sheet);\n\t\twindow.mtdsToggleAppExpanded = (force) => {\n\t\t\ttry {\n\t\t\t\tconst next = force ?? !prev();\n\t\t\t\tsheet.replaceSync?.(`:root { ${key}: var(${key}--${next})}`);\n\t\t\t\twindow.localStorage.setItem(key, next);\n\t\t\t} catch (_err) {} // localStorage is full or replaceSync is not supported\n\t\t};\n\n\t\t// Set and store initial state\n\t\twindow.mtdsToggleAppExpanded(prev());\n\t})();\n"],"names":["key","sheet","prev","force","next"],"mappings":"AACC,OAAO,SAAW,OAClB,OAAO,iBACP,SAAS,uBAER,MAAM;AACN,QAAMA,IAAM,uBACNC,IAAQ,IAAI,cAAa,GACzBC,IAAO,MAAM,CAAC,OAAO,aAAa,QAAQF,CAAG,GAAG,SAAS,OAAO;AAEtE,WAAS,mBAAmB,KAAKC,CAAK,GACtC,OAAO,wBAAwB,CAACE,MAAU;AACzC,QAAI;AACH,YAAMC,IAAOD,KAAS,CAACD,EAAI;AAC3B,MAAAD,EAAM,cAAc,WAAWD,CAAG,SAASA,CAAG,KAAKI,CAAI,IAAI,GAC3D,OAAO,aAAa,QAAQJ,GAAKI,CAAI;AAAA,IACtC,QAAe;AAAA,IAAC;AAAA,EACjB,GAGA,OAAO,sBAAsBF,GAAM;AACpC,GAAC;"}
@@ -1,11 +1,27 @@
1
- typeof window < "u" && window.CSSStyleSheet && document.adoptedStyleSheets && (() => {
2
- const e = "--mtds-app-expanded", d = new CSSStyleSheet(), o = () => !window.localStorage.getItem(e)?.includes("false");
3
- document.adoptedStyleSheets.push(d), window.mtdsToggleAppExpanded = (n) => {
4
- try {
5
- const t = n ?? !o();
6
- d.replaceSync?.(`:root { ${e}: var(${e}--${t})}`), window.localStorage.setItem(e, t);
7
- } catch {
8
- }
9
- }, window.mtdsToggleAppExpanded(o());
10
- })();
1
+ const t = `if (
2
+ typeof window !== "undefined" &&
3
+ window.CSSStyleSheet &&
4
+ document.adoptedStyleSheets
5
+ )
6
+ (() => {
7
+ const key = "--mtds-app-expanded";
8
+ const sheet = new CSSStyleSheet();
9
+ const prev = () => !window.localStorage.getItem(key)?.includes("false");
10
+
11
+ document.adoptedStyleSheets.push(sheet);
12
+ window.mtdsToggleAppExpanded = (force) => {
13
+ try {
14
+ const next = force ?? !prev();
15
+ sheet.replaceSync?.(\`:root { \${key}: var(\${key}--\${next})}\`);
16
+ window.localStorage.setItem(key, next);
17
+ } catch (_err) {} // localStorage is full or replaceSync is not supported
18
+ };
19
+
20
+ // Set and store initial state
21
+ window.mtdsToggleAppExpanded(prev());
22
+ })();
23
+ `;
24
+ export {
25
+ t as default
26
+ };
11
27
  //# sourceMappingURL=app-toggle2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-toggle2.js","sources":["../../designsystem/app/app-toggle.js"],"sourcesContent":["if (\n\ttypeof window !== \"undefined\" &&\n\twindow.CSSStyleSheet &&\n\tdocument.adoptedStyleSheets\n)\n\t(() => {\n\t\tconst key = \"--mtds-app-expanded\";\n\t\tconst sheet = new CSSStyleSheet();\n\t\tconst prev = () => !window.localStorage.getItem(key)?.includes(\"false\");\n\n\t\tdocument.adoptedStyleSheets.push(sheet);\n\t\twindow.mtdsToggleAppExpanded = (force) => {\n\t\t\ttry {\n\t\t\t\tconst next = force ?? !prev();\n\t\t\t\tsheet.replaceSync?.(`:root { ${key}: var(${key}--${next})}`);\n\t\t\t\twindow.localStorage.setItem(key, next);\n\t\t\t} catch (_err) {} // localStorage is full or replaceSync is not supported\n\t\t};\n\n\t\t// Set and store initial state\n\t\twindow.mtdsToggleAppExpanded(prev());\n\t})();\n"],"names":["key","sheet","prev","force","next"],"mappings":"AACC,OAAO,SAAW,OAClB,OAAO,iBACP,SAAS,uBAER,MAAM;AACN,QAAMA,IAAM,uBACNC,IAAQ,IAAI,cAAa,GACzBC,IAAO,MAAM,CAAC,OAAO,aAAa,QAAQF,CAAG,GAAG,SAAS,OAAO;AAEtE,WAAS,mBAAmB,KAAKC,CAAK,GACtC,OAAO,wBAAwB,CAACE,MAAU;AACzC,QAAI;AACH,YAAMC,IAAOD,KAAS,CAACD,EAAI;AAC3B,MAAAD,EAAM,cAAc,WAAWD,CAAG,SAASA,CAAG,KAAKI,CAAI,IAAI,GAC3D,OAAO,aAAa,QAAQJ,GAAKI,CAAI;AAAA,IACtC,QAAe;AAAA,IAAC;AAAA,EACjB,GAGA,OAAO,sBAAsBF,GAAM;AACpC,GAAC;"}
1
+ {"version":3,"file":"app-toggle2.js","sources":["../../designsystem/app/app-toggle.js?raw"],"sourcesContent":["export default \"if (\\n\\ttypeof window !== \\\"undefined\\\" &&\\n\\twindow.CSSStyleSheet &&\\n\\tdocument.adoptedStyleSheets\\n)\\n\\t(() => {\\n\\t\\tconst key = \\\"--mtds-app-expanded\\\";\\n\\t\\tconst sheet = new CSSStyleSheet();\\n\\t\\tconst prev = () => !window.localStorage.getItem(key)?.includes(\\\"false\\\");\\n\\n\\t\\tdocument.adoptedStyleSheets.push(sheet);\\n\\t\\twindow.mtdsToggleAppExpanded = (force) => {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tconst next = force ?? !prev();\\n\\t\\t\\t\\tsheet.replaceSync?.(`:root { ${key}: var(${key}--${next})}`);\\n\\t\\t\\t\\twindow.localStorage.setItem(key, next);\\n\\t\\t\\t} catch (_err) {} // localStorage is full or replaceSync is not supported\\n\\t\\t};\\n\\n\\t\\t// Set and store initial state\\n\\t\\twindow.mtdsToggleAppExpanded(prev());\\n\\t})();\\n\""],"names":["script"],"mappings":"AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
package/mtds/app/app.js CHANGED
@@ -32,7 +32,7 @@ import "../togglegroup/togglegroup.js";
32
32
  import "../typography/typography.js";
33
33
  import "../validation/validation.js";
34
34
  import a from "../styles.module.css.js";
35
- import d from "./app-toggle.js";
35
+ import d from "./app-toggle2.js";
36
36
  const f = p(function({ as: t, className: r, ...m }, n) {
37
37
  return /* @__PURE__ */ o(t || "div", { className: e(a.app, r), ref: n, ...m });
38
38
  }), u = p(function({ as: t, className: r, ...m }, n) {
@@ -5,7 +5,7 @@ var mtds=function(O){"use strict";var Pi=Object.defineProperty,nn=Object.getOwnP
5
5
  ::slotted(del) { text-decoration: none }
6
6
  ::slotted(data:not([hidden])) { display: inline-block; pointer-events: none }
7
7
  ::slotted(data)::after { content: '\\00D7'; content: '\\00D7' / ''; padding-inline: .5ch; pointer-events: auto; cursor: pointer }
8
- ::slotted(data:focus) { ${Vi} }`,dn="beforeinput,blur,focus,click,input,keydown,mousedown",un={once:!0,passive:!0},Ji=Fi&&!sn,Zi=sn||Ui,fn="​".repeat(5),Rt="false",Dt={added:"Added",empty:"No selected",found:"Navigate left to find %d selected",invalid:"Invalid value",of:"of",remove:"Press to remove",removed:"Removed"},me=class extends qi{constructor(){super(),this._item="",this._speak="",this._texts=Bi({},Dt),this._value="",this.shadowRoot||this.attachShadow({mode:"open"}).append(Mt("slot"),Mt("style",Qi))}static get observedAttributes(){return Object.keys(Dt).map(t=>`data-sr-${t}`)}connectedCallback(){this._root=ji(this),It(this,dn,this,!0),de(this,{attributeFilter:["value","id"],attributes:!0,characterData:!0,childList:!0,subtree:!0}),setTimeout(Pt,0,this),setTimeout(Nt,0,this)}attributeChangedCallback(t,e,n){const o=t.split("data-sr-")[1];Dt[o]&&(this._texts[o]=n||Dt[o])}disconnectedCallback(){de(this,!1),Wi(this,dn,this,!0),this._items=this._clear=this._focus=this._control=void 0,this._list=this._options=this._root=void 0}handleEvent(t){const e=t.target;ge(this)||(t.type==="beforeinput"&&(this._value=e?.value||""),t.type==="blur"&&es(this),t.type==="click"&&os(this,t),t.type==="focus"&&ts(this,t),t.type==="input"&&is(this,t),t.type==="keydown"&&ss(this,t),t.type==="mousedown"&&pe(t),t.type==="mutation"&&Pt(this,t))}get multiple(){var t;return((t=_(this,"data-multiple"))!=null?t:Rt)!==Rt}set multiple(t){_(this,"data-multiple",t?"":null)}get creatable(){var t;return((t=_(this,"data-creatable"))!=null?t:Rt)!==Rt}set creatable(t){_(this,"data-creatable",t?"":null)}get control(){var t;return(t=this._control)!=null&&t.isConnected||(this._control=this.querySelector("input")),this._control}get list(){var t;return(t=this._list)!=null&&t.isConnected||(this._list=this.querySelector("u-datalist,datalist")),this._list}get clear(){var t;return(t=this._clear)!=null&&t.isConnected||(this._clear=this.querySelector("del")),this._clear}get items(){return this._items||(this._items=this.getElementsByTagName("data")),this._items}get options(){var t,e;if(!this._options){const n=((t=this.list)==null?void 0:t.nodeName)==="U-DATALIST"?"u-option":"option";this._options=(e=this.list)==null?void 0:e.getElementsByTagName(n)}return this._options}get values(){return[...this.items].map(({value:t})=>t)}},tt=t=>{var e;return((e=t?.textContent)==null?void 0:e.trim())||""},he=t=>t instanceof HTMLDataElement,ge=({control:t})=>t?.disabled||t?.readOnly||!1,Pt=(t,e)=>{var n;const{_focus:o,_texts:i,items:s,control:r,list:a,multiple:c}=t;if(!r||!a)return;const l=Xi(r),d=l.endsWith(fn)?_(r,"data-label"):l;_(r,"data-label",d);let u=`${d}${c?`, ${s.length?i.found.replace("%d",`${s.length}`):i.empty}`:""}`;const p=[];for(const{addedNodes:g,removedNodes:E}of e?.detail||[]){for(const w of g)he(w)&&p.unshift(w);for(const w of E)he(w)&&p.push(w)}const f=c?p.length===1:p[0]===o;if(o&&f){const g=_(r,"aria-expanded"),E=_(r,"inputmode"),w=he(o)?r:o,S=!p[0].isConnected;t._speak=`${i[S?"removed":"added"]} ${tt(p[0])}, `,(Zi||o===r)&&ue(t._speak),r!==w&&(_(r,"aria-expanded",null),_(r,"inputmode","none"),u=" ",r.focus()),setTimeout(()=>{var D;_(r,"aria-expanded",g),_(r,"inputmode",S?"none":E),(D=w?.focus)==null||D.call(w),_(r,"inputmode",E),t._speak="",Ji?It(t,"blur",()=>Pt(t),un):setTimeout(Pt,100,t)},100)}let b=0;const h=t.querySelector("select"),y=ge(t)?"":`${i.remove}, `;for(const g of s){const E=h?.options[b],w=tt(g),S=g.value||w,D=`${t._speak}${w}, ${y}${++b} ${i.of} ${s.length}`;_(g,"role","button"),_(g,"value",S),_(g,"tabindex","-1"),_(g,"aria-label",D),E?Object.assign(E,{textContent:w,value:S}):h?.appendChild(new Option(w,S,!0,!0))}h&&_(h,"multiple",c?"":null);for(const g of[...h?.options||[]].slice(b))g.remove();!c&&b>1&&console.warn("u-combobox: Multiple <data> found in single mode."),_(a,"aria-multiselectable",`${c}`),_(r,"list",ln(a)),_(r,"aria-label",`${t._speak}${u}${fn}`),a.hasAttribute("popover")&&(_(r,"popovertarget",ln(a)),_(a,"popover","manual"));const v=tt(s[0]);v!==t._item&&Nt(t),t._item=v,pn(t),mn(t),(n=de(t))==null||n.takeRecords()},pn=t=>{var e;t.clear&&_(t.clear,"role","button"),t.clear&&(t.clear.hidden=!((e=t.control)!=null&&e.value)||ge(t))},mn=t=>{var e;const{_speak:n,options:o=[],values:i}=t;for(const s of o){const r=(e=_(s,"value"))!=null?e:tt(s);_(s,"aria-label",n?`${n}${tt(s)}`:null),_(s,"selected",i.includes(r)?"":null)}},Nt=t=>{const{multiple:e,control:n,items:o}=t,i=tt(o[0]);!e&&n&&i!==n.value&&cn(n,i,i?"insertText":"deleteContent")},be=(t,e=!0)=>{var n;const{_texts:o,options:i=[],creatable:s,control:r,items:a,multiple:c}=t,l=((n=r?.value)==null?void 0:n.trim())||"",d=l.toLowerCase()||null;let u=[...i].find(f=>(_(f,"label")||tt(f)).trim().toLowerCase()===d);const p={bubbles:!0,cancelable:!0,detail:u};if(t.dispatchEvent(new CustomEvent("comboboxbeforematch",p))||(u=[...i].find(f=>f.selected)),e)return mn(t),u?dt(t,u,!1):s&&l?dt(t,{value:l},!1):(!c&&!l&&a[0]?dt(t,a[0]):Nt(t),ue(o.invalid));for(const f of i)f.selected=f===u},dt=(t,e,n=!0)=>{const{control:o,items:i,multiple:s}=t,r=Mt("data",e.label||e.value,{value:e.value}),a=[...i].find(d=>d.value===e.value),c={bubbles:!0,cancelable:!0,detail:a||r};if(a&&!n)return Nt(t);if(t.dispatchEvent(new CustomEvent("comboboxbeforeselect",c))){if(!s)for(const d of[...i])d.remove();a?a.remove():o?.insertAdjacentElement("beforebegin",r),t.dispatchEvent(new CustomEvent("comboboxafterselect",c))}},ts=(t,{target:e})=>{e instanceof HTMLElement&&(t._focus=e),ue()},es=t=>pe()||setTimeout(ns,0,t),ns=t=>{var e;!t._focus||t.contains((e=t._root)==null?void 0:e.activeElement)||(t.multiple||be(t),t._focus=void 0)},os=(t,e)=>{const{clientX:n,clientY:o,target:i}=e,{clear:s,control:r,items:a}=t;if(s?.contains(i))return r&&cn(r,"","deleteContentBackward"),r?.focus();for(const c of a){const{top:l,right:d,bottom:u,left:p}=c.getBoundingClientRect();if(c.contains(i))return dt(t,c);if(o>=l&&o<=u&&n>=p&&n<=d)return c.focus()}i===t&&r?.focus()},is=(t,e)=>{var n;const{options:o=[],control:i,multiple:s}=t,r=((n=i?.value)==null?void 0:n.trim())||"";if(e instanceof InputEvent?!e.inputType||e.inputType==="insertReplacementText":!!r){e.stopImmediatePropagation(),i&&(i.value=t._value);for(const c of o)if(c.value&&c.value===r)return dt(t,c,s)}else s||be(t,!1);pn(t)},ss=(t,e)=>{var n;if(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)return;const{clear:o,control:i,items:s}=t,{key:r,repeat:a,target:c}=e,l=i&&i===c,d=l&&i?.selectionEnd;let u=l?s.length:[...s].indexOf(c);if(l&&r==="Tab"&&o&&!o.hidden&&(e.preventDefault(),o.tabIndex=-1,o.focus(),It(o,"blur",()=>_(o,"tabindex",null),un)),!(!l&&zi(e)||u===-1)){if(r==="ArrowRight"&&!l)u+=1;else if(r==="ArrowLeft"&&!d)u-=1;else if(r==="Enter"&&l){const p=_(i,"form");return _(i,"form","#"),requestAnimationFrame(()=>_(i,"form",p)),be(t)}else if((r==="Backspace"||r==="Delete")&&!d){if(e.preventDefault(),!a&&s[u])return dt(t,s[u]);l&&(u-=1)}else return l||i?.focus();e.preventDefault(),(n=s[Math.max(0,u)]||i)==null||n.focus()}};Yi.define("u-combobox",me);var ve=typeof window<"u"&&typeof window.document<"u"&&typeof window.navigator<"u",rs=ve&&/android/i.test(navigator.userAgent),hn;ve&&/^Mac/i.test(((hn=navigator.userAgentData)==null?void 0:hn.platform)||navigator.platform);var as=`${rs?"data":"aria"}-labelledby`,_e=":host(:not([hidden])) { display: block }",Ht=typeof HTMLElement>"u"?class{}:HTMLElement;function C(t,e,n){return n===void 0?t.getAttribute(e):(n===null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n),null)}var gn=(t,e,n)=>{for(const o of n[0].split(","))n[0]=o,Element.prototype[`${t}EventListener`].apply(e,n)},ls=(t,...e)=>gn("add",t,e),cs=(t,...e)=>gn("remove",t,e),Bt=(t,e)=>t.shadowRoot||t.attachShadow({mode:"open"}).append(yn("slot"),yn("style",e)),Ft=new WeakMap,bn=(t,e)=>{if(e===void 0)return Ft.get(t);try{Ft.get(t).disconnect(),Ft.delete(t)}catch{}if(e){const n=new MutationObserver(o=>t.handleEvent({type:"mutation",detail:o}));n.observe(t,e),Ft.set(t,n)}},ds=t=>{const e="key"in t&&(t.key===" "||t.key==="Enter");return e&&t.preventDefault(),e&&t.target instanceof HTMLElement&&t.target.click(),e},vn=t=>{var e;const n=((e=t.getRootNode)==null?void 0:e.call(t))||t.ownerDocument;return n instanceof Document||n instanceof ShadowRoot?n:document},us=0,_n=t=>t?(t.id||(t.id=`:${t.nodeName.toLowerCase()}${(++us).toString(32)}`),t.id):"",yn=(t,e,n)=>{const o=document.createElement(t);return e&&(o.textContent=e),o},Ut={define:(t,e)=>!ve||window.customElements.get(t)||window.customElements.define(t,e)},fs=_e,ps=_e,ms=_e,hs=':host(:not([hidden])) { display: inline-block; cursor: pointer }:host([aria-disabled="true"]) { cursor: default }',Vt="aria-controls",ut="aria-selected",wn=class extends Ht{constructor(){super(),Bt(this,fs)}get tabList(){return qt("u-tablist",this)[0]||null}get selectedIndex(){return Wt(this.tabs)}set selectedIndex(t){Ee(this.tabs[t])}get tabs(){return qt("u-tab",this)}get panels(){return qt("u-tabpanel",this)}},En=class extends Ht{constructor(){super(),Bt(this,ps)}connectedCallback(){C(this,"role","tablist"),ls(this,"click,keydown",this),bn(this,{childList:!0}),this.tabs.length&&this.handleEvent()}disconnectedCallback(){cs(this,"click,keydown",this),bn(this,!1)}handleEvent(t){if(!t||t.type==="mutation"){const s=this.tabs[Math.max(this.selectedIndex,0)];return s?.setAttribute(ut,"true")}const{key:e}=t,n=[...this.tabs],o=n.findIndex(s=>s.contains(t.target));let i=o;if(!(t.defaultPrevented||o===-1)&&(t.type==="click"&&Ee(n[o]),t.type==="keydown"&&!ds(t))){if(e==="ArrowDown"||e==="ArrowRight")i=(o+1)%n.length;else if(e==="ArrowUp"||e==="ArrowLeft")i=(o||n.length)-1;else if(e==="End")i=n.length-1;else if(e==="Home")i=0;else if(e==="Tab")i=Wt(n);else return;setTimeout(()=>{n[o].tabIndex=-1,n[i].tabIndex=0}),e!=="Tab"&&(t.preventDefault(),n[i].focus())}}get tabsElement(){return this.closest("u-tabs")}get tabs(){return this.querySelectorAll("u-tab")}get selectedIndex(){return Wt(this.tabs)}set selectedIndex(t){Ee(this.tabs[t])}},ye=!1,xn=class extends Ht{static get observedAttributes(){return["id",ut,Vt]}constructor(){super(),Bt(this,hs)}connectedCallback(){C(this,"role","tab"),this.tabIndex=this.selected?0:-1}attributeChangedCallback(){if(!ye&&this.selected&&this.tabList){ye=!0;const t=[...this.tabList.querySelectorAll("u-tab")],e=qt("u-tabpanel",this.tabsElement||this),n=we(this,e[t.indexOf(this)]);n&&C(n,as,_n(this)),t.forEach((o,i)=>{const s=we(o,e[i]);o.tabIndex=o===this?0:-1,C(o,ut,`${o===this}`),C(o,Vt,s?.id||null),s&&(s.hidden=s!==n)}),ye=!1}}get tabsElement(){return this.closest("u-tabs")}get tabList(){const t=this.parentElement;return t?.nodeName==="U-TABLIST"?t:null}get selected(){return C(this,ut)==="true"}set selected(t){C(this,ut,`${!!t}`)}get index(){const t=this.tabList;return t?[...t.querySelectorAll("u-tab")].indexOf(this):0}get panel(){return we(this)}},Sn=class extends Ht{static get observedAttributes(){return["hidden"]}constructor(){super(),Bt(this,ms)}connectedCallback(){C(this,"role","tabpanel"),this.hidden=Wt(this.tabs)===-1,this.attributeChangedCallback()}attributeChangedCallback(){const t=this.hidden;C(this,"aria-hidden",`${t}`),C(this,"tabindex",t||gs(this.firstChild)?null:"0")}get tabsElement(){return this.closest("u-tabs")}get tabs(){const t=`u-tab[${Vt}="${this.id}"]`;return vn(this).querySelectorAll(t)}},qt=(t,e)=>e.querySelectorAll(`${t}:not(:scope u-tabpanel ${t})`),we=(t,e)=>{const n=C(t,Vt)||_n(e),o=vn(t).getElementById(n);return o?.nodeName==="U-TABPANEL"?o:null},Wt=t=>[...t].findIndex(e=>C(e,ut)==="true"),Ee=t=>t&&C(t,"aria-disabled")!=="true"&&C(t,"aria-selected","true"),gs=t=>t instanceof Element&&!t.matches(':disabled,[tabindex^="-"]')&&t.matches('[contenteditable],[controls],[href],[tabindex],input:not([type="hidden"]),select,textarea,button,summary,iframe');Ut.define("u-tabs",wn),Ut.define("u-tablist",En),Ut.define("u-tab",xn),Ut.define("u-tabpanel",Sn);const bs="2.1.7",Tn="_alert_1run0_1 _ds-alert_alzsp_1",$n="_app_1run0_1",Cn="_sticky_1run0_1",An="_avatar_1run0_1 _ds-avatar_alzsp_1",Ln="_badge_1run0_1",kn="_breadcrumbs_1run0_1 _ds-breadcrumbs_alzsp_1",In="_button_1run0_1 _ds-button_alzsp_1",On="_card_1run0_1",Mn="_group_1run0_1",Rn="_chip_1run0_1 _ds-chip_alzsp_1",Dn="_details_1run0_1 _ds-details_alzsp_1",Pn="_dialog_1run0_1 _ds-dialog_alzsp_1",Nn="__drawer_1run0_1",Hn="_divider_1run0_1",Bn="_errorsummary_1run0_1 _ds-error-summary_alzsp_1",Fn="__errorsummary_1run0_1",Un="_field_1run0_1 _ds-field_alzsp_1",Vn="__datalist_1run0_1",qn="_affixes_1run0_1 _ds-field-affixes_alzsp_1",Wn="_fieldset_1run0_1 _ds-fieldset_alzsp_1",zn="_heading_1run0_1 _ds-heading_alzsp_1",jn="_ingress_1run0_1",Kn="_muted_1run0_1",Yn="_info_1run0_1",Xn="_prose_1run0_1",Gn="_helptext_1run0_1 _ds-focus_alzsp_1",Qn="_input_1run0_1 _ds-input_alzsp_1",Jn="_grid_1run0_1",Zn="_flex_1run0_1",to="_link_1run0_1",eo="_logo_1run0_1",no="_pagination_1run0_1 _ds-pagination_alzsp_1",oo="_popover_1run0_1",io="_progress_1run0_1",so="__indeterminate_1run0_1",ro="_skeleton_1run0_1 _ds-skeleton_alzsp_1",ao="__skeleton_1run0_1",lo="_spinner_1run0_1",co="_steps_1run0_1",uo="_table_1run0_1 _ds-table_alzsp_1",fo="__scrollShadow_1run0_1",po="_tabs_1run0_1 _ds-tabs_alzsp_1",mo="__scrollMask_1run0_1",ho="_tag_1run0_1 _ds-tag_alzsp_1",go="_togglegroup_1run0_1",bo="__tooltip_1run0_1",vo="_validation_1run0_1 _ds-validation-message_alzsp_1",_o="_body_1run0_153",yo="__checked_1run0_1",T={alert:Tn,app:$n,sticky:Cn,avatar:An,badge:Ln,breadcrumbs:kn,button:In,card:On,group:Mn,chip:Rn,details:Dn,dialog:Pn,_drawer:Nn,divider:Hn,errorsummary:Bn,_errorsummary:Fn,field:Un,_datalist:Vn,affixes:qn,fieldset:Wn,heading:zn,ingress:jn,muted:Kn,info:Yn,prose:Xn,helptext:Gn,input:Qn,grid:Jn,flex:Zn,link:to,logo:eo,pagination:no,popover:oo,progress:io,_indeterminate:so,skeleton:ro,_skeleton:ao,spinner:lo,steps:co,table:uo,_scrollShadow:fo,tabs:po,_scrollMask:mo,tag:ho,togglegroup:go,_tooltip:bo,validation:vo,body:_o,_checked:yo},vs=Object.freeze(Object.defineProperty({__proto__:null,_checked:yo,_datalist:Vn,_drawer:Nn,_errorsummary:Fn,_indeterminate:so,_scrollMask:mo,_scrollShadow:fo,_skeleton:ao,_tooltip:bo,affixes:qn,alert:Tn,app:$n,avatar:An,badge:Ln,body:_o,breadcrumbs:kn,button:In,card:On,chip:Rn,default:T,details:Dn,dialog:Pn,divider:Hn,errorsummary:Bn,field:Un,fieldset:Wn,flex:Zn,grid:Jn,group:Mn,heading:zn,helptext:Gn,info:Yn,ingress:jn,input:Qn,link:to,logo:eo,muted:Kn,pagination:no,popover:oo,progress:io,prose:Xn,skeleton:ro,spinner:lo,steps:co,sticky:Cn,table:uo,tabs:po,tag:ho,togglegroup:go,validation:vo},Symbol.toStringTag,{value:"Module"})),ft=Math.min,k=Math.max,zt=Math.round,jt=Math.floor,V=t=>({x:t,y:t}),_s={left:"right",right:"left",bottom:"top",top:"bottom"},ys={start:"end",end:"start"};function wo(t,e,n){return k(t,ft(e,n))}function Kt(t,e){return typeof t=="function"?t(e):t}function et(t){return t.split("-")[0]}function Yt(t){return t.split("-")[1]}function Eo(t){return t==="x"?"y":"x"}function xo(t){return t==="y"?"height":"width"}const ws=new Set(["top","bottom"]);function X(t){return ws.has(et(t))?"y":"x"}function So(t){return Eo(X(t))}function Es(t,e,n){n===void 0&&(n=!1);const o=Yt(t),i=So(t),s=xo(i);let r=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=Xt(r)),[r,Xt(r)]}function xs(t){const e=Xt(t);return[xe(t),e,xe(e)]}function xe(t){return t.replace(/start|end/g,e=>ys[e])}const To=["left","right"],$o=["right","left"],Ss=["top","bottom"],Ts=["bottom","top"];function $s(t,e,n){switch(t){case"top":case"bottom":return n?e?$o:To:e?To:$o;case"left":case"right":return e?Ss:Ts;default:return[]}}function Cs(t,e,n,o){const i=Yt(t);let s=$s(et(t),n==="start",o);return i&&(s=s.map(r=>r+"-"+i),e&&(s=s.concat(s.map(xe)))),s}function Xt(t){return t.replace(/left|right|bottom|top/g,e=>_s[e])}function As(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ls(t){return typeof t!="number"?As(t):{top:t,right:t,bottom:t,left:t}}function Gt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Co(t,e,n){let{reference:o,floating:i}=t;const s=X(e),r=So(e),a=xo(r),c=et(e),l=s==="y",d=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,p=o[a]/2-i[a]/2;let f;switch(c){case"top":f={x:d,y:o.y-i.height};break;case"bottom":f={x:d,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:u};break;case"left":f={x:o.x-i.width,y:u};break;default:f={x:o.x,y:o.y}}switch(Yt(e)){case"start":f[r]-=p*(n&&l?-1:1);break;case"end":f[r]+=p*(n&&l?-1:1);break}return f}const ks=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:r}=n,a=s.filter(Boolean),c=await(r.isRTL==null?void 0:r.isRTL(e));let l=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:u}=Co(l,o,c),p=o,f={},b=0;for(let h=0;h<a.length;h++){const{name:y,fn:v}=a[h],{x:g,y:E,data:w,reset:S}=await v({x:d,y:u,initialPlacement:o,placement:p,strategy:i,middlewareData:f,rects:l,platform:r,elements:{reference:t,floating:e}});d=g??d,u=E??u,f={...f,[y]:{...f[y],...w}},S&&b<=50&&(b++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(l=S.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:i}):S.rects),{x:d,y:u}=Co(l,p,c)),h=-1)}return{x:d,y:u,placement:p,strategy:i,middlewareData:f}};async function Se(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:s,rects:r,elements:a,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:p=!1,padding:f=0}=Kt(e,t),b=Ls(f),y=a[p?u==="floating"?"reference":"floating":u],v=Gt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(y)))==null||n?y:y.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:l,rootBoundary:d,strategy:c})),g=u==="floating"?{x:o,y:i,width:r.floating.width,height:r.floating.height}:r.reference,E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),w=await(s.isElement==null?void 0:s.isElement(E))?await(s.getScale==null?void 0:s.getScale(E))||{x:1,y:1}:{x:1,y:1},S=Gt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:E,strategy:c}):g);return{top:(v.top-S.top+b.top)/w.y,bottom:(S.bottom-v.bottom+b.bottom)/w.y,left:(v.left-S.left+b.left)/w.x,right:(S.right-v.right+b.right)/w.x}}const Is=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:s,rects:r,initialPlacement:a,platform:c,elements:l}=e,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:h=!0,...y}=Kt(t,e);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const v=et(i),g=X(a),E=et(a)===a,w=await(c.isRTL==null?void 0:c.isRTL(l.floating)),S=p||(E||!h?[Xt(a)]:xs(a)),D=b!=="none";!p&&D&&S.push(...Cs(a,h,b,w));const z=[a,...S],rt=await Se(e,y),at=[];let Y=((o=s.flip)==null?void 0:o.overflows)||[];if(d&&at.push(rt[v]),u){const lt=Es(i,r,w);at.push(rt[lt[0]],rt[lt[1]])}if(Y=[...Y,{placement:i,overflows:at}],!at.every(lt=>lt<=0)){var Ct,At;const lt=(((Ct=s.flip)==null?void 0:Ct.index)||0)+1,en=z[lt];if(en&&(!(u==="alignment"?g!==X(en):!1)||Y.every(U=>X(U.placement)===g?U.overflows[0]>0:!0)))return{data:{index:lt,overflows:Y},reset:{placement:en}};let kt=(At=Y.filter(ct=>ct.overflows[0]<=0).sort((ct,U)=>ct.overflows[1]-U.overflows[1])[0])==null?void 0:At.placement;if(!kt)switch(f){case"bestFit":{var Lt;const ct=(Lt=Y.filter(U=>{if(D){const J=X(U.placement);return J===g||J==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(J=>J>0).reduce((J,Ba)=>J+Ba,0)]).sort((U,J)=>U[1]-J[1])[0])==null?void 0:Lt[0];ct&&(kt=ct);break}case"initialPlacement":kt=a;break}if(i!==kt)return{reset:{placement:kt}}}return{}}}},Os=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:s=!0,crossAxis:r=!1,limiter:a={fn:y=>{let{x:v,y:g}=y;return{x:v,y:g}}},...c}=Kt(t,e),l={x:n,y:o},d=await Se(e,c),u=X(et(i)),p=Eo(u);let f=l[p],b=l[u];if(s){const y=p==="y"?"top":"left",v=p==="y"?"bottom":"right",g=f+d[y],E=f-d[v];f=wo(g,f,E)}if(r){const y=u==="y"?"top":"left",v=u==="y"?"bottom":"right",g=b+d[y],E=b-d[v];b=wo(g,b,E)}const h=a.fn({...e,[p]:f,[u]:b});return{...h,data:{x:h.x-n,y:h.y-o,enabled:{[p]:s,[u]:r}}}}}},Ms=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:s,platform:r,elements:a}=e,{apply:c=()=>{},...l}=Kt(t,e),d=await Se(e,l),u=et(i),p=Yt(i),f=X(i)==="y",{width:b,height:h}=s.floating;let y,v;u==="top"||u==="bottom"?(y=u,v=p===(await(r.isRTL==null?void 0:r.isRTL(a.floating))?"start":"end")?"left":"right"):(v=u,y=p==="end"?"top":"bottom");const g=h-d.top-d.bottom,E=b-d.left-d.right,w=ft(h-d[y],g),S=ft(b-d[v],E),D=!e.middlewareData.shift;let z=w,rt=S;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(rt=E),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(z=g),D&&!p){const Y=k(d.left,0),Ct=k(d.right,0),At=k(d.top,0),Lt=k(d.bottom,0);f?rt=b-2*(Y!==0||Ct!==0?Y+Ct:k(d.left,d.right)):z=h-2*(At!==0||Lt!==0?At+Lt:k(d.top,d.bottom))}await c({...e,availableWidth:rt,availableHeight:z});const at=await r.getDimensions(a.floating);return b!==at.width||h!==at.height?{reset:{rects:!0}}:{}}}};function Qt(){return typeof window<"u"}function pt(t){return Ao(t)?(t.nodeName||"").toLowerCase():"#document"}function I(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function q(t){var e;return(e=(Ao(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ao(t){return Qt()?t instanceof Node||t instanceof I(t).Node:!1}function P(t){return Qt()?t instanceof Element||t instanceof I(t).Element:!1}function W(t){return Qt()?t instanceof HTMLElement||t instanceof I(t).HTMLElement:!1}function Lo(t){return!Qt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof I(t).ShadowRoot}const Rs=new Set(["inline","contents"]);function _t(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=N(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Rs.has(i)}const Ds=new Set(["table","td","th"]);function Ps(t){return Ds.has(pt(t))}const Ns=[":popover-open",":modal"];function Jt(t){return Ns.some(e=>{try{return t.matches(e)}catch{return!1}})}const Hs=["transform","translate","scale","rotate","perspective"],Bs=["transform","translate","scale","rotate","perspective","filter"],Fs=["paint","layout","strict","content"];function Te(t){const e=$e(),n=P(t)?N(t):t;return Hs.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Bs.some(o=>(n.willChange||"").includes(o))||Fs.some(o=>(n.contain||"").includes(o))}function Us(t){let e=G(t);for(;W(e)&&!mt(e);){if(Te(e))return e;if(Jt(e))return null;e=G(e)}return null}function $e(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Vs=new Set(["html","body","#document"]);function mt(t){return Vs.has(pt(t))}function N(t){return I(t).getComputedStyle(t)}function Zt(t){return P(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function G(t){if(pt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Lo(t)&&t.host||q(t);return Lo(e)?e.host:e}function ko(t){const e=G(t);return mt(e)?t.ownerDocument?t.ownerDocument.body:t.body:W(e)&&_t(e)?e:ko(e)}function yt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=ko(t),s=i===((o=t.ownerDocument)==null?void 0:o.body),r=I(i);if(s){const a=Ce(r);return e.concat(r,r.visualViewport||[],_t(i)?i:[],a&&n?yt(a):[])}return e.concat(i,yt(i,[],n))}function Ce(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Io(t){const e=N(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=W(t),s=i?t.offsetWidth:n,r=i?t.offsetHeight:o,a=zt(n)!==s||zt(o)!==r;return a&&(n=s,o=r),{width:n,height:o,$:a}}function Ae(t){return P(t)?t:t.contextElement}function ht(t){const e=Ae(t);if(!W(e))return V(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=Io(e);let r=(s?zt(n.width):n.width)/o,a=(s?zt(n.height):n.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!a||!Number.isFinite(a))&&(a=1),{x:r,y:a}}const qs=V(0);function Oo(t){const e=I(t);return!$e()||!e.visualViewport?qs:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ws(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==I(t)?!1:e}function nt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),s=Ae(t);let r=V(1);e&&(o?P(o)&&(r=ht(o)):r=ht(t));const a=Ws(s,n,o)?Oo(s):V(0);let c=(i.left+a.x)/r.x,l=(i.top+a.y)/r.y,d=i.width/r.x,u=i.height/r.y;if(s){const p=I(s),f=o&&P(o)?I(o):o;let b=p,h=Ce(b);for(;h&&o&&f!==b;){const y=ht(h),v=h.getBoundingClientRect(),g=N(h),E=v.left+(h.clientLeft+parseFloat(g.paddingLeft))*y.x,w=v.top+(h.clientTop+parseFloat(g.paddingTop))*y.y;c*=y.x,l*=y.y,d*=y.x,u*=y.y,c+=E,l+=w,b=I(h),h=Ce(b)}}return Gt({width:d,height:u,x:c,y:l})}function te(t,e){const n=Zt(t).scrollLeft;return e?e.left+n:nt(q(t)).left+n}function Mo(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-te(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function zs(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s=i==="fixed",r=q(o),a=e?Jt(e.floating):!1;if(o===r||a&&s)return n;let c={scrollLeft:0,scrollTop:0},l=V(1);const d=V(0),u=W(o);if((u||!u&&!s)&&((pt(o)!=="body"||_t(r))&&(c=Zt(o)),W(o))){const f=nt(o);l=ht(o),d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}const p=r&&!u&&!s?Mo(r,c):V(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+d.x+p.x,y:n.y*l.y-c.scrollTop*l.y+d.y+p.y}}function js(t){return Array.from(t.getClientRects())}function Ks(t){const e=q(t),n=Zt(t),o=t.ownerDocument.body,i=k(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=k(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let r=-n.scrollLeft+te(t);const a=-n.scrollTop;return N(o).direction==="rtl"&&(r+=k(e.clientWidth,o.clientWidth)-i),{width:i,height:s,x:r,y:a}}const Ro=25;function Ys(t,e){const n=I(t),o=q(t),i=n.visualViewport;let s=o.clientWidth,r=o.clientHeight,a=0,c=0;if(i){s=i.width,r=i.height;const d=$e();(!d||d&&e==="fixed")&&(a=i.offsetLeft,c=i.offsetTop)}const l=te(o);if(l<=0){const d=o.ownerDocument,u=d.body,p=getComputedStyle(u),f=d.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,b=Math.abs(o.clientWidth-u.clientWidth-f);b<=Ro&&(s-=b)}else l<=Ro&&(s+=l);return{width:s,height:r,x:a,y:c}}const Xs=new Set(["absolute","fixed"]);function Gs(t,e){const n=nt(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,s=W(t)?ht(t):V(1),r=t.clientWidth*s.x,a=t.clientHeight*s.y,c=i*s.x,l=o*s.y;return{width:r,height:a,x:c,y:l}}function Do(t,e,n){let o;if(e==="viewport")o=Ys(t,n);else if(e==="document")o=Ks(q(t));else if(P(e))o=Gs(e,n);else{const i=Oo(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Gt(o)}function Po(t,e){const n=G(t);return n===e||!P(n)||mt(n)?!1:N(n).position==="fixed"||Po(n,e)}function Qs(t,e){const n=e.get(t);if(n)return n;let o=yt(t,[],!1).filter(a=>P(a)&&pt(a)!=="body"),i=null;const s=N(t).position==="fixed";let r=s?G(t):t;for(;P(r)&&!mt(r);){const a=N(r),c=Te(r);!c&&a.position==="fixed"&&(i=null),(s?!c&&!i:!c&&a.position==="static"&&!!i&&Xs.has(i.position)||_t(r)&&!c&&Po(t,r))?o=o.filter(d=>d!==r):i=a,r=G(r)}return e.set(t,o),o}function Js(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[...n==="clippingAncestors"?Jt(e)?[]:Qs(e,this._c):[].concat(n),o],a=r[0],c=r.reduce((l,d)=>{const u=Do(e,d,i);return l.top=k(u.top,l.top),l.right=ft(u.right,l.right),l.bottom=ft(u.bottom,l.bottom),l.left=k(u.left,l.left),l},Do(e,a,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Zs(t){const{width:e,height:n}=Io(t);return{width:e,height:n}}function tr(t,e,n){const o=W(e),i=q(e),s=n==="fixed",r=nt(t,!0,s,e);let a={scrollLeft:0,scrollTop:0};const c=V(0);function l(){c.x=te(i)}if(o||!o&&!s)if((pt(e)!=="body"||_t(i))&&(a=Zt(e)),o){const f=nt(e,!0,s,e);c.x=f.x+e.clientLeft,c.y=f.y+e.clientTop}else i&&l();s&&!o&&i&&l();const d=i&&!o&&!s?Mo(i,a):V(0),u=r.left+a.scrollLeft-c.x-d.x,p=r.top+a.scrollTop-c.y-d.y;return{x:u,y:p,width:r.width,height:r.height}}function Le(t){return N(t).position==="static"}function No(t,e){if(!W(t)||N(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return q(t)===n&&(n=n.ownerDocument.body),n}function Ho(t,e){const n=I(t);if(Jt(t))return n;if(!W(t)){let i=G(t);for(;i&&!mt(i);){if(P(i)&&!Le(i))return i;i=G(i)}return n}let o=No(t,e);for(;o&&Ps(o)&&Le(o);)o=No(o,e);return o&&mt(o)&&Le(o)&&!Te(o)?n:o||Us(t)||n}const er=async function(t){const e=this.getOffsetParent||Ho,n=this.getDimensions,o=await n(t.floating);return{reference:tr(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function nr(t){return N(t).direction==="rtl"}const or={convertOffsetParentRelativeRectToViewportRelativeRect:zs,getDocumentElement:q,getClippingRect:Js,getOffsetParent:Ho,getElementRects:er,getClientRects:js,getDimensions:Zs,getScale:ht,isElement:P,isRTL:nr};function Bo(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function ir(t,e){let n=null,o;const i=q(t);function s(){var a;clearTimeout(o),(a=n)==null||a.disconnect(),n=null}function r(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),s();const l=t.getBoundingClientRect(),{left:d,top:u,width:p,height:f}=l;if(a||e(),!p||!f)return;const b=jt(u),h=jt(i.clientWidth-(d+p)),y=jt(i.clientHeight-(u+f)),v=jt(d),E={rootMargin:-b+"px "+-h+"px "+-y+"px "+-v+"px",threshold:k(0,ft(1,c))||1};let w=!0;function S(D){const z=D[0].intersectionRatio;if(z!==c){if(!w)return r();z?r(!1,z):o=setTimeout(()=>{r(!1,1e-7)},1e3)}z===1&&!Bo(l,t.getBoundingClientRect())&&r(),w=!1}try{n=new IntersectionObserver(S,{...E,root:i.ownerDocument})}catch{n=new IntersectionObserver(S,E)}n.observe(t)}return r(!0),s}function sr(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,l=Ae(t),d=i||s?[...l?yt(l):[],...yt(e)]:[];d.forEach(v=>{i&&v.addEventListener("scroll",n,{passive:!0}),s&&v.addEventListener("resize",n)});const u=l&&a?ir(l,n):null;let p=-1,f=null;r&&(f=new ResizeObserver(v=>{let[g]=v;g&&g.target===l&&f&&(f.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var E;(E=f)==null||E.observe(e)})),n()}),l&&!c&&f.observe(l),f.observe(e));let b,h=c?nt(t):null;c&&y();function y(){const v=nt(t);h&&!Bo(h,v)&&n(),h=v,b=requestAnimationFrame(y)}return n(),()=>{var v;d.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),u?.(),(v=f)==null||v.disconnect(),f=null,c&&cancelAnimationFrame(b)}}const ke=Os,Ie=Is,Fo=Ms,rr=(t,e,n)=>{const o=new Map,i={platform:or,...n},s={...i.platform,_c:o};return ks(t,e,{...i,platform:s})},M={capture:!0,passive:!0},ee=typeof window<"u"&&typeof document<"u";function ar(t,e){let n;return(...o)=>{clearTimeout(n),n=setTimeout(()=>t(...o),e)}}function m(t,e,n){return n===void 0?t.getAttribute(e)??null:(n===null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n),null)}let lr=0;const cr=`${Date.now().toString(36)}${Math.random().toString(36).slice(2,5)}`;function ne(t){return t.id||(t.id=`${cr}${++lr}`),t.id}const Uo=(t,e,[...n])=>{for(const o of n[0].split(","))n[0]=o,e[`${t}EventListener`](...n)},$=(t,...e)=>{wt&&(t===window||t===document)&&wt.push(()=>dr(t,...e)),Uo("add",t,e)},dr=(t,...e)=>Uo("remove",t,e);let wt=null;const R=t=>{if(!ee)return;window._mtdsUnbindEvents||(window._mtdsUnbindEvents=new Map);const e=()=>requestAnimationFrame(()=>{const n=String(t).replace(/(\n|\s)/g,"");window._mtdsUnbindEvents?.get(n)?.forEach(o=>{o()}),wt=[],t(),window._mtdsUnbindEvents?.set(n,wt?.slice(0)),wt=null});document.readyState==="complete"?e():$(window,"load",e)},Oe=new WeakMap;function ot(t,e,n){Oe.get(t)?.(),Oe.delete(t),e&&Oe.set(t,sr(e,t,()=>{if(!t.isConnected||!e.isConnected||t.hidden)return ot(t,!1);rr(e,t,n).then(({x:o,y:i})=>{t.style.left=`${o}px`,t.style.top=`${i}px`})}))}function Vo(t){let e=0;const n=()=>setTimeout(o,200),o=()=>{t([],i),i.takeRecords(),e=0},i=new MutationObserver(()=>{e||(e=requestAnimationFrame(n))});return i}const Me=new WeakMap,gt=(t,e,n)=>{const o=t.getElementsByClassName(e),i=Me.get(t)||[];i.length||(Me.set(t,i),Vo((s,r)=>{if(t.isConnected&&i?.length)for(const a of i)a();else r?.disconnect(),Me.delete(t)}).observe(t,{attributeFilter:["class","hidden"],attributes:!0,childList:!0,subtree:!0})),i.push(()=>n(o))},Re=t=>t instanceof HTMLElement&&"validity"in t&&!(t instanceof HTMLButtonElement),ur=`.${T.breadcrumbs.split(" ")[0]}`,fr=`.${T.chip.split(" ")[0]}`,pr=`.${T.helptext.split(" ")[0]}`,mr=`.${T.pagination.split(" ")[0]}`,hr='summary,u-summary,a,button,[role="tab"],[role="button"]',gr="click,toggle,submit,change",De="mattilsynet.matomo.cloud",H="mtds-analytics-banner",br="https://www.mattilsynet.no/om-mattilsynet/personvernerklaering/informasjonskapsler";function qo(t,e={}){if(ee){if(window._paq||(window._paq=[],window._paq.push(["HeatmapSessionRecording::disable"]),window._paq.push(["enableLinkTracking"]),window._paq.push(["setTrackerUrl",`https://${De}/matomo.php`])),window._mtm||(window._mtm=window._mtm||[],window._mtm.push({"mtm.startTime":Date.now(),event:"mtm.Start"})),t==="init"){window._mtdsTracking={enabled:window.location.hostname!=="localhost",...window._mtdsTracking,...e};const{consent:n,enabled:o,matomoId:i,matomoTagManagerId:s}=window._mtdsTracking;if(i&&window._paq.push(["setSiteId",i]),o){n!=="custom"&&vr();const r=s?`https://cdn.matomo.cloud/${De}/container_${s}.js`:`https://cdn.matomo.cloud/${De}/matomo.js`;document.querySelector(`script[src="${r}"]`)||document.head.append(Object.assign(document.createElement("script"),{async:!0,src:r}))}}if(window._mtdsTracking?.enabled!==!1){if(window._mtdsTracking?.enabled==="debug")return console.info(`analytics("${t}", `,e,")");if(t==="pageview"){const{url:n,title:o}=e;window._paq.push(["setCustomUrl",n||location.href]),window._paq.push(["setDocumentTitle",o||document.title]),window._paq.push(["trackPageView"])}else if(t==="event"){const{category:n,action:o,name:i,value:s}=e,r=["trackEvent",n,o,i,s];let a=location.href;window._paq.push([function(){a=this.getCurrentUrl()}]),window._paq.push(["setCustomUrl",a.split("#")[0]]),window._paq.push(r.filter(c=>c!==void 0)),window._paq.push(["setCustomUrl",a])}else if(t==="search"){const{query:n,category:o=!1,results:i=!1}=e;window._paq.push(["trackSiteSearch",n,o,i])}else t==="matomo"&&window._paq.push(e)}}}function vr(){if(document.getElementById(H)||window.localStorage.getItem(H))return;document.body.insertAdjacentHTML("afterbegin",`<dialog id="${H}" data-analytics="ignore"><style>
8
+ ::slotted(data:focus) { ${Vi} }`,dn="beforeinput,blur,focus,click,input,keydown,mousedown",un={once:!0,passive:!0},Ji=Fi&&!sn,Zi=sn||Ui,fn="​".repeat(5),Rt="false",Dt={added:"Added",empty:"No selected",found:"Navigate left to find %d selected",invalid:"Invalid value",of:"of",remove:"Press to remove",removed:"Removed"},me=class extends qi{constructor(){super(),this._item="",this._speak="",this._texts=Bi({},Dt),this._value="",this.shadowRoot||this.attachShadow({mode:"open"}).append(Mt("slot"),Mt("style",Qi))}static get observedAttributes(){return Object.keys(Dt).map(t=>`data-sr-${t}`)}connectedCallback(){this._root=ji(this),It(this,dn,this,!0),de(this,{attributeFilter:["value","id"],attributes:!0,characterData:!0,childList:!0,subtree:!0}),setTimeout(Pt,0,this),setTimeout(Nt,0,this)}attributeChangedCallback(t,e,n){const o=t.split("data-sr-")[1];Dt[o]&&(this._texts[o]=n||Dt[o])}disconnectedCallback(){de(this,!1),Wi(this,dn,this,!0),this._items=this._clear=this._focus=this._control=void 0,this._list=this._options=this._root=void 0}handleEvent(t){const e=t.target;ge(this)||(t.type==="beforeinput"&&(this._value=e?.value||""),t.type==="blur"&&es(this),t.type==="click"&&os(this,t),t.type==="focus"&&ts(this,t),t.type==="input"&&is(this,t),t.type==="keydown"&&ss(this,t),t.type==="mousedown"&&pe(t),t.type==="mutation"&&Pt(this,t))}get multiple(){var t;return((t=_(this,"data-multiple"))!=null?t:Rt)!==Rt}set multiple(t){_(this,"data-multiple",t?"":null)}get creatable(){var t;return((t=_(this,"data-creatable"))!=null?t:Rt)!==Rt}set creatable(t){_(this,"data-creatable",t?"":null)}get control(){var t;return(t=this._control)!=null&&t.isConnected||(this._control=this.querySelector("input")),this._control}get list(){var t;return(t=this._list)!=null&&t.isConnected||(this._list=this.querySelector("u-datalist,datalist")),this._list}get clear(){var t;return(t=this._clear)!=null&&t.isConnected||(this._clear=this.querySelector("del")),this._clear}get items(){return this._items||(this._items=this.getElementsByTagName("data")),this._items}get options(){var t,e;if(!this._options){const n=((t=this.list)==null?void 0:t.nodeName)==="U-DATALIST"?"u-option":"option";this._options=(e=this.list)==null?void 0:e.getElementsByTagName(n)}return this._options}get values(){return[...this.items].map(({value:t})=>t)}},tt=t=>{var e;return((e=t?.textContent)==null?void 0:e.trim())||""},he=t=>t instanceof HTMLDataElement,ge=({control:t})=>t?.disabled||t?.readOnly||!1,Pt=(t,e)=>{var n;const{_focus:o,_texts:i,items:s,control:r,list:a,multiple:c}=t;if(!r||!a)return;const l=Xi(r),d=l.endsWith(fn)?_(r,"data-label"):l;_(r,"data-label",d);let u=`${d}${c?`, ${s.length?i.found.replace("%d",`${s.length}`):i.empty}`:""}`;const p=[];for(const{addedNodes:g,removedNodes:E}of e?.detail||[]){for(const w of g)he(w)&&p.unshift(w);for(const w of E)he(w)&&p.push(w)}const f=c?p.length===1:p[0]===o;if(o&&f){const g=_(r,"aria-expanded"),E=_(r,"inputmode"),w=he(o)?r:o,S=!p[0].isConnected;t._speak=`${i[S?"removed":"added"]} ${tt(p[0])}, `,(Zi||o===r)&&ue(t._speak),r!==w&&(_(r,"aria-expanded",null),_(r,"inputmode","none"),u=" ",r.focus()),setTimeout(()=>{var D;_(r,"aria-expanded",g),_(r,"inputmode",S?"none":E),(D=w?.focus)==null||D.call(w),_(r,"inputmode",E),t._speak="",Ji?It(t,"blur",()=>Pt(t),un):setTimeout(Pt,100,t)},100)}let b=0;const h=t.querySelector("select"),y=ge(t)?"":`${i.remove}, `;for(const g of s){const E=h?.options[b],w=tt(g),S=g.value||w,D=`${t._speak}${w}, ${y}${++b} ${i.of} ${s.length}`;_(g,"role","button"),_(g,"value",S),_(g,"tabindex","-1"),_(g,"aria-label",D),E?Object.assign(E,{textContent:w,value:S}):h?.appendChild(new Option(w,S,!0,!0))}h&&_(h,"multiple",c?"":null);for(const g of[...h?.options||[]].slice(b))g.remove();!c&&b>1&&console.warn("u-combobox: Multiple <data> found in single mode."),_(a,"aria-multiselectable",`${c}`),_(r,"list",ln(a)),_(r,"aria-label",`${t._speak}${u}${fn}`),a.hasAttribute("popover")&&(_(r,"popovertarget",ln(a)),_(a,"popover","manual"));const v=tt(s[0]);v!==t._item&&Nt(t),t._item=v,pn(t),mn(t),(n=de(t))==null||n.takeRecords()},pn=t=>{var e;t.clear&&_(t.clear,"role","button"),t.clear&&(t.clear.hidden=!((e=t.control)!=null&&e.value)||ge(t))},mn=t=>{var e;const{_speak:n,options:o=[],values:i}=t;for(const s of o){const r=(e=_(s,"value"))!=null?e:tt(s);_(s,"aria-label",n?`${n}${tt(s)}`:null),_(s,"selected",i.includes(r)?"":null)}},Nt=t=>{const{multiple:e,control:n,items:o}=t,i=tt(o[0]);!e&&n&&i!==n.value&&cn(n,i,i?"insertText":"deleteContent")},be=(t,e=!0)=>{var n;const{_texts:o,options:i=[],creatable:s,control:r,items:a,multiple:c}=t,l=((n=r?.value)==null?void 0:n.trim())||"",d=l.toLowerCase()||null;let u=[...i].find(f=>(_(f,"label")||tt(f)).trim().toLowerCase()===d);const p={bubbles:!0,cancelable:!0,detail:u};if(t.dispatchEvent(new CustomEvent("comboboxbeforematch",p))||(u=[...i].find(f=>f.selected)),e)return mn(t),u?dt(t,u,!1):s&&l?dt(t,{value:l},!1):(!c&&!l&&a[0]?dt(t,a[0]):Nt(t),ue(o.invalid));for(const f of i)f.selected=f===u},dt=(t,e,n=!0)=>{const{control:o,items:i,multiple:s}=t,r=Mt("data",e.label||e.value,{value:e.value}),a=[...i].find(d=>d.value===e.value),c={bubbles:!0,cancelable:!0,detail:a||r};if(a&&!n)return Nt(t);if(t.dispatchEvent(new CustomEvent("comboboxbeforeselect",c))){if(!s)for(const d of[...i])d.remove();a?a.remove():o?.insertAdjacentElement("beforebegin",r),t.dispatchEvent(new CustomEvent("comboboxafterselect",c))}},ts=(t,{target:e})=>{e instanceof HTMLElement&&(t._focus=e),ue()},es=t=>pe()||setTimeout(ns,0,t),ns=t=>{var e;!t._focus||t.contains((e=t._root)==null?void 0:e.activeElement)||(t.multiple||be(t),t._focus=void 0)},os=(t,e)=>{const{clientX:n,clientY:o,target:i}=e,{clear:s,control:r,items:a}=t;if(s?.contains(i))return r&&cn(r,"","deleteContentBackward"),r?.focus();for(const c of a){const{top:l,right:d,bottom:u,left:p}=c.getBoundingClientRect();if(c.contains(i))return dt(t,c);if(o>=l&&o<=u&&n>=p&&n<=d)return c.focus()}i===t&&r?.focus()},is=(t,e)=>{var n;const{options:o=[],control:i,multiple:s}=t,r=((n=i?.value)==null?void 0:n.trim())||"";if(e instanceof InputEvent?!e.inputType||e.inputType==="insertReplacementText":!!r){e.stopImmediatePropagation(),i&&(i.value=t._value);for(const c of o)if(c.value&&c.value===r)return dt(t,c,s)}else s||be(t,!1);pn(t)},ss=(t,e)=>{var n;if(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)return;const{clear:o,control:i,items:s}=t,{key:r,repeat:a,target:c}=e,l=i&&i===c,d=l&&i?.selectionEnd;let u=l?s.length:[...s].indexOf(c);if(l&&r==="Tab"&&o&&!o.hidden&&(e.preventDefault(),o.tabIndex=-1,o.focus(),It(o,"blur",()=>_(o,"tabindex",null),un)),!(!l&&zi(e)||u===-1)){if(r==="ArrowRight"&&!l)u+=1;else if(r==="ArrowLeft"&&!d)u-=1;else if(r==="Enter"&&l){const p=_(i,"form");return _(i,"form","#"),requestAnimationFrame(()=>_(i,"form",p)),be(t)}else if((r==="Backspace"||r==="Delete")&&!d){if(e.preventDefault(),!a&&s[u])return dt(t,s[u]);l&&(u-=1)}else return l||i?.focus();e.preventDefault(),(n=s[Math.max(0,u)]||i)==null||n.focus()}};Yi.define("u-combobox",me);var ve=typeof window<"u"&&typeof window.document<"u"&&typeof window.navigator<"u",rs=ve&&/android/i.test(navigator.userAgent),hn;ve&&/^Mac/i.test(((hn=navigator.userAgentData)==null?void 0:hn.platform)||navigator.platform);var as=`${rs?"data":"aria"}-labelledby`,_e=":host(:not([hidden])) { display: block }",Ht=typeof HTMLElement>"u"?class{}:HTMLElement;function C(t,e,n){return n===void 0?t.getAttribute(e):(n===null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n),null)}var gn=(t,e,n)=>{for(const o of n[0].split(","))n[0]=o,Element.prototype[`${t}EventListener`].apply(e,n)},ls=(t,...e)=>gn("add",t,e),cs=(t,...e)=>gn("remove",t,e),Bt=(t,e)=>t.shadowRoot||t.attachShadow({mode:"open"}).append(yn("slot"),yn("style",e)),Ft=new WeakMap,bn=(t,e)=>{if(e===void 0)return Ft.get(t);try{Ft.get(t).disconnect(),Ft.delete(t)}catch{}if(e){const n=new MutationObserver(o=>t.handleEvent({type:"mutation",detail:o}));n.observe(t,e),Ft.set(t,n)}},ds=t=>{const e="key"in t&&(t.key===" "||t.key==="Enter");return e&&t.preventDefault(),e&&t.target instanceof HTMLElement&&t.target.click(),e},vn=t=>{var e;const n=((e=t.getRootNode)==null?void 0:e.call(t))||t.ownerDocument;return n instanceof Document||n instanceof ShadowRoot?n:document},us=0,_n=t=>t?(t.id||(t.id=`:${t.nodeName.toLowerCase()}${(++us).toString(32)}`),t.id):"",yn=(t,e,n)=>{const o=document.createElement(t);return e&&(o.textContent=e),o},Ut={define:(t,e)=>!ve||window.customElements.get(t)||window.customElements.define(t,e)},fs=_e,ps=_e,ms=_e,hs=':host(:not([hidden])) { display: inline-block; cursor: pointer }:host([aria-disabled="true"]) { cursor: default }',Vt="aria-controls",ut="aria-selected",wn=class extends Ht{constructor(){super(),Bt(this,fs)}get tabList(){return qt("u-tablist",this)[0]||null}get selectedIndex(){return Wt(this.tabs)}set selectedIndex(t){Ee(this.tabs[t])}get tabs(){return qt("u-tab",this)}get panels(){return qt("u-tabpanel",this)}},En=class extends Ht{constructor(){super(),Bt(this,ps)}connectedCallback(){C(this,"role","tablist"),ls(this,"click,keydown",this),bn(this,{childList:!0}),this.tabs.length&&this.handleEvent()}disconnectedCallback(){cs(this,"click,keydown",this),bn(this,!1)}handleEvent(t){if(!t||t.type==="mutation"){const s=this.tabs[Math.max(this.selectedIndex,0)];return s?.setAttribute(ut,"true")}const{key:e}=t,n=[...this.tabs],o=n.findIndex(s=>s.contains(t.target));let i=o;if(!(t.defaultPrevented||o===-1)&&(t.type==="click"&&Ee(n[o]),t.type==="keydown"&&!ds(t))){if(e==="ArrowDown"||e==="ArrowRight")i=(o+1)%n.length;else if(e==="ArrowUp"||e==="ArrowLeft")i=(o||n.length)-1;else if(e==="End")i=n.length-1;else if(e==="Home")i=0;else if(e==="Tab")i=Wt(n);else return;setTimeout(()=>{n[o].tabIndex=-1,n[i].tabIndex=0}),e!=="Tab"&&(t.preventDefault(),n[i].focus())}}get tabsElement(){return this.closest("u-tabs")}get tabs(){return this.querySelectorAll("u-tab")}get selectedIndex(){return Wt(this.tabs)}set selectedIndex(t){Ee(this.tabs[t])}},ye=!1,xn=class extends Ht{static get observedAttributes(){return["id",ut,Vt]}constructor(){super(),Bt(this,hs)}connectedCallback(){C(this,"role","tab"),this.tabIndex=this.selected?0:-1}attributeChangedCallback(){if(!ye&&this.selected&&this.tabList){ye=!0;const t=[...this.tabList.querySelectorAll("u-tab")],e=qt("u-tabpanel",this.tabsElement||this),n=we(this,e[t.indexOf(this)]);n&&C(n,as,_n(this)),t.forEach((o,i)=>{const s=we(o,e[i]);o.tabIndex=o===this?0:-1,C(o,ut,`${o===this}`),C(o,Vt,s?.id||null),s&&(s.hidden=s!==n)}),ye=!1}}get tabsElement(){return this.closest("u-tabs")}get tabList(){const t=this.parentElement;return t?.nodeName==="U-TABLIST"?t:null}get selected(){return C(this,ut)==="true"}set selected(t){C(this,ut,`${!!t}`)}get index(){const t=this.tabList;return t?[...t.querySelectorAll("u-tab")].indexOf(this):0}get panel(){return we(this)}},Sn=class extends Ht{static get observedAttributes(){return["hidden"]}constructor(){super(),Bt(this,ms)}connectedCallback(){C(this,"role","tabpanel"),this.hidden=Wt(this.tabs)===-1,this.attributeChangedCallback()}attributeChangedCallback(){const t=this.hidden;C(this,"aria-hidden",`${t}`),C(this,"tabindex",t||gs(this.firstChild)?null:"0")}get tabsElement(){return this.closest("u-tabs")}get tabs(){const t=`u-tab[${Vt}="${this.id}"]`;return vn(this).querySelectorAll(t)}},qt=(t,e)=>e.querySelectorAll(`${t}:not(:scope u-tabpanel ${t})`),we=(t,e)=>{const n=C(t,Vt)||_n(e),o=vn(t).getElementById(n);return o?.nodeName==="U-TABPANEL"?o:null},Wt=t=>[...t].findIndex(e=>C(e,ut)==="true"),Ee=t=>t&&C(t,"aria-disabled")!=="true"&&C(t,"aria-selected","true"),gs=t=>t instanceof Element&&!t.matches(':disabled,[tabindex^="-"]')&&t.matches('[contenteditable],[controls],[href],[tabindex],input:not([type="hidden"]),select,textarea,button,summary,iframe');Ut.define("u-tabs",wn),Ut.define("u-tablist",En),Ut.define("u-tab",xn),Ut.define("u-tabpanel",Sn);const bs="2.1.8",Tn="_alert_1run0_1 _ds-alert_alzsp_1",$n="_app_1run0_1",Cn="_sticky_1run0_1",An="_avatar_1run0_1 _ds-avatar_alzsp_1",Ln="_badge_1run0_1",kn="_breadcrumbs_1run0_1 _ds-breadcrumbs_alzsp_1",In="_button_1run0_1 _ds-button_alzsp_1",On="_card_1run0_1",Mn="_group_1run0_1",Rn="_chip_1run0_1 _ds-chip_alzsp_1",Dn="_details_1run0_1 _ds-details_alzsp_1",Pn="_dialog_1run0_1 _ds-dialog_alzsp_1",Nn="__drawer_1run0_1",Hn="_divider_1run0_1",Bn="_errorsummary_1run0_1 _ds-error-summary_alzsp_1",Fn="__errorsummary_1run0_1",Un="_field_1run0_1 _ds-field_alzsp_1",Vn="__datalist_1run0_1",qn="_affixes_1run0_1 _ds-field-affixes_alzsp_1",Wn="_fieldset_1run0_1 _ds-fieldset_alzsp_1",zn="_heading_1run0_1 _ds-heading_alzsp_1",jn="_ingress_1run0_1",Kn="_muted_1run0_1",Yn="_info_1run0_1",Xn="_prose_1run0_1",Gn="_helptext_1run0_1 _ds-focus_alzsp_1",Qn="_input_1run0_1 _ds-input_alzsp_1",Jn="_grid_1run0_1",Zn="_flex_1run0_1",to="_link_1run0_1",eo="_logo_1run0_1",no="_pagination_1run0_1 _ds-pagination_alzsp_1",oo="_popover_1run0_1",io="_progress_1run0_1",so="__indeterminate_1run0_1",ro="_skeleton_1run0_1 _ds-skeleton_alzsp_1",ao="__skeleton_1run0_1",lo="_spinner_1run0_1",co="_steps_1run0_1",uo="_table_1run0_1 _ds-table_alzsp_1",fo="__scrollShadow_1run0_1",po="_tabs_1run0_1 _ds-tabs_alzsp_1",mo="__scrollMask_1run0_1",ho="_tag_1run0_1 _ds-tag_alzsp_1",go="_togglegroup_1run0_1",bo="__tooltip_1run0_1",vo="_validation_1run0_1 _ds-validation-message_alzsp_1",_o="_body_1run0_153",yo="__checked_1run0_1",T={alert:Tn,app:$n,sticky:Cn,avatar:An,badge:Ln,breadcrumbs:kn,button:In,card:On,group:Mn,chip:Rn,details:Dn,dialog:Pn,_drawer:Nn,divider:Hn,errorsummary:Bn,_errorsummary:Fn,field:Un,_datalist:Vn,affixes:qn,fieldset:Wn,heading:zn,ingress:jn,muted:Kn,info:Yn,prose:Xn,helptext:Gn,input:Qn,grid:Jn,flex:Zn,link:to,logo:eo,pagination:no,popover:oo,progress:io,_indeterminate:so,skeleton:ro,_skeleton:ao,spinner:lo,steps:co,table:uo,_scrollShadow:fo,tabs:po,_scrollMask:mo,tag:ho,togglegroup:go,_tooltip:bo,validation:vo,body:_o,_checked:yo},vs=Object.freeze(Object.defineProperty({__proto__:null,_checked:yo,_datalist:Vn,_drawer:Nn,_errorsummary:Fn,_indeterminate:so,_scrollMask:mo,_scrollShadow:fo,_skeleton:ao,_tooltip:bo,affixes:qn,alert:Tn,app:$n,avatar:An,badge:Ln,body:_o,breadcrumbs:kn,button:In,card:On,chip:Rn,default:T,details:Dn,dialog:Pn,divider:Hn,errorsummary:Bn,field:Un,fieldset:Wn,flex:Zn,grid:Jn,group:Mn,heading:zn,helptext:Gn,info:Yn,ingress:jn,input:Qn,link:to,logo:eo,muted:Kn,pagination:no,popover:oo,progress:io,prose:Xn,skeleton:ro,spinner:lo,steps:co,sticky:Cn,table:uo,tabs:po,tag:ho,togglegroup:go,validation:vo},Symbol.toStringTag,{value:"Module"})),ft=Math.min,k=Math.max,zt=Math.round,jt=Math.floor,V=t=>({x:t,y:t}),_s={left:"right",right:"left",bottom:"top",top:"bottom"},ys={start:"end",end:"start"};function wo(t,e,n){return k(t,ft(e,n))}function Kt(t,e){return typeof t=="function"?t(e):t}function et(t){return t.split("-")[0]}function Yt(t){return t.split("-")[1]}function Eo(t){return t==="x"?"y":"x"}function xo(t){return t==="y"?"height":"width"}const ws=new Set(["top","bottom"]);function X(t){return ws.has(et(t))?"y":"x"}function So(t){return Eo(X(t))}function Es(t,e,n){n===void 0&&(n=!1);const o=Yt(t),i=So(t),s=xo(i);let r=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=Xt(r)),[r,Xt(r)]}function xs(t){const e=Xt(t);return[xe(t),e,xe(e)]}function xe(t){return t.replace(/start|end/g,e=>ys[e])}const To=["left","right"],$o=["right","left"],Ss=["top","bottom"],Ts=["bottom","top"];function $s(t,e,n){switch(t){case"top":case"bottom":return n?e?$o:To:e?To:$o;case"left":case"right":return e?Ss:Ts;default:return[]}}function Cs(t,e,n,o){const i=Yt(t);let s=$s(et(t),n==="start",o);return i&&(s=s.map(r=>r+"-"+i),e&&(s=s.concat(s.map(xe)))),s}function Xt(t){return t.replace(/left|right|bottom|top/g,e=>_s[e])}function As(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ls(t){return typeof t!="number"?As(t):{top:t,right:t,bottom:t,left:t}}function Gt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Co(t,e,n){let{reference:o,floating:i}=t;const s=X(e),r=So(e),a=xo(r),c=et(e),l=s==="y",d=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,p=o[a]/2-i[a]/2;let f;switch(c){case"top":f={x:d,y:o.y-i.height};break;case"bottom":f={x:d,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:u};break;case"left":f={x:o.x-i.width,y:u};break;default:f={x:o.x,y:o.y}}switch(Yt(e)){case"start":f[r]-=p*(n&&l?-1:1);break;case"end":f[r]+=p*(n&&l?-1:1);break}return f}const ks=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:r}=n,a=s.filter(Boolean),c=await(r.isRTL==null?void 0:r.isRTL(e));let l=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:u}=Co(l,o,c),p=o,f={},b=0;for(let h=0;h<a.length;h++){const{name:y,fn:v}=a[h],{x:g,y:E,data:w,reset:S}=await v({x:d,y:u,initialPlacement:o,placement:p,strategy:i,middlewareData:f,rects:l,platform:r,elements:{reference:t,floating:e}});d=g??d,u=E??u,f={...f,[y]:{...f[y],...w}},S&&b<=50&&(b++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(l=S.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:i}):S.rects),{x:d,y:u}=Co(l,p,c)),h=-1)}return{x:d,y:u,placement:p,strategy:i,middlewareData:f}};async function Se(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:s,rects:r,elements:a,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:p=!1,padding:f=0}=Kt(e,t),b=Ls(f),y=a[p?u==="floating"?"reference":"floating":u],v=Gt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(y)))==null||n?y:y.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:l,rootBoundary:d,strategy:c})),g=u==="floating"?{x:o,y:i,width:r.floating.width,height:r.floating.height}:r.reference,E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),w=await(s.isElement==null?void 0:s.isElement(E))?await(s.getScale==null?void 0:s.getScale(E))||{x:1,y:1}:{x:1,y:1},S=Gt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:E,strategy:c}):g);return{top:(v.top-S.top+b.top)/w.y,bottom:(S.bottom-v.bottom+b.bottom)/w.y,left:(v.left-S.left+b.left)/w.x,right:(S.right-v.right+b.right)/w.x}}const Is=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:s,rects:r,initialPlacement:a,platform:c,elements:l}=e,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:h=!0,...y}=Kt(t,e);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const v=et(i),g=X(a),E=et(a)===a,w=await(c.isRTL==null?void 0:c.isRTL(l.floating)),S=p||(E||!h?[Xt(a)]:xs(a)),D=b!=="none";!p&&D&&S.push(...Cs(a,h,b,w));const z=[a,...S],rt=await Se(e,y),at=[];let Y=((o=s.flip)==null?void 0:o.overflows)||[];if(d&&at.push(rt[v]),u){const lt=Es(i,r,w);at.push(rt[lt[0]],rt[lt[1]])}if(Y=[...Y,{placement:i,overflows:at}],!at.every(lt=>lt<=0)){var Ct,At;const lt=(((Ct=s.flip)==null?void 0:Ct.index)||0)+1,en=z[lt];if(en&&(!(u==="alignment"?g!==X(en):!1)||Y.every(U=>X(U.placement)===g?U.overflows[0]>0:!0)))return{data:{index:lt,overflows:Y},reset:{placement:en}};let kt=(At=Y.filter(ct=>ct.overflows[0]<=0).sort((ct,U)=>ct.overflows[1]-U.overflows[1])[0])==null?void 0:At.placement;if(!kt)switch(f){case"bestFit":{var Lt;const ct=(Lt=Y.filter(U=>{if(D){const J=X(U.placement);return J===g||J==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(J=>J>0).reduce((J,Ba)=>J+Ba,0)]).sort((U,J)=>U[1]-J[1])[0])==null?void 0:Lt[0];ct&&(kt=ct);break}case"initialPlacement":kt=a;break}if(i!==kt)return{reset:{placement:kt}}}return{}}}},Os=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:s=!0,crossAxis:r=!1,limiter:a={fn:y=>{let{x:v,y:g}=y;return{x:v,y:g}}},...c}=Kt(t,e),l={x:n,y:o},d=await Se(e,c),u=X(et(i)),p=Eo(u);let f=l[p],b=l[u];if(s){const y=p==="y"?"top":"left",v=p==="y"?"bottom":"right",g=f+d[y],E=f-d[v];f=wo(g,f,E)}if(r){const y=u==="y"?"top":"left",v=u==="y"?"bottom":"right",g=b+d[y],E=b-d[v];b=wo(g,b,E)}const h=a.fn({...e,[p]:f,[u]:b});return{...h,data:{x:h.x-n,y:h.y-o,enabled:{[p]:s,[u]:r}}}}}},Ms=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:s,platform:r,elements:a}=e,{apply:c=()=>{},...l}=Kt(t,e),d=await Se(e,l),u=et(i),p=Yt(i),f=X(i)==="y",{width:b,height:h}=s.floating;let y,v;u==="top"||u==="bottom"?(y=u,v=p===(await(r.isRTL==null?void 0:r.isRTL(a.floating))?"start":"end")?"left":"right"):(v=u,y=p==="end"?"top":"bottom");const g=h-d.top-d.bottom,E=b-d.left-d.right,w=ft(h-d[y],g),S=ft(b-d[v],E),D=!e.middlewareData.shift;let z=w,rt=S;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(rt=E),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(z=g),D&&!p){const Y=k(d.left,0),Ct=k(d.right,0),At=k(d.top,0),Lt=k(d.bottom,0);f?rt=b-2*(Y!==0||Ct!==0?Y+Ct:k(d.left,d.right)):z=h-2*(At!==0||Lt!==0?At+Lt:k(d.top,d.bottom))}await c({...e,availableWidth:rt,availableHeight:z});const at=await r.getDimensions(a.floating);return b!==at.width||h!==at.height?{reset:{rects:!0}}:{}}}};function Qt(){return typeof window<"u"}function pt(t){return Ao(t)?(t.nodeName||"").toLowerCase():"#document"}function I(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function q(t){var e;return(e=(Ao(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ao(t){return Qt()?t instanceof Node||t instanceof I(t).Node:!1}function P(t){return Qt()?t instanceof Element||t instanceof I(t).Element:!1}function W(t){return Qt()?t instanceof HTMLElement||t instanceof I(t).HTMLElement:!1}function Lo(t){return!Qt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof I(t).ShadowRoot}const Rs=new Set(["inline","contents"]);function _t(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=N(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Rs.has(i)}const Ds=new Set(["table","td","th"]);function Ps(t){return Ds.has(pt(t))}const Ns=[":popover-open",":modal"];function Jt(t){return Ns.some(e=>{try{return t.matches(e)}catch{return!1}})}const Hs=["transform","translate","scale","rotate","perspective"],Bs=["transform","translate","scale","rotate","perspective","filter"],Fs=["paint","layout","strict","content"];function Te(t){const e=$e(),n=P(t)?N(t):t;return Hs.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Bs.some(o=>(n.willChange||"").includes(o))||Fs.some(o=>(n.contain||"").includes(o))}function Us(t){let e=G(t);for(;W(e)&&!mt(e);){if(Te(e))return e;if(Jt(e))return null;e=G(e)}return null}function $e(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Vs=new Set(["html","body","#document"]);function mt(t){return Vs.has(pt(t))}function N(t){return I(t).getComputedStyle(t)}function Zt(t){return P(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function G(t){if(pt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Lo(t)&&t.host||q(t);return Lo(e)?e.host:e}function ko(t){const e=G(t);return mt(e)?t.ownerDocument?t.ownerDocument.body:t.body:W(e)&&_t(e)?e:ko(e)}function yt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=ko(t),s=i===((o=t.ownerDocument)==null?void 0:o.body),r=I(i);if(s){const a=Ce(r);return e.concat(r,r.visualViewport||[],_t(i)?i:[],a&&n?yt(a):[])}return e.concat(i,yt(i,[],n))}function Ce(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Io(t){const e=N(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=W(t),s=i?t.offsetWidth:n,r=i?t.offsetHeight:o,a=zt(n)!==s||zt(o)!==r;return a&&(n=s,o=r),{width:n,height:o,$:a}}function Ae(t){return P(t)?t:t.contextElement}function ht(t){const e=Ae(t);if(!W(e))return V(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=Io(e);let r=(s?zt(n.width):n.width)/o,a=(s?zt(n.height):n.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!a||!Number.isFinite(a))&&(a=1),{x:r,y:a}}const qs=V(0);function Oo(t){const e=I(t);return!$e()||!e.visualViewport?qs:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ws(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==I(t)?!1:e}function nt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),s=Ae(t);let r=V(1);e&&(o?P(o)&&(r=ht(o)):r=ht(t));const a=Ws(s,n,o)?Oo(s):V(0);let c=(i.left+a.x)/r.x,l=(i.top+a.y)/r.y,d=i.width/r.x,u=i.height/r.y;if(s){const p=I(s),f=o&&P(o)?I(o):o;let b=p,h=Ce(b);for(;h&&o&&f!==b;){const y=ht(h),v=h.getBoundingClientRect(),g=N(h),E=v.left+(h.clientLeft+parseFloat(g.paddingLeft))*y.x,w=v.top+(h.clientTop+parseFloat(g.paddingTop))*y.y;c*=y.x,l*=y.y,d*=y.x,u*=y.y,c+=E,l+=w,b=I(h),h=Ce(b)}}return Gt({width:d,height:u,x:c,y:l})}function te(t,e){const n=Zt(t).scrollLeft;return e?e.left+n:nt(q(t)).left+n}function Mo(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-te(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function zs(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s=i==="fixed",r=q(o),a=e?Jt(e.floating):!1;if(o===r||a&&s)return n;let c={scrollLeft:0,scrollTop:0},l=V(1);const d=V(0),u=W(o);if((u||!u&&!s)&&((pt(o)!=="body"||_t(r))&&(c=Zt(o)),W(o))){const f=nt(o);l=ht(o),d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}const p=r&&!u&&!s?Mo(r,c):V(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+d.x+p.x,y:n.y*l.y-c.scrollTop*l.y+d.y+p.y}}function js(t){return Array.from(t.getClientRects())}function Ks(t){const e=q(t),n=Zt(t),o=t.ownerDocument.body,i=k(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=k(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let r=-n.scrollLeft+te(t);const a=-n.scrollTop;return N(o).direction==="rtl"&&(r+=k(e.clientWidth,o.clientWidth)-i),{width:i,height:s,x:r,y:a}}const Ro=25;function Ys(t,e){const n=I(t),o=q(t),i=n.visualViewport;let s=o.clientWidth,r=o.clientHeight,a=0,c=0;if(i){s=i.width,r=i.height;const d=$e();(!d||d&&e==="fixed")&&(a=i.offsetLeft,c=i.offsetTop)}const l=te(o);if(l<=0){const d=o.ownerDocument,u=d.body,p=getComputedStyle(u),f=d.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,b=Math.abs(o.clientWidth-u.clientWidth-f);b<=Ro&&(s-=b)}else l<=Ro&&(s+=l);return{width:s,height:r,x:a,y:c}}const Xs=new Set(["absolute","fixed"]);function Gs(t,e){const n=nt(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,s=W(t)?ht(t):V(1),r=t.clientWidth*s.x,a=t.clientHeight*s.y,c=i*s.x,l=o*s.y;return{width:r,height:a,x:c,y:l}}function Do(t,e,n){let o;if(e==="viewport")o=Ys(t,n);else if(e==="document")o=Ks(q(t));else if(P(e))o=Gs(e,n);else{const i=Oo(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Gt(o)}function Po(t,e){const n=G(t);return n===e||!P(n)||mt(n)?!1:N(n).position==="fixed"||Po(n,e)}function Qs(t,e){const n=e.get(t);if(n)return n;let o=yt(t,[],!1).filter(a=>P(a)&&pt(a)!=="body"),i=null;const s=N(t).position==="fixed";let r=s?G(t):t;for(;P(r)&&!mt(r);){const a=N(r),c=Te(r);!c&&a.position==="fixed"&&(i=null),(s?!c&&!i:!c&&a.position==="static"&&!!i&&Xs.has(i.position)||_t(r)&&!c&&Po(t,r))?o=o.filter(d=>d!==r):i=a,r=G(r)}return e.set(t,o),o}function Js(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[...n==="clippingAncestors"?Jt(e)?[]:Qs(e,this._c):[].concat(n),o],a=r[0],c=r.reduce((l,d)=>{const u=Do(e,d,i);return l.top=k(u.top,l.top),l.right=ft(u.right,l.right),l.bottom=ft(u.bottom,l.bottom),l.left=k(u.left,l.left),l},Do(e,a,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Zs(t){const{width:e,height:n}=Io(t);return{width:e,height:n}}function tr(t,e,n){const o=W(e),i=q(e),s=n==="fixed",r=nt(t,!0,s,e);let a={scrollLeft:0,scrollTop:0};const c=V(0);function l(){c.x=te(i)}if(o||!o&&!s)if((pt(e)!=="body"||_t(i))&&(a=Zt(e)),o){const f=nt(e,!0,s,e);c.x=f.x+e.clientLeft,c.y=f.y+e.clientTop}else i&&l();s&&!o&&i&&l();const d=i&&!o&&!s?Mo(i,a):V(0),u=r.left+a.scrollLeft-c.x-d.x,p=r.top+a.scrollTop-c.y-d.y;return{x:u,y:p,width:r.width,height:r.height}}function Le(t){return N(t).position==="static"}function No(t,e){if(!W(t)||N(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return q(t)===n&&(n=n.ownerDocument.body),n}function Ho(t,e){const n=I(t);if(Jt(t))return n;if(!W(t)){let i=G(t);for(;i&&!mt(i);){if(P(i)&&!Le(i))return i;i=G(i)}return n}let o=No(t,e);for(;o&&Ps(o)&&Le(o);)o=No(o,e);return o&&mt(o)&&Le(o)&&!Te(o)?n:o||Us(t)||n}const er=async function(t){const e=this.getOffsetParent||Ho,n=this.getDimensions,o=await n(t.floating);return{reference:tr(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function nr(t){return N(t).direction==="rtl"}const or={convertOffsetParentRelativeRectToViewportRelativeRect:zs,getDocumentElement:q,getClippingRect:Js,getOffsetParent:Ho,getElementRects:er,getClientRects:js,getDimensions:Zs,getScale:ht,isElement:P,isRTL:nr};function Bo(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function ir(t,e){let n=null,o;const i=q(t);function s(){var a;clearTimeout(o),(a=n)==null||a.disconnect(),n=null}function r(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),s();const l=t.getBoundingClientRect(),{left:d,top:u,width:p,height:f}=l;if(a||e(),!p||!f)return;const b=jt(u),h=jt(i.clientWidth-(d+p)),y=jt(i.clientHeight-(u+f)),v=jt(d),E={rootMargin:-b+"px "+-h+"px "+-y+"px "+-v+"px",threshold:k(0,ft(1,c))||1};let w=!0;function S(D){const z=D[0].intersectionRatio;if(z!==c){if(!w)return r();z?r(!1,z):o=setTimeout(()=>{r(!1,1e-7)},1e3)}z===1&&!Bo(l,t.getBoundingClientRect())&&r(),w=!1}try{n=new IntersectionObserver(S,{...E,root:i.ownerDocument})}catch{n=new IntersectionObserver(S,E)}n.observe(t)}return r(!0),s}function sr(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,l=Ae(t),d=i||s?[...l?yt(l):[],...yt(e)]:[];d.forEach(v=>{i&&v.addEventListener("scroll",n,{passive:!0}),s&&v.addEventListener("resize",n)});const u=l&&a?ir(l,n):null;let p=-1,f=null;r&&(f=new ResizeObserver(v=>{let[g]=v;g&&g.target===l&&f&&(f.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var E;(E=f)==null||E.observe(e)})),n()}),l&&!c&&f.observe(l),f.observe(e));let b,h=c?nt(t):null;c&&y();function y(){const v=nt(t);h&&!Bo(h,v)&&n(),h=v,b=requestAnimationFrame(y)}return n(),()=>{var v;d.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),u?.(),(v=f)==null||v.disconnect(),f=null,c&&cancelAnimationFrame(b)}}const ke=Os,Ie=Is,Fo=Ms,rr=(t,e,n)=>{const o=new Map,i={platform:or,...n},s={...i.platform,_c:o};return ks(t,e,{...i,platform:s})},M={capture:!0,passive:!0},ee=typeof window<"u"&&typeof document<"u";function ar(t,e){let n;return(...o)=>{clearTimeout(n),n=setTimeout(()=>t(...o),e)}}function m(t,e,n){return n===void 0?t.getAttribute(e)??null:(n===null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n),null)}let lr=0;const cr=`${Date.now().toString(36)}${Math.random().toString(36).slice(2,5)}`;function ne(t){return t.id||(t.id=`${cr}${++lr}`),t.id}const Uo=(t,e,[...n])=>{for(const o of n[0].split(","))n[0]=o,e[`${t}EventListener`](...n)},$=(t,...e)=>{wt&&(t===window||t===document)&&wt.push(()=>dr(t,...e)),Uo("add",t,e)},dr=(t,...e)=>Uo("remove",t,e);let wt=null;const R=t=>{if(!ee)return;window._mtdsUnbindEvents||(window._mtdsUnbindEvents=new Map);const e=()=>requestAnimationFrame(()=>{const n=String(t).replace(/(\n|\s)/g,"");window._mtdsUnbindEvents?.get(n)?.forEach(o=>{o()}),wt=[],t(),window._mtdsUnbindEvents?.set(n,wt?.slice(0)),wt=null});document.readyState==="complete"?e():$(window,"load",e)},Oe=new WeakMap;function ot(t,e,n){Oe.get(t)?.(),Oe.delete(t),e&&Oe.set(t,sr(e,t,()=>{if(!t.isConnected||!e.isConnected||t.hidden)return ot(t,!1);rr(e,t,n).then(({x:o,y:i})=>{t.style.left=`${o}px`,t.style.top=`${i}px`})}))}function Vo(t){let e=0;const n=()=>setTimeout(o,200),o=()=>{t([],i),i.takeRecords(),e=0},i=new MutationObserver(()=>{e||(e=requestAnimationFrame(n))});return i}const Me=new WeakMap,gt=(t,e,n)=>{const o=t.getElementsByClassName(e),i=Me.get(t)||[];i.length||(Me.set(t,i),Vo((s,r)=>{if(t.isConnected&&i?.length)for(const a of i)a();else r?.disconnect(),Me.delete(t)}).observe(t,{attributeFilter:["class","hidden"],attributes:!0,childList:!0,subtree:!0})),i.push(()=>n(o))},Re=t=>t instanceof HTMLElement&&"validity"in t&&!(t instanceof HTMLButtonElement),ur=`.${T.breadcrumbs.split(" ")[0]}`,fr=`.${T.chip.split(" ")[0]}`,pr=`.${T.helptext.split(" ")[0]}`,mr=`.${T.pagination.split(" ")[0]}`,hr='summary,u-summary,a,button,[role="tab"],[role="button"]',gr="click,toggle,submit,change",De="mattilsynet.matomo.cloud",H="mtds-analytics-banner",br="https://www.mattilsynet.no/om-mattilsynet/personvernerklaering/informasjonskapsler";function qo(t,e={}){if(ee){if(window._paq||(window._paq=[],window._paq.push(["HeatmapSessionRecording::disable"]),window._paq.push(["enableLinkTracking"]),window._paq.push(["setTrackerUrl",`https://${De}/matomo.php`])),window._mtm||(window._mtm=window._mtm||[],window._mtm.push({"mtm.startTime":Date.now(),event:"mtm.Start"})),t==="init"){window._mtdsTracking={enabled:window.location.hostname!=="localhost",...window._mtdsTracking,...e};const{consent:n,enabled:o,matomoId:i,matomoTagManagerId:s}=window._mtdsTracking;if(i&&window._paq.push(["setSiteId",i]),o){n!=="custom"&&vr();const r=s?`https://cdn.matomo.cloud/${De}/container_${s}.js`:`https://cdn.matomo.cloud/${De}/matomo.js`;document.querySelector(`script[src="${r}"]`)||document.head.append(Object.assign(document.createElement("script"),{async:!0,src:r}))}}if(window._mtdsTracking?.enabled!==!1){if(window._mtdsTracking?.enabled==="debug")return console.info(`analytics("${t}", `,e,")");if(t==="pageview"){const{url:n,title:o}=e;window._paq.push(["setCustomUrl",n||location.href]),window._paq.push(["setDocumentTitle",o||document.title]),window._paq.push(["trackPageView"])}else if(t==="event"){const{category:n,action:o,name:i,value:s}=e,r=["trackEvent",n,o,i,s];let a=location.href;window._paq.push([function(){a=this.getCurrentUrl()}]),window._paq.push(["setCustomUrl",a.split("#")[0]]),window._paq.push(r.filter(c=>c!==void 0)),window._paq.push(["setCustomUrl",a])}else if(t==="search"){const{query:n,category:o=!1,results:i=!1}=e;window._paq.push(["trackSiteSearch",n,o,i])}else t==="matomo"&&window._paq.push(e)}}}function vr(){if(document.getElementById(H)||window.localStorage.getItem(H))return;document.body.insertAdjacentHTML("afterbegin",`<dialog id="${H}" data-analytics="ignore"><style>
9
9
  #${H}[open] { box-sizing: border-box; display: flex; align-items: center; background: #116e6b; border-radius: .5em; border: 0; box-shadow: 0 .25em .5em rgba(0,0,0,.3); color: #fff; font-size: .875em; inset: auto auto 1em 1em; max-width: calc(100vw - 2em); outline: 0; padding: .5em; position: fixed; z-index: 99999 }
10
10
  #${H} button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; width: 1.5em; height: 1.5em; font: 300 1.5em/1.35 sans-serif; border-radius: .25em; place-content: center; transition: .2s; transition-property: background, scale }
11
11
  #${H} button:focus-visible { outline: 2px solid }
@@ -10,7 +10,6 @@ type SharedProps = {
10
10
  "data-column-gap"?: Sizes;
11
11
  "data-nowrap"?: boolean;
12
12
  "data-justify"?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly";
13
- "data-justify-items"?: "normal" | "stretch" | "start" | "center" | "end";
14
13
  "data-fixed"?: boolean;
15
14
  "data-items"?: "auto" | "full" | "50" | "100" | "150" | "200" | "250" | "300" | "350" | "400" | "450" | "500" | 50 | 100 | 150 | 200 | 250 | 300 | 350 | 400 | 450 | 500;
16
15
  };
@@ -26,10 +25,4 @@ export declare const Flex: FlexComponent;
26
25
  export type GridProps<As extends React.ElementType = "div"> = PolymorphicComponentPropWithRef<As, SharedProps>;
27
26
  type GridComponent = <As extends React.ElementType = "div">(props: GridProps<As>) => JSX.Element;
28
27
  export declare const Grid: GridComponent;
29
- /**
30
- * Prose
31
- */
32
- export type ProseProps<As extends React.ElementType = "div"> = PolymorphicComponentPropWithRef<As>;
33
- type ProseComponent = <As extends React.ElementType = "div">(props: ProseProps<As>) => JSX.Element;
34
- export declare const Prose: ProseComponent;
35
28
  export {};
@@ -1,17 +1,14 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { clsx as n } from "../external/clsx/dist/clsx.js";
3
- import { forwardRef as a } from "react";
4
- import c from "../styles.module.css.js";
5
- const p = a(function({ as: r, className: o, ...s }, t) {
6
- return /* @__PURE__ */ e(r || "div", { className: n(c.flex, o), ref: t, ...s });
7
- }), u = a(function({ as: r, className: o, ...s }, t) {
8
- return /* @__PURE__ */ e(r || "div", { className: n(c.grid, o), ref: t, ...s });
9
- }), x = a(function({ as: r, className: o, ...s }, t) {
10
- return /* @__PURE__ */ e(r || "div", { className: n(c.prose, o), ref: t, ...s });
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { clsx as e } from "../external/clsx/dist/clsx.js";
3
+ import { forwardRef as m } from "react";
4
+ import n from "../styles.module.css.js";
5
+ const g = m(function({ as: r, className: o, ...t }, s) {
6
+ return /* @__PURE__ */ i(r || "div", { className: e(n.flex, o), ref: s, ...t });
7
+ }), p = m(function({ as: r, className: o, ...t }, s) {
8
+ return /* @__PURE__ */ i(r || "div", { className: e(n.grid, o), ref: s, ...t });
11
9
  });
12
10
  export {
13
- p as Flex,
14
- u as Grid,
15
- x as Prose
11
+ g as Flex,
12
+ p as Grid
16
13
  };
17
14
  //# sourceMappingURL=layout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout.js","sources":["../../designsystem/layout/layout.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { forwardRef, type JSX } from \"react\";\nimport type {\n\tPolymorphicComponentPropWithRef,\n\tPolymorphicRef,\n\tSizes,\n} from \"../react-types\";\nimport styles from \"../styles.module.css\";\n\ntype GapOld = \"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\";\n\ntype SharedProps = {\n\t\"data-align\"?: \"normal\" | \"stretch\" | \"start\" | \"center\" | \"end\";\n\t\"data-align-content\"?:\n\t\t| \"start\"\n\t\t| \"center\"\n\t\t| \"end\"\n\t\t| \"space-between\"\n\t\t| \"space-around\"\n\t\t| \"space-evenly\";\n\t\"data-center\"?: \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\";\n\t\"data-gap\"?: Sizes | GapOld;\n\t\"data-row-gap\"?: Sizes;\n\t\"data-column-gap\"?: Sizes;\n\t\"data-nowrap\"?: boolean;\n\t\"data-justify\"?:\n\t\t| \"start\"\n\t\t| \"center\"\n\t\t| \"end\"\n\t\t| \"space-between\"\n\t\t| \"space-around\"\n\t\t| \"space-evenly\";\n\t\"data-justify-items\"?: \"normal\" | \"stretch\" | \"start\" | \"center\" | \"end\";\n\t\"data-fixed\"?: boolean;\n\t\"data-items\"?:\n\t\t| \"auto\"\n\t\t| \"full\"\n\t\t| \"50\"\n\t\t| \"100\"\n\t\t| \"150\"\n\t\t| \"200\"\n\t\t| \"250\"\n\t\t| \"300\"\n\t\t| \"350\"\n\t\t| \"400\"\n\t\t| \"450\"\n\t\t| \"500\"\n\t\t| 50\n\t\t| 100\n\t\t| 150\n\t\t| 200\n\t\t| 250\n\t\t| 300\n\t\t| 350\n\t\t| 400\n\t\t| 450\n\t\t| 500;\n};\n\n/**\n * Flex\n */\nexport type FlexProps<As extends React.ElementType = \"div\"> =\n\tPolymorphicComponentPropWithRef<As, SharedProps>;\n\ntype FlexComponent = <As extends React.ElementType = \"div\">(\n\tprops: FlexProps<As>,\n) => JSX.Element;\n\nexport const Flex: FlexComponent = forwardRef<null>(function Flex<\n\tAs extends React.ElementType = \"div\",\n>({ as, className, ...rest }: FlexProps<As>, ref?: PolymorphicRef<As>) {\n\tconst Tag = as || \"div\";\n\n\treturn <Tag className={clsx(styles.flex, className)} ref={ref} {...rest} />;\n}) as FlexComponent; // Needed to tell Typescript this does not return ReactNode but acutally JSX.Element\n\n/**\n * Grid\n */\nexport type GridProps<As extends React.ElementType = \"div\"> =\n\tPolymorphicComponentPropWithRef<As, SharedProps>;\n\ntype GridComponent = <As extends React.ElementType = \"div\">(\n\tprops: GridProps<As>,\n) => JSX.Element;\n\nexport const Grid: GridComponent = forwardRef<null>(function Grid<\n\tAs extends React.ElementType = \"div\",\n>({ as, className, ...rest }: GridProps<As>, ref?: PolymorphicRef<As>) {\n\tconst Tag = as || \"div\";\n\n\treturn <Tag className={clsx(styles.grid, className)} ref={ref} {...rest} />;\n}) as GridComponent; // Needed to tell Typescript this does not return ReactNode but acutally JSX.Element\n\n/**\n * Prose\n */\nexport type ProseProps<As extends React.ElementType = \"div\"> =\n\tPolymorphicComponentPropWithRef<As>;\n\ntype ProseComponent = <As extends React.ElementType = \"div\">(\n\tprops: ProseProps<As>,\n) => JSX.Element;\n\nexport const Prose: ProseComponent = forwardRef<null>(function Prose<\n\tAs extends React.ElementType = \"div\",\n>({ as, className, ...rest }: ProseProps<As>, ref?: PolymorphicRef<As>) {\n\tconst Tag = as || \"div\";\n\n\treturn <Tag className={clsx(styles.prose, className)} ref={ref} {...rest} />;\n}) as ProseComponent; // Needed to tell Typescript this does not return ReactNode but acutally JSX.Element\n"],"names":["Flex","forwardRef","as","className","rest","ref","jsx","clsx","styles","Grid","Prose"],"mappings":";;;;AAqEO,MAAMA,IAAsBC,EAAiB,SAElD,EAAE,IAAAC,GAAI,WAAAC,GAAW,GAAGC,EAAA,GAAuBC,GAA0B;AAGtE,SAAO,gBAAAC,EAFKJ,KAAM,OAEV,EAAI,WAAWK,EAAKC,EAAO,MAAML,CAAS,GAAG,KAAAE,GAAW,GAAGD,EAAA,CAAM;AAC1E,CAAC,GAYYK,IAAsBR,EAAiB,SAElD,EAAE,IAAAC,GAAI,WAAAC,GAAW,GAAGC,EAAA,GAAuBC,GAA0B;AAGtE,SAAO,gBAAAC,EAFKJ,KAAM,OAEV,EAAI,WAAWK,EAAKC,EAAO,MAAML,CAAS,GAAG,KAAAE,GAAW,GAAGD,EAAA,CAAM;AAC1E,CAAC,GAYYM,IAAwBT,EAAiB,SAEpD,EAAE,IAAAC,GAAI,WAAAC,GAAW,GAAGC,EAAA,GAAwBC,GAA0B;AAGvE,SAAO,gBAAAC,EAFKJ,KAAM,OAEV,EAAI,WAAWK,EAAKC,EAAO,OAAOL,CAAS,GAAG,KAAAE,GAAW,GAAGD,EAAA,CAAM;AAC3E,CAAC;"}
1
+ {"version":3,"file":"layout.js","sources":["../../designsystem/layout/layout.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { forwardRef, type JSX } from \"react\";\nimport type {\n\tPolymorphicComponentPropWithRef,\n\tPolymorphicRef,\n\tSizes,\n} from \"../react-types\";\nimport styles from \"../styles.module.css\";\n\ntype GapOld = \"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\";\n\ntype SharedProps = {\n\t\"data-align\"?: \"normal\" | \"stretch\" | \"start\" | \"center\" | \"end\";\n\t\"data-align-content\"?:\n\t\t| \"start\"\n\t\t| \"center\"\n\t\t| \"end\"\n\t\t| \"space-between\"\n\t\t| \"space-around\"\n\t\t| \"space-evenly\";\n\t\"data-center\"?: \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\";\n\t\"data-gap\"?: Sizes | GapOld;\n\t\"data-row-gap\"?: Sizes;\n\t\"data-column-gap\"?: Sizes;\n\t\"data-nowrap\"?: boolean;\n\t\"data-justify\"?:\n\t\t| \"start\"\n\t\t| \"center\"\n\t\t| \"end\"\n\t\t| \"space-between\"\n\t\t| \"space-around\"\n\t\t| \"space-evenly\";\n\t\"data-fixed\"?: boolean;\n\t\"data-items\"?:\n\t\t| \"auto\"\n\t\t| \"full\"\n\t\t| \"50\"\n\t\t| \"100\"\n\t\t| \"150\"\n\t\t| \"200\"\n\t\t| \"250\"\n\t\t| \"300\"\n\t\t| \"350\"\n\t\t| \"400\"\n\t\t| \"450\"\n\t\t| \"500\"\n\t\t| 50\n\t\t| 100\n\t\t| 150\n\t\t| 200\n\t\t| 250\n\t\t| 300\n\t\t| 350\n\t\t| 400\n\t\t| 450\n\t\t| 500;\n};\n\n/**\n * Flex\n */\nexport type FlexProps<As extends React.ElementType = \"div\"> =\n\tPolymorphicComponentPropWithRef<As, SharedProps>;\n\ntype FlexComponent = <As extends React.ElementType = \"div\">(\n\tprops: FlexProps<As>,\n) => JSX.Element;\n\nexport const Flex: FlexComponent = forwardRef<null>(function Flex<\n\tAs extends React.ElementType = \"div\",\n>({ as, className, ...rest }: FlexProps<As>, ref?: PolymorphicRef<As>) {\n\tconst Tag = as || \"div\";\n\n\treturn <Tag className={clsx(styles.flex, className)} ref={ref} {...rest} />;\n}) as FlexComponent; // Needed to tell Typescript this does not return ReactNode but acutally JSX.Element\n\n/**\n * Grid\n */\nexport type GridProps<As extends React.ElementType = \"div\"> =\n\tPolymorphicComponentPropWithRef<As, SharedProps>;\n\ntype GridComponent = <As extends React.ElementType = \"div\">(\n\tprops: GridProps<As>,\n) => JSX.Element;\n\nexport const Grid: GridComponent = forwardRef<null>(function Grid<\n\tAs extends React.ElementType = \"div\",\n>({ as, className, ...rest }: GridProps<As>, ref?: PolymorphicRef<As>) {\n\tconst Tag = as || \"div\";\n\n\treturn <Tag className={clsx(styles.grid, className)} ref={ref} {...rest} />;\n}) as GridComponent; // Needed to tell Typescript this does not return ReactNode but acutally JSX.Element\n"],"names":["Flex","forwardRef","as","className","rest","ref","jsx","clsx","styles","Grid"],"mappings":";;;;AAoEO,MAAMA,IAAsBC,EAAiB,SAElD,EAAE,IAAAC,GAAI,WAAAC,GAAW,GAAGC,EAAA,GAAuBC,GAA0B;AAGtE,SAAO,gBAAAC,EAFKJ,KAAM,OAEV,EAAI,WAAWK,EAAKC,EAAO,MAAML,CAAS,GAAG,KAAAE,GAAW,GAAGD,EAAA,CAAM;AAC1E,CAAC,GAYYK,IAAsBR,EAAiB,SAElD,EAAE,IAAAC,GAAI,WAAAC,GAAW,GAAGC,EAAA,GAAuBC,GAA0B;AAGtE,SAAO,gBAAAC,EAFKJ,KAAM,OAEV,EAAI,WAAWK,EAAKC,EAAO,MAAML,CAAS,GAAG,KAAAE,GAAW,GAAGD,EAAA,CAAM;AAC1E,CAAC;"}
@@ -1,4 +1,4 @@
1
- const o = "2.1.7";
1
+ const o = "2.1.8";
2
2
  export {
3
3
  o as version
4
4
  };
package/mtds/react.js CHANGED
@@ -14,20 +14,20 @@ import { Field as c, FieldComp as k } from "./field/field.js";
14
14
  import { Fieldset as H } from "./fieldset/fieldset.js";
15
15
  import { HelpText as h } from "./helptext/helptext.js";
16
16
  import { Input as E, Select as M, Textarea as V } from "./input/input.js";
17
- import { Flex as q, Grid as w, Prose as z } from "./layout/layout.js";
18
- import { Link as K } from "./link/link.js";
19
- import { Logo as O } from "./logo/logo.js";
20
- import { Pagination as R } from "./pagination/pagination.js";
21
- import { Popover as W } from "./popover/popover.js";
22
- import { Progress as Y } from "./progress/progress.js";
23
- import { Skeleton as _ } from "./skeleton/skeleton.js";
24
- import { Spinner as rr } from "./spinner/spinner.js";
25
- import { Steps as er } from "./steps/steps.js";
26
- import { Table as pr } from "./table/table.js";
27
- import { Tabs as xr } from "./tabs/tabs.js";
28
- import { Tag as ar } from "./tag/tag.js";
29
- import { Togglegroup as lr } from "./togglegroup/togglegroup.js";
30
- import { Heading as dr, Info as gr, Ingress as sr, Muted as ur } from "./typography/typography.js";
17
+ import { Flex as q, Grid as w } from "./layout/layout.js";
18
+ import { Link as J } from "./link/link.js";
19
+ import { Logo as N } from "./logo/logo.js";
20
+ import { Pagination as Q } from "./pagination/pagination.js";
21
+ import { Popover as U } from "./popover/popover.js";
22
+ import { Progress as X } from "./progress/progress.js";
23
+ import { Skeleton as Z } from "./skeleton/skeleton.js";
24
+ import { Spinner as $ } from "./spinner/spinner.js";
25
+ import { Steps as or } from "./steps/steps.js";
26
+ import { Table as tr } from "./table/table.js";
27
+ import { Tabs as mr } from "./tabs/tabs.js";
28
+ import { Tag as fr } from "./tag/tag.js";
29
+ import { Togglegroup as ir } from "./togglegroup/togglegroup.js";
30
+ import { Heading as nr, Info as dr, Ingress as gr, Muted as sr, Prose as ur } from "./typography/typography.js";
31
31
  import { Validation as Fr } from "./validation/validation.js";
32
32
  export {
33
33
  e as Alert,
@@ -48,27 +48,27 @@ export {
48
48
  q as Flex,
49
49
  w as Grid,
50
50
  u as Group,
51
- dr as Heading,
51
+ nr as Heading,
52
52
  h as HelpText,
53
- gr as Info,
54
- sr as Ingress,
53
+ dr as Info,
54
+ gr as Ingress,
55
55
  E as Input,
56
- K as Link,
57
- O as Logo,
58
- ur as Muted,
59
- R as Pagination,
60
- W as Popover,
61
- Y as Progress,
62
- z as Prose,
56
+ J as Link,
57
+ N as Logo,
58
+ sr as Muted,
59
+ Q as Pagination,
60
+ U as Popover,
61
+ X as Progress,
62
+ ur as Prose,
63
63
  M as Select,
64
- _ as Skeleton,
65
- rr as Spinner,
66
- er as Steps,
67
- pr as Table,
68
- xr as Tabs,
69
- ar as Tag,
64
+ Z as Skeleton,
65
+ $ as Spinner,
66
+ or as Steps,
67
+ tr as Table,
68
+ mr as Tabs,
69
+ fr as Tag,
70
70
  V as Textarea,
71
- lr as Togglegroup,
71
+ ir as Togglegroup,
72
72
  Fr as Validation
73
73
  };
74
74
  //# sourceMappingURL=react.js.map