@oslokommune/punkt-react 12.0.0 → 12.2.0

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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,26 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [12.2.0](https://github.com/oslokommune/punkt/compare/12.1.0...12.2.0) (2024-09-30)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ * Gray skin Tabs, Tags, LinkCard (#1935). Nå er det mulig å bruke `gray` istedenfor `grey` for farger, men vi har beholdt fallback på `grey` for å unngå breaking changes.
15
+
16
+ Co-authored-by: Jan Schjetne <jan.schjetne@origo.oslo.kommune.no>
17
+
18
+
19
+ ### Bug Fixes
20
+ Ingen
21
+
22
+ ### Chores
23
+ Ingen
24
+
25
+ ---
26
+
27
+
8
28
  ## [12.0.0](https://github.com/oslokommune/punkt/compare/11.19.3...12.0.0) (2024-09-12)
9
29
 
10
30
  ### ⚠ BREAKING CHANGES
package/dist/index.d.ts CHANGED
@@ -181,7 +181,7 @@ declare interface IPktInputWrapper extends RefAttributes<HTMLElement> {
181
181
  }
182
182
 
183
183
  declare interface IPktLinkCard extends default_2.HTMLAttributes<HTMLAnchorElement> {
184
- skin?: 'normal' | 'blue' | 'beige' | 'beige-outline' | 'green' | 'grey' | 'grey-outline';
184
+ skin?: 'normal' | 'blue' | 'beige' | 'beige-outline' | 'green' | 'grey' | 'gray' | 'grey-outline' | 'gray-outline';
185
185
  title?: string;
186
186
  href?: string;
187
187
  iconName?: string;
@@ -305,7 +305,7 @@ declare interface IPktStepper extends default_2.HTMLAttributes<HTMLOListElement>
305
305
  }
306
306
 
307
307
  declare interface IPktTag extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
308
- skin?: 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'blue-light';
308
+ skin?: 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'gray' | 'blue-light';
309
309
  textStyle?: 'normal-text' | 'thin-text';
310
310
  size?: 'small' | 'medium' | 'large';
311
311
  closeTag?: boolean;
@@ -597,7 +597,7 @@ declare interface Tab {
597
597
  active?: boolean;
598
598
  }
599
599
 
600
- declare type TSkin = 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'blue-light';
600
+ declare type TSkin = 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'gray' | 'blue-light';
601
601
 
602
602
  declare type TStepStatus = 'completed' | 'incomplete' | 'current';
603
603
 
@@ -664,7 +664,7 @@ const Ub = Ae(
664
664
  ].filter(Boolean).join(" ");
665
665
  return /* @__PURE__ */ h.jsx("div", { "data-testid": "pkt-accordion", className: u, ref: o, children: i });
666
666
  }
667
- ), Xa = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', vf = "https://punkt-cdn.oslo.kommune.no/12.0/icons/";
667
+ ), Xa = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', vf = "https://punkt-cdn.oslo.kommune.no/12.2/icons/";
668
668
  function yf(e) {
669
669
  return new Promise((t) => setTimeout(t, e));
670
670
  }
@@ -925,7 +925,7 @@ const Vb = Ae(
925
925
  {
926
926
  className: "pkt-btn__icon pkt-btn__spinner",
927
927
  name: "spinner-blue",
928
- path: "https://punkt-cdn.oslo.kommune.no/12.0/animations/"
928
+ path: "https://punkt-cdn.oslo.kommune.no/12.2/animations/"
929
929
  }
930
930
  ),
931
931
  c !== "label-only" && /* @__PURE__ */ h.jsx(Z, { className: "pkt-btn__icon", name: r }),
@@ -1181,7 +1181,7 @@ const Gb = ({
1181
1181
  name: "oslologo",
1182
1182
  className: "pkt-header__logo-svg",
1183
1183
  "aria-hidden": "true",
1184
- path: "https://punkt-cdn.oslo.kommune.no/12.0/logos/"
1184
+ path: "https://punkt-cdn.oslo.kommune.no/12.2/logos/"
1185
1185
  }
1186
1186
  ) }) : /* @__PURE__ */ h.jsx(
1187
1187
  "button",
@@ -1195,7 +1195,7 @@ const Gb = ({
1195
1195
  name: "oslologo",
1196
1196
  className: "pkt-header__logo-svg",
1197
1197
  "aria-hidden": "true",
1198
- path: "https://punkt-cdn.oslo.kommune.no/12.0/logos/"
1198
+ path: "https://punkt-cdn.oslo.kommune.no/12.2/logos/"
1199
1199
  }
1200
1200
  )
1201
1201
  }
@@ -1453,7 +1453,7 @@ const Ef = Ae(
1453
1453
  {
1454
1454
  name: w(u),
1455
1455
  "aria-label": "loading",
1456
- path: "https://punkt-cdn.oslo.kommune.no/12.0/animations/",
1456
+ path: "https://punkt-cdn.oslo.kommune.no/12.2/animations/",
1457
1457
  className: `pkt-loader__svg pkt-loader__${u}`
1458
1458
  }
1459
1459
  ),
@@ -10086,6 +10086,11 @@ const Eb = Ae(
10086
10086
  fn: "backpack.svg",
10087
10087
  cat: "services"
10088
10088
  },
