1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chart-wrapper-BH50Pmpi-agC-IX_O-BmYAQQ8N.js","assets/rolldown-runtime-W7wSyTde.js","assets/jsx-runtime-B_nmFRUJ.js","assets/root--PKJlmcq.js","assets/i18n-CC4nsMR9.js","assets/dist-FYlAXMJ_.js","assets/aria-utils-BPBypvH6-CK4N_0lu-Cv1iRxgF.js","assets/export-data.src-C7sMg-A1.js","assets/jspdf.es.min-m_xBn0Qu-BWdueprG.js","assets/svg2pdf.es.min-B5JJe8bB-bAlTwaDF.js","assets/FileSaver.min-jI0J7dkj.js","assets/chart-wrapper-Cw1A9ihP-B0VFwzrW.js","assets/chart-download-utils-iCSCSizk-BdB7URAw.js"])))=>i.map(i=>d[i]); 2import{r as e,t}from"./rolldown-runtime-W7wSyTde.js";import{E as n,F as r,I as i,L as a,N as o,O as s,k as c,t as l}from"./jsx-runtime-B_nmFRUJ.js";import{At as u,Dt as d,Et as f,Mt as p,Nt as m,Ot as h,Pt as g,Tt as _,a as v,jt as y,kt as b}from"./root--PKJlmcq.js";import{t as x}from"./I18nextProvider-oaq89WvC.js";import{$ as S,A as C,B as w,C as T,Ct as E,D,E as O,F as ee,H as k,I as te,M as A,Mt as ne,N as j,Nt as M,O as re,P as N,Q as ie,St as ae,T as oe,Tt as se,U as ce,V as le,W as ue,X as de,Y as fe,_ as pe,a as me,at as he,c as ge,ct as _e,dt as ve,et as ye,ft as be,g as xe,h as Se,ht as Ce,i as we,it as Te,j as Ee,jt as De,k as Oe,l as ke,m as Ae,n as je,o as Me,ot as Ne,p as Pe,q as Fe,r as Ie,rt as Le,s as Re,st as ze,tt as Be,ut as Ve,v as He,vt as Ue,w as We,wt as Ge,x as Ke,xt as qe,y as Je,yt as Ye}from"./dist-FYlAXMJ_.js";import{A as Xe,C as Ze,D as Qe,E as $e,F as et,L as tt,M as nt,N as P,O as rt,P as it,R as at,S as ot,T as st,b as ct,c as lt,d as ut,f as dt,g as ft,h as pt,i as mt,j as ht,l as gt,n as _t,o as vt,p as yt,r as bt,s as xt,t as St,u as Ct,x as wt,y as Tt}from"./aria-utils-BPBypvH6-CK4N_0lu-Cv1iRxgF.js";import{E as Et,S as Dt,T as F,_ as Ot,a as kt,c as At,f as jt,g as Mt,h as Nt,k as Pt,l as Ft,m as It,n as Lt,o as Rt,r as zt,s as Bt,t as Vt,v as Ht,w as Ut,x as Wt,y as Gt}from"./chart-download-utils-iCSCSizk-BdB7URAw.js";var Kt=class{constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),this.firstChild??=e,this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(t==null)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}
2get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}},qt=class e extends Kt{constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+ +(this.parentNode.node?.type===`item`):0}getMutableNode(){return this.node==null?null:(this.isMutated||=(this.node=this.node.clone(),!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,n=this.getMutableNode();if(n!=null&&(n.index=this.index,n.level=this.level,n.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,n.prevKey=this.previousVisibleSibling?.node?.key??null,n.nextKey=t?.node?.key??null,n.hasChildNodes=!!this.firstChild,n.firstChildKey=this.firstVisibleChild?.node?.key??null,n.lastChildKey=this.lastVisibleChild?.node?.key??null,(n.colSpan!=null||n.colIndex!=null)&&t)){let e=(n.colIndex??n.index)+(n.colSpan??1);if(t.node!=null&&e!==t.node.colIndex){let n=t.getMutableNode();n.colIndex=e}}}setProps(e,t,n,r,i){let a,{value:o,textValue:s,id:c,...l}=e;if(this.node==null?(a=new n(c??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),l.ref=t,a.props=l,a.rendered=r,a.render=i,a.value=o,e[`aria-label`]&&(a[`aria-label`]=e[`aria-label`]),a.textValue=s||(typeof l.children==`string`?l.children:``)||e[`aria-label`]||``,c!=null&&c!==a.key)throw Error(`Cannot change the id of an item`);l.colSpan!=null&&(a.colSpan=l.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?`none`:``},set display(t){let n=t===`none`;if(e.isHidden!==n){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let t=e.previousVisibleSibling,r=e.nextVisibleSibling;t&&e.ownerDocument.markDirty(t),r&&e.ownerDocument.markDirty(r),e.isHidden=n,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}},Jt=class extends Kt{constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}get isConnected(){return!0}createElement(e){return new qt(e,this)}getMutableCollection(){return this.nextCollection||=this.collection.clone(),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||e.node==null)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription?this.collection:(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let e of this.dirtyNodes)e instanceof qt&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof qt?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone());for(let e of this.subscriptions)e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),this.queuedRender&&e(),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}},I=e(a(),1);function Yt(e){let{children:t,items:n,idScope:r,addIdAndValue:i,dependencies:a=[]}=e,o=(0,I.useMemo)(()=>void 0,[t]),s=(0,I.useMemo)(()=>new WeakMap,[...a,o]);return(0,I.useMemo)(()=>
2{if(n&&typeof t==`function`){let e=[];for(let a of n){let n=Xt(a)?a:null,o=n?s.get(n):null;if(!o){o=t(a);let c=o.props.id??a?.key??a?.id;r!=null&&o.props.id==null&&c!=null&&(c=r+`:`+c);let l=c??e.length;o=(0,I.cloneElement)(o,i?{key:l,id:c,value:a}:{key:l}),n&&s.set(n,o)}e.push(o)}return e}if(typeof t!=`function`)return t},[t,n,s,r,i])}function Xt(e){switch(typeof e){case`object`:return e!=null;case`function`:case`symbol`:return!0;default:return!1}}var Zt=t((e=>{var t=a();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,o=t.useEffect,s=t.useLayoutEffect,c=t.useDebugValue;function l(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),a=r[0].inst,l=r[1];return s(function(){a.value=n,a.getSnapshot=t,u(a)&&l({inst:a})},[e,n,t]),o(function(){return u(a)&&l({inst:a}),e(function(){u(a)&&l({inst:a})})},[e]),c(n),n}function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function d(e,t){return t()}var f=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?d:l;e.useSyncExternalStore=t.useSyncExternalStore===void 0?f:t.useSyncExternalStore})),Qt=t(((e,t)=>{t.exports=Zt()})),$t=e(i(),1),en=Qt(),tn=(0,I.createContext)(!1),nn=(0,I.createContext)(null);function rn(e){if((0,I.useContext)(nn))return e.content;let{collection:t,document:n}=cn(e.createCollection);return I.createElement(I.Fragment,null,I.createElement(Te,null,I.createElement(nn.Provider,{value:n},e.content)),I.createElement(an,{render:e.children,collection:t}))}function an({collection:e,render:t}){return t(e)}function on(e,t,n){let r=ve(),i=(0,I.useRef)(r);i.current=r;let a=(0,I.useCallback)(()=>i.current?n():t(),[t,n]);return(0,en.useSyncExternalStore)(e,a)}var sn=typeof I.useSyncExternalStore==`function`?I.useSyncExternalStore:on;function cn(e){let[t]=(0,I.useState)(()=>new Jt(e?.()||new Ue));return{collection:sn((0,I.useCallback)(e=>t.subscribe(e),[t]),(0,I.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,I.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t])),document:t}}var ln=(0,I.createContext)(null);function un(e){return class extends Ye{static{this.type=e}}}function dn(e,t,n,r,i,a){typeof e==`string`&&(e=un(e));let o=(0,I.useCallback)(i=>{i?.setProps(t,n,e,r,a)},[t,n,r,a,e]),s=(0,I.useContext)(ln);if(s){let o=s.ownerDocument.nodesByProps.get(t);return o||(o=s.ownerDocument.createElement(e.type),o.setProps(t,n,e,r,a),s.appendChild(o),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,o)),i?I.createElement(ln.Provider,{value:o},i):null}return I.createElement(e.type,{ref:o},i)}function fn(e,t){let n=({node:e})=>t(e.props,e.props.ref,e),r=(0,I.forwardRef)((r,i)=>{let a=(0,I.useContext)(Ne);if(!(0,I.useContext)(tn)){if(t.length>=3)throw Error(t.name+` cannot be rendered outside a collection.`);return t(r,i)}return dn(e,r,i,`children`in r?r.children:null,null,e=>I.createElement(Ne.Provider,{value:a},I.createElement(n,{node:e})))});return r.displayName=t.name,r}function pn(e){return Yt({...e,addIdAndValue:!0})}var mn=(0,I.createContext)(null);function hn(e){let t=(0,I.useContext)(mn),n=(t?.dependencies||[]).concat(e.dependencies),r=e.idScope??t?.idScope,i=pn({...e,idScope:r,dependencies:n});return(0,I.useContext)(nn)&&(i=I.createElement(gn,null,i)),t=(0,I.useMemo)(()=>({dependencies:n,idScope:r}),[r,...n]),I.createElement(mn.Provider,{value:t},i)}function gn({children:e}){let t=(0,I.useContext)(nn),n=(0,I.useMemo)(()=>I.createElement(nn.Provider,{value:null},I.createElement(tn.Provider,{value:!0},e)),[e]);return ve()?I.createElement(ln.Provider,{value:t},n):(0,$t.createPortal)(n,t)}var _n=new WeakMap;
2function vn(e,t,n){return e?(typeof t==`string`&&(t=t.replace(/\s+/g,``)),`${_n.get(e)}-${n}-${t}`):``}function yn(e,t,n){let{key:r,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:o,selectedKey:s}=t,c=r===s,l=i||t.isDisabled||t.selectionManager.isDisabled(r),u=t.collection.getItem(r),{itemProps:d,isPressed:f}=w({selectionManager:o,key:r,ref:n,isDisabled:l,shouldSelectOnPressUp:a??u?.props.href!=null,linkBehavior:`selection`}),p=vn(t,r,`tab`),m=vn(t,r,`tabpanel`),{tabIndex:h}=d,g=S(u?.props,{labelable:!0});delete g.id;let _=be(u?.props),{focusableProps:v}=he({...u?.props,isDisabled:l},n);return{tabProps:_e(g,v,_,d,{id:p,"aria-selected":c,"aria-disabled":l||void 0,"aria-controls":c?m:void 0,tabIndex:l?void 0:h,role:`tab`}),isSelected:c,isDisabled:l,isPressed:f}}var bn=class{constructor(e,t,n,r=new Set){this.collection=e,this.flipDirection=t===`rtl`&&n===`horizontal`,this.disabledKeys=r,this.tabDirection=n===`horizontal`}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do t=this.collection.getKeyAfter(t),t??=this.collection.getFirstKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}getPreviousKey(e){let t=e;do t=this.collection.getKeyBefore(t),t??=this.collection.getLastKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}};function xn(e,t,n){let{orientation:r=`horizontal`,keyboardActivation:i=`automatic`}=e,{collection:a,selectionManager:o,disabledKeys:s}=t,{direction:c}=ye(),l=(0,I.useMemo)(()=>new bn(a,c,r,s),[a,s,r,c]),{collectionProps:u}=Fe({ref:n,selectionManager:o,keyboardDelegate:l,selectOnFocus:i===`automatic`,disallowEmptySelection:!0,scrollRef:n,linkBehavior:`selection`}),d=Ve();_n.set(t,d);let f=Be({...e,id:d});return{tabListProps:{..._e(u,f),role:`tablist`,"aria-orientation":r,tabIndex:void 0}}}function Sn(e,t,n){let r=le(n)?void 0:0,i=vn(t,e.id??t?.selectedKey,`tabpanel`),a=Be({...e,id:i,"aria-labelledby":vn(t,t?.selectedKey,`tab`)});return{tabPanelProps:_e(a,{tabIndex:r,role:`tabpanel`,"aria-describedby":e[`aria-describedby`],"aria-details":e[`aria-details`]})}}function Cn(e){let t=I.version.split(`.`);return parseInt(t[0],10)>=19?e:e?`true`:void 0}var wn={CollectionRoot({collection:e,renderDropIndicator:t}){return Tn(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}
2){return Tn(e,t,n)}};function Tn(e,t,n){return Yt({items:t?e.getChildren(t.key):e,dependencies:[n],children(t){if(t.type===`content`)return I.createElement(I.Fragment,null);let r=t.render(t);return!n||t.type!==`item`?r:I.createElement(I.Fragment,null,n({type:`item`,key:t.key,dropPosition:`before`}),r,En(e,t,n))}})}function En(e,t,n){let r=t.key,i=e.getKeyAfter(r),a=i==null?null:e.getItem(i);for(;a!=null&&a.type!==`item`;)i=e.getKeyAfter(a.key),a=i==null?null:e.getItem(i);let o=t.nextKey==null?null:e.getItem(t.nextKey);for(;o!=null&&o.type!==`item`;)o=o.nextKey==null?null:e.getItem(o.nextKey);let s=[];if(o==null){let r=t;for(;r?.type===`item`&&(!a||r.parentKey!==a.parentKey&&a.level<r.level);){let t=n({type:`item`,key:r.key,dropPosition:`after`});(0,I.isValidElement)(t)&&s.push((0,I.cloneElement)(t,{key:`${r.key}-after`})),r=r.parentKey==null?null:e.getItem(r.parentKey)}}return s}var Dn=(0,I.createContext)(wn);function On(e){return(0,I.useMemo)(()=>e==null?null:new Set([e]),[e])}var kn=(0,I.createContext)(null);function An(e){let t=(0,I.useRef)({});return I.createElement(kn.Provider,{value:t},e.children)}var jn=(0,I.createContext)({isSelected:!1}),Mn=class{constructor(e){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let t=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&e.type===`section`)for(let n of e.childNodes)t(n)};for(let n of e)t(n);let n=null,r=0,i=0;for(let[e,t]of this.keyMap)n?(n.nextKey=e,t.prevKey=n.key):(this.firstKey=e,t.prevKey=void 0),t.type===`item`&&(t.index=r++),(t.type===`section`||t.type===`item`)&&i++,n=t,n.nextKey=void 0;this._size=i,this.lastKey=n?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){return this.keyMap.get(e)?.childNodes||[]}};function Nn(e){let{filter:t,layoutDelegate:n}=e,r=O(e),i=(0,I.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=(0,I.useCallback)(e=>t?new Mn(t(e)):new Mn(e),[t]),o=(0,I.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=We(e,a,o),c=(0,I.useMemo)(()=>new oe(s,r,{layoutDelegate:n}),[s,r,n]);return Pn(s,c),{collection:s,disabledKeys:i,selectionManager:c}}function Pn(e,t){let n=(0,I.useRef)(null);(0,I.useEffect)(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&n.current){let r=n.current.getKeyAfter(t.focusedKey),i=null;for(;r!=null;){let a=e.getItem(r);if(a&&a.type===`item`&&!t.isDisabled(r)){i=r;break}r=n.current.getKeyAfter(r)}if(i==null)for(r=n.current.getKeyBefore(t.focusedKey);r!=null;){let a=e.getItem(r);if(a&&a.type===`item`&&!t.isDisabled(r)){i=r;break}r=n.current.getKeyBefore(r)}t.setFocusedKey(i)}n.current=e},[e,t])}function Fn(e){return null}Fn.getCollectionNode=function*(e){let{children:t}=e;yield{type:`cell`,props:e,rendered:t,textValue:e.textValue||(typeof t==`string`?t:``)||e[`aria-label`]||``,"aria-label":e[`aria-label`],hasChildNodes:!1}};var In=Fn;function Ln(e){return null}Ln.getCollectionNode=function*(e,t){let{title:n,children:r,childColumns:i}=e,a=n||r,o=e.textValue||(typeof a==`string`?a:``)||e[`aria-label`],s=yield{type:`column`,hasChildNodes:!!i||!!n&&I.Children.count(r)>0,rendered:a,textValue:o,props:e,*childNodes(){if(i)for(let e of i)yield{type:`column`,value:e};else if(n){let e=[];I.Children.forEach(r,t=>{e.push({type:`column`,element:t})}),yield*e}},shouldInvalidate(e){return c(e),!1}},c=e=>{for(let t of s)t.hasChildNodes||e.columns.push(t)};c(t)};var Rn=Ln;function zn(e){return null}zn.getCollectionNode=function*(e,t){let{children:n,textValue:r,UNSTABLE_childItems:i}=e;yield{type:`item`,props:e,textValue:r,"aria-label":e[`aria-label`],hasChildNodes:!0,*childNodes(){if(t.showDragButtons&&(yield{type:`cell`,key:`header-drag`,props:{isDragButtonCell:!0}}),t.showSelectionCheckboxes&&t.selectionMode!==`none`&&(yield{type:`cell`,key:`header`,props:{isSelectionCell:!0}}),typeof n==`function`){for(let e of t.columns)yield{type:`cell`,element:n(e.key),key:e.key};if(i)for(let e of i)yield{type:`item`,value:e}}else{let e=[],r=[],i=0;
2if(I.Children.forEach(n,n=>{if(n.type===zn){if(e.length<t.columns.length)throw Error(`All of a Row's child Cells must be positioned before any child Rows.`);r.push({type:`item`,element:n})}else e.push({type:`cell`,element:n}),i+=n.props.colSpan??1}),i!==t.columns.length)throw Error(`Cell count must match column count. Found ${i} cells and ${t.columns.length} columns.`);yield*e,yield*r}},shouldInvalidate(e){return e.columns.length!==t.columns.length||e.columns.some((e,n)=>e.key!==t.columns[n].key)||e.showSelectionCheckboxes!==t.showSelectionCheckboxes||e.showDragButtons!==t.showDragButtons||e.selectionMode!==t.selectionMode}}};var Bn=zn;function Vn(e){return null}Vn.getCollectionNode=function*(e){let{children:t,items:n}=e;yield{type:`body`,hasChildNodes:!0,props:e,*childNodes(){if(typeof t==`function`){if(!n)throw Error(`props.children was a function but props.items is missing`);for(let e of n)yield{type:`item`,value:e,renderer:t}}else{let e=[];I.Children.forEach(t,t=>{e.push({type:`item`,element:t})}),yield*e}}}};var Hn=Vn;function Un(e){return null}Un.getCollectionNode=function*(e,t){let{children:n,columns:r}=e;if(t.columns=[],typeof n==`function`){if(!r)throw Error(`props.children was a function but props.columns is missing`);for(let e of r)yield{type:`column`,value:e,renderer:n}}else{let e=[];I.Children.forEach(n,t=>{e.push({type:`column`,element:t})}),yield*e}};var Wn=Un;function Gn(e){let[t,n]=de(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=(0,I.useMemo)(()=>t==null?[]:[t],[t]),{collection:i,disabledKeys:a,selectionManager:o}=Nn({...e,selectionMode:`single`,disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:r=>{if(r===`all`)return;let i=r.values().next().value??null;i===t&&e.onSelectionChange&&e.onSelectionChange(i),n(i)}});return{collection:i,disabledKeys:a,selectionManager:o,selectedKey:t,setSelectedKey:n,selectedItem:t==null?null:i.getItem(t)}}function Kn(e){let t=Gn({...e,onSelectionChange:e.onSelectionChange?t=>{t!=null&&e.onSelectionChange?.(t)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??qn(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:n,collection:r,selectedKey:i}=t,a=(0,I.useRef)(i);return(0,I.useEffect)(()=>{let o=i;e.selectedKey==null&&(n.isEmpty||o==null||!r.getItem(o))&&(o=qn(r,t.disabledKeys),o!=null&&n.setSelectedKeys([o])),(o!=null&&n.focusedKey==null||!n.isFocused&&o!==a.current)&&n.setFocusedKey(o),a.current=o}),{...t,isDisabled:e.isDisabled||!1}}function qn(e,t){let n=null;if(e){for(n=e.getFirstKey();n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n!==e.getLastKey();)n=e.getKeyAfter(n);n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}var Jn=(0,I.createContext)(null),Yn=(0,I.createContext)(null),Xn=(0,I.forwardRef)(function(e,t){[e,t]=Oe(e,t,Jn);let{children:n,orientation:r=`horizontal`}=e;return n=(0,I.useMemo)(()=>typeof n==`function`?n({orientation:r,defaultChildren:null}):n,[n,r]),I.createElement(rn,{content:n},n=>I.createElement(Zn,{props:e,collection:n,tabsRef:t}))});function Zn({props:e,tabsRef:t,collection:n}){let{orientation:r=`horizontal`}=e,i=Kn({...e,collection:n,children:void 0}),{focusProps:a,isFocused:o,isFocusVisible:s}=ue({within:!0}),c=(0,I.useMemo)(()=>({orientation:r,isFocusWithin:o,isFocusVisible:s}),[r,o,s]),l=C({...e,defaultClassName:`react-aria-Tabs`,values:c}),u=S(e,{global:!0});return I.createElement(Ee.div,{..._e(u,l,a),ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":r,"data-focus-visible":s||void 0,"data-disabled":i.isDisabled||void 0},I.createElement(re,{values:[[Jn,e],[Yn,i]]},l.children))}var Qn=(0,I.forwardRef)(function(e,t){return(0,I.useContext)(Yn)?I.createElement($n,{props:e,forwardedRef:t}):I.createElement(hn,e)});function $n({props:e,forwardedRef:t}){let n=(0,I.useContext)(Yn),{CollectionRoot:r}=(0,I.useContext)(Dn),{orientation:i=`horizontal`,keyboardActivation:a=`automatic`}=A(Jn),o=ze(t),{tabListProps:s}=xn({...e,orientation:i,keyboardActivation:a},n,o),c=C({...e,children:null,defaultClassName:`react-aria-TabList`,values:{orientation:i,state:n}}),l=S(e,{global:!0});return delete l.id,I.createElement(Ee.div,{..._e(l,c,s),ref:o,"data-orientation":i||void 0},I.createElement(An,null,I.createElement(r,{collection:n.collection,persistedKeys:On(n.selectionManager.focusedKey)})))}var er=fn(class extends Ye{static{this.type=`item`}},(e,t,n)=>{let r=(0,I.useContext)(Yn),i=ze(t),{tabProps:a,isSelected:o,isDisabled:s,isPressed:c}=yn({key:n.key,...e},r,i),{focusProps:l,isFocused:u,isFocusVisible:d}=ue(),{hoverProps:f,isHovered:p}=ce({isDisabled:s,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),m=C({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-Tab`,values:{isSelected:o,isDisabled:s,isFocused:u,isFocusVisible:d,isPressed:c,isHovered:p}}),h=n.props.href?Ee.a:Ee.div,g=S(e,{global:!0});return delete g.id,delete g.onClick,I.createElement(h,{..._e(g,m,a,l,f),ref:i,"data-selected":o||void 0,"data-disabled":s||void 0,"data-focused":u||void 0,"data-focus-visible":d||void 0,"data-pressed":c||void 0,"data-hovered":p||void 0},I.createElement(jn.Provider,{value:{isSelected:o}},m.children))}),tr=Le(function(e,t){let n=(0,I.useContext)(Yn),r=ze(t),i=(0,I.useRef)(n.selectedKey),a=(0,I.useRef)(null),o=(0,I.useRef)(null);Ce(()=>{let e=r.current;if(e){if(o.current??=/width|height|block-size|inline-size|all/.test(window.getComputedStyle(e).transition),o.current&&i.current!=null&&i.current!==n.selectedKey){e.style.setProperty(`--tab-panel-width`,`auto`),e.style.setProperty(`--tab-panel-height`,`auto`);let{width:t,height:n}=e.getBoundingClientRect();a.current&&(a.current.width!==t||a.current.height!==n)&&(e.style.setProperty(`--tab-panel-width`,a.current.width+`px`),e.style.setProperty(`--tab-panel-height`,a.current.height+`px`),window.getComputedStyle(e).height,e.style.setProperty(`--tab-panel-width`,t+`px`),e.style.setProperty(`--tab-panel-height`,n+`px`),Promise.all(e.getAnimations().map(e=>e.finished)).then(()=>{e.style.setProperty(`--tab-panel-width`,`auto`),e.style.setProperty(`--tab-panel-height`,`auto`)}).catch(()=>{}))}i.current=n.selectedKey}},[r,n.selectedKey]),n.selectedKey!=null&&n.selectedKey!==i.current&&r.current&&o.current&&(a.current=r.current.getBoundingClientRect());let s=S(e,{labelable:!0,global:!0});return delete s.id,I.createElement(Ee.div,{render:e.render,...s,ref:r,
2style:e.style,className:e.className||`react-aria-TabPanels`},I.createElement(hn,e))}),nr=Le(function(e,t){let n=(0,I.useContext)(Yn),r=ze(t),i=n.selectedKey===e.id,[a,o]=(0,I.useState)(n.selectedKey==null?null:i);a==null&&n.selectedKey!=null?o(i):!i&&a&&o(!1);let s=N(r,i);return!i&&!e.shouldForceMount&&!s?null:I.createElement(rr,{...e,tabPanelRef:r,isInitiallySelected:a||!1,isExiting:s})});function rr(e){let t=(0,I.useContext)(Yn),{id:n,tabPanelRef:r,isInitiallySelected:i,isExiting:a,...o}=e,{tabPanelProps:s}=Sn(e,t,r),{focusProps:c,isFocused:l,isFocusVisible:u}=ue(),d=t.selectedKey===e.id,f=ee(r)&&!i,p=C({...e,defaultClassName:`react-aria-TabPanel`,values:{isFocused:l,isFocusVisible:u,isInert:Cn(!d),isEntering:f,isExiting:a,state:t}}),m=S(o,{global:!0});delete m.id;let h=d?_e(m,s,c,p):_e(m,p);return I.createElement(Ee.div,{...h,ref:r,"data-focused":l||void 0,"data-focus-visible":u||void 0,inert:Cn(!d||e.inert),"data-inert":d?void 0:`true`,"data-entering":f||void 0,"data-exiting":a||void 0},I.createElement(re,{values:[[Jn,null],[Yn,null]]},I.createElement(Dn.Provider,{value:wn},p.children)))}var L=l(),ir=()=>{let{t:e}=g();return(0,L.jsx)(`div`,{className:`relative mt-4 flex justify-end gap-2 text-sm`,children:(0,L.jsx)(Me,{to:`#`,children:e(`REPORT_PROBLEM_LINK_TEXT`)})})},ar=({children:e,minHeight:t,isMinified:n=!1,trailingContent:r})=>{let i=(0,L.jsx)(`div`,{style:t?{minHeight:`${t}px`}:void 0,className:n?Qe:Ct,children:e});return n||!r?i:(0,L.jsxs)(`div`,{className:pt,children:[i,r]})},R=e=>typeof e==`string`,or=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},sr=e=>e==null?``:``+e,cr=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},lr=/###/g,ur=e=>e&&e.indexOf(`###`)>-1?e.replace(lr,`.`):e,dr=e=>!e||R(e),fr=(e,t,n)=>{let r=R(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(dr(e))return{};let t=ur(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return dr(e)?{}:{obj:e,k:ur(r[i])}},pr=(e,t,n)=>{let{obj:r,k:i}=fr(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=fr(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=fr(e,o,Object),s&&s.obj&&typeof s.obj[`${s.k}.${a}`]<`u`&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},mr=(e,t,n,r)=>{let{obj:i,k:a}=fr(e,t,Object);i[a]=i[a]||[],i[a].push(n)},hr=(e,t)=>{let{obj:n,k:r}=fr(e,t);if(n)return n[r]},gr=(e,t,n)=>{let r=hr(e,n);return r===void 0?hr(t,n):r},_r=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?R(e[r])||e[r]instanceof String||R(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):_r(e[r],t[r],n):e[r]=t[r]);return e},vr=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),yr={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},br=e=>R(e)?e.replace(/[&<>"'\/]/g,e=>yr[e]):e,xr=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},Sr=[` `,`,`,`?`,`!`,`;`],Cr=new xr(20),wr=(e,t,n)=>{t||=``,n||=``;let r=Sr.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(r.length===0)return!0;let i=Cr.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},Tr=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:`.`;if(!e)return;if(e[t])return e[t];let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].indexOf(typeof t)>-1&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},Er=e=>e&&e.replace(`_`,`-`),Dr={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}},Or=new class e{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||`i18next:`,this.logger=e||Dr,this.options=t,this.debug=t.debug}log(){var e=[...arguments];return this.forward(e,`log`,``,!0)}warn(){var e=[...arguments];return this.forward(e,`warn`,``,!0)}error(){var e=[...arguments];return this.forward(e,`error`,``)}deprecate(){var e=[...arguments];return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(R(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},kr=class{constructor(){this.observers={}}
vendor: 15,721 bytes, line 2
2on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){var t=[...arguments].slice(1);this.observers[e]&&Array.from(this.observers[e].entries()).forEach(e=>{let[n,r]=e;for(let e=0;e<r;e++)n(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(n=>{let[r,i]=n;for(let n=0;n<i;n++)r.apply(r,[e,...t])})}},Ar=class extends kr{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:[`translation`],defaultNS:`translation`};super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.indexOf(`.`)>-1?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):R(n)&&i?o.push(...n.split(i)):o.push(n)));let s=hr(this.data,o);return!s&&!t&&!n&&e.indexOf(`.`)>-1&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!R(n)?s:Tr(this.data&&this.data[e]&&this.data[e][t],n,i)}addResource(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf(`.`)>-1&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),pr(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(let r in n)(R(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},o=[e,t];e.indexOf(`.`)>-1&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=hr(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?_r(s,n,i):s={...s,...n},pr(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.options.compatibilityAPI===`v1`?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},jr={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,i))}),t}},Mr={},Nr=class e extends kr{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),cr([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=Or.create(`translator`)}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;let n=this.resolve(e,t);return n&&n.res!==void 0}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!wr(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:R(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:R(i)?[i]:i}}translate(t,n,r){if(typeof n!=`object`&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n==`object`&&(n={...n}),n||={},t==null)return``;Array.isArray(t)||(t=[String(t)]);let i=n.returnDetails===void 0?this.options.returnDetails:n.returnDetails,a=n.keySeparator===void 0?this.options.keySeparator:n.keySeparator,{key:o,namespaces:s}=this.extractFromKey(t[t.length-1],n),c=s[s.length-1],l=n.lng||this.language,u=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&l.toLowerCase()===`cimode`){if(u){let e=n.nsSeparator||this.options.nsSeparator;return i?{res:`${c}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${e}${o}`}return i?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:o}let d=this.resolve(t,n),f=d&&d.res,p=d&&d.usedKey||o,m=d&&d.exactUsedKey||o,h=Object.prototype.toString.apply(f),g=[`[object Number]`,`[object Function]`,`[object RegExp]`],_=n.joinArrays===void 0?this.options.joinArrays:n.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,y=!R(f)&&typeof f!=`boolean`&&typeof f!=`number`;if(v&&f&&y&&g.indexOf(h)<0&&!(R(_)&&Array.isArray(f))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,f,{...n,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return i?(d.res=e,d.usedParams=this.getUsedParamsDetails(n),d):e}if(a){let e=Array.isArray(f),t=e?[]:{},r=e?m:p;for(let e in f)if(Object.prototype.hasOwnProperty.call(f,e)){let i=`${r}${a}${e}`;t[e]=this.translate(i,{...n,joinArrays:!1,ns:s}),t[e]===i&&(t[e]=f[e])}f=t}}else if(v&&R(_)&&Array.isArray(f))f=f.join(_),f&&=this.extendTranslation(f,t,n,r);else{let i=!1,s=!1,u=n.count!==void 0&&!R(n.count),p=e.hasDefaultValue(n),m=u?this.pluralResolver.getSuffix(l,n.count,n):``,h=n.ordinal&&u?this.pluralResolver.getSuffix(l,n.count,{ordinal:!1}):``,g=u&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),_=g&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${m}`]||n[`defaultValue${h}`]||n.defaultValue;!this.isValidLookup(f)&&p&&(i=!0,f=_),this.isValidLookup(f)||(s=!0,f=o);let v=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:f,y=p&&_!==f&&this.options.updateMissing;if(s||i||y){if(this.logger.log(y?`updateKey`:`missingKey`,l,c,o,y?_:f),a){let e=this.resolve(o,{...n,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(n.lng||this.language):e.push(n.lng||this.language);let r=(e,t,r)=>{let i=p&&r!==f?r:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,c,t,i,y,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,c,t,i,y,n),this.emit(`missingKey`,e,c,t,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,n);g&&n[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{r([e],o+t,n[`defaultValue${t}`]||_)})}):r(e,o,_))}f=this.extendTranslation(f,t,n,d,r),s&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${c}:${o}`),(s||i)&&this.options.parseMissingKeyHandler&&(f=this.options.compatibilityAPI===`v1`?this.options.parseMissingKeyHandler(f):this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,i?f:void 0))}return i?(d.res=f,d.usedParams=this.getUsedParamsDetails(n),d):f}extendTranslation(e,t,n,r,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let o=R(e)&&(n&&n.interpolation&&n.interpolation.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),s;if(o){let t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let c=n.replace&&!R(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(c={...this.options.interpolation.defaultVariables,...c}),e=this.interpolator.interpolate(e,c,n.lng||this.language||r.usedLng,n),o){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;s<r&&(n.nest=!1)}!n.lng&&this.options.compatibilityAPI!==`v1`&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,function(){var e=[...arguments];return i&&i[0]===e[0]&&!n.context?(a.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):a.translate(...e,t)},n)),n.interpolation&&this.interpolator.reset()}let o=n.postProcess||this.options.postProcess,s=R(o)?[o]:o;return e!=null&&s&&s.length&&n.applyPostProcessor!==!1&&(e=jr.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,r,i,a,o;return R(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!R(t.count),d=u&&!t.ordinal&&t.count===0&&this.pluralResolver.shouldUseIntlApi(),f=t.context!==void 0&&(R(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!Mr[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(Mr[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(o.push(c+e),t.ordinal&&e.indexOf(i)===0&&o.push(c+e.replace(i,this.options.pluralSeparator)),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator}${t.context}`;o.push(r),u&&(o.push(r+e),t.ordinal&&e.indexOf(i)===0&&o.push(r+e.replace(i,this.options.pluralSeparator)),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!R(e.replace),r=n?e.replace:e;if(n&&typeof e.count<`u`&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.substring(0,12)===`defaultValue`&&e[t]!==void 0)return!0;return!1}},Pr=e=>e.charAt(0).toUpperCase()+e.slice(1),Fr=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Or.create(`languageUtils`)}getScriptPartFromCode(e){if(e=Er(e),!e||e.indexOf(`-`)<0)return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=Er(e),!e||e.indexOf(`-`)<0)return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(R(e)&&e.indexOf(`-`)>-1){if(typeof Intl<`u`&&typeof Intl.getCanonicalLocales<`u`)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch{}let t=[`hans`,`hant`,`latn`,`cyrl`,`cans`,`mong`,`arab`],n=e.split(`-`);return this.options.lowerCaseLng?n=n.map(e=>e.toLowerCase()):n.length===2?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Pr(n[1].toLowerCase()))):n.length===3&&(n[0]=n[0].toLowerCase(),n[1].length===2&&(n[1]=n[1].toUpperCase()),n[0]!==`sgn`&&n[2].length===2&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Pr(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Pr(n[2].toLowerCase()))),n.join(`-`)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>{if(e===n||!(e.indexOf(`-`)<0&&n.indexOf(`-`)<0)&&(e.indexOf(`-`)>0&&n.indexOf(`-`)<0&&e.substring(0,e.indexOf(`-`))===n||e.indexOf(n)===0&&n.length>1))return e})}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),R(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return R(e)&&(e.indexOf(`-`)>-1||e.indexOf(`_`)>-1)?(this.options.load!==`languageOnly`&&i(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&i(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&i(this.getLanguagePartFromCode(e))):R(e)&&i(this.formatLanguageCode(e)),n.forEac
vendor: 4,502 bytes, line 2
2h(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}},Ir=[{lngs:[`ach`,`ak`,`am`,`arn`,`br`,`fil`,`gun`,`ln`,`mfe`,`mg`,`mi`,`oc`,`pt`,`pt-BR`,`tg`,`tl`,`ti`,`tr`,`uz`,`wa`],nr:[1,2],fc:1},{lngs:`af.an.ast.az.bg.bn.ca.da.de.dev.el.en.eo.es.et.eu.fi.fo.fur.fy.gl.gu.ha.hi.hu.hy.ia.it.kk.kn.ku.lb.mai.ml.mn.mr.nah.nap.nb.ne.nl.nn.no.nso.pa.pap.pms.ps.pt-PT.rm.sco.se.si.so.son.sq.sv.sw.ta.te.tk.ur.yo`.split(`.`),nr:[1,2],fc:2},{lngs:[`ay`,`bo`,`cgg`,`fa`,`ht`,`id`,`ja`,`jbo`,`ka`,`km`,`ko`,`ky`,`lo`,`ms`,`sah`,`su`,`th`,`tt`,`ug`,`vi`,`wo`,`zh`],nr:[1],fc:3},{lngs:[`be`,`bs`,`cnr`,`dz`,`hr`,`ru`,`sr`,`uk`],nr:[1,2,5],fc:4},{lngs:[`ar`],nr:[0,1,2,3,11,100],fc:5},{lngs:[`cs`,`sk`],nr:[1,2,5],fc:6},{lngs:[`csb`,`pl`],nr:[1,2,5],fc:7},{lngs:[`cy`],nr:[1,2,3,8],fc:8},{lngs:[`fr`],nr:[1,2],fc:9},{lngs:[`ga`],nr:[1,2,3,7,11],fc:10},{lngs:[`gd`],nr:[1,2,3,20],fc:11},{lngs:[`is`],nr:[1,2],fc:12},{lngs:[`jv`],nr:[0,1],fc:13},{lngs:[`kw`],nr:[1,2,3,4],fc:14},{lngs:[`lt`],nr:[1,2,10],fc:15},{lngs:[`lv`],nr:[1,2,0],fc:16},{lngs:[`mk`],nr:[1,2],fc:17},{lngs:[`mnk`],nr:[0,1,2],fc:18},{lngs:[`mt`],nr:[1,2,11,20],fc:19},{lngs:[`or`],nr:[2,1],fc:2},{lngs:[`ro`],nr:[1,2,20],fc:20},{lngs:[`sl`],nr:[5,1,2,3],fc:21},{lngs:[`he`,`iw`],nr:[1,2,20,21],fc:22}],Lr={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e===0?2:1,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3},Rr=[`v1`,`v2`,`v3`],zr=[`v4`],Br={zero:0,one:1,two:2,few:3,many:4,other:5},Vr=()=>{let e={};return Ir.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Lr[t.fc]}})}),e},Hr=class{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=Or.create(`pluralResolver`),(!this.options.compatibilityJSON||zr.includes(this.options.compatibilityJSON))&&(typeof Intl>`u`||!Intl.PluralRules)&&(this.options.compatibilityJSON=`v3`,this.logger.error(`Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.`)),this.rules=Vr(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){let n=Er(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(!e.match(/-|_/))return;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((e,t)=>Br[e]-Br[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):n.numbers.map(n=>this.getSuffix(e,n,t)):[]}getSuffix(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),``)}getSuffixRetroCompatible(e,t){let n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),r=e.numbers[n];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[
vendor: 20,643 bytes, line 2
20]===1&&(r===2?r=`plural`:r===1&&(r=``));let i=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return this.options.compatibilityJSON===`v1`?r===1?``:typeof r==`number`?`_plural_${r.toString()}`:i():this.options.compatibilityJSON===`v2`||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!Rr.includes(this.options.compatibilityJSON)}},Ur=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`.`,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=gr(e,t,n);return!a&&i&&R(n)&&(a=Tr(e,n,r),a===void 0&&(a=Tr(t,n,r))),a},Wr=e=>e.replace(/\$/g,`$$$$`),Gr=class{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Or.create(`interpolator`),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?br:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?vr(i):a||`{{`,this.suffix=o?vr(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u||`-`,this.unescapeSuffix=this.unescapePrefix?``:l||``,this.nestingPrefix=d?vr(d):f||vr(`$t(`),this.nestingSuffix=p?vr(p):m||vr(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){let i=Ur(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(Ur(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp();let l=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>Wr(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?Wr(this.escape(e)):Wr(e)}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0){if(typeof l==`function`){let t=l(e,i,r);a=R(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``}else!R(a)&&!this.useRawValueToEscape&&(a=sr(a));let s=t.safeValue(a);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;let r=e.split(RegExp(`${n}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);(o&&o.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];a={...n},a=a.replace&&!R(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(r[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(r[1])){let e=r[1].split(this.formatSeparator).map(e=>e.trim());r[1]=e.shift(),s=e,c=!0}if(i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!R(i))return i;R(i)||(i=sr(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),c&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}},Kr=e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf(`(`)>-1){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);t===`currency`&&i.indexOf(`:`)<0?n.currency||=i.trim():t===`relativetime`&&i.indexOf(`:`)<0?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},qr=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(Er(r),i),t[o]=s),s(n)}},Jr=class{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Or.create(`formatter`),this.options=e,this.formats={number:qr((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:qr((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:qr((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:qr((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:qr((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||`,`}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=qr(t)}format(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf(`(`)>1&&i[0].indexOf(`)`)<0&&i.find(e=>e.indexOf(`)`)>-1)){let e=i.findIndex(e=>e.indexOf(`)`)>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=Kr(t);if(this.formats[i]){let t=e;try{let o=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}},Yr=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},Xr=class extends kr{constructor(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=Or.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{mr(n.loaded,[i],a),Yr(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();R(e)&&(e=this.languageUtils.toResolveHierarchy(e)),R(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(n!=null&&n!==``){if(this.backend&&this.backend.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}!e||!e[0]||this.store.addResource(e[0],t,n,r)}}},Zr=()=>({debug:!1,initImmediate:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,simplifyPluralSuffix:!0,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),R(e[1])&&(t.defaultValue=e[1]),R(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0}}),Qr=e=>(R(e.ns)&&(e.ns=[e.ns]),R(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),R(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf(`cimode`)<0&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),e),$r=()=>{},ei=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},ti=class e extends kr{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Qr(e),this.services={},this.logger=Or,this.modules={external:[]},ei(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t==`function`&&(n=t,t={}),!t.defaultNS&&t.defaultNS!==!1&&t.ns&&(R(t.ns)?t.defaultNS=t.ns:t.ns.indexOf(`translation`)<0&&(t.defaultNS=t.ns[0]));let r=Zr();this.options={...r,...this.options,...Qr(t)},this.options.compatibilityAPI!==`v1`&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);let i=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?Or.init(i(this.modules.logger),this.options):Or.init(null,this.options);let t;this.modules.formatter?t=this.modules.formatter:typeof Intl<`u`&&(t=Jr);let n=new Fr(this.options);this.store=new Ar(this.options.resources,this.options);let a=this.services;a.logger=Or,a.resourceStore=this.store,a.languageUtils=n,a.pluralResolver=new Hr(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(a.formatter=i(t),a.formatter.init(a,this.options),this.options.interpolation.format=a.formatter.format.bind(a.formatter)),a.interpolator=new Gr(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new Xr(i(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on(`*`,function(t){var n=[...arguments].slice(1);e.emit(t,...n)}),this.modules.languageDetector&&(a.languageDetector=i(this.modules.languageDetector),a.languageDetector.init&&a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=i(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new Nr(this.services,this.options),this.translator.on(`*`,function(t){var n=[...arguments].slice(1);e.emit(t,...n)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,n||=$r,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let a=or(),o=()=>{let e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),a.resolve(t),n(e,t)};if(this.languages&&this.options.compatibilityAPI!==`v1`&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?o():setTimeout(o,0),a}loadResources(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$r,n=R(e)?e:this.language;if(typeof e==`function`&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&n.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return t();let e=[],r=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&e.indexOf(t)<0&&e.push(t)})};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>r(e)),this.options.preload&&this.options.preload.forEach(e=>r(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),t(e)})}else t(null)}reloadResources(e,t,n){let r=or();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=$r,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&jr.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!([`cimode`,`dev`].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!([`cimode`,`dev`].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;let r=or();this.emit(`languageChanging`,e);let i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(e,a)=>{a?(i(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,r.resolve(function(){return n.t(...arguments)}),t&&t(e,function(){return n.t(...arguments)})},o=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=R(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,e=>{a(e,n)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e),r}getFixedT(e,t,n){var r=this;let i=function(e,t){let a;if(typeof t!=`object`){var o=[...arguments].slice(2);a=r.options.overloadTranslationOptionHandler([e,t].concat(o))}else a={...t};a.lng=a.lng||i.lng,a.lngs=a.lngs||i.lngs,a.ns=a.ns||i.ns,a.keyPrefix!==``&&(a.keyPrefix=a.keyPrefix||n||i.keyPrefix);let s=r.options.keySeparator||`.`,c;return c=a.keyPrefix&&Array.isArray(e)?e.map(e=>`${a.keyPrefix}${s}${e}`):a.keyPrefix?`${a.keyPrefix}${s}${e}`:e,r.t(c,a)};return R(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;
vendor: 6,221 bytes, line 2
2if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=or();return this.options.ns?(R(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=or();R(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return`rtl`;let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services&&this.services.languageUtils||new Fr(Zr());return t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(){return new e(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$r,r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},a=new e(i);return(t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new Ar(this.store.data,i),a.services.resourceStore=a.store),a.translator=new Nr(a.services,i),a.translator.on(`*`,function(e){var t=[...arguments].slice(1);a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}},ni=ti.createInstance();ni.createInstance=ti.createInstance,ni.createInstance,ni.dir,ni.init,ni.loadResources,ni.reloadResources,ni.use,ni.changeLanguage,ni.getFixedT,ni.t,ni.exists,ni.setDefaultNamespace,ni.hasLoadedNamespace,ni.loadNamespaces,ni.loadLanguages;var ri={supportedLngs:[`de`,`en`],fallbackLng:`en`,defaultNS:`common`,react:{useSuspense:!1}},ii={en:{common:{CHART_TYPE_TOOLTIP_LINE:`Change the visualization to a line chart.`,CHART_TYPE_TOOLTIP_LINE_ZOOMABLE:`Change the visualization to a zoomable line chart.`,CHART_TYPE_TOOLTIP_TABLE:`Change the visualization to a table.`,CHART_TYPE_TOOLTIP_COLUMN:`Change the visualization to a column chart.`,CHART_TYPE_TOOLTIP_COLUMN_ZOOMABLE:`Change the visualization to a zoomable column chart.`,CHART_TYPE_TOOLTIP_BAR:`Change the visualization to a bar chart.`,CHART_TYPE_TOOLTIP_STACKED_BAR:`Change the visualization to a stacked bar chart.`,CHART_TYPE_TOOLTIP_STACKED_COLUMN:`Change the visualization to a stacked column chart.`,CHART_TYPE_TOOLTIP_PIE:`Change the visualization to a pie chart.`,CHART_TYPE_TOOLTIP_STACKED_AREA:`Change the visualization to a stacked area chart.`,CHART_TYPE_TOOLTIP_DUAL_Y_AXIS:`Change the visualization to a dual y-axis chart.`,CHART_TYPE_TOOLTIP_LINE_WITH_ANNOTATIONS:`Change the visualization to a line chart with annotations.`,CHART_TYPE_TOOLTIP_COLUMN_WITH_ANNOTATIONS:`Change the visualization to a column chart with annotations.`,LIVE_REGION_SWITCH_CHART_TYPE_MESSAGE:`Switched to {{chartType}} view`,LIVE_REGION_CATEGORY_FILTER_OPENED:`The category filter has been opened`,LIVE_REGION_CATEGORY_FILTER_CLOSED:`The category filter has been closed`,LIVE_REGION_CATEGORY_FILTER_ACCESS_RESTRICTED:`Access to the category filter has been restricted`,LIVE_REGION_ALL_CATEGORIES_SELECTED:`All categories have been selected`,LIVE_REGION_ALL_CATEGORIES_DESELECTED:`All categories have been deselected`,LIVE_REGION_CATEGORIE_SELECTED:`The following category has been selected:`,LIVE_REGION_CATEGORIE_DESELECTED:`The following category has been deselected:`,LIVE_REGION_COPY_FOR_AI_SUCCESS:`The data has been successfully processed for the AI and copied to the clipboard`,LIVE_REGION_COPY_DATA_SUCCESS:`The data has been successfully copied to the clipboard`,CHART_TYPE_TOOLTIP_LINE_ARIA_LABEL:`Change the visualization to a line chart.`,CHART_TYPE_TOOLTIP_LINE_ZOOMABLE_ARIA_LABEL:`Change the visualization to a zoomable line chart.`,CHART_TYPE_TOOLTIP_TABLE_ARIA_LABEL:`Change the visualization to a table.`,CHART_TYPE_TOOLTIP_COLUMN_ARIA_LABEL:`Change the visualization to a column chart.`,CHART_TYPE_TOOLTIP_COLUMN_ZOOMABLE_ARIA_LABEL:`Change the visualization to a zoomable column chart.`,CHART_TYPE_TOOLTIP_BAR_ARIA_LABEL:`Change the visualization to a bar chart.`,CHART_TYPE_TOOLTIP_STACKED_BAR_ARIA_LABEL:`Change the visualization to a stacked bar chart.`,CHART_TYPE_TOOLTIP_STACKED_COLUMN_ARIA_LABEL:`Change the visualization to a stacked column chart.`,CHART_TYPE_TOOLTIP_PIE_ARIA_LABEL:`Change the visualization to a pie chart.`,CHART_TYPE_TOOLTIP_STACKED_AREA_ARIA_LABEL:`Change the visualization to a stacked area chart.`,CHART_TYPE_TOOLTIP_DUAL_Y_AXIS_ARIA_LABEL:`Change the visualization to a dual y-axis chart.`,CHART_TYPE_TOOLTIP_LINE_WITH_ANNOTATIONS_ARIA_LABEL:`Change the visualization to a line chart with annotations.`,CHART_TYPE_TOOLTIP_COLUMN_WITH_ANNOTATIONS_ARIA_LABEL:`Change the visualization to a column chart with annotations.`,LABELS_ALL_OPTIONS:`All c
2ategories`,MULTIPLE_CATEGORIES_SELECTED:`categories`,ONE_CATEGORY_SELECTED:`category`,SELECT_ALL_CATEGORIES:`Select all categories`,DESELECT_ALL_CATEGORIES:`Deselect all categories`,NO_CATEGORY_FOUND:`No items found`,FILTER_CATEGORY:`Filter by text...`,ARIA_LABEL_CATEGORY_FILTER_BUTTON:`Category filter button`,ARIA_LABEL_SELECT_ALL_CATEGORIES:`Select all categories`,ARIA_LABEL_DESELECT_ALL_CATEGORIES:`Deselect all categories`,ARIA_LABEL_NO_CATEGORY_FOUND:`No items found`,ARIA_LABEL_FILTER_CATEGORY:`Filter by text...`,ARIA_LABEL_CATEGORY_SELECTION:`Select categories`,ARIA_LABEL_SELECT_THIS_CATEGORY:`Select {$category} category`,ARIA_LABEL_DESELECT_THIS_CATEGORY:`Deselect {$category} category`,ARIA_LABEL_SHOW_ITEM:`select`,ARIA_LABEL_HIDE_ITEM:`deselect`,SOURCE_DETAILS:`Details`,ARIA_LABEL_SOURCE_DETAILS:`Click here to show source details.`,CLOSE_SOURCE_DETAILS_PANEL:`Hide Panel`,CHART_ACTIONS_LABEL:`Chart actions`,CHART_CONTAINER_LABEL:`Chart. Highcharts interactive chart.`,HIDE_PANEL:`Hide Panel`,ARIA_LABEL_HIDE_PANEL:`Click here to hide panel.`,ARIA_LABEL_SOURCE:`Click here to show the source.`,ARIA_LABEL_SOURCES:`Click here to show sources.`,SURVEY_DETAILS:`Details`,ARIA_LABEL_SURVEY_DETAILS:`Click here to show the details.`,STATISTIC_DETAILS:`Details`,ARIA_LABEL_STATISTIC_DETAILS:`Click here to show the details.`,SURVEY_BY:`Conducted by`,SURVEY_NAME:`Survey name`,SOURCE_NAME:`Source name`,SURVEY_TIME_PERIOD:`Survey period`,COVERAGE_PERIOD:`Coverage period`,SURVEY_NUMBER_OF_RESPONDENTS:`Number of respondents`,SURVEY_AGE_GROUP:`Age group`,SURVEY_METHOD_OF_INTERVIEW:`Method of interview`,SURVEY_SPECIAL_PROPERTIES:`Special properties`,CITATIONS:`Citations`,ARIA_LABEL_CITATIONS:`Click here to show citations.`,CONTENTS_COPY_CITATION:`Copy Citation`,ARIA_LABEL_CONTENTS_COPY_CITATION:`Click here to copy citation.`,SWITCH_CHART_TYPE_LABEL:`Switch chart type`,TYPE_COLUMN:`Column`,TYPE_COLUMNZOOMABLE:`Zoomable Column`,TYPE_STACKEDCOLUMN:`Stacked column`,TYPE_STACKEDBAR:`Stacked bar`,TYPE_BAR:`Bar`,TYPE_LINE:`Line`,TYPE_LINEZOOMABLE:`Zoomable Line`,TYPE_PIE:`Pie`,TYPE_TABLE:`Table`,TYPE_STACKEDAREA:`Stacked area`,TYPE_DUALYAXIS:`Dual Y Axis`,TYPE_LINEWITHANNOTATIONS:`Line with annotations`,TYPE_COLUMNWITHANNOTATIONS:`Column with annotations`,DOWNLOAD:`Download`,ARIA_LABEL_DOWNLOAD:`Download chart`,DOWNLOAD_LABEL_CSV:`CSV`,DOWNLOAD_LABEL_SVG:`Graphic (SVG)`,DOWNLOAD_LABEL_PNG:`Graphic (PNG)`,DOWNLOAD_LABEL_PDF:`PDF`,DOWNLOAD_LABEL_XLSX:`Excel`,DOWNLOAD_LABEL_PPT:`PowerPoint`,ARIA_LABEL_DOWNLOAD_LABEL_CSV:`Download CSV file`,ARIA_LABEL_DOWNLOAD_LABEL_SVG:`Download SVG file`,ARIA_LABEL_DOWNLOAD_LABEL_PNG:`Download PNG file`,ARIA_LABEL_DOWNLOAD_LABEL_PDF:`Download PDF file`,ARIA_LABEL_DOWNLOAD_LABEL_XLSX:`Download XLSX file`,ARIA_LABEL_DOWNLOAD_LABEL_PPT:`Download PPT file`,CONTENTS_SHARE:`Share`,CONTENTS_SHARE_AFTER_MESSAGE:`The URL has been copied to your clipboard.`,ARIA_LABEL_CONTENTS_SHARE:`Share this content`,INVERT_TABLE:`Invert table`,SHOW_LABELS:`Show labels`,HIDE_LABELS:`Hide labels`,ARIA_LABEL_SHOW_LABELS:`Show labels`,ARIA_LABEL_HIDE_LABELS:`Hide labels`,HIDE_LABELS_MESSAGE:`Labels are now hidden`,SHOW_LABELS_MESSAGE:`Labels are now shown`,SHOW_TOTAL:`Show Total`,HIDE_TOTAL:`Hide Total`,ARIA_LABEL_SHOW_TOTAL:`Show Total`,ARIA_LABEL_HIDE_TOTAL:`Hide Total`,SHOW_TOTAL_MESSAGE:`Total is now hidden`,HIDE_TOTAL_MESSAGE:`Total is now visible`,CONTENTS_COPY_DATA:`Copy data`,CONTENTS_COPY_FOR_AI:`Copy for AI`,CONTENTS_COPIED:`Data has been copied to clipboard!`,CONTENTS_COPY_FOR_AI_COPIED:`Prompt has been copied to clipboard!`,PPT_DOWNLOAD_UNAVAILABLE:`PowerPoint download is currently unavailable for this chart.`,ARIA_LABEL_CONTENTS_COPY_DATA:`Copy data`,ARIA_LABEL_CONTENTS_COPY_FOR_AI:`Copy data for AI`,CLOSE:`Close`,ARIA_LABEL_CLOSE:`Close`,VISIT_PAGE:`Visit the full version`,ARIA_LABEL_VISIT_PAGE:`Visit the full version`,ASK_RESEARCH_AI:`Ask Research AI`,ARIA_LABEL_ASK_RESEARCH_AI:`Ask Research AI `,OTHER:`Other`,MOST_RECENT_UPDATE:`Last updated`,SOURCE:`Source`,SOURCES:`Sources`,IPP_SOURCES:`Show sources & publisher information`,FULLSCREEN:`Fullscreen`,FULLSCREEN_ENTER_MESSAGE:`Entered fullscreen mode`,FULLSCREEN_EXIT_MESSAGE:`Exited fullscreen mode`,ARIA_LABEL_FULLSCREEN:`Fullscreen`,PREVIEW:`Preview`,REGIONS:`Regions`,REGION:`Region`,UNABLE_TO_RENDER_CHART:`Currently unable to load the chart. Please try again in a moment. 3If the problem persists, refresh the page or contact support.`,UNABLE_TO_RENDER_PIE_CHART:`Pie charts can only display one series. Please select a different chart type.`,SHEET:`SHEET1`,CITATION_RETRIEVED_FROM:`Retrieved from`,ADDITIONAL_INFORMATION:`Additional information`,PUBLISHED_BY:`Published by`,SOURCE_LINK:`Source link`,SOURCE_LINKS:`Source links`,RELEASE_DATE:`Source release date`,SUPPLEMENTARY_NOTES:`Supplementary notes`,ARIA_DESCRIBEDBY_SORT_HELP:`Press Enter or Space on a column header to sort.`,ARIA_LABEL_PAYWALL_PROTECTED_CHART:`Paywall protected chart`,EXPAND_CHART:`Expand chart`,MINIMIZE_CHART:`Minimize chart`,ORIGINAL_SOURCE:`Original data`,ARIA_LABEL_ORIGINAL_SOURCE:`Link to original data`,VISIT_ORIGINAL_SOURCE:`Visit original chart`,SOURCES_LINKS_DESCRIPTION:`About generated charts`,CHARACTERISTICS:`Characteristics`,REPORT_PROBLEM_LINK_TEXT:`Report a problem`,LINK:`Link`,CITATIONS_BUTTON_TEXT:`Citations`,ARIA_LABEL_CITATIONS_BUTTON:`Open citations`,PARTNER_LOGO:`Partner Logo`,MORE_SOURCES:`More sources`}
3,table:{STATISTIC_DISPLAYED_TABLE_ENTRIES:`Showing entries {{start}} to {{end}} ({{total}} entries in total)`}},de:{common:{CHART_TYPE_TOOLTIP_LINE:`Ãndern Sie die Darstellung zu einem Liniendiagramm.`,CHART_TYPE_TOOLTIP_LINE_ZOOMABLE:`Ãndern Sie die Darstellung zu einem zoombaren Liniendiagramm.`,CHART_TYPE_TOOLTIP_TABLE:`Ãndern Sie die Darstellung zu einer Tabelle.`,CHART_TYPE_TOOLTIP_COLUMN:`Ãndern Sie die Darstellung zu einem Säulendiagramm.`,CHART_TYPE_TOOLTIP_COLUMN_ZOOMABLE:`Ãndern Sie die Darstellung zu einem zoombaren Säulendiagramm.`,CHART_TYPE_TOOLTIP_BAR:`Ãndern Sie die Darstellung zu einem Balkendiagramm.`,CHART_TYPE_TOOLTIP_STACKED_BAR:`Ãndern Sie die Darstellung zu einem Balkendiagramm (gestapelt).`,CHART_TYPE_TOOLTIP_STACKED_COLUMN:`Ãndern Sie die Darstellung zu einem Säulendiagramm (gestapelt).`,CHART_TYPE_TOOLTIP_PIE:`Ãndern Sie die Darstellung zu einem Kreisdiagramm.`,CHART_TYPE_TOOLTIP_STACKED_AREA:`Ãndern Sie die Darstellung zu einem Flächendiagramm (gestapelt).`,CHART_TYPE_TOOLTIP_DUAL_Y_AXIS:`Ãndern Sie die Darstellung zu einem Diagramm mit dualer Y-Achse.`,CHART_TYPE_TOOLTIP_LINE_WITH_ANNOTATIONS:`Ãndern Sie die Darstellung zu einem Liniendiagramm mit Anmerkungen.`,CHART_TYPE_TOOLTIP_COLUMN_WITH_ANNOTATIONS:`Ãndern Sie die Darstellung zu einem Säulendiagramm mit Anmerkungen.`,LIVE_REGION_SWITCH_CHART_TYPE_MESSAGE:`Zu {{chartType}}-Ansicht gewechselt`,LIVE_REGION_CATEGORY_FILTER_OPENED:`Kategorie Filter wurde geöffnet`,LIVE_REGION_CATEGORY_FILTER_CLOSED:`Kategorie Filter wurde geschlossen`,LIVE_REGION_CATEGORY_FILTER_ACCESS_RESTRICTED:`Zugriff auf Kategorie Filter eingeschränkt`,LIVE_REGION_ALL_CATEGORIES_SELECTED:`Alle Kategorien wurden ausgewählt`,LIVE_REGION_ALL_CATEGORIES_DESELECTED:`Alle Kategorien wurden abgewählt`,LIVE_REGION_CATEGORIE_SELECTED:`Folgende Kategorie wurde ausgewählt:`,LIVE_REGION_CATEGORIE_DESELECTED:`Folgende Kategorie wurde abgewählt:`,LIVE_REGION_COPY_FOR_AI_SUCCESS:`Daten wurden erfolgreich für KI aufbereitet und in die Zwischenablage kopiert`,LIVE_REGION_COPY_DATA_SUCCESS:`Daten wurden erfolgreich in die Zwischenablage kopiert`,CHART_TYPE_TOOLTIP_LINE_ARIA_LABEL:`Darstellung zu einem Liniendiagramm ändern.`,CHART_TYPE_TOOLTIP_LINE_ZOOMABLE_ARIA_LABEL:`Darstellung zu einem zoombaren Liniendiagramm ändern.`,CHART_TYPE_TOOLTIP_TABLE_ARIA_LABEL:`Darstellung zu einer Tabelle ändern.`,CHART_TYPE_TOOLTIP_COLUMN_ARIA_LABEL:`Darstellung zu einem Säulendiagramm ändern.`,CHART_TYPE_TOOLTIP_COLUMN_ZOOMABLE_ARIA_LABEL:`Darstellung zu einem zoombaren Säulendiagramm ändern.`,CHART_TYPE_TOOLTIP_BAR_ARIA_LABEL:`Darstellung zu einem Balkendiagramm ändern.`,CHART_TYPE_TOOLTIP_STACKED_BAR_ARIA_LABEL:`Darstellung zu einem Balkendiagramm (gestapelt) ändern.`,CHART_TYPE_TOOLTIP_STACKED_COLUMN_ARIA_LABEL:`Darstellung zu einem Säulendiagramm (gestapelt) ändern.`,CHART_TYPE_TOOLTIP_PIE_ARIA_LABEL:`Darstellung zu einem Kreisdiagramm ändern.`,CHART_TYPE_TOOLTIP_STACKED_AREA_ARIA_LABEL:`Darstellung zu einem Flächendiagramm (gestapelt) ändern.`,CHART_TYPE_TOOLTIP_DUAL_Y_AXIS_ARIA_LABEL:`Darstellung zu einem Diagramm mit dualer Y-Achse ändern.`,CHART_TYPE_TOOLTIP_LINE_WITH_ANNOTATIONS_ARIA_LABEL:`Darstellung zu einem Liniendiagramm mit Anmerkungen ändern.`,CHART_TYPE_TOOLTIP_COLUMN_WITH_ANNOTATIONS_ARIA_LABEL:`Darstellung zu einem Säulendiagramm mit Anmerkungen ändern.`,LABELS_ALL_OPTIONS:`Alle anzeigen`,MULTIPLE_CATEGORIES_SELECTED:`Kategorien`,ONE_CATEGORY_SELECTED:`Kategorie`,SELECT_ALL_CATEGORIES:`Alle Kategorien auswählen`,DESELECT_ALL_CATEGORIES:`Alle Kategorien abwählen`,NO_CATEGORY_FOUND:`Keine Kategorien gefunden`,FILTER_CATEGORY:`Nach Text filtern...`,ARIA_LABEL_CATEGORY_FILTER_BUTTON:`Katergorie Filter Button`,ARIA_LABEL_SELECT_ALL_CATEGORIES:`Alle Kategorien auswählen`,ARIA_LABEL_DESELECT_ALL_CATEGORIES:`Alle Kategorien abwählen`,ARIA_LABEL_NO_CATEGORY_FOUND:`Keine Kategorien gefunden`,ARIA_LABEL_FILTER_CATEGORY:`Nach Text filtern...`,ARIA_LABEL_CATEGORY_SELECTION:`Kategorien wählen`,ARIA_LABEL_SELECT_THIS_CATEGORY:`Kategorie {$category} auswählen`,ARIA_LABEL_DESELECT_THIS_CATEGORY:`Kategorie {$category} abwählen`,ARIA_LABEL_SHOW_ITEM:`einblenden`,ARIA_LABEL_HIDE_ITEM:`ausblenden`,SOURCE_DETAILS:`Details`,ARIA_LABEL_SOURCE_DETAILS:`Hier klicken, um die Quellendetails einzublenden.`,CLOSE_SOURCE_DETAILS_PANEL:`SchlieÃen`,CHART_ACTIONS_LABEL:`Diagrammaktionen`,CHART_CONTAINER_LABEL:`Diagramm. Interaktives Highcharts-Diagramm.`,HIDE_PANEL:`SchlieÃen`,ARIA_LABEL_HIDE_PANEL:`Hier klicken, um das Panel auszublenden`,ARIA_LABEL_SOURCE:`Hier klicken, um die Quelle anzuzeigen.`,ARIA_LABEL_SOURCES:`Hier klicken, um die Quellen anzuzeigen.`,SURVEY_DETAILS:`Details`,ARIA_LABEL_SURVEY_DETAILS:`Hier klicken, um die Details einzublenden.`,STATISTIC_DETAILS:`Details`,ARIA_LABEL_STATISTIC_DETAILS:`Hier klicken, um die Details einzublenden.`,SURVEY_BY:`Erhebung durch`,SURVEY_NAME:`Name der Umfrage`,SOURCE_NAME:`Name der Quelle`,SURVEY_TIME_PERIOD:`Erhebungszeitraum`,COVERAGE_PERIOD:`Erhebungszeitraum`,SURVEY_NUMBER_OF_RESPONDENTS:`Anzahl der Befragten`,SURVEY_AGE_GROUP:`Altersgruppe`,SURVEY_METHOD_OF_INTERVIEW:`Methode der Befragung`,SURVEY_SPECIAL_PROPERTIES:`Besondere Eigenschaften`,CITATIONS:`Zitate`,ARIA_LABEL_CITATIONS:`Hier klicken, um die Zitationsfunktion einzublenden.`,CONTENTS_COPY_CITATION:`Zitat kopieren`,ARIA_LABEL_CONTENTS_COPY_CITATION:`Hier klicken, um die Zitation zu kopieren.`,SWITCH_CHART_TYPE_LABEL:`Diagrammtyp ändern`,TYPE_COLUMN:`Balken/Säule`,TYPE_COLUMNZOOMABLE:`Zoombare Säule`,TYPE_STACKEDCOLUMN:`Stapelsäule`,TYPE_STACKEDBAR:`Stapelbalken`,TYPE_BAR:`Balken`,TYPE_LINE:`Linie`,TYPE_LINEZOOMABLE:`Zoombare Linie`,TYPE_TABLE:`Tabelle`,TYPE_PIE:`Kreisdiagramm`,TYPE_STACKEDAREA:`Stapelfläche`,TYPE_DUALYAXIS:`Duale Y-Achse`,TYPE_LINEWITHANNOTATIONS:`
3Linie mit Anmerkungen`,TYPE_COLUMNWITHANNOTATIONS:`Säule mit Anmerkungen`,DOWNLOAD:`Herunterladen`,ARIA_LABEL_DOWNLOAD:`Diagramm herunterladen`,DOWNLOAD_LABEL_CSV:`CSV`,DOWNLOAD_LABEL_SVG:`Grafik (SVG)`,DOWNLOAD_LABEL_PNG:`Grafik (PNG)`,DOWNLOAD_LABEL_PDF:`PDF`,DOWNLOAD_LABEL_XLSX:`XLSX`,DOWNLOAD_LABEL_PPT:`PPT`,ARIA_LABEL_DOWNLOAD_LABEL_CSV:`CSV Datei herunterladen`,ARIA_LABEL_DOWNLOAD_LABEL_SVG:`SVG Grafik herunterladen`,ARIA_LABEL_DOWNLOAD_LABEL_PNG:`PNG Grafik herunterladen`,ARIA_LABEL_DOWNLOAD_LABEL_PDF:`PDF Datei herunterladen`,ARIA_LABEL_DOWNLOAD_LABEL_XLSX:`XLSX Datei herunterladen`,ARIA_LABEL_DOWNLOAD_LABEL_PPT:`PPT Datei herunterladen`,CONTENTS_SHARE:`Teilen`,CONTENTS_SHARE_AFTER_MESSAGE:`Die URL wurde in Ihre Zwischenablage kopiert.`,ARIA_LABEL_CONTENTS_SHARE:`Diesen Inhalt teilen`,INVERT_TABLE:`Tabelle invertieren`,SHOW_LABELS:`Datenpunkte einblenden`,HIDE_LABELS:`Datenpunkte ausblenden`,ARIA_LABEL_SHOW_LABELS:`Datenpunkte einblenden`,ARIA_LABEL_HIDE_LABELS:`Datenpunkte ausblenden`,HIDE_LABELS_MESSAGE:`Beschriftungen sind jetzt ausgeblendet`,SHOW_LABELS_MESSAGE:`Beschriftungen werden jetzt angezeigt`,SHOW_TOTAL:`Total einblenden`,HIDE_TOTAL:`Total ausblenden`,ARIA_LABEL_SHOW_TOTAL:`Total einblenden`,ARIA_LABEL_HIDE_TOTAL:`Total ausblenden`,HIDE_TOTAL_MESSAGE:`Total ist jetzt ausgeblendet`,SHOW_TOTAL_MESSAGE:`Total wird jetzt angezeigt`,CONTENTS_COPY_DATA:`Daten kopieren`,CONTENTS_COPY_FOR_AI:`Für AI kopieren`,CONTENTS_COPIED:`Daten wurden in die Zwischenablage kopiert!`,CONTENTS_COPY_FOR_AI_COPIED:`Prompt wurde in die Zwischenablage kopiert!`,PPT_DOWNLOAD_UNAVAILABLE:`Der PowerPoint-Download ist für dieses Diagramm aktuell nicht verfügbar.`,ARIA_LABEL_CONTENTS_COPY_DATA:`Daten kopieren`,ARIA_LABEL_CONTENTS_COPY_FOR_AI:`Daten für AI kopieren`,CLOSE:`SchlieÃen`,ARIA_LABEL_CLOSE:`SchlieÃen`,VISIT_PAGE:`Besuchen Sie die Vollversion`,ARIA_LABEL_VISIT_PAGE:`Besuchen Sie die Vollversion`,ASK_RESEARCH_AI:`Research AI fragen`,ARIA_LABEL_ASK_RESEARCH_AI:`Research AI fragen`,OTHER:`Sonstige`,MOST_RECENT_UPDATE:`Letztes Update`,SOURCE:`Quelle`,SOURCES:`Quellen`,IPP_SOURCES:`Quellen- und Herausgeberinformationen anzeigen`,FULLSCREEN:`Vollbild`,FULLSCREEN_ENTER_MESSAGE:`Vollbildmodus aktiviert`,FULLSCREEN_EXIT_MESSAGE:`Vollbildmodus beendet`,ARIA_LABEL_FULLSCREEN:`Vollbildmodus`,PREVIEW:`Vorschau`,REGIONS:`Regionen`,REGION:`Region`,UNABLE_TO_RENDER_CHART:`Die Darstellung kann derzeit nicht geladen werden. Bitte versuchen Sie es in Kürze erneut. 4Sollte das Problem weiterhin bestehen, aktualisieren Sie die Seite oder wenden Sie sich an den Support.`,UNABLE_TO_RENDER_PIE_CHART:`Kreisdiagramme können nur eine Serie anzeigen. Bitte wählen Sie einen anderen Diagrammtyp.`,SHEET:`Tabelle1`,CITATION_RETRIEVED_FROM:`Abgerufen von`,ADDITIONAL_INFORMATION:`Zusätzliche Informationen`,PUBLISHED_BY:`Herausgegeben von`,SOURCE_LINK:`Herkunftsverweis`,SOURCE_LINKS:`Herkunftsverweise`,RELEASE_DATE:`Veröffentlichungsd
4atum der Quelle`,SUPPLEMENTARY_NOTES:`Hinweise und Anmerkungen anzeigen`,ARIA_DESCRIBEDBY_SORT_HELP:`Eingabe- oder Leertaste auf einer Spaltenüberschrift drücken, um zu sortieren.`,ARIA_LABEL_PAYWALL_PROTECTED_CHART:`Diagramm, das durch eine Paywall geschützt ist`,EXPAND_CHART:`Diagramm vergröÃern`,MINIMIZE_CHART:`Diagramm minimieren`,ORIGINAL_SOURCE:`Originaldaten`,ARIA_LABEL_ORIGINAL_SOURCE:`Link zu den Originaldaten`,VISIT_ORIGINAL_SOURCE:`Originaldaten besuchen`,SOURCES_LINKS_DESCRIPTION:`Beschreibung der Quellen- und Herkunftsverweise`,CHARACTERISTICS:`Merkmal`,REPORT_PROBLEM_LINK_TEXT:`Problem melden`,LINK:`Link`,CITATIONS_BUTTON_TEXT:`Quellen`,ARIA_LABEL_CITATIONS_BUTTON:`Quellen öffnen`,PARTNER_LOGO:`Partner Logo`,MORE_SOURCES:`Weitere Quellen`},table:{STATISTIC_DISPLAYED_TABLE_ENTRIES:`Es werden die Daten {{start}} bis {{end}} angezeigt von insgesamt {{total}}`}}};function ai(e){let t=e.toLowerCase().split(`-`)[0];return t===`de`||t===`en`?t:ri.fallbackLng}var oi=({children:e,locale:t})=>{let[n]=(0,I.useState)(()=>ni.createInstance()),[r,i]=(0,I.useState)(!1);return(0,I.useEffect)(()=>{let e=!1;return(async()=>{let r=ai(t);n.isInitialized?n.language!==r&&await n.changeLanguage(r):await n.init({...ri,resources:ii,ns:[`common`,`table`],lng:r,fallbackLng:ri.fallbackLng,defaultNS:ri.defaultNS,react:{useSuspense:!1},interpolation:{escapeValue:!1}}),e||i(!0)})().catch(t=>{console.error(`Failed to initialize chart i18n`,t),e||i(!0)}),()=>{e=!0}},[n,t]),r?(0,L.jsx)(x,{i18n:n,children:e}):(0,L.jsx)(L.Fragment,{children:e})},si=e=>({isHeaderVisible:e?.header?.container?.visible??!0,isChartTypeSwitchVisible:e?.chart?.chartTypeSwitch?.visible??!0,isCategoryFilterVisible:e?.chart?.categoryFilter?.visible??!0,isSupportTextVisible:e?.chart?.supportText?.visible??!0,isFooterVisible:e?.footer?.container?.visible??!0,isReportLinkVisible:e?.footer?.reportLink?.visible??!0,isDownloadVisible:e?.chart?.download?.visible??!0}),ci={default:{base:468,headerWithSubtitle:64,headerWithoutSubtitle:48,controls:56,footer:72},minified:{base:260,headerWithSubtitle:110,headerWithoutSubtitle:110,footer:64}},li=(e,t)=>e.isHeaderVisible?t.headerWithoutSubtitle:0,ui=(e,t)=>t.controls&&(e.isChartTypeSwitchVisible||e.isCategoryFilterVisible)?t.controls:0,di=(e,t)=>e.isFooterVisible?t.footer:0,fi=(e,t)=>{let n=t?ci.minified:ci.default,r=si(`uiConfiguration`in e?e.uiConfiguration:void 0);return n.base+li(r,n)+ui(r,n)+di(r,n)},pi=`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='0'%20height='0'%3e%3csymbol%20id='16-circle-checkmark-color'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_3689_10626)'%3e%3cpath%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016Z'%20fill='%230666E5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.8536%205.14645C12.0488%205.34171%2012.0488%205.65829%2011.8536%205.85355L7.35355%2010.3536C7.15829%2010.5488%206.84171%2010.5488%206.64645%2010.3536L4.64645%208.35355C4.45118%208.15829%204.45118%207.84171%204.64645%207.64645C4.84171%207.45118%205.15829%207.45118%205.35355%207.64645L7%209.29289L11.1464%205.14645C11.3417%204.95118%2011.6583%204.95118%2011.8536%205.14645Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%3e%3cpath%20d='M0%200%20H16%20V16%20H0%20Z'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/symbol%3e%3c/svg%3e`,mi=({name:e,size:t,...n})=>{if(!hi.includes(e))return;let r=Number(e.match(/^(16|18|24|32|48)-/)?.[1]),i=t??r,a={width:i,height:i};return(0,L.jsx)(`svg`,{...n,viewBox:`0 0 ${r} ${r}`,style:a,"aria-hidden":`true`,children:(0,L.jsx)(`use`,{href:`${pi}#${e}`})})},hi=[`16-circle-checkmark-color`],gi=`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='0'%20height='0'%3e%3csymbol%20id='12-reg-chevron-down'%20fill='none'%20viewBox='0%200%2012%2012'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M6%209a.5.5%200%200%201-.376-.17l-3.5-4a.5.5%200%201%201%20.752-.66L6%207.74l3.124-3.57a.5.5%200%201%201%20.752.66l-3.5%204A.5.5%200%200%201%206%209z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3csymbol%20id='12-reg-chevron-up'
4%20fill='none'%20viewBox='0%200%2012%2012'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M6%203a.5.5%200%200%201%20.376.17l3.5%204a.5.5%200%200%201-.752.66L6%204.26%202.876%207.83a.5.5%200%200%201-.752-.66l3.5-4A.5.5%200%200%201%206%203z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3csymbol%20id='16-bold-check-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M12.707%204.793a1%201%200%200%201%200%201.414l-5%205a1%201%200%200%201-1.414%200l-2.5-2.5a1%201%200%200%201%201.414-1.414L7%209.086l4.293-4.293a1%201%200%200%201%201.414%200z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3csymbol%20id='16-bold-cross-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20d='M5.707%204.293a1%201%200%200%200-1.414%201.414L6.586%208l-2.293%202.293a1%201%200%201%200%201.414%201.414L8%209.414l2.293%202.293a1%201%200%200%200%201.414-1.414L9.414%208l2.293-2.293a1%201%200%200%200-1.414-1.414L8%206.586%205.707%204.293z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-bold-download-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20d='M9%207.586V3a1%201%200%200%200-2%200v4.586l-.793-.793a1%201%200%200%200-1.414%201.414l2.5%202.5a1%201%200%200%200%201.414%200l2.5-2.5a1%201%200%200%200-1.414-1.414L9%207.586zM4%2013a1%201%200%200%201%201-1h6.5a1%201%200%201%201%200%202H5a1%201%200%200%201-1-1z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-bold-mag-glass-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M2%207a5%205%200%200%200%207.757%204.171l2.536%202.536a1%201%200%200%200%201.414-1.414l-2.536-2.536A5%205%200%201%200%202%207zm2.879%202.121A3%203%200%201%201%209.12%204.88%203%203%200%200%201%204.88%209.12z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3csymbol%20id='16-bold-visibility-off'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M3.293%203.293a1%201%200%200%201%201.414%200l8%208a1%201%200%200%201-1.414%201.414l-.77-.77A5.842%205.842%200%200%201%208%2012.5c-2.118%200-3.615-1.068-4.545-2.07a8.192%208.192%200%200%201-1.278-1.832%205.024%205.024%200%200%201-.086-.182l-.007-.013-.002-.005v-.002S2.08%208.394%202.997%208l-.917.393a1.001%201.001%200%200%201%200-.788L3%208l-.919-.394v-.002l.002-.003.003-.007.01-.02a3.86%203.86%200%200%201%20.138-.284c.095-.18.234-.426.422-.707.27-.405.649-.895%201.148-1.365l-.511-.51a1%201%200%200%201%200-1.415zm5.03%206.445l.645.644c-.298.075-.62.118-.968.118-1.382%200-2.385-.682-3.08-1.43a6.194%206.194%200%200%201-.772-1.035L4.128%208a6.177%206.177%200%200%201%201.09-1.367L6.28%207.694a1.748%201.748%200%200%200%202.043%202.044z'%20clip-rule='evenodd'%20/%3e%3cpath%20fill='currentColor'%20d='M7.505%204.426a1%201%200%200%201%201.093-.897c1.91.189%203.249%201.245%204.08%202.188a8.227%208.227%200%200%201%201.153%201.702%204.552%204.552%200%200%201%20.079.166l.005.013.003.005v.001S13.92%207.606%2013%208l.919.394-.002.004-.003.007-.007.017-.025.055a7.653%207.653%200%200%201-.432.778%201%201%200%200%201-1.69-1.072c.042-.065.08-.126.112-.183a6.232%206.232%200%200%200-.693-.96c-.633-.717-1.543-1.399-2.777-1.52a1%201%200%200%201-.897-1.094z'%20/%3e%3cpath%20fill='currentColor'%20d='M13.919%208.394a1%201%200%200%200%200-.788l-.92.394.92.394z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-bold-visibility-on'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20d='M8%209.732a1.75%201.75%200%201%200%200-3.5%201.75%201.75%200%200%200%200%203.5z'%20/%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M13.919%207.605c.108.252.108.537%200%20.789L13%208c.92.394.919.395.918.396v.002l-.003.005-.006.013a2.617%202.617%200%200%201-.086.182%208.192%208.192%200%200%201-1.278%201.833C11.615%2011.431%2010.118%2012.5%208%2012.5s-3.615-1.068-4.545-2.07a8.195%208.195%200%200%201-1.278-1.832%205.026%205.026%200%200%201-.086-.182l-.006-.013-.003-.005v-.002l-.001-.002L2.999%208l-.918.394a1%201%200%200%201%200-.788L2.999%208c-.919-.394-.918-.395-.917-.396v-.002l.003-.005.006-.013a3.106%203.106%200%200%201%20.086-.182A8.193%208.193%200%200%201%203.455%205.57C4.385%204.569%205.882%203.5%208%203.5s3.615%201.068%204.545%202.07a8.19%208.19%200%200%201%201.278%201.832%204.889%204.889%200%200%201%20.086.182l.006.013.003.005v.003zM4.92%206.93c-.347.374-.603.751-.772%201.035L4.128%208l.02.035c.169.284.425.66.772%201.035.695.748%201.698%201.43%203.08%201.43%201.382%200%202.385-.682%203.08-1.43a6.19%206.19%200%200%200%20.772-1.035l.02-.035-.02-.035a6.19%206.19%200%200%200-.772-1.035C10.385%206.182%209.382%205.5%208%205.5c-1.382%200-2.385.682-3.08%201.43zM13%208c.92-.394.919-.394.919-.395L13%208z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3csymbol%20id='16-fill-cross-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20d='M11.146%204.146
4a.5.5%200%200%201%20.708.708L8.707%208l3.147%203.146a.5.5%200%200%201-.708.708L8%208.707l-3.146%203.147a.5.5%200%200%201-.708-.708L7.293%208%204.146%204.854a.5.5%200%201%201%20.708-.708L8%207.293l3.146-3.147z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-fill-favorite'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20d='M8.457%202.796a.5.5%200%200%200-.914%200L6.141%205.942l-3.424.361a.5.5%200%200%200-.283.869l2.558%202.305-.714%203.369a.5.5%200%200%200%20.739.537L8%2011.663l2.983%201.72a.5.5%200%200%200%20.739-.537l-.715-3.369%202.558-2.305a.5.5%200%200%200-.282-.869L9.86%205.942%208.457%202.796z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-fill-funnel-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20d='M3.5%203a.5.5%200%200%200-.376.829L6.5%207.687V12.5a.5.5%200%200%200%20.854.354l2-2A.5.5%200%200%200%209.5%2010.5V7.688l3.376-3.858a.5.5%200%200%200-.376-.83h-9z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-reg-copy'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M10.5%2010.4996H13.5V2.49957H5.5V5.49957'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.5%205.49963H2.5V13.4996H10.5V5.49963Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/symbol%3e%3csymbol%20id='16-reg-funnel-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M3.045%203.293A.5.5%200%200%201%203.5%203h9a.5.5%200%200%201%20.376.829L9.5%207.687V10.5a.5.5%200%200%201-.146.354l-2%202A.5.5%200%200%201%206.5%2012.5V7.687L3.124%203.83a.5.5%200%200%201-.08-.536zM4.602%204l2.774%203.17a.5.5%200%200%201%20.124.33v3.792l1-1V7.5a.5.5%200%200%201%20.124-.33L11.398%204H4.602z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3csymbol%20id='16-reg-info'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M8%2014A6%206%200%201%200%208%202a6%206%200%200%200%200%2012zm0%201A7%207%200%201%200%208%201a7%207%200%200%200%200%2014z'%20clip-rule='evenodd'%20/%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M6.5%207.5A.5.5%200%200%201%207%207h1a.5.5%200%200%201%20.5.5V11H9a.5.5%200%200%201%200%201H8a.5.5%200%200%201-.5-.5V8H7a.5.5%200%200%201-.5-.5z'%20clip-rule='evenodd'%20/%3e%3cpath%20fill='currentColor'%20d='M8.75%205.25a.75.75%200%201%201-1.5%200%20.75.75%200%200%201%201.5%200z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-reg-share'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M10.625%206.313c-.613%200-1.17-.246-1.575-.644L6.616%207.234a2.246%202.246%200%200%201%200%201.532l2.434%201.565a2.25%202.25%200%201%201-.541.84L6.075%209.607a2.25%202.25%200%201%201%200-3.214L8.509%204.83a2.25%202.25%200%201%201%202.116%201.484zm-1.25-2.25a1.25%201.25%200%201%201%20.205.685l-.006-.01-.007-.01a1.244%201.244%200%200%201-.192-.665zM5.562%208.66a.516.516%200%200%200-.02.032A1.249%201.249%200%200%201%203.25%208a1.25%201.25%200%201%201%202.312.66zm4.004%202.612a1.25%201.25%200%201%200%20.014-.021l-.006.01a.834.834%200%200%201-.008.011z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3c/svg%3e`,_i=({icon:e,name:t=e,size:n,...r})=>
4{if(!t)throw Error(`Missing 'name' prop`);if(!vi.includes(t))return;let i=Number(t.match(/^(12|16|24|32)-/)?.[1]),a=n??i,o={width:a,height:a};return(0,L.jsx)(`svg`,{...r,viewBox:`0 0 ${i} ${i}`,style:o,"aria-hidden":`true`,children:(0,L.jsx)(`use`,{href:`${gi}#${t}`})})},vi=[`12-reg-chevron-down`,`12-reg-chevron-up`,`16-bold-check-normal`,`16-bold-cross-normal`,`16-bold-download-normal`,`16-bold-mag-glass-normal`,`16-bold-visibility-off`,`16-bold-visibility-on`,`16-fill-cross-normal`,`16-fill-favorite`,`16-fill-funnel-normal`,`16-reg-copy`,`16-reg-funnel-normal`,`16-reg-info`,`16-reg-share`];[...vi,...hi];var yi=e=>{if(!e.name)throw Error(`Missing 'name' prop`);if(xi(e)&&hi.includes(e.name))return(0,L.jsx)(mi,{...e});if(bi(e)&&vi.includes(e.name))return(0,L.jsx)(_i,{...e})},bi=e=>e!==void 0,xi=e=>e!==void 0,Si=({className:e,children:t})=>(0,L.jsx)(`div`,{className:[`animate-pulse`,`bg-surface-muted rounded`,e].filter(Boolean).join(` `),children:t}),Ci=(e,t)=>t?e:e.replace(/<span class=["']masked_value["']>(.*?)<\/span>/g,`<button type="button" data-paywall-trigger="true"> 5 <span class="blur-sm cursor-pointer">$1</span> 6 </button>`),wi=({uiConfiguration:e,isMinified:t=!1,minHeight:n,title:r,subtitle:i,description:a})=>{let{isHeaderVisible:o,isChartTypeSwitchVisible:s,isCategoryFilterVisible:c,isSupportTextVisible:l,isFooterVisible:u,isDownloadVisible:d,isReportLinkVisible:f}=si(e);return(0,L.jsx)(ar,{minHeight:n,trailingContent:f&&(0,L.jsx)(ir,{}),children:(0,L.jsxs)(`div`,{style:{minHeight:`${n}px`},children:[o&&(0,L.jsxs)(`div`,{className:`flex-col overflow-hidden`,children:[(0,L.jsxs)(`div`,{className:`flex items-start justify-between gap-2 px-4`,children:[(0,L.jsxs)(`div`,{className:`[text-box-edge:text_alphabetic] [text-box-trim:trim-start]`,children:[r&&(0,L.jsx)(Ge,{renderAs:`h3`,size:`xs`,className:`mb-0 line-clamp-2 pb-1 text-sm font-semibold [text-wrap:wrap]`,children:r}),i&&(0,L.jsx)(`span`,{className:`line-clamp-2 text-xs font-normal`,children:i})]}),!t&&d&&(0,L.jsx)(Si,{className:`size-10 shrink-0 @xl/widgetBox:w-[140px]`})]}),(0,L.jsx)(`hr`,{className:`my-2 text-[#e5e5e5]`})]}),t?(0,L.jsx)(`div`,{className:`p-4 @xl/widgetBox:px-6`,children:(0,L.jsx)(Si,{className:`h-[215px]`})}):(0,L.jsx)(`div`,{className:`px-4 @xl/widgetBox:px-6`,children:(0,L.jsxs)(`div`,{className:l?`mt-1 grid gap-4 @xl/widgetBox:gap-8 @4xl/widgetBox:grid-cols-3`:``,children:[(0,L.jsxs)(`div`,{className:l?`@4xl/widgetBox:col-span-2`:``,children:[(s||c)&&(0,L.jsxs)(`div`,{className:`flex flex-row justify-between`,children:[s&&(0,L.jsx)(Si,{className:`mb-4 flex h-10 w-full gap-2 @xl/widgetBox:w-1/4 @7xl/widgetBox:w-1/2`}),c&&(0,L.jsx)(Si,{className:`mb-4 flex h-10 w-1/4 gap-2`})]}),(0,L.jsx)(Si,{className:`h-[400px] w-full`})]}),l&&!t&&(0,L.jsx)(`div`,{className:`relative h-auto max-h-[320px] lg:h-[470px] lg:max-h-full`,children:(0,L.jsx)(`div`,{className:`max-h-[320px] overflow-y-auto pb-6 lg:h-full lg:max-h-full lg:pb-[50px]`,role:`presentation`,children:(0,L.jsx)(qe,{content:Ci(a??``,!1)})})})]})}),u&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(`hr`,{className:`my-4 text-[#e5e5e5]`}),(0,L.jsx)(`div`,{className:`flex flex-row justify-between px-4`,children:(0,L.jsxs)(`div`,{className:`flex w-1/2 flex-col`,children:[(0,L.jsx)(Si,{className:`mb-2 h-4 w-1/2`}),(0,L.jsx)(Si,{className:`h-4 w-1/3`})]})})]})]})})},Ti=(0,I.createContext)(void 0);(0,I.createContext)(void 0);function Ei(e,t){if(!t)return e;let n={...e};for(let r in t){let i=t[r],a=e[r];i!==void 0&&(typeof i==`object`&&i&&typeof a==`object`&&a?n[r]=Ei(a,i):typeof i==`boolean`&&(n[r]=i))}return n}var Di=e=>Ei(et,e),Oi=({chartInstance:e,showLabels:t,showTotalValue:n,unit:r,locale:i})=>{let a=r?.type,o=r?.symbol;return(0,I.useMemo)(()=>e===P.STACKEDAREA||e===P.STACKED_COLUMN||e===P.STACKED_BAR?{enabled:t,stackLabels:{enabled:n},useHTML:!1,style:{textOutline:`none`}}:e===P.PIE?{enabled:t,useHTML:!0,formatter:function(){return`<div style="color: black; font-size: 12px; text-align: center;">${this.key}:<br> ${nt({value:this.y,locale:i,unit:ct(this,r)})}</div>`},crop:!1,overflow:`allow`,style:{textOutline:`none`}}:{enabled:t,useHTML:!0,formatter:function(){return`<div style="color: black; font-size: 12px; text-align: center;">${nt({value:this.y,locale:i,unit:ct(this,r)})}</div>`},crop:!1,overflow:`allow`,style:{textOutline:`none`}},[e,t,i,a,o])},ki={accessibility:{enabled:!0,screenReaderSection:{beforeChartFormat:`<div>{typeDescription}</div><div>{chartSubtitle}</div><div>{viewTableButton}</div><div>{xAxisDescription}</div><div>{yAxisDescription}</div>`}},credits:{enabled:!1},colors:[`#2876dd`,`#0f283e`,`#bababa`,`#a60b0b`,`#87bc24`,`#ebb523`,`#5d2b76`,`#d81900`,`#c271da`,`#76a5e3`,`#099676`,`#919191`,`#c85a79`,`#468d02`,`#c8640c`,`#927eb7`],exporting:{allowHTML:!1,enabled:!0,fallbackToExportServer:!1,buttons:{contextButton:{enabled:!1}}},plotOptions:{series:{dashStyle:`LongDashDotDot`}}},Ai=(e,t)=>{switch(e){case P.LINE:return`<span style="width: 12px; height: 3px; border-radius: 3px; background: ${t};"> </span>`;case P.COLUMN:return`<span style="width: 8px; height: 8px; border-radius: 2px; background: ${t};"> </span>`;case P.STACKED_COLUMN:return`<span style="width: 8px; height: 8px; border-radius: 2px; background: ${t};"> </span>`;default:return`<span style="width: 12px; height: 3px; border-radius: 3px; background: ${t};"> </span>`}},ji=(e,t,n)=>({useHTML:!0,shared:!0,formatter:function(){let r=this.points??(this.point?[this.point]:[]),i=r.length,a=[];for(let e=0;e<r.length;e+=20)a.push(r.slice(e,e+20));return` 7 <div style='text-align:center; background-color: white; border: 1px solid #E0E0E0; border-radius: 6px; box-shadow: 0px 2px 4px 0px #435E8326; font-family: "Open Sans"'> 8 <div style="display: flex; justify-content: space-between; gap: 20px;padding: 6px 16px; margin-bottom: 6px; text-align: left; border-bottom: 1px solid #E0E0E0; font-size: 15px; line-height: 24px;"> 9 <b>${this.key}</b>
10 <span></span> 11 </div> 12 <div style="display: flex; justify-content:space-between; gap:20px; margin: 6px 14px; font-size: 14px; line-height: 24px;"> 13 ${a.map(r=>`<div style="width: 100%;"> 14 ${r.map(r=>` 15 <div style="display:flex; align-items:center; gap:50px; justify-content: space-between; width: 100%"> 16 <div style='display:flex; align-items:center; gap:5px '> 17 ${Ai(e,`${r.series.color}`)} 18 ${i>1?`<span style="color: #455F7C; font-weight: 400;">${r.series.name}</span>`:``} 19 </div> 20 <div style="font-weight: 600;"> 21 ${bt(r.y,t,ct(r,n))} 22 </div> 23 </div> 24 `).join(``)} 25 </div> 26 `).join(``)} 27 </div> 28 </div> 29 `}}),Mi=(e,t,n=!0,r=`en`,i)=>({backgroundColor:`transparent`,borderWidth:0,distance:30,enabled:n,formatter:ji(e,r,i).formatter,shadow:!1,shared:!0,useHTML:!0,valueDecimals:t,outside:!0}),Ni={total:-10,average:-9,other:9,others:10};function Pi(e){return Ni[e.toLowerCase()]??0}function Fi(e=``,t=``){let n=Pi(e),r=Pi(t);return n&&r?n-r:n?n<0?-1:1:r?r<0?1:-1:e.localeCompare(t)}function Ii(e,t){return t.column?e.toSorted((e,n)=>{let r=e[t.column]??0,i=n[t.column]??0,a=0,o=Pi(String(e.name)),s=Pi(String(n.name));if(o||s)a=Fi(String(e.name),String(n.name));else{if(t.column===`name`)a=String(r).localeCompare(String(i));else{let e=Number(r),t=Number(i);a=!Number.isNaN(e)&&!Number.isNaN(t)?e-t:String(r).localeCompare(String(i))}t.direction===`descending`&&(a*=-1)}return a}):e}function Li(e,t,n){if(!n.column)return e;let r=n.column===`name`?0:t.indexOf(String(n.column));return r<0?e:e.toSorted((e,t)=>{let i=e[r]??0,a=t[r]??0,o=0,s=Pi(String(e[0])),c=Pi(String(t[0]));if(s||c)o=Fi(String(e[0]),String(t[0]));else if(r===0)o=String(i).localeCompare(String(a));else{let e=Number(i),t=Number(a);o=!Number.isNaN(e)&&!Number.isNaN(t)?e-t:String(i).localeCompare(String(a))}return n.direction===`descending`&&!(s||c)&&(o*=-1),o})}function Ri(e){return e?.column?`${String(e.column)}:${e.direction}`:`default`}var zi=(e,t)=>e.every((n,r)=>{if(r===0)return!0;let i=e[r-1],a=n,o=i[t]??0,s=a[t]??0;if(t===`name`)return String(o).localeCompare(String(s))<=0;let c=Number(o),l=Number(s);return!Number.isNaN(c)&&!Number.isNaN(l)?c<=l:String(o).localeCompare(String(s))<=0}),Bi=e=>String(e??``).replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,``).replace(/<style\b[^<]*(?:(?!<\/style>)<[^<]*)*<\/style>/gi,``).replace(/<[^>]+>/g,``).trim();function Vi(e,t,n,r,i){return!e&&e!==0?`_`:t?Bi(String(e)):wt({locale:n,value:e,blurValue:r,unit:i})}var Hi={lastDataKey:void 0,invertedResult:void 0};function Ui(e,t){return e.map(e=>`${e[0]}:${e[1]}`).join(`||`).concat(`::${Ri(t)}`)}function Wi(e,t){return e.length===0||t.length===0?{columns:e,rows:t}:{columns:[e[0],...t.map(e=>String(e[0]))],rows:e.slice(1).map((e,n)=>{let r=n+1;return[e??``,...t.map(e=>e[r])]})}}function Gi(e,t){return e.filter(e=>t.includes(String(e[0])))}function Ki(e,t,n=!0,r){let i=e.labels,a=Gi(e.rows,t),o=r?Li(a,i,r):a;if(o.length===0||i.length===0)return{columns:i,rows:o};let s=Ui(o,r),c=Hi.lastDataKey===s,l=c&&n?Hi.invertedResult:void 0;if(l)return l;if(c||(Hi.lastDataKey=s,Hi.invertedResult=void 0),!n)return{columns:i,rows:o};let u=Wi(i,o);return Hi.invertedResult=u,u}var qi=(e,t)=>(e??[]).flatMap(e=>{let n=t.indexOf(e.point.label);if(n===-1||typeof e.point.value!=`number`)return[];let r=e.position===`BOTTOM`?40:-40;return[{point:{xAxis:0,yAxis:0,x:n,y:e.point.value},text:e.text,y:r}]}),Ji=(e,t)=>[{labelOptions:{allowOverlap:!0},labels:qi(e,t)}],Yi=`#D9D9D9`,Xi=`#2C65DD`,Zi=new Map,Qi=e=>{if(e<=0)return[Xi];let t=Zi.get(e);if(t)return t;let n=Array.from({length:e}).fill(Yi);return n[e-1]=Xi,Zi.set(e,n),n},$i=`x`,ea=448,ta=({chartInstance:e,globalChartInstanceData:t})=>{let n=t.series??[],r=n.length===1;if(e===P.DUAL_Y_AXIS){let t=n[0],i=n[1];return!t||!i?[]:[{id:`${e}-${t.name}`,type:`column`,name:t.name,data:Tt(t),dashStyle:`Solid`,stacking:void 0,visible:t.visible,yAxis:0,custom:{unit:t.unit},colorByPoint:r},{id:`${e}-${i.name}`,type:`line`,name:i.name,data:Tt(i),dashStyle:`Solid`,marker:{enabled:!0},stacking:void 0,visible:i.visible,yAxis:1,custom:{unit:i.unit},colorByPoint:r}]}return e===P.PIE?n.map(t=>({id:`${e}-${t.name}`,type:`pie`,data:t.dataPoints.map(e=>({name:e.label,y:Number(e.value)})),custom:{unit:t.unit},colorByPoint:r})):e===P.STACKEDAREA?n.map(t=>({id:`${e}-${t.name}`,type:`area`,name:t.name,data:Tt(t),dashStyle:`Solid`,stacking:`normal`,marker:{enabled:!1},visible:t.visible,custom:{unit:t.unit},colorByPoint:r})):e===P.STACKED_COLUMN||e===P.STACKED_BAR?n.map(t=>({id:`${e}-${t.name}`,type:`column`,name:t.name,data:Tt(t),dashStyle:`Solid`,stacking:t.visible?`normal`:void 0,visible:t.visible,custom:{unit:t.unit},colorByPoint:r})):e===P.LINE||e===P.LINE_ZOOMABLE||e===P.LINE_WITH_ANNOTATIONS?n.map(t=>({id:`${e}-${t.name}`,type:`line`,name:t.name,data:Tt(t),dashStyle:`Solid`,marker:{enabled:!0},stacking:void 0,visible:t.visible,custom:{unit:t.unit},colorByPoint:r})):n.map(t=>({id:`${e}-${t.name}`,type:`column`,name:t.name,data:Tt(t),dashStyle:`Solid`,stacking:void 0,visible:t.visible,custom:{unit:t.unit},colorByPoint:r}))},na=({locale:e,chartInstance:t,title:n,globalChartInstanceData:r,selectedCategories:i,isMinified:a,isInverted:o=!1,hasSeriesNegativeValues:s,initialSeriesCount:c,xAxisProperties:l,yAxisProperties:u,showLabels:d=!1,showTotalValue:f=!1,unit:p,additionalInformation:m,colors:h,chartDataAnnotations:g,ariaLabel:_,hasFullAccess:v,t:y,onSeriesVisibilityChange:b})=>{let x=(0,I.useMemo)(()=>yt(n??``),[n]),S=(0,I.useMemo)(()=>vt(r.series,p),[r.series,p]),C=!a,w=(0,I.useMemo)(()=>Mi(t,2,C,e,S),[t,S?.symbol,C,e,S]),T=(0,I.useCallback)(t=>st(t,e,p),[e,p]),E=Oi({chartInstance:t,showLabels:d,showTotalValue:f,locale:e,unit:S}),D=(0,I.useMemo)(()=>ta({chartInstance:t,globalChartInstanceData:r}),[t,r]),O=(0,I.useMemo)(()=>t!==P.PIE&&t!==P.TABLE,[t]),ee=(0,I.useMemo)(()=>ht(t)?{enabled:f,formatter:function(){return st(this.total,e,S)},style:{textOutline:`none`}}:{enabled:!1},[t,f,e,S]),k=(0,I.useMemo)(()=>{let e=t===P.LINE||t===P.LINE_WITH_ANNOTATIONS||t===P.LINE_ZOOMABLE,n=u?.min??0;return!s&&!e?Math.min(0,n):u?.min},[s,u?.min,t]),te=(0,I.useMemo)(()=>
29{if(!O)return;let n=t=>{let n=e.toLocaleLowerCase()===`de`?`de-DE`:`en-EN`;return new Intl.NumberFormat(n,{minimumFractionDigits:0,maximumFractionDigits:2}).format(t)},r=i.length<(c??0)?void 0:k,o={labels:{enabled:!u?.hideAxis||v,useHTML:!0,formatter:function(){return this.isLast&&u?.hideMaxValue?``:n(this.value)}},stackLabels:ee,reversedStacks:!1,min:r,max:u?.max,maxPadding:.3,plotLines:[{value:0,color:`#000000`,width:1,zIndex:5}]};return t===P.DUAL_Y_AXIS?[{...o,title:a?{enabled:!1}:{text:u?.title??``}},{...o,opposite:!0,title:a?{enabled:!1}:{text:u?.additionalYAxisDescription??``}}]:[{...o,title:a?{enabled:!1}:{text:u?.title??``}}]},[O,e,i,c,k,v,ee,u?.hideAxis,u?.hideMaxValue,u?.max,u?.title,u?.additionalYAxisDescription,t,a,r.series]),A=(0,I.useMemo)(()=>{if(O)return[{title:a?{enabled:!1}:{text:l?.title??``},categories:i,labels:{enabled:!0,useHTML:!0,style:{textOverflow:`none`,fontSize:`10px`},formatter:function(){return Bi(this.value)}},lineColor:s?`#e6e6e6`:void 0,lineWidth:1}]},[O,a,l?.title,i,s]),ne=t===P.BAR||t===P.STACKED_BAR,j=(0,I.useMemo)(()=>{let e=D.length||1,n=D[0]?.data?.length??1;return a?250:t===P.BAR?Math.max(400,e*n*30):t===P.STACKED_BAR?Math.max(400,30*n):400},[D,a,t]),M=ne&&j>400;return{chartOptions:(0,I.useMemo)(()=>{let n=a&&D.length>2,r=h&&h.length>0,o=n?Qi(D.length):ki.colors??[],s=r?[...h]:o,c=!a&&(t===P.LINE_ZOOMABLE||t===P.COLUMN_ZOOMABLE),u=t===P.LINE_WITH_ANNOTATIONS||t===P.COLUMN_WITH_ANNOTATIONS?Ji(g,i):[],d=D.length>1&&!a;return{...ki,legend:{enabled:d,useHTML:!0,verticalAlign:`top`,align:`center`,layout:`horizontal`,events:{itemClick(e){e.legendItem.visible&&e.target.chart.series.filter(e=>e.visible&&e.options.showInLegend!==!1).length<=1&&e.preventDefault()}}},annotations:u,accessibility:a?{...ki.accessibility,point:{valueDescriptionFormat:`{xDescription}, ***.`}}:ki.accessibility,colors:s,xAxis:A,yAxis:te,title:{useHTML:!0,text:void 0,style:{visibility:`hidden`}},series:D,tooltip:w,chart:{inverted:t===P.BAR||t===P.STACKED_BAR,style:{fontFamily:`Open Sans, sans-serif`},zooming:{type:c?$i:void 0},height:j,numberFormatter:T,events:{render(){for(let e of this.legend.allItems)e.name=e?.name}}},exporting:{...ki.exporting,filename:x,useMultiLevelHeaders:!0,csv:{dateFormat:`%Y-%m-%d`,columnHeaderFormatter:at(l?.title??``)}},plotOptions:{...ne&&{column:{pointPadding:.05,groupPadding:.1}},series:{dataLabels:E,events:{hide:function(){let e=this.chart.series.map(e=>({name:e.name??``,visible:e.visible}));b?.(e)},show:function(){let e=this.chart.series.map(e=>({name:e.name??``,visible:e.visible}));b?.(e)}}}},responsive:{rules:[{condition:{maxWidth:ea},chartOptions:{plotOptions:{series:{dataLabels:{enabled:!1}}}}}]},lang:{locale:e,accessibility:{chartContainerLabel:_??y?.([`CHART_CONTAINER_LABEL`])??``,legend:{legendItem:`{itemName}`}}}}},[a,D,h,t,g,i,A,te,w,j,T,x,l?.title,ne,d,b,e,_,y,o,s,v,m,E]),computedChartHeight:j,isExpandable:M,filename:x,sourcesBlock:(0,I.useMemo)(()=>ut(m,y??(()=>``)),[m,y]),additionalInfoBlock:(0,I.useMemo)(()=>Xe(m,y??(()=>``)),[m,y])}},ra=({rawSeries:e,selectedCategories:t,seriesVisibility:n,filterSelectedCategories:r=!0})=>e.map(e=>{let i=n?.find(t=>t.name===(e.name??``)),a=r?(e.dataPoints??[]).filter(e=>t.includes(e.label)):[...e.dataPoints??[]];return{...e,dataPoints:a,visible:i?.visible??!!e.visible}}),ia=({tableData:e,selectedCategories:t,filterRows:n=!0})=>({labels:[...e.labels],rows:e.rows.map(e=>[...e]).filter(e=>!n||t.includes(String(e[0])))}),aa=(e,t)=>ft([...e],[...t]),oa=e=>e.some(e=>`dataPoints`in e&&e.dataPoints.some(e=>Number(e.value)<0)),sa=({locale:e,chartInstance:t,title:n,globalChartInstanceData:r,globalChartTableData:i,selectedCategories:a,isMinified:o,isInverted:s,hasSeriesNegativeValues:c,initialSeriesCount:l,xAxisProperties:u,yAxisProperties:d,showLabels:f,showTotalValue:p,unit:m,additionalInformation:h,colors:g,chartDataAnnotations:_,ariaLabel:v,hasFullAccess:y,t:b,onSeriesVisibilityChange:x})=>{let S=na({locale:e,chartInstance:t,title:n,globalChartInstanceData:r,selectedCategories:a,isMinified:o,isInverted:s,hasSeriesNegativeValues:c,initialSeriesCount:l,xAxisProperties:u,yAxisProperties:d,showLabels:f,showTotalValue:p,unit:m,additionalInformation:h,colors:g,chartDataAnnotations:_,ariaLabel:v,hasFullAccess:y,t:b,onSeriesVisibilityChange:x});return(0,I.useMemo)(()=>({tableData:i,chartOptions:S.chartOptions,computedChartHeight:S.computedChartHeight,isExpandable:S.isExpandable}),[S.chartOptions,S.computedChartHeight,S.isExpandable,i])},ca=(0,I.createContext)(void 0),la=(0,I.createContext)(void 0),ua=(0,I.createContext)(void 0),da=(0,I.createContext)(void 0),fa=(0,I.createContext)(void 0),pa=e=>({id:e.id,contentId:e.contentId,title:e.title,subtitle:e.subtitle,de
29scription:e.description,defaultVisualization:e.defaultVisualization,possibleVisualizations:e.possibleVisualizations,sources:e.sources,lastUpdated:e.lastUpdated,globalChartInstanceData:e.globalChartInstanceData,globalChartTableData:e.globalChartTableData,hasSeriesNegativeValues:e.hasSeriesNegativeValues,additionalInformation:e.additionalInformation,unit:e.unit,xAxisProperties:e.xAxisProperties,yAxisProperties:e.yAxisProperties,annotations:e.annotations,categories:e.categories,initialSeriesCount:e.initialSeriesCount,isInverted:e.isInverted,colors:e.colors,externalProps:e.externalProps,favoriteButtonData:e.favoriteButtonData}),ma=e=>({selectedVisualization:e.selectedVisualization,selectedCategories:e.selectedCategories,isMinified:e.isMinified,showLabels:e.showLabels,showTotalValue:e.showTotalValue,seriesVisibility:e.seriesVisibility,isTableInverted:e.isTableInverted}),ha=e=>({locale:e.locale,uiConfiguration:e.uiConfiguration,accessConfiguration:e.accessConfiguration,onPaywallTriggered:e.onPaywallTriggered,onDownloadCallback:e.onDownloadCallback}),ga=e=>({isModalOpen:e.isModalOpen,isDrawerOpen:e.isDrawerOpen,drawerActiveTab:e.drawerActiveTab,modalTarget:e.modalTarget,liveRegionMessage:e.liveRegionMessage,downloadOption:e.downloadOption,sourceDetailsButtonRef:e.sourceDetailsButtonRef}),_a=e=>({setSelectedVisualization:e.setSelectedVisualization,setSelectedCategories:e.setSelectedCategories,setIsModalOpen:e.setIsModalOpen,setIsDrawerOpen:e.setIsDrawerOpen,setDrawerActiveTab:e.setDrawerActiveTab,setIsMinified:e.setIsMinified,setModalTarget:e.setModalTarget,setLiveRegionMessage:e.setLiveRegionMessage,setDownloadOption:e.setDownloadOption,setShowTotalValue:e.setShowTotalValue,setSeriesVisibility:e.setSeriesVisibility,setIsTableInverted:e.setIsTableInverted}),va=(e,t,n)=>{let r=(0,I.useContext)(e);if(r)return r;let i=(0,I.useContext)(Ti);if(i)return n(i);if(!r)throw Error(`${t} must be used within GlobalChartContextProvider`);return r},z=()=>va(ca,`useGlobalChartDataContext`,pa),ya=()=>va(la,`useGlobalChartUIContext`,ma),ba=()=>va(ua,`useGlobalChartConfigContext`,ha),xa=()=>va(da,`useGlobalChartOverlayContext`,ga),Sa=()=>va(fa,`useGlobalChartActionsContext`,_a),Ca=()=>{let e=z(),t=ya(),n=ba(),r=xa(),i=Sa();return(0,I.useMemo)(()=>({...e,...t,...n,...r,...i}),[e,t,n,r,i])},wa=({value:e,children:t})=>{let n=(0,I.useMemo)(()=>pa(e),[e.id,e.contentId,e.title,e.subtitle,e.description,e.defaultVisualization,e.possibleVisualizations,e.sources,e.lastUpdated,e.globalChartInstanceData,e.globalChartTableData,e.hasSeriesNegativeValues,e.additionalInformation,e.unit,e.xAxisProperties,e.yAxisProperties,e.annotations,e.categories,e.initialSeriesCount,e.isInverted,e.colors,e.externalProps,e.favoriteButtonData]),r=(0,I.useMemo)(()=>ma(e),[e.selectedVisualization,e.selectedCategories,e.isMinified,e.showLabels,e.showTotalValue,e.seriesVisibility,e.isTableInverted]),i=(0,I.useMemo)(()=>ha(e),[e.locale,e.uiConfiguration,e.accessConfiguration,e.onPaywallTriggered,e.onDownloadCallback]),a=(0,I.useMemo)(()=>ga(e),[e.isModalOpen,e.isDrawerOpen,e.drawerActiveTab,e.modalTarget,e.liveRegionMessage,e.downloadOption,e.sourceDetailsButtonRef]),o=(0,I.useMemo)(()=>_a(e),[e.setSelectedVisualization,e.setSelectedCategories,e.setIsModalOpen,e.setIsDrawerOpen,e.setDrawerActiveTab,e.setIsMinified,e.setModalTarget,e.setLiveRegionMessage,e.setDownloadOption,e.setShowTotalValue,e.setSeriesVisibility,e.setIsTableInverted]);return(0,I.createElement)(ua.Provider,{value:i},(0,I.createElement)(ca.Provider,{value:n},(0,I.createElement)(la.Provider,{value:r},(0,I.createElement)(da.Provider,{value:a},(0,I.createElement)(fa.Provider,{value:o},t)))))},Ta=({locale:e,globalChartData:t,isMinified:n=!1,uiConfiguration:r,accessConfiguration:i,onPaywallTriggered:a,onDownloadCallback:o,externalProps:s,favoriteButtonData:c})=>{let l=t.highChartData?.series??[],u=t.highChartData?.categories??[],d=l[0]?.dataPoints??[],f=d.length,p=t.highChartData?.orientation===`VERTICAL`,[m,h]=(0,I.useState)(n),[g,_]=(0,I.useState)(t.defaultVisualization),[v,y]=(0,I.useState)(d.map(e=>e.label)),[b,x]=(0,I.useState)(!1),[S,C]=(0,I.useState)(!1),[w,T]=(0,I.useState)(`sources`),[E,D]=(0,I.useState)(void 0),O=t.highChartData?.hideValues,ee=O===void 0?!ht(g):!O,[k,te]=(0,I.useState)(t.highChartData?.showTotalValues??!0),[A,ne]=(0,I.useState)(void 0),[j,M]=(0,I.useState)(``),[re,N]=(0,I.useState)(()=>l.map(({name:e=``,visible:t})=>({name:e,visible:t}))),[ie,ae]=(0,I.useState)(!1),oe=(0,I.useMemo)(()=>t.highChartData?.annotations?.filter(e=>{let t=e.point.label;return v.includes(t)}),[t.highChartData?.annotations,v]),se=(0,I.useMemo)(()=>ra({rawSeries:l,selectedCategories:v,seriesVisibility:re}),[l,v,re]),ce=(0,I.useMemo)(()=>({series:se}),[se]),le=(0,I.useMemo)(()=>ia({tableData:t.tableData,selectedCategories:v}),[t.tableData,v]),ue=(0,I.useMemo)(()=>aa(l,u),[u,l]),de=(0,I.useRef)(null),fe=(0,I.useMemo)(()=>oa(se),[se]),pe=(0,I.useMemo)(()=>Di(i),[i]);return(0,I.useMemo)(()=>({id:t.id,contentId:t.contentId,locale:e,title:t?.additionalInformation?.title,subtitle:t?.additionalInformation?.subt
29itle,description:t?.additionalInformation?.description,defaultVisualization:t.defaultVisualization,possibleVisualizations:t.possibleVisualizations,sources:[...t?.additionalInformation?.sourceInfo?.sources??[]],lastUpdated:t?.additionalInformation?.lastUpdated,xAxisProperties:t.highChartData?.xAxisProperties??void 0,yAxisProperties:t.highChartData?.yAxisProperties??void 0,annotations:oe,globalChartInstanceData:ce,globalChartTableData:le,hasSeriesNegativeValues:fe,additionalInformation:t?.additionalInformation,unit:t.unit,categories:ue,initialSeriesCount:f,uiConfiguration:r,isInverted:p,accessConfiguration:pe,isModalOpen:b,setIsModalOpen:x,isDrawerOpen:S,setIsDrawerOpen:C,drawerActiveTab:w,setDrawerActiveTab:T,isMinified:m,setIsMinified:h,modalTarget:E,setModalTarget:D,liveRegionMessage:j,setLiveRegionMessage:M,downloadOption:A,setDownloadOption:ne,selectedVisualization:g,setSelectedVisualization:_,selectedCategories:v,setSelectedCategories:y,showLabels:ee,showTotalValue:k,setShowTotalValue:te,onPaywallTriggered:a,onDownloadCallback:o,seriesVisibility:re,setSeriesVisibility:N,isTableInverted:ie,setIsTableInverted:ae,sourceDetailsButtonRef:de,colors:t?.highChartData?.colors,externalProps:s,favoriteButtonData:c}),[t.id,t.contentId,t?.additionalInformation?.title,t?.additionalInformation?.subtitle,t?.additionalInformation?.description,t.defaultVisualization,t.possibleVisualizations,t?.additionalInformation?.sourceInfo?.sources,t?.additionalInformation?.lastUpdated,t.highChartData?.xAxisProperties,t.highChartData?.yAxisProperties,t?.additionalInformation,t.unit,t?.highChartData?.colors,e,oe,ce,le,fe,ue,f,r,p,pe,b,S,w,m,E,j,A,g,v,ee,k,a,o,re,ie,s,c])},Ea=`-`,Da=e=>{let t=ja(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{let n=e.split(Ea);return n[0]===``&&n.length!==1&&n.shift(),Oa(n,t)||Aa(e)},getConflictingClassGroupIds:(e,t)=>{let i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},Oa=(e,t)=>{if(e.length===0)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?Oa(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let a=e.join(Ea);return t.validators.find(({validator:e})=>e(a))?.classGroupId},ka=/^\[(.+)\]$/,Aa=e=>{if(ka.test(e)){let t=ka.exec(e)[1],n=t?.substring(0,t.indexOf(`:`));if(n)return`arbitrary..`+n}},ja=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Fa(Object.entries(e.classGroups),n).forEach(([e,n])=>{Ma(n,r,e,t)}),r},Ma=(e,t,n,r)=>{e.forEach(e=>{if(typeof e==`string`){let r=e===``?t:Na(t,e);r.classGroupId=n;return}if(typeof e==`function`){if(Pa(e)){Ma(e(r),t,n,r);return}t.validators.push({validator:e,classGroupId:n});return}Object.entries(e).forEach(([e,i])=>{Ma(i,Na(t,e),n,r)})})},Na=(e,t)=>{let n=e;return t.split(Ea).forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},Pa=e=>e.isThemeGetter,Fa=(e,t)=>t?e.map(([e,n])=>[e,n.map(e=>typeof e==`string`?t+e:typeof e==`object`?Object.fromEntries(Object.entries(e).map(([e,n])=>[t+e,n])):e)]):e,Ia=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map,i=(i,a)=>{n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);if(t!==void 0)return t;if((t=r.get(e))!==void 0)return i(e,t),t},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},La=`!`,Ra=e=>{let{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],a=t.length,o=e=>{let n=[],o=0,s=0,c;for(let l=0;l<e.length;l++){let u=e[l];if(o===0){if(u===i&&(r||e.slice(l,l+a)===t)){n.push(e.slice(s,l)),s=l+a;continue}if(u===`/`){c=l;continue}}u===`[`?o++:u===`]`&&o--}let l=n.length===0?e:e.substring(s),u=l.startsWith(La);return{modifiers:n,hasImportantModifier:u,baseClassName:u?l.substring(1):l,maybePostfixModifierPosition:c&&c>s?c-s:void 0}};return n?e=>n({className:e,parseClassName:o}):o},za=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(e=>{e[0]===`[`?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t},Ba=e=>({cache:Ia(e.cacheSize),parseClassName:Ra(e),...Da(e)}),Va=/\s+/,Ha=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],o=e.trim().split(Va),s=``;for(let e=o.length-1;e>=0;--e){let t=o[e],{modifiers:c,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:d}=n(t),f=!!d,p=r(f?u.substring(0,d):u);if(!p){if(!f){s=t+(s.length>0?` `+s:s);continue}if(p=r(u),!p){s=t+(s.length>0?` `+s:s);continue}f=!1}let m=za(c).join(`:`),h=l?m+La:m,g=h+p;if(a.includes(g))continue;a.push(g);let _=i(p,f);for(let e=0;e<_.length;++e){let t=_[e];a.push(h+t)}s=t+(s.length>0?` `+s:s)}return s};
vendor: 13,346 bytes, line 29
29function Ua(){let e=0,t,n,r=``;for(;e<arguments.length;)(t=arguments[e++])&&(n=Wa(t))&&(r&&(r+=` `),r+=n);return r}var Wa=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Wa(e[r]))&&(n&&(n+=` `),n+=t);return n};function Ga(e,...t){let n,r,i,a=o;function o(o){return n=Ba(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)}function s(e){let t=r(e);if(t)return t;let a=Ha(e,n);return i(e,a),a}return function(){return a(Ua.apply(null,arguments))}}var B=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},Ka=/^\[(?:([a-z-]+):)?(.+)\]$/i,qa=/^\d+\/\d+$/,Ja=new Set([`px`,`full`,`screen`]),Ya=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xa=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Za=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Qa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$a=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,eo=e=>no(e)||Ja.has(e)||qa.test(e),to=e=>ho(e,`length`,go),no=e=>!!e&&!Number.isNaN(Number(e)),ro=e=>ho(e,`number`,no),io=e=>!!e&&Number.isInteger(Number(e)),ao=e=>e.endsWith(`%`)&&no(e.slice(0,-1)),V=e=>Ka.test(e),oo=e=>Ya.test(e),so=new Set([`length`,`size`,`percentage`]),co=e=>ho(e,so,_o),lo=e=>ho(e,`position`,_o),uo=new Set([`image`,`url`]),fo=e=>ho(e,uo,yo),po=e=>ho(e,``,vo),mo=()=>!0,ho=(e,t,n)=>{let r=Ka.exec(e);return r?r[1]?typeof t==`string`?r[1]===t:t.has(r[1]):n(r[2]):!1},go=e=>Xa.test(e)&&!Za.test(e),_o=()=>!1,vo=e=>Qa.test(e),yo=e=>$a.test(e),bo=()=>{let e=B(`colors`),t=B(`spacing`),n=B(`blur`),r=B(`brightness`),i=B(`borderColor`),a=B(`borderRadius`),o=B(`borderSpacing`),s=B(`borderWidth`),c=B(`contrast`),l=B(`grayscale`),u=B(`hueRotate`),d=B(`invert`),f=B(`gap`),p=B(`gradientColorStops`),m=B(`gradientColorStopPositions`),h=B(`inset`),g=B(`margin`),_=B(`opacity`),v=B(`padding`),y=B(`saturate`),b=B(`scale`),x=B(`sepia`),S=B(`skew`),C=B(`space`),w=B(`translate`),T=()=>[`auto`,`contain`,`none`],E=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],D=()=>[`auto`,V,t],O=()=>[V,t],ee=()=>[``,eo,to],k=()=>[`auto`,no,V],te=()=>[`bottom`,`center`,`left`,`left-bottom`,`left-top`,`right`,`right-bottom`,`right-top`,`top`],A=()=>[`solid`,`dashed`,`dotted`,`double`,`none`],ne=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],j=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`],M=()=>[``,`0`,V],re=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],N=()=>[no,V];return{cacheSize:500,separator:`:`,theme:{colors:[mo],spacing:[eo,to],blur:[`none`,``,oo,V],brightness:N(),borderColor:[e],borderRadius:[`none`,``,`full`,oo,V],borderSpacing:O(),borderWidth:ee(),contrast:N(),grayscale:M(),hueRotate:N(),invert:M(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[ao,to],inset:D(),margin:D(),opacity:N(),padding:O(),saturate:N(),scale:N(),sepia:M(),skew:N(),space:O(),translate:O()},classGroups:{aspect:[{aspect:[`auto`,`square`,`video`,V]}],container:[`container`],columns:[{columns:[oo]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:[...te(),V]}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[`auto`,io,V]}],basis:[{basis:D()}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`wrap`,`wrap-reverse`,`nowrap`]}],flex:[{flex:[`1`,`auto`,`initial`,`none`,V]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:[`first`,`last`,`none`,io,V]}],"grid-cols":[{"grid-cols":[mo]}],"col-start-end":[{col:[`auto`,{span:[`full`,io,V]},V]}],"col-start":[{"col-start":k()}],"col-end":[{"col-end":k()}],"grid-rows":[{"grid-rows":[mo]}],"row-start-end":[{row:[`auto`,{span:[io,V]},V]}],"row-start":[{"row-start":k()}],"row-end":[{"row-end":k()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":[`auto`,`min`,`max`,`fr`,V]}],"auto-rows":[{"auto-rows":[`auto`,`min`,`max`,`fr`,V]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:[`normal`,...j()]}],"justify-items":[{"justify-items":[`start`,`end`,`center`,`stretch`]}],"justify-self":[{"justify-self":[`auto`,`start`,`end`,`center`,`stretch`]}],"align-content":[{content:[`normal`,...j(),`baseline`]}],"align-items":[{items:[`start`,`end`,`center`,`baseline`,`stretch`]}],"align-self":[{self:[`auto`,`start`,`end`,`center`,`stretch`,`baseline`]}],"place-content":[{"place-content":[...j(),`baseline`]}],"place-items":[{"place-items":[`start`,`end`,`center`,`baseline`,`stretch`]}],"place-self":[{"place-self":[`auto`,`start`,`end`,`center`,`stretch`]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[C]}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":[C]}],"space-y-reverse":[`space-y-reverse`],w:[{w:[`auto`,`min`,`max`,`fit`,`svw`,`lvw`,`dvw`,V,t]}],"min-w":[{"min-w":[V,t,`min`,`max`,`fit`]}],"max-w":[{"max-w":[V,t,`none`,`full`,`min`,`max`,`fit`,`prose`,{screen:[oo]},oo]}],h:[{h:[V,t,`auto`,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],"min-h":[{"min-h":[V,t,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],"max-h":[{"max-h":[V,t,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],size:[{size:[V,t,`auto`,`min`,`max`,`fit`]}],"font-size":[{text:[`base`,oo,to]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`,ro]}],"font-family":[{font:[mo]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`,V]}],"line-clamp":[{"line-clamp":[`none`,no,ro]}],leading:[{leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`,eo,V]}],"list-image":[{"list-image":[`none`,V]}],"list-style-type":[{list:[`none`,`disc`,`decimal`,V]}],"list-style-position":[{list:[`inside`,`outside`]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...A(),`wavy`]}],"text-decoration-thickness":[{decoration:[`auto`,`from-font`,eo,to]}],"underline-offset":[{"underline-offset":[`auto`,eo,V]}],"text-decoration-color":[{decoration:[e]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:O()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,V]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,V]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:[...te(),lo]}],"bg-repeat":[{bg:[`no-repeat`,{repeat:[``,`x`,`y`,`round`,`space`]}]}],"bg-size":[{bg:[`auto`,`cover`,`contain`,co]}],"bg-image":[{bg:[`none`,{"gradient-to":[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},fo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...A(),`hidden`]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":[`divide-y-reverse`],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:A()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[``,...A()]}],"outline-offset":[{"outline-offset":[eo,V]}],"outline-w":[{outline:[eo,to]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ee()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[eo,to]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:[``,`inner`,`none`,oo,po]}],"shadow-color":[{shadow:[mo]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":[...ne(),`plus-lighter`,`plus-darker`]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:[``,`none`]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":[``,`none`,oo,V]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":[``,`none`]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[`none`,`all`,``,`colors`,`opacity`,`shadow`,`transform`,V]}],duration:[{duration:N()}],ease:[{ease:[`linear`,`in`,`out`,`in-out`,V]}],delay:[{delay:N()}],animate:[{animate:[`none`,`spin`,`ping`,`pulse`,`bounce`,V]}],transform:[{transform:[``,`gpu`,`none`]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[io,V]}],"translate-x":[{"translate-x":[w]}],"translate-y":[{"translate-y":[w]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:[`center`,`top`,`top-right`,`right`,`bottom-right`,`bottom`,`bottom-left`,`left`,`top-left`,V]}],accent:[{accent:[`auto`,e]}],appearance:[{appearance:[`none`,`auto`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom
29-in`,`zoom-out`,V]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":[`none`,`auto`]}],resize:[{resize:[`none`,`y`,`x`,``]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,V]}],fill:[{fill:[e,`none`]}],"stroke-w":[{stroke:[eo,to,ro]}],stroke:[{stroke:[e,`none`]}],sr:[`sr-only`,`not-sr-only`],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-s`,`border-w-e`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-s`,`border-color-e`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]}}},xo=(e,{cacheSize:t,prefix:n,separator:r,experimentalParseClassName:i,extend:a={},override:o={}})=>{So(e,`cacheSize`,t),So(e,`prefix`,n),So(e,`separator`,r),So(e,`experimentalParseClassName`,i);for(let t in o)Co(e[t],o[t]);for(let t in a)wo(e[t],a[t]);return e},So=(e,t,n)=>{n!==void 0&&(e[t]=n)},Co=(e,t)=>{if(t)for(let n in t)So(e,n,t[n])},wo=(e,t)=>{if(t)for(let n in t){let r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}},H=((e,...t)=>typeof e==`function`?Ga(bo,e,...t):Ga(()=>xo(bo(),e),...t))({override:{classGroups:{z:[`deep:`,`default`,`fixed`,`sticky`,`tooltip`,`dialog`,`dropdown`,`overlay`,`modal`,`spinner`]}},extend:{classGroups:{"font-size":[`text-fluid-xs`,`text-fluid-sm`,`text-fluid-md`,`text-fluid-lg`,`text-fluid-xl`,`text-fluid-2xl`]}}});function To(e,...t){let n=``;for(let[r,i]of t.entries())n+=e[r]+String(i);return n+e.at(-1)}var Eo=(e,t)=>ko(e)||Oo(e)||Do(e,t),Do=(e,t)=>e?.sourceInfo?.sources&&e?.sourceInfo?.sources.length>0||e?.author||e?.lastUpdated||t?.drawer?.sources||t?.drawer?.sourcesDescription,Oo=e=>e?.coveredGeos||e?.coveredTimeframe,ko=e=>e?.citations&&e?.citations.length>0,U={chartTypeSwitch:`udv-widget__chart-type--switched`,categoryFilterOpen:`udv-widget__category-filter--opened`,categoryFilterChange:`udv-widget__category-filter--changed`,showLabels:`udv-widget__labels--toggled`,sourceDetailsOpen:`udv-widget__source-details--opened`,sourceDetailsClose:`udv-widget__source-details--closed`,sourceDetailsContent:`udv-widget__sources-tab--changed`,downloadOpen:`udv-widget__download-button--opened`,downloadFile:`udv-widget__download-file--clicked`,shareOpen:`udv-widget__share-button--opened`,shareClick:`udv-widget__share-channel--clicked`,copyData:`udv-widget__data-copy--clicked`,copyForAI:`udv-widget__data-copy-for-ai--clicked`,copyCitation:`udv-widget__copy-citation--clicked`,globalChartMinifiedClick:`udv-widget__referral-link--clicked`,expandChart:`udv-widget__chart--expanded`,minimizeChart:`udv-widget__chart--minimized`,citationsButton:`udv-widget__citations-button--opened`};function Ao(e){let t=t=>{if(!globalThis.dataLayer){console.error(`â ï¸ window.dataLayer not initialized. GA4 events will not tracked.`);return}globalThis.dataLayer.push({widget_id:`3.6.0`,uu_id:e,...t})};return{gtmTrackChartTypeSwitch:(e,n,r)=>{t({event:U.chartTypeSwitch,button_type:e,category_filter:r,chart_type_before:n})},gtmTrackCategoryFilterOpen:()=>{t({event:U.categoryFilterOpen})},gtmTrackCategoryFilterChange:(e,n)=>{t({event:U.categoryFilterChange,category_before:e,category_after:n})},gtmTrackShowLabels:e=>{t({event:U.showLabels,labels_state_before:e?`hidden`:`shown`,labels_state_after:e?`shown`:`hidden`})},gtmTrackSourceDetailsOpen:()=>{t({event:U.sourceDetailsOpen,info_target:`widget_source-details_modal`})},gtmTrackSourceDetailsClose:()=>{t({event:U.sourceDetailsClose,info_target:`widget_source-details_modal`})},gtmTrackSourceDetailsContent:(e,n,r)=>{t({event:U.sourceDetailsContent,tab_name:e,tab_state_before:n,tab_state_after:r})},gtmTrackDownloadOpen:()=>{t({event:U.downloadOpen})},gtmTrackDownloadFile:e=>{t({event:U.downloadFile,download_format:e})},gtmTrackShareOpen:()=>{t({event:U.shareOpen,share_channel:`share_menu_open`})},gtmTrackShareClick:e=>{t({event:U.shareClick,share_channel:e})},gtmTrackCopyData:(e,n)=>{t({event:U.copyData,copy_scope:e,row_count:n})},gtmTrackCopyForAI:(e,n)=>{t({event:U.copyForAI,copy_scope:e,row_count:n})},gtmTrackGlobalChartMinifiedClick:e=>{t({event:U.globalChartMinifiedClick,link:e})},gtmTrackCopyCitation:(e,n)=>{t({event:U.copyCitation,citation:e,citation_owner:n})},gtmTrackExpandChart:()=>{t({event:U.expandChart})},gtmTrackMinimizeChart:()=>{t({event:U.minimizeChart})}}}function jo({className:e}
29){return(0,L.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,className:e,children:(0,L.jsx)(`path`,{stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,d:`M15.666 3.888A2.25 2.25 0 0 0 13.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0q.083.293.084.612a.75.75 0 0 1-.75.75H9a.75.75 0 0 1-.75-.75q.002-.32.084-.612m7.332 0q.969.073 1.927.184c1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 0 1-2.25 2.25H6.75A2.25 2.25 0 0 1 4.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48 48 0 0 1 1.927-.184`})})}var Mo=`rounded-[6px]`,No=`text-on-surface-strong`,Po=`shadow-[0_2px_4px_rgba(67,94,131,0.15)]`,Fo=`border-[1px] mt-0 flex font-semibold group h-[40px] items-center justify-around ${Mo} ${No} text-sm outline-none py-2 px-3 whitespace-nowrap`,Io=`active:shadow-none active:translate-y-[1px]`,Lo=`focus-visible:${Mo} focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-primary-focus`,Ro=`border-[#e0e0e0] ${Po}`,zo=`group cursor-pointer transition-[color,background-color,box-shadow,transform] duration-150 ease-out active:duration-75 hover:bg-surface-muted hover:text-primary active:text-primary [&[aria-expanded='true']]:bg-surface-muted [&[aria-expanded='true']]:text-primary [&[aria-expanded='true']]:sha
29dow-none [&[aria-expanded='true']]:translate-y-[1px]`,Bo=`text-[#455f7c] bg-[#F5F8FB] border-[#C1CAD5] isDisabled pointer-events-none cursor-not-allowed`,Vo=({isDisabled:e=!1})=>H(Io,Fo,Lo,zo,e?Bo:Ro),Ho=`group-hover:text-[#0666E5]`,Uo=`gap-2`,Wo=`font-semibold items-center ${Mo} text-sm outline-none whitespace-nowrap`,Go=`shadow-[2px_2px_4px_rgba(0,0,0,0.1)] ${No}`,Ko=()=>H(Wo,Go,`border-1 border-[#E0E0E0]`),qo=`border-[#e0e0e0] border-[0.75px] h-[40px] first:rounded-l-lg last:rounded-r-lg first:border-r-0 last:border-l-0 group`,Jo=`focus-visible:${Mo} focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-primary-focus border-2 border-transparent focus-visible:border-primary-focus`,Yo=()=>H(qo,Jo,`[&:not(:last-child)]:border-r-[#E0E0E0] [&:not(:last-child)]:border-r-1`),Xo=`flex items-center gap-2 mx-[6px] py-[2px] px-[6px] transition rounded`,Zo=`bg-[#E5F1FF] text-[#0666E5]`,Qo=`text-[#455f7c]`,$o=(e,t,n)=>{let{t:r}=g(),{title:i,subtitle:a,link:o,coveredGeos:s,lastUpdated:c,released:l}=e,u=s?_t(s):``,d=(l?new Date(l):new Date(c)).getFullYear(),f=new Date(Date.now()).toLocaleDateString(n,{month:`long`,day:`numeric`,year:`numeric`}),p=new Date(c),m=new Intl.DateTimeFormat(n,{month:`short`,day:`numeric`,year:`numeric`}).formatToParts(p).map(e=>e.type!==`month`||e.value.endsWith(`.`)?e.value:`${e.value}.`).join(``),h=new Date(c).toLocaleDateString(n,{year:`numeric`}),_=e.sourceInfo?.sources?.join(`, `)||``;switch(t.toLocaleUpperCase()){case`APA`:return`${_}. (${h}). ${i} - ${u}. Statista. ${o}`;case`CHICAGO`:return`${_}. "${i} - ${u}". ${h}. Statista.`;case`HARVARD`:return`${_}. (${h}). <i>${i} - ${u}. Statista.</i> Statista Inc. ${r([`CITATION_RETRIEVED_FROM`])} ${o}`;case`MLA`:return a?`${_}. "${i}: ${a}." ${d}, <i>Statista</i>.`:`${_}. "${i}." ${d}, <i>Statista</i>.`;case`BLUEBOOK`:return`${i} Statista, ${o} (last visited ${f})`;case`IEEE`:return`${_}, "${i}," <i>Statista</i>, ${h}. [Online]. Available: ${o}. [Accessed: ${m}].`;default:return``}};function es(){let{t:e}=g(),{id:t,additionalInformation:n}=z(),{locale:r}=ba(),{setIsModalOpen:i,setModalTarget:a}=Sa(),{gtmTrackCopyCitation:o}=Ao(t),s=async(e,t)=>{o(e,t),await navigator.clipboard.write([new globalThis.ClipboardItem({"text/html":new Blob([e],{type:`text/html`})})]),a(it),i(!0)};return(0,L.jsx)(nr,{id:`citations`,className:`mr-3 pl-2 text-sm`,children:Object.entries(xt).map(([t,i],a)=>{let o=$o(n,t,r);if(o)return(0,L.jsxs)(I.Fragment,{children:[(0,L.jsx)(`div`,{className:`mt-6`,children:(0,L.jsx)(`b`,{children:i})}),(0,L.jsxs)(`div`,{className:`relative mb-4 mt-2 flex flex-col justify-between rounded-[6px] bg-surface-muted p-6 text-sm text-on-surface`,children:[(0,L.jsx)(`div`,{className:`mb-6 w-full text-xs`,children:(0,L.jsx)(qe,{className:`break-words text-sm`,content:o})}),(0,L.jsx)(`div`,{className:`w-full text-right`,children:(0,L.jsx)(j,{"aria-label":e([`CONTENTS_COPY_CITATION`]),size:`sm`,"data-gtm":`${U.copyCitation}-${i.toLowerCase().replace(/\s/g,`-`)}`,className:H(Vo({isDisabled:!1}),`absolute bottom-2 right-2 bg-on-primary`),onPress:()=>s(o,t),children:(0,L.jsx)(jo,{"aria-hidden":`true`,className:`fill-none`})})})]})]},a)})})}function W({label:e,children:t}){return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(`dt`,{className:`mt-6 uppercase`,children:(0,L.jsx)(`b`,{children:e})}),(0,L.jsx)(`dd`,{children:t})]})}function ts(){let{t:e}=g(),{additionalInformation:t}=z();return(0,L.jsx)(nr,{id:`survey_details`,className:`pl-6 text-sm`,children:(0,L.jsxs)(`dl`,{children:[t?.coveredGeos&&(0,L.jsx)(W,{label:lt(t.coveredGeos)>1?e(`REGIONS`):e(`REGION`),children:_t(t.coveredGeos)}),t?.surveyPeriod&&(0,L.jsx)(W,{label:e(`SURVEY_TIME_PERIOD`),children:t.surveyPeriod}),t?.specialProperties&&(0,L.jsx)(W,{label:e(`SURVEY_SPECIAL_PROPERTIES`),children:t.specialProperties}),t?.supportText&&(0,L.jsx)(W,{label:e(`SUPPLEMENTARY_NOTES`),children:(0,L.jsx)(`p`,{className:`[&_a]:text-primary [&_a]:underline [&_a]:hover:no-underline`,dangerouslySetInnerHTML:{__html:t.supportText}})}),t?.textModules?.map((e,t)=>(0,L.jsxs)(I.Fragment,{children:[e.headline&&(0,L.jsx)(Ge,{renderAs:`div`,size:`xs`,className:`mb-2 text-lg font-bold`,children:e.headline}),e.text&&(0,L.jsx)(`p`,{className:`mb-4`,children:e.text})]},t))]})})}function ns(){let{t:e}=g(),{additionalInformation:t,externalProps:n}=z(),{locale:r}=ba();return(0,L.jsx)(nr,{id:`sources`,className:`pl-4 text-sm`,children:(0,L.jsxs)(`dl`,{children:[!!n?.drawer?.sources&&(0,L.jsx)(W,{label:e(`SOURCE_LINKS`),children:n?.drawer?.sources}),!!n?.drawer?.sourcesDescription&&(0,L.jsx)(W,{label:e(`SOURCES_LINKS_DESCRIPTION`),children:n?.drawer?.sourcesDescription}),!!t?.sourceInfo?.sources?.length&&(0,L.jsx)(W,{label:t.sourceInfo.sources.length>1?e(`SOURCES`):e(`SOURCE`),children:t.sourceInfo.sources.length>1?t.sourceInfo.sources.join(`; `):t.sourceInfo.sources[0]}),t?.surveyName&&(0,L.jsx)(W,{label:e(`SOURCE_NAME`),children:t?.surveyName}),t?.sourceInfo?.publishers&&(0,L.jsx)(W,{label:e(`PUBLISHED_BY`),children:t?.sourceInfo?.publishers.join(`; `)}),t?.sourceInfo?.sourceLink&&(0,L.jsx)(W,{label:e(`SOURCE_LINK`),children:(0,L.jsx)(`a`,{href:t?.sourceInfo?.sourceLink,target:`_blank`,rel:`noopener`,className:`text-primary underline hover:no-underline`,children:t?.sourceInfo?.sourceLinkTitle??(t=>{try{return new URL(t).hostname}catch{return e([`LINK`])}})(t?.sourceInfo?.sourceLink)})}),t?.released&&(0,L.jsx)(W,{label:e(`RELEASE_DATE`),children:gt(t?.released,r)})]})})}function rs(){let{t:e}=g(),{additionalInformation:t}=z();return(0,L.jsx)(nr,{id:`survey_details`,className:`pl-6 text-sm`,children:(0,L.jsxs)(`dl`,{children:[t?.coveredGeos&&(0,L.jsx)(W,{label:lt(t.coveredGeos)>1?e(`REGIONS`):e(`REGION`),children:_t(t.coveredGeos)}),t?.surveyType&&(0,L.jsx)(W,{label:e(`SURVEY_METHOD_OF_INTERVIEW`),children:t.surveyType}),t?.surveyPeriod&&(0,L.jsx)(W,{label:e(`SURVEY_TIME_PERIOD`),children:t.surveyPeriod}),t?.numberInterviewed&&(0,L.jsx)(W,{label:e(`SURVEY_NUMBER_OF_RESPONDENTS`),children:t.numberInterviewed}),t?.ageGroup&&(0,L.jsx)(W,{label:e(`SURVEY_AGE_GROUP`),children:t.ageGroup}),t?.specialProperties&&(0,L.jsx)(W,{label:e(`SURVEY_SPECIAL_PROPERTIES`),children:t.specialProperties}
29),t?.supportText&&(0,L.jsx)(W,{label:e(`SUPPLEMENTARY_NOTES`),children:(0,L.jsx)(`p`,{className:`[&_a]:text-primary [&_a]:underline [&_a]:hover:no-underline`,dangerouslySetInnerHTML:{__html:t.supportText}})}),t?.textModules?.map((e,t)=>(0,L.jsxs)(I.Fragment,{children:[e.headline&&(0,L.jsx)(Ge,{renderAs:`div`,size:`xs`,className:`mb-2 text-lg font-bold`,children:e.headline}),e.text&&(0,L.jsx)(`p`,{className:`mb-4`,children:e.text})]},t))]})})}function is(){let{t:e}=g(),{additionalInformation:t,externalProps:n}=z(),{locale:r}=ba();return(0,L.jsx)(nr,{id:`sources`,className:`pl-4 text-sm`,children:(0,L.jsxs)(`dl`,{children:[!!n?.drawer?.sources&&(0,L.jsx)(W,{label:e(`SOURCE_LINKS`),children:n?.drawer?.sources}),!!n?.drawer?.sourcesDescription&&(0,L.jsx)(W,{label:e(`SOURCES_LINKS_DESCRIPTION`),children:n?.drawer?.sourcesDescription}),!!t?.sourceInfo?.sources?.length&&(0,L.jsx)(W,{label:t.sourceInfo.sources.length>1?e(`SOURCES`):e(`SOURCE`),children:t.sourceInfo.sources.length>1?t.sourceInfo.sources.join(`; `):t.sourceInfo.sources[0]}),t?.sourceInfo?.conductors&&(0,L.jsx)(W,{label:e(`SURVEY_BY`),children:t?.sourceInfo?.conductors.join(`; `)}),t?.surveyName&&(0,L.jsx)(W,{label:e(`SURVEY_NAME`),children:t?.surveyName}),t?.sourceInfo?.publishers&&(0,L.jsx)(W,{label:e(`PUBLISHED_BY`),children:t?.sourceInfo?.publishers.join(`; `)}),t?.sourceInfo?.sourceLink&&(0,L.jsx)(W,{label:e(`SOURCE_LINK`),children:(0,L.jsx)(`a`,{href:t?.sourceInfo?.sourceLink,target:`_blank`,rel:`noopener`,className:`text-primary underline hover:no-underline`,children:t?.sourceInfo?.sourceLinkTitle??(t=>{try{return new URL(t).hostname}catch{return e([`LINK`])}})(t?.sourceInfo?.sourceLink)})}),t?.released&&(0,L.jsx)(W,{label:e(`RELEASE_DATE`),children:gt(t?.released,r)})]})})}function as({id:e,label:t,ariaLabel:n}){return(0,L.jsx)(er,{id:e,"data-gtm":`${U.sourceDetailsContent}-${t.toLowerCase().replace(/\s/g,`-`)}`,"aria-label":n,className:({isSelected:e})=>H(`justify-start px-2 py-2 text-left @xl/widgetBox:justify-start cursor-pointer`,e&&`font-semibold border-b-2 border-b-primary`),children:t})}function os(){let{t:e}=g(),{id:t,additionalInformation:n,externalProps:r}=z(),{accessConfiguration:i,onPaywallTriggered:a}=ba(),{drawerActiveTab:o}=xa(),[s,c]=(0,I.useState)(o),{gtmTrackSourceDetailsContent:l}=Ao(t),u=n?.statisticType===`SURVEY`;if(!Eo(n,r))return;let d=e=>{if(l(e,s,e),e===`citations`&&!i?.citations){a?.(tt.CITATIONS);return}c(e)};return(0,L.jsxs)(Xn,{"aria-label":e([`SOURCE_DETAILS`]),selectedKey:s,onSelectionChange:e=>d(String(e)),className:`flex h-full min-h-0 flex-col`,children:[(0,L.jsxs)(Qn,{className:`flex gap-2 border-b-1 border-b-[#f2f2f2] px-2 md:gap-10 `,children:[Do(n,r)&&(0,L.jsx)(as,{id:`sources`,label:e([`SOURCE`]),ariaLabel:e([`ARIA_LABEL_SOURCE`])}),Oo(n)&&(0,L.jsx)(as,{id:`survey_details`,label:e(u?[`SURVEY_DETAILS`]:[`STATISTIC_DETAILS`]),ariaLabel:e(u?[`ARIA_LABEL_SURVEY_DETAILS`]:[`ARIA_LABEL_STATISTIC_DETAILS`])}),i?.citations&&(0,L.jsx)(as,{id:`citations`,label:e([`CITATIONS`]),ariaLabel:e([`ARIA_LABEL_CITATIONS`])})]}),(0,L.jsxs)(tr,{className:`min-h-0 flex-1 overflow-y-auto`,children:[Do(n,r)&&(u?(0,L.jsx)(is,{}):(0,L.jsx)(ns,{})),Oo(n)&&(u?(0,L.jsx)(rs,{}):(0,L.jsx)(ts,{})),i?.citations&&(0,L.jsx)(es,{})]})]})}function ss({className:e}){return(0,L.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,className:e,children:(0,L.jsx)(`path`,{fill:`inherit`,d:`M21 3H3c-.825 0-1.5.675-1.5 1.5v15c0 .825.675 1.5 1.5 1.5h18c.825 0 1.5-.675 1.5-1.5v-15c0-.825-.675-1.5-1.5-1.5M7.5 19.5H3v-15h4.5zm13.5 0H9v-6.75h7.65l-2.7 2.7L15 16.5l4.5-4.5L15 7.5l-1.05 1.05 2.7 2.7H9V4.5h12z`})})}var cs=[`a[href]`,`button:not([disabled])`,`textarea:not([disabled])`,`input:not([disabled]):not([type="hidden"])`,`select:not([disabled])`,`[tabindex]:not([tabindex='-1'])`,`[contenteditable='true']`].join(`, `),ls=e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length>0),us=e=>Array.from(e.querySelectorAll(cs)).filter(e=>ls(e)),ds=(e,t,n)=>{(0,I.useEffect)(()=>{if(!e)return;let r=e=>{let r=t?.current;if(!r)return;if(e.key===`Escape`){e.preventDefault(),n();return}if(e.key!==`Tab`)return;let i=us(r);if(i.length===0){e.preventDefault(),r.focus();return}let a=i[0],o=i.at(-1),s=document.activeElement,c=s?r.contains(s):!1;!e.shiftKey&&(s===o||!c)&&(e.preventDefault(),a.focus()),e.shiftKey&&(s===a||!c)&&(e.preventDefault(),o?.focus())};
29return document.addEventListener(`keydown`,r),()=>document.removeEventListener(`keydown`,r)},[e,t,n])},fs=300,ps=()=>{let{id:e,externalProps:t}=z(),{isDrawerOpen:n,sourceDetailsButtonRef:r}=xa(),{setIsDrawerOpen:i}=Sa(),{uiConfiguration:a}=ba(),{gtmTrackSourceDetailsClose:o}=Ao(e),{t:s}=g(),c=(0,I.useRef)(null),l=(0,I.useRef)(null),u=a?.drawer?.title?.type??`div`,[d,f]=(0,I.useState)(n),p=(0,I.useCallback)(()=>{o(),i(!1),r?.current?.focus()},[i,r]);if((0,I.useEffect)(()=>{let e;return n?(f(!0),e=setTimeout(()=>{l.current?.focus()},fs)):e=setTimeout(()=>f(!1),fs),()=>clearTimeout(e)},[n]),ds(n,c,p),d)return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(`button`,{"data-gtm":U.sourceDetailsClose,className:`fixed inset-0 z-default size-full overflow-x-hidden bg-[rgba(221,225,230,0.35)] backdrop-blur-[2px] md:absolute`,onClick:p,tabIndex:-1,"aria-hidden":`true`}),(0,L.jsx)(`div`,{ref:c,role:`dialog`,"aria-modal":`true`,tabIndex:-1,className:H(`fixed bottom-0 left-0 right-0 z-default w-full h-[85vh] rounded-t-lg border-1 border-[#e0e0e0] bg-surface will-change-transform @xl/widgetBox:absolute @xl/widgetBox:bottom-auto @xl/widgetBox:inset-y-2 @xl/widgetBox:right-2 @xl/widgetBox:left-auto @xl/widgetBox:h-[calc(100%-1rem)] @xl/widgetBox:w-[448px] @xl/widgetBox:rounded-lg`,n?`animate-drawer-in-mobile @xl/widgetBox:animate-drawer-in-horizontal`:`animate-drawer-out-mobile @xl/widgetBox:animate-drawer-out-horizontal pointer-events-none`),children:(0,L.jsxs)(`div`,{className:`flex size-full flex-col`,children:[(0,L.jsxs)(`div`,{className:`flex items-center justify-between border-b-1 border-border-muted px-6 py-3`,children:[(0,L.jsx)(Ge,{size:`md`,renderAs:u,className:`py-3 !text-2xl`,children:t?.customDrawer?.heading??s([`SOURCE_DETAILS`])}),(0,L.jsxs)(j,{ref:l,"data-gtm":U.sourceDetailsClose,"aria-label":s([`CLOSE_SOURCE_DETAILS_PANEL`]),onPress:p,className:H(Vo({isDisabled:!1})),children:[(0,L.jsx)(ss,{className:`rotate-90 fill-[#000000] pr-1 @xl/widgetBox:rotate-0`}),(0,L.jsx)(`span`,{className:`hidden @xl/widgetBox:inline`,children:s([`HIDE_PANEL`])})]})]}),(0,L.jsx)(`div`,{className:`max-h-full min-h-0 flex-1 overflow-y-auto p-6`,children:t?.customDrawer?.content??(0,L.jsx)(os,{})})]})})]})};function ms(e){return e<.5?4*e*e*e:1-(-2*e+2)**3/2}function hs(e,t=1200){let n=window.scrollY,r=e.getBoundingClientRect().top+window.scrollY-n,i=performance.now();function a(e){let o=e-i,s=Math.min(o/t,1);window.scrollTo({top:n+r*ms(s)}),s<1&&requestAnimationFrame(a)}requestAnimationFrame(a)}var gs=(e,t)=>{let{uiConfiguration:n}=ba();if(!n)return!0;let r=n[e];if(r&&t in r){let e=r[t];return!e||e?.visible!==!1}return!0},_s=()=>(0,L.jsx)(`div`,{className:`flex h-full flex-col items-center justify-center p-8 text-center`,children:(0,L.jsx)(`div`,{className:`mb-4 size-12 animate-spin rounded-full border-b-2 border-primary`})}),vs=(0,I.lazy)(async()=>({default:(await r(async()=>{let{ChartWrapper:e}=await import(`./chart-wrapper-BH50Pmpi-agC-IX_O-BmYAQQ8N.js`);return{ChartWrapper:e}},__vite__mapDeps([0,1,2,3,4,5,6,7]))).ChartWrapper}));function ys({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 12 12`,width:`12`,height:`12`,children:(0,L.jsx)(`path`,{fill:`currentColor`,d:`M5.624 8.83a.5.5 0 0 0 .752 0l3.5-4A.5.5 0 0 0 9.5 4h-7a.5.5 0 0 0-.376.83l3.5 4z`})})}function bs({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 12 12`,width:`12`,height:`12`,children:(0,L.jsx)(`path`,{fill:`currentColor`,d:`M6.376 3.17a.5.5 0 0 0-.752 0l-3.5 4A.5.5 0 0 0 2.5 8h7a.5.5 0 0 0 .376-.83l-3.5-4z`})})}var xs=(0,I.createContext)(void 0),Ss=()=>{let e=(0,I.useContext)(xs);if(!e)throw Error(`useTableSortingContext must be used within TableSortingProvider`);return e},Cs=({children:e})=>{let[t,n]=(0,I.useState)(void 0);return(0,L.jsx)(xs.Provider,{value:{sortingOrder:t,setSortingOrder:n},children:e})},ws=({data:e,locale:t,title:n,hasFullAccess:r,isMinified:i,selectedCategories:a,unit:o=void 0,series:s,inverted:c=!1})=>{let l=(0,I.useId)(),{sortingOrder:u,setSortingOrder:d}=Ss(),[f,p]=(0,I.useState)(!1),{t:m}=g(),h=(0,I.useMemo)(()=>{let e=new Map;for(let t of s??[])t.name&&e.set(t.name,t.unit);return e},[s]),_=(e,t)=>
29{let n=c?e:t;return h.get(n)??o};(0,I.useEffect)(()=>{p(!1),d(void 0)},[(0,I.useMemo)(()=>[e.labels.join(`�`),e.rows.map(e=>e.map(String).join(`�`)).join(`�`),a.join(`�`),c?`1`:`0`].join(`�`),[e.labels,e.rows,c,a]),d]);let{columns:v,rows:y}=(0,I.useMemo)(()=>Ki(e,a,c,u),[e,a,c,u]),b=(0,I.useMemo)(()=>v.map((e,t)=>({key:t===0?`name`:e,name:e})),[v]),x=(0,I.useMemo)(()=>y.map((e,t)=>{let n={id:String(t),name:String(e[0])};for(let[t,r]of v.slice(1).entries())n[r??``]=e[t+1]??``;return n}),[y,v]),S=(0,I.useMemo)(()=>new Set(b.map(e=>e.key)),[b]),C=e=>{if(e?.column&&S.has(String(e.column)))return e},w=(0,I.useMemo)(()=>i?x.slice(0,3):x,[i,x]),T=(0,I.useMemo)(()=>{if(!(!f||!u))return C(u)},[f,u,S]),E=(0,I.useMemo)(()=>T?Ii(w,T):w,[w,T]),D=e=>{let t=C(e);if(!t)return;let n=!f&&t.direction===`ascending`&&zi(w,String(t.column))?{...t,direction:`descending`}:t;p(!0),d(n)},O=r&&E.length>1,ee=(0,I.useRef)(null);return(0,I.useEffect)(()=>{let e=ee.current;if(!e||O)return;let t=e.querySelectorAll(`th[data-react-aria-pressable="true"]`);for(let e=0;e<t.length;e++){let n=t.item(e);n&&(delete n.dataset.reactAriaPressable,n.removeAttribute(`aria-sort`),n.tabIndex=-1)}},[O]),(0,L.jsxs)(`div`,{ref:ee,className:To`${i?rt:Ze} scrollbar scrollable-horizontal scrollable-vertical-bottom overflow-auto`,children:[O&&(0,L.jsx)(`p`,{id:l,className:`sr-only`,children:m(`ARIA_DESCRIBEDBY_SORT_HELP`)}),(0,L.jsxs)(je,{"aria-label":n??``,"aria-describedby":O?l:void 0,sortDescriptor:T,onSortChange:D,className:`w-full tabular-nums [&_td:not(:first-child)]:text-right [&_th>span>span:last-child]:hidden`,stickyHeader:!0,children:[(0,L.jsx)(Wn,{children:b.map(e=>{let t=e.key===`name`,n=T?.column===e.key,r=n&&T?.direction===`ascending`,a=n&&T?.direction===`descending`;return(0,L.jsx)(Rn,{allowsSorting:O,"aria-sort":T?.column===e.key?T?.direction:`none`,children:(0,L.jsxs)(`div`,{className:H(`flex items-center gap-2`,!t&&`ml-auto`),children:[(0,L.jsx)(`span`,{className:i?`line-clamp-4`:``,children:e.name?Bi(e.name):m(`CHARACTERISTICS`)}),O&&(0,L.jsxs)(`div`,{"aria-hidden":!0,className:`flex shrink-0 flex-col leading-none`,children:[(0,L.jsx)(bs,{className:r?`text-on-surface`:`text-on-surface-muted`}),(0,L.jsx)(ys,{className:a?`text-on-surface`:`text-on-surface-muted`})]})]})},e.key)})}),(0,L.jsx)(Hn,{items:E,children:e=>(0,L.jsx)(Bn,{children:n=>{let i=e[n],a=n===`name`,o=!r&&!a,s=_(String(e.name),String(n)),c=Vi(i,a,t,o,s);return(0,L.jsx)(In,{children:(0,L.jsx)(`div`,{className:`snap-start`,children:(0,L.jsxs)(`span`,{"aria-hidden":o,className:o?`blur-sm`:void 0,children:[c,Es(String(n))&&typeof e[n]==`number`?(0,L.jsx)(Ts,{value:wt({locale:t,value:Number(e[n]),blurValue:o,unit:s}),unit:s?.symbol??``}):void 0]})})})}},e.id)})]})]})};function Ts({value:e,unit:t}){if(!Number.isNaN(Number(e)))return(0,L.jsxs)(`div`,{className:`flex flex-col items-end gap-1`,children:[(0,L.jsx)(`div`,{className:H(`mr-1`,`size-0 border-x-[10px] border-x-transparent`,Number(e)>0?`border-on-accent-container border-b-[10px]`:`border-on-danger-container border-t-[10px]`)}),(0,L.jsxs)(`span`,{children:[e,t]})]})}function Es(e){return e.toLowerCase()===`cagr`}var Ds=({onExpandCollapse:e,isExpanded:t,onShowExpandButtonChange:n})=>{let{globalChartInstanceData:r,globalChartTableData:i,title:a,xAxisProperties:o,yAxisProperties:s,initialSeriesCount:c,unit:l,isInverted:u,additionalInformation:d,colors:f,annotations:p,hasSeriesNegativeValues:m,id:h}=z(),{selectedVisualization:_,selectedCategories:v,isMinified:y,showLabels:b,showTotalValue:x,isTableInverted:S}=ya(),{t:C}=g(),{locale:w,accessConfiguration:T,onPaywallTriggered:E}=ba(),{downloadOption:D}=xa(),{setDownloadOption:O,setSeriesVisibility:ee}=Sa(),k=_===P.TABLE,te=T.isLoggedInUser,A=_===P.BAR||_===P.STACKED_BAR,ne=y?rt:A?`min-h-[400px]`:Ze,{chartOptions:j,computedChartHeight:M,isExpandable:re}=sa({locale:w,chartInstance:_,title:a,globalChartInstanceData:r,globalChartTableData:i,selectedCategories:v,isMinified:y,isInverted:u,hasSeriesNegativeValues:m,initialSeriesCount:c,xAxisProperties:o,yAxisProperties:s,showLabels:b,showTotalValue:x,unit:l,additionalInformation:d,colors:f,chartDataAnnotations:p,ariaLabel:a,hasFullAccess:te,t:C,onSeriesVisibilityChange:ee});return(0,L.jsx)(`div`,{className:ne,children:(0,L.jsx)(I.Suspense,{fallback:(0,L.jsx)(_s,{}),children:k?(0,L.jsx)(ws,{data:i,title:a,locale:w,hasFullAccess:te,isMinified:y,selectedCategories:v,unit:l,series:r.series,inverted:S}):(0,L.jsx)(vs,{id:h,locale:w,chartInstance:_,title:a??``,highchartsOptions:j,downloadOption:D,onDownloadHandled:()=>O(void 0),isMinified:y,isInverted:u,hasSeriesNegativeValues:m,selectedCategories:v,unit:l,showLabels:b,showTotalValue:x,additionalInformation:d,chartDataAnnotations:p,ariaLabel:a,c
29olors:f,hasFullAccess:te,initialSeriesCount:c,onPaywallTriggered:E,onComputedChartHeightChange:()=>e?.({height:M}),isExpanded:t,onShowExpandButtonChange:()=>n?.(re)})})})};function Os(e){let t=e.trim(),n=t.match(/^(.*?)\s+\(([^()]+)\)$/);if(!n)return{headline:t};let[,r,i]=n;return{headline:r.trim(),subline:i.trim()}}var ks=()=>{let{additionalInformation:{title:e,subtitle:t}}=z(),{uiConfiguration:n}=ba(),r=n?.header?.title?.type??`div`,i=Os(e??``),a=gs(`header`,`title`),o=!!i.subline&&a;if(!a&&!o||!e&&!t)return;let s=i.headline??e,c=i.subline??t;return(0,L.jsxs)(`div`,{className:`flex-col overflow-hidden`,children:[(0,L.jsx)(`div`,{className:`flex items-start justify-between gap-2 px-4`,children:(0,L.jsxs)(`div`,{className:`[text-box-edge:text_alphabetic] [text-box-trim:trim-start]`,children:[s&&a&&(0,L.jsx)(Ge,{renderAs:r,size:`xs`,className:`mb-0 line-clamp-2 pb-1 text-sm font-semibold [text-wrap:wrap]`,children:s}),c&&o&&(0,L.jsx)(`span`,{className:`line-clamp-2 text-xs font-normal`,children:c})]})}),(0,L.jsx)(`hr`,{className:`my-2 text-[#e5e5e5]`})]})};(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pit-toast-item{view-transition-class:pit-toast}.pit-toast-scope::view-transition-new(.pit-toast):only-child{animation:.3s cubic-bezier(0,0,.2,1) pit-toast-slide-in}.pit-toast-scope::view-transition-old(.pit-toast):only-child{animation:.25s cubic-bezier(.4,0,1,1) forwards pit-toast-slide-out}::view-transition-new(.pit-toast):only-child{animation:.2s cubic-bezier(0,0,.2,1) pit-toast-slide-in}::view-transition-old(.pit-toast):only-child{animation:.15s cubic-bezier(.4,0,1,1) forwards pit-toast-slide-out}@keyframes pit-toast-slide-in{0%{opacity:0;translate:calc(100% + 1.5rem)}}@keyframes pit-toast-slide-out{to{opacity:0;visibility:hidden;translate:calc(100% + 1.5rem)}}@media (prefers-reduced-motion:reduce){.pit-toast-scope::view-transition-group(.pit-toast){animation:none}.pit-toast-scope::view-transition-old(.pit-toast){animation:none}.pit-toast-scope::view-transition-new(.pit-toast){animation:none}::view-transition-group(.pit-toast){animation:none}::view-transition-old(.pit-toast){animation:none}::view-transition-new(.pit-toast){animation:none}}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();var As=(0,I.createContext)({});As.Provider;function js(){let{icon:e}=(0,I.useContext)(As);if(!e)throw Error(`No icon provider configured`);return e}var Ms=(0,I.forwardRef)(({to:e,target:t,children:n,...r},i)=>(0,L.jsx)(`a`,{ref:i,href:e,target:t,...r,children:n}));Ms.displayName=`FallbackLink`,(0,I.createContext)({}).Provider;var Ns=`-`,Ps=e=>{let t=Rs(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{let n=e.split(Ns);return n[0]===``&&n.length!==1&&n.shift(),Fs(n,t)||Ls(e)},getConflictingClassGroupIds:(e,t)=>{let i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},Fs=(e,t)=>{if(e.length===0)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?Fs(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let a=e.join(Ns);return t.validators.find(({validator:e})=>e(a))?.classGroupId},Is=/^\[(.+)\]$/,Ls=e=>{if(Is.test(e)){let t=Is.exec(e)[1],n=t?.substring(0,t.indexOf(`:`));if(n)return`arbitrary..`+n}},Rs=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Hs(Object.entries(e.classGroups),n).forEach(([e,n])=>{zs(n,r,e,t)}),r},zs=(e,t,n,r)=>{e.forEach(e=>{if(typeof e==`string`){let r=e===``?t:Bs(t,e);r.classGroupId=n;return}if(typeof e==`function`){if(Vs(e)){zs(e(r),t,n,r);return}t.validators.push({validator:e,classGroupId:n});return}Object.entries(e).forEach(([e,i])=>{zs(i,Bs(t,e),n,r)})})},Bs=(e,t)=>{let n=e;
vendor: 15,181 bytes, line 29
29return t.split(Ns).forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},Vs=e=>e.isThemeGetter,Hs=(e,t)=>t?e.map(([e,n])=>[e,n.map(e=>typeof e==`string`?t+e:typeof e==`object`?Object.fromEntries(Object.entries(e).map(([e,n])=>[t+e,n])):e)]):e,Us=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map,i=(i,a)=>{n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);if(t!==void 0)return t;if((t=r.get(e))!==void 0)return i(e,t),t},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},Ws=`!`,Gs=e=>{let{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],a=t.length,o=e=>{let n=[],o=0,s=0,c;for(let l=0;l<e.length;l++){let u=e[l];if(o===0){if(u===i&&(r||e.slice(l,l+a)===t)){n.push(e.slice(s,l)),s=l+a;continue}if(u===`/`){c=l;continue}}u===`[`?o++:u===`]`&&o--}let l=n.length===0?e:e.substring(s),u=l.startsWith(Ws);return{modifiers:n,hasImportantModifier:u,baseClassName:u?l.substring(1):l,maybePostfixModifierPosition:c&&c>s?c-s:void 0}};return n?e=>n({className:e,parseClassName:o}):o},Ks=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(e=>{e[0]===`[`?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t},qs=e=>({cache:Us(e.cacheSize),parseClassName:Gs(e),...Ps(e)}),Js=/\s+/,Ys=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],o=e.trim().split(Js),s=``;for(let e=o.length-1;e>=0;--e){let t=o[e],{modifiers:c,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:d}=n(t),f=!!d,p=r(f?u.substring(0,d):u);if(!p){if(!f){s=t+(s.length>0?` `+s:s);continue}if(p=r(u),!p){s=t+(s.length>0?` `+s:s);continue}f=!1}let m=Ks(c).join(`:`),h=l?m+Ws:m,g=h+p;if(a.includes(g))continue;a.push(g);let _=i(p,f);for(let e=0;e<_.length;++e){let t=_[e];a.push(h+t)}s=t+(s.length>0?` `+s:s)}return s};function Xs(){let e=0,t,n,r=``;for(;e<arguments.length;)(t=arguments[e++])&&(n=Zs(t))&&(r&&(r+=` `),r+=n);return r}var Zs=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Zs(e[r]))&&(n&&(n+=` `),n+=t);return n};function Qs(e,...t){let n,r,i,a=o;function o(o){return n=qs(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)}function s(e){let t=r(e);if(t)return t;let a=Ys(e,n);return i(e,a),a}return function(){return a(Xs.apply(null,arguments))}}var G=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},$s=/^\[(?:([a-z-]+):)?(.+)\]$/i,ec=/^\d+\/\d+$/,tc=new Set([`px`,`full`,`screen`]),nc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,rc=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ic=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ac=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,oc=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,sc=e=>lc(e)||tc.has(e)||ec.test(e),cc=e=>xc(e,`length`,Sc),lc=e=>!!e&&!Number.isNaN(Number(e)),uc=e=>xc(e,`number`,lc),dc=e=>!!e&&Number.isInteger(Number(e)),fc=e=>e.endsWith(`%`)&&lc(e.slice(0,-1)),K=e=>$s.test(e),pc=e=>nc.test(e),mc=new Set([`length`,`size`,`percentage`]),hc=e=>xc(e,mc,Cc),gc=e=>xc(e,`position`,Cc),_c=new Set([`image`,`url`]),vc=e=>xc(e,_c,Tc),yc=e=>xc(e,``,wc),bc=()=>!0,xc=(e,t,n)=>{let r=$s.exec(e);return r?r[1]?typeof t==`string`?r[1]===t:t.has(r[1]):n(r[2]):!1},Sc=e=>rc.test(e)&&!ic.test(e),Cc=()=>!1,wc=e=>ac.test(e),Tc=e=>oc.test(e),Ec=()=>{let e=G(`colors`),t=G(`spacing`),n=G(`blur`),r=G(`brightness`),i=G(`borderColor`),a=G(`borderRadius`),o=G(`borderSpacing`),s=G(`borderWidth`),c=G(`contrast`),l=G(`grayscale`),u=G(`hueRotate`),d=G(`invert`),f=G(`gap`),p=G(`gradientColorStops`),m=G(`gradientColorStopPositions`),h=G(`inset`),g=G(`margin`),_=G(`opacity`),v=G(`padding`),y=G(`saturate`),b=G(`scale`),x=G(`sepia`),S=G(`skew`),C=G(`space`),w=G(`translate`),T=()=>[`auto`,`contain`,`none`],E=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],D=()=>[`auto`,K,t],O=()=>[K,t],ee=()=>[``,sc,cc],k=()=>[`auto`,lc,K],te=()=>[`bottom`,`center`,`left`,`left-bottom`,`left-top`,`right`,`right-bottom`,`right-top`,`top`],A=()=>[`solid`,`dashed`,`dotted`,`double`,`none`],ne=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],j=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`],M=()=>[``,`0`,K],re=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],N=()=>[lc,K];return{cacheSize:500,separator:`:`,theme:{colors:[bc],spacing:[sc,cc],blur:[`none`,``,pc,K],brightness:N(),borderColor:[e],borderRadius:[`none`,``,`full`,pc,K],borderSpacing:O(),borderWidth:ee(),contrast:N(),grayscale:M(),hueRotate:N(),invert:M(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[fc,cc],inset:D(),margin:D(),opacity:N(),padding:O(),saturate:N(),scale:N(),sepia:M(),skew:N(),space:O(),translate:O()},classGroups:{aspect:[{aspect:[`auto`,`square`,`video`,K]}],container:[`container`],columns:[{columns:[pc]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:[...te(),K]}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[`auto`,dc,K]}],basis:[{basis:D()}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`wrap`,`wrap-reverse`,`nowrap`]}],flex:[{flex:[`1`,`auto`,`initial`,`none`,K]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:[`first`,`last`,`none`,dc,K]}],"grid-cols":[{"grid-cols":[bc]}],"col-start-end":[{col:[`auto`,{span:[`full`,dc,K]},K]}],"col-start":[{"col-start":k()}],"col-end":[{"col-end":k()}],"grid-rows":[{"grid-rows":[bc]}],"row-start-end":[{row:[`auto`,{span:[dc,K]},K]}],"row-start":[{"row-start":k()}],"row-end":[{"row-end":k()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":[`auto`,`min`,`max`,`fr`,K]}],"auto-rows":[{"auto-rows":[`auto`,`min`,`max`,`fr`,K]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:[`normal`,...j()]}],"justify-items":[{"justify-items":[`start`,`end`,`center`,`stretch`]}],"justify-self":[{"justify-self":[`auto`,`start`,`end`,`center`,`stretch`]}],"align-content":[{content:[`normal`,...j(),`baseline`]}],"align-items":[{items:[`start`,`end`,`center`,`baseline`,`stretch`]}],"align-self":[{self:[`auto`,`start`,`end`,`center`,`stretch`,`baseline`]}],"place-content":[{"place-content":[...j(),`baseline`]}],"place-items":[{"place-items":[`start`,`end`,`center`,`baseline`,`stretch`]}],"place-self":[{"place-self":[`auto`,`start`,`end`,`center`,`stretch`]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[C]}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":[C]}],"space-y-reverse":[`space-y-reverse`],w:[{w:[`auto`,`min`,`max`,`fit`,`svw`,`lvw`,`dvw`,K,t]}],"min-w":[{"min-w":[K,t,`min`,`max`,`fit`]}],"max-w":[{"max-w":[K,t,`none`,`full`,`min`,`max`,`fit`,`prose`,{screen:[pc]},pc]}],h:[{h:[K,t,`auto`,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],"min-h":[{"min-h":[K,t,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],"max-h":[{"max-h":[K,t,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],size:[{size:[K,t,`auto`,`min`,`max`,`fit`]}],"font-size":[{text:[`base`,pc,cc]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`,uc]}],"font-family":[{font:[bc]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`,K]}],"line-clamp":[{"line-clamp":[`none`,lc,uc]}],leading:[{leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`,sc,K]}],"list-image":[{"list-image":[`none`,K]}],"list-style-type":[{list:[`none`,`disc`,`decimal`,K]}],"list-style-position":[{list:[`inside`,`outside`]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...A(),`wavy`]}],"text-decoration-thickness":[{decoration:[`auto`,`from-font`,sc,cc]}],"underline-offset":[{"underline-offset":[`auto`,sc,K]}],"text-decoration-color":[{decoration:[e]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:O()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,K]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,K]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:[...te(),gc]}],"bg-repeat":[{bg:[`no-repeat`,{repeat:[``,`x`,`y`,`round`,`space`]}]}],"bg-size":[{bg:[`auto`,`cover`,`contain`,hc]}],"bg-image":[{bg:[`none`,{"gradient-to":[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},vc]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...A(),`hidden`]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":[`divide-y-reverse`],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:A()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[``,...A()]}],"outline-offset":[{"outline-offset":[sc,K]}],"outline-w":[{outline:[sc,cc]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ee()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[sc,cc]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:[``,`inner`,`none`,pc,yc]}],"shadow-color":[{shadow:[bc]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":[...ne(),`plus-lighter`,`plus-darker`]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:[``,`none`]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":[``,`none`,pc,K]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":[``,`none`]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[`none`,`all`,``,`colors`,`opacity`,`shadow`,`transform`,K]}],duration:[{duration:N()}],ease:[{ease:[`linear`,`in`,`out`,`in-out`,K]}],delay:[{delay:N()}],animate:[{animate:[`none`,`spin`,`ping`,`pulse`,`bounce`,K]}],transform:[{transform:[``,`gpu`,`none`]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[dc,K]}],"translate-x":[{"translate-x":[w]}],"translate-y":[{"translate-y":[w]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:[`center`,`top`,`top-right`,`right`,`bottom-right`,`bottom`,`bottom-left`,`left`,`top-left`,K]}],accent:[{accent:[`auto`,e]}],appearance:[{appearance:[`none`,`auto`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom
29-in`,`zoom-out`,K]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":[`none`,`auto`]}],resize:[{resize:[`none`,`y`,`x`,``]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,K]}],fill:[{fill:[e,`none`]}],"stroke-w":[{stroke:[sc,cc,uc]}],stroke:[{stroke:[e,`none`]}],sr:[`sr-only`,`not-sr-only`],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-s`,`border-w-e`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-s`,`border-color-e`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]}}},Dc=(e,{cacheSize:t,prefix:n,separator:r,experimentalParseClassName:i,extend:a={},override:o={}})=>{Oc(e,`cacheSize`,t),Oc(e,`prefix`,n),Oc(e,`separator`,r),Oc(e,`experimentalParseClassName`,i);for(let t in o)kc(e[t],o[t]);for(let t in a)Ac(e[t],a[t]);return e},Oc=(e,t,n)=>{n!==void 0&&(e[t]=n)},kc=(e,t)=>{if(t)for(let n in t)Oc(e,n,t[n])},Ac=(e,t)=>{if(t)for(let n in t){let r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}},jc=((e,...t)=>typeof e==`function`?Qs(Ec,e,...t):Qs(()=>Dc(Ec(),e),...t))({override:{classGroups:{z:[`deep:`,`default`,`fixed`,`sticky`,`tooltip`,`dialog`,`dropdown`,`overlay`,`modal`,`spinner`]}},extend:{classGroups:{"font-size":[`text-fluid-xs`,`text-fluid-sm`,`text-fluid-md`,`text-fluid-lg`,`text-fluid-xl`,`text-fluid-2xl`]}}});function q(e,...t){let n=``;for(let[r,i]of t.entries())n+=e[r]+String(i);return n+e.at(-1)}function Mc(e){if(Pc())e.focus({preventScroll:!0});else{let t=Fc(e);e.focus(),Ic(t)}}var Nc=null;function Pc(){if(Nc==null){Nc=!1;try{document.createElement(`div`).focus({get preventScroll(){return Nc=!0,!0}})}catch{}}return Nc}function Fc(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function Ic(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}var Lc=e=>Bc(e)?e.document:Vc(e)?e:e?.ownerDocument??(typeof document<`u`?document:void 0),Rc=e=>Lc(e)?.defaultView??(typeof window<`u`?window:void 0);function zc(e){return typeof e==`object`&&!!e&&`nodeType`in e&&typeof e.nodeType==`number`}function Bc(e){return typeof e==`object`&&!!e&&`window`in e&&e.window===e}function Vc(e){return zc(e)&&e.nodeType===9}function Hc(e){return zc(e)&&e.nodeType===11&&`host`in e}var Uc=!1;function Wc(){return Uc}function Gc(e,t){if(!Wc())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n=typeof n.assignedElements!=`function`&&n.assignedSlot?.parentNode?n.assignedSlot.parentNode:Hc(n)?n.host:n.parentNode}return!1}var Kc=(e=document)=>{if(!Wc())return e.activeElement;let t=e.activeElement;for(;t&&`shadowRoot`in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function J(e){if(Wc()&&e.target instanceof Element&&e.target.shadowRoot){if(`composedPath`in e)return e.composedPath()[0]??null;if(`composedPath`in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}var qc=typeof Element<`u`&&`checkVisibility`in Element.prototype;
vendor: 4,106 bytes, line 29
29function Jc(e){let t=Rc(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,i=n!==`none`&&r!==`hidden`&&r!==`collapse`;if(i){let{getComputedStyle:t}=Rc(e),{display:n,visibility:r}=t(e);i=n!==`none`&&r!==`hidden`&&r!==`collapse`}return i}function Yc(e,t){return!e.hasAttribute(`hidden`)&&!e.hasAttribute(`data-react-aria-prevent-focus`)&&(e.nodeName===`DETAILS`&&t&&t.nodeName!==`SUMMARY`?e.hasAttribute(`open`):!0)}function Xc(e,t){return qc?e.checkVisibility({visibilityProperty:!0})&&!e.closest(`[data-react-aria-prevent-focus]`):e.nodeName!==`#comment`&&Jc(e)&&Yc(e,t)&&(!e.parentElement||Xc(e.parentElement,e))}var Zc=[`input:not([disabled]):not([type=hidden])`,`select:not([disabled])`,`textarea:not([disabled])`,`button:not([disabled])`,`a[href]`,`area[href]`,`summary`,`iframe`,`object`,`embed`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable^="false"])`,`permission`],Qc=Zc.join(`:not([hidden]),`)+`,[tabindex]:not([disabled]):not([hidden])`;Zc.push(`[tabindex]:not([tabindex="-1"]):not([disabled])`),Zc.join(`:not([hidden]):not([tabindex="-1"]),`);function $c(e,t){return e.matches(Qc)&&!el(e)&&(t?.skipVisibilityCheck||Xc(e))}function el(e){let t=e;for(;t!=null;){if(t instanceof Rc(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}var tl=typeof document<`u`?I.useLayoutEffect:()=>{};function nl(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function rl(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function il(e){let t=(0,I.useRef)({isFocused:!1,observer:null});return tl(()=>{let e=t.current;return()=>{e.observer&&=(e.observer.disconnect(),null)}},[]),(0,I.useCallback)(n=>{let r=J(n);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r;n.addEventListener(`focusout`,r=>{if(t.current.isFocused=!1,n.disabled){let t=nl(r);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){t.current.observer?.disconnect();let e=n===Kc()?null:Kc();n.dispatchEvent(new FocusEvent(`blur`,{relatedTarget:e})),n.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:[`disabled`]})}},[e])}var al=!1;function ol(e){for(;e&&!$c(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=Rc(e),n=t.document.activeElement;if(!n||n===e)return;al=!0;let r=!1,i=e=>{(J(e)===n||r)&&e.stopImmediatePropagation()},a=t=>{(J(t)===n||r)&&(t.stopImmediatePropagation(),!e&&!r&&(r=!0,Mc(n),c()))},o=t=>{(J(t)===e||r)&&t.stopImmediatePropagation()},s=t=>{(J(t)===e||r)&&(t.stopImmediatePropagation(),r||(r=!0,Mc(n),c()))};t.addEventListener(`blur`,i,!0),t.addEventListener(`focusout`,a,!0),t.addEventListener(`focusin`,s,!0),t.addEventListener(`focus`,o,!0);let c=()=>{cancelAnimationFrame(l),t.removeEventListener(`blur`,i,!0),t.removeEventListener(`focusout`,a,!0),t.removeEventListener(`focusin`,s,!0),t.removeEventListener(`focus`,o,!0),al=!1,r=!1},l=requestAnimationFrame(c);return c}function sl(e){if(typeof window>`u`||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function cl(e){return typeof window<`u`&&window.navigator!=null&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function ll(e){let t=null;return()=>(t??=e(),t)}var ul=ll(function(){return cl(/^Mac/i)}),dl=ll(function(){return cl(/^iPhone/i)}),fl=ll(function(){return cl(/^iPad/i)||ul()&&navigator.maxTouchPoints>1}),pl=ll(function(){return dl()||fl()}),ml=ll(function(){return sl(/AppleWebKit/i)&&(pl()||!hl())}),hl=ll(function(){return sl(/Chrome|CriOS|CrMo/i)}),gl=ll(function(){return sl(/Android/i)}),_l=ll(function(){return sl(/(Firefox|FxiOS)/i)});
29function vl(e){return e.pointerType===``&&e.isTrusted?!0:gl()&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function yl(e){return!gl()&&e.width===0&&e.height===0||gl()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`}function bl(e,t,n=!0){let{metaKey:r,ctrlKey:i,altKey:a,shiftKey:o}=t;!ml()&&_l()&&window.event?.type?.startsWith(`key`)&&e.target===`_blank`&&(ul()?r=!0:i=!0);let s=ml()&&ul()&&!fl()?new KeyboardEvent(`keydown`,{keyIdentifier:`Enter`,metaKey:r,ctrlKey:i,altKey:a,shiftKey:o}):new MouseEvent(`click`,{metaKey:r,ctrlKey:i,altKey:a,shiftKey:o,detail:1,bubbles:!0,cancelable:!0});bl.isOpening=n,Mc(e),e.dispatchEvent(s),bl.isOpening=!1}bl.isOpening=!1;var xl={prefix:String(Math.round(Math.random()*1e10)),current:0},Sl=I.createContext(xl),Cl=I.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement;var wl=new WeakMap;function Tl(e=!1){let t=(0,I.useContext)(Sl),n=(0,I.useRef)(null);if(n.current===null&&!e){let e=I.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(e){let n=wl.get(e);n==null?wl.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,wl.delete(e))}n.current=++t.current}return n.current}function El(e){let t=(0,I.useContext)(Sl),n=Tl(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function Dl(e){let t=I.useId(),[n]=(0,I.useState)(Ml()),r=n?`react-aria`:`react-aria${xl.prefix}`;return e||`${r}-${t}`}var Ol=typeof I.useId==`function`?Dl:El;function kl(){return!1}function Al(){return!0}function jl(e){return()=>{}}function Ml(){return typeof I.useSyncExternalStore==`function`?I.useSyncExternalStore(jl,kl,Al):(0,I.useContext)(Cl)}var Nl=null,Pl=new Set,Fl=new Map,Il=!1,Ll=!1,Rl={Tab:!0,Escape:!0};function zl(e,t){for(let n of Pl)n(e,t)}function Bl(e){return!(e.metaKey||!ul()&&e.altKey||e.ctrlKey||e.key===`Control`||e.key===`Shift`||e.key===`Meta`)}function Vl(e){Il=!0,!bl.isOpening&&Bl(e)&&(Nl=`keyboard`,zl(`keyboard`,e))}function Hl(e){Nl=`pointer`,`pointerType`in e&&e.pointerType,(e.type===`mousedown`||e.type===`pointerdown`)&&(Il=!0,zl(`pointer`,e))}function Ul(e){!bl.isOpening&&vl(e)&&(Il=!0,Nl=`virtual`)}function Wl(e){let t=Rc(J(e)),n=Lc(J(e));J(e)===t||J(e)===n||al||!e.isTrusted||(!Il&&!Ll&&(Nl=`virtual`,zl(`virtual`,e)),Il=!1,Ll=!1)}function Gl(){al||(Il=!1,Ll=!0)}function Kl(e){if(typeof window>`u`||typeof document>`u`)return;let t=Rc(e),n=Lc(e);if(Fl.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){Il=!0,r.apply(this,arguments)}}),n.addEventListener(`keydown`,Vl,!0),n.addEventListener(`keyup`,Vl,!0),n.addEventListener(`click`,Ul,!0),t.addEventListener(`focus`,Wl,!0),t.addEventListener(`blur`,Gl,!1),typeof PointerEvent<`u`&&(n.addEventListener(`pointerdown`,Hl,!0),n.addEventListener(`pointermove`,Hl,!0),n.addEventListener(`pointerup`,Hl,!0)),t.addEventListener(`beforeunload`,()=>{ql(e)},{once:!0}),Fl.set(t,{focus:r})}var ql=(e,t)=>{let n=Rc(e),r=Lc(e);t&&r.removeEventListener(`DOMContentLoaded`,t),Fl.has(n)&&(Reflect.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:Fl.get(n).focus}),r.removeEventListener(`keydown`,Vl,!0),r.removeEventListener(`keyup`,Vl,!0),r.removeEventListener(`click`,Ul,!0),n.removeEventListener(`focus`,Wl,!0),n.removeEventListener(`blur`,Gl,!1),typeof PointerEvent<`u`&&(r.removeEventListener(`pointerdown`,Hl,!0),r.removeEventListener(`pointermove`,Hl,!0),r.removeEventListener(`pointerup`,Hl,!0)),Fl.delete(n))};function Jl(e){let t=Lc(e),n;return t.readyState===`loading`?(n=()=>{Kl(e)},t.addEventListener(`DOMContentLoaded`,n)):Kl(e),()=>ql(e,n)}typeof document<`u`&&Jl();function Yl(){return Nl!==`pointer`}function Xl(){return Nl}function Zl(e){Nl=e,zl(e,null)}var Ql=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function $l(e,t,n){let r=n?J(n):void 0,i=Lc(r),a=Rc(r),o=typeof a<`u`?a.HTMLInputElement:HTMLInputElement,s=typeof a<`u`?a.HTMLTextAreaElement:HTMLTextAreaElement,c=typeof a<`u`?a.HTMLElement:HTMLElement,l=typeof a<`u`?a.KeyboardEvent:KeyboardEvent,u=Kc(i);return e=e||u instanceof o&&!Ql.has(u.type)||u instanceof s||u instanceof c&&u.isContentEditable,!(e&&t===`keyboard`&&n instanceof l&&!Rl[n.key])}function eu(e,t,n){Kl(),(0,I.useEffect)(()=>
29{if(n?.enabled===!1)return;let t=(t,r)=>{$l(!!n?.isTextInput,t,r)&&e(Yl())};return Pl.add(t),()=>{Pl.delete(t)}},t)}var tu=new Map,nu=new Set;function ru(){if(typeof window>`u`)return;function e(e){return`propertyName`in e}let t=t=>{let r=J(t);if(!e(t)||!r)return;let i=tu.get(r);i||(i=new Set,tu.set(r,i),r.addEventListener(`transitioncancel`,n,{once:!0})),i.add(t.propertyName)},n=t=>{let r=J(t);if(!e(t)||!r)return;let i=tu.get(r);if(i&&(i.delete(t.propertyName),i.size===0&&(r.removeEventListener(`transitioncancel`,n),tu.delete(r)),tu.size===0)){for(let e of nu)e();nu.clear()}};document.body.addEventListener(`transitionrun`,t),document.body.addEventListener(`transitionend`,n)}typeof document<`u`&&(document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,ru):ru());function iu(){for(let[e]of tu)`isConnected`in e&&!e.isConnected&&tu.delete(e)}function au(e){requestAnimationFrame(()=>{iu(),tu.size===0?e():nu.add(e)})}function ou(e){if(!e.isConnected)return;let t=Lc(e);if(Xl()===`virtual`){let n=Kc(t);au(()=>{let r=Kc(t);(r===n||r===t.body)&&e.isConnected&&Mc(e)})}else Mc(e)}function su(...e){return(...t)=>{for(let n of e)typeof n==`function`&&n(...t)}}function cu(e){let[t,n]=(0,I.useState)(e),r=(0,I.useRef)(t),i=(0,I.useRef)(null),a=(0,I.useRef)(()=>{if(!i.current)return;let e=i.current.next();if(e.done){i.current=null;return}r.current===e.value?a.current():n(e.value)});return tl(()=>{r.current=t,i.current&&a.current()}),[t,(0,I.useCallback)(e=>{i.current=e(r.current),a.current()},[a])]}var lu=!!(typeof window<`u`&&window.document&&window.document.createElement),uu=new Map,du;typeof FinalizationRegistry<`u`&&(du=new FinalizationRegistry(e=>{uu.delete(e)}));var fu=new WeakMap;function pu(e){let[t,n]=(0,I.useState)(e),r=(0,I.useRef)(null),i=Ol(t),a=(0,I.useRef)(null),o=fu.get(a);if(du&&o!==i&&(o!=null&&du.unregister(a),du.register(a,i,a),fu.set(a,i)),lu){let e=uu.get(i);e&&!e.includes(r)?e.push(r):uu.set(i,[r])}return tl(()=>{let e=i;return()=>{du&&(du.unregister(a),fu.delete(a)),uu.delete(e)}},[i]),(0,I.useEffect)(()=>{let e=r.current;return e&&n(e),()=>{e&&(r.current=null)}}),i}function mu(e,t){if(e===t)return e;let n=uu.get(e);if(n)return n.forEach(e=>e.current=t),t;let r=uu.get(t);return r?(r.forEach(t=>t.current=e),e):t}function hu(e=[]){let t=pu(),[n,r]=cu(t),i=(0,I.useCallback)(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return tl(i,[t,i,...e]),n}function gu(...e){return e.length===1&&e[0]?e[0]:t=>{let n=!1,r=e.map(e=>{let r=_u(e,t);return n||=typeof r==`function`,r});if(n)return()=>{r.forEach((t,n)=>{typeof t==`function`?t():_u(e[n],null)})}}}function _u(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function vu(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=vu(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function yu(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=vu(e))&&(r&&(r+=` `),r+=t);return r}function bu(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],i=r[e];typeof n==`function`&&typeof i==`function`&&e[0]===`o`&&e[1]===`n`&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?t[e]=su(n,i):(e===`className`||e===`UNSAFE_className`)&&typeof n==`string`&&typeof i==`string`?t[e]=yu(n,i):e===`id`&&n&&i?t.id=mu(n,i):e===`ref`&&n&&i?t.ref=gu(n,i):t[e]=i===void 0?n:i}}return t}function xu(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e,a=(0,I.useCallback)(e=>{if(J(e)===e.currentTarget)return r&&r(e),i&&i(!1),!0},[r,i]),o=il(a),s=(0,I.useCallback)(e=>{let t=J(e),r=Lc(t),a=r?Kc(r):Kc();t===e.currentTarget&&t===a&&(n&&n(e),i&&i(!0),o(e))},[i,n,o]);return{focusProps:{onFocus:!t&&(n||i||r)?s:void 0,onBlur:!t&&(r||i)?a:void 0}}}function Su(e){if(e)return t=>{let n=!0;e({...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){n=!0},continuePropagation(){n=!1,typeof t.continuePropagation==`function`&&t.continuePropagation()},isPropagationStopped(){return n}}),n&&!(typeof t.isPropagationStopped==`function`&&t.isPropagationStopped())&&t.stopPropagation()}}var Cu=new Set([`shift`,`alt`,`control`,`meta`,`mod`]),wu=[`Alt`,`Control`,`Meta`,`Shift`];function Tu(e){let t=new Set;return e.alt&&t.add(`Alt`),e.shift&&t.add(`Shift`),e.ctrl&&t.add(`Control`),e.meta&&t.add(`Meta`),e.mod&&t.add(ul()?`Meta`:`Control`),t}function Eu(e){let t=new Set;return e.altKey&&t.add(`Alt`),e.ctrlKey&&t.add(`Control`),e.metaKey&&t.add(`Meta`),e.shiftKey&&t.add(`Shift`),t}function Du(e){return wu.filter(t=>e.has(t))}function Ou(e){let t=e.split(`+`).reduce((e,t)=>
29{let n=t.toLowerCase();return Cu.has(n)?n===`shift`?e.shift=!0:n===`alt`?e.alt=!0:n===`control`?e.ctrl=!0:n===`meta`?e.meta=!0:n===`mod`&&(e.mod=!0):e.key=t,e},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:``});if(t.key===``)throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function ku(e){return e.toLowerCase()}var Au={space:` `,esc:`escape`,del:`delete`,ins:`insert`,left:`arrowleft`,right:`arrowright`,up:`arrowup`,down:`arrowdown`,pageup:`pageup`,pagedown:`pagedown`};function ju(e){let t=ku(e);return Au[t]??t}function Mu(e){let t=Du(Tu(e)),n=ju(e.key);return t.length>0?`${t.join(`+`)}+${n}`:n}function Nu(e){let t=Du(Eu(e)),n=ku(e.key);return(t.length>0?`${t.join(`+`)}+`:``)+n}function Pu(e){let t=new Map;for(let[n,r]of Object.entries(e)){let e=Ou(n);t.set(Mu(e),r)}return e=>{let n=Nu(e),r=t.get(n),i=r?.(e);i===void 0&&r!==void 0?i={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof i==`boolean`&&(i={shouldContinuePropagation:!i,shouldPreventDefault:i}),i?.shouldPreventDefault&&e.preventDefault(),(!r||i?.shouldContinuePropagation)&&e.continuePropagation()}}function Fu(e){let{shortcuts:t,allowRepeats:n=!1,allowComposing:r=!1}=e,i,a;if(t){let o=Pu(t),s=Su(e=>{if(!Gc(e.currentTarget,J(e))){e.continuePropagation();return}if(e.nativeEvent?.repeat&&!n||e.nativeEvent?.isComposing&&!r){e.continuePropagation();return}o(e)}),c=Su(e=>{if(!Gc(e.currentTarget,J(e))){e.continuePropagation();return}if(e.nativeEvent?.repeat&&!n||e.nativeEvent?.isComposing&&!r){e.continuePropagation();return}e.continuePropagation()});i=e.onKeyDown?su(e.onKeyDown,s):s,a=e.onKeyUp?su(e.onKeyUp,c):c}else i=Su(e.onKeyDown),a=Su(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:i,onKeyUp:a}}}function Iu(e){let t=(0,I.useRef)(null),n=(0,I.useRef)(void 0),r=(0,I.useCallback)(t=>{if(typeof e==`function`){let n=e,r=n(t);return()=>{typeof r==`function`?r():n(null)}}if(e)return e.current=t,()=>{e.current=null}},[e]);return(0,I.useMemo)(()=>({get current(){return t.current},set current(e){t.current=e,n.current&&=(n.current(),void 0),e!=null&&(n.current=r(e))}}),[r])}function Lu(e,t){tl(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}var Ru=I.createContext(null);function zu(e){let t=(0,I.useContext)(Ru)||{};Lu(t,e);let{ref:n,...r}=t;return r}function Bu(e,t){let{focusProps:n}=xu(e),{keyboardProps:r}=Fu(e),i=bu(n,r),a=zu(t),o=e.isDisabled?{}:a,s=(0,I.useRef)(e.autoFocus);(0,I.useEffect)(()=>{s.current&&t.current&&ou(t.current),s.current=!1},[t]);let c=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(c=void 0),{focusableProps:bu({...i,tabIndex:c},o)}}typeof HTMLTemplateElement<`u`&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));var Vu=(0,I.createContext)(!1);function Hu(e){let t=(t,n)=>(0,I.useContext)(Vu)?null:e(t,n);return t.displayName=e.displayName||e.name,(0,I.forwardRef)(t)}var Uu=I.useInsertionEffect??tl;function Wu(e){let t=(0,I.useRef)(null);return Uu(()=>{t.current=e},[e]),(0,I.useCallback)((...e)=>{let n=t.current;return n?.(...e)},[])}function Gu(e,t){let{id:n,"aria-label":r,"aria-labelledby":i}=e;return n=pu(n),i&&r?i=[...new Set([n,...i.trim().split(/\s+/)])].join(` `):i&&=i.trim().split(/\s+/).join(` `),!r&&!i&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":i}}var Ku=new Set([`Arab`,`Syrc`,`Samr`,`Mand`,`Thaa`,`Mend`,`Nkoo`,`Adlm`,`Rohg`,`Hebr`]),qu=new Set([`ae`,`ar`,`arc`,`bcc`,`bqi`,`ckb`,`dv`,`fa`,`glk`,`he`,`ku`,`mzn`,`nqo`,`pnb`,`ps`,`sd`,`ug`,`ur`,`yi`]);function Ju(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n=typeof t.getTextInfo==`function`?t.getTextInfo():t.textInfo;if(n)return n.direction===`rtl`;if(t.script)return Ku.has(t.script)}let t=e.split(`-`)[0];return qu.has(t)}var Yu=Symbol.for(`react-aria.i18n.locale`);
29function Xu(){let e=typeof window<`u`&&window[Yu]||typeof navigator<`u`&&(navigator.language||navigator.userLanguage)||`en-US`;try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e=`en-US`}return{locale:e,direction:Ju(e)?`rtl`:`ltr`}}var Zu=Xu(),Qu=new Set;function $u(){Zu=Xu();for(let e of Qu)e(Zu)}function ed(){let e=Ml(),[t,n]=(0,I.useState)(Zu);return(0,I.useEffect)(()=>(Qu.size===0&&window.addEventListener(`languagechange`,$u),Qu.add(n),()=>{Qu.delete(n),Qu.size===0&&window.removeEventListener(`languagechange`,$u)}),[]),e?{locale:typeof window<`u`&&window[Yu]||`en-US`,direction:`ltr`}:t}var td=I.createContext(null);function nd(){let e=ed();return(0,I.useContext)(td)||e}var rd=Symbol.for(`react-aria.i18n.locale`),id=Symbol.for(`react-aria.i18n.strings`),ad=void 0,od=class e{constructor(e,t=`en-US`){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=sd(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(t){if(typeof window>`u`)return null;let n=window[rd];if(ad===void 0){let t=window[id];if(!t)return null;ad={};for(let r in t)ad[r]=new e({[n]:t[r]},n)}let r=ad?.[t];if(!r)throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}};function sd(e,t,n=`en-US`){if(t[e])return t[e];let r=cd(e),i=ld(e);if(i&&t[`${r}-${i}`])return t[`${r}-${i}`];if(t[r])return t[r];for(let e in t)if(e.startsWith(r+`-`))return t[e];return t[n]}function cd(e){return Intl.Locale?new Intl.Locale(e).language:e.split(`-`)[0]}function ld(e){if(Intl.Locale)return new Intl.Locale(e).script}var ud=new Map,dd=new Map,fd=class{constructor(e,t){this.locale=e,this.strings=t}format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return typeof n==`function`?n(t,this):n}plural(e,t,n=`cardinal`){let r=t[`=`+e];if(r)return typeof r==`function`?r():r;let i=this.locale+`:`+n,a=ud.get(i);return a||(a=new Intl.PluralRules(this.locale,{type:n}),ud.set(i,a)),r=t[a.select(e)]||t.other,typeof r==`function`?r():r}number(e){let t=dd.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),dd.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return typeof n==`function`?n():n}},pd=new WeakMap;function md(e){let t=pd.get(e);return t||(t=new od(e),pd.set(e,t)),t}function hd(e,t){return t&&od.getGlobalDictionaryForPackage(t)||md(e)}function gd(e,t){let{locale:n}=nd(),r=hd(e,t);return(0,I.useMemo)(()=>new fd(n,r),[n,r])}var _d=new Set([`id`]),vd=new Set([`aria-label`,`aria-labelledby`,`aria-describedby`,`aria-details`]),yd=new Set([`href`,`hrefLang`,`target`,`rel`,`download`,`ping`,`referrerPolicy`]),bd=new Set([`dir`,`lang`,`hidden`,`inert`,`translate`]),xd=new Set(`onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart`.split(`.`)),Sd=/^(data-.*)$/;function Cd(e,t={}){let{labelable:n,isLink:r,global:i,events:a=i,propNames:o}=t,s={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(_d.has(t)||n&&vd.has(t)||r&&yd.has(t)||i&&bd.has(t)||a&&(xd.has(t)||t.endsWith(`Capture`)&&xd.has(t.slice(0,-7)))||o?.has(t)||Sd.test(t))&&(s[t]=e[t]);return s}var wd=`default`,Td=``,Ed=new WeakMap;function Dd(e){if(pl()&&ml()){if(wd==="default"){let t=Lc(e);Td=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect=`none`}wd=`disabled`}else if(e instanceof HTMLElement||e instanceof SVGElement){let t=`userSelect`in e.style?`userSelect`:`webkitUserSelect`;Ed.set(e,e.style[t]),e.style[t]=`none`}}function Od(e){if(pl()&&ml()){if(wd!==`disabled`)return;wd=`restoring`,setTimeout(()=>{au(()=>{if(wd===`restoring`){let t=Lc(e);t.documentElement.style.webkitUserSelect===`none`&&(t.documentElement.style.webkitUserSelect=Td||``),Td=``,wd=`default`}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Ed.has(e)){let t=Ed.get(e),n=`userSelect`in e.style?`userSelect`:`webkitUserSelect`;e.style[n]===`none`&&(e.style[n]=t),e.getAttribute(`style`)===``&&e.removeAttribute(`style`),Ed.delete(e)}}function kd(e){return e?.defaultView?.__webpack_nonce__||globalThis.__webpack_nonce__||void 0}var Ad=new WeakMap;
29function jd(e){let t=e??(typeof document<`u`?document:void 0);if(!t)return kd(t);if(Ad.has(t))return Ad.get(t);let n=t.querySelector(`meta[property="csp-nonce"]`),r=n&&n instanceof Rc(n).HTMLMetaElement&&(n.nonce||n.content)||kd(t)||void 0;return r!==void 0&&Ad.set(t,r),r}var Md=I.createContext({register:()=>{}});Md.displayName=`PressResponderContext`;function Nd(){let e=(0,I.useRef)(new Map),t=(0,I.useCallback)((t,n,r,i)=>{let a=i?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:a,options:i}),t.addEventListener(n,a,i)},[]),n=(0,I.useCallback)((t,n,r,i)=>{let a=e.current.get(r)?.fn||r;t.removeEventListener(n,a,i),e.current.delete(r)},[]),r=(0,I.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,I.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Pd(e){let t=(0,I.useContext)(Md);if(t){let{register:n,ref:r,...i}=t;e=bu(i,e),n()}return Lu(t,e.ref),e}var Fd=class{#e;constructor(e,t,n,r){this.#e=!0;let i=(r?.target??n.currentTarget)?.getBoundingClientRect(),a,o=0,s,c=null;n.clientX!=null&&n.clientY!=null&&(s=n.clientX,c=n.clientY),i&&(s!=null&&c!=null?(a=s-i.left,o=c-i.top):(a=i.width/2,o=i.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=a,this.y=o,this.key=n.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}},Id=Symbol(`linkClicked`),Ld=`react-aria-pressable-style`,Rd=`data-react-aria-pressable`;function zd(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:i,onPressUp:a,onClick:o,isDisabled:s,isPressed:c,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:f,...p}=Pd(e),[m,h]=(0,I.useState)(!1),g=(0,I.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:_,removeAllGlobalListeners:v}=Nd(),y=(0,I.useCallback)((e,t)=>{let i=g.current;if(s||i.didFirePressStart)return!1;let a=!0;if(i.isTriggeringEvent=!0,r){let n=new Fd(`pressstart`,t,e);r(n),a=n.shouldStopPropagation}return n&&n(!0),i.isTriggeringEvent=!1,i.didFirePressStart=!0,h(!0),a},[s,r,n]),b=(0,I.useCallback)((e,r,a=!0)=>{let o=g.current;if(!o.didFirePressStart)return!1;o.didFirePressStart=!1,o.isTriggeringEvent=!0;let c=!0;if(i){let t=new Fd(`pressend`,r,e);i(t),c=t.shouldStopPropagation}if(n&&n(!1),h(!1),t&&a&&!s){let n=new Fd(`press`,r,e);t(n),c&&=n.shouldStopPropagation}return o.isTriggeringEvent=!1,c},[s,i,n,t]),x=Wu(b),S=Wu((0,I.useCallback)((e,t)=>{let n=g.current;if(s)return!1;if(a){n.isTriggeringEvent=!0;let r=new Fd(`pressup`,t,e);return a(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0},[s,a])),C=(0,I.useCallback)(e=>{let t=g.current;if(t.isPressed&&t.target){t.didFirePressStart&&t.pointerType!=null&&b(Hd(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,v(),d||Od(t.target);for(let e of t.disposables)e();t.disposables=[]}},[d,v,b]),w=Wu(C);(0,I.useEffect)(()=>{s&&g.current.isPressed&&w({currentTarget:g.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[s]);let T=(0,I.useCallback)(e=>{u&&C(e)},[u,C]),E=(0,I.useCallback)(e=>{s||o?.(e)},[s,o]),D=(0,I.useCallback)((e,t)=>{if(!s&&o){let n=new MouseEvent(`click`,e);rl(n,t),o(nl(n))}},[s,o]),O=(0,I.useMemo)(()=>{let e=g.current,t={onKeyDown(t){if(Vd(t.nativeEvent,t.currentTarget)&&Gc(t.currentTarget,J(t))){Wd(J(t),t.key)&&t.preventDefault();let r=!0;!e.isPressed&&!t.repeat&&(e.target=t.currentTarget,e.isPressed=!0,e.pointerType=`keyboard`,r=y(t,`keyboard`));let i=t.currentTarget;_(Lc(t.currentTarget),`keyup`,su(t=>{Vd(t,i)&&!t.repeat&&Gc(i,J(t))&&e.target&&S(Hd(e.target,t),`keyboard`)},n),!0),r&&t.stopPropagation(),t.metaKey&&ul()&&e.metaKeyEvents?.set(t.key,t.nativeEvent)}else t.key===`Meta`&&(e.metaKeyEvents=new Map)},onClick(t){if(!(t&&!Gc(t.currentTarget,J(t)))&&t&&t.button===0&&!e.isTriggeringEvent&&!bl.isOpening){let n=!0;if(s&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&(e.pointerType===`virtual`||vl(t.nativeEvent))){let e=y(t,`virtual`),r=S(t,`virtual`),i=x(t,`virtual`);E(t),n=e&&r&&i}else if(e.isPressed&&e.pointerType!==`keyboard`){let r=e.pointerType||t.nativeEvent.pointerType||`virtual`,i=S(Hd(t.currentTarget,t),r),a=x(Hd(t.currentTarget,t),r,!0);n=i&&a,e.isOverTarget=!1,E(t),w(t)}e.ignoreEmulatedMouseEvents=!1,n&&t.stopPropagation()}}},n=t=>{if(e.isPressed&&e.target&&Vd(t,e.target)){Wd(J(t),t.key)&&t.preventDefault();let n=J(t),r=Gc(e.target,n);x(Hd(e.target,t),`keyboard`,r),r&&D(t,e.target),v(),t.key!==`Enter`&&Bd(e.target)&&Gc(e.target,n)&&!t[Id]&&(t[Id]=!0,bl(e.target,t,!1)),e.
29isPressed=!1,e.metaKeyEvents?.delete(t.key)}else if(t.key===`Meta`&&e.metaKeyEvents?.size){let t=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let n of t.values())e.target?.dispatchEvent(new KeyboardEvent(`keyup`,n))}};if(typeof PointerEvent<`u`){t.onPointerDown=t=>{if(t.button!==0||!Gc(t.currentTarget,J(t)))return;if(yl(t.nativeEvent)){e.pointerType=`virtual`;return}e.pointerType=t.pointerType;let i=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,d||Dd(e.target),i=y(t,e.pointerType);let a=J(t);`releasePointerCapture`in a&&(`hasPointerCapture`in a?a.hasPointerCapture(t.pointerId)&&a.releasePointerCapture(t.pointerId):a.releasePointerCapture(t.pointerId)),_(Lc(t.currentTarget),`pointerup`,n,!1),_(Lc(t.currentTarget),`pointercancel`,r,!1)}i&&t.stopPropagation()},t.onMouseDown=t=>{if(Gc(t.currentTarget,J(t))&&t.button===0){if(l){let n=ol(t.target);n&&e.disposables.push(n)}t.stopPropagation()}},t.onPointerUp=t=>{!Gc(t.currentTarget,J(t))||e.pointerType===`virtual`||t.button===0&&!e.isPressed&&S(t,e.pointerType||t.pointerType)},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,y(Hd(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,x(Hd(e.target,t),e.pointerType,!1),T(t))};let n=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&t.button===0&&e.target){if(Gc(e.target,J(t))&&e.pointerType!=null){let n=!1,r=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(n?w(t):(Mc(e.target),e.target.click()))},80);_(t.currentTarget,`click`,()=>n=!0,!0),e.disposables.push(()=>clearTimeout(r))}else w(t);e.isOverTarget=!1}},r=e=>{w(e)};t.onDragStart=e=>{Gc(e.currentTarget,J(e))&&w(e)}}return t},[_,s,l,v,d,T,y,E,D]);return(0,I.useEffect)(()=>{if(!f)return;let e=Lc(f.current);if(!e||!e.head||e.getElementById(Ld))return;let t=e.createElement(`style`);t.id=Ld;let n=jd(e);n&&(t.nonce=n),t.textContent=` 30@layer { 31 [${Rd}] { 32 touch-action: pan-x pan-y pinch-zoom; 33 } 34} 35 `.trim(),e.head.prepend(t)},[f]),(0,I.useEffect)(()=>{let e=g.current;return()=>{d||Od(e.target??void 0);for(let t of e.disposables)t();e.disposables=[]}},[d]),{isPressed:c||m,pressProps:bu(p,O,{[Rd]:!0})}}function Bd(e){return e.tagName===`A`&&e.hasAttribute(`href`)}function Vd(e,t){let{key:n,code:r}=e,i=t,a=i.getAttribute(`role`);return(n===`Enter`||n===` `||n===`Spacebar`||r===`Space`)&&!(i instanceof Rc(i).HTMLInputElement&&!Kd(i,n)||i instanceof Rc(i).HTMLTextAreaElement||i.isContentEditable)&&!((a===`link`||!a&&Bd(i))&&n!==`Enter`)}function Hd(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r,key:t.key}}function Ud(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!==`submit`&&e.type!==`reset`:!Bd(e)}function Wd(e,t){return ul()&&t===`Enter`?!1:e instanceof HTMLInputElement?t===`Enter`&&(e.type===`checkbox`||e.type===`radio`)?!1:!Kd(e,t):Ud(e)}var Gd=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function Kd(e,t){return e.type===`checkbox`||e.type===`radio`?t===` `:Gd.has(e.type)}function qd(e,t){let{elementType:n=`button`,isDisabled:r,onPress:i,onPressStart:a,onPressEnd:o,onPressUp:s,onPressChange:c,preventFocusOnPress:l,allowFocusWhenDisabled:u,onClick:d,href:f,target:p,rel:m,type:h=`button`}=e,g;g=n===`button`?{type:h,disabled:r,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:`button`,href:n===`a`&&!r?f:void 0,target:n===`a`?p:void 0,type:n===`input`?h:void 0,disabled:n===`input`?r:void 0,"aria-disabled":!r||n===`input`?void 0:r,rel:n===`a`?m:void 0};let{pressProps:_,isPressed:v}=zd({onPressStart:a,onPressEnd:o,onPressChange:c,onPress:i,onPressUp:s,onClick:d,isDisabled:r,preventFocusOnPress:l,ref:t}),{focusableProps:y}=Bu(e,t);u&&(y.tabIndex=r?-1:y.tabIndex);let b=bu(y,_,Cd(e,{labelable:!0}));return{isPressed:v,buttonProps:bu(g,b,{"aria-haspopup":e[`aria-haspopup`],"aria-expanded":e[`aria-expanded`],"aria-controls":e[`aria-controls`],"aria-pressed":e[`aria-pressed`],"aria-current":e[`aria-current`],"aria-disabled":e[`aria-disabled`]})}}var Jd=7e3,Yd=null;function Xd(e,t=`assertive`,n=Jd){Yd?Yd.announce(e,t,n):(Yd=new Zd,(typeof IS_REACT_ACT_ENVIRONMENT==`boolean`?IS_REACT_ACT_ENVIRONMENT:typeof jest<`u`)?Yd.announce(e,t,n):setTimeout(()=>{Yd?.isAttached()&&Yd?.announce(e,t,n)},100))}var Zd=class{constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<`u`&&(this.node=document.createElement(`div`),this.node.dataset.liveAnnouncer=`true`,Object.assign(this.node.style,{border:0,clip:`rect(0 0 0 0)`,clipPath:`inset(50%)`,height:`1px`,margin:`-1px`,overflow:`hidden`,padding:0,position:`absolute`,width:`1px`,whiteSpace:`nowrap`}),this.assertiveLog=this.createLog(`assertive`),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog(`polite`),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}isAttached(){return this.node?.isConnected}createLog(e){let t=document.createElement(`div`);return t.setAttribute(`role`,`log`),t.setAttribute(`aria-live`,e),t.setAttribute(`aria-relevant`,`additions`),t}destroy(){this.node&&=(document.body.removeChild(this.node),null)}announce(e,t=`assertive`,n=Jd){if(!this.node)return;let r=document.createElement(`div`);typeof e==`object`?(r.setAttribute(`role`,`img`),r.setAttribute(`aria-labelledby`,e[`aria-labelledby`])):r.textContent=e,t===`assertive`?this.assertiveLog?.appendChild(r):this.politeLog?.appendChild(r),e!==``&&setTimeout(()=>{r.remove()},n)}clear(e){this.node&&((!e||e===`assertive`)&&this.assertiveLog&&(this.assertiveLog.innerHTML=``),(!e||e===`polite`)&&this.politeLog&&(this.politeLog.innerHTML=``))}};
35function Qd(e,t,n){let r=Wu(e=>{n&&!e.defaultPrevented&&n(t)});(0,I.useEffect)(()=>{let t=e?.current?.form;return t?.addEventListener(`reset`,r),()=>{t?.removeEventListener(`reset`,r)}},[e])}function $d(e,t,n){let{validationBehavior:r,focus:i}=e;tl(()=>{if(r===`native`&&n?.current&&`setCustomValidity`in n.current&&!n.current.disabled){let e=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(` `)||`Invalid value.`:``;n.current.setCustomValidity(e),n.current.hasAttribute(`title`)||(n.current.title=``),t.realtimeValidation.isInvalid||t.updateValidation(tf(n.current))}});let a=(0,I.useRef)(!1),o=Wu(()=>{a.current||t.resetValidation()}),s=Wu(e=>{t.displayValidation.isInvalid||t.commitValidation();let r=n?.current?.form;!e.defaultPrevented&&n&&r&&nf(r)===n.current&&(i?i():n.current?.focus(),Zl(`keyboard`)),e.preventDefault()}),c=Wu(()=>{t.commitValidation()});(0,I.useEffect)(()=>{let e=n?.current;if(!e)return;let t=e.form,r=t?.reset;return t&&(t.reset=()=>{a.current=!window.event||window.event.type===`message`&&J(window.event)instanceof MessagePort,r?.call(t),a.current=!1}),e.addEventListener(`invalid`,s),e.addEventListener(`change`,c),t?.addEventListener(`reset`,o),()=>{e.removeEventListener(`invalid`,s),e.removeEventListener(`change`,c),t?.removeEventListener(`reset`,o),t&&(t.reset=r)}},[n,r])}function ef(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function tf(e){return{isInvalid:!e.validity.valid,validationDetails:ef(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function nf(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(n.validity?.valid===!1)return n}return null}var rf={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},af={...rf,customError:!0,valid:!1},of={isInvalid:!1,validationDetails:rf,validationErrors:[]},sf=(0,I.createContext)({}),cf=`__reactAriaFormValidationState`;function lf(e){if(e.__reactAriaFormValidationState){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}=e[cf];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}}return uf(e)}function uf(e){let{isInvalid:t,validationState:n,name:r,value:i,builtinValidation:a,validate:o,validationBehavior:s=`aria`}=e;n&&(t||=n===`invalid`);let c=t===void 0?null:{isInvalid:t,validationErrors:[],validationDetails:af},l=(0,I.useMemo)(()=>!o||i==null?null:pf(ff(o,i)),[o,i]);a?.validationDetails.valid&&(a=void 0);let u=(0,I.useContext)(sf),d=(0,I.useMemo)(()=>r?Array.isArray(r)?r.flatMap(e=>df(u[e])):df(u[r]):[],[u,r]),[f,p]=(0,I.useState)(u),[m,h]=(0,I.useState)(!1);u!==f&&(p(u),h(!1));let g=(0,I.useMemo)(()=>pf(m?[]:d),[m,d]),_=(0,I.useRef)(of),[v,y]=(0,I.useState)(of),b=(0,I.useRef)(of),x=()=>{if(!S)return;C(!1);let e=l||a||_.current;mf(e,b.current)||(b.current=e,y(e))},[S,C]=(0,I.useState)(!1);return(0,I.useEffect)(x),{realtimeValidation:c||g||l||a||of,displayValidation:s===`native`?c||g||v:c||g||l||a||v,updateValidation(e){s===`aria`&&!mf(v,e)?y(e):_.current=e},resetValidation(){let e=of;mf(e,b.current)||(b.current=e,y(e)),s===`native`&&C(!1),h(!0)},commitValidation(){s===`native`&&C(!0),h(!0)}}}function df(e){return e?Array.isArray(e)?e:[e]:[]}function ff(e,t){if(typeof e==`function`){let n=e(t);if(n&&typeof n!=`boolean`)return df(n)}return[]}function pf(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:af}:null}function mf(e,t){return e===t||!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,n)=>e===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([e,n])=>t.validationDetails[e]===n)}function hf(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:a=`label`}=e;t=pu(t);let o=pu(),s={};n&&(r=r?`${o} ${r}`:o,s={id:o,htmlFor:a===`label`?t:void 0});let c=Gu({id:t,"aria-label":i,"aria-labelledby":r});return{labelProps:s,fieldProps:c}}function gf(e){let{description:t,errorMessage:n,isInvalid:r,validationState:i}=e,{labelProps:a,fieldProps:o}=hf(e),s=hu([!!t,!!n,r,i]),c=hu([!!t,!!n,r,i]);return o=bu(o,{"aria-describedby":[s,c,e[`aria-describedby`]].filter(
vendor: 3,161 bytes, line 35
35Boolean).join(` `)||void 0}),{labelProps:a,fieldProps:o,descriptionProps:{id:s},errorMessageProps:{id:c}}}function _f(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,a=(0,I.useRef)({isFocusWithin:!1}),{addGlobalListener:o,removeAllGlobalListeners:s}=Nd(),c=(0,I.useCallback)(e=>{Gc(e.currentTarget,J(e))&&a.current.isFocusWithin&&!Gc(e.currentTarget,e.relatedTarget)&&(a.current.isFocusWithin=!1,s(),n&&n(e),i&&i(!1))},[n,i,a,s]),l=il(c),u=(0,I.useCallback)(e=>{if(!Gc(e.currentTarget,J(e)))return;let t=J(e),n=Lc(t),s=Kc(n);if(!a.current.isFocusWithin&&s===t){r&&r(e),i&&i(!0),a.current.isFocusWithin=!0,l(e);let t=e.currentTarget;o(n,`focus`,e=>{let r=J(e);if(a.current.isFocusWithin&&!Gc(t,r)){let e=new n.defaultView.FocusEvent(`blur`,{relatedTarget:r});rl(e,t),c(nl(e))}},{capture:!0})}},[r,i,l,o,c]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:c}}}var vf=typeof document<`u`?I.useInsertionEffect??I.useLayoutEffect:()=>{};function yf(e,t,n){let[r,i]=(0,I.useState)(e||t),a=(0,I.useRef)(r),o=(0,I.useRef)(e!==void 0),s=e!==void 0;(0,I.useEffect)(()=>{o.current,o.current=s},[s]);let c=s?e:r;vf(()=>{a.current=c});let[,l]=(0,I.useReducer)(()=>({}),{});return[c,(0,I.useCallback)((e,...t)=>{let r=typeof e==`function`?e(a.current):e;Object.is(a.current,r)||(a.current=r,i(r),l(),n?.(r,...t))},[n])]}function bf(e,t){let{inputElementType:n=`input`,isDisabled:r=!1,isRequired:i=!1,isReadOnly:a=!1,type:o=`text`,validationBehavior:s=`aria`}=e,[c,l]=yf(e.value,e.defaultValue||``,e.onChange),{focusableProps:u}=Bu(e,t),d=lf({...e,value:c}),{isInvalid:f,validationErrors:p,validationDetails:m}=d.displayValidation,{labelProps:h,fieldProps:g,descriptionProps:_,errorMessageProps:v}=gf({...e,isInvalid:f,errorMessage:e.errorMessage||p}),y=Cd(e,{labelable:!0}),b={type:o,pattern:e.pattern},[x]=(0,I.useState)(c);return Qd(t,e.defaultValue??x,l),$d(e,d,t),{labelProps:h,inputProps:bu(y,n===`input`?b:void 0,{disabled:r,readOnly:a,required:i&&s===`native`,"aria-required":i&&s===`aria`||void 0,"aria-invalid":f||void 0,"aria-errormessage":e[`aria-errormessage`],"aria-activedescendant":e[`aria-activedescendant`],"aria-autocomplete":e[`aria-autocomplete`],"aria-haspopup":e[`aria-haspopup`],"aria-controls":e[`aria-controls`],value:c,onChange:e=>l(J(e).value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,enterKeyHint:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...u,...g}),descriptionProps:_,errorMessageProps:v,isInvalid:f,validationErrors:p,validationDetails:m}}function xf(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,i=(0,I.useRef)({isFocused:!1,isFocusVisible:t||Yl()}),[a,o]=(0,I.useState)(!1),[s,c]=(0,I.useState)(()=>i.current.isFocused&&i.current.isFocusVisible),l=(0,I.useCallback)(()=>
35c(i.current.isFocused&&i.current.isFocusVisible),[]),u=(0,I.useCallback)(e=>{i.current.isFocused=e,i.current.isFocusVisible=Yl(),o(e),l()},[l]);eu(e=>{i.current.isFocusVisible=e,l()},[n,a],{enabled:a,isTextInput:n});let{focusProps:d}=xu({isDisabled:r,onFocusChange:u}),{focusWithinProps:f}=_f({isDisabled:!r,onFocusWithinChange:u});return{isFocused:a,isFocusVisible:s,focusProps:r?f:d}}var Sf=!1,Cf=0;function wf(){Sf=!0,setTimeout(()=>{Sf=!1},500)}function Tf(e){e.pointerType===`touch`&&wf()}function Ef(){let e=Lc(null);if(!(typeof e>`u`))return Cf===0&&typeof PointerEvent<`u`&&e.addEventListener(`pointerup`,Tf),Cf++,()=>{Cf--,!(Cf>0)&&typeof PointerEvent<`u`&&e.removeEventListener(`pointerup`,Tf)}}function Df(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[a,o]=(0,I.useState)(!1),s=(0,I.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:``,target:null}).current;(0,I.useEffect)(Ef,[]);let{addGlobalListener:c,removeAllGlobalListeners:l}=Nd(),{hoverProps:u,triggerHoverEnd:d}=(0,I.useMemo)(()=>{let e=(e,r)=>{if(s.pointerType=r,i||r===`touch`||s.isHovered||!Gc(e.currentTarget,J(e)))return;s.isHovered=!0;let l=e.currentTarget;s.target=l,c(Lc(J(e)),`pointerover`,e=>{s.isHovered&&s.target&&!Gc(s.target,J(e))&&a(e,e.pointerType)},{capture:!0}),t&&t({type:`hoverstart`,target:l,pointerType:r}),n&&n(!0),o(!0)},a=(e,t)=>{let i=s.target;s.pointerType=``,s.target=null,!(t===`touch`||!s.isHovered||!i)&&(s.isHovered=!1,l(),r&&r({type:`hoverend`,target:i,pointerType:t}),n&&n(!1),o(!1))},u={};return typeof PointerEvent<`u`&&(u.onPointerEnter=t=>{Sf&&t.pointerType===`mouse`||e(t,t.pointerType)},u.onPointerLeave=e=>{!i&&Gc(e.currentTarget,J(e))&&a(e,e.pointerType)}),{hoverProps:u,triggerHoverEnd:a}},[t,n,r,i,s,c,l]);return(0,I.useEffect)(()=>{i&&d({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:u,isHovered:a}}var Of=1,kf=Symbol.for(`react-aria-landmark-manager`);function Af(e){return document.addEventListener(`react-aria-landmark-manager-change`,e),()=>document.removeEventListener(`react-aria-landmark-manager-change`,e)}function jf(){if(typeof document>`u`)return null;let e=document[kf];return e&&e.version>=Of?e:(document[kf]=new Nf,document.dispatchEvent(new CustomEvent(`react-aria-landmark-manager-change`)),document[kf])}function Mf(){return(0,I.useSyncExternalStore)(Af,jf,jf)}var Nf=class{constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=Of,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}setupIfNeeded(){this.isListening||=(document.addEventListener(`keydown`,this.f6Handler,{capture:!0}),document.addEventListener(`focusin`,this.focusinHandler,{capture:!0}),document.addEventListener(`focusout`,this.focusoutHandler,{capture:!0}),!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener(`keydown`,this.f6Handler,{capture:!0}),document.removeEventListener(`focusin`,this.focusinHandler,{capture:!0}),document.removeEventListener(`focusout`,this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(e,t){this.landmarks.find(t=>t.ref.current===e)?.focus?.(t)}getLandmarksByRole(e){return new Set(this.landmarks.filter(t=>t.role===e))}getLandmarkByRole(e){return this.landmarks.find(t=>t.role===e)}addLandmark(e){if(this.setupIfNeeded(),this.landmarks.find(t=>t.ref===e.ref)||!e.ref.current)return;if(this.landmarks.filter(e=>e.role===`main`).length,this.landmarks.length===0){this.landmarks=[e],this.checkLabels(e.role);return}let t=0,n=this.landmarks.length-1;for(;t<=n;){let r=Math.floor((t+n)/2),i=e.ref.current.compareDocumentPosition(this.landmarks[r].ref.current);i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_CONTAINS?t=r+1:n=r-1}this.landmarks.splice(t,0,e),this.checkLabels(e.role)}updateLandmark(e){let t=this.landmarks.findIndex(t=>t.ref===e.ref);t>=0&&(this.landmarks[t]={...this.landmarks[t],...e},this.checkLabels(this.landmarks[t].role))}removeLandmark(e){this.landmarks=this.landmarks.filter(t=>t.ref!==e),this.teardownIfNeeded()}checkLabels(e){let t=this.getLandmarksByRole(e);t.size>1&&[...t].filter(e=>!e.label).length}closestLandmark(e){let t=new Map(this.landmarks.map(e=>[e.ref.current,e])),n=e;for(;n&&!t.has(n)&&n!==document.body&&n.parentElement;)n=n.parentElement;return t.get(n)}getNextLandmark(e,{backward:t}){let n=this.closestLandmark(e),r=t?this.landmarks.length-1:0;n&&(r=this.landmarks.indexOf(n)+(t?-1:1));let i=()=>
35{if(r<0){if(!e.dispatchEvent(new CustomEvent(`react-aria-landmark-navigation`,{detail:{direction:`backward`},bubbles:!0,cancelable:!0})))return!0;r=this.landmarks.length-1}else if(r>=this.landmarks.length){if(!e.dispatchEvent(new CustomEvent(`react-aria-landmark-navigation`,{detail:{direction:`forward`},bubbles:!0,cancelable:!0})))return!0;r=0}return r<0||r>=this.landmarks.length};if(i())return;let a=r;for(;this.landmarks[r].ref.current?.closest(`[aria-hidden=true]`);){if(r+=t?-1:1,i())return;if(r===a)break}return this.landmarks[r]}f6Handler(e){e.key===`F6`&&(e.altKey?this.focusMain():this.navigate(J(e),e.shiftKey))&&(e.preventDefault(),e.stopPropagation())}focusMain(){let e=this.getLandmarkByRole(`main`);return e&&e.ref.current&&e.ref.current.isConnected?(this.focusLandmark(e.ref.current,`forward`),!0):!1}navigate(e,t){let n=this.getNextLandmark(e,{backward:t});if(!n)return!1;if(n.lastFocused){let e=n.lastFocused;if(Gc(document.body,e))return e.focus(),!0}return n.ref.current&&n.ref.current.isConnected?(this.focusLandmark(n.ref.current,t?`backward`:`forward`),!0):!1}focusinHandler(e){let t=this.closestLandmark(J(e));t&&t.ref.current!==J(e)&&this.updateLandmark({ref:t.ref,lastFocused:J(e)});let n=e.relatedTarget;if(n){let e=this.closestLandmark(n);e&&e.ref.current===n&&e.blur()}}focusoutHandler(e){let t=J(e),n=e.relatedTarget;if(!n||n===document){let e=this.closestLandmark(t);e&&e.ref.current===t&&e.blur()}}createLandmarkController(){let e=this;return e.refCount++,e.setupIfNeeded(),{navigate(t,n){let r=n?.from||document.activeElement;return e.navigate(r,t===`backward`)},focusNext(t){let n=t?.from||document.activeElement;return e.navigate(n,!1)},focusPrevious(t){let n=t?.from||document.activeElement;return e.navigate(n,!0)},focusMain(){return e.focusMain()},dispose(){e&&=(e.refCount--,e.teardownIfNeeded(),null)}}}registerLandmark(e){return this.landmarks.find(t=>t.ref===e.ref)?this.updateLandmark(e):this.addLandmark(e),()=>this.removeLandmark(e.ref)}};function Pf(e,t){let{role:n,"aria-label":r,"aria-labelledby":i,focus:a}=e,o=Mf(),s=r||i,[c,l]=(0,I.useState)(!1),u=(0,I.useCallback)(()=>{l(!0)},[l]),d=(0,I.useCallback)(()=>{l(!1)},[l]);return tl(()=>{if(o)return o.registerLandmark({ref:t,label:s,role:n,focus:a||u,blur:d})},[o,s,t,n,a,u,d]),(0,I.useEffect)(()=>{c&&t.current?.focus()},[c,t]),{landmarkProps:{role:n,tabIndex:c?-1:void 0,"aria-label":r,"aria-labelledby":i}}}var Ff={};Ff={"Clear search":`Ù
Ø³Ø Ø§ÙØ¨ØØ«`};var If={};If={"Clear search":`ÐзÑиÑÑване на ÑÑÑÑене`};var Lf={};Lf={"Clear search":`Vymazat hledánÃ`};var Rf={};Rf={"Clear search":`Ryd søgning`};var zf={};zf={"Clear search":`Suche zurücksetzen`};var Bf={};Bf={"Clear search":`ÎÏαλοιÏή αναζήÏηÏηÏ`};var Vf={};Vf={"Clear search":`Clear search`};var Hf={};Hf={"Clear search":`Borrar búsqueda`};var Uf={};Uf={"Clear search":`Tühjenda otsing`};var Wf={};Wf={"Clear search":`Tyhjennä haku`};var Gf={};Gf={"Clear search":`Effacer la recherche`};var Kf={};Kf={"Clear search":`× ×§× ××פ×ש`};var qf={};qf={"Clear search":`ObriÅ¡i pretragu`};var Jf={};Jf={"Clear search":`Keresés törlése`};var Yf={};Yf={"Clear search":`Cancella ricerca`};var Xf={};Xf={"Clear search":`æ¤ç´¢ãã¯ãªã¢`};var Zf={};Zf={"Clear search":`ê²ì ì§ì°ê¸°`};var Qf={};Qf={"Clear search":`IÅ¡valyti ieÅ¡kÄ
`};var $f={};$f={"Clear search":`NotÄ«rÄ«t meklÄÅ¡anu`};var ep={};ep={"Clear search":`Tøm søk`};var tp={};tp={"Clear search":`Zoekactie wissen`};var np={};np={"Clear search":`WyczyÅÄ zawartoÅÄ wyszukiwania`};var rp={};rp={"Clear search":`Limpar pesquisa`};var ip={};ip={"Clear search":`Limpar pesquisa`};var ap={};ap={"Clear search":`ÅtergeÅ£i cÄutarea`};var op={};op={"Clear search":`ÐÑиÑÑиÑÑ Ð¿Ð¾Ð¸Ñк`};var sp={};sp={"Clear search":`VymazaÅ¥ vyhľadávanie`};var cp={};cp={"Clear search":`PoÄisti iskanje`};var lp={};lp={"Clear search":`ObriÅ¡i pretragu`};var up={};up={"Clear search":`Rensa sökning`};var dp={};dp={"Clear search":`Aramayı temizle`};var fp={};fp={"Clear search":`ÐÑиÑÑиÑи поÑÑк`};var pp={};pp={"Clear search":`æ¸
é¤æç´¢`};var mp={};mp={"Clear search":`æ¸
餿尿¢ä»¶`};var hp={};hp={"ar-AE":Ff,"bg-BG":If,"cs-CZ":Lf,"da-DK":Rf,"de-DE":zf,"el-GR":Bf,"en-US":Vf,"es-ES":Hf,"et-EE":Uf,"fi-FI":Wf,"fr-FR":Gf,"he-IL":Kf,"hr-HR":qf,"hu-HU":Jf,"it-IT":Yf,"ja-JP":Xf,"ko-KR":Zf,"lt-LT":Qf,"lv-LV":$f,"nb-NO":ep,"nl-NL":tp,"pl-PL":np,"pt-BR":rp,"pt-PT":ip,"ro-RO":ap,"ru-RU":op,"sk-SK":sp,"sl-SI":cp,"sr-SP":lp,"sv-SE":up,"tr-TR":dp,"uk-UA":fp,"zh-CN":pp,"zh-TW":mp};
35function gp(e){return e&&e.__esModule?e.default:e}function _p(e,t,n){let r=gd(gp(hp),`@react-aria/searchfield`),{isDisabled:i,isReadOnly:a,onSubmit:o,onClear:s,type:c=`search`}=e,{keyboardProps:l}=Fu({isDisabled:i||a,shortcuts:{Enter:()=>{if(o){o(t.value);return}return!1},Escape:()=>{if(t.value===``&&(!n.current||n.current.value===``))return!1;t.setValue(``),s?.()}}}),u=()=>{t.setValue(``),s&&s()},d=()=>{n.current?.focus()},{labelProps:f,inputProps:p,descriptionProps:m,errorMessageProps:h,...g}=bf({...e,value:t.value,onChange:t.setValue,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,type:c},n);return{labelProps:f,inputProps:bu(l,{...p,defaultValue:void 0}),clearButtonProps:{"aria-label":r.format(`Clear search`),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:i||a,onPress:u,onPressStart:d},descriptionProps:m,errorMessageProps:h,...g}}var vp={};vp={close:`Ø¥ØºÙØ§Ù`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var yp={};yp={close:`ÐаÑвоÑи`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} извеÑÑие`,other:()=>`${t.number(e.count)} извеÑÑиÑ`})}.`};var bp={};bp={close:`ZavÅÃt`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámenÃ`,other:()=>`${t.number(e.count)} oznámenÃ`})}.`};var xp={};xp={close:`Luk`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var Sp={};Sp={close:`SchlieÃen`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var Cp={};Cp={close:`ÎλείÏιμο`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοÏοίηÏη`,other:()=>`${t.number(e.count)} ειδοÏοιήÏειÏ`})}.`};var wp={};wp={close:`Close`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var Tp={};Tp={close:`Cerrar`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var Ep={};Ep={close:`Sule`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var Dp={};Dp={close:`Sulje`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var Op={};Op={close:`Fermer`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var kp={};kp={close:`ס××ר`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ×תר××`,other:()=>`${t.number(e.count)} ×תר××ת`})}.`};var Ap={};Ap={close:`Zatvori`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var jp={};jp={close:`Bezárás`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} értesÃtés`,other:()=>`${t.number(e.count)} értesÃtés`})}.`};var Mp={};Mp={close:`Chiudi`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var Np={};Np={close:`éãã`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} åã®éç¥`,other:()=>`${t.number(e.count)} åã®éç¥`})}ã`};var Pp={};Pp={close:`ë«ê¸°`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}ê° ì림`,other:()=>`${t.number(e.count)}ê° ì림`})}.`};var Fp={};Fp={close:`Uždaryti`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} praneÅ¡imas`,other:()=>`${t.number(e.count)} praneÅ¡imai`})}.`};var Ip={};Ip={close:`AizvÄrt`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} paziÅojums`,other:()=>`${t.number(e.count)} paziÅojumi`})}.`};var Lp={};Lp={close:`Lukk`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var Rp={};Rp={close:`Sluiten`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var zp={};zp={close:`Zamknij`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomieÅ`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var Bp={};Bp={close:`Fechar`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var Vp={};Vp={close:`Fechar`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var Hp={};Hp={close:`ÃnchideÅ£i`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificÄri`})}.`};var Up={};Up={close:`ÐакÑÑÑÑ`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Ñведомление`,other:()=>`${t.number(e.count)} ÑведомлениÑ`})}.`};var Wp={};Wp={close:`ZatvoriÅ¥`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámenie`,few:()=>`${t.number(e.count)} oznámenia`,other:()=>`${t.number(e.count)} oznámenÃ`})}.`};var Gp={};Gp={close:`Zapri`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`};var Kp={};Kp={close:`Zatvori`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveÅ¡tenje`,other:()=>`${t.number(e.count)} obaveÅ¡tenja`})}.`};var qp={};qp={close:`Stäng`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var Jp={};Jp={close:`Kapat`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var Yp={};Yp={close:`ÐакÑиÑи`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ÑповÑÑеннÑ`,other:()=>`${t.number(e.count)} ÑповÑÑеннÑ`})}.`};var Xp={};Xp={close:`å
³é`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个éç¥`,other:()=>`${t.number(e.count)} 个éç¥`})}ã`};var Zp={};Zp={close:`éé`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} åéç¥`,other:()=>`${t.number(e.count)} åéç¥`})}ã`};var Qp={};Qp={"ar-AE":vp,"bg-BG":yp,"cs-CZ":bp,"da-DK":xp,"de-DE":Sp,"el-GR":Cp,"en-US":wp,"es-ES":Tp,"et-EE":Ep,"fi-FI":Dp,"fr-FR":Op,"he-IL":kp,"hr-HR":Ap,"hu-HU":jp,"it-IT":Mp,"ja-JP":Np,"ko-KR":Pp,"lt-LT":Fp,"lv-LV":Ip,"nb-NO":Lp,"nl-NL":Rp,"pl-PL":zp,"pt-BR":Bp,"pt-PT":Vp,"ro-RO":Hp,"ru-RU":Up,"sk-SK":Wp,"sl-SI":Gp,"sr-SP":Kp,"sv-SE":qp,"tr-TR":Jp,"uk-UA":Yp,"zh-CN":Xp,"zh-TW":Zp};
35function $p(e){return e&&e.__esModule?e.default:e}function em(e,t,n){let{key:r,timer:i,timeout:a}=e.toast;(0,I.useEffect)(()=>{if(i!=null&&a!=null)return i.reset(a),()=>{i.pause()}},[i,a]);let o=pu(),s=hu(),c=gd($p(Qp),`@react-aria/toast`),[l,u]=(0,I.useState)(!1);return tl(()=>{u(!0)},[]),{toastProps:{...Cd(e,{labelable:!0}),role:`alertdialog`,"aria-modal":`false`,"aria-labelledby":e[`aria-labelledby`]||o,"aria-describedby":e[`aria-describedby`]||s,tabIndex:0},contentProps:{role:`alert`,"aria-atomic":`true`,"aria-hidden":l?void 0:`true`},titleProps:{id:o},descriptionProps:{id:s},closeButtonProps:{"aria-label":c.format(`close`),onPress:()=>t.close(r)}}}function tm(e){return e&&e.__esModule?e.default:e}function nm(e,t,n){let r=gd(tm(Qp),`@react-aria/toast`),{landmarkProps:i}=Pf({role:`region`,"aria-label":e[`aria-label`]||r.format(`notifications`,{count:t.visibleToasts.length})},n),a=(0,I.useRef)(!1),o=(0,I.useRef)(!1),s=(0,I.useCallback)(()=>{a.current||o.current?t.pauseAll():t.resumeAll()},[t]),{hoverProps:c}=Df({onHoverStart:()=>{a.current=!0,s()},onHoverEnd:()=>{a.current=!1,s()}}),l=(0,I.useRef)([]),u=(0,I.useRef)(t.visibleToasts),d=(0,I.useRef)(null);tl(()=>{if(d.current===-1||t.visibleToasts.length===0||!n.current){l.current=[],u.current=t.visibleToasts;return}if(l.current=[...n.current.querySelectorAll(`[role="alertdialog"]`)],u.current.length===t.visibleToasts.length&&t.visibleToasts.every((e,t)=>e.key===u.current[t].key)){u.current=t.visibleToasts;return}let e=u.current.map((e,n)=>({...e,i:n,isRemoved:!t.visibleToasts.some(t=>e.key===t.key)})),r=e.findIndex(e=>e.i===d.current&&e.isRemoved);if(r>-1){if(Xl()===`pointer`&&f.current?.isConnected)Mc(f.current);else{let t=0,n,i;for(;t<=r;)e[t].isRemoved||(i=Math.max(0,t-1)),t++;for(;t<e.length;){if(!e[t].isRemoved){n=t-1;break}t++}i===void 0&&n===void 0&&(i=0),i>=0&&i<l.current.length?Mc(l.current[i]):n>=0&&n<l.current.length&&Mc(l.current[n])}}u.current=t.visibleToasts},[t.visibleToasts,n]);let f=(0,I.useRef)(null),{focusWithinProps:p}=_f({onFocusWithin:e=>{o.current=!0,f.current=e.relatedTarget,s()},onBlurWithin:()=>{o.current=!1,f.current=null,s()}});return(0,I.useEffect)(()=>{t.visibleToasts.length===0&&f.current?.isConnected&&(Xl()===`pointer`?Mc(f.current):f.current.focus(),f.current=null)},[n,t.visibleToasts.length]),(0,I.useEffect)(()=>()=>{f.current?.isConnected&&(Xl()===`pointer`?Mc(f.current):f.current.focus(),f.current=null)},[n]),{regionProps:bu(i,c,p,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:e=>{let t=J(e).closest(`[role="alertdialog"]`);d.current=l.current.findIndex(e=>e===t)},onBlur:()=>{d.current=-1}})}}var rm=(0,I.forwardRef)((e,t)=>{let{buttonProps:n}=qd(e,Iu(t)),{className:r,children:i}=e,a,o;if(e.variant){let{variant:t,size:n=`sm`}=e;a={primary:am,neutral:om,outline:sm,conversion:cm}[t],o={"2xs":q`h-[1.75rem] gap-1 px-2 text-sm`,xs:q`h-8 gap-1 px-3 text-sm`,sm:q`h-10 gap-2 px-4 text-sm`,lg:q`h-14 gap-3 px-6 text-base`,"icon-2xs":q`flex size-[1.75rem] items-center justify-center p-0`,"icon-xs":q`flex size-8 items-center justify-center p-0`,"icon-sm":q`flex size-10 items-center justify-center p-0`,"icon-lg":q`flex size-14 items-center justify-center p-0`,unspecified:void 0}[n]}return(0,L.jsx)(`button`,{name:e.name,value:e.value,formNoValidate:e.formNoValidate,role:e.role,style:e.style,...n,ref:t,className:jc(a&&im,a,o,r),children:i})});rm.displayName=`Button`;var im=q` 36 inline-flex 37 cursor-pointer 38 items-center 39 rounded 40 border 41 border-solid 42 font-semibold 43 leading-normal 44 transition 45 focus-visible:outline 46 focus-visible:outline-2 47 focus-visible:outline-offset-1 48`,am=q` 49 border-primary 50 bg-primary 51 text-on-primary 52 53 hover:border-primary-hover 54 hover:bg-primary-hover 55 56 focus-visible:border-primary-focus 57 focus-visible:bg-primary-focus 58 focus-visible:outline-primary-focus 59 60 active:border-primary-pressed 61 active:bg-primary-pressed 62 63 disabled:border-primary-disabled 64 disabled:bg-primary-disabled 65 disabled:text-on-primary-disabled 66`,om=q` 67 border-outline 68 bg-surface 69 text-on-surface 70 71 hover:bg-surface-muted 72 hover:text-primary-hover 73 74 focus-visible:outline-primary-focus 75 76 active:bg-surface-muted 77 active:text-primary-pressed 78 79 disabled:border-primary-disabled 80 disabled:bg-primary-disabled 81 disabled:text-on-primary-disabled 82`,sm=q` 83 border-primary 84 bg-transparent 85 text-primary 86 87 hover:border-primary-hover 88 hover:text-primary-hover 89 90 focus-visible:border-primary-focus 91 focus-visible:text-primary-focus 92 focus-visible:outline-primary-focus 93 94 active:border-primary-pressed 95 active:text-primary-pressed 96 97 disabled:border-primary-disabled 98 disabled:bg-transparent 99 disabled:text-on-primary-disabled 100`,cm=q` 101 border-accent 102 bg-accent 103 text-on-accent 104 105 hover:border-accent-hover 106 hover:bg-accent-hover 107 108 focus-visible:border-accent-focus 109 focus-visible:bg-accent-focus 110 focus-visible:outline-accent-focus 111 112 active:border-accent-pressed 113 active:bg-accent-pressed 114 115 disabled:border-accent-disabled 116 disabled:bg-accent-disabled 117 disabled:text-on-accent-disabled 118`,lm=Symbol(`default`);function um({values:e,children:t}){for(let[n,r]of e)t=I.createElement(n.Provider,{value:r},t);return t}function dm(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:c}=e;return(0,I.useMemo)(()=>{let e,l,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,l=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:l||o?{...o,...l}:void 0,children:u??a,"data-rac":``,render:c?e=>c(e,s):void 0}},[t,n,r,i,a,o,s,c])}function fm(e,t){let n=(0,I.useContext)(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||lm;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function pm(e,t,n){let{ref:r,...i}=fm(n,e.slot)||{},a=Iu((0,I.useMemo)(()=>gu(t,r),[t,r])),o=bu(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(o.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[o,a]}function mm(e=!0){let[t,n]=(0,I.useState)(e),r=(0,I.useRef)(!1),i=(0,I.useCallback)(e=>{r.current=!0,n(!!e)},[]);return tl(()=>{r.current||n(!1)},[]),[i,t]}function hm(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function gm(e,t,n){let{render:r,...i}=t,a=(0,I.useRef)(null),o=(0,I.useMemo)(()=>gu(n,a),[n,a]);tl(()=>{},[e,r]);let s={...i,ref:o};return r?r(s,void 0):I.createElement(e,s)}var _m={},vm=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=_m[t];return n||(n=(0,I.forwardRef)(gm.bind(null,t)),_m[t]=n),n}}),ym=(0,I.createContext)(null),bm=(0,I.createContext)({}),xm=(0,I.createContext)(null),Sm=(0,I.createContext)({}),Cm=Hu(function(e,t){[e,t]=pm(e,t,Sm);let n=e,{isPending:r}=n,{buttonProps:i,isPressed:a}=qd(e,t);i=Tm(i,r);let{focusProps:o,isFocused:s,isFocusVisible:c}=xf(e),{hoverProps:l,isHovered:u}=Df({...e,isDisabled:e.isDisabled||r}
118),d={isHovered:u,isPressed:(n.isPressed||a)&&!r,isFocused:s,isFocusVisible:c,isDisabled:e.isDisabled||!1,isPending:r??!1},f=dm({...e,values:d,defaultClassName:`react-aria-Button`}),p=pu(i.id),m=pu(),h=i[`aria-labelledby`];r&&(h?h=`${h} ${m}`:i[`aria-label`]&&(h=`${p} ${m}`));let g=(0,I.useRef)(r);(0,I.useEffect)(()=>{let e={"aria-labelledby":h||p};(!g.current&&s&&r||g.current&&s&&!r)&&Xd(e,`assertive`),g.current=r},[r,s,h,p]);let _=Cd(e,{global:!0});return delete _.onClick,I.createElement(vm.button,{...bu(_,f,i,o,l),type:i.type===`submit`&&r?`button`:i.type,id:p,ref:t,"aria-labelledby":h,slot:e.slot||void 0,"aria-disabled":r?`true`:i[`aria-disabled`],"data-disabled":e.isDisabled||void 0,"data-pressed":d.isPressed||void 0,"data-hovered":u||void 0,"data-focused":s||void 0,"data-pending":r||void 0,"data-focus-visible":c||void 0},I.createElement(xm.Provider,{value:{id:m}},f.children))}),wm=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;function Tm(e,t){if(t){for(let t in e)t.startsWith(`on`)&&!wm.test(t)&&(e[t]=void 0);e.href=void 0,e.target=void 0}return e}var Em=(0,I.createContext)({}),Dm=(0,I.createContext)(null),Om=(0,I.createContext)(null),km=(0,I.createContext)({}),Am=(0,I.createContext)({}),jm=e=>{let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,...i}=e;return i},Mm=Hu(function(e,t){[e,t]=pm(e,t,Am);let{hoverProps:n,isHovered:r}=Df({...e,isDisabled:e.disabled}),{isFocused:i,isFocusVisible:a,focusProps:o}=xf({isTextInput:!0,autoFocus:e.autoFocus}),s=!!e[`aria-invalid`]&&e[`aria-invalid`]!==`false`,c=dm({...e,values:{isHovered:r,isFocused:i,isFocusVisible:a,isDisabled:e.disabled||!1,isInvalid:s},defaultClassName:`react-aria-Input`});return I.createElement(vm.input,{...bu(jm(e),o,n),...c,ref:t,"data-focused":i||void 0,"data-disabled":e.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":a||void 0,"data-invalid":s||void 0})});function Nm(e){let[t,n]=yf(Pm(e.value),Pm(e.defaultValue)||``,e.onChange);return{value:t,setValue:n}}function Pm(e){if(e!=null)return e.toString()}var Fm=(0,I.createContext)(null),Im=Hu(function(e,t){[e,t]=pm(e,t,Fm);let{validationBehavior:n}=fm(Om)||{},r=e.validationBehavior??n??`native`,i=(0,I.useRef)(null);[e,i]=pm(e,i,ym);let[a,o]=mm(!e[`aria-label`]&&!e[`aria-labelledby`]),s=Nm({...e,validationBehavior:r}),{labelProps:c,inputProps:l,clearButtonProps:u,descriptionProps:d,errorMessageProps:f,...p}=_p({...hm(e),label:o,validationBehavior:r},s,i),m=dm({...e,values:{isEmpty:s.value===``,isDisabled:e.isDisabled||!1,isInvalid:p.isInvalid||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,state:s},defaultClassName:`react-aria-SearchField`}),h=Cd(e,{global:!0});return delete h.id,I.createElement(vm.div,{...h,...m,ref:t,slot:e.slot||void 0,"data-empty":s.value===``||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":p.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},I.createElement(um,{values:[[bm,{...c,ref:a}],[Am,{...l,ref:i}],[Sm,u],[Em,{slots:{description:d,errorMessage:f}}],[km,{isInvalid:p.isInvalid,isDisabled:e.isDisabled||!1}],[Dm,p]]},m.children))});function Lm(e={}){let{maxVisibleToasts:t=1,wrapUpdate:n}=e;return Rm((0,I.useMemo)(()=>new zm({maxVisibleToasts:t,wrapUpdate:n}),[t,n]))}function Rm(e){let t=(0,I.useCallback)(t=>e.subscribe(t),[e]),n=(0,I.useCallback)(()=>e.visibleToasts,[e]);return{visibleToasts:(0,I.useSyncExternalStore)(t,n,n),add:(t,n)=>e.add(t,n),close:t=>e.close(t),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}var zm=class{constructor(e){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=e?.maxVisibleToasts??1/0,this.wrapUpdate=e?.wrapUpdate}runWithWrapUpdate(e,t){this.wrapUpdate?this.wrapUpdate(e,t):e()}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}add(e,t={}){let n=`_`+Math.random().toString(36).slice(2),r={...t,content:e,key:n,timer:t.timeout?new Bm(()=>this.close(n),t.timeout):void 0};return this.queue.unshift(r),this.updateVisibleToasts(`add`),n}close(e){let t=this.queue.findIndex(t=>t.key===e);t>
118=0&&(this.queue[t].onClose?.(),this.queue.splice(t,1)),this.updateVisibleToasts(`remove`)}updateVisibleToasts(e){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let e of this.subscriptions)e()},e)}pauseAll(){for(let e of this.visibleToasts)e.timer&&e.timer.pause()}resumeAll(){for(let e of this.visibleToasts)e.timer&&e.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts(`clear`)}},Bm=class{constructor(e,t){this.startTime=null,this.remaining=t,this.callback=e}reset(e){this.remaining=e,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}};(0,I.createContext)({groupSize:void 0}),q` 119 grid 120 w-full 121 grid-cols-[1fr_[after-input]_max-content] 122 items-center text-on-surface 123 group-data-[info-position=left]:grid-cols-[[info]_max-content_1fr_[after-input]_max-content] 124 group-data-[info-position=right]:grid-cols-[1fr_[after-input]_max-content_[info]_max-content] 125`,q` 126 col-span-full 127 row-start-1 128 rounded 129 border-1 130 border-outline 131 py-2 132 pe-10 133 ps-4 134 text-base 135 leading-normal 136 placeholder:text-foreground-muted 137 hover:border-primary-hover 138 focus-visible:border-primary-focus 139 focus-visible:outline 140 focus-visible:outline-2 141 focus-visible:outline-offset-1 142 focus-visible:outline-primary-focus 143 disabled:border-primary-disabled 144 group-data-[info-position=left]:px-10 145 group-data-[info-position=right]:pe-16 146 [&[aria-invalid]:focus-visible]:outline-danger-outline 147 [&[aria-invalid]]:border-danger 148`,q` 149 col-[after-input] 150 row-start-1 151 me-4 152 inline 153 group-data-[empty]:invisible 154 group-data-[info-position=right]:me-2 155`,q` 156 col-[info] 157 row-start-1 158 group-data-[info-position=left]:ms-4 159 group-data-[info-position=right]:me-4 160`,q` 161 text-xs 162 font-normal 163 leading-none 164 text-danger 165`,(0,I.createContext)(void 0),(0,I.createContext)({size:`large`});var Vm=({id:e,size:t,inputRef:n})=>(0,L.jsx)(Mm,{id:e,ref:n,className:jc(`peer/input 166 col-span-full 167 row-start-1 168 rounded 169 border-1 170 border-outline 171 px-10 172 py-2 173 font-normal 174 leading-normal 175 placeholder:text-on-surface 176 hover:border-primary-hover 177 focus-visible:border-primary-focus 178 focus-visible:outline 179 focus-visible:outline-2 180 focus-visible:outline-offset-1 181 focus-visible:outline-primary-focus 182 disabled:border-border-disabled 183 disabled:placeholder:text-foreground-muted 184 group-data-[icon-position=right]:pe-16 185 group-data-[icon-position=right]:ps-4 186 group-data-[show-search-icon=false]:pe-[5.5rem] 187 group-data-[show-search-icon=false]:ps-4 188 md:group-data-[show-search-icon=false]:pe-[9.5rem] 189 [&[aria-invalid]:focus-visible]:outline-danger-outline 190 [&[aria-invalid]]:border-danger 191 [&[type=search_i]::-webkit-search-cancel-button]:appearance-none 192 [&[type=search_i]::-webkit-search-decoration]:appearance-none`,{sm:`h-10 text-sm`,lg:`h-14 text-base`}[t])}),Hm=({clearInputLabel:e})=>(0,L.jsx)(Cm,{slot:`clear`,"aria-label":e,className:`col-[after-input] row-start-1 inline h-full pe-4 peer-disabled/input:text-on-surface-muted group-data-[empty]:hidden group-data-[icon-position=right]:pe-2`,children:(0,L.jsx)(js(),{name:`16-fill-cross-circle`})}),Um=({submitOnSearchIconClick:e,submitLabel:t,dataGtm:n})=>{let r=js();return e?(0,L.jsx)(`button`,{type:`submit`,"aria-label":t,"data-gtm":n,className:`col-[submit-icon] row-start-1 h-full ps-4 peer-disabled/input:text-on-surface-muted group-data-[icon-position=right]:pe-4 group-data-[icon-position=right]:ps-[unset]`,children:(0,L.jsx)(r,{name:`16-bold-mag-glass-normal`})}):(0,L.jsx)(`div`,{className:`col-[submit-icon] row-start-1 ms-4 peer-disabled/input:text-on-surface-muted group-data-[icon-position=right]:me-4 group-data-[icon-position=right]:ms-[unset]`,children:(0,L.jsx)(r,{name:`16-bold-mag-glass-normal`})})},Wm=({submitLabel:e,dataGtm:t})=>{let n=js(),r=(0,I.useId)();return(0,L.jsxs)(rm,{type:`submit`,className:`col-[submit-button] row-start-1 flex h-full items-center rounded-es-none rounded-ss-none`,variant:`primary`,"aria-labelledby":r,"data-gtm":t,children:[(0,L.jsx)(`span`,{id:r,className:`hidden md:flex`,children:e}),(0,L.jsx)(n,{name:`16-bold-mag-glass-normal`})]})},Gm=(0,I.forwardRef)((e,t)=>{let{showSearchIcon:n=!0,iconPosition:r=`left`,size:i=`lg`,className:a,id:o,clearInputLabel:s=`Clear input`,submitLabel:c=`Submit`,"data-gtm":l=`searchSubmit`,validationState:u,isInvalid:d,onClear:f,...p}=e,m=(0,I.useRef)(null);(0,I.useImperativeHandle)(t,()=>m.current,[]);
192let h=d||u===`invalid`,g={"data-icon-position":r,"data-show-search-icon":n};return(0,L.jsxs)(Im,{...p,isInvalid:h,onClear:f,className:jc(`group 193 grid 194 w-full 195 grid-cols-[[submit-icon]_max-content_1fr_[after-input]_max-content] 196 items-center 197 text-on-surface 198 data-[icon-position=right]:grid-cols-[1fr_[after-input]_max-content_[submit-icon]_max-content] 199 data-[show-search-icon=false]:grid-cols-[1fr_[after-input]_max-content_[submit-icon]_max-content_[submit-button]_max-content]`,a),...g,children:[(0,L.jsx)(Vm,{id:o,size:i,inputRef:m}),(0,L.jsx)(Hm,{clearInputLabel:s}),n?(0,L.jsx)(Um,{submitOnSearchIconClick:p.submitOnSearchIconClick,submitLabel:c,dataGtm:l}):(0,L.jsx)(Wm,{submitLabel:c,dataGtm:l})]})});Gm.displayName=`Search`,(0,I.createContext)(void 0),(0,I.createContext)(`lg`),q`left-0 top-0 h-screen w-[400px] max-w-full`,q`right-0 top-0 h-screen w-[400px] max-w-full`,q`left-0 right-0 top-0 h-full max-h-[50vh] w-full`,q`bottom-0 left-0 right-0 h-full max-h-[50vh] w-full`,q`data-[entered]:translate-x-0 data-[entering]:-translate-x-full data-[exiting]:-translate-x-full`,q`data-[entered]:translate-x-0 data-[entering]:translate-x-full data-[exiting]:translate-x-full`,q`data-[entered]:translate-y-0 data-[entering]:-translate-y-full data-[exiting]:-translate-y-full`,q`data-[entered]:translate-y-0 data-[entering]:translate-y-full data-[exiting]:translate-y-full`;var Km=({className:e})=>(0,L.jsx)(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:e,"aria-hidden":`true`,focusable:`false`,children:(0,L.jsx)(`path`,{d:`M2.5 8.5L6.5 12.5L13.5 4.5`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`})}),qm=({className:e})=>(0,L.jsx)(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:e,"aria-hidden":`true`,focusable:`false`,children:(0,L.jsx)(`path`,{d:`M3 3L13 13M13 3L3 13`,stroke:`currentColor`,strokeWidth:`1.75`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Jm=`M8.45656 2.79643C8.37619 2.61614 8.19727 2.5 7.99987 2.5C7.80248 2.5 7.62356 2.61614 7.54319 2.79643L6.14117 5.94172L2.71658 6.30317C2.52027 6.32389 2.35453 6.45816 2.29353 6.6459C2.23253 6.83363 2.2877 7.03969 2.43433 7.17183L4.99244 9.47718L4.27793 12.8459C4.23698 13.039 4.31346 13.2381 4.47316 13.3541C4.63286 13.4701 4.84587 13.4813 5.01687 13.3827L7.99987 11.6622L10.9829 13.3827C11.1539 13.4813 11.3669 13.4701 11.5266 13.3541C11.6863 13.2381 11.7628 13.039 11.7218 12.8459L11.0073 9.47718L13.5654 7.17183C13.712 7.03969 13.7672 6.83363 13.7062 6.6459C13.6452 6.45816 13.4795 6.32389 13.2832 6.30317L9.85857 5.94172L8.45656 2.79643Z`,Ym=({className:e,filled:t=!0})=>(0,L.jsx)(`svg`,{viewBox:`2 2 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:e,"aria-hidden":`true`,focusable:`false`,children:(0,L.jsx)(`path`,{d:Jm,fill:t?`currentColor`:`none`,stroke:t?void 0:`currentColor`,strokeWidth:t?void 0:1,strokeLinejoin:`round`})}),Xm=`en`,Zm={en:{ariaLabelFavorited:`Remove from favorites`,ariaLabelNotFavorited:`Add to favorites`,ariaLabelLoading:`Loading favorite status`,labelFavorite:`Favorite`,labelAdded:`Added`,labelUnfavorite:`Unfavorite`,toastFavorited:`Added to your favorites`,toastUnfavorited:`Removed from favorites`,toastError:`Couldn't save to favorites. Try again or contact support`,toastViewFavorites:`View favorites`,ariaLabelDismissToast:`Dismiss notification`,ariaLabelToastRegion:`Notifications`},de:{ariaLabelFavorited:`Aus Favoriten entfernen`,ariaLabelNotFavorited:`Zu Favoriten hinzufügen`,ariaLabelLoading:`Favoritenstatus wird geladen`,labelFavorite:`Favorit`,labelAdded:`Hinzugefügt`,labelUnfavorite:`Entfernen`,toastFavorited:`Zu deinen Favoriten hinzugefügt`,toastUnfavorited:`Aus deinen Favoriten entfernt`,toastError:`Speichern in Favoriten fehlgeschlagen. Bitte erneut versuchen oder den Support kontaktieren.`,toastViewFavorites:`Favoriten ansehen`,ariaLabelDismissToast:`Benachrichtigung schlieÃen`,ariaLabelToastRegion:`Benachrichtigungen`}};function Qm(e){return e in Zm}function $m(e){let t=e?.split(`-`)[0]?.toLowerCase();return Zm[t&&Qm(t)?t:Xm]}var eh=`@keyframes pitFavSpin{to{transform:rotate(360deg)}}`,th=({isFavorite:e,isLoading:t=!1,showSuccess:n=!1,showLabel:r=!1,className:i,type:a=`button`,variant:o,size:s=`sm`,locale:c,ariaLabelFavorited:l,ariaLabelNotFavorited:u,ariaLabelLoading:d,labelFavorited:f,labelNotFavorited:p,labelSuccess:m,labelUnfavorite:h,isDisabled:g,..._})=>{let v=$m(c),y=e&&!t&&!n,b=(0,I.useRef)(null),x=(0,I.useRef)(!1),[S,C]=(0,I.useState)(!0),w=(0,I.useRef)(y);(0,I.useEffect)(()=>{let e=b.current;if(!e)return;let t=()=>{x.current=!0},n=()=>{x.current=!1,C(!0)};return e.addEventListener(`pointerenter`,t),e.addEventListener(`pointerleave`,n),()=>{e.removeEventListener(`pointerenter`,t),e.removeEventListener(`pointerleave`,n)}},[]),(0,I.useEffect)(()=>{y&&!w.current&&x.current&&C(!1),w.current=y},[y]);let T=y&&S,E=()=>{let i=t?(0,L.jsxs)(`span`,{"data-testid":`favorites-loading`,className:`flex size-4 items-center justify-center`,children:[(0,L.jsx)(`style`,{children:eh}),(0,L.jsx)(`span`,{style:{width:12,height:12,borderRadius:`9999px`,border:`2px solid #B2B2B2`,borderTopColor:`transparent`,animation:`pitFavSpin 0.8s linear infinite`}})]}):n?(0,L.jsx)(Km,{className:`size-4 text-on-success`}):e?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(Ym,{className:`size-4 text-[#FFD600] group-hover:hidden`}),(0,L.jsx)(qm,{className:`hidden size-4 text-danger group-hover:inline`})]}):(0,L.jsx)(Ym,{filled:!1,className:`size-4 text-on-surface`});return r?(0,L.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[i,(0,L.jsxs)(`span`,{className:`grid justify-items-start`,children:[(0,L.jsx)(`span`,{className:jc(`col-start-1 row-start-1 text-on-surface-strong`,n?`invisible`:y&&`group-hover:invisible`),children:(e?f:p)??v.labelFavorite}),(0,L.jsx)(`span`,{className:jc(`invisible col-start-1 row-start-1 text-danger`,y&&`group-hover:visible`),"aria-hidden":!0,
199children:h??v.labelUnfavorite}),(0,L.jsx)(`span`,{className:jc(`col-start-1 row-start-1 text-on-success`,n?`visible`:`invisible`),"aria-hidden":!n,children:m??v.labelAdded})]})]}):(0,L.jsx)(`span`,{className:`inline-flex items-center justify-center`,children:i})};return(0,L.jsx)(rm,{..._,ref:b,type:a,...o?{variant:o}:{},size:s,isDisabled:g,"aria-pressed":e,"aria-label":t?d??v.ariaLabelLoading:e?l??v.ariaLabelFavorited:u??v.ariaLabelNotFavorited,className:jc(T&&`group`,n&&`border-success bg-success hover:bg-success active:bg-success`,i),children:E()})},nh={success:`border-accent`,danger:`border-[#cf0000]`,warning:`border-[#ffd600]`},rh=()=>(0,L.jsx)(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`,className:`block size-4`,children:(0,L.jsx)(`path`,{d:`M5.70711 4.29289C5.31658 3.90237 4.68342 3.90237 4.29289 4.29289C3.90237 4.68342 3.90237 5.31658 4.29289 5.70711L6.58579 8L4.29289 10.2929C3.90237 10.6834 3.90237 11.3166 4.29289 11.7071C4.68342 12.0976 5.31658 12.0976 5.70711 11.7071L8 9.41421L10.2929 11.7071C10.6834 12.0976 11.3166 12.0976 11.7071 11.7071C12.0976 11.3166 12.0976 10.6834 11.7071 10.2929L9.41421 8L11.7071 5.70711C12.0976 5.31658 12.0976 4.68342 11.7071 4.29289C11.3166 3.90237 10.6834 3.90237 10.2929 4.29289L8 6.58579L5.70711 4.29289Z`,fill:`currentColor`})}),ih=`shrink-0 whitespace-nowrap text-right text-base font-normal text-primary no-underline`,ah=`cursor-pointer border-0 bg-transparent p-0`,oh=`flex shrink-0 cursor-pointer items-center justify-center border-0 bg-transparent p-0 py-1 text-on-surface`,sh=({variant:e,message:t,action:n,dismissButtonLabel:r=`Dismiss notification`,className:i,"data-testid":a,contentProps:o,titleProps:s,closeButtonProps:c})=>(0,L.jsxs)(`div`,{"data-testid":a,className:jc(`flex max-w-[calc(100vw-3rem)] items-start gap-6 rounded border-l-4 bg-surface px-6 py-4 shadow-[0_2px_6px_-1px_rgba(69,95,124,0.28)]`,nh[e],i),children:[(0,L.jsxs)(`div`,{...o,className:`flex max-w-[450px] flex-wrap items-center gap-x-6 gap-y-3`,children:[(0,L.jsx)(`p`,{...s,className:`m-0 break-words text-base font-normal leading-normal text-on-surface`,children:t}),n?n.href?(0,L.jsx)(`a`,{href:n.href,onClick:n.onClick,className:ih,children:n.label}):(0,L.jsx)(`button`,{type:`button`,onClick:n.onClick,className:jc(ih,ah),children:n.label}):null]}),c?(0,L.jsx)(Cm,{...c,"aria-label":r,className:oh,children:(0,L.jsx)(rh,{})}):null]}),ch=({toast:e,state:t,dismissButtonLabel:n})=>{let r=(0,I.useRef)(null),{toastProps:i,contentProps:a,titleProps:o,closeButtonProps:s}=em({toast:e},t,r),{variant:c,message:l,action:u}=e.content;return(0,L.jsx)(`div`,{...i,ref:r,style:{viewTransitionName:e.key},className:jc(`pit-toast-item`),children:(0,L.jsx)(sh,{variant:c,message:l,action:u,dismissButtonLabel:n,"data-testid":`toast-${c}`,contentProps:a,titleProps:o,closeButtonProps:s})})},lh=({state:e,"aria-label":t=`Notifications`,dismissButtonLabel:n,...r})=>{let i=(0,I.useRef)(null),{regionProps:a}=nm({...r,"aria-label":t},e,i);return(0,L.jsx)(`div`,{...a,ref:i,className:`pointer-events-auto fixed bottom-6 right-6 z-[9999] flex max-w-[calc(100vw-3rem)] flex-col-reverse items-end gap-2`,children:e.visibleToasts.map(t=>(0,L.jsx)(ch,{toast:t,state:e,dismissButtonLabel:n},t.key))})},uh=(0,I.createContext)(null),dh=()=>(0,I.useContext)(uh),fh=({children:e,dismissButtonLabel:t,regionLabel:n})=>{let r=(0,I.useRef)(null),i=Lm({maxVisibleToasts:1/0,wrapUpdate:(0,I.useCallback)(e=>{let t=typeof window<`u`&&window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches;if(typeof document>`u`||t){e();return}let n=r.current;if(n?.startViewTransition){let t=n.startViewTransition(()=>(0,$t.flushSync)(e));t.ready.catch(()=>{}),t.finished.catch(()=>{});return}if(`startViewTransition`in document){let t=document.startViewTransition(()=>(0,$t.flushSync)(e));t.ready.catch(()=>{}),t.finished.catch(()=>{});return}e()},[])}),[a,o]=(0,I.useState)(!1);return(0,I.useEffect)(()=>{o(!0)},[]),(0,L.jsxs)(uh.Provider,{value:i,children:[e,a?(0,$t.createPortal)((0,L.jsx)(`div`,{ref:r,className:jc(`pit-toast-scope pointer-events-none fixed inset-0 z-[9999]`),children:i.visibleToasts.length>0?(0,L.jsx)(lh,{state:i,"aria-label":n,dismissButtonLabel:t}):null}),document.body):null]})},ph=({children:e,locale:t})=>{let n=$m(t);return(0,L.jsx)(fh,{dismissButtonLabel:n.ariaLabelDismissToast,regionLabel:n.ariaLabelToastRegion,children:e})}
199,mh=dh,hh=`/profile/api/favorites`,gh=class extends Error{status;constructor(e,t){super(t??`Favorites API error: ${e}`),this.name=`FavoritesApiError`,this.status=e}};function _h(e){return`${hh}/${encodeURIComponent(e.contentType)}/${encodeURIComponent(e.contentId)}`}var vh={Accept:`application/json`};async function yh(e,t){let n=await fetch(_h(e),{method:`GET`,headers:vh,signal:t});if(!n.ok)throw new gh(n.status);let r=await n.json();if(typeof r?.favorited!=`boolean`)throw Error(`Favorites API returned an invalid payload.`);return{isFavorite:r.favorited}}async function bh(e,t){let n=await fetch(_h(e),{method:`PUT`,headers:vh,signal:t});if(!n.ok)throw new gh(n.status)}async function xh(e,t){let n=await fetch(_h(e),{method:`DELETE`,headers:vh,signal:t});if(!n.ok)throw new gh(n.status)}function Sh(e){return e instanceof DOMException&&e.name===`AbortError`}function Ch({contentType:e,contentId:t,enabled:n=!0,onToggleSuccess:r,onToggleError:i}){let a=(0,I.useRef)({onToggleSuccess:r,onToggleError:i});a.current={onToggleSuccess:r,onToggleError:i};let[o,s]=(0,I.useState)(!1),[c,l]=(0,I.useState)(n),[u,d]=(0,I.useState)(!1),[f,p]=(0,I.useState)(void 0),m=(0,I.useRef)(null),h=(0,I.useRef)(!1),g=(0,I.useRef)(!1);(0,I.useEffect)(()=>{if(!n){l(!1);return}let r=new AbortController;return l(!0),p(void 0),yh({contentType:e,contentId:t},r.signal).then(e=>{r.signal.aborted||m.current!==null||(h.current=e.isFavorite,m.current=e.isFavorite,s(e.isFavorite))}).catch(e=>{Sh(e)||r.signal.aborted||p(e)}).finally(()=>{r.signal.aborted||l(!1)}),()=>r.abort()},[e,t,n]);let _=(0,I.useCallback)(async()=>{if(g.current)return;g.current=!0,d(!0);let n=null;try{let r={contentType:e,contentId:t};for(;m.current!==h.current;){let e=m.current;try{e?await bh(r):await xh(r),h.current=e}catch(e){m.current=h.current,s(h.current),p(e),n={error:e};break}}}finally{g.current=!1,d(!1)}n?a.current.onToggleError?.(n.error):a.current.onToggleSuccess?.(h.current)},[e,t]),v=(0,I.useCallback)(async e=>{m.current=e,s(e),p(void 0),await _()},[_]),y=(0,I.useCallback)(()=>v(!(m.current??h.current)),[v]);return{isFavorite:o,isLoading:c,isMutating:u,isError:f!==void 0,toggle:y}}var wh=4e3,Th=5e3,Eh=`/profile/favorites`,Dh=({contentType:e,contentId:t,onFavoriteChange:n,isDisabled:r,showNotifications:i=!1,toastDurationMs:a,onViewFavorites:o,favoritesHref:s,locale:c,...l})=>{let u=$m(c),d=mh(),f=o&&!s?{label:u.toastViewFavorites,onClick:o}:{label:u.toastViewFavorites,href:s??Eh,onClick:o}
199,p=e=>{!i||!d||d.add(e,{timeout:a??Th})},{isFavorite:m,isLoading:h,toggle:g}=Ch({contentType:e,contentId:t,onToggleSuccess:e=>{p(e?{variant:`success`,message:u.toastFavorited,action:f}:{variant:`success`,message:u.toastUnfavorited})},onToggleError:()=>{p({variant:`danger`,message:u.toastError})}}),[_,v]=(0,I.useState)(!1),[y,b]=(0,I.useState)(0);return(0,I.useEffect)(()=>{if(y===0)return;v(!0);let e=setTimeout(()=>v(!1),wh);return()=>clearTimeout(e)},[y]),(0,I.useEffect)(()=>{m||v(!1)},[m]),(0,L.jsx)(th,{...l,locale:c,isFavorite:m,isLoading:h,showSuccess:_,isDisabled:r,onPress:()=>{let e=!m;n?.(e),e&&b(e=>e+1),g()}})},Oh=e=>{let t=mh()!==null;return e.showNotifications&&!t?(0,L.jsx)(ph,{locale:e.locale,children:(0,L.jsx)(Dh,{...e})}):(0,L.jsx)(Dh,{...e})},kh={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":672,"3xl":768,"4xl":896,"5xl":1024,"6xl":1152,"7xl":1280};function Ah(e,t){let[n,r]=(0,I.useState)(!1),i=jh(t);return i?((0,I.useEffect)(()=>{let t=e.current;if(!t){r(!1);return}let n=kh[i],a=()=>{r(t.clientWidth>=n)};a();let o=new ResizeObserver(a);return o.observe(t),()=>{o.disconnect()}},[e,i]),n):!1}function jh(e,t){let n=e.trim().match(/^@?([a-z0-9]+)(?:\/[^:]+)?/)?.[1];return n&&n in kh?n:e in kh?e:t??void 0}var Mh=`group transition-opacity duration-150 rounded bg-[#fff] p-4 shadow [max-width:17.5rem] placement-left:mr-2 placement-right:ml-2 placement-top:mb-2 placement-bottom:mt-2`,Nh=`block fill-[#fff] group-placement-left:-rotate-90 group-placement-right:rotate-90 group-placement-bottom:rotate-180`,Ph=(0,I.createContext)(void 0),Fh=({children:e,type:t,tooltipText:n,tooltipVisibilityClassName:r})=>{let i=(0,I.useContext)(Ph),a=(0,I.useRef)(null),o=Ah(i??a,r||``),[s,c]=(0,I.useState)(!1);return(0,I.useEffect)(()=>{o&&c(!1)},[o]),(0,L.jsxs)(xe,{delay:250,isDisabled:o,isOpen:s,onOpenChange:c,children:[e,(0,L.jsxs)(Se,{"aria-label":n,arrowBoundaryOffset:0,placement:`top`,className:H(Mh,`data-[entering]:opacity-0 data-[exiting]:opacity-0`),children:[(0,L.jsx)(T,{className:`w-max`,children:(0,L.jsx)(`svg`,{width:8,height:8,className:Nh,children:(0,L.jsx)(`path`,{d:`M0 0,L4 4,L8 0`})})}),(0,L.jsx)(`span`,{className:`text-sm`,children:n})]},`global-charttooltip-${t}`)]})};function Ih({className:e}){return(0,L.jsxs)(`svg`,{className:e,width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,L.jsx)(`path`,{d:`M5.5 4C5.71522 4 5.90655 4.13763 5.97461 4.3418L6.89551 7.10449L9.6582 8.02539L9.73145 8.05664C9.8946 8.14174 10 8.31168 10 8.5C10 8.71522 9.86237 8.90655 9.6582 8.97461L6.89551 9.89551L5.97461 12.6582C5.90655 12.8624 5.71522 13 5.5 13C5.28478 13 5.09345 12.8624 5.02539 12.6582L4.10449 9.89551L1.3418 8.97461C1.13763 8.90655 1 8.71522 1 8.5C1 8.28478 1.13763 8.09345 1.3418 8.02539L4.10449 7.10449L5.02539 4.3418L5.05664 4.26855C5.14174 4.1054 5.31168 4 5.5 4ZM4.97461 7.6582C4.92484 7.80751 4.80751 7.92484 4.6582 7.97461L3.08203 8.5L4.6582 9.02539L4.76367 9.0752C4.86186 9.13614 4.93731 9.22989 4.97461 9.3418L5.5 10.918L6.02539 9.3418L6.0752 9.23633C6.13614 9.13814 6.22989 9.06269 6.3418 9.02539L7.91797 8.5L6.3418 7.97461C6.22989 7.93731 6.13614 7.86186 6.0752 7.76367L6.02539 7.6582L5.5 6.08203L4.97461 7.6582Z`,fill:`#0666E5`}),(0,L.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M10.5 10C10.7152 10 10.9066 10.1376 10.9746 10.3418L11.3955 11.6045L12.6582 12.0254L12.7314 12.0566C12.8946 12.1417 13 12.3117 13 12.5C13 12.7152 12.8624 12.9066 12.6582 12.9746L11.3955 13.3955L10.9746 14.6582C10.9066 14.8624 10.7152 15 10.5 15C10.2848 15 10.0934 14.8624 10.0254 14.6582L9.60449 13.3955L8.3418 12.9746C8.13763 12.9066 8 12.7152 8 12.5C8 12.2848 8.13763 12.0934 8.3418 12.0254L9.60449 11.6045L10.0254 10.3418L10.0566 10.2686C10.1417 10.1054 10.3117 10 10.5 10ZM10.9424 12.0576C10.6983 11.8135 10.3017 11.8135 10.0576 12.0576C9.81354 12.3017 9.81355 12.6983 10.0576 12.9424C10.3017 13.1865 10.6983 13.1865 10.9424 12.9424C11.1865 12.6983 11.1865 12.3017 10.9424 12.0576Z`,fill:`#0666E5`}),(0,L.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.5 2C11.7152 2 11.9066 2.13763 11.9746 2.3418L12.3955 3.60449L13.6582 4.02539L13.7314 4.05664C13.8946 4.14174 14 4.31168 14 4.5C14 4.71522 13.8624 4.90655 13.6582 4.97461L12.3955 5.39551L11.9746 6.6582C11.9066 6.86237 11.7152 7 11.5 7C11.2848 7 11.0934 6.86237 11.0254 6.6582L10.6045 5.39551L9.3418 4.97461C9.13763 4.90655 9 4.71522 9 4.5C9 4.28478 9.13763 4.09345 9.3418 4.02539L10.6045 3.60449L11.0254 2.3418L11.0566 2.26855C11.1417 2.1054 11.3117 2 11.5 2ZM11.9424 4.05762C11.6983 3.81355 11.3017 3.81355 11.0576 4.05762C10.8135 4.30169 10.8135 4.6983 11.0576 4.94238C11.3017 5.18646 11.6983 5.18646 11.9424 4.94238C12.1865 4.6983 12.1865 4.30169 11.9424 4.05762Z`,fill:`#0666E5`})]})}var Lh={de:{copyForAiTitle:`# Für AI kopieren`,introduction:[`Nutzen Sie die folgenden Daten, um Erkenntnisse zu analysieren, zusammenzufassen, zu vergleichen oder neu zu formulieren.`,`Nutzen Sie nur die unten stehenden Informationen und erhalten Sie die Quellenangabe.`],chartMetadata:`## Diagramm-Metadaten`,title:`Titel`,subtitle:`Untertitel`,visualizationType:`Visualisierungstyp`,timeframe:`Zeitraum`,geographicScope:`Geografischer Geltungsbereich`,notes:`Hinweise`,sourceHeading:`## Quelle`,source:`Quelle`,sourceDetail
199:`Quellendetail`,sourceUrl:`Quell-URL`,dataHeading:`## Daten`,suggestedTasksHeading:`## Vorgeschlagene Aufgaben`,suggestedTasks:[`Fassen Sie die wichtigste Erkenntnis in 2-3 Sätzen zusammen.`,`Nennen Sie den höchsten und den niedrigsten Wert.`,`Heben Sie relevante Trends, Unterschiede oder AusreiÃer hervor.`,`Formulieren Sie die Erkenntnisse für ein Business-Publikum um.`],disclaimerHeading:`## Nutzungs-Hinweis`,disclaimer:`Diese Daten sind Eigentum von Statista und nach geltendem Recht geschützt. Sie dürfen nicht verwendet werden, um ein Large Language Model oder ein anderes KI-System zu trainieren, feinzujustieren oder anderweitig zu verbessern. Die Nutzung ist auf Analyse und interne Zwecke im Rahmen Ihrer Rechte sowie der geltenden Statista-Nutzungsbedingungen beschränkt.`},en:{copyForAiTitle:`# Copy for AI`,introduction:[`Use the following data to analyze, summarize, compare, or rewrite the findings.`,`Base your answer only on the information provided below, and preserve source attribution.`],chartMetadata:`## Chart metadata`,title:`Title`,subtitle:`Subtitle`,visualizationType:`Visualization type`,timeframe:`Timeframe`,geographicScope:`Geographic scope`,notes:`Notes`,sourceHeading:`## Source`,source:`Source`,sourceDetail:`Source detail`,sourceUrl:`Source URL`,dataHeading:`## Data`,suggestedTasksHeading:`## Suggested tasks`,suggestedTasks:[`Summarize the main finding in 2-3 sentences.`,`Identify the highest and lowest values.`,`Highlight relevant trends, differences, or outliers.`,`Rewrite the finding for a business audience.`],disclaimerHeading:`## Usage disclaimer`,disclaimer:`This data is proprietary to Statista and protected by applicable law. It may not be used to train, fine-tune, or otherwise improve any large language model or AI system. Use is limited to analysis and internal purposes within the scope of your rights and Statista's applicable terms and conditions.`}},Rh=e=>e.replaceAll(`|`,String.raw`\|`).replaceAll(` 200`,` `),zh=e=>{if(e)return e.replace(/<[^>]*>/g,` `).replace(/\s+/g,` `).trim()},Bh=(e,t)=>{if(!t?.labels?.length)return e===`de`?`- Keine Daten verfügbar`:`- No data available`;let n=t.labels.map(e=>Rh(e??``)),r=n.map(()=>`---`),i=t.rows.map(e=>t.labels.map((t,n)=>Rh(String(e[n]??`-`))).join(` | `));return[`| ${n.join(` | `)} |`,`| ${r.join(` | `)} |`,...i.map(e=>`| ${e} |`)].join(` 201`)},Vh=e=>{let t=e?.coveredGeos?.level1?.map(e=>e.name)??[],n=e?.coveredGeos?.level2?.map(e=>e.name)??[],r=[...t,...n].filter(Boolean);return r.length>0?r.join(`, `):void 0},Hh=(e,t)=>{if(!t||t.type===`DEFAULT`)return;let n=t.symbol??`-`;return e===`de`?`- Einheit: ${n}`:`- Units: ${n}`},Uh=({locale:e,title:t,selectedVisualization:n,unit:r,additionalInformation:i,globalChartTableData:a})=>{let o=i?.sourceInfo?.sources,s=o&&o.length>0?o.join(`, `):void 0,c=i?.sourceInfo?.sourceLinkTitle||void 0,l=i?.sourceInfo?.sourceLink||void 0,u=i?.surveyPeriod,d=(u&&u.trim().length>0?u:void 0)??(i?.coveredTimeframe?.start&&i?.coveredTimeframe?.end?`${i.coveredTimeframe.start} - ${i.coveredTimeframe.end}`:void 0),f=zh(i?.supportText),p=Bh(e,a),m=Hh(e,r),h=t||n||m||d||i?.coveredGeos,g=!!(s||c||l),_=Lh[e],v=[],y=e=>{v.push(``,e)},b=(e,t)=>{t&&v.push(`- ${e}: ${t}`)};return v.push(_.copyForAiTitle,``,..._.introduction),h&&(y(_.chartMetadata),b(_.title,t),b(_.visualizationType,n),m&&v.push(m),b(_.timeframe,d),i?.coveredGeos&&b(_.geographicScope,Vh(i)),b(_.notes,f)),g&&(y(_.sourceHeading),b(_.source,s),b(_.sourceDetail,c),b(_.sourceUrl,l)),p&&(y(_.dataHeading),v.push(p)),y(_.suggestedTasksHeading),v.push(..._.suggestedTasks.map(e=>`- ${e}`)),y(_.disclaimerHeading),v.push(_.disclaimer),v.join(` 202`)};function Wh(){let{t:e}=g(),{id:t,title:n,categories:r,unit:i,additionalInformation:a,globalChartTableData:o}=z(),{selectedVisualization:s,selectedCategories:c}=ya(),{setIsModalOpen:l,setModalTarget:u,setLiveRegionMessage:d}=Sa(),{locale:f,accessConfiguration:p,onPaywallTriggered:m,uiConfiguration:h}=ba(),{gtmTrackCopyForAI:_}=Ao(t),v=()=>s===`table`?c.length===r.length?`all_rows`:`selected_rows`:`current_view`;return(0,L.jsx)(Fh,{type:e([`CONTENTS_COPY_FOR_AI`]),tooltipText:e([`CONTENTS_COPY_FOR_AI`]),tooltipVisibilityClassName:`@6xl/widgetBox:inline`,children:(0,L.jsxs)(D,{"data-gtm":`${U.copyForAI}-${v()}`,"aria-label":e([`ARIA_LABEL_CONTENTS_COPY_FOR_AI`]),onPress:async()=>
202{if(p?.copyForAI===!1){m?.(tt.COPY_FOR_AI);return}let t=Uh({locale:f,title:n&&h?.header?.title?.visible?n:void 0,selectedVisualization:s,unit:i,additionalInformation:a,globalChartTableData:o});await navigator.clipboard.writeText(t),u(dt),l(!0),d?.(e([`LIVE_REGION_COPY_FOR_AI_SUCCESS`])),_(v(),o?.rows.length??0)},className:H(Vo({isDisabled:!1}),Uo),children:[(0,L.jsx)(Ih,{className:Ho}),(0,L.jsx)(`span`,{className:`hidden text-primary @6xl/widgetBox:inline`,children:e([`CONTENTS_COPY_FOR_AI`])})]})})}function Gh({className:e}){return(0,L.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 16`,fill:`none`,width:`16`,height:`16`,className:e,children:[(0,L.jsx)(`path`,{d:`M10.5 10.4996H13.5V2.49957H5.5V5.49957`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,L.jsx)(`path`,{d:`M10.5 5.49963H2.5V13.4996H10.5V5.49963Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`})]})}function Kh(e,t){let n=(e??``).toString();return n.includes(t)||n.includes(`"`)||n.includes(` 203`)||n.includes(`\r`)?`"${n.replace(/"/g,`""`)}"`:n}function qh(e,t){if(!e)return``;let n=t===`de`?`;`:`,`;return[e.labels.map(e=>Kh(e,n)).join(n),...e.rows.map(t=>e.labels.map((e,r)=>Kh(t[r],n)).join(n))].join(` 204`)}function Jh({mimeType:e=`text/plain`}){let{t}=g(),{id:n,categories:r,globalChartTableData:i}=z(),{selectedCategories:a,selectedVisualization:o}=ya(),{setIsModalOpen:s,setModalTarget:c,setLiveRegionMessage:l}=Sa(),{locale:u,accessConfiguration:d,onPaywallTriggered:f}=ba(),{gtmTrackCopyData:p}=Ao(n),m=qh(i,u),h=()=>o===`table`?a.length===r.length?`all_rows`:`selected_rows`:`current_view`;return(0,L.jsx)(Fh,{type:t([`CONTENTS_COPY_DATA`]),tooltipText:t([`CONTENTS_COPY_DATA`]),tooltipVisibilityClassName:`@6xl/widgetBox:inline`,children:(0,L.jsxs)(D,{"data-gtm":`${U.copyData}-${h()}`,"aria-label":t([`CONTENTS_COPY_DATA`]),onPress:async()=>{if(d?.copyData===!1){f?.(tt.COPY_DATA);return}await navigator.clipboard.write([new globalThis.ClipboardItem({[e]:new Blob([m],{type:e})})]),c(it),s(!0),p(h(),m.split(` 205`).length),l?.(t([`LIVE_REGION_COPY_DATA_SUCCESS`]))},className:H(Vo({isDisabled:!1}),Uo),children:[(0,L.jsx)(Gh,{className:Ho}),(0,L.jsxs)(`span`,{className:`hidden @6xl/widgetBox:inline`,children:[` `,t([`CONTENTS_COPY_DATA`])]})]})})}function Yh({className:e}){return(0,L.jsxs)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 16 16`,width:`16`,height:`16`,children:[(0,L.jsx)(`path`,{fill:`currentColor`,fillRule:`evenodd`,d:`M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12zm0 1A7 7 0 1 0 8 1a7 7 0 0 0 0 14z`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{fill:`currentColor`,fillRule:`evenodd`,d:`M6.5 7.5A.5.5 0 0 1 7 7h1a.5.5 0 0 1 .5.5V11H9a.5.5 0 0 1 0 1H8a.5.5 0 0 1-.5-.5V8H7a.5.5 0 0 1-.5-.5z`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{fill:`currentColor`,d:`M8.75 5.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0z`})]})}function Xh(){let{t:e}=g(),{id:t}=z(),{accessConfiguration:n,onPaywallTriggered:r}=ba(),{sourceDetailsButtonRef:i}=xa(),{setIsDrawerOpen:a,setDrawerActiveTab:o}=Sa(),{gtmTrackSourceDetailsOpen:s}=Ao(t);return(0,L.jsx)(Fh,{type:e([`SOURCE_DETAILS`]),tooltipText:e([`SOURCE_DETAILS`]),tooltipVisibilityClassName:`@6xl/widgetBox:inline`,children:(0,L.jsxs)(D,{ref:i,"data-gtm":U.sourceDetailsOpen,"aria-label":e(`ARIA_LABEL_SOURCE_DETAILS`),onPress:()=>{if(s(),!n?.sourceDetails){r?.(tt.SOURCE_DETAILS);return}o(`sources`),a(!0)},className:H(Vo({isDisabled:!1}),Uo),children:[(0,L.jsx)(Yh,{className:Ho}),(0,L.jsx)(`span`,{className:`hidden @6xl/widgetBox:inline`,children:e(`SOURCE_DETAILS`)})]})})}function Zh({className:e}){return(0,L.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 16 16`,width:`16`,height:`16`,className:e,children:[(0,L.jsx)(`path`,{fill:`currentColor`,d:`M6.5 3.5h-2A2.5 2.5 0 0 0 2 6v2a2.5 2.5 0 0 0 2.5 2.5H5v.5A2 2 0 0 1 3 13v1a3 3 0 0 0 3-3v-.5a2.5 2.5 0 0 0 .5-1.5V6a2.5 2.5 0 0 0-2.5-2.5H6.5V3.5z`}),(0,L.jsx)(`path`,{fill:`currentColor`,d:`M13 3.5h-2A2.5 2.5 0 0 0 8.5 6v2A2.5 2.5 0 0 0 11 10.5h.5v.5a2 2 0 0 1-2 2v1a3 3 0 0 0 3-3v-.5a2.5 2.5 0 0 0 .5-1.5V6A2.5 2.5 0 0 0 13 3.5z`})]})}var Qh=()=>{let{t:e}=g(),{id:t}=z(),{setIsDrawerOpen:n,setDrawerActiveTab:r}=Sa(),{gtmTrackSourceDetailsOpen:i}=Ao(t);return(0,L.jsx)(Fh,{type:e([`CITATIONS_BUTTON_TEXT`]),tooltipText:e([`ARIA_LABEL_CITATIONS_BUTTON`]),tooltipVisibilityClassName:`@6xl/widgetBox:inline`,children:(0,L.jsxs)(D,{"data-gtm":U.citationsButton,"aria-label":e([`ARIA_LABEL_CITATIONS_BUTTON`]),onPress:()=>{i(),r(`citations`),n(!0)},className:H(Vo({isDisabled:!1}),Uo),children:[(0,L.jsx)(Zh,{className:Ho}),(0,L.jsxs)(`span`,{className:`hidden @6xl/widgetBox:inline`,children:[` `,e([`CITATIONS_BUTTON_TEXT`])]})]})})};function $h({className:e}){return(0,L.jsxs)(`svg`,{className:e,width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,L.jsx)(`path`,{d:`M11 6C11 3.3146 8.6854 1 6 1C5.72386 1 5.5 0.776142 5.5 0.5C5.5 0.223858 5.72386 0 6 0C9.23768 0 12 2.76232 12 6C12 7.89041 11.2505 9.18871 10.5287 10H11.5C11.7761 10 12 10.2239 12 10.5C12 10.7761 11.7761 11 11.5 11H9C8.72386 11 8.5 10.7761 8.5 10.5V8C8.5 7.72386 8.72386 7.5 9 7.5C9.27614 7.5 9.5 7.72386 9.5 8V9.62714C10.162 8.99916 11 7.84177 11 6Z`,fill:`currentColor`}),(0,L.jsx)(`path`,{d:`M6.5 11.5C6.5 11.7761 6.27614 12 6 12C2.76232 12 0 9.23768 0 6C0 4.47908 0.609086 3.06897 1.58171 2H0.5C0.223858 2 0 1.77614 0 1.5C0 1.22386 0.223858 1 0.5 1H3C3.27614 1 3.5 1.22386 3.5 1.5V4C3.5 4.27614 3.27614 4.5 3 4.5C2.72386 4.5 2.5 4.27614 2.5 4V2.48588C1.57708 3.4051 1 4.65979 1 6C1 8.6854 3.3146 11 6 11C6.27614 11 6.5 11.2239 6.5 11.5Z`,fill:`currentColor`})]})}var eg=()=>{let{t:e}=g(),{isTableInverted:t}=ya(),{setIsTableInverted:n}=Sa();return(0,L.jsx)(Fh,{type:e([`INVERT_TABLE`]),tooltipText:e([`INVERT_TABLE`]),tooltipVisibilityClassName:`@6xl/widgetBox:inline`,children:(0,L.jsxs)(D,{"aria-label":e(`INVERT_TABLE`),onPress:()=>n(!t),className:H(Vo({isDisabled:!1}),Uo),children:[(0,L.jsx)($h,{className:Ho}),(0,L.jsx)(`span`,{className:`hidden @6xl/widgetBox:inline`,children:e(`INVERT_TABLE`)})]})})};function tg({className:e}
205){return(0,L.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,className:e,children:(0,L.jsx)(`path`,{fill:`#1779f5`,d:`M12 2.25a9.75 9.75 0 0 0-.75 19.471v-7.47H9a.75.75 0 1 1 0-1.5h2.25V10.5a3.003 3.003 0 0 1 3-3h1.5a.75.75 0 1 1 0 1.5h-1.5a1.5 1.5 0 0 0-1.5 1.5v2.25H15a.75.75 0 1 1 0 1.5h-2.25v7.47A9.75 9.75 0 0 0 12 2.25`})})}function ng({className:e}){return(0,L.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,className:e,children:(0,L.jsx)(`path`,{fill:`#266bbc`,d:`M19.5 3h-15A1.5 1.5 0 0 0 3 4.5v15A1.5 1.5 0 0 0 4.5 21h15a1.5 1.5 0 0 0 1.5-1.5v-15A1.5 1.5 0 0 0 19.5 3M9 16.5a.75.75 0 1 1-1.5 0v-6a.75.75 0 0 1 1.5 0zm-.75-7.875a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25m9 7.875a.75.75 0 1 1-1.5 0v-3.375a1.875 1.875 0 1 0-3.75 0V16.5a.75.75 0 1 1-1.5 0v-6a.75.75 0 0 1 1.48-.167 3.374 3.374 0 0 1 5.27 2.792z`})})}function rg({className:e}){return(0,L.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,className:e,children:(0,L.jsx)(`path`,{fill:`#455f7c`,fillRule:`evenodd`,d:`M4.5 6A1.5 1.5 0 0 0 3 7.5v9A1.5 1.5 0 0 0 4.5 18h15a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 19.5 6zm13.8 1.5H5.7l6.3 5.04zm-13.8.96v8.04h15V8.46l-7.031 5.626a.75.75 0 0 1-.937 0z`,clipRule:`evenodd`})})}function ig({className:e}){return(0,L.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,className:e,children:(0,L.jsx)(`path`,{fill:`#000`,d:`M16.59 4h2.648l-5.783 6.608 6.803 8.992h-5.325l-4.174-5.453-4.77 5.453H3.338l6.183-7.069L3 4h5.46l3.769 4.984zm-.93 14.017h1.466L7.661 5.5H6.086z`})})}function ag({className:e}){return(0,L.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 16 16`,width:`16`,height:`16`,className:e,children:(0,L.jsx)(`path`,{fill:`currentColor`,d:`M10.625 1.813a2.25 2.25 0 0 0-2.116 3.016L6.075 6.393a2.25 2.25 0 1 0 0 3.214l2.434 1.565a2.25 2.25 0 1 0 .541-.84L6.616 8.765a2.246 2.246 0 0 0 0-1.532L9.05 5.669a2.25 2.25 0 1 0 1.575-3.857z`})})}var og=()=>{let{t:e}=g(),{id:t,title:n}=z(),{accessConfiguration:r,onPaywallTriggered:i}=Ca(),{gtmTrackShareOpen:a,gtmTrackShareClick:o}=Ao(t),[s,c]=(0,I.useState)(!1),l=(0,I.useRef)(null),u=(0,I.useRef)(null);k({ref:l,isDisabled:!s,onInteractOutside:e=>{let t=e.target;!(t instanceof Element)||u.current?.contains(t)||c(!1)}});let d=typeof globalThis<`u`&&globalThis.location?globalThis.location.href:``,f=encodeURIComponent(d),p=encodeURIComponent(String(n)),m=encodeURIComponent(d),h=[{key:`facebook`,label:`Facebook`,href:`https://www.facebook.com/sharer/sharer.php?u=${f}`,icon:(0,L.jsx)(tg,{})},{key:`twitter`,label:`X (Twitter)`,href:`https://twitter.com/intent/tweet?url=${f}`,icon:(0,L.jsx)(ig,{})},{key:`linkedin`,label:`LinkedIn`,href:`https://www.linkedin.com/sharing/share-offsite/?url=${f}`,icon:(0,L.jsx)(ng,{})},{key:`mail`,label:`Mail`,href:`mailto:?subject=${p}&body=${m}`,icon:(0,L.jsx)(rg,{})}],_=e=>{if(c(!1),r?.share?.[e]===!1){setTimeout(()=>{i?.(tt.SHARE),setTimeout(()=>{document.querySelector(`#paywall-close`)?.focus()},10)},0);return}o(e)};return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(Fh,{type:e([`CONTENTS_SHARE`]),tooltipText:e([`CONTENTS_SHARE`]),tooltipVisibilityClassName:`@6xl/widgetBox:inline`,children:(0,L.jsxs)(D,{ref:u,"data-gtm":U.shareOpen,"aria-label":e([`CONTENTS_SHARE`]),className:H(Vo({isDisabled:!1}),Uo),onPress:()=>{c(e=>!e),s||a()},children:[(0,L.jsx)(ag,{className:Ho}),` `,(0,L.jsx)(`span`,{className:`hidden @6xl/widgetBox:inline`,children:e([`CONTENTS_SHARE`])})]})}),(0,L.jsxs)(Ke,{ref:l,triggerRef:u,isOpen:s,onOpenChange:c,placement:`top`,isNonModal:!0,shouldCloseOnInteractOutside:e=>!u.current?.contains(e),className:`placement-left:mr-2 placement-right:ml-2 placement-top:mb-2 placement-bottom:mt-2 group z-sticky min-w-30 rounded bg-on-primary p-2 shadow outline-none transition-opacity duration-150 [max-width:17.5rem]`,children:[(0,L.jsx)(T,{className:`placement-left:mr-2 placement-right:ml-2 placement-top:mb-2 placement-bottom:mt-2 group absolute block rounded fill-on-primary transition-opacity duration-150`,children:(0,L.jsx)(`svg`,{width:12,height:12,viewBox:`0 0 12 12`,className:`group-placement-bottom:rotate-180 group-placement-left:-rotate-90 group-placement-right:rotate-90 block fill-surface drop-shadow-sm`,children:(0,L.jsx)(`path`,{d:`M0 0 L6 6 L12 0`})})}),(0,L.jsx)(ie,{autoFocus:!0,restoreFocus:!0,children:(0,L.jsx)(Je,{className:`outline-none`,"aria-label":e([`DOWNLOAD`]),children:(0,L.jsx)(`div`,{className:`flex flex-col gap-1`,children:h.map(e=>r?.share?.[e.key]?(0,L.jsxs)(Me,{"data-gtm":`${U.shareClick}-${e.key}`,to:e.href,target:e.key===`mail`?void 0:`_blank`,rel:e.key===`mail`?void 0:`noopener noreferrer`,className:`flex h-[40px] items-center justify-items-start gap-2 rounded p-1 text-sm font-semibold leading-[22px] text-on-surface no-underline hover:bg-surface-muted hover:text-primary hover:no-underline`,onClick:()=>_(e.key),children:[e.icon,(0,L.jsx)(`span`,{className:`ml-1`,children:e.label})]},e.key):(0,L.jsxs)(D,{className:`flex h-[40px] items-center justify-items-start gap-2 rounded border-[#C1CAD5] bg-[#F5F8FB] p-1 text-sm font-semibold leading-[22px] text-on-surface no-underline opacity-50`,onPress:()=>_(e.key),children:[e.icon,(0,L.jsx)(`span`,{className:`ml-1`,children:e.label})]},e.key))})})})]})]})},sg=()=>{let{t:e}=g(),{additionalInformation:t,externalProps:n,favoriteButtonData:r,contentId:i}=z(),{selectedVisualization:a,isMinified:o}=ya(),{uiConfiguration:s,locale:c}=ba(),l=gs(`footer`,`sourceDetails`),u=gs(`footer`,`share`),d=gs(`footer`,`copyData`),f=gs(`footer`,`copyForAI`),p=gs(`footer`,`citationsButton`),m=gs(`footer`,`favoriteButton`)&&!!r?.type&&!!i,h=a===P.TABLE,_=s?.footer?.invertTable?.visible;if(!o)return(0,L.jsxs)(`div`,{role:`group`,"aria-label":e([`CHART_ACTIONS_LABEL`]),className:`flex flex-wrap items-end justify-end gap-2 @4xl/widgetBox:col-span-1`,children:[h&&_&&(0,L.jsx)(eg,{}),l&&(!!n?.customDrawer||Eo(t,n))&&(0,L.jsx)(Xh,{}),m&&(0,L.jsx)(Oh,{contentType:r.type,contentId:i,locale:c,showLabel:!0,variant:`neutral`,className:`border-[#e0e0e0] shadow-[0_2px_4px_rgba(67,94,131,0.15)] [&>span>span]:hidden [@media(min-width:1216px)]:[&>span>span]:inline-grid `,showNotifications:!0,onFavoriteChange:e=>r?.onFavoriteChange?.(e)}),u&&(0,L.jsx)(og,{}),d&&(0,L.jsx)(Jh,{mimeType:`text/plain`}),f&&(0,L.jsx)(Wh,{}),p&&(0,L.jsx)(Qh,{})]})},cg=()=>{let{t:e}=g(),{additionalInformation:t}=z(),{locale:n}=ba(),r=t?.lastContentUpdatedAt;return r?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(`dt`,{className:`pr-1 font-bold`,children:[e(`MOST_RECENT_UPDATE`),`:`]}),(0,L.jsx)(`dd`,{children:new Date(r).toLocaleDateString(n,{month:`short`,day:`numeric`,year:`numeric`})})]}):(0,L.jsx)(L.Fragment,{})},lg=`https://cdn.statcdn.com/Source/`,ug=()=>{let{additionalInformation:e}=z(),t=e?.sourceInfo?.logoInfo;if(!t)return;let n=`${lg}${t.filename}`;return(0,L.jsx)(dg,{src:n,alt:t.description??``,backlink:t.backlink},n)},dg=({src:e,alt:t,backlink:n})=>{let[r,i]=(0,I.useState)(!1);if(r)return;let a=(0,L.jsx)(`img`,{src:e,alt:t,onError:()=>i(!0),className:`mb-2 h-[50px] max-h-[50px] w-auto object-contain`});return n?(0,L.jsx)(`a`,{href:n,target:`_blank`,rel:`noopener noreferrer`,children:a}):a},fg=()=>{let{t:e}=g(),{additionalInformation:t}=z(),{accessConfiguration:n,onPaywallTriggered:r}=ba();if(!t.sourceInfo?.sources)return;let i=n?.sources===!1,a=$e(t);return(0,L.jsx)(L.Fragment,{children:a>0?(0,L.jsx)(L.Fragment,{children:i?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(`dt`,{className:`pr-1 font-bold`,children:[e(`SOURCES`),`:`]}),(0,L.jsx)(`dd`,{children:(0,L.jsx)(Me,{to:`#`,onClick:e=>{e.preventDefault(),r?.(tt.SOURCES)},className:`inline`,children:e(`IPP_SOURCES`)})})]}):(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(`dt`,{className:`pr-1 font-bold`,children:[e(a>1?`SOURCES`:`SOURCE`),`:`]}),(0,L.jsx)(`dd`,{children:t.sourceInfo?.sources?.join(`, `)})]})}):(0,L.jsx)(L.Fragment,{})})},pg=()=>{let{t:e}=g(),{additionalInformation:t}=z();if(t.link)return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(`dt`,{className:`pr-1 font-bold`,children:[e([`ORIGINAL_SOURCE`]),`:`]}),t.linkTree?(0,L.jsx)(`dd`,{children:(0,L.jsx)(mg,{links:t.linkTree})}):(0,L.jsx)(`dd`,{children:(0,L.jsx)(Me,{to:t.link,target:`_blank`,rel:`noopener noreferrer`,"aria-label":e([`ARIA_LABEL_ORIGINAL_SOURCE`]),children:e([`ORIGINAL_SOURCE`])})})]})},mg=({links:e})=>
205{if(e?.length)return(0,L.jsx)(L.Fragment,{children:e.map(({url:t,name:n},r)=>(0,L.jsxs)(I.Fragment,{children:[(0,L.jsx)(Me,{to:t,target:`_blank`,rel:`noopener noreferrer`,children:n}),r<e.length-1&&`, `]},`${t}-${r}`))})},hg=()=>{let{t:e}=g(),{additionalInformation:t,externalProps:n}=z(),{isMinified:r}=ya(),i=gs(`footer`,`sourceLink`),a=gs(`footer`,`sourceInformation`),o=gs(`footer`,`lastUpdated`),s=n?.footer?.externalSources,c=t?.sourceInfo?.logoInfo;return(0,L.jsxs)(`div`,{children:[(0,L.jsx)(`hr`,{className:H(`my-4`,`text-[#e5e5e5]`)}),(0,L.jsx)(`div`,{className:`px-4`,children:c&&(0,L.jsx)(ug,{})}),(0,L.jsxs)(`div`,{className:r?`px-4 @4xl/widgetBox:px-6`:`grid grid-cols-1 items-end gap-4 px-4 text-sm @3xl/widgetBox:grid-cols-[minmax(0,1fr)_minmax(400px,1fr)] @6xl/widgetBox:grid-cols-[minmax(0,1fr)_minmax(660px,1fr)]`,children:[(0,L.jsxs)(`dl`,{className:`grid grid-cols-[max-content_minmax(0,1fr)] gap-1 self-start text-xs`,children:[i&&!r&&(0,L.jsx)(pg,{}),a&&(0,L.jsx)(fg,{}),t?.link&&r&&(0,L.jsx)(pg,{}),!r&&s&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(`dt`,{className:`pr-1 font-bold`,children:[e(`MORE_SOURCES`),`:`]}),(0,L.jsx)(`dd`,{children:s})]}),!r&&o&&(0,L.jsx)(cg,{}),t?.surveyPeriod||t?.specialProperties||t?.surveyType||t?.ageGroup||t?.numberInterviewed||t?.coveredGeos?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(`dt`,{className:`pr-1 font-bold`,children:[e(`SOURCE_DETAILS`),`:`]}),(0,L.jsxs)(`dd`,{className:`min-w-0 break-words`,children:[t?.surveyPeriod&&(0,L.jsxs)(L.Fragment,{children:[t.surveyPeriod,`;\xA0`]}),t?.specialProperties&&(0,L.jsxs)(L.Fragment,{children:[t.specialProperties,`;\xA0`]}),t?.surveyType&&(0,L.jsxs)(L.Fragment,{children:[t.surveyType,`;\xA0`]}),t?.ageGroup&&(0,L.jsxs)(L.Fragment,{children:[t.ageGroup,`;\xA0`]}),t?.numberInterviewed&&(0,L.jsxs)(L.Fragment,{children:[t.numberInterviewed,`;\xA0`]}),t?.coveredGeos&&(0,L.jsxs)(L.Fragment,{children:[_t(t.coveredGeos),`;\xA0`]})]})]}):void 0]}),(0,L.jsx)(sg,{})]})]})};function gg({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,children:(0,L.jsx)(`path`,{stroke:`#455f7c`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M18 9.75h-3.75V6M19.5 4.5l-5.25 5.25M6 14.25h3.75V18M4.5 19.5l5.25-5.25M14.25 18v-3.75H18M19.5 19.5l-5.25-5.25M9.75 6v3.75H6M4.5 4.5l5.25 5.25`})})}function _g({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,children:(0,L.jsx)(`path`,{stroke:`#455f7c`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M15.75 4.5h3.75v3.75M14.25 9.75 19.5 4.5M8.25 19.5H4.5v-3.75M9.75 14.25 4.5 19.5M19.5 15.75v3.75h-3.75M14.25 14.25l5.25 5.25M4.5 8.25V4.5h3.75M9.75 9.75 4.5 4.5`})})}var vg=({isExpanded:e,onPress:t})=>{let{t:n}=g(),{id:r}=z(),{gtmTrackExpandChart:i,gtmTrackMinimizeChart:a}=Ao(r);return(0,L.jsx)(`div`,{className:H(`relative flex items-end justify-center bg-[linear-gradient(180deg,rgba(255,255,255,0)_0%,#FFFFFF_94.8%)] transition-opacity duration-500 mb-2`,e?`mt-4`:`mt-[-100px] h-[100px]`),children:(0,L.jsxs)(j,{"aria-controls":`${ot.expandChartButton}-${r}`,"aria-label":n(e?[`MINIMIZE_CHART`]:[`EXPAND_CHART`]),"data-gtm":e?U.minimizeChart:U.expandChart,className:H(Vo({isDisabled:!1}),Uo,`inline-flex relative bg-background-neutral`),onPress:()=>{e?a():i(),t()},children:[(0,L.jsxs)(`span`,{className:H(`flex items-center gap-inherit transition-opacity duration-200`,e?`opacity-0 absolute`:`opacity-100`),children:[(0,L.jsx)(_g,{className:H(Ho,`mr-2`)}),` `,n([`EXPAND_CHART`])]}),(0,L.jsxs)(`span`,{className:H(`flex items-center gap-inherit transition-opacity duration-200`,e?`opacity-100`:`opacity-0 absolute`),children:[(0,L.jsx)(gg,{className:H(Ho,`mr-2`)}),` `,n([`MINIMIZE_CHART`])]})]})})},yg=(e,t,n)=>{e&&requestAnimationFrame(()=>{t&&n!==void 0&&n<e.scrollHeight&&(e.style.maxHeight=`${n}px`)})},bg=({isChartExpanded:e=!1,computedChartHeight:t})=>{let{additionalInformation:n}=z(),{accessConfiguration:r,onPaywallTriggered:i}=ba(),a=r?.sidebarData??!1;return(0,L.jsx)(`div`,{className:`relative h-auto lg:max-h-full ${e?`@5xl/widgetBox:max-h-full`:`max-h-[320px] @5xl/widgetBox:h-[470px]`}`,children:(0,L.jsx)(`div`,{ref:n=>yg(n,e,t),className:`scrollbar scrollable-vertical max-h-[320px] overflow-y-auto pb-6 @5xl/widgetBox:h-full @5xl/widgetBox:max-h-full @5xl/widgetBox:pb-[50px]`,onClick:e=>
205{e.target.closest(`[data-paywall-trigger='true']`)&&i?.(tt.SIDEBAR_DATA)},role:`presentation`,children:(0,L.jsx)(qe,{className:`text-sm prose-a:underline @3xl/widgetBox:text-base`,content:Ci(n.description,a)})})})},xg=({politeness:e=`polite`})=>{let{liveRegionMessage:t}=xa(),[n,r]=(0,I.useState)(0);return(0,I.useEffect)(()=>{r(e=>e+1)},[t]),(0,L.jsx)(`div`,{role:e===`assertive`?`alert`:`status`,"aria-live":e,"aria-atomic":`true`,className:`sr-only`,children:t},n)},Sg=()=>{let{t:e}=g(),{isModalOpen:t,modalTarget:n}=xa(),{setIsModalOpen:r}=Sa();return(0,L.jsx)(me,{isOpen:t,onClose:()=>r(!1),children:(0,L.jsxs)(ge,{variant:`half`,gap:`small`,className:`border relative block w-full items-center border-t-1 border-primary p-8`,children:[(()=>{switch(n){case it:return(0,L.jsx)(L.Fragment,{children:e([`CONTENTS_COPIED`])});case dt:return(0,L.jsx)(L.Fragment,{children:e([`CONTENTS_COPY_FOR_AI_COPIED`])});default:return(0,L.jsx)(L.Fragment,{})}})(),(0,L.jsx)(j,{"aria-label":e([`ARIA_LABEL_CLOSE`]),onPress:()=>{r(!1)},variant:`outline`,className:`mt-4 block`,children:e([`CLOSE`])})]})})},Cg=(0,I.createContext)(void 0),wg=()=>(0,I.useContext)(Cg),Tg=e=>e.length===1?`single`:e.length===2?`double`:e.length<=3?`triple`:`many`,Eg={"chart-type-switch":{single:`inline`,double:`@xl/widgetBox:inline`,triple:`@7xl/widgetBox:inline`,many:``},"download-drop-down-tooltip":{single:`inline`,double:`@xl/widgetBox`,triple:`@6xl/widgetBox`,many:`@6xl/widgetBox`},"download-drop-down-button-text":{single:`inline`,double:`@xl/widgetBox`,triple:`@6xl/widgetBox`,many:`@6xl/widgetBox`},"download-drop-down-icon":{single:`inline`,double:`@xl/widgetBox:hidden`,triple:`@6xl/widgetBox:hidden`,many:`@6xl/widgetBox:hidden`},"chart-category-filter":{single:`inline`,double:`@xl/widgetBox:inline`,triple:`@6xl/widgetBox:inline`,many:`@6xl/widgetBox:inline`}};function Dg(e,t){let n=Tg(e);return Eg[t][n]}function Og({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 16 16`,width:`16`,height:`16`,children:(0,L.jsx)(`path`,{fill:`currentColor`,fillRule:`evenodd`,d:`M12.707 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 0 1 1.414-1.414L7 9.086l4.293-4.293a1 1 0 0 1 1.414 0z`,clipRule:`evenodd`})})}function kg(e){document.startViewTransition?document.startViewTransition(()=>{e()}):e()}function Ag({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 16 16`,width:`16`,height:`16`,children:(0,L.jsx)(`path`,{fill:`currentColor`,fillRule:`evenodd`,d:`M2 7a5 5 0 0 0 7.757 4.171l2.536 2.536a1 1 0 0 0 1.414-1.414l-2.536-2.536A5 5 0 1 0 2 7zm2.879 2.121A3 3 0 1 1 9.12 4.88 3 3 0 0 1 4.88 9.12z`,clipRule:`evenodd`})})}function jg({className:e}){return(0,L.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 16 16`,width:`16`,height:`16`,className:e,children:(0,L.jsx)(`path`,{fill:`currentColor`,d:`M5.707 4.293a1 1 0 0 0-1.414 1.414L6.586 8l-2.293 2.293a1 1 0 1 0 1.414 1.414L8 9.414l2.293 2.293a1 1 0 0 0 1.414-1.414L9.414 8l2.293-2.293a1 1 0 0 0-1.414-1.414L8 6.586 5.707 4.293z`})})}function Mg({input:e,ref:t,clearValue:n,className:r,label:i}){let a=e.value===void 0,[o,s]=(0,I.useState)(!!(e.value||e.defaultValue));(0,I.useEffect)(()=>{!a&&!e.value&&s(!1)},[e.value,a]);let c=()=>{e.disabled||e.readOnly||(a&&t.current&&(t.current.value=``),n(),s(!1))},l;return o&&(l=(0,L.jsx)(Ng,{className:r,onClick:c,label:i})),{showClearButton:o,setShowClearButton:s,clearButton:l}}var Ng=({className:e,onClick:t,label:n})=>(0,L.jsxs)(`button`,{className:e,onClick:t,children:[(0,L.jsx)(fe,{children:n}),(0,L.jsx)(jg,{className:`text-[#455F7C]`})]}),Pg=(0,I.forwardRef)((e,t)=>{let{iconPosition:n=`left`,className:r,id:i,clearInputLabel:a=`Clear input`,...o}=e,s=(0,I.useRef)(null);(0,I.useImperativeHandle)(t,()=>s.current,[]);let c=pe(e),{inputProps:l}=te(o,c,s),u=o.value===void 0,d=()=>{c.setValue(``),s.current&&(s.current.value=``),o.onClear?.()},{clearButton:f,setShowClearButton:p,showClearButton:m}=Mg({input:{...l,defaultValue:u?o.defaultValue:void 0,value:u?void 0:o.value},ref:s,clearValue:d,label:a,className:To` 206 col-[after-input] 207 row-start-1 208 inline 209 h-full 210 pe-4 211 peer-disabled/input:text-on-surface-muted 212 group-data-[icon-position=right]:pe-2`}),h=e=>{let t=e.target.value;p(!!t),l.onChange?.(e)},g={"data-icon-position":n};return l.disabled&&(g[`data-disabled`]=l.disabled),(0,L.jsxs)(`div`,{className:H(`group 213 grid 214 w-full 215 grid-cols-[[submit-icon]_max-content_1fr_[after-input]_max-content] 216 items-center 217 text-on-surface 218 data-[icon-position=right]:grid-cols-[1fr_[after-input]_max-content_[submit-icon]_max-content] 219 data-[show-search-icon=false]:grid-cols-[1fr_[after-input]_max-content_[submit-icon]_max-content_[submit-button]_max-content]`,r),...g,children:[(0,L.jsx)(`input`,{...l,id:i,"aria-label":e[`aria-label`],type:`search`,ref:s,onChange:h,className:H(`peer/input 220 col-span-full 221 row-start-1 222 ${Mo} 223 border-1 224 border-outline 225 px-10 226 py-2 227 font-normal 228 leading-normal 229 placeholder:text-[#7B94A3] 230 disabled:border-border-disabled 231 disabled:placeholder:text-foreground-muted 232 group-data-[icon-position=right]:pe-16 233 group-data-[icon-position=right]:ps-4 234 group-data-[show-search-icon=false]:pe-[5.5rem] 235 group-data-[show-search-icon=false]:ps-4 236 @xl/widgetBox:group-data-[show-search-icon=false]:pe-[9.5rem] 237 [&[aria-invalid]:focus-visible]:outline-danger-outline 238 [&[aria-invalid]]:border-danger 239 [&[type=search_i]::-webkit-search-cancel-button]:appearance-none 240 [&[type=search_i]::-webkit-search-decoration]:appearance-none`,`focus-visible:rounded-lg focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-primary-focus focus-visible:text-[#0F2741]`,`h-[initial] text-sm text-[#7B94A3]`)}),f,(0,L.jsx)(`div`,{className:`col-[submit-icon] row-start-1 ms-4 peer-disabled/input:text-on-surface-muted group-data-[icon-position=right]:me-4 group-data-[icon-position=right]:ms-[unset]`,children:(0,L.jsx)(Ag,{className:m?`text-[#0666E5]`:`text-[#7B94A3]`})})]})});Pg.displayName=`Search`;function Fg({categoriesList:e,selectedCategories:t,setSelectedCategories:n}){let{t:r}=g(),{id:i}=z(),{setLiveRegionMessage:a}=Sa(),{gtmTrackCategoryFilterChange:o}=Ao(i),s=new Set(t),[c,l]=(0,I.useState)(t.length===e.length),[u,d]=(0,I.useState)(``),f=i=>{let c=s;c.has(i)?(c.delete(i),a?.(r([`LIVE_REGION_CATEGORIE_DESELECTED`],{category:i}))):(c.add(i),a?.(r([`LIVE_REGION_CATEGORIE_SELECTED`],{category:i})));let u=e.filter(e=>c.has(e));kg(()=>{l(u.length===e.length),n(u)}
240),o(t.toLocaleString(),u.toLocaleString())},p=()=>{let i=!c,s=i?e:[];kg(()=>{l(i),n(s)}),o(t.toLocaleString(),s.toLocaleString()),a?.(s.length===e.length?r([`LIVE_REGION_ALL_CATEGORIES_SELECTED`]):r([`LIVE_REGION_ALL_CATEGORIES_DESELECTED`]))},m=(0,I.useMemo)(()=>e.filter(e=>St(e).includes(St(u))),[e,u]),h=t.length===e.length?r([`DESELECT_ALL_CATEGORIES`]):r([`SELECT_ALL_CATEGORIES`]),_=t.length===e.length?r([`ARIA_LABEL_DESELECT_ALL_CATEGORIES`]):r([`ARIA_LABEL_SELECT_ALL_CATEGORIES`]);return(0,L.jsxs)(`div`,{className:`flex flex-col `,children:[(0,L.jsx)(`div`,{className:`h-[56px] overflow-hidden p-2`,children:(0,L.jsx)(j,{size:`sm`,"data-gtm":`${U.categoryFilterChange}-${c?`deselect_all`:`select_all`}`,"aria-label":_,className:H(`w-full`,Vo({isDisabled:!1}),Uo),onPress:p,children:h})}),(0,L.jsx)(Pg,{name:`q`,"aria-label":r([`ARIA_LABEL_FILTER_CATEGORY`]),placeholder:r([`FILTER_CATEGORY`]),iconPosition:`right`,className:`p-2`,value:u,onChange:e=>d(e),onClear:()=>{d(``)}}),(0,L.jsx)(`hr`,{className:`text-[#e5e5e5]`}),(0,L.jsxs)(`div`,{className:`max-h-[200px] overflow-y-auto p-1`,children:[m.length===0&&(0,L.jsx)(`div`,{className:`mx-4 my-2 text-center`,"aria-label":r([`ARIA_LABEL_NO_CATEGORY_FOUND`]),children:r([`NO_CATEGORY_FOUND`])}),(0,L.jsx)(`label`,{className:`sr-only text-base font-semibold`,"aria-label":r([`ARIA_LABEL_CATEGORY_SELECTION`]),children:r([`ARIA_LABEL_CATEGORY_SELECTION`])}),m.map(e=>(0,L.jsx)(Ae,{"data-gtm":`${U.categoryFilterChange}-${e.toLowerCase().replace(/\s/g,`-`)}`,isSelected:s.has(e),onChange:()=>f(e),value:e,"aria-label":Bi(e),className:H(`relative px-2 py-1 justify-items-center rounded-lg hover:bg-[#F5F8FB] text-sm leading-[22px]`,`focus-within:rounded-lg focus-within:outline focus-within:outline-2 focus-within:outline-offset-1 focus-within:outline-primary-focus`),renderCustomElement:({isSelected:e})=>e&&(0,L.jsx)(Og,{className:`absolute right-1 text-primary`})},e))]})]})}function Ig({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 12 12`,width:`12`,height:`12`,children:(0,L.jsx)(`path`,{fill:`currentColor`,fillRule:`evenodd`,d:`M6 9a.5.5 0 0 1-.376-.17l-3.5-4a.5.5 0 1 1 .752-.66L6 7.74l3.124-3.57a.5.5 0 1 1 .752.66l-3.5 4A.5.5 0 0 1 6 9z`,clipRule:`evenodd`})})}function Lg({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 12 12`,width:`12`,height:`12`,children:(0,L.jsx)(`path`,{fill:`currentColor`,fillRule:`evenodd`,d:`M6 3a.5.5 0 0 1 .376.17l3.5 4a.5.5 0 0 1-.752.66L6 4.26 2.876 7.83a.5.5 0 0 1-.752-.66l3.5-4A.5.5 0 0 1 6 3z`,clipRule:`evenodd`})})}function Rg({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 16 16`,width:`16`,height:`16`,children:(0,L.jsx)(`path`,{fill:`currentColor`,d:`M3.5 3a.5.5 0 0 0-.376.829L6.5 7.687V12.5a.5.5 0 0 0 .854.354l2-2A.5.5 0 0 0 9.5 10.5V7.688l3.376-3.858a.5.5 0 0 0-.376-.83h-9z`})})}function zg({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 16 16`,width:`16`,height:`16`,children:(0,L.jsx)(`path`,{fill:`currentColor`,fillRule:`evenodd`,d:`M3.045 3.293A.5.5 0 0 1 3.5 3h9a.5.5 0 0 1 .376.829L9.5 7.687V10.5a.5.5 0 0 1-.146.354l-2 2A.5.5 0 0 1 6.5 12.5V7.687L3.124 3.83a.5.5 0 0 1-.08-.536zM4.602 4l2.774 3.17a.5.5 0 0 1 .124.33v3.792l1-1V7.5a.5.5 0 0 1 .124-.33L11.398 4H4.602z`,clipRule:`evenodd`})})}var Bg=({selectedCategories:e,categoriesList:t,isDisabled:n,isOpen:r,needsAccess:i})=>{let{t:a}=g(),{possibleVisualizations:o}=z(),s=e.length===t.length,c=e.length===1,l=e.length>1&&e.length<t.length,u=s?a([`LABELS_ALL_OPTIONS`]):c?`${e.length} ${a([`ONE_CATEGORY_SELECTED`])}`:`${e.length} ${a([`MULTIPLE_CATEGORIES_SELECTED`])}`,d=e.length>0?`${a([`ARIA_LABEL_CATEGORY_FILTER_BUTTON`])}: ${e.length}/${t.length} ${a([`MULTIPLE_CATEGORIES_SELECTED`])}`:`0 ${a([`MULTIPLE_CATEGORIES_SELECTED`])}`,f=Dg(o,`chart-category-filter`);return(0,L.jsxs)(D,{type:`button`,"data-gtm":U.categoryFilterOpen,className:H(Vo({isDisabled:n}),Uo,No,Po,i&&`text-[#455f7c] bg-[#F5F8FB] opacity-70`,`rounded-[6px]`),"aria-label":d,children:[(0,L.jsxs)(`div`,{className:H(`flex items-center`,Uo),children:[c||l?(0,L.jsx)(Rg,{className:`${Ho} text-primary`}):(0,L.jsx)(zg,{className:`${Ho} group-focus:text-primary`}),(0,L.jsx)(`span`,{className:H(`hidden`,`${f}`),children:u})]}),r?(0,L.jsx)(Lg,{}):(0,L.jsx)(Ig,{})]})},Vg=({categoriesList:e,selectedCategories:t,setSelectedCategories:n,offset:r=8,className:i,onOpenChange:a})=>{let{t:o}=g(),[s,c]=(0,I.useState)(!1),{id:l,possibleVisualizations:u}=z(),{accessConfiguration:d,onPaywallTriggered:f}=ba(),{setLiveRegionMessage:p}=Sa(),{gtmTrackCategoryFilterOpen:m}=Ao(l),h=To`group transition-opacity duration-150 rounded-lg bg-on-primary p-3 shadow [max-width:17.5rem] placement-left:mr-2 placement-right:ml-2 placement-top:mb-2 placement-bottom:mt-2`,_=e.length<=1,v=d?.categoryFilter===!1,y=(0,I.useRef)(null),b=(0,I.useRef)(null);k({ref:y,isDisabled:!s,onInteractOutside:e=>{let t=e.target;!(t instanceof Element)||b.current?.contains(t)||x(!1)}});let x=e=>{if(v){e&&(f?.(tt.CATEGORY_FILTER),p?.(o([`LIVE_REGION_CATEGORY_FILTER_ACCESS_RESTRICTED`])));return}c(e),a?.(e),p?.(o(e?[`LIVE_REGION_CATEGORY_FILTER_OPENED`]:[`LIVE_REGION_CATEGORY_FILTER_CLOSED`])),e&&m()},S=Dg(u,`chart-category-filter`);return(0,L.jsx)(He,{isOpen:s,onOpenChange:x,children:(0,L.jsxs)(`div`,{ref:b,children:[(0,L.jsx)(Fh,{type:`category-filter`,tooltipText:o([`ARIA_LABEL_CATEGORY_SELECTION`]),tooltipVisibilityClassName:S,children:(0,L.jsx)(Bg,{selectedCategories:t,categoriesList:e,isDisabled:_,isOpen:s,needsAccess:v})}),(0,L.jsxs)(Ke,{ref:y,className:H(h,i),placement:`bottom end`,offset:r,isNonModal:!0,shouldCloseOnInteractOutside:e=>!b.current?.contains(e),children:[(0,L.jsx)(T,{className:H(`group transition-opacity duration-150 absolute block rounded-lg fill-on-primary placement-left:mr-2 placement-right:ml-2 placement-top:mb-2 placement-bottom:mt-2`),children:(0,L.jsx)(`svg`,{width:8,height:8,className:H(`block fill-on-primary group-placement-left:-rotate-90 group-placement-right:rotate-90 group-placement-bottom:rotate-180`),children:(0,L.jsx)(`path`,{d:`M0 0,L4 4,L8 0`})})}),(0,L.jsx)(ie,{autoFocus:!0,restoreFocus:!0,children:(0,L.jsx)(Fg,{categoriesList:e,selectedCategories:t,setSelectedCategories:n})})]})]})})};function Hg({className:e}
240){return(0,L.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,className:e,children:[(0,L.jsx)(`path`,{fill:`inherit`,fillRule:`evenodd`,d:`M15 7.5V3.75a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0-.75.75V12H5.25a.75.75 0 0 0-.75.75v4.5c0 .414.336.75.75.75h13.5a.75.75 0 0 0 .75-.75v-9a.75.75 0 0 0-.75-.75zm0 9h3V9h-3zm-1.5-12h-3v12h3zm-7.5 9h3v3H6z`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{fill:`inherit`,d:`M20.25 19.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1 0-1.5z`})]})}function Ug({className:e}){return(0,L.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,className:e,children:[(0,L.jsx)(`path`,{fill:`inherit`,d:`M20.78 7.72a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-.946.094l-3.988-2.66L7.28 14.78a.75.75 0 1 1-1.06-1.06l4.5-4.5a.75.75 0 0 1 .946-.094l3.988 2.659 4.066-4.066a.75.75 0 0 1 1.06 0`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{fill:`inherit`,fillRule:`evenodd`,opacity:`0.6`,d:`M15 7.5V3.75a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0-.75.75V12H5.25a.75.75 0 0 0-.75.75v4.5c0 .414.336.75.75.75h13.5a.75.75 0 0 0 .75-.75v-9a.75.75 0 0 0-.75-.75zm0 9h3V9h-3zm-1.5-12h-3v12h3zm-7.5 9h3v3H6z`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{fill:`inherit`,d:`M20.25 19.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1 0-1.5z`})]})}function Wg({className:e}){return(0,L.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,className:e,children:[(0,L.jsx)(`path`,{fill:`inherit`,fillRule:`evenodd`,d:`M3.75 3a.75.75 0 0 1 .75.75V19.5h15.75a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{fill:`inherit`,fillRule:`evenodd`,d:`M20.78 7.72a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-.946.094l-3.988-2.66L7.28 14.78a.75.75 0 1 1-1.06-1.06l4.5-4.5a.75.75 0 0 1 .946-.094l3.988 2.659 4.066-4.066a.75.75 0 0 1 1.06 0`,clipRule:`evenodd`})]})}function Gg({className:e}){return(0,L.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,className:e,children:(0,L.jsx)(`path`,{d:`M12.0004 2.24951C6.61559 2.24951 2.25037 6.61474 2.25037 11.9995C2.25037 17.3843 6.61559 21.7495 12.0004 21.7495C17.3851 21.7495 21.7504 17.3843 21.7504 11.9995C21.7504 6.61474 17.3851 2.24951 12.0004 2.24951ZM12.7504 3.78314V10.6748L18.6599 7.12895C17.2976 5.26942 15.1753 4.00166 12.7504 3.78314ZM19.4328 8.41448L12.3863 12.6426C12.1546 12.7816 11.866 12.7853 11.6308 12.6522C11.3957 12.519 11.2504 12.2697 11.2504 11.9995V3.78314C7.04549 4.16207 3.75037 7.69598 3.75037 11.9995C3.75037 16.5559 7.44402 20.2495 12.0004 20.2495C16.5567 20.2495 20.2504 16.5559 20.2504 11.9995C20.2504 10.7148 19.9567 9.49859 19.4328 8.41448Z`,fill:`inherit`,fillRule:`evenodd`,clipRule:`evenodd`})})}function Kg({className:e}){return(0,L.jsxs)(`svg`,{width:`24`,height:`24`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:e,children:[(0,L.jsx)(`path`,{d:`M14.5 14C14.7761 14 15 14.2239 15 14.5C15 14.7761 14.7761 15 14.5 15H1.5C1.22386 15 1 14.7761 1 14.5C1 14.2239 1.22386 14 1.5 14H14.5Z`,fill:`inherit`}),(0,L.jsx)(`path`,{fill:`inherit`,fillOpacity:`0.8`,d:`M2.5 13V11.1L4.8 10.6L6.9 11L9.2 10.1L12.3 10.8V13H2.5Z`}),(0,L.jsx)(`path`,{d:`M2.5 11.1L4.8 10.6L6.9 11L9.2 10.1L12.3 10.8`,stroke:`white`,strokeWidth:`1`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,L.jsx)(`path`,{fill:`inherit`,fillOpacity:`0.55`,d:`M2.5 11.1V9L4.6 8.3L7.1 8.9L9.4 8L12.6 8.6V11.1L12.3 10.8L9.2 10.1L6.9 11L4.8 10.6L2.5 11.1Z`}),(0,L.jsx)(`path`,{d:`M2.5 9L4.6 8.3L7.1 8.9L9.4 8L12.6 8.6`,stroke:`white`,strokeWidth:`1`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,L.jsx)(`path`,{fill:`inherit`,fillOpacity:`0.35`,d:`M2.5 9V7L4.4 6.4L7 7.2L9.5 6.2L12.9 6.8V9L12.6 8.6L9.4 8L7.1 8.9L4.6 8.3L2.5 9Z`})]})}function qg({className:e}){return(0,L.jsxs)(`svg`,{width:`24`,height:`24`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:e,children:[(0,L.jsx)(`path`,{d:`M14.5 14C14.7761 14 15 14.2239 15 14.5C15 14.7761 14.7761 15 14.5 15H1.5C1.22386 15 1 14.7761 1 14.5C1 14.2239 1.22386 14 1.5 14H14.5Z`,fill:`inherit`}),(0,L.jsx)(`path`,{fill:`inherit`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M6.5 7C6.63261 7 6.75975 7.05272 6.85352 7.14648C6.94728 7.24025 7 7.36739 7 7.5V12.5C7 12.6326 6.94728 12.7597 6.85352 12.8535C6.75975 12.9473 6.63261 13 6.5 13H3.5C3.36739 13 3.24025 12.9473 3.14648 12.8535C3.05272 12.7597 3 12.6326 3 12.5V7.5C3 7.36739 3.05272 7.24025 3.14648 7.14648C3.24025 7.05272 3.36739 7 3.5 7H6.5ZM4 12H6V11H4V12ZM4 10H6V8H4V10Z`}),(0,L.jsx)(`path`,{fill:`inherit`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M12.5 3C12.6326 3 12.7597 3.05272 12.8535 3.14648C12.9473 3.24025 13 3.36739 13 3.5V12.5C13 12.6326 12.9473 12.7597 12.8535 12.8535C12.7597 12.9473 12.6326 13 12.5 13H9.5C9.36739 13 9.24025 12.9473 9.14648 12.8535C9.05272 12.7597 9 12.6326 9 12.5V3.5C9 3.36739 9.05272 3.24025 9.14648 3.14648C9.24025 3.05272 9.36739 3 9.5 3H12.5ZM10 12H12V8H10V12ZM10 7H12V4H10V7Z`})]})}function Jg({className:e}
240){return(0,L.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,className:e,children:(0,L.jsx)(`path`,{fill:`inherit`,fillRule:`evenodd`,d:`M3.75 4.5a.75.75 0 0 0-.75.75v13.5c0 .414.336.75.75.75h16.5a.75.75 0 0 0 .75-.75V5.25a.75.75 0 0 0-.75-.75zm.75 9v-3H9v3zm0 1.5v3H9v-3zm6 0v3h9v-3zm9-1.5v-3h-9v3zm0-4.5h-15V6h15z`,clipRule:`evenodd`})})}var Yg={line:{name:`line`,icon:`16-bold-chart-line-alt`,tooltip:`CHART_TYPE_TOOLTIP_LINE`,ariaLabel:`CHART_TYPE_TOOLTIP_LINE_ARIA_LABEL`},table:{name:`table`,icon:`16-fill-chart-table-normal`,tooltip:`CHART_TYPE_TOOLTIP_TABLE`,ariaLabel:`CHART_TYPE_TOOLTIP_TABLE_ARIA_LABEL`},column:{name:`column`,icon:`16-fill-chart-bar-ver-alt`,tooltip:`CHART_TYPE_TOOLTIP_COLUMN`,ariaLabel:`CHART_TYPE_TOOLTIP_COLUMN_ARIA_LABEL`},bar:{name:`bar`,icon:`16-fill-chart-bar-horizontal-alt`,tooltip:`CHART_TYPE_TOOLTIP_BAR`,ariaLabel:`CHART_TYPE_TOOLTIP_BAR_ARIA_LABEL`},stackedColumn:{name:`stackedColumn`,icon:`16-fill-chart-bar-stack-alt`,tooltip:`CHART_TYPE_TOOLTIP_STACKED_COLUMN`,ariaLabel:`CHART_TYPE_TOOLTIP_STACKED_COLUMN_ARIA_LABEL`},stackedBar:{name:`stackedBar`,icon:`16-fill-chart-bar-stack-horizontal-alt`,tooltip:`CHART_TYPE_TOOLTIP_STACKED_BAR`,ariaLabel:`CHART_TYPE_TOOLTIP_STACKED_BAR_ARIA_LABEL`},pie:{name:`pie`,icon:`16-fill-chart-pie-alt`,tooltip:`CHART_TYPE_TOOLTIP_PIE`,ariaLabel:`CHART_TYPE_TOOLTIP_PIE_ARIA_LABEL`},stackedArea:{name:`stackedArea`,icon:`16-fill-chart-bar-stack-horizontal-alt`,tooltip:`CHART_TYPE_TOOLTIP_STACKED_AREA`,ariaLabel:`CHART_TYPE_TOOLTIP_STACKED_AREA_ARIA_LABEL`},lineZoomable:{name:`lineZoomable`,icon:`16-bold-chart-line-alt`,tooltip:`CHART_TYPE_TOOLTIP_LINE_ZOOMABLE`,ariaLabel:`CHART_TYPE_TOOLTIP_LINE_ZOOMABLE_ARIA_LABEL`},columnZoomable:{name:`columnZoomable`,icon:`16-fill-chart-bar-ver-alt`,tooltip:`CHART_TYPE_TOOLTIP_COLUMN_ZOOMABLE`,ariaLabel:`CHART_TYPE_TOOLTIP_COLUMN_ZOOMABLE_ARIA_LABEL`},dualYAxis:{name:`dualYAxis`,icon:`16-fill-chart-bar-stack-horizontal-alt`,tooltip:`CHART_TYPE_TOOLTIP_DUAL_Y_AXIS`,ariaLabel:`CHART_TYPE_TOOLTIP_DUAL_Y_AXIS_ARIA_LABEL`},lineWithAnnotations:{name:`lineWithAnnotations`,icon:`16-bold-chart-line-alt`,tooltip:`CHART_TYPE_TOOLTIP_LINE_WITH_ANNOTATIONS`,ariaLabel:`CHART_TYPE_TOOLTIP_LINE_WITH_ANNOTATIONS_ARIA_LABEL`},columnWithAnnotations:{name:`columnWithAnnotations`,icon:`16-fill-chart-bar-ver-alt`,tooltip:`CHART_TYPE_TOOLTIP_COLUMN_WITH_ANNOTATIONS`,ariaLabel:`CHART_TYPE_TOOLTIP_COLUMN_WITH_ANNOTATIONS_ARIA_LABEL`}},Xg=()=>{let{id:e,possibleVisualizations:t,categories:n}=z(),{selectedVisualization:r,isMinified:i,selectedCategories:a}=ya(),{setSelectedVisualization:o,setLiveRegionMessage:s}=Sa(),{accessConfiguration:c,onPaywallTriggered:l}=ba(),{t:u}=g(),{gtmTrackChartTypeSwitch:d}=Ao(e),f=a.length===n.length?`unfiltered`:`filtered`,p=c?.chartTypeSwitch===!1,m=e=>{if(p){l?.(tt.CHART_TYPE_SWITCH);return}kg(()=>o(e)),d(e,r,f),s(u([`LIVE_REGION_SWITCH_CHART_TYPE_MESSAGE`],{chartType:u([`TYPE_${e.toUpperCase()}`])}))},h=Dg(t,`chart-type-switch`);return(0,L.jsxs)(`fieldset`,{className:H(p&&`text-[#455f7c] bg-[#F5F8FB] opacity-70`),children:[(0,L.jsx)(`legend`,{className:`sr-only`,children:u([`SWITCH_CHART_TYPE_LABEL`])}),t.length>0?(0,L.jsx)(`div`,{className:Ko(),children:t.map(e=>{let t=r===e,n=Yg[e];return n?(0,L.jsx)(Fh,{type:e,tooltipText:u([`${n.tooltip.toUpperCase()}`]),tooltipVisibilityClassName:h,children:(0,L.jsx)(D,{"data-gtm":`${U.chartTypeSwitch}-${e}-${f}`,onPress:()=>m(e),"aria-pressed":t,className:H(Yo()),"aria-label":u([`${n.ariaLabel.toUpperCase()}`]),children:(0,L.jsxs)(`div`,{className:H(Xo,p?Qo:t?Zo:``),children:[(n.name===`line`||n.name===`lineZoomable`||n.name===`lineWithAnnotations`)&&(0,L.jsx)(Wg,{className:H(`fill-on-surface-strong group-hover:fill-primary group-focus-visible:fill-primary`,t&&!p&&`fill-primary`)}),(n.name===`column`||n.name===`columnZoomable`||n.name===`columnWithAnnotations`)&&(0,L.jsx)(Hg,{className:H(`fill-on-surface-strong group-hover:fill-primary group-focus-visible:fill-primary`,t&&!p&&`fill-primary`)}),n.name===`table`&&(0,L.jsx)(Jg,{className:H(`fill-on-surface-strong group-hover:fill-primary group-focus-visible:fill-primary`,t&&!p&&`fill-primary`)}),n.name===`stackedColumn`&&(0,L.jsx)(qg,{className:H(`fill-on-surface-strong group-hover:fill-primary group-focus-visible:fill-primary`,t&&!p&&`fill-primary`)}),n.name===`bar`&&(0,L.jsx)(Hg,{className:H(`fill-on-surface-strong group-hover:fill-primary group-focus-visible:fill-primary`,t&&!p&&`fill-primary`,`rotate-90`)}),n.name===`stackedBar`&&(0,L.jsx)(qg,{className:H(`fill-on-surface-strong group-hover:fill-primary group-focus-visible:fill-primary`,t&&!p&&`fill-primary`,`rotate-90`)}),n.name===`pie`&&(0,L.jsx)(Gg,{className:H(`fill-on-surface-strong group-hover:fill-primary group-focus-visible:fill-primary`,t&&!p&&`fill-primary`)}),n.name===`stackedArea`&&(0,L.jsx)(Kg,{className:H(`fill-on-surface-strong group-hover:fill-primary group-focus-visible:fill-primary`,t&&!p&&`fill-primary`)}),n.name===`dualYAxis`&&(0,L.jsx)(Ug,{className:H(`fill-on-surface-strong group-hover:fill-primary group-focus-visible:fill-primary`,t&&!p&&`fill-primary`)}),(0,L.jsx)(`span`,{className:H(`hidden`,h),children:!i&&u([`TYPE_${e.toUpperCase()}`])})]})})},e):void 0})}):(0,L.jsx)(`div`,{children:`\xA0`})]})},Zg=()=>{let{categories:e}=z(),{selectedCategories:t}=ya(),{setSelectedCategories:n}=Sa(),r=wg(),i=gs(`chart`,`chartTypeSwitch`),a=gs(`chart`,`categoryFilter`),o=gs(`chart`,`download`);return(0,L.jsxs)(`div`,{className:`mb-6 flex w-full min-w-0 items-center justify-between gap-4 py-1 @container/font`,children:[(0,L.jsx)(`div`,{className:`flex h-[40px] min-w-0 items-center`,children:i?(0,L.jsx)(Xg,{}):(0,L.jsx)(`div`,{children:`\xA0`})}),(0,L.jsxs)(`div`,{className:`flex shrink-0 items-center justify-end`,children:[a&&(0,L.jsx)(Vg,{categoriesList:e,selectedCategories:t,setSelectedCategories:n,className:`overflow-hidden p-0`,offset:8}),o&&r&&(0,L.jsx)(r,{})]})]})},Qg=()=>{let{additionalInformation:e}=z(),{isMinified:t,selectedVisualization:n}=ya(),[r,i]=(0,I.useState)(!1),[a,o]=(0,I.useState)(void 0),[s,c]=(0,I.useState)(!1),l=(0,I.useRef)(null),u=gs(`chart`,`supportText`),d=gs(`header`,`container`),f=gs(`footer`,`container`),p=gs(`footer`,`reportLink`),m=u&&!!e?.description,h=n===`table`;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(ar,{trailingContent:p&&(0,L.jsx)(ir,{}),children:[(0,L.jsx)(`div`,{ref:l}),(0,L.jsx)(ps,{}),d&&(0,L.jsx)(ks,{}),t?(0,L.jsx)(`div`,{className:`mt-6 px-4 @xl/widgetBox:px-6`,children:(0,L.jsx)(Ds,{onExpandCollapse:({isExpanded:e})=>{e!==void 0&&i(e)}})}):(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)(`div`,{className:H(m?`grid gap-4 px-2 @xl/widgetBox:gap-8 @xl/widgetBox:px-4 @5xl/widgetBox:grid-cols-[minmax(0,2fr)_minmax(0,1fr)]`:`gap-4 px-2 @xl/widgetBox:gap-8 @xl/widgetBox:px-4`),children:[(0,L.jsxs)(`div`,{className:`min-w-0 overflow-auto`,children:[(0,L.jsx)(Zg,{}),(0,L.jsx)(Ds,{onExpandCollapse:({isExpanded:e,height:t})=>{e!==void 0&&i(e),t!==void 0&&o(t)},isExpanded:r,onShowExpandButtonChange:c}),s&&!h&&(0,L.jsx)(vg,{isExpanded:r,onPress:()=>{i(e=>!e),r&&l.current&&hs(l.current,1e3)}})]}),m&&(0,L.jsx)(`div`,{className:`min-w-0`,children:(0,L.jsx)(bg,{isChartExpanded:r,computedChartHeight:a})})]})}),f&&(0,L.jsx)(hg,{})]}),(0,L.jsxs)(`div`,{className:`hidden`,children:[(0,L.jsx)(Sg,{}),(0,L.jsx)(xg,{})]})]})},$g=class extends I.Component{state={hasError:!1,errorMessage:``};static getDerivedStateFromError(e){return{hasError:!0,errorMessage:e instanceof Error?e.message:String(e)}}render(){return this.state.hasError?this.props.renderFallback?.(this.props.fallbackMessage)??(0,L.jsx)(e_,{fallbackMessage:this.props.fallbackMessage}):this.props.children}},e_=({fallbackMessage:e})=>(0,L.jsx)(`div`,{className:`${mt} flex items-center justify-center`,children:(0,L.jsx)(`div`,{className:`flex h-full flex-col items-center justify-center gap-1 p-6 text-sm ${Ze}`,children:(0,L.jsx)(`span`,{className:`whitespace-pre-line text-center`,children:e})})}),t_=({children:e,renderFallback:t})=>{let{t:n}=g();return(0,L.jsx)($g,{fallbackMessage:n([`UNABLE_TO_RENDER_CHART`]),renderFallback:t,children:e})},n_=({globalChartId:e,children:t})=>{let n=(0,I.useRef)(null);return(0,L.jsx)(`div`,{ref:n,className:`relative w-full min-w-0 @container/widgetBox`,"data-dataviz-version":`3.6.0`,"data-global-chart-id":e??void 0,children:(0,L.jsx)(Ph.Provider,{value:n,children:t})})},r_=({...e})=>(0,L.jsx)(M,{icon:yi,children:(0,L.jsx)(Cs,{children:(0,L.jsx)(wa,{value:Ta({...e,globalChartData:e.globalChartData}),children:(0,L.jsx)(Qg,{})})})}),i_=({skeletonData:e,...t})=>{let[n,r]=(0,I.useState)(!1),i=fi(t,!1),a=!t.globalChartData||!n,o=t.uiConfiguration?.footer?.reportLink?.visible!==!1;return(0,I.useEffect)(()=>{r(!0)},[]),(0,L.jsx)(n_,{globalChartId:t.globalChartData?.id,"aria-busy":a,"aria-live":`polite`,children:a?(0,L.jsx)(wi,{uiConfiguration:t.uiConfiguration,isMinified:t.isMinified,minHeight:i,title:t.globalChartData?.additionalInformation?.title??e?.title,subtitle:t.globalChartData?.additionalInformation?.subt
vendor: 4,627 bytes, line 240
240itle??e?.subtitle,description:t.globalChartData?.additionalInformation?.description??e?.description}):(0,L.jsx)(oi,{locale:t.locale,children:(0,L.jsx)(t_,{renderFallback:e=>(0,L.jsx)(ar,{minHeight:i,trailingContent:o&&(0,L.jsx)(ir,{}),children:(0,L.jsx)(e_,{fallbackMessage:e})}),children:(0,L.jsx)(r_,{...t})})})})},a_=`-`,o_=e=>{let t=u_(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{let n=e.split(a_);return n[0]===``&&n.length!==1&&n.shift(),s_(n,t)||l_(e)},getConflictingClassGroupIds:(e,t)=>{let i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},s_=(e,t)=>{if(e.length===0)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?s_(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let a=e.join(a_);return t.validators.find(({validator:e})=>e(a))?.classGroupId},c_=/^\[(.+)\]$/,l_=e=>{if(c_.test(e)){let t=c_.exec(e)[1],n=t?.substring(0,t.indexOf(`:`));if(n)return`arbitrary..`+n}},u_=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return m_(Object.entries(e.classGroups),n).forEach(([e,n])=>{d_(n,r,e,t)}),r},d_=(e,t,n,r)=>{e.forEach(e=>{if(typeof e==`string`){let r=e===``?t:f_(t,e);r.classGroupId=n;return}if(typeof e==`function`){if(p_(e)){d_(e(r),t,n,r);return}t.validators.push({validator:e,classGroupId:n});return}Object.entries(e).forEach(([e,i])=>{d_(i,f_(t,e),n,r)})})},f_=(e,t)=>{let n=e;return t.split(a_).forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},p_=e=>e.isThemeGetter,m_=(e,t)=>t?e.map(([e,n])=>[e,n.map(e=>typeof e==`string`?t+e:typeof e==`object`?Object.fromEntries(Object.entries(e).map(([e,n])=>[t+e,n])):e)]):e,h_=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map,i=(i,a)=>{n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);if(t!==void 0)return t;if((t=r.get(e))!==void 0)return i(e,t),t},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},g_=`!`,__=e=>{let{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],a=t.length,o=e=>{let n=[],o=0,s=0,c;for(let l=0;l<e.length;l++){let u=e[l];if(o===0){if(u===i&&(r||e.slice(l,l+a)===t)){n.push(e.slice(s,l)),s=l+a;continue}if(u===`/`){c=l;continue}}u===`[`?o++:u===`]`&&o--}let l=n.length===0?e:e.substring(s),u=l.startsWith(g_);return{modifiers:n,hasImportantModifier:u,baseClassName:u?l.substring(1):l,maybePostfixModifierPosition:c&&c>s?c-s:void 0}};return n?e=>n({className:e,parseClassName:o}):o},v_=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(e=>{e[0]===`[`?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t},y_=e=>({cache:h_(e.cacheSize),parseClassName:__(e),...o_(e)}),b_=/\s+/,x_=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],o=e.trim().split(b_),s=``;for(let e=o.length-1;e>=0;--e){let t=o[e],{modifiers:c,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:d}=n(t),f=!!d,p=r(f?u.substring(0,d):u);if(!p){if(!f){s=t+(s.length>0?` `+s:s);continue}if(p=r(u),!p){s=t+(s.length>0?` `+s:s);continue}f=!1}let m=v_(c).join(`:`),h=l?m+g_:m,g=h+p;if(a.includes(g))continue;a.push(g);let _=i(p,f);for(let e=0;e<_.length;++e){let t=_[e];a.push(h+t)}s=t+(s.length>0?` `+s:s)}return s};function S_(){let e=0,t,n,r=``;for(;e<arguments.length;)(t=arguments[e++])&&(n=C_(t))&&(r&&(r+=` `),r+=n);return r}var C_=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=C_(e[r]))&&(n&&(n+=` `),n+=t);return n};function w_(e,...t){let n,r,i,a=o;function o(o){return n=y_(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)}function s(e){let t=r(e);if(t)return t;let a=x_(e,n);return i(e,a),a}return function(){return a(S_.apply(null,arguments))}}var Y=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},T_=/^\[(?:([a-z-]+):)?(.+)\]$/i,E_=/^\d+\/\d+$/,D_=new Set([`px`,`full`,`screen`]),O_=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,k_=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,A_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,j_=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,M_=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N_=e=>F_(e)||D_.has(e)||E_.test(e),P_=e=>q_(e,`length`,J_),F_=e=>!!e&&!Number.isNaN(Number(e)),I_=e=>q_(e,`number`,F_),L_=e=>!!e&&Number.isInteger(Number(e)),R_=e=>e.endsWith(`%`)&&F_(e.slice(0,-1)),X=e=>T_.test(e),z_=e=>O_.test(e),B_=new Set([`length`,`size`,`percentage`]),V_=e=>q_(e,B_,Y_),H_=e=>q_(e,`position`,Y_),U_=new Set([`image`,`url`]),W_=e=>q_(e,U_,Z_),G_=e=>q_(e,``,X_),K_=()=>
vendor: 7,719 bytes, line 240
240!0,q_=(e,t,n)=>{let r=T_.exec(e);return r?r[1]?typeof t==`string`?r[1]===t:t.has(r[1]):n(r[2]):!1},J_=e=>k_.test(e)&&!A_.test(e),Y_=()=>!1,X_=e=>j_.test(e),Z_=e=>M_.test(e),Q_=()=>{let e=Y(`colors`),t=Y(`spacing`),n=Y(`blur`),r=Y(`brightness`),i=Y(`borderColor`),a=Y(`borderRadius`),o=Y(`borderSpacing`),s=Y(`borderWidth`),c=Y(`contrast`),l=Y(`grayscale`),u=Y(`hueRotate`),d=Y(`invert`),f=Y(`gap`),p=Y(`gradientColorStops`),m=Y(`gradientColorStopPositions`),h=Y(`inset`),g=Y(`margin`),_=Y(`opacity`),v=Y(`padding`),y=Y(`saturate`),b=Y(`scale`),x=Y(`sepia`),S=Y(`skew`),C=Y(`space`),w=Y(`translate`),T=()=>[`auto`,`contain`,`none`],E=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],D=()=>[`auto`,X,t],O=()=>[X,t],ee=()=>[``,N_,P_],k=()=>[`auto`,F_,X],te=()=>[`bottom`,`center`,`left`,`left-bottom`,`left-top`,`right`,`right-bottom`,`right-top`,`top`],A=()=>[`solid`,`dashed`,`dotted`,`double`,`none`],ne=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],j=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`],M=()=>[``,`0`,X],re=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],N=()=>[F_,X];return{cacheSize:500,separator:`:`,theme:{colors:[K_],spacing:[N_,P_],blur:[`none`,``,z_,X],brightness:N(),borderColor:[e],borderRadius:[`none`,``,`full`,z_,X],borderSpacing:O(),borderWidth:ee(),contrast:N(),grayscale:M(),hueRotate:N(),invert:M(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[R_,P_],inset:D(),margin:D(),opacity:N(),padding:O(),saturate:N(),scale:N(),sepia:M(),skew:N(),space:O(),translate:O()},classGroups:{aspect:[{aspect:[`auto`,`square`,`video`,X]}],container:[`container`],columns:[{columns:[z_]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:[...te(),X]}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[`auto`,L_,X]}],basis:[{basis:D()}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`wrap`,`wrap-reverse`,`nowrap`]}],flex:[{flex:[`1`,`auto`,`initial`,`none`,X]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:[`first`,`last`,`none`,L_,X]}],"grid-cols":[{"grid-cols":[K_]}],"col-start-end":[{col:[`auto`,{span:[`full`,L_,X]},X]}],"col-start":[{"col-start":k()}],"col-end":[{"col-end":k()}],"grid-rows":[{"grid-rows":[K_]}],"row-start-end":[{row:[`auto`,{span:[L_,X]},X]}],"row-start":[{"row-start":k()}],"row-end":[{"row-end":k()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":[`auto`,`min`,`max`,`fr`,X]}],"auto-rows":[{"auto-rows":[`auto`,`min`,`max`,`fr`,X]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:[`normal`,...j()]}],"justify-items":[{"justify-items":[`start`,`end`,`center`,`stretch`]}],"justify-self":[{"justify-self":[`auto`,`start`,`end`,`center`,`stretch`]}],"align-content":[{content:[`normal`,...j(),`baseline`]}],"align-items":[{items:[`start`,`end`,`center`,`baseline`,`stretch`]}],"align-self":[{self:[`auto`,`start`,`end`,`center`,`stretch`,`baseline`]}],"place-content":[{"place-content":[...j(),`baseline`]}],"place-items":[{"place-items":[`start`,`end`,`center`,`baseline`,`stretch`]}],"place-self":[{"place-self":[`auto`,`start`,`end`,`center`,`stretch`]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[C]}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":[C]}],"space-y-reverse":[`space-y-reverse`],w:[{w:[`auto`,`min`,`max`,`fit`,`svw`,`lvw`,`dvw`,X,t]}],"min-w":[{"min-w":[X,t,`min`,`max`,`fit`]}],"max-w":[{"max-w":[X,t,`none`,`full`,`min`,`max`,`fit`,`prose`,{screen:[z_]},z_]}],h:[{h:[X,t,`auto`,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],"min-h":[{"min-h":[X,t,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],"max-h":[{"max-h":[X,t,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],size:[{size:[X,t,`auto`,`min`,`max`,`fit`]}],"font-size":[{text:[`base`,z_,P_]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`,I_]}],"font-family":[{font:[K_]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`,X]}],"line-clamp":[{"line-clamp":[`none`,F_,I_]}],leading:[{leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`,N_,X]}],"list-image":[{"list-image":[`none`,X]}],"list-style-type":[{list:[`none`,`disc`,`decimal`,X]}],"list-style-position":[{list:[`inside`,`outside`]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...A(),`wavy`]}],"text-decoration-thickness":[{decoration:[`auto`,`from-font`,N_,P_]}],"underline-offset":[{"underline-offset":[`auto`,N_,X]}],"text-decoration-color":[{decoration:[e]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:O()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,X]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,X]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:[...te(),H_]}],"bg-repeat":[{bg:[`no-repeat`,{repeat:[``,`x`,`y`,`round`,`space`]}]}],"bg-size":[{bg:[`auto`,`cover`,`contain`,V_]}],"bg-image":[{bg:[`none`,{"gradient-to":[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},W_]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}
vendor: 4,218 bytes, line 240
240],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...A(),`hidden`]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":[`divide-y-reverse`],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:A()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[``,...A()]}],"outline-offset":[{"outline-offset":[N_,X]}],"outline-w":[{outline:[N_,P_]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ee()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[N_,P_]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:[``,`inner`,`none`,z_,G_]}],"shadow-color":[{shadow:[K_]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":[...ne(),`plus-lighter`,`plus-darker`]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:[``,`none`]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":[``,`none`,z_,X]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":[``,`none`]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[`none`,`all`,``,`colors`,`opacity`,`shadow`,`transform`,X]}],duration:[{duration:N()}],ease:[{ease:[`linear`,`in`,`out`,`in-out`,X]}],delay:[{delay:N()}],animate:[{animate:[`none`,`spin`,`ping`,`pulse`,`bounce`,X]}],transform:[{transform:[``,`gpu`,`none`]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[L_,X]}],"translate-x":[{"translate-x":[w]}],"translate-y":[{"translate-y":[w]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:[`center`,`top`,`top-right`,`right`,`bottom-right`,`bottom`,`bottom-left`,`left`,`top-left`,X]}],accent:[{accent:[`auto`,e]}],appearance:[{appearance:[`none`,`auto`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom
240-in`,`zoom-out`,X]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":[`none`,`auto`]}],resize:[{resize:[`none`,`y`,`x`,``]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,X]}],fill:[{fill:[e,`none`]}],"stroke-w":[{stroke:[N_,P_,I_]}],stroke:[{stroke:[e,`none`]}],sr:[`sr-only`,`not-sr-only`],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-s`,`border-w-e`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-s`,`border-color-e`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]}}},$_=(e,{cacheSize:t,prefix:n,separator:r,experimentalParseClassName:i,extend:a={},override:o={}})=>{ev(e,`cacheSize`,t),ev(e,`prefix`,n),ev(e,`separator`,r),ev(e,`experimentalParseClassName`,i);for(let t in o)tv(e[t],o[t]);for(let t in a)nv(e[t],a[t]);return e},ev=(e,t,n)=>{n!==void 0&&(e[t]=n)},tv=(e,t)=>{if(t)for(let n in t)ev(e,n,t[n])},nv=(e,t)=>{if(t)for(let n in t){let r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}},rv=((e,...t)=>typeof e==`function`?w_(Q_,e,...t):w_(()=>$_(Q_(),e),...t))({override:{classGroups:{z:[`deep:`,`default`,`fixed`,`sticky`,`tooltip`,`dialog`,`dropdown`,`overlay`,`modal`,`spinner`]}},extend:{classGroups:{"font-size":[`text-fluid-xs`,`text-fluid-sm`,`text-fluid-md`,`text-fluid-lg`,`text-fluid-xl`,`text-fluid-2xl`]}}});function iv(e,t){let n=(e??``).toString();return n.includes(t)||n.includes(`"`)||n.includes(` 241`)||n.includes(`\r`)?`"${n.replace(/"/g,`""`)}"`:n}function av(e,t){if(!e)return``;let n=t===`de`?`;`:`,`;return[e.labels.map(e=>iv(e,n)).join(n),...e.rows.map(t=>e.labels.map((e,r)=>iv(t[r],n)).join(n))].join(` 242`)}var ov=`Statista`,sv={TABLE:`table`,COLUMN:`column`,LINE:`line`,BAR:`bar`,STACKED_BAR:`stackedBar`,STACKED_COLUMN:`stackedColumn`,PIE:`pie`,LINE_ZOOMABLE:`lineZoomable`,LINE_WITH_ANNOTATIONS:`lineWithAnnotations`,COLUMN_WITH_ANNOTATIONS:`columnWithAnnotations`,COLUMN_ZOOMABLE:`columnZoomable`,DUAL_Y_AXIS:`dualYAxis`,STACKEDAREA:`stackedArea`},cv=1e3,lv=`18px`,uv=`bold`,dv=`#000000`,fv=`center`,pv=`normal`,mv={fontSize:`12px`,fontWeight:`light`,color:`grey`,width:200},hv={CSV:{extension:`csv`,label:`DOWNLOAD_LABEL_CSV`,ariaLabel:`ARIA_LABEL_DOWNLOAD_LABEL_CSV`},SVG:{extension:`svg`,label:`DOWNLOAD_LABEL_SVG`,ariaLabel:`ARIA_LABEL_DOWNLOAD_LABEL_SVG`},PNG:{extension:`png`,label:`DOWNLOAD_LABEL_PNG`,ariaLabel:`ARIA_LABEL_DOWNLOAD_LABEL_PNG`},PDF:{extension:`pdf`,label:`DOWNLOAD_LABEL_PDF`,ariaLabel:`ARIA_LABEL_DOWNLOAD_LABEL_PDF`},XLSX:{extension:`xlsx`,label:`DOWNLOAD_LABEL_XLSX`,ariaLabel:`ARIA_LABEL_DOWNLOAD_LABEL_XLSX`},PPT:{extension:`ppt`,label:`DOWNLOAD_LABEL_PPT`,ariaLabel:`ARIA_LABEL_DOWNLOAD_LABEL_PPT`}},gv={DOWNLOAD:`DOWNLOAD`,SOURCE_DETAILS:`SOURCE_DETAILS`,SOURCES:`SOURCES`,CITATIONS:`CITATIONS`,COPY_DATA:`COPY_DATA`,COPY_FOR_AI:`COPY_FOR_AI`,CHART_TYPE_SWITCH:`CHART_TYPE_SWITCH`,CATEGORY_FILTER:`CATEGORY_FILTER`,USER_NOT_LOGGED_IN:`USER_NOT_LOGGED_IN`,SIDEBAR_DATA:`SIDEBAR_DATA`,SHARE:`SHARE`},_v={en:`https://www.statista.com/download`,de:`https://de.statista.com/download`};function vv(e){return(e??``).normalize(`NFKD`).replace(/[\u0300-\u036F]/g,``).toLowerCase().trim().replace(/\s+/g,`_`).replace(/[^a-z0-9._-]/g,``).replace(/_+/g,`_`).replace(/^[._-]+|[._-]+$/g,``)||`file`}var yv=(e,t,n,r)=>{let i=Math.floor(Date.now()/1e3),a=r===`ppt`?`pptx`:`xlsx`,o=`${i}##0##${t}##1##${a}##Statistic`,s=btoa(o),c=`${vv(e)}.${a}`;return{downloadUrl:`${_v[n]}/${s}`,filename:c}},bv=e=>e.length===1?`single`:e.length===2?`double`:e.length<=3?`triple`:`many`,xv={"chart-type-switch":{single:`inline`,double:`@xl/widgetBox:inline`,triple:`@7xl/widgetBox:inline`,many:``},"download-drop-down-tooltip":{single:`inline`,double:`@xl/widgetBox`,triple:`@6xl/widgetBox`,many:`@6xl/widgetBox`},"download-drop-down-button-text":{single:`inline`,double:`@xl/widgetBox`,triple:`@6xl/widgetBox`,many:`@6xl/widgetBox`},"download-drop-down-icon":{single:`inline`,double:`@xl/widgetBox:hidden`,triple:`@6xl/widgetBox:hidden`,many:`@6xl/widgetBox:hidden`},"chart-category-filter":{single:`inline`,double:`@xl/widgetBox:inline`,triple:`@6xl/widgetBox:inline`,many:`@6xl/widgetBox:inline`}};function Sv(e,t){let n=bv(e);return xv[t][n]}var Cv={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":672,"3xl":768,"4xl"
242:896,"5xl":1024,"6xl":1152,"7xl":1280};function wv(e,t){let[n,r]=(0,I.useState)(!1),i=Tv(t);return i?((0,I.useEffect)(()=>{let t=e.current;if(!t){r(!1);return}let n=Cv[i],a=()=>{r(t.clientWidth>=n)};a();let o=new ResizeObserver(a);return o.observe(t),()=>{o.disconnect()}},[e,i]),n):!1}function Tv(e,t){let n=e.trim().match(/^@?([a-z0-9]+)(?:\/[^:]+)?/)?.[1];return n&&n in Cv?n:e in Cv?e:t??void 0}var Ev=`group transition-opacity duration-150 rounded bg-[#fff] p-4 shadow [max-width:17.5rem] placement-left:mr-2 placement-right:ml-2 placement-top:mb-2 placement-bottom:mt-2`,Dv=`block fill-[#fff] group-placement-left:-rotate-90 group-placement-right:rotate-90 group-placement-bottom:rotate-180`,Ov=(0,I.createContext)(void 0),kv=({children:e,type:t,tooltipText:n,tooltipVisibilityClassName:r})=>{let i=(0,I.useContext)(Ov),a=(0,I.useRef)(null),o=wv(i??a,r||``),[s,c]=(0,I.useState)(!1);return(0,I.useEffect)(()=>{o&&c(!1)},[o]),(0,L.jsxs)(xe,{delay:250,isDisabled:o,isOpen:s,onOpenChange:c,children:[e,(0,L.jsxs)(Se,{"aria-label":n,arrowBoundaryOffset:0,placement:`top`,className:rv(Ev,`data-[entering]:opacity-0 data-[exiting]:opacity-0`),children:[(0,L.jsx)(T,{className:`w-max`,children:(0,L.jsx)(`svg`,{width:8,height:8,className:Dv,children:(0,L.jsx)(`path`,{d:`M0 0,L4 4,L8 0`})})}),(0,L.jsx)(`span`,{className:`text-sm`,children:n})]},`global-charttooltip-${t}`)]})},Av=`rounded-[6px]`,jv=`text-on-surface-strong`,Mv=`shadow-[0_2px_4px_rgba(67,94,131,0.15)]`,Nv=`border-[1px] mt-0 flex font-semibold group h-[40px] items-center justify-around ${Av} ${jv} text-sm outline-none py-2 px-3 whitespace-nowrap`,Pv=`active:shadow-none active:translate-y-[1px]`,Fv=`focus-visible:${Av} focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-primary-focus`,Iv=`border-[#e0e0e0] ${Mv}`,Lv=`group cursor-pointer transition-[color,background-color,box-shadow,transform] duration-150 ease-out active:duration-75 hover:bg-surface-muted hover:text-primary active:text-primary [&[aria-expanded='true']]:bg-surface-muted [&[aria-expanded='true']]:text-primary [&[aria-expanded='true']]:sha
242dow-none [&[aria-expanded='true']]:translate-y-[1px]`,Rv=`text-[#455f7c] bg-[#F5F8FB] border-[#C1CAD5] isDisabled pointer-events-none cursor-not-allowed`,zv=({isDisabled:e=!1})=>rv(Pv,Nv,Fv,Lv,e?Rv:Iv),Bv=`group-hover:text-[#0666E5]`,Vv=`gap-2`;`${Av}`,`${jv}`,`${Av}`;var Hv={chartTypeSwitch:`udv-widget__chart-type--switched`,categoryFilterOpen:`udv-widget__category-filter--opened`,categoryFilterChange:`udv-widget__category-filter--changed`,showLabels:`udv-widget__labels--toggled`,sourceDetailsOpen:`udv-widget__source-details--opened`,sourceDetailsClose:`udv-widget__source-details--closed`,sourceDetailsContent:`udv-widget__sources-tab--changed`,downloadOpen:`udv-widget__download-button--opened`,downloadFile:`udv-widget__download-file--clicked`,shareOpen:`udv-widget__share-button--opened`,shareClick:`udv-widget__share-channel--clicked`,copyData:`udv-widget__data-copy--clicked`,copyForAI:`udv-widget__data-copy-for-ai--clicked`,copyCitation:`udv-widget__copy-citation--clicked`,globalChartMinifiedClick:`udv-widget__referral-link--clicked`,expandChart:`udv-widget__chart--expanded`,minimizeChart:`udv-widget__chart--minimized`,citationsButton:`udv-widget__citations-button--opened`};function Uv(e){let t=t=>{if(!globalThis.dataLayer){console.error(`â ï¸ window.dataLayer not initialized. GA4 events will not tracked.`);return}globalThis.dataLayer.push({widget_id:`3.6.0`,uu_id:e,...t})};return{gtmTrackChartTypeSwitch:(e,n,r)=>{t({event:Hv.chartTypeSwitch,button_type:e,category_filter:r,chart_type_before:n})},gtmTrackCategoryFilterOpen:()=>{t({event:Hv.categoryFilterOpen})},gtmTrackCategoryFilterChange:(e,n)=>{t({event:Hv.categoryFilterChange,category_before:e,category_after:n})},gtmTrackShowLabels:e=>{t({event:Hv.showLabels,labels_state_before:e?`hidden`:`shown`,labels_state_after:e?`shown`:`hidden`})},gtmTrackSourceDetailsOpen:()=>{t({event:Hv.sourceDetailsOpen,info_target:`widget_source-details_modal`})},gtmTrackSourceDetailsClose:()=>{t({event:Hv.sourceDetailsClose,info_target:`widget_source-details_modal`})},gtmTrackSourceDetailsContent:(e,n,r)=>{t({event:Hv.sourceDetailsContent,tab_name:e,tab_state_before:n,tab_state_after:r})},gtmTrackDownloadOpen:()=>{t({event:Hv.downloadOpen})},gtmTrackDownloadFile:e=>{t({event:Hv.downloadFile,download_format:e})},gtmTrackShareOpen:()=>{t({event:Hv.shareOpen,share_channel:`share_menu_open`})},gtmTrackShareClick:e=>{t({event:Hv.shareClick,share_channel:e})},gtmTrackCopyData:(e,n)=>{t({event:Hv.copyData,copy_scope:e,row_count:n})},gtmTrackCopyForAI:(e,n)=>{t({event:Hv.copyForAI,copy_scope:e,row_count:n})},gtmTrackGlobalChartMinifiedClick:e=>{t({event:Hv.globalChartMinifiedClick,link:e})},gtmTrackCopyCitation:(e,n)=>{t({event:Hv.copyCitation,citation:e,citation_owner:n})},gtmTrackExpandChart:()=>{t({event:Hv.expandChart})},gtmTrackMinimizeChart:()=>{t({event:Hv.minimizeChart})}}}function Wv({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 12 12`,width:`12`,height:`12`,children:(0,L.jsx)(`path`,{fill:`currentColor`,fillRule:`evenodd`,d:`M6 9a.5.5 0 0 1-.376-.17l-3.5-4a.5.5 0 1 1 .752-.66L6 7.74l3.124-3.57a.5.5 0 1 1 .752.66l-3.5 4A.5.5 0 0 1 6 9z`,clipRule:`evenodd`})})}function Gv({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 12 12`,width:`12`,height:`12`,children:(0,L.jsx)(`path`,{fill:`currentColor`,fillRule:`evenodd`,d:`M6 3a.5.5 0 0 1 .376.17l3.5 4a.5.5 0 0 1-.752.66L6 4.26 2.876 7.83a.5.5 0 0 1-.752-.66l3.5-4A.5.5 0 0 1 6 3z`,clipRule:`evenodd`})})}function Kv({className:e}){return(0,L.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 16 16`,width:`16`,height:`16`,className:e,children:(0,L.jsx)(`path`,{fill:`currentColor`,d:`M9 7.586V3a1 1 0 0 0-2 0v4.586l-.793-.793a1 1 0 0 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.414 0l2.5-2.5a1 1 0 0 0-1.414-1.414L9 7.586zM4 13a1 1 0 0 1 1-1h6.5a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1z`})})}var qv=()=>(0,L.jsxs)(`svg`,{width:`24`,height:`24`,viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,L.jsx)(`path`,{d:`M5.5 3H14L19 7.5V21H5.5V3Z`,fill:`none`,stroke:`#8dd716`,strokeWidth:`1.5`,strokeLinejoin:`round`}),(0,L.jsx)(`path`,{d:`M14 3V7.5H19`,fill:`none`,stroke:`#8dd716`,strokeWidth:`1.5`,strokeLinejoin:`round`}),(0,L.jsx)(`text`,{x:`12`,y:`13.8`,textAnchor:`middle`,dominantBaseline:`middle`,fontSize:`4.6`,fontFamily:`Arial, Helvetica, sans-serif`,fontWeight:`600`,fill:`#8dd716`,children:`CSV`})]}),Jv=()=>
242(0,L.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,children:(0,L.jsx)(`path`,{fill:`#bb261a`,fillRule:`evenodd`,d:`M14.25 1.5a.75.75 0 0 1 .53.22l4.5 4.5a.75.75 0 0 1 .22.53v15a.75.75 0 0 1-.75.75H5.25a.75.75 0 0 1-.75-.75V2.25a.75.75 0 0 1 .75-.75zM6 15h12V7.5h-3.75a.75.75 0 0 1-.75-.75V3H6zm8.25 1.5a.75.75 0 0 0-.75.75v1.099l-1.916 1.277a.75.75 0 1 0 .832 1.248l1.945-1.296 1.902.634a.75.75 0 0 0 .474-1.424L15 18.21v-.959a.75.75 0 0 0-.75-.75`,clipRule:`evenodd`})}),Yv=()=>(0,L.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,fill:`none`,viewBox:`0 0 24 24`,children:[(0,L.jsx)(`path`,{fill:`#0a8dff`,fillRule:`evenodd`,d:`M3 6.75A.75.75 0 0 1 3.75 6h13.5a.75.75 0 0 1 .75.75v10.19l-3.22-3.22a.75.75 0 0 0-1.06 0l-.97.97-3.22-3.22a.75.75 0 0 0-1.06 0L3 16.94zM13.5 12a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{fill:`#0a8dff`,d:`M14.25 15.31 18 19.06v1.19a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75v-1.19l6-6 3.22 3.22a.75.75 0 0 0 1.06 0z`}),(0,L.jsx)(`path`,{fill:`#0a8dff`,fillRule:`evenodd`,d:`M6 3.75A.75.75 0 0 1 6.75 3h13.5a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-1.5 0V4.5H6.75A.75.75 0 0 1 6 3.75`,clipRule:`evenodd`})]}),Xv=()=>(0,L.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`18`,height:`21`,viewBox:`0 0 18 21`,fill:`none`,style:{marginLeft:`2px`},children:[(0,L.jsx)(`path`,{d:`M4.5 0C3.67157 0 3 0.671573 3 1.5V19.5C3 20.3284 3.67157 21 4.5 21H16.5C17.3284 21 18 20.3284 18 19.5V6.75L11.25 0H4.5Z`,fill:`#FDE8E3`}),(0,L.jsx)(`path`,{d:`M11.25 0V5.25C11.25 6.07843 11.9216 6.75 12.75 6.75H18L11.25 0Z`,fill:`#F8B8A8`}),(0,L.jsx)(`path`,{d:`M4.5 0.75H10.9393L17.25 7.06066V19.5C17.25 19.9142 16.9142 20.25 16.5 20.25H4.5C4.08579 20.25 3.75 19.9142 3.75 19.5V1.5C3.75 1.08579 4.08579 0.75 4.5 0.75Z`,fill:`#D24726`,opacity:`0.14`}),(0,L.jsx)(`rect`,{x:`0`,y:`7`,width:`11`,height:`8`,rx:`1`,fill:`#D24726`}),(0,L.jsx)(`path`,{d:`M3 9.5H5.375C6.69768 9.5 7.5 10.2233 7.5 11.4C7.5 12.6004 6.69038 13.325 5.34375 13.325H4.25V14.75H3V9.5ZM4.25 10.575V12.25H5.125C5.7835 12.25 6.1875 11.9466 6.1875 11.4125C6.1875 10.8784 5.7835 10.575 5.125 10.575H4.25Z`,fill:`#FFFFFF`})]}),Zv=()=>(0,L.jsxs)(`svg`,{width:`24`,height:`24`,viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,L.jsx)(`path`,{d:`M5.5 3H14L19 7.5V21H5.5V3Z`,fill:`none`,stroke:`#0666e5`,strokeWidth:`1.5`,strokeLinejoin:`round`}),(0,L.jsx)(`path`,{d:`M14 3V7.5H19`,fill:`none`,stroke:`#0666e5`,strokeWidth:`1.5`,strokeLinejoin:`round`}),(0,L.jsx)(`text`,{x:`12`,y:`14`,textAnchor:`middle`,dominantBaseline:`middle`,fontSize:`4.6`,fontFamily:`Arial, Helvetica, sans-serif`,fontWeight:`600`,fill:`#0666e5`,children:`SVG`})]}),Qv=()=>(0,L.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`18`,height:`21`,viewBox:`0 0 18 21`,fill:`none`,style:{marginLeft:`2px`},children:[(0,L.jsx)(`path`,{d:`M5.25 0C4.83579 0 4.5 0.335786 4.5 0.75V3.75H10.5V0H5.25Z`,fill:`#385801`}),(0,L.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M10.5 6C10.5 5.58579 10.1642 5.25 9.75 5.25H0.75C0.335787 5.25 0 5.58579 0 6V15C0 15.4142 0.335786 15.75 0.75 15.75H9.75C10.1642 15.75 10.5 15.4142 10.5 15V6ZM3.53033 7.71967C3.23744 7.42678 2.76256 7.42678 2.46967 7.71967C2.17678 8.01256 2.17678 8.48744 2.46967 8.78033L4.18934 10.5L2.46967 12.2197C2.17678 12.5126 2.17678 12.9874 2.46967 13.2803C2.76256 13.5732 3.23744 13.5732 3.53033 13.2803L5.25 11.5607L6.96967 13.2803C7.26256 13.5732 7.73744 13.5732 8.03033 13.2803C8.32322 12.9874 8.32322 12.5126 8.03033 12.2197L6.31066 10.5L8.03033 8.78033C8.32322 8.48744 8.32322 8.01256 8.03033 7.71967C7.73744 7.42678 7.26256 7.42678 6.96967 7.71967L5.25 9.43934L3.53033 7.71967Z`,fill:`#385801`}),(0,L.jsx)(`path`,{d:`M4.5 20.25C4.5 20.6642 4.83579 21 5.25 21H10.5V17.25H4.5V20.25Z`,fill:`#385801`}),(0,L.jsx)(`path`,{d:`M17.25 0H12V6H18V0.75C18 0.335786 17.6642 0 17.25 0Z`,fill:`#385801`}),(0,L.jsx)(`path`,{d:`M18 7.5H12V13.5H18V7.5Z`,fill:`#385801`}),(0,L.jsx)(`path`,{d:`M12 15H18V20.25C18 20.6642 17.6642 21 17.25 21H12V15Z`,fill:`#385801`})]}),$v=(e,t)=>
242{if(e===sv.TABLE)return[hv.CSV,hv.XLSX];let n=[hv.CSV,hv.SVG,hv.PNG,hv.PDF,hv.XLSX];return t?[...n,hv.PPT]:n},ey={csv:qv,svg:Zv,png:Yv,pdf:Jv,xlsx:Qv,ppt:Xv},ty=new Map([[`default`,`https://cdn.statcdn.com/static`],[`study`,`https://cdn.statcdn.com/Study`]]);function ny({link:e,cdn:t=`default`}){return e.length<2?(console.info(`CDN link is missing`),``):`${ty.get(t)}/${e}`}var ry=ny({link:`css/fonts/open-sans/regular/OpenSans-Regular-webfont.ttf`}),iy=ny({link:`css/fonts/open-sans/bold/OpenSans-Bold-webfont.ttf`});async function ay(e){let t=await fetch(e).then(e=>e.arrayBuffer());return btoa(String.fromCodePoint(...new Uint8Array(t)))}async function oy(e){let t=await fetch(e).then(e=>e.blob());return new Promise(e=>{let n=new FileReader;n.onloadend=()=>e(n.result),n.readAsDataURL(t)})}function sy(e,t){let{chart:n,baseChartConfig:r,loadHandler:i,getVisibleSeriesForExport:a,footerImageUrl:o,footerImageBase64:s,fonts:c}=t,l={series:a(),chart:{...r,events:{load:i(e)}}},u=n.getSVG(l);u=u.replace(/font-family:\s*"Open Sans",\s*sans-serif;/,`font-family:OpenSans;`),s&&(u=u.replaceAll(o,s));let d=`<defs><style> 243 @font-face{font-family:'Open Sans';src:url('data:font/truetype;base64,${c.regular}') format('truetype');font-weight:normal;} 244 @font-face{font-family:'Open Sans';src:url('data:font/truetype;base64,${c.bold}') format('truetype');font-weight:bold;} 245 @font-face{font-family:'OpenSans';src:url('data:font/truetype;base64,${c.regular}') format('truetype');font-weight:normal;} 246 @font-face{font-family:'OpenSans';src:url('data:font/truetype;base64,${c.bold}') format('truetype');font-weight:bold;} 247</style></defs>`;return u=u.replace(/(<svg[^>]*>)/,`$1${d}`),u}var cy=e=>{let t=new Date().getFullYear();return`${e.replace(/\s+/g,`-`)}-${t}-${ov}`},ly=`__gdvPdfLibraryLoader__`,uy=()=>globalThis[ly],dy=e=>{e===void 0?delete globalThis[ly]:globalThis[ly]=e},fy=class{chart;static registerLibraryLoader(e){dy(e)}openSansRegularBase64;openSansBoldBase64;setChart(e){this.chart=e}async getOpenSansFonts(){let[e,t]=await Promise.all([this.openSansRegularBase64??ay(ry).then(e=>(this.openSansRegularBase64=e,e)),this.openSansBoldBase64??ay(iy).then(e=>(this.openSansBoldBase64=e,e))]);return{regular:e,bold:t}}async exportChart(e,t,n,r,i){if(!this.chart)return;let a=e.toLocaleLowerCase(),o=uy(),s=i??(o?await o():void 0),c=e=>function(){let i=ny({link:`img/statistaFooter.png`}),a=this.chartWidth/2,o=this.renderer.text(t,0,40).attr({zIndex:6}).css({width:cv*.9,whiteSpace:pv,fontSize:lv,fontWeight:uv,color:dv}).add(),s=o.getBBox();o.attr({x:a-s.width/2}),this.renderer.image(i,0,this.chartHeight-66,cv,66).add();let c=this.renderer.text(n,15,this.chartHeight-35,e).css(mv).add(),l=c.getBBox();c.attr({y:this.chartHeight-l.height});let u=this.renderer.text(r,l.width+30,this.chartHeight-35,e).css(mv).add(),d=u.getBBox(),f=this.chartHeight-Math.max(l.height,d.height);c.attr({y:f}),u.attr({y:f})},l={height:this.chart.chartHeight+70+80+20,width:cv,spacingTop:90,spacingBottom:80},u=cv,d=this.chart.chartHeight+70+80+20,f=ny({link:`img/statistaFooter.png`}),p=cy(t),[m,h]=await Promise.all([this.getOpenSansFonts(),oy(f).cat
247ch(()=>{})]),g={chart:this.chart,baseChartConfig:l,loadHandler:c,getVisibleSeriesForExport:()=>this.getVisibleSeriesForExport(),footerImageUrl:f,footerImageBase64:h,fonts:m};if(a===`pdf`){if(!s){console.error(`Export libraries for PDF download failed to load. PDF export is unavailable.`);return}let e=sy(!1,g);e=e.replace(/(?<![a-z-])color\s*:\s*([^;'"]+)/g,`fill:$1`).replace(/font-weight\s*:\s*light/g,`font-weight:normal`).replace(/font-weight\s*:\s*bold/g,`font-weight:bold`).replace(/line-height\s*:\s*[^;'"]+;?/g,``).replace(/white-space\s*:\s*[^;'"]+;?/g,``).replace(/font-size:\s*([0-9.]+)em/g,(e,t)=>`font-size:${Number.parseFloat(t)*16}px`);let t=e=>e*.75,{jsPDF:n,svg2pdf:r}=s,i=1.5,a=new n({orientation:u>d?`landscape`:`portrait`,unit:`pt`,format:[t(u*i),t(d*i)]});a.addFileToVFS(`OpenSans-Regular.ttf`,m.regular),a.addFont(`OpenSans-Regular.ttf`,`OpenSans`,`normal`),a.addFileToVFS(`OpenSans-Bold.ttf`,m.bold),a.addFont(`OpenSans-Bold.ttf`,`OpenSans`,`bold`);let o=new DOMParser().parseFromString(e,`image/svg+xml`).documentElement;await r(o,a,{x:0,y:0,width:t(u*i),height:t(d*i)}),a.save(`${p}.pdf`);return}if(a===`svg`){let e=sy(!0,g),t=new Blob([e],{type:`image/svg+xml`}),n=URL.createObjectURL(t),r=document.createElement(`a`);r.href=n,r.download=`${p}.svg`,r.click(),URL.revokeObjectURL(n);return}if(a===`png`){let e=sy(!1,g);e=e.replace(/<foreignObject[\s\S]*?<\/foreignObject>/g,``);let t=[...new Set([...e.matchAll(/(?:xlink:href|href)="(https?:\/\/[^"]+)"/g)].map(e=>e[1]))],n=await Promise.all(t.map(async e=>({url:e,dataUrl:await oy(e).catch(t=>{console.warn(`Failed to fetch as base64, canvas may be tainted:`,e,t)})})));for(let{url:t,dataUrl:r}of n)r&&(e=e.replaceAll(t,r));let r=new Blob([e],{type:`image/svg+xml;charset=utf-8`}),i=URL.createObjectURL(r);await new Promise(e=>{let t=new Image;t.addEventListener(`load`,()=>{let n=document.createElement(`canvas`);n.width=u,n.height=d,n.getContext(`2d`).drawImage(t,0,0),URL.revokeObjectURL(i);let r=document.createElement(`a`);r.href=n.toDataURL(`image/png`),r.download=`${p}.png`,r.click(),e()}),t.src=i});return}this.chart.exportChartLocal({type:void 0,filename:cy(t),allowHTML:!1},{series:this.getVisibleSeriesForExport(),chart:{height:this.chart.chartHeight+70+80+20,width:cv,spacingTop:90,spacingBottom:80,events:{load:function(){let e=ny({link:`img/statistaFooter.png`});this.renderer.text(t,cv/2,40).attr({align:fv,zIndex:6}).css({width:cv*.9,whiteSpace:pv,fontSize:lv,fontWeight:uv,color:dv}).add(),this.renderer.image(e,0,this.chartHeight-66,cv,66).add();let i=this.renderer.text(n,15,this.chartHeight-35,!1).css(mv).add(),a=i.getBBox();i.attr({y:this.chartHeight-a.height});let o=this.renderer.text(r,a.width+30,this.chartHeight-35,!1).css(mv).add(),s=o.getBBox(),c=this.chartHeight-Math.max(a.height,s.height);i.attr({y:c}),o.attr({y:c})}}}})}getVisibleSeriesForExport(){let e=this.chart;return e?e.series.map(e=>({...e.userOptions,visible:e.visible,showInLegend:e.visible})):[]}},py=void 0;function my(){return py||(py=Promise.all([r(()=>import(`./jspdf.es.min-m_xBn0Qu-BWdueprG.js`),__vite__mapDeps([8,2,1])).catch(e=>{console.error(`jspdf is not available. Make sure it is installed as a dependency.`,e)}),r(()=>import(`./svg2pdf.es.min-B5JJe8bB-bAlTwaDF.js`),__vite__mapDeps([9,8,2,1])).catch(e=>{console.error(`svg2pdf.js is not available. Make sure it is installed as a dependency.`,e)})]).then(([e,t])=>{if(!(!e||!t))return{jsPDF:e.jsPDF,svg2pdf:t.svg2pdf}}),py)}fy.registerLibraryLoader(my);function hy(){my()}var gy=`Download dependencies are missing. Use GlobalChartWithDownload from @tech-usage/global-data-visualization-with-download`,_y=()=>{let{t}=g(),{id:n,contentId:i,globalChartTableData:a,locale:o,selectedVisualization:s,setDownloadOption:c,title:l,accessConfiguration:u,onPaywallTriggered:d,onDownloadCallback:f,possibleVisualizations:p}=Ca(),{gtmTrackDownloadOpen:m,gtmTrackDownloadFile:h}=Uv(n),[_,v]=(0,I.useState)(!1),[y,b]=(0,I.useState)(!1),x=(0,I.useRef)(null),S=(0,I.useRef)(null);k({ref:x,isDisabled:!_,onInteractOutside:e=>{let t=e.target;!(t instanceof Element)||S.current?.contains(t)||v(!1)}});let C=av(a,o),w=async t=>{let n=`${vv(l??`data`)}.${t}`;switch(t){case`csv`:{let t=(await r(()=>import(`./FileSaver.min-jI0J7dkj.js`).then(t=>e(t.default,1)),__vite__mapDeps([10,1])).catch(()=>
247{throw Error(`${gy}. Missing module: file-saver.`)})).default;t(new Blob([``+C],{type:`text/csv;charset=utf-8;`}),n);break}case`xlsx`:case`ppt`:if(!i){console.error(`Content ID is missing for PPT/XLSX download.`);return}try{b(!0);let{downloadUrl:n,filename:a}=yv(l??``,i,o,t),s=await fetch(n);if(!s.ok)throw Error(`HTTP error! status: ${s.status}`);let c=await s.blob(),u=(await r(()=>import(`./FileSaver.min-jI0J7dkj.js`).then(t=>e(t.default,1)),__vite__mapDeps([10,1])).catch(()=>{throw Error(`${gy}. Missing module: file-saver.`)})).default;u(c,a)}catch(e){console.error(`PPT/XLSX download failed:`,e)}finally{b(!1)}break;default:c(t)}},E=e=>{if(u?.download?.[e]===!1){v(!1),setTimeout(()=>{d?.(gv.DOWNLOAD),setTimeout(()=>{document.querySelector(`#paywall-close`)?.focus()},10)},0);return}w(e).then(()=>{f?.(e,i),h(e),v(!1)})},O=Sv(p,`download-drop-down-tooltip`),ee=Sv(p,`download-drop-down-button-text`),te=Sv(p,`download-drop-down-icon`);return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(kv,{type:t([`DOWNLOAD`]),tooltipText:t([`DOWNLOAD`]),tooltipVisibilityClassName:O,children:(0,L.jsxs)(D,{ref:S,"data-gtm":Hv.downloadOpen,"aria-label":t([`DOWNLOAD`]),className:rv(zv({isDisabled:y}),Vv,`${ee}:min-w-[140px]`,`justify-between ml-2`),isDisabled:y,onPress:()=>{v(e=>(e||m(),!e)),hy()},children:[(0,L.jsx)(`span`,{className:rv(`hidden`,`${ee}:inline`),children:t([`DOWNLOAD`])}),y?(0,L.jsx)(`div`,{className:`size-4 animate-spin rounded-full border-b-2 border-current`}):(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(`div`,{className:rv(`hidden`,`${ee}:inline`),children:_?(0,L.jsx)(Gv,{className:Bv}):(0,L.jsx)(Wv,{className:Bv})}),(0,L.jsx)(`div`,{className:rv(`inline`,`${te}`),children:(0,L.jsx)(Kv,{className:Bv})})]})]})}),(0,L.jsxs)(Ke,{ref:x,triggerRef:S,isOpen:_,onOpenChange:v,placement:`top`,isNonModal:!0,shouldCloseOnInteractOutside:e=>!S.current?.contains(e),className:`placement-left:mr-2 placement-right:ml-2 placement-top:mb-2 placement-bottom:mt-2 group z-sticky min-w-30 rounded bg-on-primary p-2 shadow outline-none transition-opacity duration-150 [max-width:17.5rem]`,children:[(0,L.jsx)(T,{className:`placement-left:mr-2 placement-right:ml-2 placement-top:mb-2 placement-bottom:mt-2 group absolute block rounded fill-on-primary transition-opacity duration-150`,children:(0,L.jsx)(`svg`,{width:12,height:12,viewBox:`0 0 12 12`,className:`group-placement-bottom:rotate-180 group-placement-left:-rotate-90 group-placement-right:rotate-90 block fill-surface drop-shadow-sm`,children:(0,L.jsx)(`path`,{d:`M0 0 L6 6 L12 0`})})}),(0,L.jsx)(ie,{autoFocus:!0,restoreFocus:!0,children:(0,L.jsx)(Je,{className:`outline-none`,"aria-label":t([`DOWNLOAD`]),children:(0,L.jsx)(`div`,{className:`flex flex-col gap-1`,children:$v(s,i).map(e=>{let n=u?.download?.[e.extension]===!1,r=ey[e.extension];return(0,L.jsxs)(D,{"data-gtm":`${Hv.downloadFile}-${e.extension}`,className:rv(zv({isDisabled:!1}),n&&`text-[#455f7c] bg-[#F5F8FB] border-[#C1CAD5] opacity-50`,`border-0 shadow-none justify-start p-1`),onPress:()=>E(e.extension),"aria-label":t([e.ariaLabel]),children:[(0,L.jsx)(r,{}),(0,L.jsx)(`span`,{className:`ml-2`,children:t([e.label])})]},e.extension)})})})})]})]})},vy=({children:e})=>(0,L.jsx)(Cg.Provider,{value:_y,children:e}),yy=e=>(0,L.jsx)(vy,{children:(0,L.jsx)(i_,{...e})}),by=`STT_D_Statistics_Desktop_Leaderboard`,xy=`STT_M_Statistics_Incontent-1`;function Sy({statisticId:e,isPremium:t,tags:n,platform:r}){return[[`statistic`,[e]],[`isCharged`,[t?`true`:`false`]],[`tags`,n],[`platform`,[r]]]}function Cy({nodeEnv:e,hostname:t=globalThis.location?.hostname??``}){let n=/stage|\.aws\./.test(t);return e===`development`&&!n?`https://ads.consents-management.dev.aws.statista.com/statista_adhandler.js`:n?`https://ads.consents-management.stage.aws.statista.com/statista_adhandler.js`:`https://ads.consents-management.prod.aws.statista.com/statista_adhandler.js`}function wy({id:e,size:t,className:n}){let{t:r}=g();return(0,L.jsxs)(`aside`,{role:`region`,"aria-label":r(`CONTENT_AD_TITLE`),className:ne(`text-center print:hidden`,n),style:{minWidth:t.width,minHeight:t.height},children:[(0,L.jsx)(`span`,{id:`${e}-label`,className:`hidden text-[11px] uppercase text-foreground-neutral`,children:r(`CONTENT_AD_TITLE`)}),(0,L.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,L.jsx)(`div`,{id:e})})]})}function Ty(){return{isDevelopment:!1,isProduction:!0,nodeEnv:`production`,isMOCKS:{}.MOCKS===`true`}}var Ey=()=>()=>{};function Dy(){return(0,I.useSyncExternalStore)(Ey,()=>!0,()=>!1)}var Oy=new WeakSet;function ky(){if(!globalThis.document)return;let{nodeEnv:e}=Ty();Ay(Cy({nodeEnv:e}))}function Ay(e){let{dataLayer:t}=globalThis;t&&t.push({event:`ad_script_trigger`,ad_script_gtm:!0,ad_script_source:e})}function jy(){return globalThis.adHandler=globalThis.adHandler??{cmd:[]},globalThis.adHandler}function My({enabled:e,targeting:t}){let n=(0,I.useRef)(void 0);if(!Dy()||!e)return;ky();let r=jy();Oy.has(r)||(r.cmd.push(()=>{globalThis.adHandler?.mapping_skellige_statistics_ads?.()}),Oy.add(r));let i=JSON.stringify(t);n.current!==i&&(globalThis.adHandler?.cmd.push(()=>{let e=globalThis.adHandler?.service;if(e)for(let[n,r]of t)e.setTargeting(n,r)}),n.current=i)}function Ny({enabled:e,targeting:t,className:n}){if(My({enabled:e,targeting:t}),e)return(0,L.jsx)(L.Fragment,{children:(0,L.jsx)(wy,{id:by,size:{
247width:970,height:90},className:n})})}function Py({enabled:e}){if(e)return(0,L.jsx)(wy,{id:xy,size:{width:300,height:250}})}function Fy({content:e,className:t,id:n}){return(0,L.jsx)(Ge,{id:n,renderAs:`h4`,size:`xs`,className:`mt-1 pb-1 text-foreground-inverted`,children:(0,L.jsx)(qe,{content:e,className:t})})}var Iy=h(),Ly;function Ry(e,t=`statistics`){function n(t){if(!e)return;let n={status:t?`on`:`off`};try{Iy.dataLayer.pushIpProtection(n)}catch{console.log(`Analytics Data Layer: pushIpProtection failed`)}}function r({contentType:t,...n}){if(e)try{Iy.dataLayer.pushSelectContent({contentType:t,...n})}catch{console.log(`Analytics Data Layer: pushLogin failed`)}}function i(){if(e)try{Iy.dataLayer.pushLogin()}catch{console.log(`Analytics Data Layer: pushLogin failed`)}}function a(){if(e)try{Iy.dataLayer.pushLogout()}catch{console.log(`Analytics Data Layer: pushLogout failed`)}}function o(n){if(!e)return;let r;n!==Ly&&(r=Ly??(globalThis.document?.referrer||void 0),Ly=n);try{Iy.dataLayer.pushPageView({contentType:t,pageLocation:n,pageReferrer:r})}catch{console.log(`Analytics Data Layer: pushPageView failed`)}}function s(n){if(e)try{Iy.dataLayer.pushGetAccess({contentType:t,pageLocation:n})}catch{console.log(`Analytics Data Layer: pushGetAccess failed`)}}function c(t){e&&t()}return{pushSelectContent:r,pushPageView:o,pushGetAccess:s,pushLogin:i,pushLogout:a,pushIpProtection:n,initializeGTMCallBack:c}}function zy({isOpen:e,onClose:t,withLoginForm:n,isLoggedIn:r}){let{t:i}=g(),a=c(),{pushGetAccess:o}=Ry(!!v()?.isGtmEnabled),s=(0,I.useId)();return(0,L.jsx)(me,{"aria-labelledby":s,isOpen:e,isDismissable:!0,onClose:t,variant:`strong`,children:(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(`div`,{className:`relative w-full rounded px-4 pb-4 pt-8 md:w-[35rem] md:px-8`,children:[(0,L.jsx)(By,{onClose:t}),(0,L.jsx)(Fy,{id:s,content:i(r?`STATISTIC_TEASER_MODAL_LOGGED_IN_HEADLINE`:`FEATURE_ACCESS_ACCOUNT_CONVERSION_MESSAGE`),className:`text-xl text-foreground-inverted [&_b]:font-bold`}),(0,L.jsx)(Me,{to:`/accounts/individuals/`,onClick:()=>{o(a.pathname)},"data-gtm":`statistics_kpiShowData_section1--box1--tab1_popUp_C2A`,className:` 248 mt-3 249 inline-flex 250 w-auto 251 items-center 252 rounded 253 border-border-neutral 254 bg-surface-primary 255 px-6 256 py-4 257 text-sm 258 text-foreground-inverted 259 no-underline 260 drop-shadow-none 261 hover:border-border-neutral-hover 262 hover:bg-surface-primary-hover 263 hover:text-surface-neutral 264 md:my-4 265 md:p-2`,children:(0,L.jsx)(`span`,{className:`whitespace-nowrap font-semibold`,children:i(r?`UPGRADE_NOW`:`STATISTIC_FREE_REGISTER_NOW`)})})]}),!r||r&&n?(0,L.jsx)(m,{location:a,children:(0,L.jsxs)(`div`,{className:`flex w-full rounded-b bg-foreground-inverted p-4 text-xs`,children:[(0,L.jsx)(E,{className:`mr-1 text-xs text-foreground-neutral`,children:i(`ALREADY_HAVE_AN_ACCOUNT_QUESTION`)}),(0,L.jsx)(j,{className:`text-foreground-primary underline`,"data-gtm":`conversionTeaser__anonymUserLoginLink--statistics`,type:`submit`,children:i(`NAVIGATION_LOGIN`)})]})}):void 0]})})}function By({onClose:e}){let{t}=g();return(0,L.jsx)(j,{"aria-label":t(`GLOBAL_CLOSE`),className:`absolute right-3 top-2 size-[32px] border-0 text-foreground-inverted focus:outline focus:outline-offset-0 focus:outline-border-inverted`,"data-gtm":`statistics__paywall-close`,onPress:e,id:`paywall-close`,children:(0,L.jsx)(_,{size:`32`,name:`16-fill-cross-normal`})})}function Vy({...e}){return(0,L.jsx)(zy,{...e})}function Hy(){let{t:e}=g(),t=[e(`CONVERSION_TEASER_STATISTIC_PAID_BULLET_1`),e(`CONVERSION_TEASER_STATISTIC_PAID_BULLET_2`),e(`CONVERSION_TEASER_STATISTIC_PAID_BULLET_3`)];return(0,L.jsx)(`div`,{className:`my-8 rounded-lg bg-surface-strong p-6 shadow-lg md:my-12 md:p-12`,children:(0,L.jsxs)(`div`,{className:`flex flex-col gap-6 md:flex-row md:items-center md:gap-8`,children:[(0,L.jsxs)(`div`,{className:`flex flex-1 flex-col gap-3`,children:[(0,L.jsx)(Ge,{renderAs:`div`,size:`xs`,className:`text-foreground-inverted`,children:(0,L.jsx)(qe,{as:`span`,content:e(`STATISTIC_PAYWALL_PREMIUM_STATISTA_ACCOUNT`),className:`text-xl text-foreground-inverted [&_b]:font-bold [&_b]:text-foreground-inverted`})}),(0,L.jsx)(`ul`,{className:`flex flex-col gap-1`,children:t.map(e=>(0,L.jsxs)(`li`,{className:`flex items-center gap-2`,children:[(0,L.jsx)(_,{name:`18-circle-checkmark-color`,className:`size-[18px] shrink-0`}),(0,L.jsx)(`span`,{className:`text-base text-foreground-inverted`,children:e})]},e))})]}),(0,L.jsx)(`div`,{className:`flex md:shrink-0`,children:(0,L.jsx)(Me,{to:`/accounts/individuals#accountOverview__table`,"data-gtm":`statistics_accountBanner_cta`,variant:`buttonConversion`,size:`lg`,className:`w-full justify-center md:w-auto`,children:e(`STATISTICS_ACCOUNT_BANNER_CTA`)})})]})})}function Uy({contentType:e,hasStatisticsAccess:t}){let r=n(),i=(0,I.useRef)(!1);return Dy()&&r.state===`idle`&&(i.current=!1),{onDownloadCallback:(0,I.useCallback)((n,a)=>{i.current||(i.current=!0,r.submit({id:a,extension:n,contentType:e,hasStatisticsAccess:t},{method:`post`,action:`/agnostic-pages/tracking-client-events`}))},[r,e,t]),trackingEventFetcher:r}}var Wy=({className:e,children:t})=>(0,L.jsx)(`div`,{className:[`animate-pulse`,`bg-surface-muted rounded`,e].filter(
265Boolean).join(` `),children:t}),Gy=({children:e,minHeight:t,isMinified:n=!1,trailingContent:r})=>{let i=(0,L.jsx)(`div`,{style:t?{minHeight:`${t}px`}:void 0,className:n?It:Et,children:e});return n||!r?i:(0,L.jsxs)(`div`,{className:kt,children:[i,r]})},Ky=e=>({isHeaderVisible:e?.header?.container?.visible??!0,isChartTypeSwitchVisible:e?.chart?.chartTypeSwitch?.visible??!0,isCategoryFilterVisible:e?.chart?.categoryFilter?.visible??!0,isSupportTextVisible:e?.chart?.supportText?.visible??!0,isFooterVisible:e?.footer?.container?.visible??!0,isReportLinkVisible:e?.footer?.reportLink?.visible??!0,isDownloadVisible:e?.chart?.download?.visible??!0}),qy={default:{base:468,headerWithSubtitle:64,headerWithoutSubtitle:48,controls:56,footer:72},minified:{base:260,headerWithSubtitle:110,headerWithoutSubtitle:110,footer:64}},Jy=(e,t)=>e.isHeaderVisible?t.headerWithoutSubtitle:0,Yy=(e,t)=>t.controls&&(e.isChartTypeSwitchVisible||e.isCategoryFilterVisible)?t.controls:0,Xy=(e,t)=>e.isFooterVisible?t.footer:0,Zy=(e,t)=>{let n=t?qy.minified:qy.default,r=Ky(`uiConfiguration`in e?e.uiConfiguration:void 0);return n.base+Jy(r,n)+Yy(r,n)+Xy(r,n)},Qy=({uiConfiguration:e,minHeight:t,title:n,subtitle:r,link:i})=>{let{t:a}=g(),{isFooterVisible:o}=Ky(e);return(0,L.jsx)(Gy,{isMinified:!0,minHeight:t,children:(0,L.jsxs)(`a`,{href:i,children:[(0,L.jsx)(`div`,{className:`h-[110px] flex-col overflow-hidden`,children:(0,L.jsxs)(`div`,{className:`px-4`,children:[(0,L.jsx)(`span`,{className:`mb-0 line-clamp-2 items-center gap-1 pb-1 text-sm font-bold transition duration-300 [text-wrap:balance] hover:text-foreground-primary-hover active:text-foreground-primary-pressed`,children:n}),r?(0,L.jsx)(`span`,{className:`line-clamp-2 text-xs font-normal`,children:r}):void 0]})}),(0,L.jsx)(`div`,{className:`p-4`,children:(0,L.jsx)(Wy,{className:`h-[240px]`})}),o&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(`hr`,{className:`text-[#e5e5e5]`}),(0,L.jsxs)(`div`,{className:`flex flex-row justify-between px-4 pt-3`,children:[(0,L.jsxs)(`div`,{className:`flex w-1/2 flex-col`,children:[(0,L.jsx)(Wy,{className:`mb-2 h-4 w-1/2`}),(0,L.jsx)(Wy,{className:`h-4 w-1/3`})]}),(0,L.jsx)(`div`,{children:(0,L.jsx)(ae,{size:`sm`,label:a([`PREVIEW`]),variant:`muted`,className:`font-bold text-on-surface`})})]})]})]})})},$y=(0,I.createContext)(void 0),eb=()=>{let e=(0,I.useContext)($y);if(!e)throw Error(`useTableSortingContext must be used within TableSortingProvider`);return e},tb=({children:e})=>{let[t,n]=(0,I.useState)(void 0);return(0,L.jsx)($y.Provider,{value:{sortingOrder:t,setSortingOrder:n},children:e})},Z=e=>typeof e==`string`,nb=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},rb=e=>e==null?``:``+e,ib=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},ab=/###/g,ob=e=>e&&e.indexOf(`###`)>-1?e.replace(ab,`.`):e,sb=e=>!e||Z(e),cb=(e,t,n)=>{let r=Z(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(sb(e))return{};let t=ob(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return sb(e)?{}:{obj:e,k:ob(r[i])}},lb=(e,t,n)=>{let{obj:r,k:i}=cb(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=cb(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=cb(e,o,Object),s&&s.obj&&typeof s.obj[`${s.k}.${a}`]<`u`&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},ub=(e,t,n,r)=>{let{obj:i,k:a}=cb(e,t,Object);i[a]=i[a]||[],i[a].push(n)},db=(e,t)=>{let{obj:n,k:r}=cb(e,t);if(n)return n[r]},fb=(e,t,n)=>{let r=db(e,n);return r===void 0?db(t,n):r},pb=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?Z(e[r])||e[r]instanceof String||Z(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):pb(e[r],t[r],n):e[r]=t[r]);return e},mb=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),hb={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},gb=e=>Z(e)?e.replace(/[&<>"'\/]/g,e=>hb[e]):e,_b=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},vb=[` `,`,`,`?`,`!`,`;`],yb=new _b(20),bb=(e,t,n)=>{t||=``,n||=``;
vendor: 17,397 bytes, line 265
265let r=vb.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(r.length===0)return!0;let i=yb.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},xb=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:`.`;if(!e)return;if(e[t])return e[t];let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].indexOf(typeof t)>-1&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},Sb=e=>e&&e.replace(`_`,`-`),Cb={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}},wb=new class e{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||`i18next:`,this.logger=e||Cb,this.options=t,this.debug=t.debug}log(){var e=[...arguments];return this.forward(e,`log`,``,!0)}warn(){var e=[...arguments];return this.forward(e,`warn`,``,!0)}error(){var e=[...arguments];return this.forward(e,`error`,``)}deprecate(){var e=[...arguments];return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(Z(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},Tb=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){var t=[...arguments].slice(1);this.observers[e]&&Array.from(this.observers[e].entries()).forEach(e=>{let[n,r]=e;for(let e=0;e<r;e++)n(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(n=>{let[r,i]=n;for(let n=0;n<i;n++)r.apply(r,[e,...t])})}},Eb=class extends Tb{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:[`translation`],defaultNS:`translation`};super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.indexOf(`.`)>-1?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):Z(n)&&i?o.push(...n.split(i)):o.push(n)));let s=db(this.data,o);return!s&&!t&&!n&&e.indexOf(`.`)>-1&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!Z(n)?s:xb(this.data&&this.data[e]&&this.data[e][t],n,i)}addResource(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf(`.`)>-1&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),lb(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(let r in n)(Z(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},o=[e,t];e.indexOf(`.`)>-1&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=db(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?pb(s,n,i):s={...s,...n},lb(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.options.compatibilityAPI===`v1`?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},Db={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,i))}),t}},Ob={},kb=class e extends Tb{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),ib([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=wb.create(`translator`)}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;let n=this.resolve(e,t);return n&&n.res!==void 0}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!bb(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:Z(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:Z(i)?[i]:i}}translate(t,n,r){if(typeof n!=`object`&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n==`object`&&(n={...n}),n||={},t==null)return``;Array.isArray(t)||(t=[String(t)]);let i=n.returnDetails===void 0?this.options.returnDetails:n.returnDetails,a=n.keySeparator===void 0?this.options.keySeparator:n.keySeparator,{key:o,namespaces:s}=this.extractFromKey(t[t.length-1],n),c=s[s.length-1],l=n.lng||this.language,u=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&l.toLowerCase()===`cimode`){if(u){let e=n.nsSeparator||this.options.nsSeparator;return i?{res:`${c}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${e}${o}`}return i?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:o}let d=this.resolve(t,n),f=d&&d.res,p=d&&d.usedKey||o,m=d&&d.exactUsedKey||o,h=Object.prototype.toString.apply(f),g=[`[object Number]`,`[object Function]`,`[object RegExp]`],_=n.joinArrays===void 0?this.options.joinArrays:n.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,y=!Z(f)&&typeof f!=`boolean`&&typeof f!=`number`;if(v&&f&&y&&g.indexOf(h)<0&&!(Z(_)&&Array.isArray(f))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,f,{...n,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return i?(d.res=e,d.usedParams=this.getUsedParamsDetails(n),d):e}if(a){let e=Array.isArray(f),t=e?[]:{},r=e?m:p;for(let e in f)if(Object.prototype.hasOwnProperty.call(f,e)){let i=`${r}${a}${e}`;t[e]=this.translate(i,{...n,joinArrays:!1,ns:s}),t[e]===i&&(t[e]=f[e])}f=t}}else if(v&&Z(_)&&Array.isArray(f))f=f.join(_),f&&=this.extendTranslation(f,t,n,r);else{let i=!1,s=!1,u=n.count!==void 0&&!Z(n.count),p=e.hasDefaultValue(n),m=u?this.pluralResolver.getSuffix(l,n.count,n):``,h=n.ordinal&&u?this.pluralResolver.getSuffix(l,n.count,{ordinal:!1}):``,g=u&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),_=g&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${m}`]||n[`defaultValue${h}`]||n.defaultValue;!this.isValidLookup(f)&&p&&(i=!0,f=_),this.isValidLookup(f)||(s=!0,f=o);let v=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:f,y=p&&_!==f&&this.options.updateMissing;if(s||i||y){if(this.logger.log(y?`updateKey`:`missingKey`,l,c,o,y?_:f),a){let e=this.resolve(o,{...n,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(n.lng||this.language):e.push(n.lng||this.language);let r=(e,t,r)=>{let i=p&&r!==f?r:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,c,t,i,y,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,c,t,i,y,n),this.emit(`missingKey`,e,c,t,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,n);g&&n[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{r([e],o+t,n[`defaultValue${t}`]||_)})}):r(e,o,_))}f=this.extendTranslation(f,t,n,d,r),s&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${c}:${o}`),(s||i)&&this.options.parseMissingKeyHandler&&(f=this.options.compatibilityAPI===`v1`?this.options.parseMissingKeyHandler(f):this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,i?f:void 0))}return i?(d.res=f,d.usedParams=this.getUsedParamsDetails(n),d):f}extendTranslation(e,t,n,r,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let o=Z(e)&&(n&&n.interpolation&&n.interpolation.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),s;if(o){let t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let c=n.replace&&!Z(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(c={...this.options.interpolation.defaultVariables,...c}),e=this.interpolator.interpolate(e,c,n.lng||this.language||r.usedLng,n),o){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;s<r&&(n.nest=!1)}!n.lng&&this.options.compatibilityAPI!==`v1`&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,function(){var e=[...arguments];return i&&i[0]===e[0]&&!n.context?(a.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):a.translate(...e,t)},n)),n.interpolation&&this.interpolator.reset()}let o=n.postProcess||this.options.postProcess,s=Z(o)?[o]:o;return e!=null&&s&&s.length&&n.applyPostProcessor!==!1&&(e=Db.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,r,i,a,o;return Z(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!Z(t.count),d=u&&!t.ordinal&&t.count===0&&this.pluralResolver.shouldUseIntlApi(),f=t.context!==void 0&&(Z(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!Ob[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(Ob[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(o.push(c+e),t.ordinal&&e.indexOf(i)===0&&o.push(c+e.replace(i,this.options.pluralSeparator)),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator}${t.context}`;o.push(r),u&&(o.push(r+e),t.ordinal&&e.indexOf(i)===0&&o.push(r+e.replace(i,this.options.pluralSeparator)),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!Z(e.replace),r=n?e.replace:e;if(n&&typeof e.count<`u`&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.substring(0,12)===`defaultValue`&&e[t]!==void 0)return!0;return!1}},Ab=e=>e.charAt(0).toUpperCase()+e.slice(1),jb=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=wb.create(`languageUtils`)}getScriptPartFromCode(e){if(e=Sb(e),!e||e.indexOf(`-`)<0)return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=Sb(e),!e||e.indexOf(`-`)<0)return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(Z(e)&&e.indexOf(`-`)>-1){if(typeof Intl<`u`&&typeof Intl.getCanonicalLocales<`u`)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch{}let t=[`hans`,`hant`,`latn`,`cyrl`,`cans`,`mong`,`arab`],n=e.split(`-`);return this.options.lowerCaseLng?n=n.map(e=>e.toLowerCase()):n.length===2?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Ab(n[1].toLowerCase()))):n.length===3&&(n[0]=n[0].toLowerCase(),n[1].length===2&&(n[1]=n[1].toUpperCase()),n[0]!==`sgn`&&n[2].length===2&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Ab(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Ab(n[2].toLowerCase()))),n.join(`-`)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>{if(e===n||!(e.indexOf(`-`)<0&&n.indexOf(`-`)<0)&&(e.indexOf(`-`)>0&&n.indexOf(`-`)<0&&e.substring(0,e.indexOf(`-`))===n||e.indexOf(n)===0&&n.length>1))return e})}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),Z(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return Z(e)&&(e.indexOf(`-`)>-1||e.indexOf(`_`)>-1)?(this.options.load!==`languageOnly`&&i(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&i(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&i(this.getLanguagePartFromCode(e))):Z(e)&&i(this.formatLanguageCode(e)),n.forEac
vendor: 4,502 bytes, line 265
265h(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}},Mb=[{lngs:[`ach`,`ak`,`am`,`arn`,`br`,`fil`,`gun`,`ln`,`mfe`,`mg`,`mi`,`oc`,`pt`,`pt-BR`,`tg`,`tl`,`ti`,`tr`,`uz`,`wa`],nr:[1,2],fc:1},{lngs:`af.an.ast.az.bg.bn.ca.da.de.dev.el.en.eo.es.et.eu.fi.fo.fur.fy.gl.gu.ha.hi.hu.hy.ia.it.kk.kn.ku.lb.mai.ml.mn.mr.nah.nap.nb.ne.nl.nn.no.nso.pa.pap.pms.ps.pt-PT.rm.sco.se.si.so.son.sq.sv.sw.ta.te.tk.ur.yo`.split(`.`),nr:[1,2],fc:2},{lngs:[`ay`,`bo`,`cgg`,`fa`,`ht`,`id`,`ja`,`jbo`,`ka`,`km`,`ko`,`ky`,`lo`,`ms`,`sah`,`su`,`th`,`tt`,`ug`,`vi`,`wo`,`zh`],nr:[1],fc:3},{lngs:[`be`,`bs`,`cnr`,`dz`,`hr`,`ru`,`sr`,`uk`],nr:[1,2,5],fc:4},{lngs:[`ar`],nr:[0,1,2,3,11,100],fc:5},{lngs:[`cs`,`sk`],nr:[1,2,5],fc:6},{lngs:[`csb`,`pl`],nr:[1,2,5],fc:7},{lngs:[`cy`],nr:[1,2,3,8],fc:8},{lngs:[`fr`],nr:[1,2],fc:9},{lngs:[`ga`],nr:[1,2,3,7,11],fc:10},{lngs:[`gd`],nr:[1,2,3,20],fc:11},{lngs:[`is`],nr:[1,2],fc:12},{lngs:[`jv`],nr:[0,1],fc:13},{lngs:[`kw`],nr:[1,2,3,4],fc:14},{lngs:[`lt`],nr:[1,2,10],fc:15},{lngs:[`lv`],nr:[1,2,0],fc:16},{lngs:[`mk`],nr:[1,2],fc:17},{lngs:[`mnk`],nr:[0,1,2],fc:18},{lngs:[`mt`],nr:[1,2,11,20],fc:19},{lngs:[`or`],nr:[2,1],fc:2},{lngs:[`ro`],nr:[1,2,20],fc:20},{lngs:[`sl`],nr:[5,1,2,3],fc:21},{lngs:[`he`,`iw`],nr:[1,2,20,21],fc:22}],Nb={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e===0?2:1,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3},Pb=[`v1`,`v2`,`v3`],Fb=[`v4`],Ib={zero:0,one:1,two:2,few:3,many:4,other:5},Lb=()=>{let e={};return Mb.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Nb[t.fc]}})}),e},Rb=class{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=wb.create(`pluralResolver`),(!this.options.compatibilityJSON||Fb.includes(this.options.compatibilityJSON))&&(typeof Intl>`u`||!Intl.PluralRules)&&(this.options.compatibilityJSON=`v3`,this.logger.error(`Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.`)),this.rules=Lb(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){let n=Sb(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(!e.match(/-|_/))return;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((e,t)=>Ib[e]-Ib[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):n.numbers.map(n=>this.getSuffix(e,n,t)):[]}getSuffix(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),``)}getSuffixRetroCompatible(e,t){let n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),r=e.numbers[n];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[
vendor: 20,643 bytes, line 265
2650]===1&&(r===2?r=`plural`:r===1&&(r=``));let i=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return this.options.compatibilityJSON===`v1`?r===1?``:typeof r==`number`?`_plural_${r.toString()}`:i():this.options.compatibilityJSON===`v2`||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!Pb.includes(this.options.compatibilityJSON)}},zb=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`.`,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=fb(e,t,n);return!a&&i&&Z(n)&&(a=xb(e,n,r),a===void 0&&(a=xb(t,n,r))),a},Bb=e=>e.replace(/\$/g,`$$$$`),Vb=class{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=wb.create(`interpolator`),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?gb:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?mb(i):a||`{{`,this.suffix=o?mb(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u||`-`,this.unescapeSuffix=this.unescapePrefix?``:l||``,this.nestingPrefix=d?mb(d):f||mb(`$t(`),this.nestingSuffix=p?mb(p):m||mb(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){let i=zb(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(zb(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp();let l=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>Bb(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?Bb(this.escape(e)):Bb(e)}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0){if(typeof l==`function`){let t=l(e,i,r);a=Z(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``}else!Z(a)&&!this.useRawValueToEscape&&(a=rb(a));let s=t.safeValue(a);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;let r=e.split(RegExp(`${n}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);(o&&o.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];a={...n},a=a.replace&&!Z(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(r[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(r[1])){let e=r[1].split(this.formatSeparator).map(e=>e.trim());r[1]=e.shift(),s=e,c=!0}if(i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!Z(i))return i;Z(i)||(i=rb(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),c&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}},Hb=e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf(`(`)>-1){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);t===`currency`&&i.indexOf(`:`)<0?n.currency||=i.trim():t===`relativetime`&&i.indexOf(`:`)<0?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},Ub=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(Sb(r),i),t[o]=s),s(n)}},Wb=class{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=wb.create(`formatter`),this.options=e,this.formats={number:Ub((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:Ub((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:Ub((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:Ub((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:Ub((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||`,`}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Ub(t)}format(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf(`(`)>1&&i[0].indexOf(`)`)<0&&i.find(e=>e.indexOf(`)`)>-1)){let e=i.findIndex(e=>e.indexOf(`)`)>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=Hb(t);if(this.formats[i]){let t=e;try{let o=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}},Gb=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},Kb=class extends Tb{constructor(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=wb.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{ub(n.loaded,[i],a),Gb(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();Z(e)&&(e=this.languageUtils.toResolveHierarchy(e)),Z(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(n!=null&&n!==``){if(this.backend&&this.backend.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}!e||!e[0]||this.store.addResource(e[0],t,n,r)}}},qb=()=>({debug:!1,initImmediate:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,simplifyPluralSuffix:!0,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),Z(e[1])&&(t.defaultValue=e[1]),Z(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0}}),Jb=e=>(Z(e.ns)&&(e.ns=[e.ns]),Z(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Z(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf(`cimode`)<0&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),e),Yb=()=>{},Xb=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},Zb=class e extends Tb{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Jb(e),this.services={},this.logger=wb,this.modules={external:[]},Xb(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t==`function`&&(n=t,t={}),!t.defaultNS&&t.defaultNS!==!1&&t.ns&&(Z(t.ns)?t.defaultNS=t.ns:t.ns.indexOf(`translation`)<0&&(t.defaultNS=t.ns[0]));let r=qb();this.options={...r,...this.options,...Jb(t)},this.options.compatibilityAPI!==`v1`&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);let i=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?wb.init(i(this.modules.logger),this.options):wb.init(null,this.options);let t;this.modules.formatter?t=this.modules.formatter:typeof Intl<`u`&&(t=Wb);let n=new jb(this.options);this.store=new Eb(this.options.resources,this.options);let a=this.services;a.logger=wb,a.resourceStore=this.store,a.languageUtils=n,a.pluralResolver=new Rb(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(a.formatter=i(t),a.formatter.init(a,this.options),this.options.interpolation.format=a.formatter.format.bind(a.formatter)),a.interpolator=new Vb(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new Kb(i(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on(`*`,function(t){var n=[...arguments].slice(1);e.emit(t,...n)}),this.modules.languageDetector&&(a.languageDetector=i(this.modules.languageDetector),a.languageDetector.init&&a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=i(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new kb(this.services,this.options),this.translator.on(`*`,function(t){var n=[...arguments].slice(1);e.emit(t,...n)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,n||=Yb,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let a=nb(),o=()=>{let e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),a.resolve(t),n(e,t)};if(this.languages&&this.options.compatibilityAPI!==`v1`&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?o():setTimeout(o,0),a}loadResources(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Yb,n=Z(e)?e:this.language;if(typeof e==`function`&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&n.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return t();let e=[],r=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&e.indexOf(t)<0&&e.push(t)})};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>r(e)),this.options.preload&&this.options.preload.forEach(e=>r(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),t(e)})}else t(null)}reloadResources(e,t,n){let r=nb();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=Yb,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&Db.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!([`cimode`,`dev`].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!([`cimode`,`dev`].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;let r=nb();this.emit(`languageChanging`,e);let i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(e,a)=>{a?(i(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,r.resolve(function(){return n.t(...arguments)}),t&&t(e,function(){return n.t(...arguments)})},o=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=Z(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,e=>{a(e,n)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e),r}getFixedT(e,t,n){var r=this;let i=function(e,t){let a;if(typeof t!=`object`){var o=[...arguments].slice(2);a=r.options.overloadTranslationOptionHandler([e,t].concat(o))}else a={...t};a.lng=a.lng||i.lng,a.lngs=a.lngs||i.lngs,a.ns=a.ns||i.ns,a.keyPrefix!==``&&(a.keyPrefix=a.keyPrefix||n||i.keyPrefix);let s=r.options.keySeparator||`.`,c;return c=a.keyPrefix&&Array.isArray(e)?e.map(e=>`${a.keyPrefix}${s}${e}`):a.keyPrefix?`${a.keyPrefix}${s}${e}`:e,r.t(c,a)};return Z(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;
vendor: 6,221 bytes, line 265
265if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=nb();return this.options.ns?(Z(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=nb();Z(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return`rtl`;let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services&&this.services.languageUtils||new jb(qb());return t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(){return new e(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Yb,r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},a=new e(i);return(t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new Eb(this.store.data,i),a.services.resourceStore=a.store),a.translator=new kb(a.services,i),a.translator.on(`*`,function(e){var t=[...arguments].slice(1);a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}},Qb=Zb.createInstance();Qb.createInstance=Zb.createInstance,Qb.createInstance,Qb.dir,Qb.init,Qb.loadResources,Qb.reloadResources,Qb.use,Qb.changeLanguage,Qb.getFixedT,Qb.t,Qb.exists,Qb.setDefaultNamespace,Qb.hasLoadedNamespace,Qb.loadNamespaces,Qb.loadLanguages;var $b={supportedLngs:[`de`,`en`],fallbackLng:`en`,defaultNS:`common`,react:{useSuspense:!1}},ex={en:{common:{CHART_TYPE_TOOLTIP_LINE:`Change the visualization to a line chart.`,CHART_TYPE_TOOLTIP_LINE_ZOOMABLE:`Change the visualization to a zoomable line chart.`,CHART_TYPE_TOOLTIP_TABLE:`Change the visualization to a table.`,CHART_TYPE_TOOLTIP_COLUMN:`Change the visualization to a column chart.`,CHART_TYPE_TOOLTIP_COLUMN_ZOOMABLE:`Change the visualization to a zoomable column chart.`,CHART_TYPE_TOOLTIP_BAR:`Change the visualization to a bar chart.`,CHART_TYPE_TOOLTIP_STACKED_BAR:`Change the visualization to a stacked bar chart.`,CHART_TYPE_TOOLTIP_STACKED_COLUMN:`Change the visualization to a stacked column chart.`,CHART_TYPE_TOOLTIP_PIE:`Change the visualization to a pie chart.`,CHART_TYPE_TOOLTIP_STACKED_AREA:`Change the visualization to a stacked area chart.`,CHART_TYPE_TOOLTIP_DUAL_Y_AXIS:`Change the visualization to a dual y-axis chart.`,CHART_TYPE_TOOLTIP_LINE_WITH_ANNOTATIONS:`Change the visualization to a line chart with annotations.`,CHART_TYPE_TOOLTIP_COLUMN_WITH_ANNOTATIONS:`Change the visualization to a column chart with annotations.`,LIVE_REGION_SWITCH_CHART_TYPE_MESSAGE:`Switched to {{chartType}} view`,LIVE_REGION_CATEGORY_FILTER_OPENED:`The category filter has been opened`,LIVE_REGION_CATEGORY_FILTER_CLOSED:`The category filter has been closed`,LIVE_REGION_CATEGORY_FILTER_ACCESS_RESTRICTED:`Access to the category filter has been restricted`,LIVE_REGION_ALL_CATEGORIES_SELECTED:`All categories have been selected`,LIVE_REGION_ALL_CATEGORIES_DESELECTED:`All categories have been deselected`,LIVE_REGION_CATEGORIE_SELECTED:`The following category has been selected:`,LIVE_REGION_CATEGORIE_DESELECTED:`The following category has been deselected:`,LIVE_REGION_COPY_FOR_AI_SUCCESS:`The data has been successfully processed for the AI and copied to the clipboard`,LIVE_REGION_COPY_DATA_SUCCESS:`The data has been successfully copied to the clipboard`,CHART_TYPE_TOOLTIP_LINE_ARIA_LABEL:`Change the visualization to a line chart.`,CHART_TYPE_TOOLTIP_LINE_ZOOMABLE_ARIA_LABEL:`Change the visualization to a zoomable line chart.`,CHART_TYPE_TOOLTIP_TABLE_ARIA_LABEL:`Change the visualization to a table.`,CHART_TYPE_TOOLTIP_COLUMN_ARIA_LABEL:`Change the visualization to a column chart.`,CHART_TYPE_TOOLTIP_COLUMN_ZOOMABLE_ARIA_LABEL:`Change the visualization to a zoomable column chart.`,CHART_TYPE_TOOLTIP_BAR_ARIA_LABEL:`Change the visualization to a bar chart.`,CHART_TYPE_TOOLTIP_STACKED_BAR_ARIA_LABEL:`Change the visualization to a stacked bar chart.`,CHART_TYPE_TOOLTIP_STACKED_COLUMN_ARIA_LABEL:`Change the visualization to a stacked column chart.`,CHART_TYPE_TOOLTIP_PIE_ARIA_LABEL:`Change the visualization to a pie chart.`,CHART_TYPE_TOOLTIP_STACKED_AREA_ARIA_LABEL:`Change the visualization to a stacked area chart.`,CHART_TYPE_TOOLTIP_DUAL_Y_AXIS_ARIA_LABEL:`Change the visualization to a dual y-axis chart.`,CHART_TYPE_TOOLTIP_LINE_WITH_ANNOTATIONS_ARIA_LABEL:`Change the visualization to a line chart with annotations.`,CHART_TYPE_TOOLTIP_COLUMN_WITH_ANNOTATIONS_ARIA_LABEL:`Change the visualization to a column chart with annotations.`,LABELS_ALL_OPTIONS:`All c
265ategories`,MULTIPLE_CATEGORIES_SELECTED:`categories`,ONE_CATEGORY_SELECTED:`category`,SELECT_ALL_CATEGORIES:`Select all categories`,DESELECT_ALL_CATEGORIES:`Deselect all categories`,NO_CATEGORY_FOUND:`No items found`,FILTER_CATEGORY:`Filter by text...`,ARIA_LABEL_CATEGORY_FILTER_BUTTON:`Category filter button`,ARIA_LABEL_SELECT_ALL_CATEGORIES:`Select all categories`,ARIA_LABEL_DESELECT_ALL_CATEGORIES:`Deselect all categories`,ARIA_LABEL_NO_CATEGORY_FOUND:`No items found`,ARIA_LABEL_FILTER_CATEGORY:`Filter by text...`,ARIA_LABEL_CATEGORY_SELECTION:`Select categories`,ARIA_LABEL_SELECT_THIS_CATEGORY:`Select {$category} category`,ARIA_LABEL_DESELECT_THIS_CATEGORY:`Deselect {$category} category`,ARIA_LABEL_SHOW_ITEM:`select`,ARIA_LABEL_HIDE_ITEM:`deselect`,SOURCE_DETAILS:`Details`,ARIA_LABEL_SOURCE_DETAILS:`Click here to show source details.`,CLOSE_SOURCE_DETAILS_PANEL:`Hide Panel`,CHART_ACTIONS_LABEL:`Chart actions`,CHART_CONTAINER_LABEL:`Chart. Highcharts interactive chart.`,HIDE_PANEL:`Hide Panel`,ARIA_LABEL_HIDE_PANEL:`Click here to hide panel.`,ARIA_LABEL_SOURCE:`Click here to show the source.`,ARIA_LABEL_SOURCES:`Click here to show sources.`,SURVEY_DETAILS:`Details`,ARIA_LABEL_SURVEY_DETAILS:`Click here to show the details.`,STATISTIC_DETAILS:`Details`,ARIA_LABEL_STATISTIC_DETAILS:`Click here to show the details.`,SURVEY_BY:`Conducted by`,SURVEY_NAME:`Survey name`,SOURCE_NAME:`Source name`,SURVEY_TIME_PERIOD:`Survey period`,COVERAGE_PERIOD:`Coverage period`,SURVEY_NUMBER_OF_RESPONDENTS:`Number of respondents`,SURVEY_AGE_GROUP:`Age group`,SURVEY_METHOD_OF_INTERVIEW:`Method of interview`,SURVEY_SPECIAL_PROPERTIES:`Special properties`,CITATIONS:`Citations`,ARIA_LABEL_CITATIONS:`Click here to show citations.`,CONTENTS_COPY_CITATION:`Copy Citation`,ARIA_LABEL_CONTENTS_COPY_CITATION:`Click here to copy citation.`,SWITCH_CHART_TYPE_LABEL:`Switch chart type`,TYPE_COLUMN:`Column`,TYPE_COLUMNZOOMABLE:`Zoomable Column`,TYPE_STACKEDCOLUMN:`Stacked column`,TYPE_STACKEDBAR:`Stacked bar`,TYPE_BAR:`Bar`,TYPE_LINE:`Line`,TYPE_LINEZOOMABLE:`Zoomable Line`,TYPE_PIE:`Pie`,TYPE_TABLE:`Table`,TYPE_STACKEDAREA:`Stacked area`,TYPE_DUALYAXIS:`Dual Y Axis`,TYPE_LINEWITHANNOTATIONS:`Line with annotations`,TYPE_COLUMNWITHANNOTATIONS:`Column with annotations`,DOWNLOAD:`Download`,ARIA_LABEL_DOWNLOAD:`Download chart`,DOWNLOAD_LABEL_CSV:`CSV`,DOWNLOAD_LABEL_SVG:`Graphic (SVG)`,DOWNLOAD_LABEL_PNG:`Graphic (PNG)`,DOWNLOAD_LABEL_PDF:`PDF`,DOWNLOAD_LABEL_XLSX:`Excel`,DOWNLOAD_LABEL_PPT:`PowerPoint`,ARIA_LABEL_DOWNLOAD_LABEL_CSV:`Download CSV file`,ARIA_LABEL_DOWNLOAD_LABEL_SVG:`Download SVG file`,ARIA_LABEL_DOWNLOAD_LABEL_PNG:`Download PNG file`,ARIA_LABEL_DOWNLOAD_LABEL_PDF:`Download PDF file`,ARIA_LABEL_DOWNLOAD_LABEL_XLSX:`Download XLSX file`,ARIA_LABEL_DOWNLOAD_LABEL_PPT:`Download PPT file`,CONTENTS_SHARE:`Share`,CONTENTS_SHARE_AFTER_MESSAGE:`The URL has been copied to your clipboard.`,ARIA_LABEL_CONTENTS_SHARE:`Share this content`,INVERT_TABLE:`Invert table`,SHOW_LABELS:`Show labels`,HIDE_LABELS:`Hide labels`,ARIA_LABEL_SHOW_LABELS:`Show labels`,ARIA_LABEL_HIDE_LABELS:`Hide labels`,HIDE_LABELS_MESSAGE:`Labels are now hidden`,SHOW_LABELS_MESSAGE:`Labels are now shown`,SHOW_TOTAL:`Show Total`,HIDE_TOTAL:`Hide Total`,ARIA_LABEL_SHOW_TOTAL:`Show Total`,ARIA_LABEL_HIDE_TOTAL:`Hide Total`,SHOW_TOTAL_MESSAGE:`Total is now hidden`,HIDE_TOTAL_MESSAGE:`Total is now visible`,CONTENTS_COPY_DATA:`Copy data`,CONTENTS_COPY_FOR_AI:`Copy for AI`,CONTENTS_COPIED:`Data has been copied to clipboard!`,CONTENTS_COPY_FOR_AI_COPIED:`Prompt has been copied to clipboard!`,PPT_DOWNLOAD_UNAVAILABLE:`PowerPoint download is currently unavailable for this chart.`,ARIA_LABEL_CONTENTS_COPY_DATA:`Copy data`,ARIA_LABEL_CONTENTS_COPY_FOR_AI:`Copy data for AI`,CLOSE:`Close`,ARIA_LABEL_CLOSE:`Close`,VISIT_PAGE:`Visit the full version`,ARIA_LABEL_VISIT_PAGE:`Visit the full version`,ASK_RESEARCH_AI:`Ask Research AI`,ARIA_LABEL_ASK_RESEARCH_AI:`Ask Research AI `,OTHER:`Other`,MOST_RECENT_UPDATE:`Last updated`,SOURCE:`Source`,SOURCES:`Sources`,IPP_SOURCES:`Show sources & publisher information`,FULLSCREEN:`Fullscreen`,FULLSCREEN_ENTER_MESSAGE:`Entered fullscreen mode`,FULLSCREEN_EXIT_MESSAGE:`Exited fullscreen mode`,ARIA_LABEL_FULLSCREEN:`Fullscreen`,PREVIEW:`Preview`,REGIONS:`Regions`,REGION:`Region`,UNABLE_TO_RENDER_CHART:`Currently unable to load the chart. Please try again in a moment. 266If the problem persists, refresh the page or contact support.`,UNABLE_TO_RENDER_PIE_CHART:`Pie charts can only display one series. Please select a different chart type.`,SHEET:`SHEET1`,CITATION_RETRIEVED_FROM:`Retrieved from`,ADDITIONAL_INFORMATION:`Additional information`,PUBLISHED_BY:`Published by`,SOURCE_LINK:`Source link`,SOURCE_LINKS:`Source links`,RELEASE_DATE:`Source release date`,SUPPLEMENTARY_NOTES:`Supplementary notes`,ARIA_DESCRIBEDBY_SORT_HELP:`Press Enter or Space on a column header to sort.`,ARIA_LABEL_PAYWALL_PROTECTED_CHART:`Paywall protected chart`,EXPAND_CHART:`Expand chart`,MINIMIZE_CHART:`Minimize chart`,ORIGINAL_SOURCE:`Original data`,ARIA_LABEL_ORIGINAL_SOURCE:`Link to original data`,VISIT_ORIGINAL_SOURCE:`Visit original chart`,SOURCES_LINKS_DESCRIPTION:`About generated charts`,CHARACTERISTICS:`Characteristics`,REPORT_PROBLEM_LINK_TEXT:`Report a problem`,LINK:`Link`,CITATIONS_BUTTON_TEXT:`Citations`,ARIA_LABEL_CITATIONS_BUTTON:`Open citations`,PARTNER_LOGO:`Partner Logo`,MORE_SOURCES:`More sources`}
266,table:{STATISTIC_DISPLAYED_TABLE_ENTRIES:`Showing entries {{start}} to {{end}} ({{total}} entries in total)`}},de:{common:{CHART_TYPE_TOOLTIP_LINE:`Ãndern Sie die Darstellung zu einem Liniendiagramm.`,CHART_TYPE_TOOLTIP_LINE_ZOOMABLE:`Ãndern Sie die Darstellung zu einem zoombaren Liniendiagramm.`,CHART_TYPE_TOOLTIP_TABLE:`Ãndern Sie die Darstellung zu einer Tabelle.`,CHART_TYPE_TOOLTIP_COLUMN:`Ãndern Sie die Darstellung zu einem Säulendiagramm.`,CHART_TYPE_TOOLTIP_COLUMN_ZOOMABLE:`Ãndern Sie die Darstellung zu einem zoombaren Säulendiagramm.`,CHART_TYPE_TOOLTIP_BAR:`Ãndern Sie die Darstellung zu einem Balkendiagramm.`,CHART_TYPE_TOOLTIP_STACKED_BAR:`Ãndern Sie die Darstellung zu einem Balkendiagramm (gestapelt).`,CHART_TYPE_TOOLTIP_STACKED_COLUMN:`Ãndern Sie die Darstellung zu einem Säulendiagramm (gestapelt).`,CHART_TYPE_TOOLTIP_PIE:`Ãndern Sie die Darstellung zu einem Kreisdiagramm.`,CHART_TYPE_TOOLTIP_STACKED_AREA:`Ãndern Sie die Darstellung zu einem Flächendiagramm (gestapelt).`,CHART_TYPE_TOOLTIP_DUAL_Y_AXIS:`Ãndern Sie die Darstellung zu einem Diagramm mit dualer Y-Achse.`,CHART_TYPE_TOOLTIP_LINE_WITH_ANNOTATIONS:`Ãndern Sie die Darstellung zu einem Liniendiagramm mit Anmerkungen.`,CHART_TYPE_TOOLTIP_COLUMN_WITH_ANNOTATIONS:`Ãndern Sie die Darstellung zu einem Säulendiagramm mit Anmerkungen.`,LIVE_REGION_SWITCH_CHART_TYPE_MESSAGE:`Zu {{chartType}}-Ansicht gewechselt`,LIVE_REGION_CATEGORY_FILTER_OPENED:`Kategorie Filter wurde geöffnet`,LIVE_REGION_CATEGORY_FILTER_CLOSED:`Kategorie Filter wurde geschlossen`,LIVE_REGION_CATEGORY_FILTER_ACCESS_RESTRICTED:`Zugriff auf Kategorie Filter eingeschränkt`,LIVE_REGION_ALL_CATEGORIES_SELECTED:`Alle Kategorien wurden ausgewählt`,LIVE_REGION_ALL_CATEGORIES_DESELECTED:`Alle Kategorien wurden abgewählt`,LIVE_REGION_CATEGORIE_SELECTED:`Folgende Kategorie wurde ausgewählt:`,LIVE_REGION_CATEGORIE_DESELECTED:`Folgende Kategorie wurde abgewählt:`,LIVE_REGION_COPY_FOR_AI_SUCCESS:`Daten wurden erfolgreich für KI aufbereitet und in die Zwischenablage kopiert`,LIVE_REGION_COPY_DATA_SUCCESS:`Daten wurden erfolgreich in die Zwischenablage kopiert`,CHART_TYPE_TOOLTIP_LINE_ARIA_LABEL:`Darstellung zu einem Liniendiagramm ändern.`,CHART_TYPE_TOOLTIP_LINE_ZOOMABLE_ARIA_LABEL:`Darstellung zu einem zoombaren Liniendiagramm ändern.`,CHART_TYPE_TOOLTIP_TABLE_ARIA_LABEL:`Darstellung zu einer Tabelle ändern.`,CHART_TYPE_TOOLTIP_COLUMN_ARIA_LABEL:`Darstellung zu einem Säulendiagramm ändern.`,CHART_TYPE_TOOLTIP_COLUMN_ZOOMABLE_ARIA_LABEL:`Darstellung zu einem zoombaren Säulendiagramm ändern.`,CHART_TYPE_TOOLTIP_BAR_ARIA_LABEL:`Darstellung zu einem Balkendiagramm ändern.`,CHART_TYPE_TOOLTIP_STACKED_BAR_ARIA_LABEL:`Darstellung zu einem Balkendiagramm (gestapelt) ändern.`,CHART_TYPE_TOOLTIP_STACKED_COLUMN_ARIA_LABEL:`Darstellung zu einem Säulendiagramm (gestapelt) ändern.`,CHART_TYPE_TOOLTIP_PIE_ARIA_LABEL:`Darstellung zu einem Kreisdiagramm ändern.`,CHART_TYPE_TOOLTIP_STACKED_AREA_ARIA_LABEL:`Darstellung zu einem Flächendiagramm (gestapelt) ändern.`,CHART_TYPE_TOOLTIP_DUAL_Y_AXIS_ARIA_LABEL:`Darstellung zu einem Diagramm mit dualer Y-Achse ändern.`,CHART_TYPE_TOOLTIP_LINE_WITH_ANNOTATIONS_ARIA_LABEL:`Darstellung zu einem Liniendiagramm mit Anmerkungen ändern.`,CHART_TYPE_TOOLTIP_COLUMN_WITH_ANNOTATIONS_ARIA_LABEL:`Darstellung zu einem Säulendiagramm mit Anmerkungen ändern.`,LABELS_ALL_OPTIONS:`Alle anzeigen`,MULTIPLE_CATEGORIES_SELECTED:`Kategorien`,ONE_CATEGORY_SELECTED:`Kategorie`,SELECT_ALL_CATEGORIES:`Alle Kategorien auswählen`,DESELECT_ALL_CATEGORIES:`Alle Kategorien abwählen`,NO_CATEGORY_FOUND:`Keine Kategorien gefunden`,FILTER_CATEGORY:`Nach Text filtern...`,ARIA_LABEL_CATEGORY_FILTER_BUTTON:`Katergorie Filter Button`,ARIA_LABEL_SELECT_ALL_CATEGORIES:`Alle Kategorien auswählen`,ARIA_LABEL_DESELECT_ALL_CATEGORIES:`Alle Kategorien abwählen`,ARIA_LABEL_NO_CATEGORY_FOUND:`Keine Kategorien gefunden`,ARIA_LABEL_FILTER_CATEGORY:`Nach Text filtern...`,ARIA_LABEL_CATEGORY_SELECTION:`Kategorien wählen`,ARIA_LABEL_SELECT_THIS_CATEGORY:`Kategorie {$category} auswählen`,ARIA_LABEL_DESELECT_THIS_CATEGORY:`Kategorie {$category} abwählen`,ARIA_LABEL_SHOW_ITEM:`einblenden`,ARIA_LABEL_HIDE_ITEM:`ausblenden`,SOURCE_DETAILS:`Details`,ARIA_LABEL_SOURCE_DETAILS:`Hier klicken, um die Quellendetails einzublenden.`,CLOSE_SOURCE_DETAILS_PANEL:`SchlieÃen`,CHART_ACTIONS_LABEL:`Diagrammaktionen`,CHART_CONTAINER_LABEL:`Diagramm. Interaktives Highcharts-Diagramm.`,HIDE_PANEL:`SchlieÃen`,ARIA_LABEL_HIDE_PANEL:`Hier klicken, um das Panel auszublenden`,ARIA_LABEL_SOURCE:`Hier klicken, um die Quelle anzuzeigen.`,ARIA_LABEL_SOURCES:`Hier klicken, um die Quellen anzuzeigen.`,SURVEY_DETAILS:`Details`,ARIA_LABEL_SURVEY_DETAILS:`Hier klicken, um die Details einzublenden.`,STATISTIC_DETAILS:`Details`,ARIA_LABEL_STATISTIC_DETAILS:`Hier klicken, um die Details einzublenden.`,SURVEY_BY:`Erhebung durch`,SURVEY_NAME:`Name der Umfrage`,SOURCE_NAME:`Name der Quelle`,SURVEY_TIME_PERIOD:`Erhebungszeitraum`,COVERAGE_PERIOD:`Erhebungszeitraum`,SURVEY_NUMBER_OF_RESPONDENTS:`Anzahl der Befragten`,SURVEY_AGE_GROUP:`Altersgruppe`,SURVEY_METHOD_OF_INTERVIEW:`Methode der Befragung`,SURVEY_SPECIAL_PROPERTIES:`Besondere Eigenschaften`,CITATIONS:`Zitate`,ARIA_LABEL_CITATIONS:`Hier klicken, um die Zitationsfunktion einzublenden.`,CONTENTS_COPY_CITATION:`Zitat kopieren`,ARIA_LABEL_CONTENTS_COPY_CITATION:`Hier klicken, um die Zitation zu kopieren.`,SWITCH_CHART_TYPE_LABEL:`Diagrammtyp ändern`,TYPE_COLUMN:`Balken/Säule`,TYPE_COLUMNZOOMABLE:`Zoombare Säule`,TYPE_STACKEDCOLUMN:`Stapelsäule`,TYPE_STACKEDBAR:`Stapelbalken`,TYPE_BAR:`Balken`,TYPE_LINE:`Linie`,TYPE_LINEZOOMABLE:`Zoombare Linie`,TYPE_TABLE:`Tabelle`,TYPE_PIE:`Kreisdiagramm`,TYPE_STACKEDAREA:`Stapelfläche`,TYPE_DUALYAXIS:`Duale Y-Achse`,TYPE_LINEWITHANNOTATIONS:`
266Linie mit Anmerkungen`,TYPE_COLUMNWITHANNOTATIONS:`Säule mit Anmerkungen`,DOWNLOAD:`Herunterladen`,ARIA_LABEL_DOWNLOAD:`Diagramm herunterladen`,DOWNLOAD_LABEL_CSV:`CSV`,DOWNLOAD_LABEL_SVG:`Grafik (SVG)`,DOWNLOAD_LABEL_PNG:`Grafik (PNG)`,DOWNLOAD_LABEL_PDF:`PDF`,DOWNLOAD_LABEL_XLSX:`XLSX`,DOWNLOAD_LABEL_PPT:`PPT`,ARIA_LABEL_DOWNLOAD_LABEL_CSV:`CSV Datei herunterladen`,ARIA_LABEL_DOWNLOAD_LABEL_SVG:`SVG Grafik herunterladen`,ARIA_LABEL_DOWNLOAD_LABEL_PNG:`PNG Grafik herunterladen`,ARIA_LABEL_DOWNLOAD_LABEL_PDF:`PDF Datei herunterladen`,ARIA_LABEL_DOWNLOAD_LABEL_XLSX:`XLSX Datei herunterladen`,ARIA_LABEL_DOWNLOAD_LABEL_PPT:`PPT Datei herunterladen`,CONTENTS_SHARE:`Teilen`,CONTENTS_SHARE_AFTER_MESSAGE:`Die URL wurde in Ihre Zwischenablage kopiert.`,ARIA_LABEL_CONTENTS_SHARE:`Diesen Inhalt teilen`,INVERT_TABLE:`Tabelle invertieren`,SHOW_LABELS:`Datenpunkte einblenden`,HIDE_LABELS:`Datenpunkte ausblenden`,ARIA_LABEL_SHOW_LABELS:`Datenpunkte einblenden`,ARIA_LABEL_HIDE_LABELS:`Datenpunkte ausblenden`,HIDE_LABELS_MESSAGE:`Beschriftungen sind jetzt ausgeblendet`,SHOW_LABELS_MESSAGE:`Beschriftungen werden jetzt angezeigt`,SHOW_TOTAL:`Total einblenden`,HIDE_TOTAL:`Total ausblenden`,ARIA_LABEL_SHOW_TOTAL:`Total einblenden`,ARIA_LABEL_HIDE_TOTAL:`Total ausblenden`,HIDE_TOTAL_MESSAGE:`Total ist jetzt ausgeblendet`,SHOW_TOTAL_MESSAGE:`Total wird jetzt angezeigt`,CONTENTS_COPY_DATA:`Daten kopieren`,CONTENTS_COPY_FOR_AI:`Für AI kopieren`,CONTENTS_COPIED:`Daten wurden in die Zwischenablage kopiert!`,CONTENTS_COPY_FOR_AI_COPIED:`Prompt wurde in die Zwischenablage kopiert!`,PPT_DOWNLOAD_UNAVAILABLE:`Der PowerPoint-Download ist für dieses Diagramm aktuell nicht verfügbar.`,ARIA_LABEL_CONTENTS_COPY_DATA:`Daten kopieren`,ARIA_LABEL_CONTENTS_COPY_FOR_AI:`Daten für AI kopieren`,CLOSE:`SchlieÃen`,ARIA_LABEL_CLOSE:`SchlieÃen`,VISIT_PAGE:`Besuchen Sie die Vollversion`,ARIA_LABEL_VISIT_PAGE:`Besuchen Sie die Vollversion`,ASK_RESEARCH_AI:`Research AI fragen`,ARIA_LABEL_ASK_RESEARCH_AI:`Research AI fragen`,OTHER:`Sonstige`,MOST_RECENT_UPDATE:`Letztes Update`,SOURCE:`Quelle`,SOURCES:`Quellen`,IPP_SOURCES:`Quellen- und Herausgeberinformationen anzeigen`,FULLSCREEN:`Vollbild`,FULLSCREEN_ENTER_MESSAGE:`Vollbildmodus aktiviert`,FULLSCREEN_EXIT_MESSAGE:`Vollbildmodus beendet`,ARIA_LABEL_FULLSCREEN:`Vollbildmodus`,PREVIEW:`Vorschau`,REGIONS:`Regionen`,REGION:`Region`,UNABLE_TO_RENDER_CHART:`Die Darstellung kann derzeit nicht geladen werden. Bitte versuchen Sie es in Kürze erneut. 267Sollte das Problem weiterhin bestehen, aktualisieren Sie die Seite oder wenden Sie sich an den Support.`,UNABLE_TO_RENDER_PIE_CHART:`Kreisdiagramme können nur eine Serie anzeigen. Bitte wählen Sie einen anderen Diagrammtyp.`,SHEET:`Tabelle1`,CITATION_RETRIEVED_FROM:`Abgerufen von`,ADDITIONAL_INFORMATION:`Zusätzliche Informationen`,PUBLISHED_BY:`Herausgegeben von`,SOURCE_LINK:`Herkunftsverweis`,SOURCE_LINKS:`Herkunftsverweise`,RELEASE_DATE:`Veröffentlichungsd
267atum der Quelle`,SUPPLEMENTARY_NOTES:`Hinweise und Anmerkungen anzeigen`,ARIA_DESCRIBEDBY_SORT_HELP:`Eingabe- oder Leertaste auf einer Spaltenüberschrift drücken, um zu sortieren.`,ARIA_LABEL_PAYWALL_PROTECTED_CHART:`Diagramm, das durch eine Paywall geschützt ist`,EXPAND_CHART:`Diagramm vergröÃern`,MINIMIZE_CHART:`Diagramm minimieren`,ORIGINAL_SOURCE:`Originaldaten`,ARIA_LABEL_ORIGINAL_SOURCE:`Link zu den Originaldaten`,VISIT_ORIGINAL_SOURCE:`Originaldaten besuchen`,SOURCES_LINKS_DESCRIPTION:`Beschreibung der Quellen- und Herkunftsverweise`,CHARACTERISTICS:`Merkmal`,REPORT_PROBLEM_LINK_TEXT:`Problem melden`,LINK:`Link`,CITATIONS_BUTTON_TEXT:`Quellen`,ARIA_LABEL_CITATIONS_BUTTON:`Quellen öffnen`,PARTNER_LOGO:`Partner Logo`,MORE_SOURCES:`Weitere Quellen`},table:{STATISTIC_DISPLAYED_TABLE_ENTRIES:`Es werden die Daten {{start}} bis {{end}} angezeigt von insgesamt {{total}}`}}};function tx(e){let t=e.toLowerCase().split(`-`)[0];return t===`de`||t===`en`?t:$b.fallbackLng}var nx=({children:e,locale:t})=>{let[n]=(0,I.useState)(()=>Qb.createInstance()),[r,i]=(0,I.useState)(!1);return(0,I.useEffect)(()=>{let e=!1;return(async()=>{let r=tx(t);n.isInitialized?n.language!==r&&await n.changeLanguage(r):await n.init({...$b,resources:ex,ns:[`common`,`table`],lng:r,fallbackLng:$b.fallbackLng,defaultNS:$b.defaultNS,react:{useSuspense:!1},interpolation:{escapeValue:!1}}),e||i(!0)})().catch(t=>{console.error(`Failed to initialize chart i18n`,t),e||i(!0)}),()=>{e=!0}},[n,t]),r?(0,L.jsx)(x,{i18n:n,children:e}):(0,L.jsx)(L.Fragment,{children:e})},rx=`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='0'%20height='0'%3e%3csymbol%20id='12-reg-chevron-down'%20fill='none'%20viewBox='0%200%2012%2012'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M6%209a.5.5%200%200%201-.376-.17l-3.5-4a.5.5%200%201%201%20.752-.66L6%207.74l3.124-3.57a.5.5%200%201%201%20.752.66l-3.5%204A.5.5%200%200%201%206%209z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3csymbol%20id='12-reg-chevron-up'%20fill='none'%20viewBox='0%200%2012%2012'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M6%203a.5.5%200%200%201%20.376.17l3.5%204a.5.5%200%200%201-.752.66L6%204.26%202.876%207.83a.5.5%200%200%201-.752-.66l3.5-4A.5.5%200%200%201%206%203z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3csymbol%20id='16-bold-check-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M12.707%204.793a1%201%200%200%201%200%201.414l-5%205a1%201%200%200%201-1.414%200l-2.5-2.5a1%201%200%200%201%201.414-1.414L7%209.086l4.293-4.293a1%201%200%200%201%201.414%200z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3csymbol%20id='16-bold-cross-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20d='M5.707%204.293a1%201%200%200%200-1.414%201.414L6.586%208l-2.293%202.293a1%201%200%201%200%201.414%201.414L8%209.414l2.293%202.293a1%201%200%200%200%201.414-1.414L9.414%208l2.293-2.293a1%201%200%200%200-1.414-1.414L8%206.586%205.707%204.293z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-bold-download-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20d='M9%207.586V3a1%201%200%200%200-2%200v4.586l-.793-.793a1%201%200%200%200-1.414%201.414l2.5%202.5a1%201%200%200%200%201.414%200l2.5-2.5a1%201%200%200%200-1.414-1.414L9%207.586zM4%2013a1%201%200%200%201%201-1h6.5a1%201%200%201%201%200%202H5a1%201%200%200%201-1-1z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-bold-mag-glass-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M2%207a5%205%200%200%200%207.757%204.171l2.536%202.536a1%201%200%200%200%201.414-1.414l-2.536-2.536A5%205%200%201%200%202%207zm2.879%202.121A3%203%200%201%201%209.12%204.88%203%203%200%200%201%204.88%209.12z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3csymbol%20id='16-bold-visibility-off'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M3.293%203.293a1%201%200%200%201%201.414%200l8%208a1%201%200%200%201-1.414%201.414l-.77-.77A5.842%205.842%200%200%201%208%2012.5c-2.118%200-3.615-1.068-4.545-2.07a8.192%208.192%200%200%201-1.278-1.832%205.024%205.024%200%200%201-.086-.182l-.007-.013-.002-.005v-.002S2.08%208.394%202.997%208l-.917.393a1.001%201.001%200%200%201%200-.788L3%208l-.919-.394v-.002l.002-.003.003-.007.01-.02a3.86%203.86%200%200%201%20.138-.284c.095-.18.234-.426.422-.707.27-.405.649-.895%201.148-1.365l-.511-.51a1%201%200%200%201%200-1.415zm5.03%206.445l.645.644c-.298.075-.62.118-.968.118-1.382%200-2.385-.682-3.08-1.43a6.194%206.194%200%200%201-.772-1.035L4.128%208a6.177%206.177%200%200%201%201.09-1.367L6.28%207.694a1.748%201.748%200%200%200%202.043%202.044z'%20clip-rule='evenodd'%20/%3e%3cpath%20fill='currentColor'%20d='M7.505%204.426a1%201%200%200%201%201.093-.897c1.91.189%203.249%201.245%204.08%202.188a8.227%208.227%200%200%201%201.153%201.702%204.5
26752%204.552%200%200%201%20.079.166l.005.013.003.005v.001S13.92%207.606%2013%208l.919.394-.002.004-.003.007-.007.017-.025.055a7.653%207.653%200%200%201-.432.778%201%201%200%200%201-1.69-1.072c.042-.065.08-.126.112-.183a6.232%206.232%200%200%200-.693-.96c-.633-.717-1.543-1.399-2.777-1.52a1%201%200%200%201-.897-1.094z'%20/%3e%3cpath%20fill='currentColor'%20d='M13.919%208.394a1%201%200%200%200%200-.788l-.92.394.92.394z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-bold-visibility-on'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20d='M8%209.732a1.75%201.75%200%201%200%200-3.5%201.75%201.75%200%200%200%200%203.5z'%20/%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M13.919%207.605c.108.252.108.537%200%20.789L13%208c.92.394.919.395.918.396v.002l-.003.005-.006.013a2.617%202.617%200%200%201-.086.182%208.192%208.192%200%200%201-1.278%201.833C11.615%2011.431%2010.118%2012.5%208%2012.5s-3.615-1.068-4.545-2.07a8.195%208.195%200%200%201-1.278-1.832%205.026%205.026%200%200%201-.086-.182l-.006-.013-.003-.005v-.002l-.001-.002L2.999%208l-.918.394a1%201%200%200%201%200-.788L2.999%208c-.919-.394-.918-.395-.917-.396v-.002l.003-.005.006-.013a3.106%203.106%200%200%201%20.086-.182A8.193%208.193%200%200%201%203.455%205.57C4.385%204.569%205.882%203.5%208%203.5s3.615%201.068%204.545%202.07a8.19%208.19%200%200%201%201.278%201.832%204.889%204.889%200%200%201%20.086.182l.006.013.003.005v.003zM4.92%206.93c-.347.374-.603.751-.772%201.035L4.128%208l.02.035c.169.284.425.66.772%201.035.695.748%201.698%201.43%203.08%201.43%201.382%200%202.385-.682%203.08-1.43a6.19%206.19%200%200%200%20.772-1.035l.02-.035-.02-.035a6.19%206.19%200%200%200-.772-1.035C10.385%206.182%209.382%205.5%208%205.5c-1.382%200-2.385.682-3.08%201.43zM13%208c.92-.394.919-.394.919-.395L13%208z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3csymbol%20id='16-fill-cross-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20d='M11.146%204.146a.5.5%200%200%201%20.708.708L8.707%208l3.147%203.146a.5.5%200%200%201-.708.708L8%208.707l-3.146%203.147a.5.5%200%200%201-.708-.708L7.293%208%204.146%204.854a.5.5%200%201%201%20.708-.708L8%207.293l3.146-3.147z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-fill-favorite'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20d='M8.457%202.796a.5.5%200%200%200-.914%200L6.141%205.942l-3.424.361a.5.5%200%200%200-.283.869l2.558%202.305-.714%203.369a.5.5%200%200%200%20.739.537L8%2011.663l2.983%201.72a.5.5%200%200%200%20.739-.537l-.715-3.369%202.558-2.305a.5.5%200%200%200-.282-.869L9.86%205.942%208.457%202.796z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-fill-funnel-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20d='M3.5%203a.5.5%200%200%200-.376.829L6.5%207.687V12.5a.5.5%200%200%200%20.854.354l2-2A.5.5%200%200%200%209.5%2010.5V7.688l3.376-3.858a.5.5%200%200%200-.376-.83h-9z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-reg-copy'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M10.5%2010.4996H13.5V2.49957H5.5V5.49957'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.5%205.49963H2.5V13.4996H10.5V5.49963Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/symbol%3e%3csymbol%20id='16-reg-funnel-normal'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M3.045%203.293A.5.5%200%200%201%203.5%203h9a.5.5%200%200%201%20.376.829L9.5%207.687V10.5a.5.5%200%200%201-.146.354l-2%202A.5.5%200%200%201%206.5%2012.5V7.687L3.124%203.83a.5.5%200%200%201-.08-.536zM4.602%204l2.774%203.17a.5.5%200%200%201%20.124.33v3.792l1-1V7.5a.5.5%200%200%201%20.124-.33L11.398%204H4.602z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3csymbol%20id='16-reg-info'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M8%2014A6%206%200%201%200%208%202a6%206%200%200%200%200%2012zm0%201A7%207%200%201%200%208%201a7%207%200%200%200%200%2014z'%20clip-rule='evenodd'%20/%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M6.5%207.5A.5.5%200%200%201%207%207h1a.5.5%200%200%201%20.5.5V11H9a.5.5%200%200%201%200%201H8a.5.5%200%200%201-.5-.5V8H7a.5.5%200%200%201-.5-.5z'%20clip-rule='evenodd'%20/%3e%3cpath%20fill='currentColor'%20d='M8.75%205.25a.75.75%200%201%201-1.5%200%20.75.75%200%200%201%201.5%200z'%20/%3e%3c/symbol%3e%3csymbol%20id='16-reg-share'%20fill='none'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='currentColor'%20fill-rule='evenodd'%20d='M10.625%206.313c-.613%200-1.17-.246-1.575-.644L6.616%207.234a2.246%202.246%200%200%201%200%201.532l2.434%201.565a2.25%202.25%200%201%201-.541.84L6.075%209.607a2.25%202.25%200%201%201%200-3.214L8.509%204.83a2.25%202.25%200%201%201%202.116%201.484zm-1.25-2.25a1.25%201.25%200%201%201%20.205.685l-.006-.01-.007-.01a1.244%201.244%200%200%201-.192-.665zM5.562%208.66a.516.516%200%200%200-.02.032A1.249%201.249%200%200%201%203.25%208a1.25%201.25%200%201%201%202.312.66zm4.004%202.612a1.25%201.25%200%201%200%20.014-.021l-.006.01a.834.834%200%200%201-.008.011z'%20clip-rule='evenodd'%20/%3e%3c/symbol%3e%3c/svg%3e`,ix=({icon:e,name:t=e,size:n,...r})=>
267{if(!t)throw Error(`Missing 'name' prop`);if(!ax.includes(t))return;let i=Number(t.match(/^(12|16|24|32)-/)?.[1]),a=n??i,o={width:a,height:a};return(0,L.jsx)(`svg`,{...r,viewBox:`0 0 ${i} ${i}`,style:o,"aria-hidden":`true`,children:(0,L.jsx)(`use`,{href:`${rx}#${t}`})})},ax=[`12-reg-chevron-down`,`12-reg-chevron-up`,`16-bold-check-normal`,`16-bold-cross-normal`,`16-bold-download-normal`,`16-bold-mag-glass-normal`,`16-bold-visibility-off`,`16-bold-visibility-on`,`16-fill-cross-normal`,`16-fill-favorite`,`16-fill-funnel-normal`,`16-reg-copy`,`16-reg-funnel-normal`,`16-reg-info`,`16-reg-share`];function ox(e,t){if(!t)return e;let n={...e};for(let r in t){let i=t[r],a=e[r];i!==void 0&&(typeof i==`object`&&i&&typeof a==`object`&&a?n[r]=ox(a,i):typeof i==`boolean`&&(n[r]=i))}return n}var sx=e=>ox(At,e);(0,I.createContext)(void 0);var cx=(0,I.createContext)(void 0),lx=({chartInstance:e,showLabels:t,showTotalValue:n,unit:r,locale:i})=>{let a=r?.type,o=r?.symbol;return(0,I.useMemo)(()=>e===F.STACKEDAREA||e===F.STACKED_COLUMN||e===F.STACKED_BAR?{enabled:t,stackLabels:{enabled:n},useHTML:!1,style:{textOutline:`none`}}:e===F.PIE?{enabled:t,useHTML:!0,formatter:function(){return`<div style="color: black; font-size: 12px; text-align: center;">${this.key}:<br> ${Ut({value:this.y,locale:i,unit:Vt(this,r)})}</div>`},crop:!1,overflow:`allow`,style:{textOutline:`none`}}:{enabled:t,useHTML:!0,formatter:function(){return`<div style="color: black; font-size: 12px; text-align: center;">${Ut({value:this.y,locale:i,unit:Vt(this,r)})}</div>`},crop:!1,overflow:`allow`,style:{textOutline:`none`}},[e,t,i,a,o])},ux={accessibility:{enabled:!0,screenReaderSection:{beforeChartFormat:`<div>{typeDescription}</div><div>{chartSubtitle}</div><div>{viewTableButton}</div><div>{xAxisDescription}</div><div>{yAxisDescription}</div>`}},credits:{enabled:!1},colors:[`#2876dd`,`#0f283e`,`#bababa`,`#a60b0b`,`#87bc24`,`#ebb523`,`#5d2b76`,`#d81900`,`#c271da`,`#76a5e3`,`#099676`,`#919191`,`#c85a79`,`#468d02`,`#c8640c`,`#927eb7`],exporting:{allowHTML:!1,enabled:!0,fallbackToExportServer:!1,buttons:{contextButton:{enabled:!1}}},plotOptions:{series:{dashStyle:`LongDashDotDot`}}},dx=(e,t)=>{switch(e){case F.LINE:return`<span style="width: 12px; height: 3px; border-radius: 3px; background: ${t};"> </span>`;case F.COLUMN:return`<span style="width: 8px; height: 8px; border-radius: 2px; background: ${t};"> </span>`;case F.STACKED_COLUMN:return`<span style="width: 8px; height: 8px; border-radius: 2px; background: ${t};"> </span>`;default:return`<span style="width: 12px; height: 3px; border-radius: 3px; background: ${t};"> </span>`}},fx=(e,t,n)=>({useHTML:!0,shared:!0,formatter:function(){let r=this.points??(this.point?[this.point]:[]),i=r.length,a=[];for(let e=0;e<r.length;e+=20)a.push(r.slice(e,e+20));return` 268 <div style='text-align:center; background-color: white; border: 1px solid #E0E0E0; border-radius: 6px; box-shadow: 0px 2px 4px 0px #435E8326; font-family: "Open Sans"'> 269 <div style="display: flex; justify-content: space-between; gap: 20px;padding: 6px 16px; margin-bottom: 6px; text-align: left; border-bottom: 1px solid #E0E0E0; font-size: 15px; line-height: 24px;"> 270 <b>${this.key}</b> 271 <span></span> 272 </div> 273 <div style="display: flex; justify-content:space-between; gap:20px; margin: 6px 14px; font-size: 14px; line-height: 24px;"> 274 ${a.map(r=>`<div style="width: 100%;"> 275 ${r.map(r=>` 276 <div style="display:flex; align-items:center; gap:50px; justify-content: space-between; width: 100%"> 277 <div style='display:flex; align-items:center; gap:5px '> 278 ${dx(e,`${r.series.color}`)} 279 ${i>1?`<span style="color: #455F7C; font-weight: 400;">${r.series.name}</span>`:``} 280 </div> 281 <div style="font-weight: 600;"> 282 ${Mt(r.y,t,Vt(r,n))} 283 </div> 284 </div> 285 `).join(``)} 286 </div> 287 `).join(``)} 288 </div> 289 </div> 290 `}}
290),px=(e,t,n=!0,r=`en`,i)=>({backgroundColor:`transparent`,borderWidth:0,distance:30,enabled:n,formatter:fx(e,r,i).formatter,shadow:!1,shared:!0,useHTML:!0,valueDecimals:t,outside:!0}),mx={total:-10,average:-9,other:9,others:10};function hx(e){return mx[e.toLowerCase()]??0}function gx(e=``,t=``){let n=hx(e),r=hx(t);return n&&r?n-r:n?n<0?-1:1:r?r<0?1:-1:e.localeCompare(t)}function _x(e,t){return t.column?e.toSorted((e,n)=>{let r=e[t.column]??0,i=n[t.column]??0,a=0,o=hx(String(e.name)),s=hx(String(n.name));if(o||s)a=gx(String(e.name),String(n.name));else{if(t.column===`name`)a=String(r).localeCompare(String(i));else{let e=Number(r),t=Number(i);a=!Number.isNaN(e)&&!Number.isNaN(t)?e-t:String(r).localeCompare(String(i))}t.direction===`descending`&&(a*=-1)}return a}):e}function vx(e,t,n){if(!n.column)return e;let r=n.column===`name`?0:t.indexOf(String(n.column));return r<0?e:e.toSorted((e,t)=>{let i=e[r]??0,a=t[r]??0,o=0,s=hx(String(e[0])),c=hx(String(t[0]));if(s||c)o=gx(String(e[0]),String(t[0]));else if(r===0)o=String(i).localeCompare(String(a));else{let e=Number(i),t=Number(a);o=!Number.isNaN(e)&&!Number.isNaN(t)?e-t:String(i).localeCompare(String(a))}return n.direction===`descending`&&!(s||c)&&(o*=-1),o})}function yx(e){return e?.column?`${String(e.column)}:${e.direction}`:`default`}var bx=(e,t)=>e.every((n,r)=>{if(r===0)return!0;let i=e[r-1],a=n,o=i[t]??0,s=a[t]??0;if(t===`name`)return String(o).localeCompare(String(s))<=0;let c=Number(o),l=Number(s);return!Number.isNaN(c)&&!Number.isNaN(l)?c<=l:String(o).localeCompare(String(s))<=0}),xx=e=>String(e??``).replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,``).replace(/<style\b[^<]*(?:(?!<\/style>)<[^<]*)*<\/style>/gi,``).replace(/<[^>]+>/g,``).trim();function Sx(e,t,n,r,i){return!e&&e!==0?`_`:t?xx(String(e)):Lt({locale:n,value:e,blurValue:r,unit:i})}var Cx={lastDataKey:void 0,invertedResult:void 0};function wx(e,t){return e.map(e=>`${e[0]}:${e[1]}`).join(`||`).concat(`::${yx(t)}`)}function Tx(e,t){return e.length===0||t.length===0?{columns:e,rows:t}:{columns:[e[0],...t.map(e=>String(e[0]))],rows:e.slice(1).map((e,n)=>{let r=n+1;return[e??``,...t.map(e=>e[r])]})}}function Ex(e,t){return e.filter(e=>t.includes(String(e[0])))}function Dx(e,t,n=!0,r){let i=e.labels,a=Ex(e.rows,t),o=r?vx(a,i,r):a;if(o.length===0||i.length===0)return{columns:i,rows:o};let s=wx(o,r),c=Cx.lastDataKey===s,l=c&&n?Cx.invertedResult:void 0;if(l)return l;if(c||(Cx.lastDataKey=s,Cx.invertedResult=void 0),!n)return{columns:i,rows:o};let u=Tx(i,o);return Cx.invertedResult=u,u}var Ox=(e,t)=>(e??[]).flatMap(e=>{let n=t.indexOf(e.point.label);if(n===-1||typeof e.point.value!=`number`)return[];let r=e.position===`BOTTOM`?40:-40;return[{point:{xAxis:0,yAxis:0,x:n,y:e.point.value},text:e.text,y:r}]}),kx=(e,t)=>[{labelOptions:{allowOverlap:!0},labels:Ox(e,t)}],Ax=`#D9D9D9`,jx=`#2C65DD`,Mx=new Map,Nx=e=>{if(e<=0)return[jx];let t=Mx.get(e);if(t)return t;let n=Array.from({length:e}).fill(Ax);return n[e-1]=jx,Mx.set(e,n),n},Px=`x`,Fx=448,Ix=({chartInstance:e,globalChartInstanceData:t})=>{let n=t.series??[],r=n.length===1;if(e===F.DUAL_Y_AXIS){let t=n[0],i=n[1];return!t||!i?[]:[{id:`${e}-${t.name}`,type:`column`,name:t.name,data:Bt(t),dashStyle:`Solid`,stacking:void 0,visible:t.visible,yAxis:0,custom:{unit:t.unit},colorByPoint:r},{id:`${e}-${i.name}`,type:`line`,name:i.name,data:Bt(i),dashStyle:`Solid`,marker:{enabled:!0},stacking:void 0,visible:i.visible,yAxis:1,custom:{unit:i.unit},colorByPoint:r}]}return e===F.PIE?n.map(t=>({id:`${e}-${t.name}`,type:`pie`,data:t.dataPoints.map(e=>({name:e.label,y:Number(e.value)})),custom:{unit:t.unit},colorByPoint:r})):e===F.STACKEDAREA?n.map(t=>({id:`${e}-${t.name}`,type:`area`,name:t.name,data:Bt(t),dashStyle:`Solid`,stacking:`normal`,marker:{enabled:!1},visible:t.visible,custom:{unit:t.unit},colorByPoint:r})):e===F.STACKED_COLUMN||e===F.STACKED_BAR?n.map(t=>({id:`${e}-${t.name}`,type:`column`,name:t.name,data:Bt(t),dashStyle:`Solid`,stacking:t.visible?`normal`:void 0,visible:t.visible,custom:{unit:t.unit},colorByPoint:r})):e===F.LINE||e===F.LINE_ZOOMABLE||e===F.LINE_WITH_ANNOTATIONS?n.map(t=>({id:`${e}-${t.name}`,type:`line`,name:t.name,data:Bt(t),dashStyle:`Solid`,marker:{enabled:!0},stacking:void 0,visible:t.visible,custom:{unit:t.unit},colorByPoint:r})):n.map(t=>({id:`${e}-${t.name}`,type:`column`,name:t.name,data:Bt(t),dashStyle:`Solid`,stacking:void 0,visible:t.visible,custom:{unit:t.unit},colorByPoint:r}))},Lx=({locale:e,chartInstance:t,title:n,globalChartInstanceData:r,selectedCategories:i,isMinified:a,isInverted:o=!1,hasSeriesNegativeValues:s,initialSeriesCount:c,xAxisProperties:l,yAxisProperties:u,showLabels:d=!1,showTotalValue:f=!1,unit:p,additionalInformation:m,colors:h,chartDataAnnotations:g,ariaLabel:_,hasFullAccess:v,t:y,onSeriesVisibilityChange:b})=>{let x=(0,I.useMemo)(()=>Pt(n??``),[n]),S=(0,I.useMemo)(()=>Dt(r.series,p),[r.series,p]),C=!a,w=(0,I.useMemo)(()=>px(t,2,C,e,S),[t,S?.symbol,C,e,S]),T=(0,I.useCallback)(t=>Wt(t,e,p),[e,p]),E=lx({chartInstance:t,showLabels:d,showTotalValue:f,locale:e,unit:S}),D=(0,I.useMemo)(()=>Ix({chartInstance:t,globalChartInstanceData:r}),[t,r]),O=(0,I.useMemo)(()=>t!==F.PIE&&t!==F.TABLE,[t]),ee=(0,I.useMemo)(()=>Ht(t)?{enabled:f,formatter:function(){return Wt(this.total,e,S)},style:{textOutline:`none`}}:{enabled:!1},[t,f,e,S]),k=(0,I.useMemo)(()=>{let e=t===F.LINE||t===F.LINE_WITH_ANNOTATIONS||t===F.LINE_ZOOMABLE,n=u?.min??0;return!s&&!e?Math.min(0,n):u?.min},[s,u?.min,t]),te=(0,I.useMemo)(()=>
290{if(!O)return;let n=t=>{let n=e.toLocaleLowerCase()===`de`?`de-DE`:`en-EN`;return new Intl.NumberFormat(n,{minimumFractionDigits:0,maximumFractionDigits:2}).format(t)},r=i.length<(c??0)?void 0:k,o={labels:{enabled:!u?.hideAxis||v,useHTML:!0,formatter:function(){return this.isLast&&u?.hideMaxValue?``:n(this.value)}},stackLabels:ee,reversedStacks:!1,min:r,max:u?.max,maxPadding:.3,plotLines:[{value:0,color:`#000000`,width:1,zIndex:5}]};return t===F.DUAL_Y_AXIS?[{...o,title:a?{enabled:!1}:{text:u?.title??``}},{...o,opposite:!0,title:a?{enabled:!1}:{text:u?.additionalYAxisDescription??``}}]:[{...o,title:a?{enabled:!1}:{text:u?.title??``}}]},[O,e,i,c,k,v,ee,u?.hideAxis,u?.hideMaxValue,u?.max,u?.title,u?.additionalYAxisDescription,t,a,r.series]),A=(0,I.useMemo)(()=>{if(O)return[{title:a?{enabled:!1}:{text:l?.title??``},categories:i,labels:{enabled:!0,useHTML:!0,style:{textOverflow:`none`,fontSize:`10px`},formatter:function(){return xx(this.value)}},lineColor:s?`#e6e6e6`:void 0,lineWidth:1}]},[O,a,l?.title,i,s]),ne=t===F.BAR||t===F.STACKED_BAR,j=(0,I.useMemo)(()=>{let e=D.length||1,n=D[0]?.data?.length??1;return a?250:t===F.BAR?Math.max(400,e*n*30):t===F.STACKED_BAR?Math.max(400,30*n):400},[D,a,t]),M=ne&&j>400;return{chartOptions:(0,I.useMemo)(()=>{let n=a&&D.length>2,r=h&&h.length>0,o=n?Nx(D.length):ux.colors??[],s=r?[...h]:o,c=!a&&(t===F.LINE_ZOOMABLE||t===F.COLUMN_ZOOMABLE),u=t===F.LINE_WITH_ANNOTATIONS||t===F.COLUMN_WITH_ANNOTATIONS?kx(g,i):[],d=D.length>1&&!a;return{...ux,legend:{enabled:d,useHTML:!0,verticalAlign:`top`,align:`center`,layout:`horizontal`,events:{itemClick(e){e.legendItem.visible&&e.target.chart.series.filter(e=>e.visible&&e.options.showInLegend!==!1).length<=1&&e.preventDefault()}}},annotations:u,accessibility:a?{...ux.accessibility,point:{valueDescriptionFormat:`{xDescription}, ***.`}}:ux.accessibility,colors:s,xAxis:A,yAxis:te,title:{useHTML:!0,text:void 0,style:{visibility:`hidden`}},series:D,tooltip:w,chart:{inverted:t===F.BAR||t===F.STACKED_BAR,style:{fontFamily:`Open Sans, sans-serif`},zooming:{type:c?Px:void 0},height:j,numberFormatter:T,events:{render(){for(let e of this.legend.allItems)e.name=e?.name}}},exporting:{...ux.exporting,filename:x,useMultiLevelHeaders:!0,csv:{dateFormat:`%Y-%m-%d`,columnHeaderFormatter:jt(l?.title??``)}},plotOptions:{...ne&&{column:{pointPadding:.05,groupPadding:.1}},series:{dataLabels:E,events:{hide:function(){let e=this.chart.series.map(e=>({name:e.name??``,visible:e.visible}));b?.(e)},show:function(){let e=this.chart.series.map(e=>({name:e.name??``,visible:e.visible}));b?.(e)}}}},responsive:{rules:[{condition:{maxWidth:Fx},chartOptions:{plotOptions:{series:{dataLabels:{enabled:!1}}}}}]},lang:{locale:e,accessibility:{chartContainerLabel:_??y?.([`CHART_CONTAINER_LABEL`])??``,legend:{legendItem:`{itemName}`}}}}},[a,D,h,t,g,i,A,te,w,j,T,x,l?.title,ne,d,b,e,_,y,o,s,v,m,E]),computedChartHeight:j,isExpandable:M,filename:x,sourcesBlock:(0,I.useMemo)(()=>Ft(m,y??(()=>``)),[m,y]),additionalInfoBlock:(0,I.useMemo)(()=>Ot(m,y??(()=>``)),[m,y])}},Rx=({rawSeries:e,selectedCategories:t,seriesVisibility:n,filterSelectedCategories:r=!0})=>e.map(e=>{let i=n?.find(t=>t.name===(e.name??``)),a=r?(e.dataPoints??[]).filter(e=>t.includes(e.label)):[...e.dataPoints??[]];return{...e,dataPoints:a,visible:i?.visible??!!e.visible}}),zx=({tableData:e,selectedCategories:t,filterRows:n=!0})=>({labels:[...e.labels],rows:e.rows.map(e=>[...e]).filter(e=>!n||t.includes(String(e[0])))}),Bx=(e,t)=>Rt([...e],[...t]),Vx=e=>e.some(e=>`dataPoints`in e&&e.dataPoints.some(e=>Number(e.value)<0)),Hx=({locale:e,chartInstance:t,title:n,globalChartInstanceData:r,globalChartTableData:i,selectedCategories:a,isMinified:o,isInverted:s,hasSeriesNegativeValues:c,initialSeriesCount:l,xAxisProperties:u,yAxisProperties:d,showLabels:f,showTotalValue:p,unit:m,additionalInformation:h,colors:g,chartDataAnnotations:_,ariaLabel:v,hasFullAccess:y,t:b,onSeriesVisibilityChange:x})=>{let S=Lx({locale:e,chartInstance:t,title:n,globalChartInstanceData:r,selectedCategories:a,isMinified:o,isInverted:s,hasSeriesNegativeValues:c,initialSeriesCount:l,xAxisProperties:u,yAxisProperties:d,showLabels:f,showTotalValue:p,unit:m,additionalInformation:h,colors:g,chartDataAnnotations:_,ariaLabel:v,hasFullAccess:y,t:b,onSeriesVisibilityChange:x});return(0,I.useMemo)(()=>({tableData:i,chartOptions:S.chartOptions,computedChartHeight:S.computedChartHeight,isExpandable:S.isExpandable}),[S.chartOptions,S.computedChartHeight,S.isExpandable,i])},Ux=()=>{let e=(0,I.useContext)(cx);if(!e)throw Error(`useGlobalChartMinifiedContext must be used within GlobalChartMinified`);return e},Wx=({locale:e,globalChartData:t,accessConfiguration:n,uiConfiguration:r})=>{let i=t.highChartData?.series??[],a=t.highChartData?.categories??[],o=i[0]?.dataPoints??[],[s,c]=(0,I.useState)(t.highChartData?.showTotalValues??!0),[l,u]=(0,I.useState)(!1),d=(0,I.useMemo)(()=>Rx({rawSeries:i,selectedCategories:o.map(e=>e.label),filterSelectedCategories:!1}),[o,i]),f=(0,I.useMemo)(()=>({series:d}),[d]),p=(0,I.useMemo)(()=>zx({tableData:t.tableData,selectedCategories:o.map(e=>e.label),filterRows:!1}),[t.tableData,o]),m=(0,I.useMemo)(()=>Vx(d),[d]),h=o.map(e=>e.label),g=Bx(i,a);return{id:t.id,locale:e,title:t.additionalInformation?.title,subtitle:t.additionalInformation?.subt
290itle,defaultVisualization:t.defaultVisualization,xAxisProperties:t.highChartData?.xAxisProperties??void 0,yAxisProperties:t.highChartData?.yAxisProperties??void 0,globalChartInstanceData:f,globalChartTableData:p,hasSeriesNegativeValues:m,additionalInformation:t.additionalInformation,unit:t.unit,sources:[...t?.additionalInformation?.sourceInfo?.sources??[]],downloadOption:void 0,selectedCategories:h,showTotalValue:s,setShowTotalValue:c,categories:g,uiConfiguration:r,accessConfiguration:sx(n),isTableInverted:l,setIsTableInverted:u,colors:t.highChartData?.colors}},Gx={chartTypeSwitch:`udv-widget__chart-type--switched`,categoryFilterOpen:`udv-widget__category-filter--opened`,categoryFilterChange:`udv-widget__category-filter--changed`,showLabels:`udv-widget__labels--toggled`,sourceDetailsOpen:`udv-widget__source-details--opened`,sourceDetailsClose:`udv-widget__source-details--closed`,sourceDetailsContent:`udv-widget__sources-tab--changed`,downloadOpen:`udv-widget__download-button--opened`,downloadFile:`udv-widget__download-file--clicked`,shareOpen:`udv-widget__share-button--opened`,shareClick:`udv-widget__share-channel--clicked`,copyData:`udv-widget__data-copy--clicked`,copyForAI:`udv-widget__data-copy-for-ai--clicked`,copyCitation:`udv-widget__copy-citation--clicked`,globalChartMinifiedClick:`udv-widget__referral-link--clicked`,expandChart:`udv-widget__chart--expanded`,minimizeChart:`udv-widget__chart--minimized`,citationsButton:`udv-widget__citations-button--opened`};function Kx(e){let t=t=>{if(!globalThis.dataLayer){console.error(`â ï¸ window.dataLayer not initialized. GA4 events will not tracked.`);return}globalThis.dataLayer.push({widget_id:`3.6.0`,uu_id:e,...t})};return{gtmTrackChartTypeSwitch:(e,n,r)=>{t({event:Gx.chartTypeSwitch,button_type:e,category_filter:r,chart_type_before:n})},gtmTrackCategoryFilterOpen:()=>{t({event:Gx.categoryFilterOpen})},gtmTrackCategoryFilterChange:(e,n)=>{t({event:Gx.categoryFilterChange,category_before:e,category_after:n})},gtmTrackShowLabels:e=>{t({event:Gx.showLabels,labels_state_before:e?`hidden`:`shown`,labels_state_after:e?`shown`:`hidden`})},gtmTrackSourceDetailsOpen:()=>{t({event:Gx.sourceDetailsOpen,info_target:`widget_source-details_modal`})},gtmTrackSourceDetailsClose:()=>{t({event:Gx.sourceDetailsClose,info_target:`widget_source-details_modal`})},gtmTrackSourceDetailsContent:(e,n,r)=>{t({event:Gx.sourceDetailsContent,tab_name:e,tab_state_before:n,tab_state_after:r})},gtmTrackDownloadOpen:()=>{t({event:Gx.downloadOpen})},gtmTrackDownloadFile:e=>{t({event:Gx.downloadFile,download_format:e})},gtmTrackShareOpen:()=>{t({event:Gx.shareOpen,share_channel:`share_menu_open`})},gtmTrackShareClick:e=>{t({event:Gx.shareClick,share_channel:e})},gtmTrackCopyData:(e,n)=>{t({event:Gx.copyData,copy_scope:e,row_count:n})},gtmTrackCopyForAI:(e,n)=>{t({event:Gx.copyForAI,copy_scope:e,row_count:n})},gtmTrackGlobalChartMinifiedClick:e=>{t({event:Gx.globalChartMinifiedClick,link:e})},gtmTrackCopyCitation:(e,n)=>{t({event:Gx.copyCitation,citation:e,citation_owner:n})},gtmTrackExpandChart:()=>{t({event:Gx.expandChart})},gtmTrackMinimizeChart:()=>{t({event:Gx.minimizeChart})}}}var qx=(e,t)=>{let{uiConfiguration:n}=Ux();if(!n)return!0;let r=n[e];if(r&&t in r){let e=r[t];return!e||e?.visible!==!1}return!0},Jx=()=>(0,L.jsx)(`div`,{className:`flex h-full flex-col items-center justify-center p-8 text-center`,children:(0,L.jsx)(`div`,{className:`mb-4 size-12 animate-spin rounded-full border-b-2 border-primary`})}),Yx=(0,I.lazy)(async()=>({default:(await r(async()=>{let{ChartWrapper:e}=await import(`./chart-wrapper-Cw1A9ihP-B0VFwzrW.js`);return{ChartWrapper:e}},__vite__mapDeps([11,1,2,3,4,5,12,7]))).ChartWrapper})),Xx=`-`,Zx=e=>{let t=tS(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{let n=e.split(Xx);return n[0]===``&&n.length!==1&&n.shift(),Qx(n,t)||eS(e)},getConflictingClassGroupIds:(e,t)=>{let i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},Qx=(e,t)=>{if(e.length===0)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?Qx(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let a=e.join(Xx);return t.validators.find(({validator:e})=>e(a))?.classGroupId},$x=/^\[(.+)\]$/,eS=e=>{if($x.test(e)){let t=$x.exec(e)[1],n=t?.substring(0,t.indexOf(`:`));if(n)return`arbitrary..`+n}},tS=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};
vendor: 15,548 bytes, line 290
290return aS(Object.entries(e.classGroups),n).forEach(([e,n])=>{nS(n,r,e,t)}),r},nS=(e,t,n,r)=>{e.forEach(e=>{if(typeof e==`string`){let r=e===``?t:rS(t,e);r.classGroupId=n;return}if(typeof e==`function`){if(iS(e)){nS(e(r),t,n,r);return}t.validators.push({validator:e,classGroupId:n});return}Object.entries(e).forEach(([e,i])=>{nS(i,rS(t,e),n,r)})})},rS=(e,t)=>{let n=e;return t.split(Xx).forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},iS=e=>e.isThemeGetter,aS=(e,t)=>t?e.map(([e,n])=>[e,n.map(e=>typeof e==`string`?t+e:typeof e==`object`?Object.fromEntries(Object.entries(e).map(([e,n])=>[t+e,n])):e)]):e,oS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map,i=(i,a)=>{n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);if(t!==void 0)return t;if((t=r.get(e))!==void 0)return i(e,t),t},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},sS=`!`,cS=e=>{let{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],a=t.length,o=e=>{let n=[],o=0,s=0,c;for(let l=0;l<e.length;l++){let u=e[l];if(o===0){if(u===i&&(r||e.slice(l,l+a)===t)){n.push(e.slice(s,l)),s=l+a;continue}if(u===`/`){c=l;continue}}u===`[`?o++:u===`]`&&o--}let l=n.length===0?e:e.substring(s),u=l.startsWith(sS);return{modifiers:n,hasImportantModifier:u,baseClassName:u?l.substring(1):l,maybePostfixModifierPosition:c&&c>s?c-s:void 0}};return n?e=>n({className:e,parseClassName:o}):o},lS=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(e=>{e[0]===`[`?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t},uS=e=>({cache:oS(e.cacheSize),parseClassName:cS(e),...Zx(e)}),dS=/\s+/,fS=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],o=e.trim().split(dS),s=``;for(let e=o.length-1;e>=0;--e){let t=o[e],{modifiers:c,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:d}=n(t),f=!!d,p=r(f?u.substring(0,d):u);if(!p){if(!f){s=t+(s.length>0?` `+s:s);continue}if(p=r(u),!p){s=t+(s.length>0?` `+s:s);continue}f=!1}let m=lS(c).join(`:`),h=l?m+sS:m,g=h+p;if(a.includes(g))continue;a.push(g);let _=i(p,f);for(let e=0;e<_.length;++e){let t=_[e];a.push(h+t)}s=t+(s.length>0?` `+s:s)}return s};function pS(){let e=0,t,n,r=``;for(;e<arguments.length;)(t=arguments[e++])&&(n=mS(t))&&(r&&(r+=` `),r+=n);return r}var mS=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=mS(e[r]))&&(n&&(n+=` `),n+=t);return n};function hS(e,...t){let n,r,i,a=o;function o(o){return n=uS(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)}function s(e){let t=r(e);if(t)return t;let a=fS(e,n);return i(e,a),a}return function(){return a(pS.apply(null,arguments))}}var Q=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},gS=/^\[(?:([a-z-]+):)?(.+)\]$/i,_S=/^\d+\/\d+$/,vS=new Set([`px`,`full`,`screen`]),yS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bS=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,xS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,SS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,CS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,wS=e=>ES(e)||vS.has(e)||_S.test(e),TS=e=>RS(e,`length`,zS),ES=e=>!!e&&!Number.isNaN(Number(e)),DS=e=>RS(e,`number`,ES),OS=e=>!!e&&Number.isInteger(Number(e)),kS=e=>e.endsWith(`%`)&&ES(e.slice(0,-1)),$=e=>gS.test(e),AS=e=>yS.test(e),jS=new Set([`length`,`size`,`percentage`]),MS=e=>RS(e,jS,BS),NS=e=>RS(e,`position`,BS),PS=new Set([`image`,`url`]),FS=e=>RS(e,PS,HS),IS=e=>RS(e,``,VS),LS=()=>!0,RS=(e,t,n)=>{let r=gS.exec(e);return r?r[1]?typeof t==`string`?r[1]===t:t.has(r[1]):n(r[2]):!1},zS=e=>bS.test(e)&&!xS.test(e),BS=()=>!1,VS=e=>SS.test(e),HS=e=>CS.test(e),US=()=>{let e=Q(`colors`),t=Q(`spacing`),n=Q(`blur`),r=Q(`brightness`),i=Q(`borderColor`),a=Q(`borderRadius`),o=Q(`borderSpacing`),s=Q(`borderWidth`),c=Q(`contrast`),l=Q(`grayscale`),u=Q(`hueRotate`),d=Q(`invert`),f=Q(`gap`),p=Q(`gradientColorStops`),m=Q(`gradientColorStopPositions`),h=Q(`inset`),g=Q(`margin`),_=Q(`opacity`),v=Q(`padding`),y=Q(`saturate`),b=Q(`scale`),x=Q(`sepia`),S=Q(`skew`),C=Q(`space`),w=Q(`translate`),T=()=>[`auto`,`contain`,`none`],E=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],D=()=>[`auto`,$,t],O=()=>[$,t],ee=()=>[``,wS,TS],k=()=>[`auto`,ES,$],te=()=>[`bottom`,`center`,`left`,`left-bottom`,`left-top`,`right`,`right-bottom`,`right-top`,`top`],A=()=>[`solid`,`dashed`,`dotted`,`double`,`none`],ne=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],j=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`],M=()=>[``,`0`,$],re=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],N=()=>[ES,$];return{cacheSize:500,separator:`:`,theme:{colors:[LS],spacing:[wS,TS],blur:[`none`,``,AS,$],brightness:N(),borderColor:[e],borderRadius:[`none`,``,`full`,AS,$],borderSpacing:O(),borderWidth:ee(),contrast:N(),grayscale:M(),hueRotate:N(),invert:M(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[kS,TS],inset:D(),margin:D(),opacity:N(),padding:O(),saturate:N(),scale:N(),sepia:M(),skew:N(),space:O(),translate:O()},classGroups:{aspect:[{aspect:[`auto`,`square`,`video`,$]}],container:[`container`],columns:[{columns:[AS]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:[...te(),$]}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[`auto`,OS,$]}],basis:[{basis:D()}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`wrap`,`wrap-reverse`,`nowrap`]}],flex:[{flex:[`1`,`auto`,`initial`,`none`,$]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:[`first`,`last`,`none`,OS,$]}],"grid-cols":[{"grid-cols":[LS]}],"col-start-end":[{col:[`auto`,{span:[`full`,OS,$]},$]}],"col-start":[{"col-start":k()}],"col-end":[{"col-end":k()}],"grid-rows":[{"grid-rows":[LS]}],"row-start-end":[{row:[`auto`,{span:[OS,$]},$]}],"row-start":[{"row-start":k()}],"row-end":[{"row-end":k()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":[`auto`,`min`,`max`,`fr`,$]}],"auto-rows":[{"auto-rows":[`auto`,`min`,`max`,`fr`,$]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:[`normal`,...j()]}],"justify-items":[{"justify-items":[`start`,`end`,`center`,`stretch`]}],"justify-self":[{"justify-self":[`auto`,`start`,`end`,`center`,`stretch`]}],"align-content":[{content:[`normal`,...j(),`baseline`]}],"align-items":[{items:[`start`,`end`,`center`,`baseline`,`stretch`]}],"align-self":[{self:[`auto`,`start`,`end`,`center`,`stretch`,`baseline`]}],"place-content":[{"place-content":[...j(),`baseline`]}],"place-items":[{"place-items":[`start`,`end`,`center`,`baseline`,`stretch`]}],"place-self":[{"place-self":[`auto`,`start`,`end`,`center`,`stretch`]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[C]}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":[C]}],"space-y-reverse":[`space-y-reverse`],w:[{w:[`auto`,`min`,`max`,`fit`,`svw`,`lvw`,`dvw`,$,t]}],"min-w":[{"min-w":[$,t,`min`,`max`,`fit`]}],"max-w":[{"max-w":[$,t,`none`,`full`,`min`,`max`,`fit`,`prose`,{screen:[AS]},AS]}],h:[{h:[$,t,`auto`,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],"min-h":[{"min-h":[$,t,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],"max-h":[{"max-h":[$,t,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],size:[{size:[$,t,`auto`,`min`,`max`,`fit`]}],"font-size":[{text:[`base`,AS,TS]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`,DS]}],"font-family":[{font:[LS]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`,$]}],"line-clamp":[{"line-clamp":[`none`,ES,DS]}],leading:[{leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`,wS,$]}],"list-image":[{"list-image":[`none`,$]}],"list-style-type":[{list:[`none`,`disc`,`decimal`,$]}],"list-style-position":[{list:[`inside`,`outside`]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...A(),`wavy`]}],"text-decoration-thickness":[{decoration:[`auto`,`from-font`,wS,TS]}],"underline-offset":[{"underline-offset":[`auto`,wS,$]}],"text-decoration-color":[{decoration:[e]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:O()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,$]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,$]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:[...te(),NS]}],"bg-repeat":[{bg:[`no-repeat`,{repeat:[``,`x`,`y`,`round`,`space`]}]}],"bg-size":[{bg:[`auto`,`cover`,`contain`,MS]}],"bg-image":[{bg:[`none`,{"gradient-to":[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},FS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...A(),`hidden`]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":[`divide-y-reverse`],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:A()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[``,...A()]}],"outline-offset":[{"outline-offset":[wS,$]}],"outline-w":[{outline:[wS,TS]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ee()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[wS,TS]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:[``,`inner`,`none`,AS,IS]}],"shadow-color":[{shadow:[LS]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":[...ne(),`plus-lighter`,`plus-darker`]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:[``,`none`]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":[``,`none`,AS,$]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":[``,`none`]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[`none`,`all`,``,`colors`,`opacity`,`shadow`,`transform`,$]}],duration:[{duration:N()}],ease:[{ease:[`linear`,`in`,`out`,`in-out`,$]}],delay:[{delay:N()}],animate:[{animate:[`none`,`spin`,`ping`,`pulse`,`bounce`,$]}],transform:[{transform:[``,`gpu`,`none`]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[OS,$]}],"translate-x":[{"translate-x":[w]}],"translate-y":[{"translate-y":[w]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:[`center`,`top`,`top-right`,`right`,`bottom-right`,`bottom`,`bottom-left`,`left`,`top-left`,$]}],accent:[{accent:[`auto`,e]}],appearance:[{appearance:[`none`,`auto`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom
290-in`,`zoom-out`,$]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":[`none`,`auto`]}],resize:[{resize:[`none`,`y`,`x`,``]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,$]}],fill:[{fill:[e,`none`]}],"stroke-w":[{stroke:[wS,TS,DS]}],stroke:[{stroke:[e,`none`]}],sr:[`sr-only`,`not-sr-only`],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-s`,`border-w-e`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-s`,`border-color-e`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]}}},WS=(e,{cacheSize:t,prefix:n,separator:r,experimentalParseClassName:i,extend:a={},override:o={}})=>{GS(e,`cacheSize`,t),GS(e,`prefix`,n),GS(e,`separator`,r),GS(e,`experimentalParseClassName`,i);for(let t in o)KS(e[t],o[t]);for(let t in a)qS(e[t],a[t]);return e},GS=(e,t,n)=>{n!==void 0&&(e[t]=n)},KS=(e,t)=>{if(t)for(let n in t)GS(e,n,t[n])},qS=(e,t)=>{if(t)for(let n in t){let r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}},JS=((e,...t)=>typeof e==`function`?hS(US,e,...t):hS(()=>WS(US(),e),...t))({override:{classGroups:{z:[`deep:`,`default`,`fixed`,`sticky`,`tooltip`,`dialog`,`dropdown`,`overlay`,`modal`,`spinner`]}},extend:{classGroups:{"font-size":[`text-fluid-xs`,`text-fluid-sm`,`text-fluid-md`,`text-fluid-lg`,`text-fluid-xl`,`text-fluid-2xl`]}}});function YS(e,...t){let n=``;for(let[r,i]of t.entries())n+=e[r]+String(i);return n+e.at(-1)}function XS({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 12 12`,width:`12`,height:`12`,children:(0,L.jsx)(`path`,{fill:`currentColor`,d:`M5.624 8.83a.5.5 0 0 0 .752 0l3.5-4A.5.5 0 0 0 9.5 4h-7a.5.5 0 0 0-.376.83l3.5 4z`})})}function ZS({className:e}){return(0,L.jsx)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 12 12`,width:`12`,height:`12`,children:(0,L.jsx)(`path`,{fill:`currentColor`,d:`M6.376 3.17a.5.5 0 0 0-.752 0l-3.5 4A.5.5 0 0 0 2.5 8h7a.5.5 0 0 0 .376-.83l-3.5-4z`})})}var QS=({data:e,locale:t,title:n,hasFullAccess:r,isMinified:i,selectedCategories:a,unit:o=void 0,series:s,inverted:c=!1})=>{let l=(0,I.useId)(),{sortingOrder:u,setSortingOrder:d}=eb(),[f,p]=(0,I.useState)(!1),{t:m}=g(),h=(0,I.useMemo)(()=>{let e=new Map;for(let t of s??[])t.name&&e.set(t.name,t.unit);return e},[s]),_=(e,t)=>
290{let n=c?e:t;return h.get(n)??o};(0,I.useEffect)(()=>{p(!1),d(void 0)},[(0,I.useMemo)(()=>[e.labels.join(`�`),e.rows.map(e=>e.map(String).join(`�`)).join(`�`),a.join(`�`),c?`1`:`0`].join(`�`),[e.labels,e.rows,c,a]),d]);let{columns:v,rows:y}=(0,I.useMemo)(()=>Dx(e,a,c,u),[e,a,c,u]),b=(0,I.useMemo)(()=>v.map((e,t)=>({key:t===0?`name`:e,name:e})),[v]),x=(0,I.useMemo)(()=>y.map((e,t)=>{let n={id:String(t),name:String(e[0])};for(let[t,r]of v.slice(1).entries())n[r??``]=e[t+1]??``;return n}),[y,v]),S=(0,I.useMemo)(()=>new Set(b.map(e=>e.key)),[b]),C=e=>{if(e?.column&&S.has(String(e.column)))return e},w=(0,I.useMemo)(()=>i?x.slice(0,3):x,[i,x]),T=(0,I.useMemo)(()=>{if(!(!f||!u))return C(u)},[f,u,S]),E=(0,I.useMemo)(()=>T?_x(w,T):w,[w,T]),D=e=>{let t=C(e);if(!t)return;let n=!f&&t.direction===`ascending`&&bx(w,String(t.column))?{...t,direction:`descending`}:t;p(!0),d(n)},O=r&&E.length>1,ee=(0,I.useRef)(null);return(0,I.useEffect)(()=>{let e=ee.current;if(!e||O)return;let t=e.querySelectorAll(`th[data-react-aria-pressable="true"]`);for(let e=0;e<t.length;e++){let n=t.item(e);n&&(delete n.dataset.reactAriaPressable,n.removeAttribute(`aria-sort`),n.tabIndex=-1)}},[O]),(0,L.jsxs)(`div`,{ref:ee,className:YS`${i?Nt:zt} scrollbar scrollable-horizontal scrollable-vertical-bottom overflow-auto`,children:[O&&(0,L.jsx)(`p`,{id:l,className:`sr-only`,children:m(`ARIA_DESCRIBEDBY_SORT_HELP`)}),(0,L.jsxs)(je,{"aria-label":n??``,"aria-describedby":O?l:void 0,sortDescriptor:T,onSortChange:D,className:`w-full tabular-nums [&_td:not(:first-child)]:text-right [&_th>span>span:last-child]:hidden`,stickyHeader:!0,children:[(0,L.jsx)(Wn,{children:b.map(e=>{let t=e.key===`name`,n=T?.column===e.key,r=n&&T?.direction===`ascending`,a=n&&T?.direction===`descending`;return(0,L.jsx)(Rn,{allowsSorting:O,"aria-sort":T?.column===e.key?T?.direction:`none`,children:(0,L.jsxs)(`div`,{className:JS(`flex items-center gap-2`,!t&&`ml-auto`),children:[(0,L.jsx)(`span`,{className:i?`line-clamp-4`:``,children:e.name?xx(e.name):m(`CHARACTERISTICS`)}),O&&(0,L.jsxs)(`div`,{"aria-hidden":!0,className:`flex shrink-0 flex-col leading-none`,children:[(0,L.jsx)(ZS,{className:r?`text-on-surface`:`text-on-surface-muted`}),(0,L.jsx)(XS,{className:a?`text-on-surface`:`text-on-surface-muted`})]})]})},e.key)})}),(0,L.jsx)(Hn,{items:E,children:e=>(0,L.jsx)(Bn,{children:n=>{let i=e[n],a=n===`name`,o=!r&&!a,s=_(String(e.name),String(n)),c=Sx(i,a,t,o,s);return(0,L.jsx)(In,{children:(0,L.jsx)(`div`,{className:`snap-start`,children:(0,L.jsxs)(`span`,{"aria-hidden":o,className:o?`blur-sm`:void 0,children:[c,eC(String(n))&&typeof e[n]==`number`?(0,L.jsx)($S,{value:Lt({locale:t,value:Number(e[n]),blurValue:o,unit:s}),unit:s?.symbol??``}):void 0]})})})}},e.id)})]})]})};function $S({value:e,unit:t}){if(!Number.isNaN(Number(e)))return(0,L.jsxs)(`div`,{className:`flex flex-col items-end gap-1`,children:[(0,L.jsx)(`div`,{className:JS(`mr-1`,`size-0 border-x-[10px] border-x-transparent`,Number(e)>0?`border-on-accent-container border-b-[10px]`:`border-on-danger-container border-t-[10px]`)}),(0,L.jsxs)(`span`,{children:[e,t]})]})}function eC(e){return e.toLowerCase()===`cagr`}var tC=()=>{let{id:e,locale:t,title:n,defaultVisualization:r,globalChartInstanceData:i,globalChartTableData:a,downloadOption:o,unit:s,selectedCategories:c,isTableInverted:l,additionalInformation:u,hasSeriesNegativeValues:d,xAxisProperties:f,yAxisProperties:p,accessConfiguration:m,colors:h}=Ux(),g=r===F.TABLE,_=m.isLoggedInUser,{chartOptions:v}=Hx({locale:t,chartInstance:r,title:n,globalChartInstanceData:i,globalChartTableData:a,selectedCategories:c,isMinified:!0,hasSeriesNegativeValues:d,xAxisProperties:f,yAxisProperties:p,showLabels:!1,showTotalValue:!1,unit:s,additionalInformation:u,colors:h,ariaLabel:n});return(0,L.jsx)(`div`,{className:Nt,children:(0,L.jsx)(I.Suspense,{fallback:(0,L.jsx)(Jx,{}),children:g?(0,L.jsx)(QS,{data:a,title:n,locale:t,hasFullAccess:_,isMinified:!0,selectedCategories:c,unit:s,series:i.series,inverted:l}):(0,L.jsx)(Yx,{id:e,locale:t,chartInstance:r,title:n??``,highchartsOptions:v,downloadOption:o,hasSeriesNegativeValues:d,selectedCategories:c,isMinified:!0,unit:s,additionalInformation:u,hasFullAccess:_})})})};function nC(e){let t=e.trim(),n=t.match(/^(.*?)\s+\(([^()]+)\)$/);if(!n)return{headline:t};let[,r,i]=n;return{headline:r.trim(),subline:i.trim()}}var rC=()=>{let e=(0,I.useContext)(cx);if(!e?.additionalInformation)return;let{additionalInformation:{title:t},uiConfiguration:n}=e,r=n?.header?.title?.type??`div`,i=nC(t??``),a=i.headline??t,o=i.subline??void 0;return(0,L.jsx)(`div`,{className:`h-[110px] flex-col overflow-hidden`,children:(0,L.jsxs)(`div`,{className:`px-4`,children:[(0,L.jsx)(Ge,{renderAs:r,size:`xs`,className:`mb-0 line-clamp-2 items-center gap-1 pb-1 text-sm font-semibold decoration-from-font transition duration-300 [text-wrap:balance] active:text-foreground-primary-pressed`,children:a}),o?(0,L.jsx)(`span`,{className:`line-clamp-2 text-xs font-normal`,children:o}):void 0]})})},iC=`rounded-[6px]`,aC=`text-on-surface-strong`;`${iC}${aC}`,`${iC}`,`${iC}`,`${aC}`,`${iC}`;function oC({className:e}){return(0,L.jsxs)(`svg`,{className:e,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 16 16`,width:`16`,height:`16`,children:[(0,L.jsx)(`path`,{fill:`currentColor`,fillRule:`evenodd`,d:`M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12zm0 1A7 7 0 1 0 8 1a7 7 0 0 0 0 14z`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{fill:`currentColor`,fillRule:`evenodd`,d:`M6.5 7.5A.5.5 0 0 1 7 7h1a.5.5 0 0 1 .5.5V11H9a.5.5 0 0 1 0 1H8a.5.5 0 0 1-.5-.5V8H7a.5.5 0 0 1-.5-.5z`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{fill:`currentColor`,d:`M8.75 5.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0z`})]})}var sC=()=>{let{t:e}=g(),{sources:t,accessConfiguration:n}=Ux();if(!(!n?.sources||!t?.length))return(0,L.jsx)(L.Fragment,{children:t.length>0?(0,L.jsxs)(E,{size:`sm`,className:`flex text-xs`,children:[(0,L.jsxs)(`span`,{className:`pr-1 font-bold`,children:[e(t.length>1?`SOURCES`:`SOURCE`),`:`]}),(0,L.jsx)(`span`,{className:`block max-w-[15ch] truncate`,children:t.join(`, `)}),t.length>0&&(0,L.jsx)(we,{openOn:`hover`,trigger:(0,L.jsx)(oC,{className:JS(`ml-2 hover:fill-accent`,`group-hover:text-[#0666E5]`)}),"aria-label":e([`ARIA_LABEL_SOURCES`]),className:`relative z-[40]`,placement:`top`,children:(0,L.jsx)(`div`,{className:JS(`pr-4`,t.length>5?`max-h-[150px] w-full overflow-y-scroll scrollbar scrollable-vertical`:`overflow-y-auto`),children:(0,L.jsx)(`ul`,{className:`list-disc pl-6`,children:t.map(e=>(0,L.jsx)(`li`,{className:`mb-2 last:mb-0`,children:e},e))})})})]}):(0,L.jsx)(L.Fragment,{})})},cC=()=>{let{t:e}=g(),{sources:t,additionalInformation:n}=Ux(),r=qx(`footer`,`sourceInformation`);if(!(!t&&!n?.link))return(0,L.jsxs)(`div`,{children:[(0,L.jsx)(`hr`,{className:`my-3 text-[#e5e5e5]`}),(0,L.jsxs)(`div`,{className:`flex flex-row justify-between px-6`,children:[(0,L.jsxs)(`div`,{children:[r&&(0,L.jsx)(sC,{}),(0,L.jsx)(`span`,{className:`text-xs`,children:e([`VISIT_PAGE`])})]}),(0,L.jsx)(`div`,{children:(0,L.jsx)(ae,{size:`sm`,label:e([`PREVIEW`]),variant:`muted`,className:`font-bold text-on-surface`})})]})]})},lC=()=>{let{t:e}=g(),{id:t,additionalInformation:n}=Ux(),{gtmTrackGlobalChartMinifiedClick:r}=Kx(t),i=qx(`footer`,`container`),a=n?.link||``;return(0,L.jsx)(Gy,{isMinified:!0,children:(0,L.jsxs)(`a`,{href:a,"data-gtm":Gx.globalChartMinifiedClick,onClick:()=>r(a),"aria-label":e([`ARIA_LABEL_VISIT_PAGE`]),children:[(0,L.jsx)(rC,{}),(0,L.jsx)(`div`,{className:`px-6 pt-2`,children:(0,L.jsx)(tC,{})}),i&&(0,L.jsx)(cC,{})]})})},uC=class extends I.Component{state={hasError:!1,errorMessage:``};static getDerivedStateFromError(e){return{hasError:!0,errorMessage:e instanceof Error?e.message:String(e)}}render(){return this.state.hasError?this.props.renderFallback?.(this.props.fallbackMessage)??(0,L.jsx)(dC,{fallbackMessage:this.props.fallbackMessage}):this.props.children}},dC=({fallbackMessage:e})=>(0,L.jsx)(`div`,{className:`${Gt} flex items-center justify-center`,children:(0,L.jsx)(`div`,{className:`flex h-full flex-col items-center justify-center gap-1 p-6 text-sm ${zt}`,children:(0,L.jsx)(`span`,{className:`whitespace-pre-line text-center`,children:e})})}),fC=({children:e,renderFallback:t})=>{let{t:n}=g();return(0,L.jsx)(uC,{fallbackMessage:n([`UNABLE_TO_RENDER_CHART`]),renderFallback:t,children:e})},pC=(0,I.createContext)(void 0),mC=({globalChartId:e,children:t})=>{let n=(0,I.useRef)(null);return(0,L.jsx)(`div`,{ref:n,className:`relative w-full min-w-0 @container/widgetBox`,"data-dataviz-version":`3.6.0`,"data-global-chart-id":e??void 0,children:(0,L.jsx)(pC.Provider,{value:n,children:t})})},hC=({...e})=>{let t=Wx({...e,globalChartData:e.globalChartData});return(0,L.jsx)(M,{icon:ix,children:(0,L.jsx)(tb,{children:(0,L.jsx)(cx.Provider,{value:t,children:(0,L.jsx)(lC,{})})})})},gC=({skeletonData:e,...t})=>{let[n,r]=(0,I.useState)(!1),i=Zy(t,!0),a=!t.globalChartData||!n;return(0,I.useEffect)(()=>{r(!0)},[]),(0,L.jsx)(mC,{globalChartId:t.globalChartData?.id,"wiaria-busy":a,"aria-live":`polite`,children:a?(0,L.jsx)(Qy,{uiConfiguration:t.uiConfiguration,minHeight:i,title:t.globalChartData?.additionalInformation?.title??e?.title,link:t.globalChartData?.additionalInformation?.link??e?.link,subtitle:t.globalChartData?.additionalInformation?.subt
290itle??e?.subtitle}):(0,L.jsx)(nx,{locale:t.locale,children:(0,L.jsx)(fC,{renderFallback:e=>(0,L.jsx)(Gy,{isMinified:!0,minHeight:i,children:(0,L.jsx)(dC,{fallbackMessage:e})}),children:(0,L.jsx)(hC,{...t})})})})};function _C(){return(0,L.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`150`,height:`150`,fill:`none`,"aria-hidden":`true`,children:[(0,L.jsx)(`path`,{fill:y,d:`M75 135c33.137 0 60-26.863 60-60s-26.863-60-60-60-60 26.863-60 60 26.863 60 60 60`}),(0,L.jsx)(`path`,{fill:p,d:`M63 23h40l24 24v62H63V23`}),(0,L.jsx)(`path`,{fill:b,d:`M104.414 21.586A2 2 0 0 0 103 21H63a2 2 0 0 0-2 2v86a2 2 0 0 0 2 2h64a2 2 0 0 0 2-2V47a2 2 0 0 0-.586-1.414zM102.172 25 125 47.828V107H65V25z`}),(0,L.jsx)(`path`,{fill:b,d:`M73 73a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-9a2 2 0 0 1-2-2zm4 2v8h5v-8zM89 60a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2h-9a2 2 0 0 1-2-2zm4 2v21h5V62zM105 67a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v18a2 2 0 0 1-2 2h-9a2 2 0 0 1-2-2zm4 2v14h5V69z`}),(0,L.jsx)(`path`,{fill:u,d:`M101 23a2 2 0 0 1 3.414-1.414l24 24A2.001 2.001 0 0 1 127 49h-24a2 2 0 0 1-2-2zM56.474 73.047c-1.536-2.688-5.41-2.688-6.946 0l-28.554 49.969c-1.523 2.666.402 5.984 3.473 5.984h57.108c3.07 0 4.996-3.318 3.473-5.984z`}),(0,L.jsx)(`path`,{fill:p,d:`M50 118a3 3 0 1 1 6 0 3 3 0 0 1-6 0M53 111a2 2 0 0 1-2-2V89a2 2 0 1 1 4 0v20a2 2 0 0 1-2 2`})]})}function vC({query:e}){let{t}=g(),n=`/serp?q=${encodeURIComponent(e)}`,[r,i]=t(`STATISTICS_NO_MATCH_FOUND_DESCRIPTION`).split(`{{link}}`);return(0,L.jsxs)(`div`,{className:`flex flex-col items-center gap-4 py-16 text-center`,children:[(0,L.jsx)(_C,{}),(0,L.jsxs)(`div`,{className:`flex flex-col`,children:[(0,L.jsx)(`div`,{className:`text-xl font-bold text-foreground-strong`,children:t(`STATISTICS_NO_MATCH_FOUND_TITLE`)}),(0,L.jsxs)(E,{size:`sm`,className:`max-w-sm`,children:[r,(0,L.jsx)(Me,{to:n,variant:`link`,className:`inline`,children:t(`STATISTICS_NO_MATCH_FOUND_GLOBAL_SEARCH_LINK`)}),i]})]}),(0,L.jsxs)(Me,{to:n,variant:`buttonPrimary`,className:`mt-2`,children:[(0,L.jsx)(f,{name:`16-reg-mag-glass-normal`}),t(`STATISTICS_NO_MATCH_FOUND_GLOBAL_SEARCH_BUTTON`)]})]})}function yC({showMore:e,handleShowMoreRecommendations:t,isLimitReached:n}){let{t:r}=g(),{contentType:i}=gw(),{pushSelectContent:a}=Ry(!!v()?.isGtmEnabled),o=``;e&&!n&&(o=r(`GLOBAL_SHOW_MORE`)),n&&(o=r(`GLOBAL_SHOW_LESS`));let s=(0,I.useRef)(!1);function c(){s.current=!0,a({contentType:i,pageLocation:location.pathname,component:`statistics__${o.replace(` `,`-`)}-button`.toLocaleLowerCase()}),t(),s.current=!1}return(0,L.jsx)(`div`,{className:`flex flex-col justify-center`,children:(0,L.jsx)(j,{variant:`neutral`,className:`my-4 self-center shadow-lg`,"data-gtm":`statistics__view-more-button`,onPress:c,"aria-pressed":s.current,children:o})})}var bC=new Map;function xC(e,t){bC.set(e,t)}function SC(e){return bC.get(e)}var CC=`/agnostic-pages/statistics-minified-chart-data`;function wC(e,t,r){let i=n();return(0,I.useEffect)(()=>{if(!SC(t)&&!i?.data&&i.state===`idle`&&e){let e=new URLSearchParams;e.append(`id`,t),e.append(`serviceType`,`statistic`),e.append(`locale`,r),i.load(`${CC}?${String(e)}`)}},[i,e,t,r]),{minifiedChartFetcherData:i.data??SC(t)}}function TC(e,t){let n=t.trim().length>0,r=(0,I.useMemo)(()=>e.map(e=>`${e.title} ${e.subtitle??``} ${e.description}`.toLocaleLowerCase()),[e]);return{isSearching:n,filteredRecommendations:(0,I.useMemo)(()=>{let n=t.trim();if(n.length===0)return e;let i=n.toLocaleLowerCase();return e.filter((e,t)=>r[t].includes(i))},[e,r,t])}}function EC({recommendations:e,limit:t=50}){let n=(0,I.useRef)({topRecommendations:[],moreRecommendations:[]});return n.current.topRecommendations=e.slice(0,t),e.length>=t&&(n.current.moreRecommendations=e.slice(t)),{topRecommendations:n.current.topRecommendations,moreRecommendations:n.current.moreRecommendations}}function DC({recommendations:e,limit:t=50}){let{topRecommendations:n,moreRecommendations:r}=EC({recommendations:e,limit:t}),[i,a]=(0,I.useState)(0),o=i<r.length,s=i>=r.length,c=()=>{if(s)return a(0);a(i+t)};return{visibleRecommendations:[...n,...r.slice(0,i)],handleShowMoreRecommendations:c,showMore:o,shownCount:i,isLimitReached:s,canShowMoreButton:r.length>0}}function OC({recommendations:e,platform:t,query:n=``,hasStatisticsAccess:r}){let{isSearching:i,filteredRecommendations:a}=TC(e,n),{visibleRecommendations:o,canShowMoreButton:s,handleShowMoreRecommendations:c,showMore:l,isLimitReached:u}=DC({recommendations:a,limit:9});return i&&a.length===0?(0,L.jsx)(vC,{query:n}):(0,L.jsxs)(ge,{className:`mt-1`,gap:`small`,children:[(0,L.jsx)(ge,{gap:`small`,variant:`third`,className:`gap-6`,children:o.map(e=>(0,L.jsx)(kC,{recommendation:e,platform:t,hasStatisticsAccess:r},e.id))}),!i&&s?(0,L.jsx)(yC,{handleShowMoreRecommendations:c,showMore:l,isLimitReached:u}):void 0]})}function kC({recommendation:e,platform:t,hasStatisticsAccess:n}){let{minifiedChartFetcherData:r}=wC(e,e.contentId,t);return xC(e.contentId,r),(0,L.jsx)(gC,{globalChartData:r,locale:t,skeletonData:{title:e.title,link:`https://${t===`en`?`www.`:`de.`}statista.com${e.urlPath}`},accessConfiguration:{isLoggedInUser:!e.premium||n===!0}})}var AC=new Set([`statistic`,`insight`]),jC={statistic:`statistics`,insight:`insights`};function MC(){let[e,t]=(0,I.useState)(`statistic`),[n,r]=(0,I.useState)();return{active:e,setActive:t,options:AC,contentTypeMapper:jC,isPressed:n,setIsPressed:r}}function NC({title:e,urlPath:t,icon:n,coveredGeos:r,"data-gtm":i}
290){let a=De`flex justify-between`,o=De` 291 md:flex-row md:after:absolute 292 md:after:-z-sticky md:after:h-[2px] 293 md:after:w-full md:after:border-1 294 md:after:border-dashed md:after:border-background-muted 295 md:after:bg-on-surface-muted md:after:content-[''] 296 md:after:opacity-50 md:after:self-center`;return(0,L.jsxs)(`div`,{className:ne(`relative items-start pr-[2px]`,a),children:[(0,L.jsxs)(`div`,{className:ne(`flex min-w-0 flex-1 flex-col md:flex-row items-start`,o),title:e,children:[(0,L.jsx)(`span`,{className:`flex self-start after:w-2 after:bg-surface after:content-['']`,children:n}),(0,L.jsx)(Me,{variant:`unstyled`,to:t,"data-gtm":i,target:`_blank`,rel:`noopener`,className:`w-[300px] min-w-0 truncate bg-surface font-semibold underline hover:text-primary-hover md:w-auto md:pr-2`,children:e})]}),(0,L.jsx)(`div`,{className:ne(`min-w-0 max-w-[45%] gap-4 bg-surface md:pl-2`,a),children:(0,L.jsx)(PC,{coveredGeos:r})})]})}function PC({className:e,iconName:t=`16-reg-world-normal`,coveredGeos:n}){let r=n.level1&&n.level1?.[0].code===`WLD`,i=!r&&!!n.level2,a=i?n.level2:n.level1,o=(a?.length??0)-1,s=i?a?.[0]?.code:a?.[0]?.name,c=s!==void 0&&s.length>0;return(0,L.jsxs)(`span`,{"aria-hidden":!0,className:ne(`rounded px-2 flex gap-1 items-center text-sm flex-1 h-6`,c?`font-semibold outline outline-2 outline-outline min-w-0 truncate`:`min-w-16 h-6`,e),children:[(0,L.jsx)(_,{name:r?t:`16-reg-map-pin`,className:ne(`shrink-0`,c?void 0:`hidden`)}),c?(0,L.jsxs)(`span`,{className:`max-w-40 truncate`,title:`${a?.map(e=>e.name).join(`, `)}`,children:[s,o>1&&!r?` +${o}`:void 0]}):void 0]})}function FC({recommendations:e,query:t=``}){let{isSearching:n,filteredRecommendations:r}=TC(e,t),{visibleRecommendations:i,canShowMoreButton:a,handleShowMoreRecommendations:o,showMore:s,isLimitReached:c}=DC({recommendations:r,limit:Dy()?15:50});return n&&r.length===0?(0,L.jsx)(vC,{query:t}):(0,L.jsxs)(`div`,{className:`overflow-x-hidden`,children:[(0,L.jsx)(`ol`,{className:`mt-1 flex flex-col gap-3 md:gap-4`,children:i.map(({...e},t)=>(0,L.jsx)(`li`,{children:(0,L.jsx)(NC,{icon:(0,L.jsx)(LC,{contentType:e.contentType,premium:e.premium}),...e,"data-gtm":`statistics__next-steps-${e.contentType}-link--${e.contentId}`})},`${e.id}--${t}`))}),a?(0,L.jsx)(yC,{handleShowMoreRecommendations:o,showMore:s,isLimitReached:c}):void 0]})}var IC={gcs:{premium:`24-square-consumer-insights-color`,free:`24-square-consumer-insights-color`},outlook:{premium:`24-square-market-insights-color`,free:`24-square-market-insights-color`},report:{premium:`24-square-studies-plus-color`,free:`24-square-studies-color`},statistic:{premium:`24-square-statistics-plus-color`,free:`24-square-statistics-color`},topic:{premium:`24-square-topics-color`,free:`24-square-topics-color`},infographic:{premium:`24-square-infographics-color`,free:`24-square-infographics-color`}};function LC({contentType:e,premium:t}){let n=t?IC[e].premium:IC[e].free;return(0,L.jsx)(_,{name:n,className:`!size-6`})}function RC(e){return Array.isArray(e)&&e.length>0}function zC({platform:e,...t}){return RC(t.statistics)||RC(t.insights)?(0,L.jsx)(ge,{gap:`small`,children:(0,L.jsx)(BC,{platform:e,...t})}):(0,L.jsx)(L.Fragment,{})}function BC({platform:e,...t}){let{t:n}=g(),[r,i]=(0,I.useState)(``),a=(0,I.useDeferredValue)(r),{active:o,setActive:s,options:c,contentTypeMapper:l,isPressed:u,setIsPressed:d}=MC(),f={statistic:t.statistics.length<2?n(`STATISTIC`):n(`HTML_SITEMAP_STATISTICS_HEADLINE`),insight:`Insights`},p=t.insights.length<1,{isSearching:m,filteredRecommendations:h}=TC(t[l[o]],a),v=m?n(`STATISTICS_NEXT_STEPS_SEARCH_RESULTS_ANNOUNCEMENT`,{count:h.length}):``;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(Ge,{renderAs:`h2`,size:`fluid-sm`,className:`font-bold`,children:n(`STATISTICS_NEXT_STEPS_HEADLINE`)}),(0,L.jsxs)(ge,{gap:`small`,variant:p?`default`:`sidebar`,children:[p?void 0:(0,L.jsx)(`span`,{className:`flex items-center gap-2`,children:[...c].map(e=>(0,L.jsx)(I.Fragment,{children:RC(t[l[e]])?(0,L.jsx)(j,{onPress:()=>{s(e),d(e)},"aria-pressed":e===u,variant:`neutral`,"data-gtm":`statistics__next-steps-toggle-${e}`,className:ne(`shadow-none drop-shadow-none focus:bg-primary-pressed focus:text-surface`,o===e?`bg-primary text-surface hover:text-surface hover:bg-primary-focus`:`bg-none hover:bg-primary-focus hover:text-surface outline outline-1 outline-outline `),children:f[e]}):void 0},e))}),t.withSearch?(0,L.jsx)(Pe,{type:`text`,name:`q`,size:`sm`,"aria-label":n(`STATISTICS_NEXT_STEPS_SEARCH_ARIA_LABEL`),placeholder:n(`STATISTICS_NEXT_STEPS_SEARCH_PLACEHOLDER`),infoPosition:`right`,info:(0,L.jsx)(Ie,{text:n(`STATISTICS_NEXT_STEPS_FILTER_TOOLTIP`),placement:`top`,"aria-label":n(`STATISTICS_NEXT_STEPS_FILTER_TOOLTIP_ARIA_LABEL`),children:(0,L.jsx)(_,{name:`16-reg-info`,className:`translate-y-[2px] text-foreground-neutral`})}),className:ne(`w-full flex-row`,p?`lg:w-1/3 self-end`:void 0),value:r,"data-gtm":`statistics__filter-recommendations`,onChange:e=>i(e)}):void 0]}),(0,L.jsx)(`div`,{role:`status`,"aria-live":`polite`,className:`sr-only`,children:v}),(0,L.jsx)(VC,{active:o,platform:e,query:a,...t})]})}function VC({active:e,insights:t,statistics:n,recommendations:r,platform:i,query:a,hasStatisticsAccess:o}){let s=Dy();return{statistic:(0,L.jsx)(L.Fragment,{children:s?(0,L.jsx)(OC,{recommendations:n,platform:i,query:a,hasStatisticsAccess:o}):(0,L.jsx)(FC,{recommendations:r,query:a})}),insight:(0,L.jsx)(FC,{recommendations:t,query:a})}[e]}var HC={year:`numeric`,month:`short`,day:`numeric`};function UC({date:e,platform:t,options:n=HC}){let r=typeof e==`string`?new Date(e):e;return new Intl.DateTimeFormat(t,n).format(r)}function WC(e){return e?.toLowerCase()===`de`?`https://de.statista.com`:`https://www.statista.com`}function GC(e){return e?.toLowerCase()===`de`?`https://de.statista.com/statistik/info/unser-research-versprechen/`:`https://www.statista.com/aboutus/our-research-commitment/`}var KC=`flex items-center gap-2`;function qC({isPremium:e,author:t,platform:n,region:r,displayDate:i,displayText:a,hasStatisticsAccess:o,isMultipleRegions:s,isGtmEnabled:c}){let{t:l}=g();return(0,L.jsxs)(ge,{gap:`small`,className:`grid-cols-2 pt-2 md:flex md:flex-wrap md:items-center md:gap-x-4 md:gap-y-2`,children:[e?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(ke,{icon:(0,L.jsx)(_,{name:`16-fill-plus-circle`}),className:`bg-accent-container`,variant:`neutral`,iconPosition:`left`,onPress:()=>YC(o,c),children:l(`GLOBAL_PREMIUM`)}),(0,L.jsx)(`span`,{className:`hidden md:block`,children:`|`})]}):void 0,i?(0,L.jsx)(XC,{text:UC({date:i,platform:n}),title:l(`STATISTIC_LAST_UPDATE`),iconName:`16-reg-refresh-alt`}):void 0,r?(0,L.jsx)(XC,{text:r,title:l(s?`STATISTIC_REGIONS`:`STATISTIC_REGION`),iconName:`16-reg-world-normal`}):void 0,(0,L.jsxs)(`div`,{className:KC,title:l(`STATISTIC_AUTHOR`),children:[(0,L.jsx)(_,{name:`16-reg-user`,className:`size-4`}),(0,L.jsx)(JC,{platform:n,author:t})]}),a?(0,L.jsx)(XC,{text:a,title:l(`STATISTIC_SURVEY_TIME_PERIOD`),iconName:`16-reg-info`}):void 0]})}function JC({platform:e,author:t}){let{t:n}=g();return(0,L.jsx)(Me,{to:GC(e),variant:`link`,target:`_blank`,rel:`noopener`,className:`text-sm font-bold leading-snug`,"data-gtm":`statistics__author-link`,children:n(`STATISTA_RESEARCH_TEAM`)})}function YC(e,t){if(e===!0)return;let{pushPageView:n}=Ry(t);return n(location.pathname),globalThis.location.href=`https://www.statista.com/accounts/individuals`}function XC({...e}){let{text:t,title:n,iconName:r}=e;return(0,L.jsxs)(`div`,{className:KC,title:n,children:[(0,L.jsx)(_,{name:r,className:`size-4`}),(0,L.jsxs)(E,{className:`text-sm font-bold leading-snug`,children:[(0,L.jsx)(`span`,{className:`sr-only`,children:`${n}: `}),t]})]})}function ZC({isOpen:e,onClose:t}){let{t:n}=g(),r=(0,I.useId)();return(0,L.jsx)(me,{"aria-labelledby":r,isOpen:e,isDismissable:!0,onClose:t,variant:`strong`,children:(0,L.jsxs)(`div`,{className:`relative w-full rounded px-4 pb-4 pt-8 md:w-[35rem] md:px-8`,children:[(0,L.jsx)(QC,{onClose:t}),(0,L.jsx)(Fy,{id:r,content:n(`STATISTIC_FEATURE_UNAVAILABLE`),className:`text-xl text-foreground-inverted [&_b]:font-bold`})]})})}function QC({onClose:e}){let{t}=g();return(0,L.jsx)(j,{"aria-label":t(`GLOBAL_CLOSE`),className:`absolute right-3 top-2 size-[32px] text-foreground-inverted focus:outline-offset-0 focus:outline-on-accent`,"data-gtm":`statistics__academia-restriction-close`,onPress:e,children:(0,L.jsx)(_,{size:`32`,name:`16-fill-cross-normal`})})}
296function $C({title:e,subtitle:t,breadcrumbs:n,hasResearchAiAccess:r,isResearchAiRestricted:i,isLoggedIn:a,contentType:o,isGtmEnabled:s}){let{setIsOpen:c,buttonRef:l,isOpen:u}=d(),[f,p]=(0,I.useState)(!1),[m,h]=(0,I.useState)(!1),v=n?.some(e=>!e.label),{pushSelectContent:y}=Ry(!!s),{t:b}=g();function x(){y({contentType:o,pageLocation:location.pathname,component:`statistics__ask-rai-button`}),i?h(!0):r?c(!0):p(!0)}return(0,L.jsxs)(L.Fragment,{children:[!v&&n?(0,L.jsx)(Re,{items:n,className:`[&_ol_li:last-child]:sr-only [&_ol_li:nth-last-child(2)>span]:sr-only`}):void 0,(0,L.jsxs)(`div`,{className:`flex flex-col items-center gap-2 md:flex-row md:items-start md:justify-between md:gap-6`,children:[(0,L.jsx)(`div`,{className:`flex w-full flex-1 flex-col md:w-auto`,children:(0,L.jsxs)(`div`,{className:`md:max-w-[720px]`,children:[(0,L.jsx)(Ge,{renderAs:`h1`,size:`fluid-sm`,className:`text-xl font-bold leading-[28px] text-surface-strong [text-wrap:pretty] md:text-[28px] md:leading-[34px]`,children:e}),t?(0,L.jsx)(E,{className:`mt-2 text-base leading-normal md:text-xl md:font-light md:leading-[28px]`,children:t}):void 0]})}),(0,L.jsxs)(`div`,{className:`flex w-full shrink-0 md:w-auto`,children:[(0,L.jsxs)(j,{ref:l,onPress:x,"data-gtm":`statistics__ask-rai-button`,variant:`primary`,"aria-expanded":r&&!i?u:void 0,"aria-controls":r&&!i?`research-ai-dialog`:void 0,"aria-haspopup":r&&!i?`dialog`:void 0,className:`flex h-10 w-full items-center justify-center gap-2 rounded bg-primary px-4 py-2 text-sm font-semibold leading-normal text-surface hover:bg-primary-hover md:w-auto`,children:[(0,L.jsx)(_,{name:`16-reg-research-ai-normal`,className:`size-4 text-surface`,"aria-hidden":`true`}),(0,L.jsx)(`span`,{children:b(`STATISTIC_ASK_RAI`)})]}),(0,L.jsx)(Vy,{isLoggedIn:a,withLoginForm:!a,isOpen:f,onClose:()=>p(!1)}),(0,L.jsx)(ZC,{isOpen:m,onClose:()=>h(!1)})]})]})]})}function ew(e){return e?[...e.level1||[],...e.level2||[],...e.level3||[]]:[]}function tw(e){return ew(e).filter(e=>!!e.name).length}function nw(e){return ew(e).map(e=>e.name).filter(Boolean).join(`, `)}function rw(e){let t=ew(e).filter(e=>e.name);if(t.length===0)return`Global`;let n=t.map(e=>({"@type":`Place`,name:e.name}));return n.length===1?n[0]:n}function iw({breadcrumbs:e,hasResearchAiAccess:t=!1,isResearchAiRestricted:n=!1,additionalInformation:r,platform:i,isLoggedIn:a,contentType:o,...s}){let{title:c,subtitle:l,lastContentUpdatedAt:u,lastUpdated:d,coveredGeos:f,coveredTimeframe:p,isPremium:m,author:h}=r,g=u??d,_=nw(f),v=tw(f)>1,y=p?.displayText;return(0,L.jsxs)(`div`,{className:`mb-4 flex flex-col gap-4`,children:[(0,L.jsx)($C,{title:c,subtitle:l,hasResearchAiAccess:t,breadcrumbs:e,isResearchAiRestricted:n,isLoggedIn:a,contentType:o,...s}),(0,L.jsx)(qC,{isPremium:m,author:h,platform:i,displayDate:g,displayText:y,region:_,isMultipleRegions:v,...s})]})}var aw=`https://cdn.statcdn.com/static`,ow=new Map([[`default`,aw],[`icons`,`${aw}/icons`],[`openGraph`,`${aw}/openGraph`],[`study`,`https://cdn.statcdn.com/Study`]]);function sw({link:e,cdn:t=`default`}){return e.length<2?(console.info(`CDN link is missing`),``):`${ow.get(t)}/${e}`}var cw=`0- archive`;function lw({userId:e,isLoggedIn:t,isIndexed:n,platform:r,pageTitle:i,relevance:a,metaData:o,link:s,breadcrumbs:c,statisticChartData:l}){let u=l.hostMetadata?.relevance!==cw&&n,d=WC(r),f=GC(r),p=c.some(e=>!e.label),m=o?.ldJsonDescription?.slice(0,5e3),h=m&&m.length>=50?m:o?.metaDescription,g=sw({link:`statista.png`,cdn:`openGraph`}),_={"@type":`Organization`,name:`Statista Research Department`,url:f,logo:{"@type":`ImageObject`,url:g}},v=!u||!l.hostMetadata?.hrefLangData?.length||l.hostMetadata.hrefLangData.some(({partnerRelevance:e})=>e===cw),y=l.hostMetadata?.hrefLangData??[],b=r===`en`?s:y.find(({hrefLanguage:e})=>e===`en`)?.urlPath,x=[...s?[{tagName:`link`,rel:`alternate`,hrefLang:r,href:`${d}${s}`}]:[],...y.map(({hrefLanguage:e,urlPath:t})=>({tagName:`link`,rel:`alternate`,hrefLang:e,href:`${WC(e)}${t}`})),...b?[{tagName:`link`,rel:`alternate`,hrefLang:`x-default`,href:`${WC(`en`)}${b}`}]:[]];return[{title:`${i} | Statista`},{name:`description`,content:o?.metaDescription},{name:`robots`,content:u?`index, follow`:`noindex, follow`},u&&s?{tagName:`link`,rel:`canonical`,href:`${d}${s}`}:{},{name:`application-name`,content:`Statista`},{name:`apple-mobile-web-app-title`,content:`Statista`},{property:`og:site_name`,content:`Statista`},{property:`og:image`,content:g},{property:`og:image:height`,content:`253`},{property:`og:image:width`,content:`355`},...v?[]:x,{property:`og:title`,content:`${i} | Statista`},{property:`og:description`,content:o?.metaDescription}
296,{id:`gtm_stat_relevance`,"data-page":a},{id:`usageView_origin_channel`,"data-page":`Platform`},{id:`gtm_routeName`,"data-page":r===`de`?`statistik`:`statistic`},{id:`gtm_userId`,"data-page":e},{id:`gtm_userProductGroup`,"data-page":t?`paid`:`anonymous`},{id:`usageView_origin_page`,"data-page":`${d}${s}`},{property:`og:url`,content:`${d}${s}`},{"script:ld+json":{"@context":`https://schema.org`,"@type":`WebPage`,name:i,description:o?.metaDescription,url:`${d}${s}`,isAccessibleForFree:!l.additionalInformation.isPremium,...!p&&{breadcrumb:{"@type":`BreadcrumbList`,itemListElement:c.map(({href:e,label:t},n)=>({"@type":`ListItem`,position:n+1,item:{"@id":`${e}`,name:t}}))}},hasPart:[...l.additionalInformation.isPremium?[{"@type":`WebPageElement`,isAccessibleForFree:!1,cssSelector:`.masked_value`}]:[],{"@type":`Article`,datePublished:l.additionalInformation.released,dateModified:l.additionalInformation.lastContentUpdatedAt,headline:i,image:g,author:_},{"@type":`Dataset`,name:i,description:h,url:`${d}${s}`,keywords:l.additionalInformation.tags,temporalCoverage:l.additionalInformation.coveredTimeframe?.displayText,spatialCoverage:rw(l.additionalInformation.coveredGeos),creator:_,includedInDataCatalog:{"@type":`DataCatalog`,url:`${d}${s}`,name:i}}]}}]}function uw(e){return e===!0?fw:e===`free`?mw:pw}var dw={sidebarData:!0},fw={download:{csv:!0,svg:!0,png:!0,pdf:!0,xlsx:!0,ppt:!0},sourceDetails:!0,citations:!0,sources:!0,copyData:!0,copyForAI:!0,chartTypeSwitch:!0,categoryFilter:!0,share:{facebook:!0,twitter:!0,linkedin:!0,mail:!0},isLoggedInUser:!0,...dw},pw={download:{...fw.download,csv:!1,svg:!1,png:!1,pdf:!1,xlsx:!1,ppt:!1},sourceDetails:!1,citations:!1,sources:!1,copyData:!1,copyForAI:!1,chartTypeSwitch:!1,categoryFilter:!1,isLoggedInUser:!1,...dw},mw={...pw,download:{...pw.download,png:!0,pdf:!0},isLoggedInUser:!0},hw=({loaderData:e})=>{let t=e,{breadcrumbs:n,pageTitle:r,metaData:i,statisticChartData:a,platform:o,link:s,relevance:c}=t,l=!!t.isLoggedIn,u=!!t.isIndexed;return lw({platform:o,userId:String(t.user?.id),isLoggedIn:l,isIndexed:u,breadcrumbs:n,pageTitle:String(r),metaData:i,link:s,relevance:c,statisticChartData:a})};function gw(){return s()}function _w({formAction:e,defaultShouldRevalidate:t}){return!e?.startsWith(`/agnostic-pages/tracking-client-events`)&&t}var vw=o(function(){let{isLoggedIn:e,statisticChartData:t,platform:n,recommendations:r,statistics:i,insights:a,contentType:o,hasResearchAiAccess:c,isResearchAiRestricted:l,hasStatisticsAccess:u,breadcrumbs:f,isDevelopment:p,isAdvertisingEnabled:m}=s(),{setContentProps:h}=d(),{title:g}=t.additionalInformation,_=!!v()?.isGtmEnabled;(0,I.useEffect)(()=>{let{pushPageView:e}=Ry(!!_);e(location.pathname),h({contentId:String(t.contentId),contentType:o,title:g})},[t.contentId,o,h,g,_]);let[y,b]=(0,I.useState)(!1),x=Sy({statisticId:String(t.contentId),isPremium:!!t.additionalInformation.isPremium,tags:Array.isArray(t.additionalInformation.tags)?t.additionalInformation.tags.map(String):[],platform:n}),{onDownloadCallback:S}=Uy({contentType:o,hasStatisticsAccess:!!u});return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(se,{className:`pt-6 md:pt-12`,children:[(0,L.jsx)(Ny,{enabled:m,targeting:x,className:`mb-3 md:pb-6`}),(0,L.jsx)(iw,{platform:n,breadcrumbs:f,isLoggedIn:e,additionalInformation:t.additionalInformation,hasResearchAiAccess:c,contentType:o,isGtmEnabled:_,isResearchAiRestricted:l,hasStatisticsAccess:u})]}),(0,L.jsxs)(se,{className:`py-6`,children:[(0,L.jsxs)(ge,{gap:`small`,children:[(0,L.jsx)(yy,{globalChartData:t,uiConfiguration:{header:{container:{visible:!1}},footer:{sourceLink:{visible:!1},lastUpdated:{visible:!1}}},locale:n,onDownloadCallback:S,accessConfiguration:uw(u),onPaywallTriggered:u===!0?void 0:()=>b(!0),...e?{favoriteButtonData:{type:`statistic`}}:void 0}),(0,L.jsx)(Vy,{withLoginForm:!e,isLoggedIn:e,isOpen:y,onClose:()=>b(!1)}),(0,L.jsx)(zC,{recommendations:[...r.recommendations],statistics:i,insights:a,platform:n,hasStatisticsAccess:u,withSearch:p}),(0,L.jsx)(Py,{enabled:m})]}),u?void 0:(0,L.jsx)(Hy,{})]})]})});export{vw as default,hw as meta,_w as shouldRevalidate};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.