From 1e9ccc15c2803f4bd5c9bfea8e3e2220ce199714 Mon Sep 17 00:00:00 2001 From: Danijel Beljan Date: Sat, 19 Aug 2023 16:18:52 +0200 Subject: [PATCH 1/2] Fixed card layout html bug and min page amount is 10 now --- dist/Q-Table.js | 2 +- dist/routes.js | 3 ++- resources/schema.json | 3 ++- src/components/card/CardLayout.svelte | 6 +++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dist/Q-Table.js b/dist/Q-Table.js index 2f9de5c3..388e07db 100644 --- a/dist/Q-Table.js +++ b/dist/Q-Table.js @@ -1 +1 @@ -this.window=this.window||{},this.window.q_table=function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function l(e){e.forEach(t)}function o(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let c,i;function s(e,t){return c||(c=document.createElement("a")),c.href=t,e===c.href}function a(t,n,l){t.$$.on_destroy.push(function(t,...n){if(null==t)return e;const l=t.subscribe(...n);return l.unsubscribe?()=>l.unsubscribe():l}(n,l))}function u(e,t,n,l){return e[1]&&l?function(e,t){for(const n in t)e[n]=t[n];return e}(n.ctx.slice(),e[1](l(t))):n.ctx}function d(e){return null==e?"":e}function f(e,t){e.appendChild(t)}function m(e,t,n){const l=function(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;if(t&&t.host)return t;return e.ownerDocument}(e);if(!l.getElementById(t)){const e=b("style");e.id=t,e.textContent=n,function(e,t){f(e.head||e,t),t.sheet}(l,e)}}function p(e,t,n){e.insertBefore(t,n||null)}function g(e){e.parentNode&&e.parentNode.removeChild(e)}function h(e,t){for(let n=0;ne.removeEventListener(t,n,l)}function y(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function C(e,t){t=""+t,e.data!==t&&(e.data=t)}function _(e,t){e.value=null==t?"":t}function k(e,t,n,l){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,l?"important":"")}function I(e,t,n){e.classList[n?"add":"remove"](t)}class E{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=$(t.nodeName):this.e=b(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t{R.delete(e),l&&(n&&e.d(1),l())})),e.o(t)}else l&&l()}function W(e,t){Y(e,1,1,(()=>{t.delete(e.key)}))}function X(e,t,n,o,r,c,i,s,a,u,d,f){let m=e.length,p=c.length,g=m;const h={};for(;g--;)h[e[g].key]=g;const b=[],$=new Map,x=new Map,v=[];for(g=p;g--;){const e=f(r,c,g),l=n(e);let s=i.get(l);s?o&&v.push((()=>s.p(e,t))):(s=u(l,e),s.c()),$.set(l,b[g]=s),l in h&&x.set(l,Math.abs(g-h[l]))}const w=new Set,q=new Set;function y(e){Q(e,1),e.m(s,d),i.set(e.key,e),d=e.first,p--}for(;m&&p;){const t=b[p-1],n=e[m-1],l=t.key,o=n.key;t===n?(d=t.first,m--,p--):$.has(o)?!i.has(l)||w.has(l)?y(t):q.has(o)?m--:x.get(l)>x.get(o)?(q.add(l),y(t)):(w.add(o),m--):(a(n,i),m--)}for(;m--;){const t=e[m];$.has(t.key)||a(t,i)}for(;p;)y(b[p-1]);return l(v),b}function J(e){e&&e.c()}function U(e,n,r,c){const{fragment:i,after_update:s}=e.$$;i&&i.m(n,r),c||D((()=>{const n=e.$$.on_mount.map(t).filter(o);e.$$.on_destroy?e.$$.on_destroy.push(...n):l(n),e.$$.on_mount=[]})),s.forEach(D)}function Z(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];j.forEach((l=>-1===e.indexOf(l)?t.push(l):n.push(l))),n.forEach((e=>e())),j=t}(n.after_update),l(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ee(e,t){-1===e.$$.dirty[0]&&(T.push(e),V||(V=!0,A.then(H)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const o=l.length?l[0]:n;return m.ctx&&s(m.ctx[e],m.ctx[e]=o)&&(!m.skip_bound&&m.bound[e]&&m.bound[e](o),p&&ee(t,e)),n})):[],m.update(),p=!0,l(m.before_update),m.fragment=!!c&&c(m.ctx),o.target){if(o.hydrate){const e=function(e){return Array.from(e.childNodes)}(o.target);m.fragment&&m.fragment.l(e),e.forEach(g)}else m.fragment&&m.fragment.c();o.intro&&Q(t.$$.fragment),U(t,o.target,o.anchor,o.customElement),H()}z(f)}class ne{$destroy(){Z(this,1),this.$destroy=e}$on(t,n){if(!o(n))return e;const l=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return l.push(n),()=>{const e=l.indexOf(n);-1!==e&&l.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function le(e,t,n){const l=e.slice();return l[4]=t[n],l[6]=n,l}function oe(e){let t;return{c(){t=b("div"),y(t,"class","s-q-item__footer__notes")},m(n,l){p(n,t,l),t.innerHTML=e[0]},p(e,n){1&n&&(t.innerHTML=e[0])},d(e){e&&g(t)}}}function re(e){let t,n,l;function o(e,t){return e[1].length>1?ie:ce}let r=o(e),c=r(e),i=e[1],s=[];for(let t=0;t0&&oe(t),i=t[1].length>0&&re(t),s=t[2]&&ue(t);return{c(){n=b("div"),c&&c.c(),l=v(),o=b("div"),i&&i.c(),r=v(),s&&s.c(),y(o,"class","s-q-item__footer__details"),y(n,"class","s-q-item__footer")},m(e,t){p(e,n,t),c&&c.m(n,null),f(n,l),f(n,o),i&&i.m(o,null),f(o,r),s&&s.m(o,null)},p(e,[t]){e[0].length>0?c?c.p(e,t):(c=oe(e),c.c(),c.m(n,l)):c&&(c.d(1),c=null),e[1].length>0?i?i.p(e,t):(i=re(e),i.c(),i.m(o,r)):i&&(i.d(1),i=null),e[2]?s?s.p(e,t):(s=ue(e),s.c(),s.m(o,null)):s&&(s.d(1),s=null)},i:e,o:e,d(e){e&&g(n),c&&c.d(),i&&i.d(),s&&s.d()}}}function fe(e,t,n){let{notes:l=""}=t,{sources:o=[]}=t,{acronym:r=""}=t;return e.$$set=e=>{"notes"in e&&n(0,l=e.notes),"sources"in e&&n(1,o=e.sources),"acronym"in e&&n(2,r=e.acronym)},[l,o,r,function(e,t){let n="";return n=e.link.url&&!0===e.link.isValid?`${e.text}`:e.text,t!==o.length-1&&""!==o[t+1].text&&(n+=","),n}]}class me extends ne{constructor(e){super(),te(this,e,fe,de,r,{notes:0,sources:1,acronym:2})}}function pe(e,t,n){const l=e.slice();return l[1]=t[n],l}function ge(e){let t,n,l,o,r,c,i,s=e[1].index+"",a=e[1].value+"";return{c(){t=b("div"),n=b("span"),l=x(s),o=v(),r=b("span"),c=x(a),i=v(),y(n,"class","q-table-footnote-index s-font-note--tabularnums"),y(r,"class","q-table-footnote-text"),y(t,"class","q-table-footnote-footer s-font-note-s")},m(e,s){p(e,t,s),f(t,n),f(n,l),f(t,o),f(t,r),f(r,c),f(t,i)},p(e,t){1&t&&s!==(s=e[1].index+"")&&C(l,s),1&t&&a!==(a=e[1].value+"")&&C(c,a)},d(e){e&&g(t)}}}function he(t){let n,l=t[0],o=[];for(let e=0;e{"footnotes"in e&&n(0,l=e.footnotes)},[l]}class $e extends ne{constructor(e){super(),te(this,e,be,he,r,{footnotes:0})}}function xe(e,t,n){const l=e.slice();return l[9]=t[n],l}function ve(t){let n;return{c(){n=$("rect"),y(n,"class","q-table-colorColumn-legend-bucket "+t[9].color.colorClass),y(n,"width",Ee(t[9],t[6],t[5])+"%"),y(n,"height","16"),y(n,"x",Ie(t[9],t[6],t[5])+"%"),y(n,"y","12")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}function we(t){let n;return{c(){n=$("rect"),y(n,"class","q-table-colorColumn-legend-bucket"),k(n,"color",t[9].color.customColor),y(n,"width",Ee(t[9],t[6],t[5])+"%"),y(n,"height","16"),y(n,"x",Ie(t[9],t[6],t[5])+"%"),y(n,"y","12")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}function qe(e){let t;let n=function(e,t){return e[9].color.customColor?we:ve}(e),l=n(e);return{c(){l.c(),t=w()},m(e,n){l.m(e,n),p(e,t,n)},p(e,t){l.p(e,t)},d(e){l.d(e),e&&g(t)}}}function ye(e){let t,n,l=e[3]&&function(e){let t,n,l,o;function r(e,t){return e[1][0].color.customColor?_e:Ce}let c=r(e),i=c(e);return{c(){t=b("div"),n=$("svg"),i.c(),l=v(),o=b("div"),o.textContent=`= ${e[1][0].from}`,y(n,"width","11"),y(n,"height","11"),y(n,"class","s-legend-item-label__item__icon q-table-colorColumn-legend-info-icon"),I(n,"q-table-colorColumn-legend-info-icon--interactive",!e[0]),I(n,"q-table-colorColumn-legend-info-icon--no-interactive",e[0]),y(o,"class","s-legend-item-label__item__label s-font-note--tabularnums"),y(t,"class","s-legend-item-label__item q-table-colorColumn-legend-info--single-bucket")},m(e,r){p(e,t,r),f(t,n),i.m(n,null),f(t,l),f(t,o)},p(e,t){i.p(e,t),1&t&&I(n,"q-table-colorColumn-legend-info-icon--interactive",!e[0]),1&t&&I(n,"q-table-colorColumn-legend-info-icon--no-interactive",e[0])},d(e){e&&g(t),i.d()}}}(e),o=e[2]&&function(e){let t,n,l,o,r;return{c(){t=b("div"),n=$("svg"),l=$("rect"),o=v(),r=b("div"),r.textContent="Keine Daten",y(l,"width","11"),y(l,"height","11"),y(l,"class","s-color-gray-4"),y(l,"fill","white"),y(l,"stroke","currentColor"),y(l,"stroke-width","2"),y(n,"width","11"),y(n,"height","11"),y(n,"class","s-legend-item-label__item__icon q-table-colorColumn-legend-info-icon"),I(n,"q-table-colorColumn-legend-info-icon--interactive",!e[0]),I(n,"q-table-colorColumn-legend-info-icon--no-interactive",e[0]),y(r,"class","s-legend-item-label__item__label"),y(t,"class","s-legend-item-label__item q-table-colorColumn-legend-info--no-data")},m(e,c){p(e,t,c),f(t,n),f(n,l),f(t,o),f(t,r)},p(e,t){1&t&&I(n,"q-table-colorColumn-legend-info-icon--interactive",!e[0]),1&t&&I(n,"q-table-colorColumn-legend-info-icon--no-interactive",e[0])},d(e){e&&g(t)}}}(e);return{c(){t=b("div"),l&&l.c(),n=v(),o&&o.c(),y(t,"class","s-legend-icon-label")},m(e,r){p(e,t,r),l&&l.m(t,null),f(t,n),o&&o.m(t,null)},p(e,t){e[3]&&l.p(e,t),e[2]&&o.p(e,t)},d(e){e&&g(t),l&&l.d(),o&&o.d()}}}function Ce(t){let n;return{c(){n=$("rect"),y(n,"width","11"),y(n,"height","11"),y(n,"class","q-table-colorColumn-legend-bucket "+t[1][0].color.colorClass)},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}function _e(t){let n;return{c(){n=$("rect"),y(n,"width","11"),y(n,"height","11"),y(n,"class","q-table-colorColumn-legend-bucket"),k(n,"color",t[1][0].color.customColor)},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}function ke(t){let n,l,o,r,c,i,s,a,u,d,m,w,q,C,_=t[1],k=[];for(let e=0;e<_.length;e+=1)k[e]=qe(xe(t,_,e));let I=null!==t[4]&&function(t){let n,l,o;return{c(){n=$("g"),l=$("circle"),o=$("rect"),y(l,"cx",t[4].position+"%"),y(l,"cy","20"),y(l,"r","4"),y(l,"stroke","white"),y(l,"stroke-width","1"),y(l,"fill","none"),y(o,"class","s-color-gray-9"),y(o,"fill","currentColor"),y(o,"width","0.5px"),y(o,"height","16"),y(o,"x",t[4].position+"%"),y(o,"y","20")},m(e,t){p(e,n,t),f(n,l),f(n,o)},p:e,d(e){e&&g(n)}}}(t),E=null!==t[4]&&function(t){let n,l,o,r,c=t[4].label+"",i=t[4].value+"";return{c(){n=b("div"),l=x(c),o=x(": "),r=x(i),y(n,"class","q-table-colorColumn-legend-marker s-font-note s-font-note--tabularnums"),y(n,"style",t[4].descriptionAlignment)},m(e,t){p(e,n,t),f(n,l),f(n,o),f(n,r)},p:e,d(e){e&&g(n)}}}(t),z=(t[3]||t[2])&&ye(t);return{c(){n=b("div"),l=b("div"),o=b("div"),r=b("span"),r.textContent=`${t[6]}`,c=v(),i=b("span"),i.textContent=`${t[5]}`,s=v(),a=b("div"),u=$("svg"),d=$("g");for(let e=0;e{"colorColumn"in e&&n(7,l=e.colorColumn),"noInteraction"in e&&n(0,o=e.noInteraction)},[o,c,i,s,a,u,d,l]}class Ne extends ne{constructor(e){super(),te(this,e,ze,ke,r,{colorColumn:7,noInteraction:0})}}function Se(e,t,n){const l=e.slice();return l[3]=t[n],l}function Te(t){let n,l,o,r,c,i,s=t[3].label+"";return{c(){n=b("div"),l=b("div"),o=v(),r=b("div"),c=x(s),i=v(),y(l,"class","s-legend-item-label__item__icon s-legend-item-label__item__icon--default"),y(r,"class","s-legend-item-label__item__label"),y(n,"class","s-legend-item-label__item "+t[3].color.colorClass)},m(e,t){p(e,n,t),f(n,l),f(n,o),f(n,r),f(r,c),f(n,i)},p:e,d(e){e&&g(n)}}}function Me(t){let n,l,o,r,c,i,s=t[3].label+"";return{c(){n=b("div"),l=b("div"),o=v(),r=b("div"),c=x(s),i=v(),y(l,"class","s-legend-item-label__item__icon s-legend-item-label__item__icon--default"),y(r,"class","s-legend-item-label__item__label"),y(n,"class","s-legend-item-label__item"),k(n,"color",t[3].color.customColor)},m(e,t){p(e,n,t),f(n,l),f(n,o),f(n,r),f(r,c),f(n,i)},p:e,d(e){e&&g(n)}}}function je(e){let t;let n=function(e,t){return e[3].color.customColor?Me:Te}(e),l=n(e);return{c(){l.c(),t=w()},m(e,n){l.m(e,n),p(e,t,n)},p(e,t){l.p(e,t)},d(e){l.d(e),e&&g(t)}}}function Pe(t){let n,l,o,r=t[1].categories,c=[];for(let e=0;e{"colorColumn"in e&&n(2,l=e.colorColumn),"noInteraction"in e&&n(0,o=e.noInteraction)},[o,r,l]}class Ve extends ne{constructor(e){super(),te(this,e,Ae,Pe,r,{colorColumn:2,noInteraction:0})}}function De(e){let t,n;return t=new Ve({props:{colorColumn:e[0],noInteraction:e[1]}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.colorColumn=e[0]),2&n&&(l.noInteraction=e[1]),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Le(e){let t,n;return t=new Ne({props:{colorColumn:e[0],noInteraction:e[1]}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.colorColumn=e[0]),2&n&&(l.noInteraction=e[1]),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Be(e){let t,n,l,o;const r=[Le,De],c=[];function i(e,t){return"numerical"===e[0].colorColumnType?0:1}return n=i(e),l=c[n]=r[n](e),{c(){t=b("div"),l.c(),y(t,"class","q-table-legend-container q-table-legend-container--desktop")},m(e,l){p(e,t,l),c[n].m(t,null),o=!0},p(e,[o]){let s=n;n=i(e),n===s?c[n].p(e,o):(G(),Y(c[s],1,1,(()=>{c[s]=null})),K(),l=c[n],l?l.p(e,o):(l=c[n]=r[n](e),l.c()),Q(l,1),l.m(t,null))},i(e){o||(Q(l),o=!0)},o(e){Y(l),o=!1},d(e){e&&g(t),c[n].d()}}}function He(e,t,n){let{colorColumn:l}=t,{noInteraction:o}=t;return e.$$set=e=>{"colorColumn"in e&&n(0,l=e.colorColumn),"noInteraction"in e&&n(1,o=e.noInteraction)},[l,o]}class Oe extends ne{constructor(e){super(),te(this,e,He,Be,r,{colorColumn:0,noInteraction:1})}}function Re(t){let n;return{c(){n=b("div"),n.innerHTML='',y(n,"class","q-table-methods-link-icon-plus")},m(e,t){p(e,n,t)},p:e,i:e,o:e,d(e){e&&g(n)}}}class Fe extends ne{constructor(e){super(),te(this,e,null,Re,r,{})}}function Ge(t){let n;return{c(){n=b("div"),n.innerHTML='',y(n,"class","q-table-methods-link-icon-close")},m(e,t){p(e,n,t)},p:e,i:e,o:e,d(e){e&&g(n)}}}class Ke extends ne{constructor(e){super(),te(this,e,null,Ge,r,{})}}function Qe(e){m(e,"svelte-lqfo6x",".qtable-methodiek-btn{align-items:center;cursor:pointer;display:flex;flex-direction:row;gap:4px;margin-top:8px;text-decoration:underline}.qtable-methodiek-btn svg{height:10px;width:10px}.qtable-methodiek-cntr{margin-top:8px;box-shadow:1px 1px 4px rgba(0, 0, 0, 0.1);border:1px solid #f0f0f2;padding:8px}.qtable-methodiek-cntr table{table-layout:auto}.qtable-methodiek-cntr table tr{text-align:right}.qtable-methodiek-cntr table tr td{width:auto}.qtable-methodiek-legend-circle{position:relative;box-sizing:content-box;width:7px;height:7px;margin:2px 8px 2px 2px;border:1px solid;border-radius:50%;background-color:currentColor}.qtable-methodiek-descr{margin-top:4px}.qtable-methodiek-clr-explainer{color:#05032d;display:block;margin-top:4px}")}function Ye(e,t,n){const l=e.slice();return l[7]=t[n],l[9]=n,l}function We(t){let n,l,o,r,c,i;return l=new Fe({}),{c(){n=b("div"),J(l.$$.fragment),o=x("\n Daten und Methodik"),y(n,"class","qtable-methodiek-btn s-font-note-s")},m(e,s){p(e,n,s),U(l,n,null),f(n,o),r=!0,c||(i=q(n,"click",t[5]),c=!0)},p:e,i(e){r||(Q(l.$$.fragment,e),r=!0)},o(e){Y(l.$$.fragment,e),r=!1},d(e){e&&g(n),Z(l),c=!1,i()}}}function Xe(t){let n,l,o,r,c,i;return l=new Ke({}),{c(){n=b("div"),J(l.$$.fragment),o=x("\n Daten und Methodik"),y(n,"class","qtable-methodiek-btn s-font-note-s")},m(e,s){p(e,n,s),U(l,n,null),f(n,o),r=!0,c||(i=q(n,"click",t[6]),c=!0)},p:e,i(e){r||(Q(l.$$.fragment,e),r=!0)},o(e){Y(l.$$.fragment,e),r=!1},d(e){e&&g(n),Z(l),c=!1,i()}}}function Je(e){let t,n,l,o,r,c,i,s=e[2].article.title+"",a=e[3]&&function(e){let t,n=e[3],l=[];for(let t=0;t{r=null})),K()):r?(r.p(e,o),2&o&&Q(r,1)):(r=We(e),r.c(),Q(r,1),r.m(t.parentNode,t)),e[1]?c?(c.p(e,o),2&o&&Q(c,1)):(c=Xe(e),c.c(),Q(c,1),c.m(n.parentNode,n)):c&&(G(),Y(c,1,1,(()=>{c=null})),K()),e[1]?i?i.p(e,o):(i=Je(e),i.c(),i.m(l.parentNode,l)):i&&(i.d(1),i=null)},i(e){o||(Q(r),Q(c),o=!0)},o(e){Y(r),Y(c),o=!1},d(e){r&&r.d(e),e&&g(t),c&&c.d(e),e&&g(n),i&&i.d(e),e&&g(l)}}}function nt(e,t,n){let{legend:l}=t;const o=l.methodBox,r=o.formattedBuckets;let c=!1;function i(e){n(1,c=e)}return e.$$set=e=>{"legend"in e&&n(0,l=e.legend)},[l,c,o,r,i,()=>i(!0),()=>i(!1)]}class lt extends ne{constructor(e){super(),te(this,e,nt,tt,r,{legend:0},Qe)}}function ot(e){m(e,"svelte-1cr35o3",".qtable-methodiek-static{margin-top:12px;padding-right:20px}.qtable-methodiek-static .s-legend-item-label__item__icon{margin-right:8px}.qtable-methodiek-descr{margin-top:4px}")}function rt(e,t,n){const l=e.slice();return l[3]=t[n],l[5]=n,l}function ct(t){let n,l,o,r=t[3].from+"",c=t[3].to+"";return{c(){n=x(r),l=x("–"),o=x(c)},m(e,t){p(e,n,t),p(e,l,t),p(e,o,t)},p:e,d(e){e&&g(n),e&&g(l),e&&g(o)}}}function it(t){let n,l,o=t[3].from+"";return{c(){n=x(o),l=x(" (nur ein Datenpunkt)")},m(e,t){p(e,n,t),p(e,l,t)},p:e,d(e){e&&g(n),e&&g(l)}}}function st(e){let t,n,l,o,r;function c(e,t){return 0===e[5]&&e[0].hasSingleValueBucket?it:ct}let i=c(e),s=i(e);return{c(){t=b("div"),n=b("div"),l=v(),o=b("div"),s.c(),r=v(),y(n,"class","s-legend-item-label__item__icon s-legend-item-label__item__icon--default "+e[3].color.colorClass),k(n,"color",e[3].color.customColor),y(o,"class","s-legend-item-label__item__label s-font-note--tabularnums"),y(t,"class","s-legend-item-label__item")},m(e,c){p(e,t,c),f(t,n),f(t,l),f(t,o),s.m(o,null),f(t,r)},p(e,t){i===(i=c(e))&&s?s.p(e,t):(s.d(1),s=i(e),s&&(s.c(),s.m(o,null)))},d(e){e&&g(t),s.d()}}}function at(t){let n,l,o,r,c,i,s=t[2]&&function(e){let t,n=e[2],l=[];for(let t=0;t{"legend"in e&&n(0,l=e.legend)},[l,o,r]}class dt extends ne{constructor(e){super(),te(this,e,ut,at,r,{legend:0},ot)}}function ft(e){m(e,"svelte-1w4hlr2","ul.svelte-1w4hlr2{margin:0;list-style:none;display:flex;align-items:center;justify-content:end}.counters.svelte-1w4hlr2{margin:0 5px}button.svelte-1w4hlr2{background:transparent;border:1px solid #ccc;padding:5px 10px;margin-left:3px;float:left;cursor:pointer}button[disabled].svelte-1w4hlr2{opacity:0.5}")}function mt(e){let t,n,l,o=e[0]+1+"";return{c(){t=x(o),n=x(" / "),l=x(e[3])},m(e,o){p(e,t,o),p(e,n,o),p(e,l,o)},p(e,n){1&n&&o!==(o=e[0]+1+"")&&C(t,o),8&n&&C(l,e[3])},d(e){e&&g(t),e&&g(n),e&&g(l)}}}function pt(t){let n;return{c(){n=x("0 / 0")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}function gt(t){let n,o,r,c,i,s,a,u,d,m,h,$,w,_,k,I,E,z,N,S,T,M,j,P,A=t[2].first+"",V=t[2].previous+"",D=t[2].next+"",L=t[2].last+"";function B(e,t){return 0===e[1]?pt:mt}let H=B(t),O=H(t);return{c(){n=b("ul"),o=b("li"),r=b("button"),c=x(A),s=v(),a=b("li"),u=b("button"),d=x(V),h=v(),$=b("li"),O.c(),w=v(),_=b("li"),k=b("button"),I=x(D),z=v(),N=b("li"),S=b("button"),T=x(L),r.disabled=i=0===t[0],y(r,"class","svelte-1w4hlr2"),u.disabled=m=0===t[0],y(u,"class","svelte-1w4hlr2"),y($,"class","counters s-font-note svelte-1w4hlr2"),k.disabled=E=t[0]>=t[3]-1,y(k,"class","svelte-1w4hlr2"),S.disabled=M=t[0]>=t[3]-1,y(S,"class","svelte-1w4hlr2"),y(n,"class","svelte-1w4hlr2")},m(e,l){p(e,n,l),f(n,o),f(o,r),f(r,c),f(n,s),f(n,a),f(a,u),f(u,d),f(n,h),f(n,$),O.m($,null),f(n,w),f(n,_),f(_,k),f(k,I),f(n,z),f(n,N),f(N,S),f(S,T),j||(P=[q(r,"click",t[6]),q(u,"click",t[7]),q(k,"click",t[8]),q(S,"click",t[9])],j=!0)},p(e,[t]){4&t&&A!==(A=e[2].first+"")&&C(c,A),1&t&&i!==(i=0===e[0])&&(r.disabled=i),4&t&&V!==(V=e[2].previous+"")&&C(d,V),1&t&&m!==(m=0===e[0])&&(u.disabled=m),H===(H=B(e))&&O?O.p(e,t):(O.d(1),O=H(e),O&&(O.c(),O.m($,null))),4&t&&D!==(D=e[2].next+"")&&C(I,D),9&t&&E!==(E=e[0]>=e[3]-1)&&(k.disabled=E),4&t&&L!==(L=e[2].last+"")&&C(T,L),9&t&&M!==(M=e[0]>=e[3]-1)&&(S.disabled=M)},i:e,o:e,d(e){e&&g(n),O.d(),j=!1,l(P)}}}function ht(e,t,n){let l;const o=S("state");let{count:r}=t,{pageSize:c}=t,{page:i}=t,{labels:s={first:"<<",last:">>",next:">",previous:"<"}}=t;function a(e){o.setPage(e),n(0,i=e)}return e.$$set=e=>{"count"in e&&n(1,r=e.count),"pageSize"in e&&n(5,c=e.pageSize),"page"in e&&n(0,i=e.page),"labels"in e&&n(2,s=e.labels)},e.$$.update=()=>{34&e.$$.dirty&&n(3,l=Math.ceil(r/c))},[i,r,s,l,a,c,()=>a(0),()=>a(i-1),()=>a(i+1),()=>a(l-1)]}class bt extends ne{constructor(e){super(),te(this,e,ht,gt,r,{count:1,pageSize:5,page:0,labels:2},ft)}}function $t(t){let n,o,r,c;return{c(){n=b("div"),o=b("input"),y(o,"class","q-table__search__input s-input-field"),y(o,"type","search"),y(o,"placeholder","Bitte Suche eingeben"),y(o,"maxlength","20"),y(o,"autocapitalize","off"),y(o,"autocomplete","off"),y(o,"spellcheck","false"),y(o,"aria-label","Suchen"),y(n,"class","q-table__search")},m(e,l){p(e,n,l),f(n,o),_(o,t[0]),r||(c=[q(o,"keyup",t[1]),q(o,"input",t[4])],r=!0)},p(e,[t]){1&t&&o.value!==e[0]&&_(o,e[0])},i:e,o:e,d(e){e&&g(n),r=!1,l(c)}}}function xt(e,t,n){const l=S("state");let{index:o=-1}=t,{text:r=""}=t,{filter:c=((e,t)=>{t=t.toLowerCase();for(let n=0;n-1)return!0}return!1})}=t;return e.$$set=e=>{"index"in e&&n(2,o=e.index),"text"in e&&n(0,r=e.text),"filter"in e&&n(3,c=e.filter)},[r,function(){const e=l.getState(),t={filter:c,index:o,text:r,page:e.page,pageIndex:e.pageIndex,pageSize:e.pageSize,rows:e.filteredRows};if(t.text.length<=0)l.setFilteredRows(e.rows);else{const n=e.rows.filter((e=>t.filter(e,t.text)));l.setFilteredRows(n)}l.setPage(0)},o,c,function(){r=this.value,n(0,r)}]}class vt extends ne{constructor(e){super(),te(this,e,xt,$t,r,{index:2,text:0,filter:3})}}function wt(e){m(e,"svelte-vfhnmu",".qtable-cell{text-align:left}.qtable-cell-numeric{text-align:right !important;padding:10px 12px !important;white-space:nowrap}")}function qt(e){let t,n,l;const o=e[5].default,r=function(e,t,n,l){if(e){const o=u(e,t,n,l);return e[0](o)}}(o,e,e[4],null);return{c(){t=b("td"),r&&r.c(),y(t,"class",e[1]),y(t,"style",n=e[0].join(";"))},m(e,n){p(e,t,n),r&&r.m(t,null),l=!0},p(e,[c]){r&&r.p&&(!l||16&c)&&function(e,t,n,l,o,r){if(o){const c=u(t,n,l,r);e.p(c,o)}}(r,o,e,e[4],l?function(e,t,n,l){if(e[2]&&l){const o=e[2](l(n));if(void 0===t.dirty)return o;if("object"==typeof o){const e=[],n=Math.max(t.dirty.length,o.length);for(let l=0;l32){const t=[],n=e.ctx.length/32;for(let e=0;e{"type"in e&&n(2,r=e.type),"classes"in e&&n(3,c=e.classes),"styles"in e&&n(0,i=e.styles),"$$scope"in e&&n(4,o=e.$$scope)},[i,s,r,c,o,l]}class Ct extends ne{constructor(e){super(),te(this,e,yt,qt,r,{type:2,classes:3,styles:0},wt)}}function _t(e){m(e,"svelte-svqxzq",".qtable-footnote{font-size:10px;left:0;position:relative;top:-10px}")}function kt(t){let n,l,o;return{c(){n=b("span"),l=x(t[0]),y(n,"class",o="qtable-footnote "+t[1])},m(e,t){p(e,n,t),f(n,l)},p(e,[t]){1&t&&C(l,e[0]),2&t&&o!==(o="qtable-footnote "+e[1])&&y(n,"class",o)},i:e,o:e,d(e){e&&g(n)}}}function It(e,t,n){let{text:l=""}=t,{cls:o=""}=t;return e.$$set=e=>{"text"in e&&n(0,l=e.text),"cls"in e&&n(1,o=e.cls)},[l,o]}class Et extends ne{constructor(e){super(),te(this,e,It,kt,r,{text:0,cls:1},_t)}}function zt(e){m(e,"svelte-1tzhy04",".qtable-cell-label{display:inline-block;position:relative}")}function Nt(e){let t,n;return t=new Et({props:{text:e[2]}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};4&n&&(l.text=e[2]),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function St(e){let t,n,l,o,r,c=""!==e[2]&&Nt(e);return{c(){t=b("span"),n=new E(!1),l=v(),c&&c.c(),n.a=l,y(t,"class",o="qtable-cell-label "+e[0])},m(o,i){p(o,t,i),n.m(e[1],t),f(t,l),c&&c.m(t,null),r=!0},p(e,[l]){(!r||2&l)&&n.p(e[1]),""!==e[2]?c?(c.p(e,l),4&l&&Q(c,1)):(c=Nt(e),c.c(),Q(c,1),c.m(t,null)):c&&(G(),Y(c,1,1,(()=>{c=null})),K()),(!r||1&l&&o!==(o="qtable-cell-label "+e[0]))&&y(t,"class",o)},i(e){r||(Q(c),r=!0)},o(e){Y(c),r=!1},d(e){e&&g(t),c&&c.d()}}}function Tt(e,t,n){let{cls:l=""}=t,{label:o=""}=t,{footnote:r=""}=t;return e.$$set=e=>{"cls"in e&&n(0,l=e.cls),"label"in e&&n(1,o=e.label),"footnote"in e&&n(2,r=e.footnote)},[l,o,r]}class Mt extends ne{constructor(e){super(),te(this,e,Tt,St,r,{cls:0,label:1,footnote:2},zt)}}function jt(e){m(e,"svelte-1lqo30x",".qtable-cell-country-flag-emoji img.svelte-1lqo30x{width:16px}")}function Pt(e){let t,n;return t=new Mt({props:{label:e[0].label,footnote:e[0].footnote}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.label=e[0].label),1&n&&(l.footnote=e[0].footnote),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function At(t){let n,l=""!==t[0].label&&Vt(t);return{c(){l&&l.c(),n=w()},m(e,t){l&&l.m(e,t),p(e,n,t)},p(e,t){""!==e[0].label?l?l.p(e,t):(l=Vt(e),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},i:e,o:e,d(e){l&&l.d(e),e&&g(n)}}}function Vt(e){let t,n,l;return{c(){t=b("img"),s(t.src,n=e[0].label)||y(t,"src",n),y(t,"alt",l="country flag "+e[0].value),y(t,"class","svelte-1lqo30x")},m(e,n){p(e,t,n)},p(e,o){1&o&&!s(t.src,n=e[0].label)&&y(t,"src",n),1&o&&l!==(l="country flag "+e[0].value)&&y(t,"alt",l)},d(e){e&&g(t)}}}function Dt(e){let t,n,l,o;const r=[At,Pt],c=[];function i(e,t){return"country-flag-emoji"===e[0].type?0:1}return t=i(e),n=c[t]=r[t](e),{c(){n.c(),l=w()},m(e,n){c[t].m(e,n),p(e,l,n),o=!0},p(e,o){let s=t;t=i(e),t===s?c[t].p(e,o):(G(),Y(c[s],1,1,(()=>{c[s]=null})),K(),n=c[t],n?n.p(e,o):(n=c[t]=r[t](e),n.c()),Q(n,1),n.m(l.parentNode,l))},i(e){o||(Q(n),o=!0)},o(e){Y(n),o=!1},d(e){c[t].d(e),e&&g(l)}}}function Lt(e){let t,n;return t=new Ct({props:{type:e[0].type,classes:e[0].classes,$$slots:{default:[Dt]},$$scope:{ctx:e}}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,[n]){const l={};1&n&&(l.type=e[0].type),1&n&&(l.classes=e[0].classes),3&n&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Bt(e,t,n){let{cell:l}=t;return e.$$set=e=>{"cell"in e&&n(0,l=e.cell)},[l]}class Ht extends ne{constructor(e){super(),te(this,e,Bt,Lt,r,{cell:0},jt)}}function Ot(e){let t,n;return t=new Mt({props:{cls:e[1].colors[e[2]].textColor,label:e[0].label,footnote:e[0].footnote}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};6&n&&(l.cls=e[1].colors[e[2]].textColor),1&n&&(l.label=e[0].label),1&n&&(l.footnote=e[0].footnote),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Rt(e){let t,n;return t=new Ct({props:{type:e[0].type,classes:e[3].classes,styles:e[3].styles,$$slots:{default:[Ot]},$$scope:{ctx:e}}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,[n]){const l={};1&n&&(l.type=e[0].type),8&n&&(l.classes=e[3].classes),8&n&&(l.styles=e[3].styles),39&n&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Ft(e,t,n){let l,{cell:o}=t,{colorColumn:r}=t,{rowIndex:c}=t;return e.$$set=e=>{"cell"in e&&n(0,o=e.cell),"colorColumn"in e&&n(1,r=e.colorColumn),"rowIndex"in e&&n(2,c=e.rowIndex)},e.$$.update=()=>{4&e.$$.dirty&&n(3,l=function(e){let t=[],n=[];const l=r.colors[e];return l?""!==l.customColor?n.push(`background-color: ${r.colors[e].customColor}`):""!==l.colorClass&&(t.push(r.colors[e].colorClass),n.push("background-color: currentColor")):console.log("Failed to get cell color for row",e),{classes:t,styles:n}}(c))},[o,r,c,l]}class Gt extends ne{constructor(e){super(),te(this,e,Ft,Rt,r,{cell:0,colorColumn:1,rowIndex:2})}}var Kt;function Qt(e){m(e,"svelte-1elvk92",'.qtable-minibar{background-color:currentColor;display:inline-block;height:17px;left:0;position:absolute;top:50%;transform:translate(0, -50%)}.qtable-minibar::before{content:"";border-left:0.5px solid #393855;height:19px;left:0;position:absolute;top:-1px;width:1px}.qtable-minibar-negative{left:unset;right:0}.qtable-minibar-negative::before{left:unset;right:0}')}function Yt(t){let n,l;return{c(){n=b("div"),y(n,"class",l="qtable-minibar qtable-minibar-"+t[0]+" "+t[2]),k(n,"background",t[1]),k(n,"width",`${t[3]}%`)},m(e,t){p(e,n,t)},p(e,[t]){5&t&&l!==(l="qtable-minibar qtable-minibar-"+e[0]+" "+e[2])&&y(n,"class",l),2&t&&k(n,"background",e[1]),8&t&&k(n,"width",`${e[3]}%`)},i:e,o:e,d(e){e&&g(n)}}}function Wt(e,t,n){let{type:l=Kt.POSITIVE}=t,{clrCode:o=""}=t,{clrClass:r=""}=t,{width:c=0}=t;return e.$$set=e=>{"type"in e&&n(0,l=e.type),"clrCode"in e&&n(1,o=e.clrCode),"clrClass"in e&&n(2,r=e.clrClass),"width"in e&&n(3,c=e.width)},[l,o,r,c]}!function(e){e.POSITIVE="positive",e.NEGATIVE="negative",e.MIXED="mixed",e.EMPTY="empty"}(Kt||(Kt={}));class Xt extends ne{constructor(e){super(),te(this,e,Wt,Yt,r,{type:0,clrCode:1,clrClass:2,width:3},Qt)}}function Jt(e){m(e,"svelte-fdopgd",".qtable-minibar-cell{align-items:center;background-color:hsla(0, 0%, 78%, 0.15);display:flex;min-width:90px}.qtable-minibar-holder{position:relative;width:50%}.qtable-minibar-cell-empty{justify-content:center}.qtable-minibar-cell-positive{justify-content:end}.qtable-minibar-cell-positive .qtable-minibar-holder{margin-left:10px}.qtable-minibar-cell-negative{justify-content:start}.qtable-minibar-cell-negative .qtable-minibar-holder{margin-right:5px}.qtable-desktop .qtable-minibar-cell{min-width:140px}")}function Ut(t){let n,l,o;return l=new Xt({props:{type:Kt.NEGATIVE,clrCode:t[4],clrClass:t[5],width:t[6]}}),{c(){n=b("div"),J(l.$$.fragment),y(n,"class","qtable-minibar-holder")},m(e,t){p(e,n,t),U(l,n,null),o=!0},p:e,i(e){o||(Q(l.$$.fragment,e),o=!0)},o(e){Y(l.$$.fragment,e),o=!1},d(e){e&&g(n),Z(l)}}}function Zt(t){let n,l,o;return l=new Xt({props:{type:Kt.POSITIVE,clrCode:t[2],clrClass:t[3],width:t[6]}}),{c(){n=b("div"),J(l.$$.fragment),y(n,"class","qtable-minibar-holder")},m(e,t){p(e,n,t),U(l,n,null),o=!0},p:e,i(e){o||(Q(l.$$.fragment,e),o=!0)},o(e){Y(l.$$.fragment,e),o=!1},d(e){e&&g(n),Z(l)}}}function en(e){let t,n,l,o,r,c="number"==typeof e[0].value&&e[0].value<0&&Ut(e);n=new Mt({props:{label:e[0].label,footnote:e[0].footnote}});let i="number"==typeof e[0].value&&e[0].value>0&&Zt(e);return{c(){c&&c.c(),t=v(),J(n.$$.fragment),l=v(),i&&i.c(),o=w()},m(e,s){c&&c.m(e,s),p(e,t,s),U(n,e,s),p(e,l,s),i&&i.m(e,s),p(e,o,s),r=!0},p(e,l){"number"==typeof e[0].value&&e[0].value<0?c?(c.p(e,l),1&l&&Q(c,1)):(c=Ut(e),c.c(),Q(c,1),c.m(t.parentNode,t)):c&&(G(),Y(c,1,1,(()=>{c=null})),K());const r={};1&l&&(r.label=e[0].label),1&l&&(r.footnote=e[0].footnote),n.$set(r),"number"==typeof e[0].value&&e[0].value>0?i?(i.p(e,l),1&l&&Q(i,1)):(i=Zt(e),i.c(),Q(i,1),i.m(o.parentNode,o)):i&&(G(),Y(i,1,1,(()=>{i=null})),K())},i(e){r||(Q(c),Q(n.$$.fragment,e),Q(i),r=!0)},o(e){Y(c),Y(n.$$.fragment,e),Y(i),r=!1},d(e){c&&c.d(e),e&&g(t),Z(n,e),e&&g(l),i&&i.d(e),e&&g(o)}}}function tn(e){let t,n;return t=new Ct({props:{type:e[0].type,classes:e[1],$$slots:{default:[en]},$$scope:{ctx:e}}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,[n]){const l={};1&n&&(l.type=e[0].type),1025&n&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function nn(e,t,n){let{minibar:l}=t,{cell:o}=t,{rowIndex:r}=t;const c=["qtable-minibar-cell"].concat(o.classes);let i=Kt.EMPTY;"number"==typeof o.value&&(o.value<0?i=Kt.NEGATIVE:o.value>0&&(i=Kt.POSITIVE)),c.push(`qtable-minibar-cell-${i}`);const s=l.barColor.positive.colorCode,a=l.barColor.positive.className,u=l.barColor.negative.colorCode,d=l.barColor.negative.className,f=l.values[r];return e.$$set=e=>{"minibar"in e&&n(7,l=e.minibar),"cell"in e&&n(0,o=e.cell),"rowIndex"in e&&n(8,r=e.rowIndex)},[o,c,s,a,u,d,f,l,r]}class ln extends ne{constructor(e){super(),te(this,e,nn,tn,r,{minibar:7,cell:0,rowIndex:8},Jt)}}function on(e){m(e,"svelte-wlhiv6",".qtable-th-arrow-ascending.svelte-wlhiv6{transform:rotate(180deg)}")}function rn(t){let n,l,o,r,c,i;return{c(){n=$("svg"),l=$("title"),o=x("Path"),r=$("g"),c=$("g"),i=$("polygon"),y(i,"id","Path"),y(i,"points","1135.824 657.121 1135.823 667.256 1139.063 664.028 1140.121 665.091 1135.074 670.121 1130 665.064 1131.059 664 1134.323 667.256 1134.324 657.121"),y(c,"id","Grenze-und-Epizentrum"),y(c,"transform","translate(-1130.000000, -657.000000)"),y(c,"fill","#000000"),y(r,"id","Page-1"),y(r,"stroke","none"),y(r,"stroke-width","1"),y(r,"fill","none"),y(r,"fill-rule","evenodd"),y(n,"width","11px"),y(n,"height","14px"),y(n,"viewBox","0 0 11 14"),y(n,"version","1.1"),y(n,"xmlns","http://www.w3.org/2000/svg"),y(n,"xmlns:xlink","http://www.w3.org/1999/xlink"),y(n,"class","svelte-wlhiv6"),I(n,"qtable-th-arrow-ascending",t[0])},m(e,t){p(e,n,t),f(n,l),f(l,o),f(n,r),f(r,c),f(c,i)},p(e,[t]){1&t&&I(n,"qtable-th-arrow-ascending",e[0])},i:e,o:e,d(e){e&&g(n)}}}function cn(e,t,n){let{sortAscending:l=!0}=t;return e.$$set=e=>{"sortAscending"in e&&n(0,l=e.sortAscending)},[l]}class sn extends ne{constructor(e){super(),te(this,e,cn,rn,r,{sortAscending:0},on)}}const an=[];const un=function(t,n=e){let l;const o=new Set;function c(e){if(r(t,e)&&(t=e,l)){const e=!an.length;for(const e of o)e[1](),an.push(e,t);if(e){for(let e=0;e{o.delete(s),0===o.size&&l&&(l(),l=null)}}}}({colIndex:null,sortDirection:"asc"});function dn(e){m(e,"svelte-19asm30",".qtable-th{text-align:left}.q-table-minibar-header{text-align:center}.qtable-sort-icon-holder{opacity:0.25}.qtable-sort-active{opacity:1}.qtable-th-numeric{text-align:right}")}function fn(e,t,n){const l=e.slice();return l[6]=t[n],l[8]=n,l}function mn(e){let t,n,l=e[0],o=[];for(let t=0;tY(o[e],1,1,(()=>{o[e]=null}));return{c(){t=b("thead");for(let e=0;e{i=null})),K()),(!c||1&l&&r!==(r="qtable-th qtable-th-"+e[6].type+" "+e[6].classes.join(" ")+" "+e[2](e[8]).classes))&&y(t,"class",r)},i(e){c||(Q(n.$$.fragment,e),Q(i),c=!0)},o(e){Y(n.$$.fragment,e),Y(i),c=!1},d(e){e&&g(t),Z(n),i&&i.d()}}}function hn(e){let t,n,l=e[0].length>0&&mn(e);return{c(){l&&l.c(),t=w()},m(e,o){l&&l.m(e,o),p(e,t,o),n=!0},p(e,[n]){e[0].length>0?l?(l.p(e,n),1&n&&Q(l,1)):(l=mn(e),l.c(),Q(l,1),l.m(t.parentNode,t)):l&&(G(),Y(l,1,1,(()=>{l=null})),K())},i(e){n||(Q(l),n=!0)},o(e){Y(l),n=!1},d(e){l&&l.d(e),e&&g(t)}}}function bn(e,t,n){let l;a(e,un,(e=>n(1,l=e)));let{minibar:o=null}=t,{tableHead:r=[]}=t;const c=e=>{l.colIndex===e?un.set({colIndex:e,sortDirection:"asc"===l.sortDirection?"desc":"asc"}):un.set({colIndex:e,sortDirection:"asc"})};return e.$$set=e=>{"minibar"in e&&n(4,o=e.minibar),"tableHead"in e&&n(0,r=e.tableHead)},[r,l,function(e){let t="";if(null!==o){o.settings.selectedColumn===e&&(t="q-table-minibar-header")}return{colspan:0,classes:t}},c,o,e=>c(e)]}class $n extends ne{constructor(e){super(),te(this,e,bn,hn,r,{minibar:4,tableHead:0},dn)}}function xn(e){m(e,"svelte-1sf02r5",".qtable-holder .qtable{border-collapse:collapse;border:none;margin:0;padding:0;width:100%;table-layout:auto;empty-cells:show}.qtable-holder .qtable th,.qtable-holder .qtable td{padding:10px 4px;vertical-align:top;border:none !important;font-size:unset;line-height:unset;font-weight:unset}.qtable-holder .qtable thead{background:unset}.qtable-holder .qtable tbody tr,.qtable-holder .qtable thead{border-width:0 0 1px 0;border-style:solid;border-color:#e9e9ee}.qtable-holder .qtable .qtable-tr-frozen{background-color:#f4f4f4;border-bottom:2px solid #000 !important;border-top:2px solid #000 !important}")}function vn(e,t,n){const l=e.slice();return l[6]=t[n],l}function wn(e,t,n){const l=e.slice();return l[9]=t[n],l[11]=n,l}function qn(e){let t,n;return t=new Ht({props:{cell:e[9]}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.cell=e[9]),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function yn(e){let t,n;return t=new Gt({props:{cell:e[9],colorColumn:e[3],rowIndex:e[6].key}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.cell=e[9]),1&n&&(l.rowIndex=e[6].key),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Cn(e){let t,n;return t=new ln({props:{cell:e[9],minibar:e[2],rowIndex:e[6].key}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.cell=e[9]),1&n&&(l.rowIndex=e[6].key),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function _n(e){let t,n,l,o;const r=[Cn,yn,qn],c=[];return t=function(e,t){return e[2]?.columnIndex===e[11]?0:e[3]?.selectedColumn===e[11]?1:2}(e),n=c[t]=r[t](e),{c(){n.c(),l=w()},m(e,n){c[t].m(e,n),p(e,l,n),o=!0},p(e,t){n.p(e,t)},i(e){o||(Q(n),o=!0)},o(e){Y(n),o=!1},d(e){c[t].d(e),e&&g(l)}}}function kn(e,t){let n,l,o,r=t[6].cells,c=[];for(let e=0;eY(c[e],1,1,(()=>{c[e]=null}));return{key:e,first:null,c(){n=b("tr");for(let e=0;ee[6].key;for(let e=0;e{"componentConfiguration"in e&&n(5,l=e.componentConfiguration),"rows"in e&&n(0,o=e.rows)},[o,r,c,i,s,l]}class zn extends ne{constructor(e){super(),te(this,e,En,In,r,{componentConfiguration:5,rows:0},xn)}}function Nn(e){m(e,"svelte-f5q3l2",".qtable-card-layout{margin-top:16px}.qtable-card-layout .qtable-card-row.svelte-f5q3l2{border-bottom:1px solid #e9e9ee}.qtable-card-layout .qtable-card-row.svelte-f5q3l2:first-child{padding-top:0}.qtable-card-layout .qtable-row-frozen.svelte-f5q3l2{background-color:#f4f4f4;border-bottom:2px solid #000;border-top:2px solid #000}.qtable-card-layout .qtable-card-cell.svelte-f5q3l2{display:flex;justify-content:space-between;padding:4px 0;position:relative}.qtable-card-layout .qtable-card-cell-title.svelte-f5q3l2{font-weight:500;max-width:80%;position:relative;text-align:left}.qtable-card-layout .qtable-card-cell-value.svelte-f5q3l2{text-align:right}")}function Sn(e,t,n){const l=e.slice();return l[3]=t[n],l}function Tn(e,t,n){const l=e.slice();return l[6]=t[n],l[8]=n,l}function Mn(e){let t,n;return t=new Et({props:{text:e[6].footnote}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.text=e[6].footnote),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function jn(t){let n,l,o,r,c,i,s,a,u,m,h=t[1][t[8]].value+"",$=t[6].value+"",w=""!==t[1][t[8]].footnote&&function(t){let n,l;return n=new Et({props:{text:t[1][t[8]].footnote}}),{c(){J(n.$$.fragment)},m(e,t){U(n,e,t),l=!0},p:e,i(e){l||(Q(n.$$.fragment,e),l=!0)},o(e){Y(n.$$.fragment,e),l=!1},d(e){Z(n,e)}}}(t),q=""!==t[6].footnote&&Mn(t);return{c(){n=b("div"),l=b("span"),o=x(h),r=v(),w&&w.c(),c=v(),i=b("span"),s=x($),a=v(),q&&q.c(),y(l,"class","qtable-card-cell-title svelte-f5q3l2"),y(i,"class","qtable-card-cell-value svelte-f5q3l2"),y(n,"class",u=d(`qtable-card-cell ${t[6].classes.join(" ")} `)+" svelte-f5q3l2")},m(e,t){p(e,n,t),f(n,l),f(l,o),f(l,r),w&&w.m(l,null),f(n,c),f(n,i),f(i,s),f(i,a),q&&q.m(i,null),m=!0},p(e,t){""!==e[1][e[8]].footnote&&w.p(e,t),(!m||1&t)&&$!==($=e[6].value+"")&&C(s,$),""!==e[6].footnote?q?(q.p(e,t),1&t&&Q(q,1)):(q=Mn(e),q.c(),Q(q,1),q.m(i,null)):q&&(G(),Y(q,1,1,(()=>{q=null})),K()),(!m||1&t&&u!==(u=d(`qtable-card-cell ${e[6].classes.join(" ")} `)+" svelte-f5q3l2"))&&y(n,"class",u)},i(e){m||(Q(w),Q(q),m=!0)},o(e){Y(w),Y(q),m=!1},d(e){e&&g(n),w&&w.d(),q&&q.d()}}}function Pn(e,t){let n,l,o,r=t[3].cells,c=[];for(let e=0;eY(c[e],1,1,(()=>{c[e]=null}));return{key:e,first:null,c(){n=b("div");for(let e=0;ee[3].key;for(let t=0;t{"componentConfiguration"in e&&n(2,l=e.componentConfiguration),"rows"in e&&n(0,o=e.rows)},[o,r,l]}class Dn extends ne{constructor(e){super(),te(this,e,Vn,An,r,{componentConfiguration:2,rows:0},Nn)}}function Ln(e){let t,n;return t=new zn({props:{componentConfiguration:e[0],rows:e[4]}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.componentConfiguration=e[0]),16&n&&(l.rows=e[4]),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Bn(e){let t,n;return t=new Dn({props:{componentConfiguration:e[0],rows:e[4]}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.componentConfiguration=e[0]),16&n&&(l.rows=e[4]),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Hn(t){let n,l;return n=new lt({props:{legend:t[9].legend}}),{c(){J(n.$$.fragment)},m(e,t){U(n,e,t),l=!0},p:e,i(e){l||(Q(n.$$.fragment,e),l=!0)},o(e){Y(n.$$.fragment,e),l=!1},d(e){Z(n,e)}}}function On(t){let n,l;return n=new dt({props:{legend:t[9].legend}}),{c(){J(n.$$.fragment)},m(e,t){U(n,e,t),l=!0},p:e,i(e){l||(Q(n.$$.fragment,e),l=!0)},o(e){Y(n.$$.fragment,e),l=!1},d(e){Z(n,e)}}}function Rn(t){let n,l,o,r,c,i,s,a,u,d,m,h,$,x,q,C=t[14](),_=t[13](),I=t[15](),E=C&&function(t){let n;return{c(){n=b("h3"),n.textContent=`${t[6].title}`,y(n,"class","s-q-item__title")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}(t),z=t[6].subtitle&&""!==t[6].subtitle&&function(t){let n;return{c(){n=b("div"),n.textContent=`${t[6].subtitle}`,y(n,"class","s-q-item__subtitle")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}(t),N=_&&function(e){let t,n;return t=new vt({}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}(),S=I&&function(e){let t,n;return t=new bt({props:{page:e[3],pageSize:e[1],count:e[2].length}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};8&n&&(l.page=e[3]),2&n&&(l.pageSize=e[1]),4&n&&(l.count=e[2].length),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}(t),T=!0!==t[12].hideLegend&&null!==t[9]&&"number"==typeof t[9].selectedColumn&&t[9].selectedColumn!==t[12].minibar.selectedColumn&&!t[7]&&function(t){let n,l;return n=new Oe({props:{colorColumn:t[9],noInteraction:t[10]}}),{c(){J(n.$$.fragment)},m(e,t){U(n,e,t),l=!0},p:e,i(e){l||(Q(n.$$.fragment,e),l=!0)},o(e){Y(n.$$.fragment,e),l=!1},d(e){Z(n,e)}}}(t);const M=[Bn,Ln],j=[];a=function(e,t){return e[7]?0:1}(t),u=j[a]=M[a](t);let P=t[8]&&t[8].length>0&&function(t){let n,l;return n=new $e({props:{footnotes:t[8]}}),{c(){J(n.$$.fragment)},m(e,t){U(n,e,t),l=!0},p:e,i(e){l||(Q(n.$$.fragment,e),l=!0)},o(e){Y(n.$$.fragment,e),l=!1},d(e){Z(n,e)}}}(t),A=t[9]&&"numerical"===t[9].legend.type&&function(e){let t,n,l,o;const r=[On,Hn],c=[];return t=function(e,t){return e[10]?0:1}(e),n=c[t]=r[t](e),{c(){n.c(),l=w()},m(e,n){c[t].m(e,n),p(e,l,n),o=!0},p(e,t){n.p(e,t)},i(e){o||(Q(n),o=!0)},o(e){Y(n),o=!1},d(e){c[t].d(e),e&&g(l)}}}(t);return $=new me({props:{notes:t[6].notes,sources:t[6].sources,acronym:t[6].acronym}}),{c(){n=b("div"),E&&E.c(),l=v(),z&&z.c(),o=v(),r=b("div"),N&&N.c(),c=v(),S&&S.c(),i=v(),T&&T.c(),s=v(),u.c(),d=v(),P&&P.c(),m=v(),A&&A.c(),h=v(),J($.$$.fragment),k(r,"overflow-x","auto"),y(n,"id",t[11]),y(n,"class",x="s-q-item qtable-holder "+t[5])},m(e,t){p(e,n,t),E&&E.m(n,null),f(n,l),z&&z.m(n,null),f(n,o),f(n,r),N&&N.m(r,null),f(r,c),S&&S.m(r,null),f(r,i),T&&T.m(r,null),f(r,s),j[a].m(r,null),f(n,d),P&&P.m(n,null),f(n,m),A&&A.m(n,null),f(n,h),U($,n,null),q=!0},p(e,[t]){C&&E.p(e,t),e[6].subtitle&&""!==e[6].subtitle&&z.p(e,t),I&&S.p(e,t),!0===e[12].hideLegend||null===e[9]||"number"!=typeof e[9].selectedColumn||e[9].selectedColumn===e[12].minibar.selectedColumn||e[7]||T.p(e,t),u.p(e,t),e[8]&&e[8].length>0&&P.p(e,t),e[9]&&"numerical"===e[9].legend.type&&A.p(e,t),(!q||32&t&&x!==(x="s-q-item qtable-holder "+e[5]))&&y(n,"class",x)},i(e){q||(Q(N),Q(S),Q(T),Q(u),Q(P),Q(A),Q($.$$.fragment,e),q=!0)},o(e){Y(N),Y(S),Y(T),Y(u),Y(P),Y(A),Y($.$$.fragment,e),q=!1},d(e){e&&g(n),E&&E.d(),z&&z.d(),N&&N.d(),S&&S.d(),T&&T.d(),j[a].d(),P&&P.d(),A&&A.d(),Z($)}}}function Fn(e,t,n){let{componentConfiguration:l}=t;const{config:o,initWithCardLayout:r,rows:c,footnotes:i,colorColumn:s,displayOptions:a,noInteraction:u,id:d,width:f,frozenRowKey:m,tableHead:p}=l;let{pageSize:g}=l;const h=o.options;let b,$,x,v=0,w=0;var q,y;"number"==typeof m&&(null==c?void 0:c.length)&&c[m]&&(x=c.splice(m,1)[0],x.frozen=!0,g-=1),un.subscribe((e=>{if("number"==typeof e.colIndex){const t=e.colIndex;$.sort(((n,l)=>((e,t,n,l,o)=>{const r=e.cells[n].value,c=t.cells[n].value;if("text"===l||"country-flag-emoji"===l)return"asc"===o?r.localeCompare(c,"de"):c.localeCompare(r,"de");const i=e.cells[n].value,s=t.cells[n].value;return"asc"===o?i-s:s-i})(n,l,t,p[t].type,e.sortDirection))),n(2,$)}})),q="state",y={getState:()=>({page:w,pageIndex:v,pageSize:g,rows:c,filteredRows:$}),setPage:e=>{n(3,w=e),n(16,v=e*g)},setPageSize:e=>n(1,g=e),setFilteredRows:e=>n(2,$=e)},N().$$.context.set(q,y);let C="";return f&&f>420&&(C="qtable-desktop"),e.$$set=e=>{"componentConfiguration"in e&&n(0,l=e.componentConfiguration)},e.$$.update=()=>{if(196614&e.$$.dirty){const e=$.slice(v,v+g);x&&e.unshift(x),n(4,b=e)}},n(2,$=c),[l,g,$,w,b,C,o,r,i,s,u,d,h,function(){return!0!==u&&!0===h.showTableSearch},function(){return"boolean"!=typeof a.hideTitle||!a.hideTitle},function(){return!1===u&&"number"==typeof g&&$.length>g},v,x]}return class extends ne{constructor(e){super(),te(this,e,Fn,Rn,r,{componentConfiguration:0})}}}(); +this.window=this.window||{},this.window.q_table=function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function l(e){e.forEach(t)}function o(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let c,i;function s(e,t){return c||(c=document.createElement("a")),c.href=t,e===c.href}function a(t,n,l){t.$$.on_destroy.push(function(t,...n){if(null==t)return e;const l=t.subscribe(...n);return l.unsubscribe?()=>l.unsubscribe():l}(n,l))}function u(e,t,n,l){return e[1]&&l?function(e,t){for(const n in t)e[n]=t[n];return e}(n.ctx.slice(),e[1](l(t))):n.ctx}function d(e){return null==e?"":e}function f(e,t){e.appendChild(t)}function m(e,t,n){const l=function(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;if(t&&t.host)return t;return e.ownerDocument}(e);if(!l.getElementById(t)){const e=b("style");e.id=t,e.textContent=n,function(e,t){f(e.head||e,t),t.sheet}(l,e)}}function p(e,t,n){e.insertBefore(t,n||null)}function g(e){e.parentNode&&e.parentNode.removeChild(e)}function h(e,t){for(let n=0;ne.removeEventListener(t,n,l)}function y(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function C(e,t){t=""+t,e.data!==t&&(e.data=t)}function _(e,t){e.value=null==t?"":t}function k(e,t,n,l){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,l?"important":"")}function I(e,t,n){e.classList[n?"add":"remove"](t)}class E{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=$(t.nodeName):this.e=b(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t{R.delete(e),l&&(n&&e.d(1),l())})),e.o(t)}else l&&l()}function W(e,t){Y(e,1,1,(()=>{t.delete(e.key)}))}function X(e,t,n,o,r,c,i,s,a,u,d,f){let m=e.length,p=c.length,g=m;const h={};for(;g--;)h[e[g].key]=g;const b=[],$=new Map,x=new Map,v=[];for(g=p;g--;){const e=f(r,c,g),l=n(e);let s=i.get(l);s?o&&v.push((()=>s.p(e,t))):(s=u(l,e),s.c()),$.set(l,b[g]=s),l in h&&x.set(l,Math.abs(g-h[l]))}const w=new Set,q=new Set;function y(e){Q(e,1),e.m(s,d),i.set(e.key,e),d=e.first,p--}for(;m&&p;){const t=b[p-1],n=e[m-1],l=t.key,o=n.key;t===n?(d=t.first,m--,p--):$.has(o)?!i.has(l)||w.has(l)?y(t):q.has(o)?m--:x.get(l)>x.get(o)?(q.add(l),y(t)):(w.add(o),m--):(a(n,i),m--)}for(;m--;){const t=e[m];$.has(t.key)||a(t,i)}for(;p;)y(b[p-1]);return l(v),b}function J(e){e&&e.c()}function U(e,n,r,c){const{fragment:i,after_update:s}=e.$$;i&&i.m(n,r),c||D((()=>{const n=e.$$.on_mount.map(t).filter(o);e.$$.on_destroy?e.$$.on_destroy.push(...n):l(n),e.$$.on_mount=[]})),s.forEach(D)}function Z(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];j.forEach((l=>-1===e.indexOf(l)?t.push(l):n.push(l))),n.forEach((e=>e())),j=t}(n.after_update),l(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ee(e,t){-1===e.$$.dirty[0]&&(T.push(e),V||(V=!0,A.then(H)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const o=l.length?l[0]:n;return m.ctx&&s(m.ctx[e],m.ctx[e]=o)&&(!m.skip_bound&&m.bound[e]&&m.bound[e](o),p&&ee(t,e)),n})):[],m.update(),p=!0,l(m.before_update),m.fragment=!!c&&c(m.ctx),o.target){if(o.hydrate){const e=function(e){return Array.from(e.childNodes)}(o.target);m.fragment&&m.fragment.l(e),e.forEach(g)}else m.fragment&&m.fragment.c();o.intro&&Q(t.$$.fragment),U(t,o.target,o.anchor,o.customElement),H()}z(f)}class ne{$destroy(){Z(this,1),this.$destroy=e}$on(t,n){if(!o(n))return e;const l=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return l.push(n),()=>{const e=l.indexOf(n);-1!==e&&l.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function le(e,t,n){const l=e.slice();return l[4]=t[n],l[6]=n,l}function oe(e){let t;return{c(){t=b("div"),y(t,"class","s-q-item__footer__notes")},m(n,l){p(n,t,l),t.innerHTML=e[0]},p(e,n){1&n&&(t.innerHTML=e[0])},d(e){e&&g(t)}}}function re(e){let t,n,l;function o(e,t){return e[1].length>1?ie:ce}let r=o(e),c=r(e),i=e[1],s=[];for(let t=0;t0&&oe(t),i=t[1].length>0&&re(t),s=t[2]&&ue(t);return{c(){n=b("div"),c&&c.c(),l=v(),o=b("div"),i&&i.c(),r=v(),s&&s.c(),y(o,"class","s-q-item__footer__details"),y(n,"class","s-q-item__footer")},m(e,t){p(e,n,t),c&&c.m(n,null),f(n,l),f(n,o),i&&i.m(o,null),f(o,r),s&&s.m(o,null)},p(e,[t]){e[0].length>0?c?c.p(e,t):(c=oe(e),c.c(),c.m(n,l)):c&&(c.d(1),c=null),e[1].length>0?i?i.p(e,t):(i=re(e),i.c(),i.m(o,r)):i&&(i.d(1),i=null),e[2]?s?s.p(e,t):(s=ue(e),s.c(),s.m(o,null)):s&&(s.d(1),s=null)},i:e,o:e,d(e){e&&g(n),c&&c.d(),i&&i.d(),s&&s.d()}}}function fe(e,t,n){let{notes:l=""}=t,{sources:o=[]}=t,{acronym:r=""}=t;return e.$$set=e=>{"notes"in e&&n(0,l=e.notes),"sources"in e&&n(1,o=e.sources),"acronym"in e&&n(2,r=e.acronym)},[l,o,r,function(e,t){let n="";return n=e.link.url&&!0===e.link.isValid?`${e.text}`:e.text,t!==o.length-1&&""!==o[t+1].text&&(n+=","),n}]}class me extends ne{constructor(e){super(),te(this,e,fe,de,r,{notes:0,sources:1,acronym:2})}}function pe(e,t,n){const l=e.slice();return l[1]=t[n],l}function ge(e){let t,n,l,o,r,c,i,s=e[1].index+"",a=e[1].value+"";return{c(){t=b("div"),n=b("span"),l=x(s),o=v(),r=b("span"),c=x(a),i=v(),y(n,"class","q-table-footnote-index s-font-note--tabularnums"),y(r,"class","q-table-footnote-text"),y(t,"class","q-table-footnote-footer s-font-note-s")},m(e,s){p(e,t,s),f(t,n),f(n,l),f(t,o),f(t,r),f(r,c),f(t,i)},p(e,t){1&t&&s!==(s=e[1].index+"")&&C(l,s),1&t&&a!==(a=e[1].value+"")&&C(c,a)},d(e){e&&g(t)}}}function he(t){let n,l=t[0],o=[];for(let e=0;e{"footnotes"in e&&n(0,l=e.footnotes)},[l]}class $e extends ne{constructor(e){super(),te(this,e,be,he,r,{footnotes:0})}}function xe(e,t,n){const l=e.slice();return l[9]=t[n],l}function ve(t){let n;return{c(){n=$("rect"),y(n,"class","q-table-colorColumn-legend-bucket "+t[9].color.colorClass),y(n,"width",Ee(t[9],t[6],t[5])+"%"),y(n,"height","16"),y(n,"x",Ie(t[9],t[6],t[5])+"%"),y(n,"y","12")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}function we(t){let n;return{c(){n=$("rect"),y(n,"class","q-table-colorColumn-legend-bucket"),k(n,"color",t[9].color.customColor),y(n,"width",Ee(t[9],t[6],t[5])+"%"),y(n,"height","16"),y(n,"x",Ie(t[9],t[6],t[5])+"%"),y(n,"y","12")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}function qe(e){let t;let n=function(e,t){return e[9].color.customColor?we:ve}(e),l=n(e);return{c(){l.c(),t=w()},m(e,n){l.m(e,n),p(e,t,n)},p(e,t){l.p(e,t)},d(e){l.d(e),e&&g(t)}}}function ye(e){let t,n,l=e[3]&&function(e){let t,n,l,o;function r(e,t){return e[1][0].color.customColor?_e:Ce}let c=r(e),i=c(e);return{c(){t=b("div"),n=$("svg"),i.c(),l=v(),o=b("div"),o.textContent=`= ${e[1][0].from}`,y(n,"width","11"),y(n,"height","11"),y(n,"class","s-legend-item-label__item__icon q-table-colorColumn-legend-info-icon"),I(n,"q-table-colorColumn-legend-info-icon--interactive",!e[0]),I(n,"q-table-colorColumn-legend-info-icon--no-interactive",e[0]),y(o,"class","s-legend-item-label__item__label s-font-note--tabularnums"),y(t,"class","s-legend-item-label__item q-table-colorColumn-legend-info--single-bucket")},m(e,r){p(e,t,r),f(t,n),i.m(n,null),f(t,l),f(t,o)},p(e,t){i.p(e,t),1&t&&I(n,"q-table-colorColumn-legend-info-icon--interactive",!e[0]),1&t&&I(n,"q-table-colorColumn-legend-info-icon--no-interactive",e[0])},d(e){e&&g(t),i.d()}}}(e),o=e[2]&&function(e){let t,n,l,o,r;return{c(){t=b("div"),n=$("svg"),l=$("rect"),o=v(),r=b("div"),r.textContent="Keine Daten",y(l,"width","11"),y(l,"height","11"),y(l,"class","s-color-gray-4"),y(l,"fill","white"),y(l,"stroke","currentColor"),y(l,"stroke-width","2"),y(n,"width","11"),y(n,"height","11"),y(n,"class","s-legend-item-label__item__icon q-table-colorColumn-legend-info-icon"),I(n,"q-table-colorColumn-legend-info-icon--interactive",!e[0]),I(n,"q-table-colorColumn-legend-info-icon--no-interactive",e[0]),y(r,"class","s-legend-item-label__item__label"),y(t,"class","s-legend-item-label__item q-table-colorColumn-legend-info--no-data")},m(e,c){p(e,t,c),f(t,n),f(n,l),f(t,o),f(t,r)},p(e,t){1&t&&I(n,"q-table-colorColumn-legend-info-icon--interactive",!e[0]),1&t&&I(n,"q-table-colorColumn-legend-info-icon--no-interactive",e[0])},d(e){e&&g(t)}}}(e);return{c(){t=b("div"),l&&l.c(),n=v(),o&&o.c(),y(t,"class","s-legend-icon-label")},m(e,r){p(e,t,r),l&&l.m(t,null),f(t,n),o&&o.m(t,null)},p(e,t){e[3]&&l.p(e,t),e[2]&&o.p(e,t)},d(e){e&&g(t),l&&l.d(),o&&o.d()}}}function Ce(t){let n;return{c(){n=$("rect"),y(n,"width","11"),y(n,"height","11"),y(n,"class","q-table-colorColumn-legend-bucket "+t[1][0].color.colorClass)},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}function _e(t){let n;return{c(){n=$("rect"),y(n,"width","11"),y(n,"height","11"),y(n,"class","q-table-colorColumn-legend-bucket"),k(n,"color",t[1][0].color.customColor)},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}function ke(t){let n,l,o,r,c,i,s,a,u,d,m,w,q,C,_=t[1],k=[];for(let e=0;e<_.length;e+=1)k[e]=qe(xe(t,_,e));let I=null!==t[4]&&function(t){let n,l,o;return{c(){n=$("g"),l=$("circle"),o=$("rect"),y(l,"cx",t[4].position+"%"),y(l,"cy","20"),y(l,"r","4"),y(l,"stroke","white"),y(l,"stroke-width","1"),y(l,"fill","none"),y(o,"class","s-color-gray-9"),y(o,"fill","currentColor"),y(o,"width","0.5px"),y(o,"height","16"),y(o,"x",t[4].position+"%"),y(o,"y","20")},m(e,t){p(e,n,t),f(n,l),f(n,o)},p:e,d(e){e&&g(n)}}}(t),E=null!==t[4]&&function(t){let n,l,o,r,c=t[4].label+"",i=t[4].value+"";return{c(){n=b("div"),l=x(c),o=x(": "),r=x(i),y(n,"class","q-table-colorColumn-legend-marker s-font-note s-font-note--tabularnums"),y(n,"style",t[4].descriptionAlignment)},m(e,t){p(e,n,t),f(n,l),f(n,o),f(n,r)},p:e,d(e){e&&g(n)}}}(t),z=(t[3]||t[2])&&ye(t);return{c(){n=b("div"),l=b("div"),o=b("div"),r=b("span"),r.textContent=`${t[6]}`,c=v(),i=b("span"),i.textContent=`${t[5]}`,s=v(),a=b("div"),u=$("svg"),d=$("g");for(let e=0;e{"colorColumn"in e&&n(7,l=e.colorColumn),"noInteraction"in e&&n(0,o=e.noInteraction)},[o,c,i,s,a,u,d,l]}class Ne extends ne{constructor(e){super(),te(this,e,ze,ke,r,{colorColumn:7,noInteraction:0})}}function Se(e,t,n){const l=e.slice();return l[3]=t[n],l}function Te(t){let n,l,o,r,c,i,s=t[3].label+"";return{c(){n=b("div"),l=b("div"),o=v(),r=b("div"),c=x(s),i=v(),y(l,"class","s-legend-item-label__item__icon s-legend-item-label__item__icon--default"),y(r,"class","s-legend-item-label__item__label"),y(n,"class","s-legend-item-label__item "+t[3].color.colorClass)},m(e,t){p(e,n,t),f(n,l),f(n,o),f(n,r),f(r,c),f(n,i)},p:e,d(e){e&&g(n)}}}function Me(t){let n,l,o,r,c,i,s=t[3].label+"";return{c(){n=b("div"),l=b("div"),o=v(),r=b("div"),c=x(s),i=v(),y(l,"class","s-legend-item-label__item__icon s-legend-item-label__item__icon--default"),y(r,"class","s-legend-item-label__item__label"),y(n,"class","s-legend-item-label__item"),k(n,"color",t[3].color.customColor)},m(e,t){p(e,n,t),f(n,l),f(n,o),f(n,r),f(r,c),f(n,i)},p:e,d(e){e&&g(n)}}}function je(e){let t;let n=function(e,t){return e[3].color.customColor?Me:Te}(e),l=n(e);return{c(){l.c(),t=w()},m(e,n){l.m(e,n),p(e,t,n)},p(e,t){l.p(e,t)},d(e){l.d(e),e&&g(t)}}}function Pe(t){let n,l,o,r=t[1].categories,c=[];for(let e=0;e{"colorColumn"in e&&n(2,l=e.colorColumn),"noInteraction"in e&&n(0,o=e.noInteraction)},[o,r,l]}class Ve extends ne{constructor(e){super(),te(this,e,Ae,Pe,r,{colorColumn:2,noInteraction:0})}}function De(e){let t,n;return t=new Ve({props:{colorColumn:e[0],noInteraction:e[1]}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.colorColumn=e[0]),2&n&&(l.noInteraction=e[1]),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Le(e){let t,n;return t=new Ne({props:{colorColumn:e[0],noInteraction:e[1]}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.colorColumn=e[0]),2&n&&(l.noInteraction=e[1]),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Be(e){let t,n,l,o;const r=[Le,De],c=[];function i(e,t){return"numerical"===e[0].colorColumnType?0:1}return n=i(e),l=c[n]=r[n](e),{c(){t=b("div"),l.c(),y(t,"class","q-table-legend-container q-table-legend-container--desktop")},m(e,l){p(e,t,l),c[n].m(t,null),o=!0},p(e,[o]){let s=n;n=i(e),n===s?c[n].p(e,o):(G(),Y(c[s],1,1,(()=>{c[s]=null})),K(),l=c[n],l?l.p(e,o):(l=c[n]=r[n](e),l.c()),Q(l,1),l.m(t,null))},i(e){o||(Q(l),o=!0)},o(e){Y(l),o=!1},d(e){e&&g(t),c[n].d()}}}function He(e,t,n){let{colorColumn:l}=t,{noInteraction:o}=t;return e.$$set=e=>{"colorColumn"in e&&n(0,l=e.colorColumn),"noInteraction"in e&&n(1,o=e.noInteraction)},[l,o]}class Oe extends ne{constructor(e){super(),te(this,e,He,Be,r,{colorColumn:0,noInteraction:1})}}function Re(t){let n;return{c(){n=b("div"),n.innerHTML='',y(n,"class","q-table-methods-link-icon-plus")},m(e,t){p(e,n,t)},p:e,i:e,o:e,d(e){e&&g(n)}}}class Fe extends ne{constructor(e){super(),te(this,e,null,Re,r,{})}}function Ge(t){let n;return{c(){n=b("div"),n.innerHTML='',y(n,"class","q-table-methods-link-icon-close")},m(e,t){p(e,n,t)},p:e,i:e,o:e,d(e){e&&g(n)}}}class Ke extends ne{constructor(e){super(),te(this,e,null,Ge,r,{})}}function Qe(e){m(e,"svelte-lqfo6x",".qtable-methodiek-btn{align-items:center;cursor:pointer;display:flex;flex-direction:row;gap:4px;margin-top:8px;text-decoration:underline}.qtable-methodiek-btn svg{height:10px;width:10px}.qtable-methodiek-cntr{margin-top:8px;box-shadow:1px 1px 4px rgba(0, 0, 0, 0.1);border:1px solid #f0f0f2;padding:8px}.qtable-methodiek-cntr table{table-layout:auto}.qtable-methodiek-cntr table tr{text-align:right}.qtable-methodiek-cntr table tr td{width:auto}.qtable-methodiek-legend-circle{position:relative;box-sizing:content-box;width:7px;height:7px;margin:2px 8px 2px 2px;border:1px solid;border-radius:50%;background-color:currentColor}.qtable-methodiek-descr{margin-top:4px}.qtable-methodiek-clr-explainer{color:#05032d;display:block;margin-top:4px}")}function Ye(e,t,n){const l=e.slice();return l[7]=t[n],l[9]=n,l}function We(t){let n,l,o,r,c,i;return l=new Fe({}),{c(){n=b("div"),J(l.$$.fragment),o=x("\n Daten und Methodik"),y(n,"class","qtable-methodiek-btn s-font-note-s")},m(e,s){p(e,n,s),U(l,n,null),f(n,o),r=!0,c||(i=q(n,"click",t[5]),c=!0)},p:e,i(e){r||(Q(l.$$.fragment,e),r=!0)},o(e){Y(l.$$.fragment,e),r=!1},d(e){e&&g(n),Z(l),c=!1,i()}}}function Xe(t){let n,l,o,r,c,i;return l=new Ke({}),{c(){n=b("div"),J(l.$$.fragment),o=x("\n Daten und Methodik"),y(n,"class","qtable-methodiek-btn s-font-note-s")},m(e,s){p(e,n,s),U(l,n,null),f(n,o),r=!0,c||(i=q(n,"click",t[6]),c=!0)},p:e,i(e){r||(Q(l.$$.fragment,e),r=!0)},o(e){Y(l.$$.fragment,e),r=!1},d(e){e&&g(n),Z(l),c=!1,i()}}}function Je(e){let t,n,l,o,r,c,i,s=e[2].article.title+"",a=e[3]&&function(e){let t,n=e[3],l=[];for(let t=0;t{r=null})),K()):r?(r.p(e,o),2&o&&Q(r,1)):(r=We(e),r.c(),Q(r,1),r.m(t.parentNode,t)),e[1]?c?(c.p(e,o),2&o&&Q(c,1)):(c=Xe(e),c.c(),Q(c,1),c.m(n.parentNode,n)):c&&(G(),Y(c,1,1,(()=>{c=null})),K()),e[1]?i?i.p(e,o):(i=Je(e),i.c(),i.m(l.parentNode,l)):i&&(i.d(1),i=null)},i(e){o||(Q(r),Q(c),o=!0)},o(e){Y(r),Y(c),o=!1},d(e){r&&r.d(e),e&&g(t),c&&c.d(e),e&&g(n),i&&i.d(e),e&&g(l)}}}function nt(e,t,n){let{legend:l}=t;const o=l.methodBox,r=o.formattedBuckets;let c=!1;function i(e){n(1,c=e)}return e.$$set=e=>{"legend"in e&&n(0,l=e.legend)},[l,c,o,r,i,()=>i(!0),()=>i(!1)]}class lt extends ne{constructor(e){super(),te(this,e,nt,tt,r,{legend:0},Qe)}}function ot(e){m(e,"svelte-1cr35o3",".qtable-methodiek-static{margin-top:12px;padding-right:20px}.qtable-methodiek-static .s-legend-item-label__item__icon{margin-right:8px}.qtable-methodiek-descr{margin-top:4px}")}function rt(e,t,n){const l=e.slice();return l[3]=t[n],l[5]=n,l}function ct(t){let n,l,o,r=t[3].from+"",c=t[3].to+"";return{c(){n=x(r),l=x("–"),o=x(c)},m(e,t){p(e,n,t),p(e,l,t),p(e,o,t)},p:e,d(e){e&&g(n),e&&g(l),e&&g(o)}}}function it(t){let n,l,o=t[3].from+"";return{c(){n=x(o),l=x(" (nur ein Datenpunkt)")},m(e,t){p(e,n,t),p(e,l,t)},p:e,d(e){e&&g(n),e&&g(l)}}}function st(e){let t,n,l,o,r;function c(e,t){return 0===e[5]&&e[0].hasSingleValueBucket?it:ct}let i=c(e),s=i(e);return{c(){t=b("div"),n=b("div"),l=v(),o=b("div"),s.c(),r=v(),y(n,"class","s-legend-item-label__item__icon s-legend-item-label__item__icon--default "+e[3].color.colorClass),k(n,"color",e[3].color.customColor),y(o,"class","s-legend-item-label__item__label s-font-note--tabularnums"),y(t,"class","s-legend-item-label__item")},m(e,c){p(e,t,c),f(t,n),f(t,l),f(t,o),s.m(o,null),f(t,r)},p(e,t){i===(i=c(e))&&s?s.p(e,t):(s.d(1),s=i(e),s&&(s.c(),s.m(o,null)))},d(e){e&&g(t),s.d()}}}function at(t){let n,l,o,r,c,i,s=t[2]&&function(e){let t,n=e[2],l=[];for(let t=0;t{"legend"in e&&n(0,l=e.legend)},[l,o,r]}class dt extends ne{constructor(e){super(),te(this,e,ut,at,r,{legend:0},ot)}}function ft(e){m(e,"svelte-1w4hlr2","ul.svelte-1w4hlr2{margin:0;list-style:none;display:flex;align-items:center;justify-content:end}.counters.svelte-1w4hlr2{margin:0 5px}button.svelte-1w4hlr2{background:transparent;border:1px solid #ccc;padding:5px 10px;margin-left:3px;float:left;cursor:pointer}button[disabled].svelte-1w4hlr2{opacity:0.5}")}function mt(e){let t,n,l,o=e[0]+1+"";return{c(){t=x(o),n=x(" / "),l=x(e[3])},m(e,o){p(e,t,o),p(e,n,o),p(e,l,o)},p(e,n){1&n&&o!==(o=e[0]+1+"")&&C(t,o),8&n&&C(l,e[3])},d(e){e&&g(t),e&&g(n),e&&g(l)}}}function pt(t){let n;return{c(){n=x("0 / 0")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}function gt(t){let n,o,r,c,i,s,a,u,d,m,h,$,w,_,k,I,E,z,N,S,T,M,j,P,A=t[2].first+"",V=t[2].previous+"",D=t[2].next+"",L=t[2].last+"";function B(e,t){return 0===e[1]?pt:mt}let H=B(t),O=H(t);return{c(){n=b("ul"),o=b("li"),r=b("button"),c=x(A),s=v(),a=b("li"),u=b("button"),d=x(V),h=v(),$=b("li"),O.c(),w=v(),_=b("li"),k=b("button"),I=x(D),z=v(),N=b("li"),S=b("button"),T=x(L),r.disabled=i=0===t[0],y(r,"class","svelte-1w4hlr2"),u.disabled=m=0===t[0],y(u,"class","svelte-1w4hlr2"),y($,"class","counters s-font-note svelte-1w4hlr2"),k.disabled=E=t[0]>=t[3]-1,y(k,"class","svelte-1w4hlr2"),S.disabled=M=t[0]>=t[3]-1,y(S,"class","svelte-1w4hlr2"),y(n,"class","svelte-1w4hlr2")},m(e,l){p(e,n,l),f(n,o),f(o,r),f(r,c),f(n,s),f(n,a),f(a,u),f(u,d),f(n,h),f(n,$),O.m($,null),f(n,w),f(n,_),f(_,k),f(k,I),f(n,z),f(n,N),f(N,S),f(S,T),j||(P=[q(r,"click",t[6]),q(u,"click",t[7]),q(k,"click",t[8]),q(S,"click",t[9])],j=!0)},p(e,[t]){4&t&&A!==(A=e[2].first+"")&&C(c,A),1&t&&i!==(i=0===e[0])&&(r.disabled=i),4&t&&V!==(V=e[2].previous+"")&&C(d,V),1&t&&m!==(m=0===e[0])&&(u.disabled=m),H===(H=B(e))&&O?O.p(e,t):(O.d(1),O=H(e),O&&(O.c(),O.m($,null))),4&t&&D!==(D=e[2].next+"")&&C(I,D),9&t&&E!==(E=e[0]>=e[3]-1)&&(k.disabled=E),4&t&&L!==(L=e[2].last+"")&&C(T,L),9&t&&M!==(M=e[0]>=e[3]-1)&&(S.disabled=M)},i:e,o:e,d(e){e&&g(n),O.d(),j=!1,l(P)}}}function ht(e,t,n){let l;const o=S("state");let{count:r}=t,{pageSize:c}=t,{page:i}=t,{labels:s={first:"<<",last:">>",next:">",previous:"<"}}=t;function a(e){o.setPage(e),n(0,i=e)}return e.$$set=e=>{"count"in e&&n(1,r=e.count),"pageSize"in e&&n(5,c=e.pageSize),"page"in e&&n(0,i=e.page),"labels"in e&&n(2,s=e.labels)},e.$$.update=()=>{34&e.$$.dirty&&n(3,l=Math.ceil(r/c))},[i,r,s,l,a,c,()=>a(0),()=>a(i-1),()=>a(i+1),()=>a(l-1)]}class bt extends ne{constructor(e){super(),te(this,e,ht,gt,r,{count:1,pageSize:5,page:0,labels:2},ft)}}function $t(t){let n,o,r,c;return{c(){n=b("div"),o=b("input"),y(o,"class","q-table__search__input s-input-field"),y(o,"type","search"),y(o,"placeholder","Bitte Suche eingeben"),y(o,"maxlength","20"),y(o,"autocapitalize","off"),y(o,"autocomplete","off"),y(o,"spellcheck","false"),y(o,"aria-label","Suchen"),y(n,"class","q-table__search")},m(e,l){p(e,n,l),f(n,o),_(o,t[0]),r||(c=[q(o,"keyup",t[1]),q(o,"input",t[4])],r=!0)},p(e,[t]){1&t&&o.value!==e[0]&&_(o,e[0])},i:e,o:e,d(e){e&&g(n),r=!1,l(c)}}}function xt(e,t,n){const l=S("state");let{index:o=-1}=t,{text:r=""}=t,{filter:c=((e,t)=>{t=t.toLowerCase();for(let n=0;n-1)return!0}return!1})}=t;return e.$$set=e=>{"index"in e&&n(2,o=e.index),"text"in e&&n(0,r=e.text),"filter"in e&&n(3,c=e.filter)},[r,function(){const e=l.getState(),t={filter:c,index:o,text:r,page:e.page,pageIndex:e.pageIndex,pageSize:e.pageSize,rows:e.filteredRows};if(t.text.length<=0)l.setFilteredRows(e.rows);else{const n=e.rows.filter((e=>t.filter(e,t.text)));l.setFilteredRows(n)}l.setPage(0)},o,c,function(){r=this.value,n(0,r)}]}class vt extends ne{constructor(e){super(),te(this,e,xt,$t,r,{index:2,text:0,filter:3})}}function wt(e){m(e,"svelte-vfhnmu",".qtable-cell{text-align:left}.qtable-cell-numeric{text-align:right !important;padding:10px 12px !important;white-space:nowrap}")}function qt(e){let t,n,l;const o=e[5].default,r=function(e,t,n,l){if(e){const o=u(e,t,n,l);return e[0](o)}}(o,e,e[4],null);return{c(){t=b("td"),r&&r.c(),y(t,"class",e[1]),y(t,"style",n=e[0].join(";"))},m(e,n){p(e,t,n),r&&r.m(t,null),l=!0},p(e,[c]){r&&r.p&&(!l||16&c)&&function(e,t,n,l,o,r){if(o){const c=u(t,n,l,r);e.p(c,o)}}(r,o,e,e[4],l?function(e,t,n,l){if(e[2]&&l){const o=e[2](l(n));if(void 0===t.dirty)return o;if("object"==typeof o){const e=[],n=Math.max(t.dirty.length,o.length);for(let l=0;l32){const t=[],n=e.ctx.length/32;for(let e=0;e{"type"in e&&n(2,r=e.type),"classes"in e&&n(3,c=e.classes),"styles"in e&&n(0,i=e.styles),"$$scope"in e&&n(4,o=e.$$scope)},[i,s,r,c,o,l]}class Ct extends ne{constructor(e){super(),te(this,e,yt,qt,r,{type:2,classes:3,styles:0},wt)}}function _t(e){m(e,"svelte-svqxzq",".qtable-footnote{font-size:10px;left:0;position:relative;top:-10px}")}function kt(t){let n,l,o;return{c(){n=b("span"),l=x(t[0]),y(n,"class",o="qtable-footnote "+t[1])},m(e,t){p(e,n,t),f(n,l)},p(e,[t]){1&t&&C(l,e[0]),2&t&&o!==(o="qtable-footnote "+e[1])&&y(n,"class",o)},i:e,o:e,d(e){e&&g(n)}}}function It(e,t,n){let{text:l=""}=t,{cls:o=""}=t;return e.$$set=e=>{"text"in e&&n(0,l=e.text),"cls"in e&&n(1,o=e.cls)},[l,o]}class Et extends ne{constructor(e){super(),te(this,e,It,kt,r,{text:0,cls:1},_t)}}function zt(e){m(e,"svelte-1tzhy04",".qtable-cell-label{display:inline-block;position:relative}")}function Nt(e){let t,n;return t=new Et({props:{text:e[2]}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};4&n&&(l.text=e[2]),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function St(e){let t,n,l,o,r,c=""!==e[2]&&Nt(e);return{c(){t=b("span"),n=new E(!1),l=v(),c&&c.c(),n.a=l,y(t,"class",o="qtable-cell-label "+e[0])},m(o,i){p(o,t,i),n.m(e[1],t),f(t,l),c&&c.m(t,null),r=!0},p(e,[l]){(!r||2&l)&&n.p(e[1]),""!==e[2]?c?(c.p(e,l),4&l&&Q(c,1)):(c=Nt(e),c.c(),Q(c,1),c.m(t,null)):c&&(G(),Y(c,1,1,(()=>{c=null})),K()),(!r||1&l&&o!==(o="qtable-cell-label "+e[0]))&&y(t,"class",o)},i(e){r||(Q(c),r=!0)},o(e){Y(c),r=!1},d(e){e&&g(t),c&&c.d()}}}function Tt(e,t,n){let{cls:l=""}=t,{label:o=""}=t,{footnote:r=""}=t;return e.$$set=e=>{"cls"in e&&n(0,l=e.cls),"label"in e&&n(1,o=e.label),"footnote"in e&&n(2,r=e.footnote)},[l,o,r]}class Mt extends ne{constructor(e){super(),te(this,e,Tt,St,r,{cls:0,label:1,footnote:2},zt)}}function jt(e){m(e,"svelte-1lqo30x",".qtable-cell-country-flag-emoji img.svelte-1lqo30x{width:16px}")}function Pt(e){let t,n;return t=new Mt({props:{label:e[0].label,footnote:e[0].footnote}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.label=e[0].label),1&n&&(l.footnote=e[0].footnote),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function At(t){let n,l=""!==t[0].label&&Vt(t);return{c(){l&&l.c(),n=w()},m(e,t){l&&l.m(e,t),p(e,n,t)},p(e,t){""!==e[0].label?l?l.p(e,t):(l=Vt(e),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},i:e,o:e,d(e){l&&l.d(e),e&&g(n)}}}function Vt(e){let t,n,l;return{c(){t=b("img"),s(t.src,n=e[0].label)||y(t,"src",n),y(t,"alt",l="country flag "+e[0].value),y(t,"class","svelte-1lqo30x")},m(e,n){p(e,t,n)},p(e,o){1&o&&!s(t.src,n=e[0].label)&&y(t,"src",n),1&o&&l!==(l="country flag "+e[0].value)&&y(t,"alt",l)},d(e){e&&g(t)}}}function Dt(e){let t,n,l,o;const r=[At,Pt],c=[];function i(e,t){return"country-flag-emoji"===e[0].type?0:1}return t=i(e),n=c[t]=r[t](e),{c(){n.c(),l=w()},m(e,n){c[t].m(e,n),p(e,l,n),o=!0},p(e,o){let s=t;t=i(e),t===s?c[t].p(e,o):(G(),Y(c[s],1,1,(()=>{c[s]=null})),K(),n=c[t],n?n.p(e,o):(n=c[t]=r[t](e),n.c()),Q(n,1),n.m(l.parentNode,l))},i(e){o||(Q(n),o=!0)},o(e){Y(n),o=!1},d(e){c[t].d(e),e&&g(l)}}}function Lt(e){let t,n;return t=new Ct({props:{type:e[0].type,classes:e[0].classes,$$slots:{default:[Dt]},$$scope:{ctx:e}}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,[n]){const l={};1&n&&(l.type=e[0].type),1&n&&(l.classes=e[0].classes),3&n&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Bt(e,t,n){let{cell:l}=t;return e.$$set=e=>{"cell"in e&&n(0,l=e.cell)},[l]}class Ht extends ne{constructor(e){super(),te(this,e,Bt,Lt,r,{cell:0},jt)}}function Ot(e){let t,n;return t=new Mt({props:{cls:e[1].colors[e[2]].textColor,label:e[0].label,footnote:e[0].footnote}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};6&n&&(l.cls=e[1].colors[e[2]].textColor),1&n&&(l.label=e[0].label),1&n&&(l.footnote=e[0].footnote),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Rt(e){let t,n;return t=new Ct({props:{type:e[0].type,classes:e[3].classes,styles:e[3].styles,$$slots:{default:[Ot]},$$scope:{ctx:e}}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,[n]){const l={};1&n&&(l.type=e[0].type),8&n&&(l.classes=e[3].classes),8&n&&(l.styles=e[3].styles),39&n&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Ft(e,t,n){let l,{cell:o}=t,{colorColumn:r}=t,{rowIndex:c}=t;return e.$$set=e=>{"cell"in e&&n(0,o=e.cell),"colorColumn"in e&&n(1,r=e.colorColumn),"rowIndex"in e&&n(2,c=e.rowIndex)},e.$$.update=()=>{4&e.$$.dirty&&n(3,l=function(e){let t=[],n=[];const l=r.colors[e];return l?""!==l.customColor?n.push(`background-color: ${r.colors[e].customColor}`):""!==l.colorClass&&(t.push(r.colors[e].colorClass),n.push("background-color: currentColor")):console.log("Failed to get cell color for row",e),{classes:t,styles:n}}(c))},[o,r,c,l]}class Gt extends ne{constructor(e){super(),te(this,e,Ft,Rt,r,{cell:0,colorColumn:1,rowIndex:2})}}var Kt;function Qt(e){m(e,"svelte-1elvk92",'.qtable-minibar{background-color:currentColor;display:inline-block;height:17px;left:0;position:absolute;top:50%;transform:translate(0, -50%)}.qtable-minibar::before{content:"";border-left:0.5px solid #393855;height:19px;left:0;position:absolute;top:-1px;width:1px}.qtable-minibar-negative{left:unset;right:0}.qtable-minibar-negative::before{left:unset;right:0}')}function Yt(t){let n,l;return{c(){n=b("div"),y(n,"class",l="qtable-minibar qtable-minibar-"+t[0]+" "+t[2]),k(n,"background",t[1]),k(n,"width",`${t[3]}%`)},m(e,t){p(e,n,t)},p(e,[t]){5&t&&l!==(l="qtable-minibar qtable-minibar-"+e[0]+" "+e[2])&&y(n,"class",l),2&t&&k(n,"background",e[1]),8&t&&k(n,"width",`${e[3]}%`)},i:e,o:e,d(e){e&&g(n)}}}function Wt(e,t,n){let{type:l=Kt.POSITIVE}=t,{clrCode:o=""}=t,{clrClass:r=""}=t,{width:c=0}=t;return e.$$set=e=>{"type"in e&&n(0,l=e.type),"clrCode"in e&&n(1,o=e.clrCode),"clrClass"in e&&n(2,r=e.clrClass),"width"in e&&n(3,c=e.width)},[l,o,r,c]}!function(e){e.POSITIVE="positive",e.NEGATIVE="negative",e.MIXED="mixed",e.EMPTY="empty"}(Kt||(Kt={}));class Xt extends ne{constructor(e){super(),te(this,e,Wt,Yt,r,{type:0,clrCode:1,clrClass:2,width:3},Qt)}}function Jt(e){m(e,"svelte-fdopgd",".qtable-minibar-cell{align-items:center;background-color:hsla(0, 0%, 78%, 0.15);display:flex;min-width:90px}.qtable-minibar-holder{position:relative;width:50%}.qtable-minibar-cell-empty{justify-content:center}.qtable-minibar-cell-positive{justify-content:end}.qtable-minibar-cell-positive .qtable-minibar-holder{margin-left:10px}.qtable-minibar-cell-negative{justify-content:start}.qtable-minibar-cell-negative .qtable-minibar-holder{margin-right:5px}.qtable-desktop .qtable-minibar-cell{min-width:140px}")}function Ut(t){let n,l,o;return l=new Xt({props:{type:Kt.NEGATIVE,clrCode:t[4],clrClass:t[5],width:t[6]}}),{c(){n=b("div"),J(l.$$.fragment),y(n,"class","qtable-minibar-holder")},m(e,t){p(e,n,t),U(l,n,null),o=!0},p:e,i(e){o||(Q(l.$$.fragment,e),o=!0)},o(e){Y(l.$$.fragment,e),o=!1},d(e){e&&g(n),Z(l)}}}function Zt(t){let n,l,o;return l=new Xt({props:{type:Kt.POSITIVE,clrCode:t[2],clrClass:t[3],width:t[6]}}),{c(){n=b("div"),J(l.$$.fragment),y(n,"class","qtable-minibar-holder")},m(e,t){p(e,n,t),U(l,n,null),o=!0},p:e,i(e){o||(Q(l.$$.fragment,e),o=!0)},o(e){Y(l.$$.fragment,e),o=!1},d(e){e&&g(n),Z(l)}}}function en(e){let t,n,l,o,r,c="number"==typeof e[0].value&&e[0].value<0&&Ut(e);n=new Mt({props:{label:e[0].label,footnote:e[0].footnote}});let i="number"==typeof e[0].value&&e[0].value>0&&Zt(e);return{c(){c&&c.c(),t=v(),J(n.$$.fragment),l=v(),i&&i.c(),o=w()},m(e,s){c&&c.m(e,s),p(e,t,s),U(n,e,s),p(e,l,s),i&&i.m(e,s),p(e,o,s),r=!0},p(e,l){"number"==typeof e[0].value&&e[0].value<0?c?(c.p(e,l),1&l&&Q(c,1)):(c=Ut(e),c.c(),Q(c,1),c.m(t.parentNode,t)):c&&(G(),Y(c,1,1,(()=>{c=null})),K());const r={};1&l&&(r.label=e[0].label),1&l&&(r.footnote=e[0].footnote),n.$set(r),"number"==typeof e[0].value&&e[0].value>0?i?(i.p(e,l),1&l&&Q(i,1)):(i=Zt(e),i.c(),Q(i,1),i.m(o.parentNode,o)):i&&(G(),Y(i,1,1,(()=>{i=null})),K())},i(e){r||(Q(c),Q(n.$$.fragment,e),Q(i),r=!0)},o(e){Y(c),Y(n.$$.fragment,e),Y(i),r=!1},d(e){c&&c.d(e),e&&g(t),Z(n,e),e&&g(l),i&&i.d(e),e&&g(o)}}}function tn(e){let t,n;return t=new Ct({props:{type:e[0].type,classes:e[1],$$slots:{default:[en]},$$scope:{ctx:e}}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,[n]){const l={};1&n&&(l.type=e[0].type),1025&n&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function nn(e,t,n){let{minibar:l}=t,{cell:o}=t,{rowIndex:r}=t;const c=["qtable-minibar-cell"].concat(o.classes);let i=Kt.EMPTY;"number"==typeof o.value&&(o.value<0?i=Kt.NEGATIVE:o.value>0&&(i=Kt.POSITIVE)),c.push(`qtable-minibar-cell-${i}`);const s=l.barColor.positive.colorCode,a=l.barColor.positive.className,u=l.barColor.negative.colorCode,d=l.barColor.negative.className,f=l.values[r];return e.$$set=e=>{"minibar"in e&&n(7,l=e.minibar),"cell"in e&&n(0,o=e.cell),"rowIndex"in e&&n(8,r=e.rowIndex)},[o,c,s,a,u,d,f,l,r]}class ln extends ne{constructor(e){super(),te(this,e,nn,tn,r,{minibar:7,cell:0,rowIndex:8},Jt)}}function on(e){m(e,"svelte-wlhiv6",".qtable-th-arrow-ascending.svelte-wlhiv6{transform:rotate(180deg)}")}function rn(t){let n,l,o,r,c,i;return{c(){n=$("svg"),l=$("title"),o=x("Path"),r=$("g"),c=$("g"),i=$("polygon"),y(i,"id","Path"),y(i,"points","1135.824 657.121 1135.823 667.256 1139.063 664.028 1140.121 665.091 1135.074 670.121 1130 665.064 1131.059 664 1134.323 667.256 1134.324 657.121"),y(c,"id","Grenze-und-Epizentrum"),y(c,"transform","translate(-1130.000000, -657.000000)"),y(c,"fill","#000000"),y(r,"id","Page-1"),y(r,"stroke","none"),y(r,"stroke-width","1"),y(r,"fill","none"),y(r,"fill-rule","evenodd"),y(n,"width","11px"),y(n,"height","14px"),y(n,"viewBox","0 0 11 14"),y(n,"version","1.1"),y(n,"xmlns","http://www.w3.org/2000/svg"),y(n,"xmlns:xlink","http://www.w3.org/1999/xlink"),y(n,"class","svelte-wlhiv6"),I(n,"qtable-th-arrow-ascending",t[0])},m(e,t){p(e,n,t),f(n,l),f(l,o),f(n,r),f(r,c),f(c,i)},p(e,[t]){1&t&&I(n,"qtable-th-arrow-ascending",e[0])},i:e,o:e,d(e){e&&g(n)}}}function cn(e,t,n){let{sortAscending:l=!0}=t;return e.$$set=e=>{"sortAscending"in e&&n(0,l=e.sortAscending)},[l]}class sn extends ne{constructor(e){super(),te(this,e,cn,rn,r,{sortAscending:0},on)}}const an=[];const un=function(t,n=e){let l;const o=new Set;function c(e){if(r(t,e)&&(t=e,l)){const e=!an.length;for(const e of o)e[1](),an.push(e,t);if(e){for(let e=0;e{o.delete(s),0===o.size&&l&&(l(),l=null)}}}}({colIndex:null,sortDirection:"asc"});function dn(e){m(e,"svelte-19asm30",".qtable-th{text-align:left}.q-table-minibar-header{text-align:center}.qtable-sort-icon-holder{opacity:0.25}.qtable-sort-active{opacity:1}.qtable-th-numeric{text-align:right}")}function fn(e,t,n){const l=e.slice();return l[6]=t[n],l[8]=n,l}function mn(e){let t,n,l=e[0],o=[];for(let t=0;tY(o[e],1,1,(()=>{o[e]=null}));return{c(){t=b("thead");for(let e=0;e{i=null})),K()),(!c||1&l&&r!==(r="qtable-th qtable-th-"+e[6].type+" "+e[6].classes.join(" ")+" "+e[2](e[8]).classes))&&y(t,"class",r)},i(e){c||(Q(n.$$.fragment,e),Q(i),c=!0)},o(e){Y(n.$$.fragment,e),Y(i),c=!1},d(e){e&&g(t),Z(n),i&&i.d()}}}function hn(e){let t,n,l=e[0].length>0&&mn(e);return{c(){l&&l.c(),t=w()},m(e,o){l&&l.m(e,o),p(e,t,o),n=!0},p(e,[n]){e[0].length>0?l?(l.p(e,n),1&n&&Q(l,1)):(l=mn(e),l.c(),Q(l,1),l.m(t.parentNode,t)):l&&(G(),Y(l,1,1,(()=>{l=null})),K())},i(e){n||(Q(l),n=!0)},o(e){Y(l),n=!1},d(e){l&&l.d(e),e&&g(t)}}}function bn(e,t,n){let l;a(e,un,(e=>n(1,l=e)));let{minibar:o=null}=t,{tableHead:r=[]}=t;const c=e=>{l.colIndex===e?un.set({colIndex:e,sortDirection:"asc"===l.sortDirection?"desc":"asc"}):un.set({colIndex:e,sortDirection:"asc"})};return e.$$set=e=>{"minibar"in e&&n(4,o=e.minibar),"tableHead"in e&&n(0,r=e.tableHead)},[r,l,function(e){let t="";if(null!==o){o.settings.selectedColumn===e&&(t="q-table-minibar-header")}return{colspan:0,classes:t}},c,o,e=>c(e)]}class $n extends ne{constructor(e){super(),te(this,e,bn,hn,r,{minibar:4,tableHead:0},dn)}}function xn(e){m(e,"svelte-1sf02r5",".qtable-holder .qtable{border-collapse:collapse;border:none;margin:0;padding:0;width:100%;table-layout:auto;empty-cells:show}.qtable-holder .qtable th,.qtable-holder .qtable td{padding:10px 4px;vertical-align:top;border:none !important;font-size:unset;line-height:unset;font-weight:unset}.qtable-holder .qtable thead{background:unset}.qtable-holder .qtable tbody tr,.qtable-holder .qtable thead{border-width:0 0 1px 0;border-style:solid;border-color:#e9e9ee}.qtable-holder .qtable .qtable-tr-frozen{background-color:#f4f4f4;border-bottom:2px solid #000 !important;border-top:2px solid #000 !important}")}function vn(e,t,n){const l=e.slice();return l[6]=t[n],l}function wn(e,t,n){const l=e.slice();return l[9]=t[n],l[11]=n,l}function qn(e){let t,n;return t=new Ht({props:{cell:e[9]}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.cell=e[9]),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function yn(e){let t,n;return t=new Gt({props:{cell:e[9],colorColumn:e[3],rowIndex:e[6].key}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.cell=e[9]),1&n&&(l.rowIndex=e[6].key),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Cn(e){let t,n;return t=new ln({props:{cell:e[9],minibar:e[2],rowIndex:e[6].key}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.cell=e[9]),1&n&&(l.rowIndex=e[6].key),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function _n(e){let t,n,l,o;const r=[Cn,yn,qn],c=[];return t=function(e,t){return e[2]?.columnIndex===e[11]?0:e[3]?.selectedColumn===e[11]?1:2}(e),n=c[t]=r[t](e),{c(){n.c(),l=w()},m(e,n){c[t].m(e,n),p(e,l,n),o=!0},p(e,t){n.p(e,t)},i(e){o||(Q(n),o=!0)},o(e){Y(n),o=!1},d(e){c[t].d(e),e&&g(l)}}}function kn(e,t){let n,l,o,r=t[6].cells,c=[];for(let e=0;eY(c[e],1,1,(()=>{c[e]=null}));return{key:e,first:null,c(){n=b("tr");for(let e=0;ee[6].key;for(let e=0;e{"componentConfiguration"in e&&n(5,l=e.componentConfiguration),"rows"in e&&n(0,o=e.rows)},[o,r,c,i,s,l]}class zn extends ne{constructor(e){super(),te(this,e,En,In,r,{componentConfiguration:5,rows:0},xn)}}function Nn(e){m(e,"svelte-f5q3l2",".qtable-card-layout{margin-top:16px}.qtable-card-layout .qtable-card-row.svelte-f5q3l2{border-bottom:1px solid #e9e9ee}.qtable-card-layout .qtable-card-row.svelte-f5q3l2:first-child{padding-top:0}.qtable-card-layout .qtable-row-frozen.svelte-f5q3l2{background-color:#f4f4f4;border-bottom:2px solid #000;border-top:2px solid #000}.qtable-card-layout .qtable-card-cell.svelte-f5q3l2{display:flex;justify-content:space-between;padding:4px 0;position:relative}.qtable-card-layout .qtable-card-cell-title.svelte-f5q3l2{font-weight:500;max-width:80%;position:relative;text-align:left}.qtable-card-layout .qtable-card-cell-value.svelte-f5q3l2{text-align:right}")}function Sn(e,t,n){const l=e.slice();return l[3]=t[n],l}function Tn(e,t,n){const l=e.slice();return l[6]=t[n],l[8]=n,l}function Mn(e){let t,n;return t=new Et({props:{text:e[6].footnote}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.text=e[6].footnote),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function jn(t){let n,l,o,r,c,i,s,a,u,m,h=t[1][t[8]].value+"",$=t[6].value+"",w=""!==t[1][t[8]].footnote&&function(t){let n,l;return n=new Et({props:{text:t[1][t[8]].footnote}}),{c(){J(n.$$.fragment)},m(e,t){U(n,e,t),l=!0},p:e,i(e){l||(Q(n.$$.fragment,e),l=!0)},o(e){Y(n.$$.fragment,e),l=!1},d(e){Z(n,e)}}}(t),q=""!==t[6].footnote&&Mn(t);return{c(){n=b("div"),l=b("span"),o=new E(!1),r=v(),w&&w.c(),c=v(),i=b("span"),s=x($),a=v(),q&&q.c(),o.a=r,y(l,"class","qtable-card-cell-title svelte-f5q3l2"),y(i,"class","qtable-card-cell-value svelte-f5q3l2"),y(n,"class",u=d(`qtable-card-cell ${t[6].classes.join(" ")} `)+" svelte-f5q3l2")},m(e,t){p(e,n,t),f(n,l),o.m(h,l),f(l,r),w&&w.m(l,null),f(n,c),f(n,i),f(i,s),f(i,a),q&&q.m(i,null),m=!0},p(e,t){""!==e[1][e[8]].footnote&&w.p(e,t),(!m||1&t)&&$!==($=e[6].value+"")&&C(s,$),""!==e[6].footnote?q?(q.p(e,t),1&t&&Q(q,1)):(q=Mn(e),q.c(),Q(q,1),q.m(i,null)):q&&(G(),Y(q,1,1,(()=>{q=null})),K()),(!m||1&t&&u!==(u=d(`qtable-card-cell ${e[6].classes.join(" ")} `)+" svelte-f5q3l2"))&&y(n,"class",u)},i(e){m||(Q(w),Q(q),m=!0)},o(e){Y(w),Y(q),m=!1},d(e){e&&g(n),w&&w.d(),q&&q.d()}}}function Pn(e,t){let n,l,o,r=t[3].cells,c=[];for(let e=0;eY(c[e],1,1,(()=>{c[e]=null}));return{key:e,first:null,c(){n=b("div");for(let e=0;ee[3].key;for(let t=0;t{"componentConfiguration"in e&&n(2,l=e.componentConfiguration),"rows"in e&&n(0,o=e.rows)},[o,r,l]}class Dn extends ne{constructor(e){super(),te(this,e,Vn,An,r,{componentConfiguration:2,rows:0},Nn)}}function Ln(e){let t,n;return t=new zn({props:{componentConfiguration:e[0],rows:e[4]}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.componentConfiguration=e[0]),16&n&&(l.rows=e[4]),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Bn(e){let t,n;return t=new Dn({props:{componentConfiguration:e[0],rows:e[4]}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};1&n&&(l.componentConfiguration=e[0]),16&n&&(l.rows=e[4]),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}function Hn(t){let n,l;return n=new lt({props:{legend:t[9].legend}}),{c(){J(n.$$.fragment)},m(e,t){U(n,e,t),l=!0},p:e,i(e){l||(Q(n.$$.fragment,e),l=!0)},o(e){Y(n.$$.fragment,e),l=!1},d(e){Z(n,e)}}}function On(t){let n,l;return n=new dt({props:{legend:t[9].legend}}),{c(){J(n.$$.fragment)},m(e,t){U(n,e,t),l=!0},p:e,i(e){l||(Q(n.$$.fragment,e),l=!0)},o(e){Y(n.$$.fragment,e),l=!1},d(e){Z(n,e)}}}function Rn(t){let n,l,o,r,c,i,s,a,u,d,m,h,$,x,q,C=t[14](),_=t[13](),I=t[15](),E=C&&function(t){let n;return{c(){n=b("h3"),n.textContent=`${t[6].title}`,y(n,"class","s-q-item__title")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}(t),z=t[6].subtitle&&""!==t[6].subtitle&&function(t){let n;return{c(){n=b("div"),n.textContent=`${t[6].subtitle}`,y(n,"class","s-q-item__subtitle")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}(t),N=_&&function(e){let t,n;return t=new vt({}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}(),S=I&&function(e){let t,n;return t=new bt({props:{page:e[3],pageSize:e[1],count:e[2].length}}),{c(){J(t.$$.fragment)},m(e,l){U(t,e,l),n=!0},p(e,n){const l={};8&n&&(l.page=e[3]),2&n&&(l.pageSize=e[1]),4&n&&(l.count=e[2].length),t.$set(l)},i(e){n||(Q(t.$$.fragment,e),n=!0)},o(e){Y(t.$$.fragment,e),n=!1},d(e){Z(t,e)}}}(t),T=!0!==t[12].hideLegend&&null!==t[9]&&"number"==typeof t[9].selectedColumn&&t[9].selectedColumn!==t[12].minibar.selectedColumn&&!t[7]&&function(t){let n,l;return n=new Oe({props:{colorColumn:t[9],noInteraction:t[10]}}),{c(){J(n.$$.fragment)},m(e,t){U(n,e,t),l=!0},p:e,i(e){l||(Q(n.$$.fragment,e),l=!0)},o(e){Y(n.$$.fragment,e),l=!1},d(e){Z(n,e)}}}(t);const M=[Bn,Ln],j=[];a=function(e,t){return e[7]?0:1}(t),u=j[a]=M[a](t);let P=t[8]&&t[8].length>0&&function(t){let n,l;return n=new $e({props:{footnotes:t[8]}}),{c(){J(n.$$.fragment)},m(e,t){U(n,e,t),l=!0},p:e,i(e){l||(Q(n.$$.fragment,e),l=!0)},o(e){Y(n.$$.fragment,e),l=!1},d(e){Z(n,e)}}}(t),A=t[9]&&"numerical"===t[9].legend.type&&function(e){let t,n,l,o;const r=[On,Hn],c=[];return t=function(e,t){return e[10]?0:1}(e),n=c[t]=r[t](e),{c(){n.c(),l=w()},m(e,n){c[t].m(e,n),p(e,l,n),o=!0},p(e,t){n.p(e,t)},i(e){o||(Q(n),o=!0)},o(e){Y(n),o=!1},d(e){c[t].d(e),e&&g(l)}}}(t);return $=new me({props:{notes:t[6].notes,sources:t[6].sources,acronym:t[6].acronym}}),{c(){n=b("div"),E&&E.c(),l=v(),z&&z.c(),o=v(),r=b("div"),N&&N.c(),c=v(),S&&S.c(),i=v(),T&&T.c(),s=v(),u.c(),d=v(),P&&P.c(),m=v(),A&&A.c(),h=v(),J($.$$.fragment),k(r,"overflow-x","auto"),y(n,"id",t[11]),y(n,"class",x="s-q-item qtable-holder "+t[5])},m(e,t){p(e,n,t),E&&E.m(n,null),f(n,l),z&&z.m(n,null),f(n,o),f(n,r),N&&N.m(r,null),f(r,c),S&&S.m(r,null),f(r,i),T&&T.m(r,null),f(r,s),j[a].m(r,null),f(n,d),P&&P.m(n,null),f(n,m),A&&A.m(n,null),f(n,h),U($,n,null),q=!0},p(e,[t]){C&&E.p(e,t),e[6].subtitle&&""!==e[6].subtitle&&z.p(e,t),I&&S.p(e,t),!0===e[12].hideLegend||null===e[9]||"number"!=typeof e[9].selectedColumn||e[9].selectedColumn===e[12].minibar.selectedColumn||e[7]||T.p(e,t),u.p(e,t),e[8]&&e[8].length>0&&P.p(e,t),e[9]&&"numerical"===e[9].legend.type&&A.p(e,t),(!q||32&t&&x!==(x="s-q-item qtable-holder "+e[5]))&&y(n,"class",x)},i(e){q||(Q(N),Q(S),Q(T),Q(u),Q(P),Q(A),Q($.$$.fragment,e),q=!0)},o(e){Y(N),Y(S),Y(T),Y(u),Y(P),Y(A),Y($.$$.fragment,e),q=!1},d(e){e&&g(n),E&&E.d(),z&&z.d(),N&&N.d(),S&&S.d(),T&&T.d(),j[a].d(),P&&P.d(),A&&A.d(),Z($)}}}function Fn(e,t,n){let{componentConfiguration:l}=t;const{config:o,initWithCardLayout:r,rows:c,footnotes:i,colorColumn:s,displayOptions:a,noInteraction:u,id:d,width:f,frozenRowKey:m,tableHead:p}=l;let{pageSize:g}=l;const h=o.options;let b,$,x,v=0,w=0;var q,y;"number"==typeof m&&(null==c?void 0:c.length)&&c[m]&&(x=c.splice(m,1)[0],x.frozen=!0,g-=1),un.subscribe((e=>{if("number"==typeof e.colIndex){const t=e.colIndex;$.sort(((n,l)=>((e,t,n,l,o)=>{const r=e.cells[n].value,c=t.cells[n].value;if("text"===l||"country-flag-emoji"===l)return"asc"===o?r.localeCompare(c,"de"):c.localeCompare(r,"de");const i=e.cells[n].value,s=t.cells[n].value;return"asc"===o?i-s:s-i})(n,l,t,p[t].type,e.sortDirection))),n(2,$)}})),q="state",y={getState:()=>({page:w,pageIndex:v,pageSize:g,rows:c,filteredRows:$}),setPage:e=>{n(3,w=e),n(16,v=e*g)},setPageSize:e=>n(1,g=e),setFilteredRows:e=>n(2,$=e)},N().$$.context.set(q,y);let C="";return f&&f>420&&(C="qtable-desktop"),e.$$set=e=>{"componentConfiguration"in e&&n(0,l=e.componentConfiguration)},e.$$.update=()=>{if(196614&e.$$.dirty){const e=$.slice(v,v+g);x&&e.unshift(x),n(4,b=e)}},n(2,$=c),[l,g,$,w,b,C,o,r,i,s,u,d,h,function(){return!0!==u&&!0===h.showTableSearch},function(){return"boolean"!=typeof a.hideTitle||!a.hideTitle},function(){return!1===u&&"number"==typeof g&&$.length>g},v,x]}return class extends ne{constructor(e){super(),te(this,e,Fn,Rn,r,{componentConfiguration:0})}}}(); diff --git a/dist/routes.js b/dist/routes.js index 16bfb8a7..fea738d1 100644 --- a/dist/routes.js +++ b/dist/routes.js @@ -1691,8 +1691,9 @@ var properties$1 = { type: "object", properties: { pageSize: { - title: "Zeilen ausblenden nach", + title: "Zeilen ausblenden nach (Min. = 10)", type: "number", + minimum: 10, "default": 10 }, frozenRowKey: { diff --git a/resources/schema.json b/resources/schema.json index 9455154b..a50187ca 100644 --- a/resources/schema.json +++ b/resources/schema.json @@ -129,8 +129,9 @@ "type": "object", "properties": { "pageSize": { - "title": "Zeilen ausblenden nach", + "title": "Zeilen ausblenden nach (Min. = 10)", "type": "number", + "minimum": 10, "default": 10 }, "frozenRowKey": { diff --git a/src/components/card/CardLayout.svelte b/src/components/card/CardLayout.svelte index 825590c0..1064ecd8 100644 --- a/src/components/card/CardLayout.svelte +++ b/src/components/card/CardLayout.svelte @@ -14,17 +14,17 @@ const { tableHead } = componentConfiguration; {#each row.cells as cell, colIndex}
- {tableHead[colIndex].value} + {@html tableHead[colIndex].value} {#if tableHead[colIndex].footnote !== ''} - + {/if} {cell.value} {#if cell.footnote !== ''} - + {/if}
From 1409a161b67bfed791f94a4a2d29216c872c253c Mon Sep 17 00:00:00 2001 From: Danijel Beljan Date: Sat, 19 Aug 2023 16:57:20 +0200 Subject: [PATCH 2/2] release-7.3.2 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index e564785d..202e0f5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "q-table", - "version": "7.3.1", + "version": "7.3.2", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 19a24587..321d9f0a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "q-table", - "version": "7.3.1", + "version": "7.3.2", "description": "", "main": "index.js", "type": "module",