10089
+ {
10090
+ id: "balloons",
10091
+ fn: "balloons.svg",
10092
+ cat: "ui"
10093
+ },
10089
10094
  {
10090
10095
  id: "books",
10091
10096
  fn: "books.svg",
@@ -10451,6 +10456,11 @@ const Eb = Ae(
10451
10456
  fn: "folder.svg",
10452
10457
  cat: "ui"
10453
10458
  },
10459
+ {
10460
+ id: "game-console",
10461
+ fn: "game-console.svg",
10462
+ cat: "ui"
10463
+ },
10454
10464
  {
10455
10465
  id: "github",
10456
10466
  fn: "github.svg",
@@ -10636,6 +10646,11 @@ const Eb = Ae(
10636
10646
  fn: "mobile-phone.svg",
10637
10647
  cat: "ui"
10638
10648
  },
10649
+ {
10650
+ id: "music-notes",
10651
+ fn: "music-notes.svg",
10652
+ cat: "ui"
10653
+ },
10639
10654
  {
10640
10655
  id: "new-window-small",
10641
10656
  fn: "new-window-small.svg",
@@ -10666,6 +10681,16 @@ const Eb = Ae(
10666
10681
  fn: "paint-bucket.svg",
10667
10682
  cat: "ui"
10668
10683
  },
10684
+ {
10685
+ id: "palette",
10686
+ fn: "palette.svg",
10687
+ cat: "ui"
10688
+ },
10689
+ {
10690
+ id: "paste",
10691
+ fn: "paste.svg",
10692
+ cat: "ui"
10693
+ },
10669
10694
  {
10670
10695
  id: "park",
10671
10696
  fn: "park.svg",
@@ -10711,6 +10736,11 @@ const Eb = Ae(
10711
10736
  fn: "print.svg",
10712
10737
  cat: "ui"
10713
10738
  },
10739
+ {
10740
+ id: "privacy",
10741
+ fn: "privacy.svg",
10742
+ cat: "ui"
10743
+ },
10714
10744
  {
10715
10745
  id: "punkt-circle-blue",
10716
10746
  fn: "punkt-circle-blue.svg",
@@ -10806,6 +10836,11 @@ const Eb = Ae(
10806
10836
  fn: "sound-on.svg",
10807
10837
  cat: "ui"
10808
10838
  },
10839
+ {
10840
+ id: "sparkles",
10841
+ fn: "sparkles.svg",
10842
+ cat: "ui"
10843
+ },
10809
10844
  {
10810
10845
  id: "svg-logo",
10811
10846
  fn: "svg.svg",
@@ -27,11 +27,11 @@ Check the top-level render call using <`+H+">.")}return I}}function an(b,I){{if(
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,tr,qe,Xr,qe),Yr[qe+tr]=!0}}return b===i?Oi(Fe):st(Fe),Fe}}function Jr(b,I,H){return Kr(b,I,H,!0)}function $i(b,I,H){return Kr(b,I,H,!1)}var Ii=$i,_n=Jr;jn.Fragment=i,jn.jsx=Ii,jn.jsxs=_n}()),jn}process.env.NODE_ENV==="production"?Da.exports=mc():Da.exports=gc();var h=Da.exports;const Dc=R.forwardRef(({compact:e=!1,skin:t="borderless",className:r,children:i},o)=>{const u=[r,"pkt-accordion",e&&"pkt-accordion--compact",t&&`pkt-accordion--${t}`].filter(Boolean).join(" ");return h.jsx("div",{"data-testid":"pkt-accordion",className:u,ref:o,children:i})}),va='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>',vc="https://punkt-cdn.oslo.kommune.no/12.0/icons/";function yc(e){return new Promise(t=>setTimeout(t,e))}const ya={},bc=async(e,t)=>{let r=0;for(;ya[t+e+".svg"]==="fetching"&&(r++,!(r>50));)await yc(50);return localStorage.getItem(t+e+".svg")?Promise.resolve(localStorage.getItem(t+e+".svg")):typeof window.fetch=="function"?(ya[t+e+".svg"]="fetching",Promise.resolve(fetch(t+e+".svg").then(i=>i.ok?i.text():(console.error("Missing icon: "+t+e+".svg"),va)).then(i=>(i!==va&&localStorage.setItem(t+e+".svg",i),ya[t+e+".svg"]="fetched",i)))):Promise.resolve(va)},Cc={fetchIcon:async(e,t)=>bc(e,t||vc)},fs=R.createContext(Cc),ee=({name:e,path:t,className:r="",...i})=>{const[o,u]=R.useState(null),p=R.useContext(fs);return R.useEffect(()=>{e?p.fetchIcon(e,t).then(u):u(null)},[e,t]),o?h.jsx("span",{className:`pkt-icon ${r}`,dangerouslySetInnerHTML:{__html:o},...i}):null};var hs={exports:{}};/*!
30
+ <%s key={someKey} {...props} />`,tr,qe,Xr,qe),Yr[qe+tr]=!0}}return b===i?Oi(Fe):st(Fe),Fe}}function Jr(b,I,H){return Kr(b,I,H,!0)}function $i(b,I,H){return Kr(b,I,H,!1)}var Ii=$i,_n=Jr;jn.Fragment=i,jn.jsx=Ii,jn.jsxs=_n}()),jn}process.env.NODE_ENV==="production"?Da.exports=mc():Da.exports=gc();var h=Da.exports;const Dc=R.forwardRef(({compact:e=!1,skin:t="borderless",className:r,children:i},o)=>{const u=[r,"pkt-accordion",e&&"pkt-accordion--compact",t&&`pkt-accordion--${t}`].filter(Boolean).join(" ");return h.jsx("div",{"data-testid":"pkt-accordion",className:u,ref:o,children:i})}),va='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>',vc="https://punkt-cdn.oslo.kommune.no/12.2/icons/";function yc(e){return new Promise(t=>setTimeout(t,e))}const ya={},bc=async(e,t)=>{let r=0;for(;ya[t+e+".svg"]==="fetching"&&(r++,!(r>50));)await yc(50);return localStorage.getItem(t+e+".svg")?Promise.resolve(localStorage.getItem(t+e+".svg")):typeof window.fetch=="function"?(ya[t+e+".svg"]="fetching",Promise.resolve(fetch(t+e+".svg").then(i=>i.ok?i.text():(console.error("Missing icon: "+t+e+".svg"),va)).then(i=>(i!==va&&localStorage.setItem(t+e+".svg",i),ya[t+e+".svg"]="fetched",i)))):Promise.resolve(va)},Cc={fetchIcon:async(e,t)=>bc(e,t||vc)},fs=R.createContext(Cc),ee=({name:e,path:t,className:r="",...i})=>{const[o,u]=R.useState(null),p=R.useContext(fs);return R.useEffect(()=>{e?p.fetchIcon(e,t).then(u):u(null)},[e,t]),o?h.jsx("span",{className:`pkt-icon ${r}`,dangerouslySetInnerHTML:{__html:o},...i}):null};var hs={exports:{}};/*!
31
31
  Copyright (c) 2018 Jed Watson.
32
32
  Licensed under the MIT License (MIT), see
33
33
  http://jedwatson.github.io/classnames
34
- */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var u="",p=0;p<arguments.length;p++){var c=arguments[p];c&&(u=o(u,i(c)))}return u}function i(u){if(typeof u=="string"||typeof u=="number")return u;if(typeof u!="object")return"";if(Array.isArray(u))return r.apply(null,u);if(u.toString!==Object.prototype.toString&&!u.toString.toString().includes("[native code]"))return u.toString();var p="";for(var c in u)t.call(u,c)&&u[c]&&(p=o(p,c));return p}function o(u,p){return p?u?u+" "+p:u+p:u}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(hs);var kc=hs.exports;const $e=hr(kc),wc=R.forwardRef(({title:e,className:t,children:r,toggleProps:i,defaultOpen:o=!1,id:u},p)=>{const[c,f]=R.useState(o),m=i?i.isOpen:c,g=w=>w??void 0,y=(w,x)=>{w.preventDefault(),i!==void 0&&i.onToggleClick(w,x),f(!m)},v=$e(t,"pkt-accordion-item");return h.jsxs("details",{className:v,ref:p,id:u,open:g(i?i.isOpen:c),children:[h.jsxs("summary",{className:"pkt-accordion-item__title",id:`pkt-accordion-item-summary-${u}`,onClick:w=>y(w,u),children:[e,h.jsx(ee,{name:"chevron-thin-down",className:"pkt-accordion-item__icon","aria-hidden":"true"})]}),h.jsx("div",{id:`pkt-accordion-item-content-${u}`,role:"region",className:"pkt-accordion-item__content",children:r})]})}),ba=R.forwardRef(({children:e,className:t,skin:r="info",closeAlert:i=!1,onClose:o,title:u,date:p,ariaLive:c="polite",compact:f=!1,...m},g)=>{const y=[t,"pkt-alert",r&&`pkt-alert--${r}`,f&&"pkt-alert--compact"].filter(Boolean).join(" "),[v,w]=R.useState(!0),x=()=>{w(!1),o&&o()};return v?h.jsxs("div",{...m,className:y,"aria-live":c,ref:g,children:[h.jsx(ee,{className:"pkt-alert__icon",name:r==="info"?"alert-information":`alert-${r}`}),i&&h.jsx("div",{className:"pkt-alert__close",children:h.jsx("button",{type:"button",className:"pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",tabIndex:0,"aria-label":"close",onClick:x,children:h.jsx(ee,{name:"close",className:"pkt-btn__icon","aria-hidden":"true"})})}),u&&h.jsx("div",{className:"pkt-alert__title",children:u}),h.jsx("div",{className:"pkt-alert__text",children:e}),p&&h.jsxs("div",{className:"pkt-alert__date",children:["Sist oppdatert: ",p]})]}):null});ba.displayName="PktAlert";const ms=R.forwardRef(({href:e,text:t,onClick:r,className:i,...o},u)=>{const p=[i,"pkt-back-link"].filter(Boolean).join(" "),c=f=>{r&&r(f)};return h.jsx("nav",{ref:u,className:p,"aria-label":"Gå tilbake et steg",children:h.jsxs("a",{href:e||"/",className:"pkt-link pkt-link--icon-left",onClick:c,...o,children:[h.jsx(ee,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left","aria-hidden":"true"}),h.jsx("span",{className:"pkt-back-link__text",children:t||"Forsiden"})]})})});ms.displayName="PktBackLink";const _c=R.forwardRef(({breadcrumbs:e,navigationType:t,className:r,...i},o)=>{const u=e.slice(0,4),p=u[u.length-2],c=[r,"pkt-breadcrumbs"].filter(Boolean).join(" ");return h.jsxs("nav",{ref:o,"aria-label":"brødsmulemeny",className:c,children:[h.jsx("ol",{className:"pkt-breadcrumbs__list pkt-breadcrumbs--desktop",children:u.map((f,m)=>h.jsx("li",{className:"pkt-breadcrumbs__item",children:m===u.length-1?h.jsx("span",{className:"pkt-breadcrumbs__label","aria-current":"true",children:h.jsx("span",{className:"pkt-breadcrumbs__text",children:f.text})}):t==="router"?h.jsxs(Wt.Link,{to:f.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...i,children:[h.jsx(ee,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),h.jsx("span",{className:"pkt-breadcrumbs__text",children:f.text})]}):h.jsxs("a",{href:f.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...i,children:[h.jsx(ee,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),h.jsx("span",{className:"pkt-breadcrumbs__text",children:f.text})]})},`breadcrumb-${m}`))}),t==="router"?h.jsxs(Wt.Link,{to:p.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...i,children:[h.jsx(ee,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),h.jsx("span",{className:"pkt-breadcrumbs__text",children:p.text})]}):h.jsxs("a",{href:p.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...i,children:[h.jsx(ee,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),h.jsx("span",{className:"pkt-breadcrumbs__text",children:p.text})]})]})}),Vt=R.forwardRef(({children:e,className:t,iconName:r="user",secondIconName:i="user",size:o="medium",skin:u="primary",type:p="button",variant:c="label-only",state:f,color:m,isLoading:g=!1,...y},v)=>{const w=[t,"pkt-btn",o&&`pkt-btn--${o}`,u&&`pkt-btn--${u}`,c&&`pkt-btn--${c}`,m&&`pkt-btn--${m}`,g&&"pkt-btn--active",f&&`pkt-btn--${f}`].filter(Boolean).join(" ");return h.jsxs("button",{...y,className:w,type:p,ref:v,children:[g&&h.jsx(ee,{className:"pkt-btn__icon pkt-btn__spinner",name:"spinner-blue",path:"https://punkt-cdn.oslo.kommune.no/12.0/animations/"}),c!=="label-only"&&h.jsx(ee,{className:"pkt-btn__icon",name:r}),h.jsx("span",{className:"pkt-btn__text",children:e}),c==="icons-right-and-left"&&h.jsx(ee,{className:"pkt-btn__icon",name:i})]})});Vt.displayName="PktButton";const mr=R.forwardRef(({id:e,hasTile:t=!1,disabled:r=!1,label:i,labelPosition:o="right",hideLabel:u=!1,checkHelptext:p,hasError:c=!1,isSwitch:f=!1,className:m,...g},y)=>{const v=[m,"pkt-input-check"].filter(Boolean).join(" ");return h.jsx("div",{className:v,children:h.jsxs("div",{className:`pkt-input-check__input ${t?"pkt-input-check__input--tile":""} ${r&&t?"pkt-input-check__input--tile-disabled":""}`,children:[i&&o==="left"&&h.jsxs("label",{className:`pkt-input-check__input-label ${u?"pkt-sr-only":""}`,htmlFor:e,children:[i,p&&h.jsx("div",{className:"pkt-input-check__input-helptext",children:p})]}),h.jsx("input",{ref:y,className:`pkt-input-check__input-checkbox ${c?"pkt-input-check__input-checkbox--error":""}`,type:"checkbox",role:f?"switch":"checkbox",id:e,disabled:r,...g}),i&&o==="right"&&h.jsxs("label",{className:`pkt-input-check__input-label ${u?"pkt-sr-only":""}`,htmlFor:e,children:[i,p&&h.jsx("div",{className:"pkt-input-check__input-helptext",children:p})]})]})})});mr.displayName="PktCheckbox";const Fc=({columnOne:e,columnTwo:t,socialLinks:r,className:i,personvernOgInfoLink:o="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:u="https://www.oslo.kommune.no/tilgjengelighet/"})=>{var c,f;const p=[i,"pkt-footer"].filter(Boolean).join(" ");return h.jsx("footer",{className:p,"data-mode":"dark",children:h.jsxs("div",{className:"pkt-footer__container",children:[h.jsxs("div",{className:"pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16",children:[h.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[h.jsx("h2",{className:"pkt-footer__title",children:e.title}),h.jsxs("ul",{className:"pkt-footer__list",children:[e.text&&h.jsx("li",{className:"pkt-footer__text",children:e.text}),(c=e.links)==null?void 0:c.map((m,g)=>h.jsx("li",{className:"pkt-footer__list-item",children:h.jsxs("a",{className:`pkt-footer__link ${m.external?"pkt-link--external":""}`,href:m.href,target:m.openInNewTab?"_blank":"_self",rel:m.openInNewTab?"noopener noreferrer":void 0,children:[h.jsx(ee,{className:"pkt-footer__link-icon",name:"chevron-right"}),m.text]})},`links-${g}`))]})]}),h.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[h.jsx("h2",{className:"pkt-footer__title",children:t.title}),h.jsxs("ul",{className:"pkt-footer__list",children:[t.text&&h.jsx("li",{className:"pkt-footer__text",children:t.text}),(f=t.links)==null?void 0:f.map((m,g)=>h.jsx("li",{className:"pkt-footer__list-item",children:h.jsxs("a",{className:`pkt-footer__link ${m.external?"pkt-link--external":""}`,href:m.href,target:m.openInNewTab?"_blank":"_self",rel:m.openInNewTab?"noopener noreferrer":void 0,children:[h.jsx(ee,{className:"pkt-footer__link-icon",name:"chevron-right"}),m.text]})},`links-${g}`))]})]}),h.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[h.jsx("h2",{className:"pkt-footer__title",children:"Om nettstedet"}),h.jsxs("ul",{className:"pkt-footer__list",children:[h.jsx("li",{className:"pkt-footer__list-item",children:h.jsxs("a",{className:"pkt-footer__link",href:o,children:[h.jsx(ee,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),h.jsx("li",{className:"pkt-footer__list-item",children:h.jsxs("a",{className:"pkt-footer__link",href:u,children:[h.jsx(ee,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})})]})]})]}),r&&h.jsxs("div",{className:"pkt-footer__social","aria-label":"standard lenker",children:[h.jsx("div",{className:"pkt-footer__social-languages",children:r.filter(m=>m.language).map((m,g)=>h.jsx("div",{className:"pkt-footer__social-language",children:h.jsx("a",{href:m.href,"aria-label":`til ${m.language} versjon av nettsiden`,target:m.openInNewTab?"_blank":"_self",rel:m.openInNewTab?"noopener noreferrer":void 0,children:m.language})},`sociallinks-language-${g}`))}),h.jsx("div",{className:"pkt-footer__social-icons",children:r.filter(m=>m.iconName).map((m,g)=>h.jsx(R.Fragment,{children:h.jsx("a",{href:m.href,"aria-label":`til ${m.iconName}`,className:"pkt-footer__social-icon-link",target:m.openInNewTab?"_blank":"_self",rel:m.openInNewTab?"noopener noreferrer":void 0,children:h.jsx(ee,{className:"pkt-footer__social-icon",name:m.iconName})})},`sociallinks-${g}`))})]})]})})},Ec=({links:e=[],personvernOgInfoLink:t="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:r="https://www.oslo.kommune.no/tilgjengelighet/",className:i})=>{const o=[i,"pkt-footer-simple"].filter(Boolean).join(" ");return h.jsx("footer",{className:o,"data-mode":"dark",children:h.jsx("div",{className:"pkt-footer-simple__container",children:h.jsxs("ul",{className:"pkt-footer-simple__list",children:[e.map((u,p)=>h.jsx("li",{className:"pkt-footer-simple__list-item",children:h.jsxs("a",{className:`pkt-footer-simple__link ${u.external?" pkt-link--external":""}`,href:u.href,target:u.openInNewTab?"_blank":"_self",rel:u.openInNewTab?"noopener noreferrer":void 0,children:[h.jsx(ee,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),u.text]})},p)),h.jsx("li",{className:"pkt-footer-simple__list-item",children:h.jsxs("a",{className:"pkt-footer-simple__link",href:t,children:[h.jsx(ee,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),h.jsx("li",{className:"pkt-footer-simple__list-item",children:h.jsxs("a",{className:"pkt-footer-simple__link",href:r,children:[h.jsx(ee,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})})]})})})},xc=R.forwardRef(({className:e,logoLink:t="https://www.oslo.kommune.no/",serviceName:r,fixed:i=!0,scrollToHide:o=!0,user:u,userMenu:p,representing:c,userOptions:f,userMenuFooter:m,canChangeRepresentation:g=!0,showMenuButton:y=!1,showLogOutButton:v=!1,openMenu:w,logOut:x,changeRepresentation:A,children:C,...B},F)=>{const k=R.useMemo(()=>typeof(u==null?void 0:u.lastLoggedIn)=="string"?u.lastLoggedIn:u!=null&&u.lastLoggedIn?new Date(u.lastLoggedIn).toLocaleString("nb-NO",{year:"numeric",month:"long",day:"numeric"}):"",[u]),[E,S]=R.useState(!1),[T,L]=R.useState(0),[$,j]=R.useState(!1),U=R.useRef(null);R.useEffect(()=>(document.addEventListener("mouseup",V),window.addEventListener("scroll",O),()=>{document.removeEventListener("mouseup",V),window.removeEventListener("scroll",O)}));const Y=()=>{j(!$)},V=P=>{U.current&&!U.current.contains(P.target)&&j(!1)},O=()=>{if(o){const P=window.pageYOffset||document.documentElement.scrollTop;if(P<0||Math.abs(P-T)<60)return;S(P>T),L(P)}};return h.jsxs("header",{...B,id:"pkt-header","data-testid":"pkt-header","aria-label":"Topp",className:$e(e,"pkt-header",{"pkt-header--fixed":i,"pkt-header--scroll-to-hide":o,"pkt-header--hidden":E}),ref:F,children:[h.jsxs("div",{className:"pkt-header__logo",children:[typeof t=="string"?h.jsx("a",{"aria-label":"Tilbake til forside",className:"pkt-header__logo-link",href:t,children:h.jsx(ee,{name:"oslologo",className:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/12.0/logos/"})}):h.jsx("button",{"aria-label":"Tilbake til forside",className:"pkt-link-button pkt-link pkt-header__logo-link",onClick:t,children:h.jsx(ee,{name:"oslologo",className:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/12.0/logos/"})}),h.jsx("span",{className:"pkt-header__logo-service",children:r})]}),h.jsx("nav",{className:"pkt-header__actions",children:h.jsxs("ul",{className:"pkt-header__actions-row",children:[y&&h.jsx("li",{children:h.jsx(Vt,{className:"pkt-header__menu-btn",skin:"secondary",variant:"icon-right",iconName:"menu",onClick:w,children:"Meny"})}),(u||c)&&h.jsxs("li",{"data-testid":"usermenu",className:`pkt-header--has-dropdown ${$&&!E?"pkt-header--open-dropdown":""}`,ref:U,children:[h.jsxs("button",{className:"pkt-header__user-btn pkt-btn pkt-btn--secondary pkt-btn--icons-right-and-left",type:"button",role:"button","aria-controls":"pktUserDropdown","aria-expanded":$,onClick:Y,children:[h.jsx(ee,{name:"user",className:"pkt-btn__icon"}),h.jsx("span",{className:"pkt-header__user-fullname",children:(c==null?void 0:c.name)||(u==null?void 0:u.name)}),h.jsx("span",{className:"pkt-header__user-shortname",children:(c==null?void 0:c.shortname)||(u==null?void 0:u.shortname)}),h.jsx(ee,{name:"chevron-thin-down",className:"pkt-btn--closed"}),h.jsx(ee,{name:"chevron-thin-up",className:"pkt-btn--open"})]}),h.jsxs("ul",{id:"pktUserDropdown",className:"pkt-header__dropdown pkt-user-menu",children:[u&&h.jsxs("li",{children:[h.jsx("div",{className:"pkt-user-menu__label",children:"Pålogget som"}),h.jsx("div",{className:"pkt-user-menu__name",children:u.name}),u.lastLoggedIn&&h.jsxs("div",{className:"pkt-user-menu__last-logged-in",children:["Sist pålogget: ",h.jsx("time",{children:k})]})]}),p&&h.jsx("li",{children:h.jsx("ul",{className:"pkt-list",children:p.map((P,q)=>h.jsx("li",{children:typeof P.target=="string"?h.jsxs("a",{href:P.target,className:"pkt-link",children:[P.iconName&&h.jsx(ee,{name:P.iconName,className:"pkt-link__icon"}),P.title]}):h.jsxs("button",{className:"pkt-link-button pkt-link",onClick:P.target,children:[P.iconName&&h.jsx(ee,{name:P.iconName,className:"pkt-link__icon"}),P.title]})},`userMenu-${q}`))})}),(c||g)&&h.jsxs("li",{children:[c&&h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"pkt-user-menu__label",children:"Representerer"}),h.jsx("div",{className:"pkt-user-menu__name",children:c.name}),c.orgNumber&&h.jsxs("div",{className:"pkt-user-menu__org-number",children:["Org.nr. ",c.orgNumber]})]}),h.jsx("ul",{className:"pkt-list mt-size-16",children:g&&h.jsx("li",{children:h.jsxs("button",{className:"pkt-link-button pkt-link",onClick:A,children:[h.jsx(ee,{name:"cogwheel",className:"pkt-link__icon"}),"Endre organisasjon"]})})})]}),h.jsx("li",{children:h.jsx("ul",{className:"pkt-list",children:(f||!v)&&h.jsxs(h.Fragment,{children:[f==null?void 0:f.map((P,q)=>h.jsx("li",{children:typeof P.target=="string"?h.jsxs("a",{href:P.target,className:"pkt-link",children:[P.iconName&&h.jsx(ee,{name:P.iconName,className:"pkt-link__icon"}),P.title]}):h.jsxs("button",{className:"pkt-link-button pkt-link",onClick:P.target,children:[P.iconName&&h.jsx(ee,{name:P.iconName,className:"pkt-link__icon"}),P.title]})},`userOptions-${q}`)),!v&&h.jsx("li",{children:h.jsxs("button",{className:"pkt-link-button pkt-link",onClick:x,children:[h.jsx(ee,{name:"exit",className:"pkt-link__icon"}),"Logg ut"]})})]})})}),m&&h.jsx("li",{className:"footer",children:h.jsx("ul",{className:"pkt-list-horizontal bordered",children:m.map((P,q)=>h.jsx("li",{children:typeof P.target=="string"?h.jsx("a",{href:P.target,className:"pkt-link",children:P.title}):h.jsx("button",{className:"pkt-link-button pkt-link",onClick:P.target,children:P.title})},`userMenuFooter-${q}`))})})]})]}),C&&h.jsx("li",{children:C}),v&&h.jsx("li",{children:h.jsx(Vt,{className:"pkt-header__user-btn pkt-header__user-btn-logout",iconName:"exit",role:"button",onClick:x,skin:"secondary",variant:"icon-right",children:"Logg ut"})})]})})]})}),gs=R.forwardRef(({label:e,id:t,children:r,...i},o)=>h.jsxs("div",{className:"pkt-form-group",children:[h.jsx("label",{htmlFor:t,className:"pkt-form-label",children:e}),h.jsx("input",{className:"pkt-form-input",id:t,...i,ref:o}),r]}));gs.displayName="PktInput";const cn=R.forwardRef(({forId:e,label:t,helptext:r,helptextDropdown:i,helptextDropdownButton:o,counter:u,counterCurrent:p,counterMaxLength:c,optionalTag:f=!1,optionalText:m="Valgfritt",requiredTag:g=!1,requiredText:y="Må fylles ut",hasError:v,errorMessage:w,disabled:x,inline:A,ariaDescribedby:C,useWrapper:B=!0,children:F,className:k,hasFieldset:E=!1},S)=>{const[T,L]=R.useState(!1),$=()=>{L(!T)},j=()=>f?"pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--blue-light":g?"pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--beige":"",U=f?m:g?y:"",Y=x?"pkt-inputwrapper--disabled":"",V=A?"pkt-inputwrapper--inline":"",O=v?"pkt-inputwrapper--error":"",P=!!i&&i!=="",q=o||'Les mer <span class="pkt-sr-only">om inputfeltet</span>',J=E?"fieldset":P?"div":"label",pe=E?"legend":P?"h2":"span",X=C||(r?`${e}-helptext`:void 0);return h.jsxs("div",{className:["pkt-inputwrapper",k,Y,V,O].join(" "),ref:S,children:[B?h.jsx(h.Fragment,{children:h.jsxs(J,{htmlFor:E?void 0:e,"aria-describedby":P?void 0:C,className:`pkt-inputwrapper__label${E?" pkt-inputwrapper__fieldset":""}`,children:[h.jsxs(pe,{id:`${e}-label`,className:`${E?" pkt-inputwrapper__legend":""}`,children:[t,U!==""&&h.jsx("span",{className:j(),children:U})]}),r&&h.jsx("div",{className:"pkt-inputwrapper__helptext",id:`${e}-helptext`,children:r}),P&&i!==""&&h.jsxs("div",{className:"pkt-inputwrapper__helptext-expandable",children:[h.jsx(Vt,{skin:"tertiary",size:"small",variant:"icon-right",iconName:T?"chevron-thin-up":"chevron-thin-down",className:"pkt-link pkt-link--icon-right",onClick:$,children:h.jsx("span",{dangerouslySetInnerHTML:{__html:q}})}),h.jsx("div",{className:`pkt-inputwrapper__helptext ${T?"pkt-inputwrapper__helptext-expandable-open":"pkt-inputwrapper__helptext-expandable-closed"}`,children:i}),!E&&h.jsx("label",{htmlFor:e,className:"pkt-sr-only","aria-describedby":X,children:t})]}),h.jsx(h.Fragment,{children:F}),u&&h.jsxs("div",{className:"pkt-input__counter","aria-live":"polite","aria-atomic":!0,children:[p||0,c&&`/${c}`]})]})}):h.jsxs(h.Fragment,{children:[!E&&h.jsx("label",{htmlFor:e,className:"pkt-sr-only","aria-describedby":X,id:`${e}-label`,children:t}),F]}),v&&w&&h.jsx("div",{children:h.jsx(ba,{skin:"error","aria-live":"assertive",id:`${e}-error`,compact:!0,children:w})})]})});cn.displayName="PktInputWrapper";const Ds=R.forwardRef(({children:e,className:t,iconName:r,openInNewTab:i=!1,skin:o="normal",href:u="#",external:p=!1,title:c,...f},m)=>{const g=[t,"pkt-linkcard",o&&`pkt-linkcard--${o}`].filter(Boolean).join(" ");return h.jsxs("a",{...f,href:u,className:`pkt-linkcard pkt-link ${g}`,target:i?"_blank":"_self",rel:i?"noopener noreferrer":void 0,ref:m,children:[r&&h.jsx(ee,{className:"pkt-link__icon",name:r}),h.jsx("div",{className:`pkt-linkcard__title ${p?"pkt-link pkt-link--external":""}`,children:c}),h.jsx("div",{className:"pkt-linkcard__text",children:e})]})});Ds.displayName="PktLinkCard";const vs=R.forwardRef(({className:e,message:t,size:r="medium",inline:i=!1,isLoading:o=!0,variant:u="rainbow",delay:p=0,children:c,...f},m)=>{const g=`pkt-loader pkt-loader--${r}`,[y,v]=R.useState(!(p>0));p>0&&setTimeout(()=>{v(!0)},p);const w=x=>x==="shapes"?"loader":x==="blue"?"spinner-blue":"spinner";return h.jsx("div",{role:"status","aria-live":"polite","aria-busy":o,className:`pkt-loader--${i?"inline":"box"} ${e||""}`,children:o?h.jsx(h.Fragment,{children:y?h.jsxs("div",{className:g,"data-testid":"pkt-loader",ref:m,...f,children:[h.jsx(ee,{name:w(u),"aria-label":"loading",path:"https://punkt-cdn.oslo.kommune.no/12.0/animations/",className:`pkt-loader__svg pkt-loader__${u}`}),t&&h.jsx("p",{children:t})]}):null}):c})});vs.displayName="PktLoader";const ys=R.forwardRef(({children:e,className:t,compact:r=!1,closable:i=!1,skin:o="beige",title:u,onClose:p,...c},f)=>{const[m,g]=R.useState(!0),y=()=>{g(!1),p&&p()},v=[t,"pkt-messagebox",o&&`pkt-messagebox--${o}`,r&&"pkt-messagebox--compact"].filter(Boolean).join(" ");return m?h.jsxs("div",{...c,className:v,ref:f,children:[i&&h.jsx("div",{className:"pkt-messagebox__close",children:h.jsx("button",{type:"button",className:"pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",tabIndex:0,"aria-label":"close",onClick:y,children:h.jsx(ee,{name:"close",className:"pkt-btn__icon","aria-hidden":"true"})})}),u&&h.jsx("div",{className:"pkt-messagebox__title",children:u}),h.jsx("div",{className:"pkt-messagebox__text",children:e})]}):null});ys.displayName="PktMessagebox";/*!
34
+ */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var u="",p=0;p<arguments.length;p++){var c=arguments[p];c&&(u=o(u,i(c)))}return u}function i(u){if(typeof u=="string"||typeof u=="number")return u;if(typeof u!="object")return"";if(Array.isArray(u))return r.apply(null,u);if(u.toString!==Object.prototype.toString&&!u.toString.toString().includes("[native code]"))return u.toString();var p="";for(var c in u)t.call(u,c)&&u[c]&&(p=o(p,c));return p}function o(u,p){return p?u?u+" "+p:u+p:u}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(hs);var kc=hs.exports;const $e=hr(kc),wc=R.forwardRef(({title:e,className:t,children:r,toggleProps:i,defaultOpen:o=!1,id:u},p)=>{const[c,f]=R.useState(o),m=i?i.isOpen:c,g=w=>w??void 0,y=(w,x)=>{w.preventDefault(),i!==void 0&&i.onToggleClick(w,x),f(!m)},v=$e(t,"pkt-accordion-item");return h.jsxs("details",{className:v,ref:p,id:u,open:g(i?i.isOpen:c),children:[h.jsxs("summary",{className:"pkt-accordion-item__title",id:`pkt-accordion-item-summary-${u}`,onClick:w=>y(w,u),children:[e,h.jsx(ee,{name:"chevron-thin-down",className:"pkt-accordion-item__icon","aria-hidden":"true"})]}),h.jsx("div",{id:`pkt-accordion-item-content-${u}`,role:"region",className:"pkt-accordion-item__content",children:r})]})}),ba=R.forwardRef(({children:e,className:t,skin:r="info",closeAlert:i=!1,onClose:o,title:u,date:p,ariaLive:c="polite",compact:f=!1,...m},g)=>{const y=[t,"pkt-alert",r&&`pkt-alert--${r}`,f&&"pkt-alert--compact"].filter(Boolean).join(" "),[v,w]=R.useState(!0),x=()=>{w(!1),o&&o()};return v?h.jsxs("div",{...m,className:y,"aria-live":c,ref:g,children:[h.jsx(ee,{className:"pkt-alert__icon",name:r==="info"?"alert-information":`alert-${r}`}),i&&h.jsx("div",{className:"pkt-alert__close",children:h.jsx("button",{type:"button",className:"pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",tabIndex:0,"aria-label":"close",onClick:x,children:h.jsx(ee,{name:"close",className:"pkt-btn__icon","aria-hidden":"true"})})}),u&&h.jsx("div",{className:"pkt-alert__title",children:u}),h.jsx("div",{className:"pkt-alert__text",children:e}),p&&h.jsxs("div",{className:"pkt-alert__date",children:["Sist oppdatert: ",p]})]}):null});ba.displayName="PktAlert";const ms=R.forwardRef(({href:e,text:t,onClick:r,className:i,...o},u)=>{const p=[i,"pkt-back-link"].filter(Boolean).join(" "),c=f=>{r&&r(f)};return h.jsx("nav",{ref:u,className:p,"aria-label":"Gå tilbake et steg",children:h.jsxs("a",{href:e||"/",className:"pkt-link pkt-link--icon-left",onClick:c,...o,children:[h.jsx(ee,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left","aria-hidden":"true"}),h.jsx("span",{className:"pkt-back-link__text",children:t||"Forsiden"})]})})});ms.displayName="PktBackLink";const _c=R.forwardRef(({breadcrumbs:e,navigationType:t,className:r,...i},o)=>{const u=e.slice(0,4),p=u[u.length-2],c=[r,"pkt-breadcrumbs"].filter(Boolean).join(" ");return h.jsxs("nav",{ref:o,"aria-label":"brødsmulemeny",className:c,children:[h.jsx("ol",{className:"pkt-breadcrumbs__list pkt-breadcrumbs--desktop",children:u.map((f,m)=>h.jsx("li",{className:"pkt-breadcrumbs__item",children:m===u.length-1?h.jsx("span",{className:"pkt-breadcrumbs__label","aria-current":"true",children:h.jsx("span",{className:"pkt-breadcrumbs__text",children:f.text})}):t==="router"?h.jsxs(Wt.Link,{to:f.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...i,children:[h.jsx(ee,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),h.jsx("span",{className:"pkt-breadcrumbs__text",children:f.text})]}):h.jsxs("a",{href:f.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...i,children:[h.jsx(ee,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),h.jsx("span",{className:"pkt-breadcrumbs__text",children:f.text})]})},`breadcrumb-${m}`))}),t==="router"?h.jsxs(Wt.Link,{to:p.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...i,children:[h.jsx(ee,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),h.jsx("span",{className:"pkt-breadcrumbs__text",children:p.text})]}):h.jsxs("a",{href:p.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...i,children:[h.jsx(ee,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),h.jsx("span",{className:"pkt-breadcrumbs__text",children:p.text})]})]})}),Vt=R.forwardRef(({children:e,className:t,iconName:r="user",secondIconName:i="user",size:o="medium",skin:u="primary",type:p="button",variant:c="label-only",state:f,color:m,isLoading:g=!1,...y},v)=>{const w=[t,"pkt-btn",o&&`pkt-btn--${o}`,u&&`pkt-btn--${u}`,c&&`pkt-btn--${c}`,m&&`pkt-btn--${m}`,g&&"pkt-btn--active",f&&`pkt-btn--${f}`].filter(Boolean).join(" ");return h.jsxs("button",{...y,className:w,type:p,ref:v,children:[g&&h.jsx(ee,{className:"pkt-btn__icon pkt-btn__spinner",name:"spinner-blue",path:"https://punkt-cdn.oslo.kommune.no/12.2/animations/"}),c!=="label-only"&&h.jsx(ee,{className:"pkt-btn__icon",name:r}),h.jsx("span",{className:"pkt-btn__text",children:e}),c==="icons-right-and-left"&&h.jsx(ee,{className:"pkt-btn__icon",name:i})]})});Vt.displayName="PktButton";const mr=R.forwardRef(({id:e,hasTile:t=!1,disabled:r=!1,label:i,labelPosition:o="right",hideLabel:u=!1,checkHelptext:p,hasError:c=!1,isSwitch:f=!1,className:m,...g},y)=>{const v=[m,"pkt-input-check"].filter(Boolean).join(" ");return h.jsx("div",{className:v,children:h.jsxs("div",{className:`pkt-input-check__input ${t?"pkt-input-check__input--tile":""} ${r&&t?"pkt-input-check__input--tile-disabled":""}`,children:[i&&o==="left"&&h.jsxs("label",{className:`pkt-input-check__input-label ${u?"pkt-sr-only":""}`,htmlFor:e,children:[i,p&&h.jsx("div",{className:"pkt-input-check__input-helptext",children:p})]}),h.jsx("input",{ref:y,className:`pkt-input-check__input-checkbox ${c?"pkt-input-check__input-checkbox--error":""}`,type:"checkbox",role:f?"switch":"checkbox",id:e,disabled:r,...g}),i&&o==="right"&&h.jsxs("label",{className:`pkt-input-check__input-label ${u?"pkt-sr-only":""}`,htmlFor:e,children:[i,p&&h.jsx("div",{className:"pkt-input-check__input-helptext",children:p})]})]})})});mr.displayName="PktCheckbox";const Fc=({columnOne:e,columnTwo:t,socialLinks:r,className:i,personvernOgInfoLink:o="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:u="https://www.oslo.kommune.no/tilgjengelighet/"})=>{var c,f;const p=[i,"pkt-footer"].filter(Boolean).join(" ");return h.jsx("footer",{className:p,"data-mode":"dark",children:h.jsxs("div",{className:"pkt-footer__container",children:[h.jsxs("div",{className:"pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16",children:[h.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[h.jsx("h2",{className:"pkt-footer__title",children:e.title}),h.jsxs("ul",{className:"pkt-footer__list",children:[e.text&&h.jsx("li",{className:"pkt-footer__text",children:e.text}),(c=e.links)==null?void 0:c.map((m,g)=>h.jsx("li",{className:"pkt-footer__list-item",children:h.jsxs("a",{className:`pkt-footer__link ${m.external?"pkt-link--external":""}`,href:m.href,target:m.openInNewTab?"_blank":"_self",rel:m.openInNewTab?"noopener noreferrer":void 0,children:[h.jsx(ee,{className:"pkt-footer__link-icon",name:"chevron-right"}),m.text]})},`links-${g}`))]})]}),h.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[h.jsx("h2",{className:"pkt-footer__title",children:t.title}),h.jsxs("ul",{className:"pkt-footer__list",children:[t.text&&h.jsx("li",{className:"pkt-footer__text",children:t.text}),(f=t.links)==null?void 0:f.map((m,g)=>h.jsx("li",{className:"pkt-footer__list-item",children:h.jsxs("a",{className:`pkt-footer__link ${m.external?"pkt-link--external":""}`,href:m.href,target:m.openInNewTab?"_blank":"_self",rel:m.openInNewTab?"noopener noreferrer":void 0,children:[h.jsx(ee,{className:"pkt-footer__link-icon",name:"chevron-right"}),m.text]})},`links-${g}`))]})]}),h.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[h.jsx("h2",{className:"pkt-footer__title",children:"Om nettstedet"}),h.jsxs("ul",{className:"pkt-footer__list",children:[h.jsx("li",{className:"pkt-footer__list-item",children:h.jsxs("a",{className:"pkt-footer__link",href:o,children:[h.jsx(ee,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),h.jsx("li",{className:"pkt-footer__list-item",children:h.jsxs("a",{className:"pkt-footer__link",href:u,children:[h.jsx(ee,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})})]})]})]}),r&&h.jsxs("div",{className:"pkt-footer__social","aria-label":"standard lenker",children:[h.jsx("div",{className:"pkt-footer__social-languages",children:r.filter(m=>m.language).map((m,g)=>h.jsx("div",{className:"pkt-footer__social-language",children:h.jsx("a",{href:m.href,"aria-label":`til ${m.language} versjon av nettsiden`,target:m.openInNewTab?"_blank":"_self",rel:m.openInNewTab?"noopener noreferrer":void 0,children:m.language})},`sociallinks-language-${g}`))}),h.jsx("div",{className:"pkt-footer__social-icons",children:r.filter(m=>m.iconName).map((m,g)=>h.jsx(R.Fragment,{children:h.jsx("a",{href:m.href,"aria-label":`til ${m.iconName}`,className:"pkt-footer__social-icon-link",target:m.openInNewTab?"_blank":"_self",rel:m.openInNewTab?"noopener noreferrer":void 0,children:h.jsx(ee,{className:"pkt-footer__social-icon",name:m.iconName})})},`sociallinks-${g}`))})]})]})})},Ec=({links:e=[],personvernOgInfoLink:t="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:r="https://www.oslo.kommune.no/tilgjengelighet/",className:i})=>{const o=[i,"pkt-footer-simple"].filter(Boolean).join(" ");return h.jsx("footer",{className:o,"data-mode":"dark",children:h.jsx("div",{className:"pkt-footer-simple__container",children:h.jsxs("ul",{className:"pkt-footer-simple__list",children:[e.map((u,p)=>h.jsx("li",{className:"pkt-footer-simple__list-item",children:h.jsxs("a",{className:`pkt-footer-simple__link ${u.external?" pkt-link--external":""}`,href:u.href,target:u.openInNewTab?"_blank":"_self",rel:u.openInNewTab?"noopener noreferrer":void 0,children:[h.jsx(ee,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),u.text]})},p)),h.jsx("li",{className:"pkt-footer-simple__list-item",children:h.jsxs("a",{className:"pkt-footer-simple__link",href:t,children:[h.jsx(ee,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),h.jsx("li",{className:"pkt-footer-simple__list-item",children:h.jsxs("a",{className:"pkt-footer-simple__link",href:r,children:[h.jsx(ee,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})})]})})})},xc=R.forwardRef(({className:e,logoLink:t="https://www.oslo.kommune.no/",serviceName:r,fixed:i=!0,scrollToHide:o=!0,user:u,userMenu:p,representing:c,userOptions:f,userMenuFooter:m,canChangeRepresentation:g=!0,showMenuButton:y=!1,showLogOutButton:v=!1,openMenu:w,logOut:x,changeRepresentation:A,children:C,...B},F)=>{const k=R.useMemo(()=>typeof(u==null?void 0:u.lastLoggedIn)=="string"?u.lastLoggedIn:u!=null&&u.lastLoggedIn?new Date(u.lastLoggedIn).toLocaleString("nb-NO",{year:"numeric",month:"long",day:"numeric"}):"",[u]),[E,S]=R.useState(!1),[T,L]=R.useState(0),[$,j]=R.useState(!1),U=R.useRef(null);R.useEffect(()=>(document.addEventListener("mouseup",V),window.addEventListener("scroll",O),()=>{document.removeEventListener("mouseup",V),window.removeEventListener("scroll",O)}));const Y=()=>{j(!$)},V=P=>{U.current&&!U.current.contains(P.target)&&j(!1)},O=()=>{if(o){const P=window.pageYOffset||document.documentElement.scrollTop;if(P<0||Math.abs(P-T)<60)return;S(P>T),L(P)}};return h.jsxs("header",{...B,id:"pkt-header","data-testid":"pkt-header","aria-label":"Topp",className:$e(e,"pkt-header",{"pkt-header--fixed":i,"pkt-header--scroll-to-hide":o,"pkt-header--hidden":E}),ref:F,children:[h.jsxs("div",{className:"pkt-header__logo",children:[typeof t=="string"?h.jsx("a",{"aria-label":"Tilbake til forside",className:"pkt-header__logo-link",href:t,children:h.jsx(ee,{name:"oslologo",className:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/12.2/logos/"})}):h.jsx("button",{"aria-label":"Tilbake til forside",className:"pkt-link-button pkt-link pkt-header__logo-link",onClick:t,children:h.jsx(ee,{name:"oslologo",className:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/12.2/logos/"})}),h.jsx("span",{className:"pkt-header__logo-service",children:r})]}),h.jsx("nav",{className:"pkt-header__actions",children:h.jsxs("ul",{className:"pkt-header__actions-row",children:[y&&h.jsx("li",{children:h.jsx(Vt,{className:"pkt-header__menu-btn",skin:"secondary",variant:"icon-right",iconName:"menu",onClick:w,children:"Meny"})}),(u||c)&&h.jsxs("li",{"data-testid":"usermenu",className:`pkt-header--has-dropdown ${$&&!E?"pkt-header--open-dropdown":""}`,ref:U,children:[h.jsxs("button",{className:"pkt-header__user-btn pkt-btn pkt-btn--secondary pkt-btn--icons-right-and-left",type:"button",role:"button","aria-controls":"pktUserDropdown","aria-expanded":$,onClick:Y,children:[h.jsx(ee,{name:"user",className:"pkt-btn__icon"}),h.jsx("span",{className:"pkt-header__user-fullname",children:(c==null?void 0:c.name)||(u==null?void 0:u.name)}),h.jsx("span",{className:"pkt-header__user-shortname",children:(c==null?void 0:c.shortname)||(u==null?void 0:u.shortname)}),h.jsx(ee,{name:"chevron-thin-down",className:"pkt-btn--closed"}),h.jsx(ee,{name:"chevron-thin-up",className:"pkt-btn--open"})]}),h.jsxs("ul",{id:"pktUserDropdown",className:"pkt-header__dropdown pkt-user-menu",children:[u&&h.jsxs("li",{children:[h.jsx("div",{className:"pkt-user-menu__label",children:"Pålogget som"}),h.jsx("div",{className:"pkt-user-menu__name",children:u.name}),u.lastLoggedIn&&h.jsxs("div",{className:"pkt-user-menu__last-logged-in",children:["Sist pålogget: ",h.jsx("time",{children:k})]})]}),p&&h.jsx("li",{children:h.jsx("ul",{className:"pkt-list",children:p.map((P,q)=>h.jsx("li",{children:typeof P.target=="string"?h.jsxs("a",{href:P.target,className:"pkt-link",children:[P.iconName&&h.jsx(ee,{name:P.iconName,className:"pkt-link__icon"}),P.title]}):h.jsxs("button",{className:"pkt-link-button pkt-link",onClick:P.target,children:[P.iconName&&h.jsx(ee,{name:P.iconName,className:"pkt-link__icon"}),P.title]})},`userMenu-${q}`))})}),(c||g)&&h.jsxs("li",{children:[c&&h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"pkt-user-menu__label",children:"Representerer"}),h.jsx("div",{className:"pkt-user-menu__name",children:c.name}),c.orgNumber&&h.jsxs("div",{className:"pkt-user-menu__org-number",children:["Org.nr. ",c.orgNumber]})]}),h.jsx("ul",{className:"pkt-list mt-size-16",children:g&&h.jsx("li",{children:h.jsxs("button",{className:"pkt-link-button pkt-link",onClick:A,children:[h.jsx(ee,{name:"cogwheel",className:"pkt-link__icon"}),"Endre organisasjon"]})})})]}),h.jsx("li",{children:h.jsx("ul",{className:"pkt-list",children:(f||!v)&&h.jsxs(h.Fragment,{children:[f==null?void 0:f.map((P,q)=>h.jsx("li",{children:typeof P.target=="string"?h.jsxs("a",{href:P.target,className:"pkt-link",children:[P.iconName&&h.jsx(ee,{name:P.iconName,className:"pkt-link__icon"}),P.title]}):h.jsxs("button",{className:"pkt-link-button pkt-link",onClick:P.target,children:[P.iconName&&h.jsx(ee,{name:P.iconName,className:"pkt-link__icon"}),P.title]})},`userOptions-${q}`)),!v&&h.jsx("li",{children:h.jsxs("button",{className:"pkt-link-button pkt-link",onClick:x,children:[h.jsx(ee,{name:"exit",className:"pkt-link__icon"}),"Logg ut"]})})]})})}),m&&h.jsx("li",{className:"footer",children:h.jsx("ul",{className:"pkt-list-horizontal bordered",children:m.map((P,q)=>h.jsx("li",{children:typeof P.target=="string"?h.jsx("a",{href:P.target,className:"pkt-link",children:P.title}):h.jsx("button",{className:"pkt-link-button pkt-link",onClick:P.target,children:P.title})},`userMenuFooter-${q}`))})})]})]}),C&&h.jsx("li",{children:C}),v&&h.jsx("li",{children:h.jsx(Vt,{className:"pkt-header__user-btn pkt-header__user-btn-logout",iconName:"exit",role:"button",onClick:x,skin:"secondary",variant:"icon-right",children:"Logg ut"})})]})})]})}),gs=R.forwardRef(({label:e,id:t,children:r,...i},o)=>h.jsxs("div",{className:"pkt-form-group",children:[h.jsx("label",{htmlFor:t,className:"pkt-form-label",children:e}),h.jsx("input",{className:"pkt-form-input",id:t,...i,ref:o}),r]}));gs.displayName="PktInput";const cn=R.forwardRef(({forId:e,label:t,helptext:r,helptextDropdown:i,helptextDropdownButton:o,counter:u,counterCurrent:p,counterMaxLength:c,optionalTag:f=!1,optionalText:m="Valgfritt",requiredTag:g=!1,requiredText:y="Må fylles ut",hasError:v,errorMessage:w,disabled:x,inline:A,ariaDescribedby:C,useWrapper:B=!0,children:F,className:k,hasFieldset:E=!1},S)=>{const[T,L]=R.useState(!1),$=()=>{L(!T)},j=()=>f?"pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--blue-light":g?"pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--beige":"",U=f?m:g?y:"",Y=x?"pkt-inputwrapper--disabled":"",V=A?"pkt-inputwrapper--inline":"",O=v?"pkt-inputwrapper--error":"",P=!!i&&i!=="",q=o||'Les mer <span class="pkt-sr-only">om inputfeltet</span>',J=E?"fieldset":P?"div":"label",pe=E?"legend":P?"h2":"span",X=C||(r?`${e}-helptext`:void 0);return h.jsxs("div",{className:["pkt-inputwrapper",k,Y,V,O].join(" "),ref:S,children:[B?h.jsx(h.Fragment,{children:h.jsxs(J,{htmlFor:E?void 0:e,"aria-describedby":P?void 0:C,className:`pkt-inputwrapper__label${E?" pkt-inputwrapper__fieldset":""}`,children:[h.jsxs(pe,{id:`${e}-label`,className:`${E?" pkt-inputwrapper__legend":""}`,children:[t,U!==""&&h.jsx("span",{className:j(),children:U})]}),r&&h.jsx("div",{className:"pkt-inputwrapper__helptext",id:`${e}-helptext`,children:r}),P&&i!==""&&h.jsxs("div",{className:"pkt-inputwrapper__helptext-expandable",children:[h.jsx(Vt,{skin:"tertiary",size:"small",variant:"icon-right",iconName:T?"chevron-thin-up":"chevron-thin-down",className:"pkt-link pkt-link--icon-right",onClick:$,children:h.jsx("span",{dangerouslySetInnerHTML:{__html:q}})}),h.jsx("div",{className:`pkt-inputwrapper__helptext ${T?"pkt-inputwrapper__helptext-expandable-open":"pkt-inputwrapper__helptext-expandable-closed"}`,children:i}),!E&&h.jsx("label",{htmlFor:e,className:"pkt-sr-only","aria-describedby":X,children:t})]}),h.jsx(h.Fragment,{children:F}),u&&h.jsxs("div",{className:"pkt-input__counter","aria-live":"polite","aria-atomic":!0,children:[p||0,c&&`/${c}`]})]})}):h.jsxs(h.Fragment,{children:[!E&&h.jsx("label",{htmlFor:e,className:"pkt-sr-only","aria-describedby":X,id:`${e}-label`,children:t}),F]}),v&&w&&h.jsx("div",{children:h.jsx(ba,{skin:"error","aria-live":"assertive",id:`${e}-error`,compact:!0,children:w})})]})});cn.displayName="PktInputWrapper";const Ds=R.forwardRef(({children:e,className:t,iconName:r,openInNewTab:i=!1,skin:o="normal",href:u="#",external:p=!1,title:c,...f},m)=>{const g=[t,"pkt-linkcard",o&&`pkt-linkcard--${o}`].filter(Boolean).join(" ");return h.jsxs("a",{...f,href:u,className:`pkt-linkcard pkt-link ${g}`,target:i?"_blank":"_self",rel:i?"noopener noreferrer":void 0,ref:m,children:[r&&h.jsx(ee,{className:"pkt-link__icon",name:r}),h.jsx("div",{className:`pkt-linkcard__title ${p?"pkt-link pkt-link--external":""}`,children:c}),h.jsx("div",{className:"pkt-linkcard__text",children:e})]})});Ds.displayName="PktLinkCard";const vs=R.forwardRef(({className:e,message:t,size:r="medium",inline:i=!1,isLoading:o=!0,variant:u="rainbow",delay:p=0,children:c,...f},m)=>{const g=`pkt-loader pkt-loader--${r}`,[y,v]=R.useState(!(p>0));p>0&&setTimeout(()=>{v(!0)},p);const w=x=>x==="shapes"?"loader":x==="blue"?"spinner-blue":"spinner";return h.jsx("div",{role:"status","aria-live":"polite","aria-busy":o,className:`pkt-loader--${i?"inline":"box"} ${e||""}`,children:o?h.jsx(h.Fragment,{children:y?h.jsxs("div",{className:g,"data-testid":"pkt-loader",ref:m,...f,children:[h.jsx(ee,{name:w(u),"aria-label":"loading",path:"https://punkt-cdn.oslo.kommune.no/12.2/animations/",className:`pkt-loader__svg pkt-loader__${u}`}),t&&h.jsx("p",{children:t})]}):null}):c})});vs.displayName="PktLoader";const ys=R.forwardRef(({children:e,className:t,compact:r=!1,closable:i=!1,skin:o="beige",title:u,onClose:p,...c},f)=>{const[m,g]=R.useState(!0),y=()=>{g(!1),p&&p()},v=[t,"pkt-messagebox",o&&`pkt-messagebox--${o}`,r&&"pkt-messagebox--compact"].filter(Boolean).join(" ");return m?h.jsxs("div",{...c,className:v,ref:f,children:[i&&h.jsx("div",{className:"pkt-messagebox__close",children:h.jsx("button",{type:"button",className:"pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",tabIndex:0,"aria-label":"close",onClick:y,children:h.jsx(ee,{name:"close",className:"pkt-btn__icon","aria-hidden":"true"})})}),u&&h.jsx("div",{className:"pkt-messagebox__title",children:u}),h.jsx("div",{className:"pkt-messagebox__text",children:e})]}):null});ys.displayName="PktMessagebox";/*!
35
35
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
36
36
  *
37
37
  * Copyright (c) 2014-2017, Jon Schlinkert.
@@ -135,6 +135,6 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
135
135
  * @author Lea Verou <https://lea.verou.me>
136
136
  * @namespace
137
137
  * @public
138
- */var r=function(i){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,u=0,p={},c={manual:i.Prism&&i.Prism.manual,disableWorkerMessageHandler:i.Prism&&i.Prism.disableWorkerMessageHandler,util:{encode:function F(k){return k instanceof f?new f(k.type,F(k.content),k.alias):Array.isArray(k)?k.map(F):k.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(F){return Object.prototype.toString.call(F).slice(8,-1)},objId:function(F){return F.__id||Object.defineProperty(F,"__id",{value:++u}),F.__id},clone:function F(k,E){E=E||{};var S,T;switch(c.util.type(k)){case"Object":if(T=c.util.objId(k),E[T])return E[T];S={},E[T]=S;for(var L in k)k.hasOwnProperty(L)&&(S[L]=F(k[L],E));return S;case"Array":return T=c.util.objId(k),E[T]?E[T]:(S=[],E[T]=S,k.forEach(function($,j){S[j]=F($,E)}),S);default:return k}},getLanguage:function(F){for(;F;){var k=o.exec(F.className);if(k)return k[1].toLowerCase();F=F.parentElement}return"none"},setLanguage:function(F,k){F.className=F.className.replace(RegExp(o,"gi"),""),F.classList.add("language-"+k)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var F=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(F){var k=document.getElementsByTagName("script");for(var E in k)if(k[E].src==F)return k[E]}return null}},isActive:function(F,k,E){for(var S="no-"+k;F;){var T=F.classList;if(T.contains(k))return!0;if(T.contains(S))return!1;F=F.parentElement}return!!E}},languages:{plain:p,plaintext:p,text:p,txt:p,extend:function(F,k){var E=c.util.clone(c.languages[F]);for(var S in k)E[S]=k[S];return E},insertBefore:function(F,k,E,S){S=S||c.languages;var T=S[F],L={};for(var $ in T)if(T.hasOwnProperty($)){if($==k)for(var j in E)E.hasOwnProperty(j)&&(L[j]=E[j]);E.hasOwnProperty($)||(L[$]=T[$])}var U=S[F];return S[F]=L,c.languages.DFS(c.languages,function(Y,V){V===U&&Y!=F&&(this[Y]=L)}),L},DFS:function F(k,E,S,T){T=T||{};var L=c.util.objId;for(var $ in k)if(k.hasOwnProperty($)){E.call(k,$,k[$],S||$);var j=k[$],U=c.util.type(j);U==="Object"&&!T[L(j)]?(T[L(j)]=!0,F(j,E,null,T)):U==="Array"&&!T[L(j)]&&(T[L(j)]=!0,F(j,E,$,T))}}},plugins:{},highlightAll:function(F,k){c.highlightAllUnder(document,F,k)},highlightAllUnder:function(F,k,E){var S={callback:E,container:F,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),c.hooks.run("before-all-elements-highlight",S);for(var T=0,L;L=S.elements[T++];)c.highlightElement(L,k===!0,S.callback)},highlightElement:function(F,k,E){var S=c.util.getLanguage(F),T=c.languages[S];c.util.setLanguage(F,S);var L=F.parentElement;L&&L.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(L,S);var $=F.textContent,j={element:F,language:S,grammar:T,code:$};function U(V){j.highlightedCode=V,c.hooks.run("before-insert",j),j.element.innerHTML=j.highlightedCode,c.hooks.run("after-highlight",j),c.hooks.run("complete",j),E&&E.call(j.element)}if(c.hooks.run("before-sanity-check",j),L=j.element.parentElement,L&&L.nodeName.toLowerCase()==="pre"&&!L.hasAttribute("tabindex")&&L.setAttribute("tabindex","0"),!j.code){c.hooks.run("complete",j),E&&E.call(j.element);return}if(c.hooks.run("before-highlight",j),!j.grammar){U(c.util.encode(j.code));return}if(k&&i.Worker){var Y=new Worker(c.filename);Y.onmessage=function(V){U(V.data)},Y.postMessage(JSON.stringify({language:j.language,code:j.code,immediateClose:!0}))}else U(c.highlight(j.code,j.grammar,j.language))},highlight:function(F,k,E){var S={code:F,grammar:k,language:E};if(c.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=c.tokenize(S.code,S.grammar),c.hooks.run("after-tokenize",S),f.stringify(c.util.encode(S.tokens),S.language)},tokenize:function(F,k){var E=k.rest;if(E){for(var S in E)k[S]=E[S];delete k.rest}var T=new y;return v(T,T.head,F),g(F,T,k,T.head,0),x(T)},hooks:{all:{},add:function(F,k){var E=c.hooks.all;E[F]=E[F]||[],E[F].push(k)},run:function(F,k){var E=c.hooks.all[F];if(!(!E||!E.length))for(var S=0,T;T=E[S++];)T(k)}},Token:f};i.Prism=c;function f(F,k,E,S){this.type=F,this.content=k,this.alias=E,this.length=(S||"").length|0}f.stringify=function F(k,E){if(typeof k=="string")return k;if(Array.isArray(k)){var S="";return k.forEach(function(U){S+=F(U,E)}),S}var T={type:k.type,content:F(k.content,E),tag:"span",classes:["token",k.type],attributes:{},language:E},L=k.alias;L&&(Array.isArray(L)?Array.prototype.push.apply(T.classes,L):T.classes.push(L)),c.hooks.run("wrap",T);var $="";for(var j in T.attributes)$+=" "+j+'="'+(T.attributes[j]||"").replace(/"/g,"&quot;")+'"';return"<"+T.tag+' class="'+T.classes.join(" ")+'"'+$+">"+T.content+"</"+T.tag+">"};function m(F,k,E,S){F.lastIndex=k;var T=F.exec(E);if(T&&S&&T[1]){var L=T[1].length;T.index+=L,T[0]=T[0].slice(L)}return T}function g(F,k,E,S,T,L){for(var $ in E)if(!(!E.hasOwnProperty($)||!E[$])){var j=E[$];j=Array.isArray(j)?j:[j];for(var U=0;U<j.length;++U){if(L&&L.cause==$+","+U)return;var Y=j[U],V=Y.inside,O=!!Y.lookbehind,P=!!Y.greedy,q=Y.alias;if(P&&!Y.pattern.global){var J=Y.pattern.toString().match(/[imsuy]*$/)[0];Y.pattern=RegExp(Y.pattern.source,J+"g")}for(var pe=Y.pattern||Y,X=S.next,se=T;X!==k.tail&&!(L&&se>=L.reach);se+=X.value.length,X=X.next){var de=X.value;if(k.length>F.length)return;if(!(de instanceof f)){var ne=1,me;if(P){if(me=m(pe,se,F,O),!me||me.index>=F.length)break;var Ae=me.index,ze=me.index+me[0].length,xe=se;for(xe+=X.value.length;Ae>=xe;)X=X.next,xe+=X.value.length;if(xe-=X.value.length,se=xe,X.value instanceof f)continue;for(var ke=X;ke!==k.tail&&(xe<ze||typeof ke.value=="string");ke=ke.next)ne++,xe+=ke.value.length;ne--,de=F.slice(se,xe),me.index-=se}else if(me=m(pe,0,de,O),!me)continue;var Ae=me.index,le=me[0],Ze=de.slice(0,Ae),bt=de.slice(Ae+le.length),nt=se+de.length;L&&nt>L.reach&&(L.reach=nt);var rt=X.prev;Ze&&(rt=v(k,rt,Ze),se+=Ze.length),w(k,rt,ne);var qt=new f($,V?c.tokenize(le,V):le,q,le);if(X=v(k,rt,qt),bt&&v(k,X,bt),ne>1){var at={cause:$+","+U,reach:nt};g(F,k,E,X.prev,se,at),L&&at.reach>L.reach&&(L.reach=at.reach)}}}}}}function y(){var F={value:null,prev:null,next:null},k={value:null,prev:F,next:null};F.next=k,this.head=F,this.tail=k,this.length=0}function v(F,k,E){var S=k.next,T={value:E,prev:k,next:S};return k.next=T,S.prev=T,F.length++,T}function w(F,k,E){for(var S=k.next,T=0;T<E&&S!==F.tail;T++)S=S.next;k.next=S,S.prev=k,F.length-=T}function x(F){for(var k=[],E=F.head.next;E!==F.tail;)k.push(E.value),E=E.next;return k}if(!i.document)return i.addEventListener&&(c.disableWorkerMessageHandler||i.addEventListener("message",function(F){var k=JSON.parse(F.data),E=k.language,S=k.code,T=k.immediateClose;i.postMessage(c.highlight(S,c.languages[E],E)),T&&i.close()},!1)),c;var A=c.util.currentScript();A&&(c.filename=A.src,A.hasAttribute("data-manual")&&(c.manual=!0));function C(){c.manual||c.highlightAll()}if(!c.manual){var B=document.readyState;B==="loading"||B==="interactive"&&A&&A.defer?document.addEventListener("DOMContentLoaded",C):window.requestAnimationFrame?window.requestAnimationFrame(C):window.setTimeout(C,16)}return c}(t);e.exports&&(e.exports=r),typeof Pt<"u"&&(Pt.Prism=r)})(Gu);var a2=Gu.exports,i2=Di;Di.displayName="markup",Di.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function Di(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(r,i){var o={};o["language-"+i]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[i]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var u={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};u["language-"+i]={pattern:/[\s\S]+/,inside:e.languages[i]};var p={};p[r]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:u},e.languages.insertBefore("markup","cdata",p)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,r){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:e.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}var s2=vi;vi.displayName="css",vi.aliases=[];function vi(e){(function(t){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var i=t.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(e)}var o2=yi;yi.displayName="clike",yi.aliases=[];function yi(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var u2=bi;bi.displayName="javascript",bi.aliases=["js"];function bi(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}var Vn=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Pt=="object"?Pt:{},l2=F2();Vn.Prism={manual:!0,disableWorkerMessageHandler:!0};var c2=wg,p2=qg,Yu=a2,d2=i2,f2=s2,h2=o2,m2=u2;l2();var Ci={}.hasOwnProperty;function Ku(){}Ku.prototype=Yu;var Te=new Ku,g2=Te;Te.highlight=v2,Te.register=Gn,Te.alias=D2,Te.registered=y2,Te.listLanguages=b2,Gn(d2),Gn(f2),Gn(h2),Gn(m2),Te.util.encode=w2,Te.Token.stringify=C2;function Gn(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");Te.languages[e.displayName]===void 0&&e(Te)}function D2(e,t){var r=Te.languages,i=e,o,u,p,c;t&&(i={},i[e]=t);for(o in i)for(u=i[o],u=typeof u=="string"?[u]:u,p=u.length,c=-1;++c<p;)r[u[c]]=r[o]}function v2(e,t){var r=Yu.highlight,i;if(typeof e!="string")throw new Error("Expected `string` for `value`, got `"+e+"`");if(Te.util.type(t)==="Object")i=t,t=null;else{if(typeof t!="string")throw new Error("Expected `string` for `name`, got `"+t+"`");if(Ci.call(Te.languages,t))i=Te.languages[t];else throw new Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,i,t)}function y2(e){if(typeof e!="string")throw new Error("Expected `string` for `language`, got `"+e+"`");return Ci.call(Te.languages,e)}function b2(){var e=Te.languages,t=[],r;for(r in e)Ci.call(e,r)&&typeof e[r]=="object"&&t.push(r);return t}function C2(e,t,r){var i;return typeof e=="string"?{type:"text",value:e}:Te.util.type(e)==="Array"?k2(e,t):(i={type:e.type,content:Te.Token.stringify(e.content,t,r),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:r},e.alias&&(i.classes=i.classes.concat(e.alias)),Te.hooks.run("wrap",i),c2(i.tag+"."+i.classes.join("."),_2(i.attributes),i.content))}function k2(e,t){for(var r=[],i=e.length,o=-1,u;++o<i;)u=e[o],u!==""&&u!==null&&u!==void 0&&r.push(u);for(o=-1,i=r.length;++o<i;)u=r[o],r[o]=Te.Token.stringify(u,t,r);return r}function w2(e){return e}function _2(e){var t;for(t in e)e[t]=p2(e[t]);return e}function F2(){var e="Prism"in Vn,t=e?Vn.Prism:void 0;return r;function r(){e?Vn.Prism=t:delete Vn.Prism,e=void 0,t=void 0}}const ki=hr(g2);var Yn=im(ki,{});Yn.registerLanguage=function(e,t){return ki.register(t)},Yn.alias=function(e,t){return ki.alias(e,t)};const Ju={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var E2=wi;wi.displayName="jsx",wi.aliases=[];function wi(e){(function(t){var r=t.util.clone(t.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,u=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function p(m,g){return m=m.replace(/<S>/g,function(){return i}).replace(/<BRACES>/g,function(){return o}).replace(/<SPREAD>/g,function(){return u}),RegExp(m,g)}u=p(u).source,t.languages.jsx=t.languages.extend("markup",r),t.languages.jsx.tag.pattern=p(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=r.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:p(/<SPREAD>/.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:p(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var c=function(m){return m?typeof m=="string"?m:typeof m.content=="string"?m.content:m.content.map(c).join(""):""},f=function(m){for(var g=[],y=0;y<m.length;y++){var v=m[y],w=!1;if(typeof v!="string"&&(v.type==="tag"&&v.content[0]&&v.content[0].type==="tag"?v.content[0].content[0].content==="</"?g.length>0&&g[g.length-1].tagName===c(v.content[0].content[1])&&g.pop():v.content[v.content.length-1].content==="/>"||g.push({tagName:c(v.content[0].content[1]),openedBraces:0}):g.length>0&&v.type==="punctuation"&&v.content==="{"?g[g.length-1].openedBraces++:g.length>0&&g[g.length-1].openedBraces>0&&v.type==="punctuation"&&v.content==="}"?g[g.length-1].openedBraces--:w=!0),(w||typeof v=="string")&&g.length>0&&g[g.length-1].openedBraces===0){var x=c(v);y<m.length-1&&(typeof m[y+1]=="string"||m[y+1].type==="plain-text")&&(x+=c(m[y+1]),m.splice(y+1,1)),y>0&&(typeof m[y-1]=="string"||m[y-1].type==="plain-text")&&(x=c(m[y-1])+x,m.splice(y-1,1),y--),m[y]=new t.Token("plain-text",x,null,x)}v.content&&typeof v.content!="string"&&f(v.content)}};t.hooks.add("after-tokenize",function(m){m.language!=="jsx"&&m.language!=="tsx"||f(m.tokens)})})(e)}const x2=hr(E2),_i=R.forwardRef(({ariaDescribedby:e,ariaLabelledby:t,children:r,className:i,disabled:o=!1,errorMessage:u,hasError:p,helptext:c,helptextDropdown:f,helptextDropdownButton:m,id:g,inline:y=!1,fullwidth:v=!1,label:w,name:x,optionalTag:A=!1,optionalText:C,requiredTag:B=!1,requiredText:F,...k},E)=>{const S=[i,"pkt-select"].join(" ");return h.jsx(cn,{className:S,forId:g,label:w,helptext:c,helptextDropdown:f,helptextDropdownButton:m,optionalTag:A,optionalText:C,requiredTag:B,requiredText:F,hasError:p,errorMessage:u,disabled:o,inline:y,ariaDescribedby:e,children:h.jsx("select",{ref:E,className:`pkt-input ${v?"pkt-input--fullwidth":""}`,"aria-invalid":p,"aria-errormessage":`${g}-error`,"aria-labelledby":t||`${g}-label`,disabled:o,id:g,name:x||g,...k,children:r})})}),kn=R.forwardRef(({children:e,className:t,skin:r="blue",textStyle:i="normal-text",size:o="medium",closeTag:u=!1,iconName:p="",type:c="button",ariaLabel:f="close",onClick:m=()=>{}},g)=>{const[y,v]=R.useState(!1),w=B=>{v(!0),m(B)},x=["pkt-tag",o&&`pkt-tag--${o}`,r&&`pkt-tag--${r}`,i&&`pkt-tag--${i}`,t].filter(Boolean).join(" "),A=["pkt-tag","pkt-btn","pkt-btn--tertiary",o&&`pkt-tag--${o}`,r&&`pkt-tag--${r}`,i&&`pkt-tag--${i}`,p&&u?"pkt-btn--icons-right-and-left":null,u&&!p?"pkt-btn--icon-right":null,t].filter(Boolean).join(" "),C=!y;return u&&p?h.jsx(h.Fragment,{children:C&&h.jsxs("button",{className:A,type:c,"aria-label":f,onClick:w,ref:g,children:[h.jsx(ee,{className:"pkt-tag__icon",name:p}),e,h.jsx(ee,{className:"pkt-tag__close-btn",name:"close"})]})}):u?h.jsx(h.Fragment,{children:C&&h.jsxs("button",{className:A,type:c,"aria-label":f,onClick:w,ref:g,children:[h.jsx(ee,{className:"pkt-tag__close-btn",name:"close"}),e]})}):p?h.jsxs("span",{className:x,children:[h.jsx(ee,{className:"pkt-tag__icon",name:p}),e]}):h.jsx("span",{className:x,children:e})});kn.displayName="PktTag";const Xu=R.forwardRef(({arrowNav:e=!0,tabs:t,onTabSelected:r},i)=>{const o=R.useRef([]);R.useEffect(()=>{o.current=o.current.slice(0,t.length)},[t]);const u=(c,f)=>{f.action&&f.action(c),r&&r(c)},p=(c,f)=>{var m,g;e&&(f.code==="ArrowLeft"&&c!==0&&((m=o.current[c-1])==null||m.focus()),f.code==="ArrowRight"&&c<t.length-1&&((g=o.current[c+1])==null||g.focus()),(f.code==="ArrowDown"||f.code==="Space")&&u(c,t[c]))};return h.jsx("div",{className:"pkt-tabs",ref:i,children:h.jsx("div",{className:"pkt-tabs__list",role:e?"tablist":"navigation",children:t.map((c,f)=>h.jsx(R.Fragment,{children:c.href?h.jsxs("a",{"aria-selected":!!c.active,role:e?"tab":void 0,href:c.href,"aria-controls":c.controls,className:`pkt-tabs__link ${c.active?"active":""}`,onKeyUp:m=>p(f,m),onClick:()=>u(f,c),tabIndex:c.active||!e?void 0:-1,ref:m=>{o.current[f]=m},children:[c.icon&&h.jsx(ee,{name:c.icon,className:"pkt-icon--small"}),c.text,c.tag&&h.jsx(kn,{skin:c.tag.skin,size:"small",children:c.tag.text})]}):h.jsxs("button",{"aria-selected":!!c.active,role:e?"tab":void 0,type:"button","aria-controls":c.controls,className:`pkt-tabs__button pkt-link-button ${c.active?"active":""}`,onKeyUp:m=>p(f,m),onClick:()=>u(f,c),tabIndex:c.active||!e?void 0:-1,ref:m=>{o.current[f]=m},children:[c.icon&&h.jsx(ee,{name:c.icon,className:"pkt-icon--small"}),c.text,c.tag&&h.jsx(kn,{skin:c.tag.skin,size:"small",children:c.tag.text})]},"b-"+f)},f))})})}),Fi=R.forwardRef(({id:e,ariaDescribedby:t,ariaLabelledby:r,autocomplete:i="off",counter:o,counterMaxLength:u,className:p,disabled:c=!1,errorMessage:f,hasError:m=!1,helptext:g,helptextDropdown:y,helptextDropdownButton:v,iconNameRight:w,inline:x=!1,fullwidth:A=!1,label:C,name:B,optionalTag:F=!1,optionalText:k,requiredTag:E=!1,requiredText:S,placeholder:T,prefix:L,suffix:$,type:j="text",useWrapper:U=!0,omitSearchIcon:Y=!1,value:V,onChange:O,...P},q)=>{const J=[p,"pkt-textinput"].join(" "),pe=r||`${e}-label`,X=j==="search"&&!w&&!Y;R.useRef(null);const[se,de]=R.useState(0),ne=me=>{var ze,xe;if(o&&de(((xe=(ze=me.currentTarget)==null?void 0:ze.value)==null?void 0:xe.length)||0),O)return O(me)};return h.jsx(cn,{ariaDescribedby:t,className:J,disabled:c,errorMessage:f,forId:e,hasError:m,helptext:g,helptextDropdown:y,helptextDropdownButton:v,inline:x,label:C,optionalTag:F,optionalText:k,requiredTag:E,requiredText:S,useWrapper:U,counter:o,counterCurrent:se,counterMaxLength:u,children:h.jsxs("div",{className:"pkt-input__container",children:[L&&h.jsx("div",{className:"pkt-input-prefix",children:L}),h.jsx("input",{ref:q,className:`pkt-input ${A?"pkt-input--fullwidth":""} ${u&&se>u?"pkt-input--counter-error":""}`,type:j,name:B||e,id:e,placeholder:T,autoComplete:i,value:V,disabled:c,"aria-invalid":m,"aria-errormessage":`${e}-error`,"aria-labelledby":pe,...P,onChange:ne}),$&&h.jsxs("p",{className:"pkt-input-suffix",children:[$,w&&h.jsx(ee,{className:"pkt-input-suffix-icon",name:w}),X&&h.jsx(ee,{className:"pkt-input-suffix-icon",name:"magnifying-glass-big"})]}),!$&&w&&h.jsx(ee,{className:"pkt-input-icon",name:w}),!$&&X&&h.jsx(ee,{className:"pkt-input-icon",name:"magnifying-glass-big"})]})})}),S2=[{id:"24h",fn:"24h.svg",cat:"services"},{id:"active-person",fn:"active-person.svg",cat:"people-and-health"},{id:"adjust",fn:"adjust.svg",cat:"ui"},{id:"alert-circle",fn:"alert-circle.svg",cat:"ui"},{id:"alert-error",fn:"alert-error.svg",cat:"ui"},{id:"alert-information",fn:"alert-information.svg",cat:"ui"},{id:"alert-success",fn:"alert-success.svg",cat:"ui"},{id:"alert-warning",fn:"alert-warning.svg",cat:"ui"},{id:"apple",fn:"apple.svg",cat:"ui"},{id:"archive",fn:"archive.svg",cat:"ui"},{id:"arrow-circle",fn:"arrow-circle.svg",cat:"ui"},{id:"arrow",fn:"arrow.svg",cat:"arrows"},{id:"attachment",fn:"attachment.svg",cat:"ui"},{id:"backpack",fn:"backpack.svg",cat:"services"},{id:"books",fn:"books.svg",cat:"services"},{id:"wardrobe-boys",fn:"wardrobe-boys.svg",cat:"sign"},{id:"brain-heart",fn:"brain-heart.svg",cat:"people-and-health"},{id:"brain-signal",fn:"brain-signal.svg",cat:"people-and-health"},{id:"briefcase",fn:"briefcase.svg",cat:"sign"},{id:"bullseye",fn:"bullseye.svg",cat:"ui"},{id:"bus",fn:"bus.svg",cat:"services"},{id:"cafe",fn:"cafe.svg",cat:"sign"},{id:"calendar",fn:"calendar.svg",cat:"ui"},{id:"camera",fn:"camera.svg",cat:"ui"},{id:"car",fn:"car.svg",cat:"sign"},{id:"character-exclamation-mark",fn:"character-exclamation-mark.svg",cat:"ui"},{id:"character-information",fn:"character-information.svg",cat:"ui"},{id:"care-room",fn:"care-room.svg",cat:"sign"},{id:"check-big",fn:"check-big.svg",cat:"ui"},{id:"check-circle",fn:"check-circle.svg",cat:"ui"},{id:"check-medium",fn:"check-medium.svg",cat:"ui"},{id:"check",fn:"check.svg",cat:"ui"},{id:"chevron-down",fn:"chevron-down.svg",cat:"arrows"},{id:"chevron-left",fn:"chevron-left.svg",cat:"arrows"},{id:"chevron-right",fn:"chevron-right.svg",cat:"arrows"},{id:"chevron-thin-down",fn:"chevron-thin-down.svg",cat:"arrows"},{id:"chevron-thin-left",fn:"chevron-thin-left.svg",cat:"arrows"},{id:"chevron-thin-right",fn:"chevron-thin-right.svg",cat:"arrows"},{id:"chevron-thin-up",fn:"chevron-thin-up.svg",cat:"arrows"},{id:"chevron-up-and-down",fn:"chevron-up-and-down.svg",cat:"ui"},{id:"chevron-up",fn:"chevron-up.svg",cat:"arrows"},{id:"clock",fn:"clock.svg",cat:"ui"},{id:"close",fn:"close.svg",cat:"ui"},{id:"cloud",fn:"cloud.svg",cat:"ui"},{id:"code",fn:"code.svg",cat:"ui"},{id:"coffee",fn:"coffee.svg",cat:"sign"},{id:"cogwheel",fn:"cogwheel.svg",cat:"ui"},{id:"coin-stacks",fn:"coin-stacks.svg",cat:"services"},{id:"computer",fn:"computer.svg",cat:"ui"},{id:"copy",fn:"copy.svg",cat:"ui"},{id:"crane",fn:"crane.svg",cat:"services"},{id:"cross-circle-big",fn:"cross-circle-big.svg",cat:"ui"},{id:"cross-circle-fill",fn:"cross-circle-fill.svg",cat:"ui"},{id:"cross-circle",fn:"cross-circle.svg",cat:"ui"},{id:"cross",fn:"cross.svg",cat:"ui"},{id:"data",fn:"data.svg",cat:"ui"},{id:"defibrillators",fn:"defibrillators.svg",cat:"sign"},{id:"district",fn:"district.svg",cat:"ui"},{id:"document-code",fn:"document-code.svg",cat:"ui"},{id:"document-pdf",fn:"document-pdf.svg",cat:"ui"},{id:"document-plain",fn:"document-plain.svg",cat:"ui"},{id:"document-table",fn:"document-table.svg",cat:"ui"},{id:"document-text",fn:"document-text.svg",cat:"ui"},{id:"download",fn:"download.svg",cat:"ui"},{id:"drag",fn:"drag.svg",cat:"ui"},{id:"drinking-area-refreshments",fn:"drinking-area-refreshments.svg",cat:"sign"},{id:"ecg-heart",fn:"ecg-heart.svg",cat:"people-and-health"},{id:"edit",fn:"edit.svg",cat:"ui"},{id:"email",fn:"email.svg",cat:"ui"},{id:"exclamation-mark-circle",fn:"exclamation-mark-circle.svg",cat:"ui"},{id:"exclamation-mark-square",fn:"exclamation-mark-square.svg",cat:"ui"},{id:"exit",fn:"exit.svg",cat:"ui"},{id:"expand",fn:"expand.svg",cat:"ui"},{id:"eye",fn:"eye.svg",cat:"ui"},{id:"face-almost-happy",fn:"face-almost-happy.svg",cat:"feedback"},{id:"face-almost-sad",fn:"face-almost-sad.svg",cat:"feedback"},{id:"face-happy",fn:"face-happy.svg",cat:"feedback"},{id:"face-neutral",fn:"face-neutral.svg",cat:"feedback"},{id:"face-sad",fn:"face-sad.svg",cat:"feedback"},{id:"facebook",fn:"facebook.svg",cat:"social"},{id:"factory-fill",fn:"factory-fill.svg",cat:"ui"},{id:"feedback",fn:"feedback.svg",cat:"ui"},{id:"figma",fn:"figma.svg",cat:"social"},{id:"filter",fn:"filter.svg",cat:"ui"},{id:"fire-emblem",fn:"fire-emblem.svg",cat:"services"},{id:"fire-safety",fn:"fire-safety.svg",cat:"people-and-health"},{id:"folder",fn:"folder.svg",cat:"ui"},{id:"github",fn:"github.svg",cat:"social"},{id:"wardrobe-girls",fn:"wardrobe-girls.svg",cat:"sign"},{id:"graph",fn:"graph.svg",cat:"ui"},{id:"grid",fn:"grid.svg",cat:"ui"},{id:"wheelchair",fn:"wheelchair.svg",cat:"sign"},{id:"hands-globe",fn:"hands-globe.svg",cat:"people-and-health"},{id:"heart-hand",fn:"heart-hand.svg",cat:"people-and-health"},{id:"heart-plus",fn:"heart-plus.svg",cat:"services"},{id:"heart",fn:"heart.svg",cat:"ui"},{id:"holding-hands",fn:"holding-hands.svg",cat:"people-and-health"},{id:"home",fn:"home.svg",cat:"ui"},{id:"horizontal-menu",fn:"horizontal-menu.svg",cat:"ui"},{id:"house-heart",fn:"house-heart.svg",cat:"services"},{id:"information",fn:"information.svg",cat:"ui"},{id:"instagram",fn:"instagram.svg",cat:"social"},{id:"invoice",fn:"invoice.svg",cat:"ui"},{id:"key",fn:"key.svg",cat:"ui"},{id:"language",fn:"language.svg",cat:"ui"},{id:"law-paragraph",fn:"law-paragraph.svg",cat:"ui"},{id:"lecture-workplace",fn:"lecture-workplace.svg",cat:"people-and-health"},{id:"link",fn:"link.svg",cat:"ui"},{id:"linkedin",fn:"linkedin.svg",cat:"social"},{id:"list",fn:"list.svg",cat:"ui"},{id:"location-pin-filled",fn:"location-pin-filled.svg",cat:"ui"},{id:"location-pin",fn:"location-pin.svg",cat:"ui"},{id:"lock-locked",fn:"lock-locked.svg",cat:"ui"},{id:"lock-unlocked",fn:"lock-unlocked.svg",cat:"ui"},{id:"magnifying-glass-big",fn:"magnifying-glass-big.svg",cat:"ui"},{id:"magnifying-glass-small",fn:"magnifying-glass-small.svg",cat:"ui"},{id:"map",fn:"map.svg",cat:"ui"},{id:"menu",fn:"menu.svg",cat:"ui"},{id:"message",fn:"message.svg",cat:"ui"},{id:"minimize",fn:"minimize.svg",cat:"ui"},{id:"minus-circle-fill",fn:"minus-circle-fill.svg",cat:"plusminus"},{id:"minus-circle",fn:"minus-circle.svg",cat:"plusminus"},{id:"minus-sign",fn:"minus-sign.svg",cat:"plusminus"},{id:"mobile-phone",fn:"mobile-phone.svg",cat:"ui"},{id:"new-window-small",fn:"new-window-small.svg",cat:"ui"},{id:"new-window",fn:"new-window.svg",cat:"ui"},{id:"nodejs",fn:"nodejs.svg",cat:"social"},{id:"obstacle",fn:"obstacle.svg",cat:"ui"},{id:"organization",fn:"organization.svg",cat:"ui"},{id:"paint-bucket",fn:"paint-bucket.svg",cat:"ui"},{id:"park",fn:"park.svg",cat:"services"},{id:"partner-workout",fn:"partner-workout.svg",cat:"people-and-health"},{id:"picture",fn:"picture.svg",cat:"ui"},{id:"placeholder-icon",fn:"placeholder-icon.svg",cat:"ui"},{id:"plus-circle-fill",fn:"plus-circle-fill.svg",cat:"plusminus"},{id:"plus-circle",fn:"plus-circle.svg",cat:"plusminus"},{id:"plus-sign",fn:"plus-sign.svg",cat:"plusminus"},{id:"pride-heart",fn:"pride-heart.svg",cat:"people-and-health"},{id:"print",fn:"print.svg",cat:"ui"},{id:"punkt-circle-blue",fn:"punkt-circle-blue.svg",cat:"social"},{id:"qr-code",fn:"qr-code.svg",cat:"ui"},{id:"question",fn:"question.svg",cat:"ui"},{id:"react",fn:"react.svg",cat:"social"},{id:"receipt",fn:"receipt.svg",cat:"ui"},{id:"recycling",fn:"recycling.svg",cat:"services"},{id:"restaurant",fn:"restaurant.svg",cat:"sign"},{id:"ruler",fn:"ruler.svg",cat:"ui"},{id:"sass",fn:"sass.svg",cat:"social"},{id:"save",fn:"save.svg",cat:"ui"},{id:"share-outline",fn:"share-outline.svg",cat:"ui"},{id:"share",fn:"share.svg",cat:"ui"},{id:"slack",fn:"slack.svg",cat:"social"},{id:"smiley-neutral",fn:"smiley-neutral.svg",cat:"feedback"},{id:"smiley-sad",fn:"smiley-sad.svg",cat:"feedback"},{id:"smiley-smile",fn:"smiley-smile.svg",cat:"feedback"},{id:"sort",fn:"sort.svg",cat:"ui"},{id:"sound-off",fn:"sound-off.svg",cat:"ui"},{id:"sound-on",fn:"sound-on.svg",cat:"ui"},{id:"svg-logo",fn:"svg.svg",cat:"social"},{id:"swingset",fn:"swingset.svg",cat:"services"},{id:"table",fn:"table.svg",cat:"ui"},{id:"target",fn:"target.svg",cat:"ui"},{id:"tickets",fn:"tickets.svg",cat:"sign"},{id:"thumbs-down",fn:"thumbs-down.svg",cat:"feedback"},{id:"thumbs-up",fn:"thumbs-up.svg",cat:"feedback"},{id:"trash-can",fn:"trash-can.svg",cat:"ui"},{id:"trail",fn:"trail.svg",cat:"sign"},{id:"twitter",fn:"twitter.svg",cat:"social"},{id:"two-people-dancing",fn:"two-people-dancing.svg",cat:"people-and-health"},{id:"two-people-talking",fn:"two-people-talking.svg",cat:"people-and-health"},{id:"user",fn:"user.svg",cat:"ui"},{id:"vertical-menu",fn:"vertical-menu.svg",cat:"ui"},{id:"vue",fn:"vue.svg",cat:"social"},{id:"wardrobe",fn:"wardrobe.svg",cat:"sign"},{id:"water-faucet",fn:"water-faucet.svg",cat:"services"},{id:"wine-bottle",fn:"wine-bottle.svg",cat:"people-and-health"},{id:"wifi",fn:"wifi.svg",cat:"sign"},{id:"workplace",fn:"workplace.svg",cat:"social"}],Ir=({className:e,compact:t=!1,skin:r="basic",responsiveView:i=!0,children:o})=>h.jsx("table",{"data-testid":"pkt-table",className:$e(e,"pkt-table",{"pkt-table--responsive":i,"pkt-table--compact":t,"pkt-table--basic":r==="basic","pkt-table--zebra-blue":r==="zebra-blue"}),role:"table",children:o}),Rr=({className:e,children:t})=>h.jsx("thead",{className:$e(e,"pkt-table__header",{}),role:"rowgroup",children:t}),Mr=({children:e,className:t})=>h.jsx("tbody",{className:$e(t,"pkt-table__body",{}),role:"rowgroup",children:e}),rn=({className:e,children:t})=>h.jsx("tr",{className:$e(e,"pkt-table__row",{}),role:"row",children:t}),Nt=({className:e,children:t})=>h.jsx("th",{className:$e(e,"pkt-table__header-cell",{}),role:"columnheader",children:t}),pt=({children:e,className:t,dataLabel:r})=>h.jsx("td",{className:$e(t,"pkt-table__data-cell",{}),"data-label":r,role:"cell","data-testid":"pkt-table__data-cell",children:e}),A2=({specs:e})=>{const t=i=>Array.isArray(i)?i.join(`
138
+ */var r=function(i){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,u=0,p={},c={manual:i.Prism&&i.Prism.manual,disableWorkerMessageHandler:i.Prism&&i.Prism.disableWorkerMessageHandler,util:{encode:function F(k){return k instanceof f?new f(k.type,F(k.content),k.alias):Array.isArray(k)?k.map(F):k.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(F){return Object.prototype.toString.call(F).slice(8,-1)},objId:function(F){return F.__id||Object.defineProperty(F,"__id",{value:++u}),F.__id},clone:function F(k,E){E=E||{};var S,T;switch(c.util.type(k)){case"Object":if(T=c.util.objId(k),E[T])return E[T];S={},E[T]=S;for(var L in k)k.hasOwnProperty(L)&&(S[L]=F(k[L],E));return S;case"Array":return T=c.util.objId(k),E[T]?E[T]:(S=[],E[T]=S,k.forEach(function($,j){S[j]=F($,E)}),S);default:return k}},getLanguage:function(F){for(;F;){var k=o.exec(F.className);if(k)return k[1].toLowerCase();F=F.parentElement}return"none"},setLanguage:function(F,k){F.className=F.className.replace(RegExp(o,"gi"),""),F.classList.add("language-"+k)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var F=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(F){var k=document.getElementsByTagName("script");for(var E in k)if(k[E].src==F)return k[E]}return null}},isActive:function(F,k,E){for(var S="no-"+k;F;){var T=F.classList;if(T.contains(k))return!0;if(T.contains(S))return!1;F=F.parentElement}return!!E}},languages:{plain:p,plaintext:p,text:p,txt:p,extend:function(F,k){var E=c.util.clone(c.languages[F]);for(var S in k)E[S]=k[S];return E},insertBefore:function(F,k,E,S){S=S||c.languages;var T=S[F],L={};for(var $ in T)if(T.hasOwnProperty($)){if($==k)for(var j in E)E.hasOwnProperty(j)&&(L[j]=E[j]);E.hasOwnProperty($)||(L[$]=T[$])}var U=S[F];return S[F]=L,c.languages.DFS(c.languages,function(Y,V){V===U&&Y!=F&&(this[Y]=L)}),L},DFS:function F(k,E,S,T){T=T||{};var L=c.util.objId;for(var $ in k)if(k.hasOwnProperty($)){E.call(k,$,k[$],S||$);var j=k[$],U=c.util.type(j);U==="Object"&&!T[L(j)]?(T[L(j)]=!0,F(j,E,null,T)):U==="Array"&&!T[L(j)]&&(T[L(j)]=!0,F(j,E,$,T))}}},plugins:{},highlightAll:function(F,k){c.highlightAllUnder(document,F,k)},highlightAllUnder:function(F,k,E){var S={callback:E,container:F,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),c.hooks.run("before-all-elements-highlight",S);for(var T=0,L;L=S.elements[T++];)c.highlightElement(L,k===!0,S.callback)},highlightElement:function(F,k,E){var S=c.util.getLanguage(F),T=c.languages[S];c.util.setLanguage(F,S);var L=F.parentElement;L&&L.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(L,S);var $=F.textContent,j={element:F,language:S,grammar:T,code:$};function U(V){j.highlightedCode=V,c.hooks.run("before-insert",j),j.element.innerHTML=j.highlightedCode,c.hooks.run("after-highlight",j),c.hooks.run("complete",j),E&&E.call(j.element)}if(c.hooks.run("before-sanity-check",j),L=j.element.parentElement,L&&L.nodeName.toLowerCase()==="pre"&&!L.hasAttribute("tabindex")&&L.setAttribute("tabindex","0"),!j.code){c.hooks.run("complete",j),E&&E.call(j.element);return}if(c.hooks.run("before-highlight",j),!j.grammar){U(c.util.encode(j.code));return}if(k&&i.Worker){var Y=new Worker(c.filename);Y.onmessage=function(V){U(V.data)},Y.postMessage(JSON.stringify({language:j.language,code:j.code,immediateClose:!0}))}else U(c.highlight(j.code,j.grammar,j.language))},highlight:function(F,k,E){var S={code:F,grammar:k,language:E};if(c.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=c.tokenize(S.code,S.grammar),c.hooks.run("after-tokenize",S),f.stringify(c.util.encode(S.tokens),S.language)},tokenize:function(F,k){var E=k.rest;if(E){for(var S in E)k[S]=E[S];delete k.rest}var T=new y;return v(T,T.head,F),g(F,T,k,T.head,0),x(T)},hooks:{all:{},add:function(F,k){var E=c.hooks.all;E[F]=E[F]||[],E[F].push(k)},run:function(F,k){var E=c.hooks.all[F];if(!(!E||!E.length))for(var S=0,T;T=E[S++];)T(k)}},Token:f};i.Prism=c;function f(F,k,E,S){this.type=F,this.content=k,this.alias=E,this.length=(S||"").length|0}f.stringify=function F(k,E){if(typeof k=="string")return k;if(Array.isArray(k)){var S="";return k.forEach(function(U){S+=F(U,E)}),S}var T={type:k.type,content:F(k.content,E),tag:"span",classes:["token",k.type],attributes:{},language:E},L=k.alias;L&&(Array.isArray(L)?Array.prototype.push.apply(T.classes,L):T.classes.push(L)),c.hooks.run("wrap",T);var $="";for(var j in T.attributes)$+=" "+j+'="'+(T.attributes[j]||"").replace(/"/g,"&quot;")+'"';return"<"+T.tag+' class="'+T.classes.join(" ")+'"'+$+">"+T.content+"</"+T.tag+">"};function m(F,k,E,S){F.lastIndex=k;var T=F.exec(E);if(T&&S&&T[1]){var L=T[1].length;T.index+=L,T[0]=T[0].slice(L)}return T}function g(F,k,E,S,T,L){for(var $ in E)if(!(!E.hasOwnProperty($)||!E[$])){var j=E[$];j=Array.isArray(j)?j:[j];for(var U=0;U<j.length;++U){if(L&&L.cause==$+","+U)return;var Y=j[U],V=Y.inside,O=!!Y.lookbehind,P=!!Y.greedy,q=Y.alias;if(P&&!Y.pattern.global){var J=Y.pattern.toString().match(/[imsuy]*$/)[0];Y.pattern=RegExp(Y.pattern.source,J+"g")}for(var pe=Y.pattern||Y,X=S.next,se=T;X!==k.tail&&!(L&&se>=L.reach);se+=X.value.length,X=X.next){var de=X.value;if(k.length>F.length)return;if(!(de instanceof f)){var ne=1,me;if(P){if(me=m(pe,se,F,O),!me||me.index>=F.length)break;var Ae=me.index,ze=me.index+me[0].length,xe=se;for(xe+=X.value.length;Ae>=xe;)X=X.next,xe+=X.value.length;if(xe-=X.value.length,se=xe,X.value instanceof f)continue;for(var ke=X;ke!==k.tail&&(xe<ze||typeof ke.value=="string");ke=ke.next)ne++,xe+=ke.value.length;ne--,de=F.slice(se,xe),me.index-=se}else if(me=m(pe,0,de,O),!me)continue;var Ae=me.index,le=me[0],Ze=de.slice(0,Ae),bt=de.slice(Ae+le.length),nt=se+de.length;L&&nt>L.reach&&(L.reach=nt);var rt=X.prev;Ze&&(rt=v(k,rt,Ze),se+=Ze.length),w(k,rt,ne);var qt=new f($,V?c.tokenize(le,V):le,q,le);if(X=v(k,rt,qt),bt&&v(k,X,bt),ne>1){var at={cause:$+","+U,reach:nt};g(F,k,E,X.prev,se,at),L&&at.reach>L.reach&&(L.reach=at.reach)}}}}}}function y(){var F={value:null,prev:null,next:null},k={value:null,prev:F,next:null};F.next=k,this.head=F,this.tail=k,this.length=0}function v(F,k,E){var S=k.next,T={value:E,prev:k,next:S};return k.next=T,S.prev=T,F.length++,T}function w(F,k,E){for(var S=k.next,T=0;T<E&&S!==F.tail;T++)S=S.next;k.next=S,S.prev=k,F.length-=T}function x(F){for(var k=[],E=F.head.next;E!==F.tail;)k.push(E.value),E=E.next;return k}if(!i.document)return i.addEventListener&&(c.disableWorkerMessageHandler||i.addEventListener("message",function(F){var k=JSON.parse(F.data),E=k.language,S=k.code,T=k.immediateClose;i.postMessage(c.highlight(S,c.languages[E],E)),T&&i.close()},!1)),c;var A=c.util.currentScript();A&&(c.filename=A.src,A.hasAttribute("data-manual")&&(c.manual=!0));function C(){c.manual||c.highlightAll()}if(!c.manual){var B=document.readyState;B==="loading"||B==="interactive"&&A&&A.defer?document.addEventListener("DOMContentLoaded",C):window.requestAnimationFrame?window.requestAnimationFrame(C):window.setTimeout(C,16)}return c}(t);e.exports&&(e.exports=r),typeof Pt<"u"&&(Pt.Prism=r)})(Gu);var a2=Gu.exports,i2=Di;Di.displayName="markup",Di.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function Di(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(r,i){var o={};o["language-"+i]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[i]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var u={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};u["language-"+i]={pattern:/[\s\S]+/,inside:e.languages[i]};var p={};p[r]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:u},e.languages.insertBefore("markup","cdata",p)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,r){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:e.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}var s2=vi;vi.displayName="css",vi.aliases=[];function vi(e){(function(t){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var i=t.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(e)}var o2=yi;yi.displayName="clike",yi.aliases=[];function yi(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var u2=bi;bi.displayName="javascript",bi.aliases=["js"];function bi(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}var Vn=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Pt=="object"?Pt:{},l2=F2();Vn.Prism={manual:!0,disableWorkerMessageHandler:!0};var c2=wg,p2=qg,Yu=a2,d2=i2,f2=s2,h2=o2,m2=u2;l2();var Ci={}.hasOwnProperty;function Ku(){}Ku.prototype=Yu;var Te=new Ku,g2=Te;Te.highlight=v2,Te.register=Gn,Te.alias=D2,Te.registered=y2,Te.listLanguages=b2,Gn(d2),Gn(f2),Gn(h2),Gn(m2),Te.util.encode=w2,Te.Token.stringify=C2;function Gn(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");Te.languages[e.displayName]===void 0&&e(Te)}function D2(e,t){var r=Te.languages,i=e,o,u,p,c;t&&(i={},i[e]=t);for(o in i)for(u=i[o],u=typeof u=="string"?[u]:u,p=u.length,c=-1;++c<p;)r[u[c]]=r[o]}function v2(e,t){var r=Yu.highlight,i;if(typeof e!="string")throw new Error("Expected `string` for `value`, got `"+e+"`");if(Te.util.type(t)==="Object")i=t,t=null;else{if(typeof t!="string")throw new Error("Expected `string` for `name`, got `"+t+"`");if(Ci.call(Te.languages,t))i=Te.languages[t];else throw new Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,i,t)}function y2(e){if(typeof e!="string")throw new Error("Expected `string` for `language`, got `"+e+"`");return Ci.call(Te.languages,e)}function b2(){var e=Te.languages,t=[],r;for(r in e)Ci.call(e,r)&&typeof e[r]=="object"&&t.push(r);return t}function C2(e,t,r){var i;return typeof e=="string"?{type:"text",value:e}:Te.util.type(e)==="Array"?k2(e,t):(i={type:e.type,content:Te.Token.stringify(e.content,t,r),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:r},e.alias&&(i.classes=i.classes.concat(e.alias)),Te.hooks.run("wrap",i),c2(i.tag+"."+i.classes.join("."),_2(i.attributes),i.content))}function k2(e,t){for(var r=[],i=e.length,o=-1,u;++o<i;)u=e[o],u!==""&&u!==null&&u!==void 0&&r.push(u);for(o=-1,i=r.length;++o<i;)u=r[o],r[o]=Te.Token.stringify(u,t,r);return r}function w2(e){return e}function _2(e){var t;for(t in e)e[t]=p2(e[t]);return e}function F2(){var e="Prism"in Vn,t=e?Vn.Prism:void 0;return r;function r(){e?Vn.Prism=t:delete Vn.Prism,e=void 0,t=void 0}}const ki=hr(g2);var Yn=im(ki,{});Yn.registerLanguage=function(e,t){return ki.register(t)},Yn.alias=function(e,t){return ki.alias(e,t)};const Ju={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var E2=wi;wi.displayName="jsx",wi.aliases=[];function wi(e){(function(t){var r=t.util.clone(t.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,u=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function p(m,g){return m=m.replace(/<S>/g,function(){return i}).replace(/<BRACES>/g,function(){return o}).replace(/<SPREAD>/g,function(){return u}),RegExp(m,g)}u=p(u).source,t.languages.jsx=t.languages.extend("markup",r),t.languages.jsx.tag.pattern=p(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=r.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:p(/<SPREAD>/.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:p(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var c=function(m){return m?typeof m=="string"?m:typeof m.content=="string"?m.content:m.content.map(c).join(""):""},f=function(m){for(var g=[],y=0;y<m.length;y++){var v=m[y],w=!1;if(typeof v!="string"&&(v.type==="tag"&&v.content[0]&&v.content[0].type==="tag"?v.content[0].content[0].content==="</"?g.length>0&&g[g.length-1].tagName===c(v.content[0].content[1])&&g.pop():v.content[v.content.length-1].content==="/>"||g.push({tagName:c(v.content[0].content[1]),openedBraces:0}):g.length>0&&v.type==="punctuation"&&v.content==="{"?g[g.length-1].openedBraces++:g.length>0&&g[g.length-1].openedBraces>0&&v.type==="punctuation"&&v.content==="}"?g[g.length-1].openedBraces--:w=!0),(w||typeof v=="string")&&g.length>0&&g[g.length-1].openedBraces===0){var x=c(v);y<m.length-1&&(typeof m[y+1]=="string"||m[y+1].type==="plain-text")&&(x+=c(m[y+1]),m.splice(y+1,1)),y>0&&(typeof m[y-1]=="string"||m[y-1].type==="plain-text")&&(x=c(m[y-1])+x,m.splice(y-1,1),y--),m[y]=new t.Token("plain-text",x,null,x)}v.content&&typeof v.content!="string"&&f(v.content)}};t.hooks.add("after-tokenize",function(m){m.language!=="jsx"&&m.language!=="tsx"||f(m.tokens)})})(e)}const x2=hr(E2),_i=R.forwardRef(({ariaDescribedby:e,ariaLabelledby:t,children:r,className:i,disabled:o=!1,errorMessage:u,hasError:p,helptext:c,helptextDropdown:f,helptextDropdownButton:m,id:g,inline:y=!1,fullwidth:v=!1,label:w,name:x,optionalTag:A=!1,optionalText:C,requiredTag:B=!1,requiredText:F,...k},E)=>{const S=[i,"pkt-select"].join(" ");return h.jsx(cn,{className:S,forId:g,label:w,helptext:c,helptextDropdown:f,helptextDropdownButton:m,optionalTag:A,optionalText:C,requiredTag:B,requiredText:F,hasError:p,errorMessage:u,disabled:o,inline:y,ariaDescribedby:e,children:h.jsx("select",{ref:E,className:`pkt-input ${v?"pkt-input--fullwidth":""}`,"aria-invalid":p,"aria-errormessage":`${g}-error`,"aria-labelledby":t||`${g}-label`,disabled:o,id:g,name:x||g,...k,children:r})})}),kn=R.forwardRef(({children:e,className:t,skin:r="blue",textStyle:i="normal-text",size:o="medium",closeTag:u=!1,iconName:p="",type:c="button",ariaLabel:f="close",onClick:m=()=>{}},g)=>{const[y,v]=R.useState(!1),w=B=>{v(!0),m(B)},x=["pkt-tag",o&&`pkt-tag--${o}`,r&&`pkt-tag--${r}`,i&&`pkt-tag--${i}`,t].filter(Boolean).join(" "),A=["pkt-tag","pkt-btn","pkt-btn--tertiary",o&&`pkt-tag--${o}`,r&&`pkt-tag--${r}`,i&&`pkt-tag--${i}`,p&&u?"pkt-btn--icons-right-and-left":null,u&&!p?"pkt-btn--icon-right":null,t].filter(Boolean).join(" "),C=!y;return u&&p?h.jsx(h.Fragment,{children:C&&h.jsxs("button",{className:A,type:c,"aria-label":f,onClick:w,ref:g,children:[h.jsx(ee,{className:"pkt-tag__icon",name:p}),e,h.jsx(ee,{className:"pkt-tag__close-btn",name:"close"})]})}):u?h.jsx(h.Fragment,{children:C&&h.jsxs("button",{className:A,type:c,"aria-label":f,onClick:w,ref:g,children:[h.jsx(ee,{className:"pkt-tag__close-btn",name:"close"}),e]})}):p?h.jsxs("span",{className:x,children:[h.jsx(ee,{className:"pkt-tag__icon",name:p}),e]}):h.jsx("span",{className:x,children:e})});kn.displayName="PktTag";const Xu=R.forwardRef(({arrowNav:e=!0,tabs:t,onTabSelected:r},i)=>{const o=R.useRef([]);R.useEffect(()=>{o.current=o.current.slice(0,t.length)},[t]);const u=(c,f)=>{f.action&&f.action(c),r&&r(c)},p=(c,f)=>{var m,g;e&&(f.code==="ArrowLeft"&&c!==0&&((m=o.current[c-1])==null||m.focus()),f.code==="ArrowRight"&&c<t.length-1&&((g=o.current[c+1])==null||g.focus()),(f.code==="ArrowDown"||f.code==="Space")&&u(c,t[c]))};return h.jsx("div",{className:"pkt-tabs",ref:i,children:h.jsx("div",{className:"pkt-tabs__list",role:e?"tablist":"navigation",children:t.map((c,f)=>h.jsx(R.Fragment,{children:c.href?h.jsxs("a",{"aria-selected":!!c.active,role:e?"tab":void 0,href:c.href,"aria-controls":c.controls,className:`pkt-tabs__link ${c.active?"active":""}`,onKeyUp:m=>p(f,m),onClick:()=>u(f,c),tabIndex:c.active||!e?void 0:-1,ref:m=>{o.current[f]=m},children:[c.icon&&h.jsx(ee,{name:c.icon,className:"pkt-icon--small"}),c.text,c.tag&&h.jsx(kn,{skin:c.tag.skin,size:"small",children:c.tag.text})]}):h.jsxs("button",{"aria-selected":!!c.active,role:e?"tab":void 0,type:"button","aria-controls":c.controls,className:`pkt-tabs__button pkt-link-button ${c.active?"active":""}`,onKeyUp:m=>p(f,m),onClick:()=>u(f,c),tabIndex:c.active||!e?void 0:-1,ref:m=>{o.current[f]=m},children:[c.icon&&h.jsx(ee,{name:c.icon,className:"pkt-icon--small"}),c.text,c.tag&&h.jsx(kn,{skin:c.tag.skin,size:"small",children:c.tag.text})]},"b-"+f)},f))})})}),Fi=R.forwardRef(({id:e,ariaDescribedby:t,ariaLabelledby:r,autocomplete:i="off",counter:o,counterMaxLength:u,className:p,disabled:c=!1,errorMessage:f,hasError:m=!1,helptext:g,helptextDropdown:y,helptextDropdownButton:v,iconNameRight:w,inline:x=!1,fullwidth:A=!1,label:C,name:B,optionalTag:F=!1,optionalText:k,requiredTag:E=!1,requiredText:S,placeholder:T,prefix:L,suffix:$,type:j="text",useWrapper:U=!0,omitSearchIcon:Y=!1,value:V,onChange:O,...P},q)=>{const J=[p,"pkt-textinput"].join(" "),pe=r||`${e}-label`,X=j==="search"&&!w&&!Y;R.useRef(null);const[se,de]=R.useState(0),ne=me=>{var ze,xe;if(o&&de(((xe=(ze=me.currentTarget)==null?void 0:ze.value)==null?void 0:xe.length)||0),O)return O(me)};return h.jsx(cn,{ariaDescribedby:t,className:J,disabled:c,errorMessage:f,forId:e,hasError:m,helptext:g,helptextDropdown:y,helptextDropdownButton:v,inline:x,label:C,optionalTag:F,optionalText:k,requiredTag:E,requiredText:S,useWrapper:U,counter:o,counterCurrent:se,counterMaxLength:u,children:h.jsxs("div",{className:"pkt-input__container",children:[L&&h.jsx("div",{className:"pkt-input-prefix",children:L}),h.jsx("input",{ref:q,className:`pkt-input ${A?"pkt-input--fullwidth":""} ${u&&se>u?"pkt-input--counter-error":""}`,type:j,name:B||e,id:e,placeholder:T,autoComplete:i,value:V,disabled:c,"aria-invalid":m,"aria-errormessage":`${e}-error`,"aria-labelledby":pe,...P,onChange:ne}),$&&h.jsxs("p",{className:"pkt-input-suffix",children:[$,w&&h.jsx(ee,{className:"pkt-input-suffix-icon",name:w}),X&&h.jsx(ee,{className:"pkt-input-suffix-icon",name:"magnifying-glass-big"})]}),!$&&w&&h.jsx(ee,{className:"pkt-input-icon",name:w}),!$&&X&&h.jsx(ee,{className:"pkt-input-icon",name:"magnifying-glass-big"})]})})}),S2=[{id:"24h",fn:"24h.svg",cat:"services"},{id:"active-person",fn:"active-person.svg",cat:"people-and-health"},{id:"adjust",fn:"adjust.svg",cat:"ui"},{id:"alert-circle",fn:"alert-circle.svg",cat:"ui"},{id:"alert-error",fn:"alert-error.svg",cat:"ui"},{id:"alert-information",fn:"alert-information.svg",cat:"ui"},{id:"alert-success",fn:"alert-success.svg",cat:"ui"},{id:"alert-warning",fn:"alert-warning.svg",cat:"ui"},{id:"apple",fn:"apple.svg",cat:"ui"},{id:"archive",fn:"archive.svg",cat:"ui"},{id:"arrow-circle",fn:"arrow-circle.svg",cat:"ui"},{id:"arrow",fn:"arrow.svg",cat:"arrows"},{id:"attachment",fn:"attachment.svg",cat:"ui"},{id:"backpack",fn:"backpack.svg",cat:"services"},{id:"balloons",fn:"balloons.svg",cat:"ui"},{id:"books",fn:"books.svg",cat:"services"},{id:"wardrobe-boys",fn:"wardrobe-boys.svg",cat:"sign"},{id:"brain-heart",fn:"brain-heart.svg",cat:"people-and-health"},{id:"brain-signal",fn:"brain-signal.svg",cat:"people-and-health"},{id:"briefcase",fn:"briefcase.svg",cat:"sign"},{id:"bullseye",fn:"bullseye.svg",cat:"ui"},{id:"bus",fn:"bus.svg",cat:"services"},{id:"cafe",fn:"cafe.svg",cat:"sign"},{id:"calendar",fn:"calendar.svg",cat:"ui"},{id:"camera",fn:"camera.svg",cat:"ui"},{id:"car",fn:"car.svg",cat:"sign"},{id:"character-exclamation-mark",fn:"character-exclamation-mark.svg",cat:"ui"},{id:"character-information",fn:"character-information.svg",cat:"ui"},{id:"care-room",fn:"care-room.svg",cat:"sign"},{id:"check-big",fn:"check-big.svg",cat:"ui"},{id:"check-circle",fn:"check-circle.svg",cat:"ui"},{id:"check-medium",fn:"check-medium.svg",cat:"ui"},{id:"check",fn:"check.svg",cat:"ui"},{id:"chevron-down",fn:"chevron-down.svg",cat:"arrows"},{id:"chevron-left",fn:"chevron-left.svg",cat:"arrows"},{id:"chevron-right",fn:"chevron-right.svg",cat:"arrows"},{id:"chevron-thin-down",fn:"chevron-thin-down.svg",cat:"arrows"},{id:"chevron-thin-left",fn:"chevron-thin-left.svg",cat:"arrows"},{id:"chevron-thin-right",fn:"chevron-thin-right.svg",cat:"arrows"},{id:"chevron-thin-up",fn:"chevron-thin-up.svg",cat:"arrows"},{id:"chevron-up-and-down",fn:"chevron-up-and-down.svg",cat:"ui"},{id:"chevron-up",fn:"chevron-up.svg",cat:"arrows"},{id:"clock",fn:"clock.svg",cat:"ui"},{id:"close",fn:"close.svg",cat:"ui"},{id:"cloud",fn:"cloud.svg",cat:"ui"},{id:"code",fn:"code.svg",cat:"ui"},{id:"coffee",fn:"coffee.svg",cat:"sign"},{id:"cogwheel",fn:"cogwheel.svg",cat:"ui"},{id:"coin-stacks",fn:"coin-stacks.svg",cat:"services"},{id:"computer",fn:"computer.svg",cat:"ui"},{id:"copy",fn:"copy.svg",cat:"ui"},{id:"crane",fn:"crane.svg",cat:"services"},{id:"cross-circle-big",fn:"cross-circle-big.svg",cat:"ui"},{id:"cross-circle-fill",fn:"cross-circle-fill.svg",cat:"ui"},{id:"cross-circle",fn:"cross-circle.svg",cat:"ui"},{id:"cross",fn:"cross.svg",cat:"ui"},{id:"data",fn:"data.svg",cat:"ui"},{id:"defibrillators",fn:"defibrillators.svg",cat:"sign"},{id:"district",fn:"district.svg",cat:"ui"},{id:"document-code",fn:"document-code.svg",cat:"ui"},{id:"document-pdf",fn:"document-pdf.svg",cat:"ui"},{id:"document-plain",fn:"document-plain.svg",cat:"ui"},{id:"document-table",fn:"document-table.svg",cat:"ui"},{id:"document-text",fn:"document-text.svg",cat:"ui"},{id:"download",fn:"download.svg",cat:"ui"},{id:"drag",fn:"drag.svg",cat:"ui"},{id:"drinking-area-refreshments",fn:"drinking-area-refreshments.svg",cat:"sign"},{id:"ecg-heart",fn:"ecg-heart.svg",cat:"people-and-health"},{id:"edit",fn:"edit.svg",cat:"ui"},{id:"email",fn:"email.svg",cat:"ui"},{id:"exclamation-mark-circle",fn:"exclamation-mark-circle.svg",cat:"ui"},{id:"exclamation-mark-square",fn:"exclamation-mark-square.svg",cat:"ui"},{id:"exit",fn:"exit.svg",cat:"ui"},{id:"expand",fn:"expand.svg",cat:"ui"},{id:"eye",fn:"eye.svg",cat:"ui"},{id:"face-almost-happy",fn:"face-almost-happy.svg",cat:"feedback"},{id:"face-almost-sad",fn:"face-almost-sad.svg",cat:"feedback"},{id:"face-happy",fn:"face-happy.svg",cat:"feedback"},{id:"face-neutral",fn:"face-neutral.svg",cat:"feedback"},{id:"face-sad",fn:"face-sad.svg",cat:"feedback"},{id:"facebook",fn:"facebook.svg",cat:"social"},{id:"factory-fill",fn:"factory-fill.svg",cat:"ui"},{id:"feedback",fn:"feedback.svg",cat:"ui"},{id:"figma",fn:"figma.svg",cat:"social"},{id:"filter",fn:"filter.svg",cat:"ui"},{id:"fire-emblem",fn:"fire-emblem.svg",cat:"services"},{id:"fire-safety",fn:"fire-safety.svg",cat:"people-and-health"},{id:"folder",fn:"folder.svg",cat:"ui"},{id:"game-console",fn:"game-console.svg",cat:"ui"},{id:"github",fn:"github.svg",cat:"social"},{id:"wardrobe-girls",fn:"wardrobe-girls.svg",cat:"sign"},{id:"graph",fn:"graph.svg",cat:"ui"},{id:"grid",fn:"grid.svg",cat:"ui"},{id:"wheelchair",fn:"wheelchair.svg",cat:"sign"},{id:"hands-globe",fn:"hands-globe.svg",cat:"people-and-health"},{id:"heart-hand",fn:"heart-hand.svg",cat:"people-and-health"},{id:"heart-plus",fn:"heart-plus.svg",cat:"services"},{id:"heart",fn:"heart.svg",cat:"ui"},{id:"holding-hands",fn:"holding-hands.svg",cat:"people-and-health"},{id:"home",fn:"home.svg",cat:"ui"},{id:"horizontal-menu",fn:"horizontal-menu.svg",cat:"ui"},{id:"house-heart",fn:"house-heart.svg",cat:"services"},{id:"information",fn:"information.svg",cat:"ui"},{id:"instagram",fn:"instagram.svg",cat:"social"},{id:"invoice",fn:"invoice.svg",cat:"ui"},{id:"key",fn:"key.svg",cat:"ui"},{id:"language",fn:"language.svg",cat:"ui"},{id:"law-paragraph",fn:"law-paragraph.svg",cat:"ui"},{id:"lecture-workplace",fn:"lecture-workplace.svg",cat:"people-and-health"},{id:"link",fn:"link.svg",cat:"ui"},{id:"linkedin",fn:"linkedin.svg",cat:"social"},{id:"list",fn:"list.svg",cat:"ui"},{id:"location-pin-filled",fn:"location-pin-filled.svg",cat:"ui"},{id:"location-pin",fn:"location-pin.svg",cat:"ui"},{id:"lock-locked",fn:"lock-locked.svg",cat:"ui"},{id:"lock-unlocked",fn:"lock-unlocked.svg",cat:"ui"},{id:"magnifying-glass-big",fn:"magnifying-glass-big.svg",cat:"ui"},{id:"magnifying-glass-small",fn:"magnifying-glass-small.svg",cat:"ui"},{id:"map",fn:"map.svg",cat:"ui"},{id:"menu",fn:"menu.svg",cat:"ui"},{id:"message",fn:"message.svg",cat:"ui"},{id:"minimize",fn:"minimize.svg",cat:"ui"},{id:"minus-circle-fill",fn:"minus-circle-fill.svg",cat:"plusminus"},{id:"minus-circle",fn:"minus-circle.svg",cat:"plusminus"},{id:"minus-sign",fn:"minus-sign.svg",cat:"plusminus"},{id:"mobile-phone",fn:"mobile-phone.svg",cat:"ui"},{id:"music-notes",fn:"music-notes.svg",cat:"ui"},{id:"new-window-small",fn:"new-window-small.svg",cat:"ui"},{id:"new-window",fn:"new-window.svg",cat:"ui"},{id:"nodejs",fn:"nodejs.svg",cat:"social"},{id:"obstacle",fn:"obstacle.svg",cat:"ui"},{id:"organization",fn:"organization.svg",cat:"ui"},{id:"paint-bucket",fn:"paint-bucket.svg",cat:"ui"},{id:"palette",fn:"palette.svg",cat:"ui"},{id:"paste",fn:"paste.svg",cat:"ui"},{id:"park",fn:"park.svg",cat:"services"},{id:"partner-workout",fn:"partner-workout.svg",cat:"people-and-health"},{id:"picture",fn:"picture.svg",cat:"ui"},{id:"placeholder-icon",fn:"placeholder-icon.svg",cat:"ui"},{id:"plus-circle-fill",fn:"plus-circle-fill.svg",cat:"plusminus"},{id:"plus-circle",fn:"plus-circle.svg",cat:"plusminus"},{id:"plus-sign",fn:"plus-sign.svg",cat:"plusminus"},{id:"pride-heart",fn:"pride-heart.svg",cat:"people-and-health"},{id:"print",fn:"print.svg",cat:"ui"},{id:"privacy",fn:"privacy.svg",cat:"ui"},{id:"punkt-circle-blue",fn:"punkt-circle-blue.svg",cat:"social"},{id:"qr-code",fn:"qr-code.svg",cat:"ui"},{id:"question",fn:"question.svg",cat:"ui"},{id:"react",fn:"react.svg",cat:"social"},{id:"receipt",fn:"receipt.svg",cat:"ui"},{id:"recycling",fn:"recycling.svg",cat:"services"},{id:"restaurant",fn:"restaurant.svg",cat:"sign"},{id:"ruler",fn:"ruler.svg",cat:"ui"},{id:"sass",fn:"sass.svg",cat:"social"},{id:"save",fn:"save.svg",cat:"ui"},{id:"share-outline",fn:"share-outline.svg",cat:"ui"},{id:"share",fn:"share.svg",cat:"ui"},{id:"slack",fn:"slack.svg",cat:"social"},{id:"smiley-neutral",fn:"smiley-neutral.svg",cat:"feedback"},{id:"smiley-sad",fn:"smiley-sad.svg",cat:"feedback"},{id:"smiley-smile",fn:"smiley-smile.svg",cat:"feedback"},{id:"sort",fn:"sort.svg",cat:"ui"},{id:"sound-off",fn:"sound-off.svg",cat:"ui"},{id:"sound-on",fn:"sound-on.svg",cat:"ui"},{id:"sparkles",fn:"sparkles.svg",cat:"ui"},{id:"svg-logo",fn:"svg.svg",cat:"social"},{id:"swingset",fn:"swingset.svg",cat:"services"},{id:"table",fn:"table.svg",cat:"ui"},{id:"target",fn:"target.svg",cat:"ui"},{id:"tickets",fn:"tickets.svg",cat:"sign"},{id:"thumbs-down",fn:"thumbs-down.svg",cat:"feedback"},{id:"thumbs-up",fn:"thumbs-up.svg",cat:"feedback"},{id:"trash-can",fn:"trash-can.svg",cat:"ui"},{id:"trail",fn:"trail.svg",cat:"sign"},{id:"twitter",fn:"twitter.svg",cat:"social"},{id:"two-people-dancing",fn:"two-people-dancing.svg",cat:"people-and-health"},{id:"two-people-talking",fn:"two-people-talking.svg",cat:"people-and-health"},{id:"user",fn:"user.svg",cat:"ui"},{id:"vertical-menu",fn:"vertical-menu.svg",cat:"ui"},{id:"vue",fn:"vue.svg",cat:"social"},{id:"wardrobe",fn:"wardrobe.svg",cat:"sign"},{id:"water-faucet",fn:"water-faucet.svg",cat:"services"},{id:"wine-bottle",fn:"wine-bottle.svg",cat:"people-and-health"},{id:"wifi",fn:"wifi.svg",cat:"sign"},{id:"workplace",fn:"workplace.svg",cat:"social"}],Ir=({className:e,compact:t=!1,skin:r="basic",responsiveView:i=!0,children:o})=>h.jsx("table",{"data-testid":"pkt-table",className:$e(e,"pkt-table",{"pkt-table--responsive":i,"pkt-table--compact":t,"pkt-table--basic":r==="basic","pkt-table--zebra-blue":r==="zebra-blue"}),role:"table",children:o}),Rr=({className:e,children:t})=>h.jsx("thead",{className:$e(e,"pkt-table__header",{}),role:"rowgroup",children:t}),Mr=({children:e,className:t})=>h.jsx("tbody",{className:$e(t,"pkt-table__body",{}),role:"rowgroup",children:e}),rn=({className:e,children:t})=>h.jsx("tr",{className:$e(e,"pkt-table__row",{}),role:"row",children:t}),Nt=({className:e,children:t})=>h.jsx("th",{className:$e(e,"pkt-table__header-cell",{}),role:"columnheader",children:t}),pt=({children:e,className:t,dataLabel:r})=>h.jsx("td",{className:$e(t,"pkt-table__data-cell",{}),"data-label":r,role:"cell","data-testid":"pkt-table__data-cell",children:e}),A2=({specs:e})=>{const t=i=>Array.isArray(i)?i.join(`
139
139
  `):i,r=i=>typeof i=="boolean"?i?"true":"false":i;return h.jsxs(h.Fragment,{children:[h.jsx("h2",{children:"Egenskaper"}),h.jsxs(Ir,{compact:!0,children:[h.jsx(Rr,{children:h.jsxs(rn,{children:[h.jsx(Nt,{children:"Prop"}),h.jsx(Nt,{children:"Beskrivelse"}),h.jsx(Nt,{children:"Type"}),h.jsx(Nt,{children:"Standardverdi"})]})}),h.jsx(Mr,{children:Object.entries(e.props||{}).map(([i,o])=>h.jsxs(rn,{children:[h.jsx(pt,{dataLabel:"Prop",children:h.jsx("pre",{children:i})}),Array.isArray(o)?h.jsxs(h.Fragment,{children:[h.jsx(pt,{dataLabel:"Beskrivelse"}),h.jsx(pt,{dataLabel:"Type",children:h.jsx("pre",{children:o.join(`
140
140
  `)})})]}):h.jsxs(h.Fragment,{children:[h.jsx(pt,{dataLabel:"Beskrivelse",children:o.description}),h.jsx(pt,{dataLabel:"Type",children:h.jsx("pre",{children:o.type&&t(o.type)})}),h.jsx(pt,{dataLabel:"Standardverdi",children:h.jsx("pre",{children:r(o.default)})})]})]},i))})]}),e.events&&h.jsxs(h.Fragment,{children:[h.jsx("h2",{children:"Hendelser / handlinger"}),h.jsxs(Ir,{compact:!0,children:[h.jsx(Rr,{children:h.jsxs(rn,{children:[h.jsx(Nt,{children:"Event"}),h.jsx(Nt,{children:"Beskrivelse"})]})}),h.jsx(Mr,{children:Object.entries(e.events||{}).map(([i,o])=>h.jsxs(rn,{children:[h.jsx(pt,{dataLabel:"Event",children:h.jsx("pre",{children:i})}),h.jsx(pt,{dataLabel:"Beskrivelse",children:o.description})]},i))})]})]}),e.slots&&h.jsxs(h.Fragment,{children:[h.jsx("h2",{children:"Innhold"}),h.jsxs(Ir,{compact:!0,children:[h.jsx(Rr,{children:h.jsxs(rn,{children:[h.jsx(Nt,{children:"Slot"}),h.jsx(Nt,{children:"Beskrivelse"})]})}),h.jsx(Mr,{children:Object.entries(e.slots||{}).map(([i,o])=>h.jsxs(rn,{children:[h.jsx(pt,{dataLabel:"Slot",children:h.jsx("pre",{children:i})}),h.jsx(pt,{dataLabel:"Beskrivelse",children:o.description})]},i))})]})]})]})};Yn.registerLanguage("jsx",x2);const Zu=({specs:e,children:t,fullWidth:r})=>{var Y,V;const i=e.props&&typeof e.props=="object"&&!Array.isArray(e.props)?Object.entries(e.props).reduce((O,[P,q])=>(typeof q=="object"&&!Array.isArray(q)&&q.default!==void 0&&(q.default==="false"&&(q.default=!1),q.default==="true"&&(q.default=!0),O[P]=q.default),O),{}):{},[o,u]=R.useState(i),[p,c]=R.useState("light"),[f,m]=R.useState(""),[g,y]=R.useState(""),[v,w]=R.useState(""),[x,A]=R.useState("Rediger innhold"),[C,B]=R.useState([{text:"Rediger",icon:"adjust",active:!0},{text:"Kode (React)",icon:"react",active:!1},{text:"Kode (HTML)",icon:"code",active:!1},{text:"Egenskaper",icon:"list",active:!1}]),F=O=>{O>0&&(O===1?S():E()),w(""),B(P=>P.map((q,J)=>({...q,active:J===O})))},k=R.useRef(null),E=async()=>{const O=await ti(k.current.innerHTML,{parser:"html",plugins:[Ph]});m(O)},S=async()=>{const O=vp($);y(O)},T=(O,P)=>{navigator.clipboard.writeText(P).then(()=>{w(O),console.log("Copied to clipboard",O)})},L=(O,P)=>h.jsxs("div",{className:"pkt-preview__copy",children:[v===O&&h.jsx("span",{className:"pkt-preview__copied",children:"Kode kopiert til utklippstavle"}),h.jsx(Vt,{skin:"tertiary",variant:"icon-only",size:"small",iconName:"copy",onClick:()=>T(O,P),children:"Kopier kode"})]}),$=R.isValidElement(t)&&R.cloneElement(t,{...o},t.props.children?t.props.children:(Y=e.slots)!=null&&Y.default?x:null),j=(O,P,q=!1)=>{if(!q&&(!P||P=="false")){const{[O]:J,...pe}=o;u(pe)}else u(J=>({...J,[O]:P}))},U=(O,P)=>{if(P.type==="boolean")return h.jsx(cn,{label:P.name||O,forId:O,helptext:P.description||null,hasFieldset:!0,requiredTag:P.required,children:h.jsx(mr,{id:O,label:O,type:"checkbox",checked:o[O],onChange:q=>j(O,q.target.checked,P.displayAsFalse),labelPosition:"right",isSwitch:!0})});if(P.type==="icon")return h.jsxs(_i,{label:P.name||O,helptext:P.description||null,id:O,value:o[O],onChange:q=>j(O,q.target.value),requiredTag:P.required,children:[h.jsx("option",{value:""}),S2.map(q=>h.jsx("option",{value:q.id,children:q.id},q.id))]});if(Array.isArray(P)||Array.isArray(P.type)||Array.isArray(P.values)){const q=Array.isArray(P)?P:P.values||P.type;return h.jsxs(_i,{label:P.name||O,helptext:P.description||null,id:O,value:o[O],onChange:J=>j(O,J.target.value),requiredTag:P.required,children:[h.jsx("option",{value:""}),q.map(J=>h.jsx("option",{value:J,children:J},J))]})}else return h.jsx(Fi,{id:O,label:P.name||O,helptext:P.description||null,type:"text",value:o[O],onChange:q=>j(O,P.type==="number"?parseFloat(q.currentTarget.value):q.currentTarget.value),requiredTag:P.required})};return h.jsxs("div",{className:"pkt-preview",children:[h.jsxs("div",{className:"pkt-preview__component-container","data-mode":p,children:[e["dark-mode"]&&h.jsx("div",{className:"pkt-preview__mode",children:h.jsx(mr,{id:"mode",label:"Dark mode",type:"checkbox",checked:p==="dark",onChange:O=>c(O.target.checked?"dark":"light"),labelPosition:"right",isSwitch:!0})}),h.jsx("div",{className:`pkt-preview__component ${r&&"pkt-preview__component--fullwidth"}`,ref:k,children:h.jsx("div",{children:$})})]}),h.jsx(Xu,{tabs:C,onTabSelected:F}),h.jsxs("div",{className:`pkt-grid pkt-preview__opts ${C[0].active?"":"pkt-hide"}`,children:[((V=e.slots)==null?void 0:V.default)&&!t.props.children&&h.jsxs("div",{className:"pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up",children:[h.jsx(kn,{size:"small",skin:"blue-light",textStyle:"thin-text",children:"children"}),h.jsx(Fi,{id:"slot",label:"Slot",helptext:e.slots.default.description||"Innholdet i slot",type:"text",value:x,onChange:O=>A(O.currentTarget.value)})]}),e.props&&typeof e.props=="object"&&!Array.isArray(e.props)?Object.entries(e.props).map(([O,P])=>h.jsxs("div",{className:"pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up",children:[h.jsx(kn,{size:"small",skin:"blue-light",textStyle:"thin-text",children:O}),U(O,P)]},O)):h.jsx("p",{children:"OBS! Specs mangler props!"})]}),h.jsxs("div",{className:`pkt-preview__code ${C[1].active?"":"pkt-hide"}`,children:[h.jsx(Yn,{language:"jsx",style:Ju,children:g}),L("jsx",g)]}),h.jsxs("div",{className:`pkt-preview__code ${C[2].active?"":"pkt-hide"}`,children:[h.jsx(Yn,{language:"html",style:Ju,children:f}),L("html",f)]}),h.jsx("div",{className:`pkt-preview__specs ${C[3].active?"":"pkt-hide"}`,children:h.jsx(A2,{specs:e})})]})};Zu.displayName="PktPreview";for(var Re=[],Ei=0;Ei<256;++Ei)Re.push((Ei+256).toString(16).slice(1));function T2(e,t=0){return(Re[e[t+0]]+Re[e[t+1]]+Re[e[t+2]]+Re[e[t+3]]+"-"+Re[e[t+4]]+Re[e[t+5]]+"-"+Re[e[t+6]]+Re[e[t+7]]+"-"+Re[e[t+8]]+Re[e[t+9]]+"-"+Re[e[t+10]]+Re[e[t+11]]+Re[e[t+12]]+Re[e[t+13]]+Re[e[t+14]]+Re[e[t+15]]).toLowerCase()}var qr,B2=new Uint8Array(16);function N2(){if(!qr&&(qr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!qr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return qr(B2)}var j2=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Qu={randomUUID:j2};function L2(e,t,r){if(Qu.randomUUID&&!t&&!e)return Qu.randomUUID();e=e||{};var i=e.random||(e.rng||N2)();return i[6]=i[6]&15|64,i[8]=i[8]&63|128,T2(i)}const el=R.forwardRef(({valueCurrent:e,valueMin:t=0,valueMax:r=100,skin:i="dark-blue",title:o,titlePosition:u="left",statusType:p="none",statusPlacement:c="following",id:f,ariaLabel:m,ariaLabelledby:g,role:y="progressbar",className:v,ariaValueText:w,...x},A)=>{const C=R.useRef(null),[B,F]=R.useState(0),[k,E]=R.useState(f);R.useEffect(()=>{f||E(L2())},[f]),R.useEffect(()=>{if(C.current){const P=C.current;F(P.getBoundingClientRect().width)}});const S=r-t,T=e/S*100,L=r!==100||t!==0?Math.round(T):e,$=`${e} av ${r}`,j=p!=="none",U=$e("pkt-progressbar__bar",{[`pkt-progressbar__bar--${i}`]:i}),Y=$e("pkt-progressbar__title",{"pkt-progressbar__title-center":u==="center"}),V=$e("pkt-progressbar__status",{"pkt-progressbar__status--center":c==="center"}),O=$e({"pkt-progressbar__status-placement--following":c==="following","pkt-progressbar__status-placement--center":c==="center","pkt-progressbar__status-placement--left":c==="left"});return h.jsxs("div",{...x,ref:A,className:$e("pkt-progressbar__container",v),id:k,style:{"--pkt-progress-label-width":`${B}px`,"--pkt-progress-width":`${L}%`},children:[o&&h.jsx("p",{id:`${k}-title`,className:Y,children:o}),h.jsx("div",{role:y,className:"pkt-progressbar__bar-wrapper","aria-valuemin":t,"aria-valuemax":r,"aria-valuenow":e,"aria-labelledby":g||o&&`${k}-title`,"aria-label":m,"aria-valuetext":w,children:h.jsx("div",{className:U})}),j&&h.jsx("div",{className:V,children:h.jsx("span",{className:O,ref:C,children:p==="percentage"?`${L}%`:$})})]})});el.displayName="PktProgressbar";const tl=R.forwardRef(({id:e,name:t,label:r,className:i,hasTile:o=!1,disabled:u=!1,checkHelptext:p,hasError:c=!1,...f},m)=>{const g=[i,"pkt-input-check"].filter(Boolean).join(" ");return h.jsx("div",{className:g,children:h.jsxs("div",{className:`pkt-input-check__input ${o?"pkt-input-check__input--tile":""} ${u&&o?"pkt-input-check__input--tile-disabled":""}`,children:[h.jsx("input",{ref:m,className:`pkt-input-check__input-checkbox ${c?"pkt-input-check__input-checkbox--error":""}`,type:"radio",id:e,disabled:u,name:t,...f}),h.jsxs("label",{className:"pkt-input-check__input-label",htmlFor:e,children:[r,p&&h.jsx("div",{className:"pkt-input-check__input-helptext",children:p})]})]})})});tl.displayName="PktRadioButton";const P2=R.forwardRef(({appearance:e="local",disabled:t=!1,fullwidth:r=!1,id:i,label:o,name:u,placeholder:p="Søk…",suggestions:c,value:f="",action:m,method:g,onChange:y,onSearch:v,onSuggestionClick:w,...x},A)=>{const C=(E,S)=>{E?E():w&&w(S)},B=`pkt-searchinput pkt-searchinput--${e} ${r?"pkt-searchinput--fullwidth":""}`,F=o?"label":"div";let k;return m?k=E=>h.jsx("form",{role:"search",className:B,action:m,method:g,children:E}):k=E=>h.jsx("div",{role:"search",className:B,children:E}),k(h.jsxs(h.Fragment,{children:[h.jsxs(F,{htmlFor:o?i:void 0,className:o?"pkt-inputwrapper__label":"",children:[o&&h.jsx(h.Fragment,{children:o}),h.jsxs("div",{className:e==="local"?"pkt-input__container":"pkt-searchinput__field",children:[h.jsx("input",{className:`pkt-input ${r?"pkt-input--fullwidth":""}`,type:"search",name:u||i,id:i,placeholder:p,defaultValue:f,disabled:t,autoComplete:"off","aria-autocomplete":"list",ref:A,"aria-controls":`${i}-suggestions`,onChange:y,...x}),h.jsx(Vt,{className:`pkt-searchinput__button ${e==="local"?"pkt-input-icon":""}`,variant:"icon-only",iconName:"magnifying-glass-big",skin:e==="local"?"tertiary":"primary",color:e==="global"?"yellow":void 0,type:"submit",disabled:t,onClick:v&&(()=>v(f)),onKeyUp:v&&(E=>E.key==="Enter"&&v(f)),children:o||p})]})]}),c&&h.jsx("ul",{id:`${i}-suggestions`,className:"pkt-searchinput__suggestions","aria-live":"assertive",children:c.map((E,S)=>h.jsx("li",{children:R.createElement(E.href?"a":E.onClick?"button":"div",{href:E.href,className:`pkt-searchinput__suggestion ${E.onClick?"pkt-link-button":""} ${E.href||E.onClick?"pkt-searchinput__suggestion--has-hover":""}`,type:E.onClick?"button":void 0,onClick:()=>C(E.onClick,S),onKeyUp:()=>C(E.onClick,S)},h.jsxs(h.Fragment,{children:[E.title&&h.jsx("h3",{className:"pkt-searchinput__suggestion-title",children:E.title}),E.text&&h.jsx("p",{className:"pkt-searchinput__suggestion-text",children:E.text})]}))},`search-suggestion-${S}`))})]}))}),O2=R.forwardRef(({activeStep:e,className:t,children:r,hideNonActiveStepsContent:i=!0,orientation:o="vertical",...u},p)=>{const c=$e(t,"pkt-stepper",o==="horizontal"?"pkt-stepper--horizontal":"pkt-stepper--vertical"),f=R.Children.map(r,(m,g)=>R.isValidElement(m)?R.cloneElement(m,{className:$e(m.props.className,{"pkt-step--hidden":i&&g!==e})}):m);return h.jsx("ol",{"data-testid":"pkt-stepper",className:c,ref:p,...u,children:f})}),$2=h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:h.jsx("circle",{cx:"12",cy:"12",r:"7",style:{fill:"var(--pkt-color-grays-grey-200, #CCC)"}})}),I2=h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[h.jsx("circle",{opacity:".15",cx:"12",cy:"12",r:"12",fill:"#2A2859"}),h.jsx("circle",{cx:"12",cy:"12",r:"6",fill:"#2A2859"})]}),R2=h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[h.jsx("path",{fill:"#2A2859",d:"M3 3h18v18H3z"}),h.jsx("path",{d:"m10.34 16-1.11-1.14L7 12.58l1.11-1.15 2.23 2.28L15.88 8 17 9.15l-5.55 5.71L10.34 16Z",fill:"#F1FDFF"})]}),M2=({children:e,className:t,status:r="incomplete",title:i})=>h.jsxs("li",{className:$e("pkt-step",t,`pkt-step--${r}`),"data-testid":"pkt-step",children:[h.jsx("span",{className:"pkt-step__line pkt-step__line--1","aria-hidden":!0}),h.jsx("span",{className:"pkt-step__line pkt-step__line--2","aria-hidden":!0}),h.jsx("span",{className:$e("pkt-step__indicator"),children:r==="current"?I2:r==="completed"?R2:$2}),h.jsx("span",{className:"pkt-step__line pkt-step__line--3","aria-hidden":!0}),h.jsxs("div",{className:"pkt-step__wrapper",children:[h.jsx("div",{className:"pkt-step__title",children:i}),h.jsx("div",{className:"pkt-step__content",children:e})]})]}),q2=R.forwardRef(({id:e,ariaDescribedby:t,ariaLabelledby:r,counter:i,counterMaxLength:o,className:u,disabled:p,errorMessage:c,hasError:f,helptext:m,helptextDropdown:g,helptextDropdownButton:y,inline:v,fullwidth:w=!1,label:x,name:A,optionalTag:C=!1,optionalText:B,requiredTag:F=!1,requiredText:k,placeholder:E,rows:S,useWrapper:T=!0,onChange:L,...$},j)=>{const U=[u,"pkt-textinput","pkt-textarea"].join(" "),Y=r||`${e}-label`,V=R.useRef(null),[O,P]=R.useState(0),q=J=>{var pe,X;if(i&&P(((X=(pe=J.currentTarget)==null?void 0:pe.value)==null?void 0:X.length)||0),L)return L(J)};return R.useEffect(()=>{var J,pe;typeof j=="function"&&j(V.current),i&&P(((pe=(J=V==null?void 0:V.current)==null?void 0:J.value)==null?void 0:pe.length)||0)},[j]),h.jsx(cn,{ariaDescribedby:t,className:U,disabled:p,errorMessage:c,forId:e,hasError:f,helptext:m,helptextDropdown:g,helptextDropdownButton:y,inline:v,label:x,optionalTag:C,optionalText:B,requiredTag:F,requiredText:k,useWrapper:T,counter:i,counterCurrent:O,counterMaxLength:o,children:h.jsx("textarea",{ref:V,className:`pkt-input ${w?"pkt-input--fullwidth":""} ${o&&O>o?"pkt-input--counter-error":""}`,name:A||e,id:e,placeholder:E,disabled:p,rows:S,"aria-labelledby":Y,"aria-invalid":f,"aria-errormessage":`${e}-error`,...$,onChange:q})})});Q.PktAccordion=Dc,Q.PktAccordionItem=wc,Q.PktAlert=ba,Q.PktBackLink=ms,Q.PktBreadcrumbs=_c,Q.PktButton=Vt,Q.PktCheckbox=mr,Q.PktFooter=Fc,Q.PktFooterSimple=Ec,Q.PktHeader=xc,Q.PktIcon=ee,Q.PktIconContext=fs,Q.PktInput=gs,Q.PktInputWrapper=cn,Q.PktLinkCard=Ds,Q.PktLoader=vs,Q.PktMessagebox=ys,Q.PktPreview=Zu,Q.PktProgressbar=el,Q.PktRadioButton=tl,Q.PktSearchInput=P2,Q.PktSelect=_i,Q.PktStep=M2,Q.PktStepper=O2,Q.PktTable=Ir,Q.PktTableBody=Mr,Q.PktTableDataCell=pt,Q.PktTableHeader=Rr,Q.PktTableHeaderCell=Nt,Q.PktTableRow=rn,Q.PktTabs=Xu,Q.PktTag=kn,Q.PktTextarea=q2,Q.PktTextinput=Fi,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-react",
3
- "version": "12.0.0",
3
+ "version": "12.2.0",
4
4
  "description": "React komponentbibliotek til Punkt, et designsystem laget av Oslo Origo",
5
5
  "homepage": "https://punkt.oslo.kommune.no",
6
6
  "author": "Team Designsystem, Oslo Origo",
@@ -39,8 +39,8 @@
39
39
  "react-syntax-highlighter": "^15.5.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@oslokommune/punkt-assets": "^12.0.0",
43
- "@oslokommune/punkt-css": "^12.0.0",
42
+ "@oslokommune/punkt-assets": "^12.1.0",
43
+ "@oslokommune/punkt-css": "^12.2.0",
44
44
  "@testing-library/jest-dom": "^6.5.0",
45
45
  "@testing-library/react": "^16.0.1",
46
46
  "@testing-library/user-event": "^14.5.2",
@@ -98,5 +98,5 @@
98
98
  "url": "https://github.com/oslokommune/punkt/issues"
99
99
  },
100
100
  "license": "MIT",
101
- "gitHead": "2a23d8affa844754344260164627984bd921c3fb"
101
+ "gitHead": "6eb4f246d43111da9142a7c98526d2d5d7dfda4e"
102
102
  }
@@ -40,6 +40,7 @@ describe('PktLinkCard', () => {
40
40
  <PktLinkCard title="Beige" skin="beige" />
41
41
  <PktLinkCard title="Beige outline" skin="beige-outline" />
42
42
  <PktLinkCard title="Grey outline" skin="grey-outline" />
43
+ <PktLinkCard title="Gray outline" skin="gray-outline" />
43
44
  </div>,
44
45
  )
45
46
 
@@ -48,6 +49,7 @@ describe('PktLinkCard', () => {
48
49
  expect(container.querySelectorAll('.pkt-linkcard--beige')).toHaveLength(1)
49
50
  expect(container.querySelectorAll('.pkt-linkcard--beige-outline')).toHaveLength(1)
50
51
  expect(container.querySelectorAll('.pkt-linkcard--grey-outline')).toHaveLength(1)
52
+ expect(container.querySelectorAll('.pkt-linkcard--gray-outline')).toHaveLength(1)
51
53
  })
52
54
  })
53
55
 
@@ -3,7 +3,7 @@ import React, { ForwardedRef, forwardRef } from 'react'
3
3
  import { PktIcon } from '../icon/Icon'
4
4
 
5
5
  export interface IPktLinkCard extends React.HTMLAttributes<HTMLAnchorElement> {
6
- skin?: 'normal' | 'blue' | 'beige' | 'beige-outline' | 'green' | 'grey' | 'grey-outline'
6
+ skin?: 'normal' | 'blue' | 'beige' | 'beige-outline' | 'green' | 'grey' | 'gray' | 'grey-outline'| 'gray-outline'
7
7
  title?: string
8
8
  href?: string
9
9
  iconName?: string
@@ -4,7 +4,7 @@ import React, { forwardRef, Ref, useRef, useEffect, KeyboardEvent, Fragment } fr
4
4
  import { PktIcon } from '../icon/Icon'
5
5
  import { PktTag } from '../tag/Tag'
6
6
 
7
- export type TSkin = 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'blue-light'
7
+ export type TSkin = 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'gray' | 'blue-light'
8
8
 
9
9
  export interface Tab {
10
10
  text: string
@@ -3,7 +3,7 @@ import React, { ForwardedRef, forwardRef, useState } from 'react';
3
3
  import { PktIcon } from '../icon/Icon'
4
4
 
5
5
  export interface IPktTag extends React.ButtonHTMLAttributes<HTMLButtonElement> {
6
- skin?: 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'blue-light';
6
+ skin?: 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey'| 'gray' | 'blue-light';
7
7
  textStyle?: 'normal-text' | 'thin-text';
8
8
  size?: 'small' | 'medium' | 'large';
9
9
  closeTag?: boolean;