!function(){"use strict";function t(){}function n(t){return t()}function r(){return Object.create(null)}function e(t){t.forEach(n)}function o(t){return"function"==typeof t}function a(t,n){return t!=t?n==n:t!==n||t&&"object"==typeof t||"function"==typeof t}function u(t,n,r){t.insertBefore(n,r||null)}function i(t){t.parentNode.removeChild(t)}function f(t){return document.createTextNode(t)}function c(t,n,r){null==r?t.removeAttribute(n):t.getAttribute(n)!==r&&t.setAttribute(n,r)}var p;function l(t){p=t}var d=[],s=[],h=[],$=[],g=Promise.resolve(),v=!1;function m(t){h.push(t)}var y=!1,_=new Set;function b(){if(!y){y=!0;do{for(var t=0;t<d.length;t+=1){var n=d[t];l(n),w(n.$$)}for(d.length=0;s.length;)s.pop()();for(var r=0;r<h.length;r+=1){var e=h[r];_.has(e)||(_.add(e),e())}h.length=0}while(d.length);for(;$.length;)$.pop()();v=!1,y=!1,_.clear()}}function w(t){if(null!==t.fragment){t.update(),e(t.before_update);var n=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,n),t.after_update.forEach(m)}}var x=new Set;function k(t,n){-1===t.$$.dirty[0]&&(d.push(t),v||(v=!0,g.then(b)),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31}function A(a,u,i,f,c,d,s){void 0===s&&(s=[-1]);var h=p;l(a);var $,g,v=u.props||{},y=a.$$={fragment:null,ctx:null,props:d,update:t,not_equal:c,bound:r(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(h?h.$$.context:[]),callbacks:r(),dirty:s},_=!1;y.ctx=i?i(a,v,(function(t,n){for(var r=[],e=arguments.length-2;e-- >0;)r[e]=arguments[e+2];var o=r.length?r[0]:n;return y.ctx&&c(y.ctx[t],y.ctx[t]=o)&&(y.bound[t]&&y.bound[t](o),_&&k(a,t)),n})):[],y.update(),_=!0,e(y.before_update),y.fragment=!!f&&f(y.ctx),u.target&&(u.hydrate?y.fragment&&y.fragment.l(function(t){return Array.from(t.childNodes)}(u.target)):y.fragment&&y.fragment.c(),u.intro&&($=a.$$.fragment)&&$.i&&(x.delete($),$.i(g)),function(t,r,a){var u=t.$$,i=u.fragment,f=u.on_mount,c=u.on_destroy,p=u.after_update;i&&i.m(r,a),m((function(){var r=f.map(n).filter(o);c?c.push.apply(c,r):e(r),t.$$.on_mount=[]})),p.forEach(m)}(a,u.target,u.anchor),b()),l(h)}var C=function(){};function E(n){var r,e,o,a,p,l=n[1]("Created with")+"";return{c:function(){var t;r=f(l),e=f(" "),t="a",o=document.createElement(t),a=f("Datawrapper"),c(o,"href",p="https://www.datawrapper.de/_/"+n[0].id),c(o,"target","_blank")},m:function(t,n){u(t,r,n),u(t,e,n),u(t,o,n),function(t,n){t.appendChild(n)}(o,a)},p:function(t,n){1&n[0]&&p!==(p="https://www.datawrapper.de/_/"+t[0].id)&&c(o,"href",p)},i:t,o:t,d:function(t){t&&i(r),t&&i(e),t&&i(o)}}}function j(t,n,r){var e,o=n.props,a=o.__;return t.$set=function(t){"props"in t&&r(2,o=t.props)},t.$$.update=function(){4&t.$$.dirty&&r(0,e=o.chart)},[e,a,o]}C.prototype.$destroy=function(){var n,r;n=1,null!==(r=this.$$).fragment&&(e(r.on_destroy),r.fragment&&r.fragment.d(n),r.on_destroy=r.fragment=null,r.ctx=[]),this.$destroy=t},C.prototype.$on=function(t,n){var r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),function(){var t=r.indexOf(n);-1!==t&&r.splice(t,1)}},C.prototype.$set=function(){};var N=function(t){function n(n){t.call(this),A(this,n,j,E,a,{props:2})}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n}(C);N.test=function(t){var n=t.chart;return!!t.userRequiresAttribution||function(t,n,r){if(void 0===n&&(n=null),void 0===r&&(r=null),!n)return t;for(var e=n.split("."),o=t,a=0;a<e.length&&null!=o;a++)o=o[e[a]];return null==o?r:o}(n,"metadata.publish.force-attribution",!1)},dw.block.register("CreatedWithDatawrapper",N)}();
