nOME AOS BOIS

Quem está destruindo as unidades de conservação do Cerrado

Empresários ligados a políticos, agronegociantes e até órgãos governamentais estão na lista

|
Destruição do Cerrado ameaça recursos hídricos da região - José Cícero/Agência Pública

Desmatamento, incêndio florestal, descumprimento de embargo, lançamento de resíduos sólidos em desacordo com a legislação, irregularidades ou ausência de licença ambiental. Esses são alguns dos exemplos de infrações aplicadas entre 2009 e 2021 pelo Instituto Chico Mendes de Conservação da Biodiversidade (ICMBio) no Cerrado — o órgão é responsável pela gestão e fiscalização das 334 unidades de conservação (UCs) federais espalhadas pelo Brasil, que protegem cerca de 10% do território nacional. A lista de infratores inclui empresários com casos de corrupção ou ligações políticas — inclusive com o ex-ministro do Meio Ambiente Ricardo Salles —, agronegociantes com atuação na fronteira agrícola do Matopiba e até órgãos governamentais.

Análise da Agência Pública com base em dados obtidos via Lei de Acesso à Informação (LAI) pela Fiquem Sabendo, agência de dados especializada no acesso a informações públicas, mostra que foram cerca de 4 mil autuações lavradas pelo órgão na região ao longo do período analisado (2009-2021).

A reportagem selecionou 48 UCs federais, de proteção integral ou de uso sustentável, que contêm parcela significativa de cerrado em sua área (acima de 40%). A seleção se baseou nos dados do site Unidades de Conservação do Brasil, mantido pelo Instituto Socioambiental (ISA). Ao todo, 38 unidades tiveram infrações lavradas, de acordo com a base obtida pela Fiquem Sabendo. Foram 3.872 multas com valor especificado, totalizando mais de R$ 235 milhões. Não é possível saber quantas foram pagas pelos infratores, mas as fontes ouvidas afirmam que elas raramente são quitadas.

 

 

 



Em março, a Pública revelou quem são os campeões de multas nas UCs da Amazônia. No bioma, que concentra 132 UCs, o montante é ainda mais amplo: foram 10,5 mil autuações no mesmo período, totalizando mais de R$ 3 bilhões. A lista amazônica inclui políticos regionais e pessoas ligadas a eles, infratores com vasta ficha de acusações criminais, inclusive por assassinato em conflitos agrários, além de grandes empresas. Na Amazônia, as infrações ambientais estão concentradas em 11 UCs, quase todas localizadas na zona de influência de rodovias federais. Somadas, elas representam 75% do valor total aplicado.

Para o servidor do ICMBio em Goiás Raoni Merisse, o perfil do infrator do Cerrado é diferente do infrator na Amazônia. “Os desmatamentos que ocorrem no Cerrado estão muito associados à expansão da fronteira agrícola [por fazendeiros que já ocupavam a área], enquanto os que ocorrem na Amazônia estão muito associados à invasão, à grilagem, ao apoderamento de terras públicas por particulares”, explica Merisse, que acredita que ainda há espaço para que novas UCs sejam criadas no Cerrado.

Há mais de dez anos atuando no órgão, ele considera que a situação das UCs piorou nos últimos tempos, tanto pela “dificuldade do ICMBio de fazer valer a lei”, já que há grande déficit de pessoal, quanto pelo “sentimento de impunidade”. Para o servidor, o crime ambiental acaba compensando para os infratores, já que há baixo risco de responsabilização, altas chances de a multa prescrever e o procedimento para utilizar da terra de maneira regularizada demora anos para ser finalizado.

Na visão de Patrícia da Silva, assessora de políticas públicas do Instituto Sociedade, População e Natureza (ISPN), o Cerrado acaba sendo visto como “zona de sacrifício”. [Na visão de muitos acadêmicos,] no Cerrado pode tudo, desde que a gente proteja o patrimônio que está lá na Amazônia. Mas se esquece de olhar a importância que o bioma tem, sobretudo para os recursos hídricos e para nossa segurança energética”, diz. Para ela, além do fortalecimento da fiscalização, é necessário retomar a criação de novas UCs e fortalecer a gestão das já existentes, com disponibilização de recursos e regularização fundiária das áreas, muitas delas ainda ocupadas irregularmente.

Envolvidos em casos de corrupção estão entre infratores

O grande campeão de multas ambientais no Cerrado é o empresário Walter Santana Arantes, que atua no ramo de supermercados em Minas Gerais, além de manter fazendas na região do médio São Francisco, no norte do estado. Ao todo, Arantes recebeu nove multas no período analisado, todas elas no Parque Nacional (Parna) Cavernas do Peruaçu, em Minas Gerais, num total de R$ 16,8 milhões. A maior infração, de quase R$ 14 milhões, ocorreu em novembro de 2017 e refere-se à destruição de vegetação nativa no interior da UC. 

As infrações, perpetradas ao longo de mais de 14 anos, renderam ao empresário uma ação penal e outra civil pública movidas pelo Ministério Público Federal (MPF). Em outro processo, o órgão chegou a pedir a averbação da matrícula da fazenda Itaporanga do Norte, que seria fruto de grilagem de terra. Reportagem da Repórter Brasil de 2020 ligou Arantes também à violência contra quilombolas no norte mineiro.

Atualmente sócio do Grupo DMA, Arantes foi fundador da rede Mineirão, vendida ao Carrefour, ocupa cargo na Associação Mineira de Supermercados (Amis) e tem ligação com os Supermercados BH. 

Em novembro de 2018, Arantes foi preso no âmbito da Operação Capitu, um desdobramento da Lava Jato. Joesley Batista, dono da JBS, e Antonio Andrade, ex-ministro da Agricultura e então vice-governador de Minas Gerais, foram presos na mesma operação. O ex-presidente da Câmara Eduardo Cunha, que já estava preso, também foi alvo de mandado. O suposto esquema de corrupção ocorreu no Ministério da Agricultura e envolveu políticos do MDB, que teriam recebido propina da JBS. O papel dos Supermercados BH seria lavar o dinheiro, comprando carne superfaturada da JBS. As prisões foram revogadas dias depois pelo Superior Tribunal de Justiça (STJ).

O empresário do ramo de supermercados não é o único envolvido em casos de corrupção que aparece na lista de infratores. No Parna da Chapada dos Guimarães, no Mato Grosso, uma das campeãs de multa é a Cavalca Construções e Mineração Ltda., que recebeu multa de R$ 2 milhões em 2009, por realizar “obras e serviços potencialmente poluidores e utilizadores de recursos ambientais sem a devida licença e autorização para o licenciamento ambiental”. 

A empresa é ligada ao Grupo Cavalca, que, fundado em 1949 no Paraná, atua nos setores industrial, comercial, agropecuário e de construção pesada. Seus sócios acumulam processos por improbidade administrativa, corrupção ativa e passiva e lavagem de dinheiro. Em 2011, o Ministério Público Eleitoral (MPE) e o Ministério Público Federal no Mato Grosso (MPF/MT) investigaram a empreiteira por conta de um aumento de 1.000% no valor dos contratos com o governo federal. Na eleição do ano anterior, a Cavalca doara R$ 500 mil para campanhas eleitorais, sendo R$ 300 mil para o então senador Blairo Maggi (à época no PR, atual PL, hoje no PP). O Tribunal de Contas da União (TCU) também identificou superfaturamento em uma das obras tocadas pela empreiteira.

Em 2017, o ex-governador do Mato Grosso Silval Barbosa (MDB) afirmou em delação premiada que o senador Wellington Fagundes (PR) teria cobrado propina de R$ 1 milhão da Cavalca para garantir a liberação de recursos para duas obras de infraestrutura no estado em 2011. O grupo empresarial também foi doador da campanha de Barbosa.

Em 2018, um dos sócios da empresa, Arlindo Cavalca Filho, foi condenado no âmbito da Operação Ápia, que investigou um esquema de corrupção em obras do Departamento Nacional de Infraestrutura e Transporte (Dnit) no Rio Grande do Norte. A relação da família com o Dnit também se deu em nível nacional: em 2013, o então diretor-executivo do órgão Tarcísio Gomes de Freitas viajou de Santarém (PA) para Brasília no jatinho do empresário. Ex-ministro da Infraestrutura de Bolsonaro, Freitas é candidato a governador de São Paulo. Cavalca Filho, por sua vez, chegou a ser cotado como vice da chapa de Roberto Requião (PT) no Paraná na eleição deste ano.

Outras figuras com ligações políticas foram multadas

Em Goiás, outro caso do tipo: a Torre Indústria Têxtil e Armazéns Gerais Ltda. foi multada em quatro ocasiões por infrações no interior do Parna das Emas, no sudoeste goiano. O total aplicado é de R$ 4,3 milhões. A multa principal, de R$ 2 milhões, deve-se ao funcionamento de “algodoeira poluidora sem licença ambiental”. A empresa tinha como sócios Alexandre Augustin e sua esposa, Louize Honorato de Freitas. A busca pelo nome do empresário no site JusBrasil resulta em mais de 1.600 processos, a maior parte deles tramitando em varas trabalhistas. Augustin, filiado ao Podemos, foi candidato a suplente na chapa de José Medeiros (Podemos), na eleição suplementar para o Senado no Mato Grosso, em 2020. Na ocasião, ele declarou quase R$ 26 milhões em bens.

De acordo com dados da Receita Federal compilados no site CruzaGrafos, Augustin e seus familiares aparecem como sócios de mais de 78 empresas, de diversos ramos. Seu irmão Guilherme Augustin e a esposa deste, Luciana Fischer, são sócios de Alexandre e Louize Freitas na fazenda Torre, no Mato Grosso. Em 2015, os dois casais entraram com pedido de recuperação judicial por conta de passivos que, somados, ultrapassavam R$ 400 milhões. O pedido gerou conflito com uma das credoras.

Igualmente baseados em Goiás, mas com atuação também em Minas Gerais e no oeste da Bahia, o Grupo Ampessan é mais um caso do tipo. Somados, os irmãos Roberto, Luiz Slongo e Vicente Ampessan receberam quase R$ 9,2 milhões em multas por desmatamentos para plantio de grãos e pelo funcionamento de carvoaria sem licença ou autorização. As infrações foram cometidas em Jaborandi (BA), no interior da Reserva de Vida Selvagem (Revis) das Veredas do Oeste Baiano. Luiz Slongo chegou a entrar com ação judicial para tentar derrubar a criação da UC.

Os irmãos foram processados criminalmente pelo MPF por causa da conduta no interior da Revis. Na ação, o advogado de defesa da família é o ex-desembargador do Tribunal de Justiça do Distrito Federal (TJDF) Valter Ferreira Xavier Filho, que chegou a ser afastado do cargo e logo em seguida se aposentou voluntariamente.

Entre as empresas do grupo familiar está a Celeste Aero Agrícola Ltda., que atua na aplicação aérea de sementes, fertilizantes e agrotóxicos. Em agosto de 2020, quando a região do Pantanal sofria com incêndios, a página de Instagram da empresa fez publicação exaltando o então ministro do Meio Ambiente Ricardo Salles e o presidente Jair Bolsonaro. Na época, Salles chegou a sobrevoar a região a bordo de avião da Celeste.


Infratores receberam quase R$ 9,2 milhões em multas por desmatamento no Oeste Baiano / José Cícero/Agência Pública

Há ainda mais um infrator que mantém conexões políticas: trata-se de José Fava Neto, sócio da Agrofava e diretor regional da Aprosoja de Goiás. De acordo com reportagem do jornal Extra, caminhões que participaram de manifestação favorável a Bolsonaro em 7 de setembro de 2021 estampavam adesivos da Agrofava e também do Movimento Brasil Verde-Amarelo, grupo financiado pela Aprosoja. A entidade de produtores rurais está entre as investigadas no inquérito das manifestações antidemocráticas, tocado pelo Supremo Tribunal Federal (STF). Fava Neto fez doações para as duas últimas campanhas do deputado gaúcho Alceu Moreira (MDB), ex-presidente da Frente Parlamentar da Agropecuária.

A infração cometida por ele ocorreu no Parna Grande Sertão Veredas, em Cocos (BA), em 2010. A multa, de R$ 2,1 milhões, foi por desmatamento sem autorização. O agropecuarista detém a maior outorga de captação de água para irrigação na bacia do rio São Francisco, no Oeste Baiano, podendo captar 117 milhões de litros de água por dia, conforme revelado em especial da Pública que foi ao ar no ano passado.

Além de Fava Neto, outros dois grandes nomes do agronegócio do Oeste Baiano citados no especial aparecem entre os maiores infratores do Cerrado: Marcos Antônio Busato e a Iaciara Agropecuária, de Fernando Luiz Schettino. 

Busato é parte de grupo familiar que inclui outros expoentes da produção agrícola local, incluindo o atual presidente da Associação Brasileira dos Produtores de Algodão (Abrapa), Júlio Cézar Busato. Marcos Antônio foi multado duas vezes em 2010, em um total de R$ 890 mil, por desmatar e fazer funcionar empreendimento agrícola sem autorização no interior da Área de Proteção Ambiental (APA) das Nascentes do Rio Vermelho em Jaborandi (BA). A família Busato detém autorização para captar 325 milhões de litros de água por dia na região.

Já Schettino é o maior detentor de outorgas de água do Oeste Baiano, com 467 milhões de litros por dia. A sua Iaciara Agropecuária recebeu multa de R$ 500 mil em 2009, por descumprir embargo de uma área de mais de 1.100 hectares, na Revis das Veredas do Oeste Baiano. A despeito da infração e de outros embargos, ele continuou recebendo outorgas de água do governo baiano.

Multas em contexto urbano também são recorrentes

Além de multas por desmatamento e incêndio, igualmente comuns nas UCs da Amazônia, as do Cerrado também são palco de infrações ambientais em contexto urbano. A unidade do bioma com maior valor em multas aplicadas é o Parna de Brasília, que fica no entorno da capital federal. Ao longo do período analisado, foram aplicados R$ 36,8 milhões em multas na UC. Além do Parna, a cidade é circundada pela Floresta Nacional (Flona) de Brasília, pela APA do Planalto Central e pela Reserva Biológica (Rebio) da Contagem, entre outras unidades federais e estaduais. Somadas, essas três UCs totalizam R$ 26,6 milhões em multas no período.

Um dos principais casos de infrações ambientais em contexto urbano no Cerrado ocorreu justamente no Parque Nacional de Brasília e está relacionado ao Lixão da Estrutural, que chegou a ser o maior depósito de lixo da América Latina e foi desativado em 2018. A Valor Ambiental Ltda. foi multada duas vezes, cada uma delas em R$ 2 milhões, por “lançar resíduos sólidos em desacordo com as exigências estabelecidas” e por “fazer funcionar serviço utilizador de recurso ambiental considerado efetivamente poluidor contrariando as normas legais”. 


Schettino pode captar 467 milhões de litros de água por dia no Oeste Baiano / José Cícero/Agência Pública

A empresa operadora do Lixão da Estrutural, que chegou a ser condenada por exploração de menores dentro do local e foi denunciada por fraude, é ligada a Eduardo Queiroz Alves. O empresário é ex-genro de Nenê Constantino, fundador da Gol Linhas Aéreas e de diversas empresas do ramo de transporte rodoviário, centralizadas no Grupo Comporte. Constantino, já autuado por trabalho escravo, foi acusado de mandar matar Alves em 2008, quando o ex-genro sofreu um atentado. Inocentado da acusação em questão, o fundador da Gol foi condenado em duas ocasiões, ambas como mandante de assassinatos. 

Além da Valor Ambiental, também foram autuadas no caso a Companhia Imobiliária de Brasília (Terracap) e o Serviço de Limpeza Urbana (SLU) do Distrito Federal (DF). A Terracap tem como acionistas os governos federal e do DF e é dona do terreno onde ficava o lixão. A empresa estatal foi autuada nove vezes no período analisado por infrações ligadas ao depósito de lixo e em outros locais da região, incluindo na APA do Planalto Central. Ao todo, a Terracap recebeu R$ 6,8 milhões em multas. Já o SLU/DF acumula cinco multas, que totalizam R$ 9,2 milhões.

Outros órgãos estatais ou governamentais também foram alvos de multas por infrações ambientais em diversas UCs federais do Cerrado. A lista inclui ainda a Secretaria de Agricultura de Goiás, o Departamento de Estrada de Rodagem (DER) do DF, a Empresa Brasil de Comunicação (EBC) e o Incra. Ao todo, contando com Terracap e SLU, são R$ 29,2 milhões em multas.

A Pública entrou em contato com as pessoas e empresas citadas na reportagem, mas não obteve retornos até a publicação.


i.key){n.splice(o,0,i);break}o===a&&n.push(i)}e.updateURL()},forEach:function t(e){for(var n=Qh(this).entries,r=De(e,1?@[\\\]^|]/,Ip=/[\0\t\n\r #/:<>?@[\\\]^|]/,Sp=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Ep=/[\t\n\r]/g,zp,Lp=function(t,e){var n,r,i;if("["==e.charAt(0))return"]"==e.charAt(e.length-1)&&(n=Cp(e.slice(1,-1)))?void(t.host=n):mp;if(Zp(t))return e=Fh(e),Np.test(e)||null===(n=Dp(e))?mp:void(t.host=n);if(Ip.test(e))return mp;for(n="",r=hr(e),i=0;i=_p(256,5-n))return null}else if(255":1,"`":1}),Fp=Kt({},Up,{"#":1,"?":1,"{":1,"}":1}),Yp=Kt({},Fp,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Bp=function(t,e){var n=cp(t,0);return 32t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i=!0,o=!1,a;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){o=!0,a=t},f:function(){try{i||null==n.return||n.return()}finally{if(o)throw a}}}}z&&ne($t,{href:sl(xg,function(t){var e=pp(this),t=String(t),t=mg(e,t);if(t)throw TypeError(t);dp(e.searchParams).updateSearchParams(e.query)}),origin:sl(wg),protocol:sl(Mg,function(t){var e=pp(this);mg(e,String(t)+":",Jp)}),username:sl(kg,function(t){var e=pp(this),n=hr(String(t));if(!Gp(e)){e.username="";for(var r=0;re._time&&(r=e._time),(t=e)._next):(n=e._next,e._next=null,t?t._next=n:Eb=n);zb=t,Gb(r)}function Gb(t){var e;Tb||(Nb=Nb&&clearTimeout(Nb),24$b)throw new Error("too late; already scheduled");return e}function ox(t,e){var e=ax(t,e);if(e.state>Kb)throw new Error("too late; already running");return e}function ax(t,e){var t=t.__transition;if(!t||!(t=t[e]))throw new Error("transition not found");return t}function sx(o,a,s){var l=o.__transition,c;function t(t){s.state=Xb,s.timer.restart(u,s.delay,s.time),s.delay<=t&&u(t-s.delay)}function u(t){var e,n,r,i;if(s.state!==Xb)return d();for(e in l)if((i=l[e]).name===s.name){if(i.state===Kb)return Qb(u);i.state===tx?(i.state=nx,i.timer.stop(),i.on.call("interrupt",o,o.__data__,i.index,i.group),delete l[e]):+eJb&&r.state>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Nx(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Nx(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=_x.exec(t))?new Ex(e[1],e[2],e[3],1):(e=yx.exec(t))?new Ex(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=vx.exec(t))?Nx(e[1],e[2],e[3],e[4]):(e=mx.exec(t))?Nx(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=bx.exec(t))?Cx(e[1],e[2]/100,e[3]/100,1):(e=xx.exec(t))?Cx(e[1],e[2]/100,e[3]/100,e[4]):wx.hasOwnProperty(t)?Tx(wx[t]):"transparent"===t?new Ex(NaN,NaN,NaN,0):null}function Tx(t){return new Ex(t>>16&255,t>>8&255,255&t,1)}function Nx(t,e,n,r){return new Ex(t=r<=0?e=n=NaN:t,e,n,r)}function Ix(t){return(t=t instanceof dx?t:Ax(t))?new Ex((t=t.rgb()).r,t.g,t.b,t.opacity):new Ex}function Sx(t,e,n,r){return 1===arguments.length?Ix(t):new Ex(t,e,n,null==r?1:r)}function Ex(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function zx(){return"#"+Dx(this.r)+Dx(this.g)+Dx(this.b)}function Lx(){var t=this.opacity,t;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Dx(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Cx(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||1<=n?t=e=NaN:e<=0&&(t=NaN),new Rx(t,e,n,r)}function Ox(t){if(t instanceof Rx)return new Rx(t.h,t.s,t.l,t.opacity);if(!(t=!(t instanceof dx)?Ax(t):t))return new Rx;if(t instanceof Rx)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(ne&&(o=r.slice(e,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,l.push({i:a,x:Lw(n,i)})),e=Ow.lastIndex;return e>>1;a(e[o],n)<0?r=1+o:i=o}return r},right:function t(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;0this.values.length)throw new RangeError("dataset is too long");return BA(t=t||this.values,this.dropped_indexes,NaN)})}function dT(t){return-90<=t&&t<=90}function hT(t){return-180<=t&&t<=180}function pT(t,n,e){return t.length?e?n(t.min)&&n(t.max)?1:0:t.values.reduce(function(t,e){return t+n(e)},0)/t.length:null}function gT(t){t.method("latitudeScore",function(t){return pT(this,dT,t)}),t.method("longitudeScore",function(t){return pT(this,hT,t)})}function _T(){var t={},e=LA(t);return HA(e),lT(e),cT(e),uT(e),fT(e),gT(e),t}function yT(t){var e=-1/0;return t.every(function(t){if(e<=t)return e=t,!0})}function vT(t){var e=1/0;return t.every(function(t){if(t<=e)return e=t,!0})}function mT(t,e,r){r=r||zA;var i=1/0,o=-1/0,n=null,a=0,s=[],l=Object.freeze(e.reduce(function(t,e,n){var e=r(e);return"number"!=typeof e||isNaN(e)?s.push(n):(t.push(e),i=Math.min(i,e),o=Math.max(o,e),a+=e),t},[])),e=LA(t);return e.prop("enhanced_array",!0),e.prop("numeric_array",!0),e.prop("values",l),e.prop("min",l.length?i:null),e.prop("max",l.length?o:null),e.prop("sum",a),e.prop("mean",l.length?a/l.length:null),e.prop("range",l.length?o-i:null),e.prop("length",l.length),e.prop("dropped_indexes",Object.freeze(s)),e.method("extent",function(){return[this.min,this.max]}),e.getter("sorted_values",function(){return n||(yT(l)&&(n=l),n=vT(l)?Object.freeze(l.slice().reverse()):Object.freeze(l.slice().sort(ZA))),n}),t}var bT=_T();function xT(t,e){var n=Object.create(bT);return mT(n,t,e),n}var wT=Object.freeze(["min","max","mean"]),MT=Object.freeze(["extent","random","sample","unsorted","ascending","descending","unique","uniqueAscending","uniqueDescending","quartiles","quantiles","unclean"]);function kT(t){return"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(t.getTime())}function jT(t){return"number"!=typeof t?null:new Date(t)}function AT(e,n){return function(){var t=e[n].apply(e,arguments);return Array.isArray(t)?t.map(jT):jT(t)}}function TT(t,e,n){n=n||zA;var r=xT(e.map(function(t){var t=n(t);return kT(t)?t.getTime():null})),i=LA(t);i.prop("enhanced_array",!0),i.prop("datetime_array",!0),i.getter("values",function(){return Object.freeze(r.values.map(jT))}),i.getter("sorted_values",function(){return Object.freeze(r.sorted_values.map(jT))}),i.getter("median",function(){return jT(r.median)}),i.prop("length",r.values.length),i.prop("dropped_indexes",r.dropped_indexes),i.method("rank",function(){return r.rank(arguments)});var o=AT.bind(null,r);return wT.forEach(function(t){i.prop(t,jT(r[t]))}),MT.forEach(function(t){i.method(t,o(t))}),t}function NT(t,e){var n={};return TT(n,t,e),n}function IT(t){t.method("unsorted",function(){return this.values.slice()}),t.method("ascending",function(){return this.sorted_values.slice()}),t.method("descending",function(){return this.sorted_values.slice().reverse()}),t.method("unique",function(){return SA(this.values)}),t.method("uniqueAscending",function(){return SA(this.sorted_values)}),t.method("uniqueDescending",function(){return SA(this.sorted_values).reverse()})}function ST(t){t.method("random",function(t){return FA(this.values,t)}),t.method("sample",function(t,e,n){return YA(this.values,t,e,n)})}function ET(t){t.method("rank",function(t,e){return RA(this.values,this.sorted_values,t,e)})}function zT(t){t.method("unclean",function(t){if(t&&t.lengththis.values.length)throw new RangeError("dataset is too long");return BA(t=t||this.values,this.dropped_indexes)})}function LT(){var t={},e=LA(t);return IT(e),ST(e),ET(e),zT(e),t}function DT(t){if(t.length<2)return 1;var e=t[0];return t.every(function(t){if(e<=t)return e=t,!0})}function CT(t){if(t.length<2)return 1;var e=t[0];return t.every(function(t){if(t<=e)return e=t,!0})}function OT(t,e,r){r=r||zA;for(var n=null,i=[],o=0,a=null,s=0;null===a&&sr[1]:VT((e=i.domain())[1]-e[0])!==VT(r[1]-r[0]),n=a*(r?-1:1)),n};return["domain","range"].forEach(function(e){n[e]=function(){var t=i[e].apply(i,arguments);return t===i?n:t}}),n.copy=function(){return WT(i)},n.type=i.type,n.step=i.step,n}function $T(t){return"[object Date]"===Object.prototype.toString.call(t)}function XT(t){return $T(t)&&!isNaN(t.getTime())}function JT(t){return t.split("\n").filter(function(t){return t}).map(function(t){return t.trim()})}var KT="Input data must be an array or Flourish array";function tN(t,e){if(!t)throw new TypeError(KT);if(t.enhanced_array)return t;if(!Array.isArray(t))throw new TypeError(KT);for(var n=e||function(t){return t},r=0;r>>1;o(t[i],e)<0?n=1+i:r=i}return n}function t(t,e,n,r){for(null==n&&(n=0),null==r&&(r=t.length);n>>1;0-i(t[r],e)?r-1:r}return 1===r.length&&(i=function t(e,n){return r(e)-n},o=SN(r)),{left:a,center:e,right:t}}function SN(n){return function(t,e){return NN(n(t),e)}}function EN(t){return null===t?NaN:+t}var zN,LN=IN(NN).right,DN=IN(EN).center,CN=Math.sqrt(50),ON=Math.sqrt(10),PN=Math.sqrt(2);function RN(t,e,n){var r,i=-1,o,a,s;if(n=+n,(t=+t)===(e=+e)&&0e));)o=s[i=(i+1)%s.length];return r.reverse().join(l)}}function cI(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var uI=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i,fI;function dI(t){if(!(e=uI.exec(t)))throw new Error("invalid format: "+t);var e;return new hI({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function hI(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function pI(t){t:for(var e=t.length,n=1,r=-1,i;ne+1?t.slice(0,e+1)+"."+t.slice(e+1):t+new Array(e-t.length+2).join("0")}dI.prototype=hI.prototype,hI.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var yI={"%":function t(e,n){return(100*e).toFixed(n)},b:function t(e){return Math.round(e).toString(2)},c:function t(e){return e+""},d:oI,e:function t(e,n){return e.toExponential(n)},f:function t(e,n){return e.toFixed(n)},g:function t(e,n){return e.toPrecision(n)},o:function t(e){return Math.round(e).toString(8)},p:function t(e,n){return _I(100*e,n)},r:_I,s:gI,X:function t(e){return Math.round(e).toString(16).toUpperCase()},x:function t(e){return Math.round(e).toString(16)}};function vI(t){return t}var mI=Array.prototype.map,bI=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],xI,wI,MI;function kI(t){var w=void 0===t.grouping||void 0===t.thousands?vI:lI(mI.call(t.grouping,Number),t.thousands+""),r=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",M=void 0===t.decimal?".":t.decimal+"",k=void 0===t.numerals?vI:cI(mI.call(t.numerals,String)),o=void 0===t.percent?"%":t.percent+"",j=void 0===t.minus?"-":t.minus+"",A=void 0===t.nan?"NaN":t.nan+"";function a(t){var c=(t=dI(t)).fill,u=t.align,f=t.sign,e=t.symbol,d=t.zero,h=t.width,p=t.comma,g=t.precision,_=t.trim,y=t.type;"n"===y?(p=!0,y="g"):yI[y]||(void 0===g&&(g=12),_=!0,y="g"),(d||"0"===c&&"="===u)&&(d=!0,c="0",u="=");var v="$"===e?r:"#"===e&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",m="$"===e?i:/[%p]/.test(y)?o:"",b=yI[y],x=/[defgprs%]/.test(y);function n(t){var e=v,n=m,r,i,o;if("c"===y)n=b(t)+n,t="";else{var a=(t=+t)<0||1/t<0;if(t=isNaN(t)?A:b(Math.abs(t),g),_&&(t=pI(t)),e=((a=a&&0==+t&&"+"!==f?!1:a)?"("===f?f:j:"-"===f||"("===f?"":f)+e,n=("s"===y?bI[8+fI/3]:"")+n+(a&&"("===f?")":""),x)for(r=-1,i=t.length;++r>1)+e+t+n+l.slice(s);break;default:t=l+e+t+n}return k(t)}return g=void 0===g?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),n.toString=function(){return t+""},n}function e(t,e){var n=a(((t=dI(t)).type="f",t)),e=3*Math.max(-8,Math.min(8,Math.floor(sI(e)/3))),r=Math.pow(10,-e),i=bI[8+e/3];return function(t){return n(r*t)+i}}return{format:a,formatPrefix:e}}function jI(t){return xI=kI(t),wI=xI.format,MI=xI.formatPrefix,xI}function AI(t){return Math.max(0,-sI(Math.abs(t)))}function TI(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(sI(e)/3)))-sI(Math.abs(t)))}function NI(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,sI(e)-sI(t))+1}function II(t,e,n,r){var i=FN(t,e,n),o;switch((r=dI(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(o=TI(i,a))||(r.precision=o),MI(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=NI(i,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=AI(i))||(r.precision=o-2*("%"===r.type))}return wI(r)}function SI(c){var u=c.domain;return c.ticks=function(t){var e=u();return RN(e[0],e[e.length-1],null==t?10:t)},c.tickFormat=function(t,e){var n=u();return II(n[0],n[n.length-1],null==t?10:t,e)},c.nice=function(t){null==t&&(t=10);var e=u(),n=0,r=e.length-1,i=e[n],o=e[r],a,s,l=10;for(on[1])return 0}for(var n=[e,p],o,a,s=[n,[e+t.box_width_right,p+t.box_height_right]],l=[n,[e-t.box_width_left,p+t.box_height_left]],c=0;cn[1])return 0}for(var n=[e,h],o,a,s=[n,[e-t.box_width_left,h-t.box_height_left]],l=[n,[e+t.box_width_right,h-t.box_height_right]],c=0;c=l.y_anchor){if(QT(o,l.q))return 0}else if(QT(l.p,a))return 0}return T.push({y_anchor:e,p:o,q:a}),1}),T,N;p.each(function(){var t=ab(this);t.select("line").style("stroke",a).style("stroke-width",s).transition().duration(r).attr("x2",-v),t.select("text").each(function(){var t=ab(this).selectAll("tspan").data(function(t){return t.lines});t.merge(t.enter().append("tspan")).attr("x",0).attr("dy",function(t,e){return e?D.tick_label_line_height+"em":0}).text(function(t){return t}),t.exit().remove()}).style("fill",l).style("font-size",m+"px").style("font-weight",D.tick_label_weight).attr("text-anchor",j).transition().duration(r).style("opacity",A).attr("transform",M)});var e=L.selectAll("text").data(e&&y?[y]:[]);e.exit().remove();var y=function t(){if("side"===D.title_position)return BT(h,w)+" "+HT(-90)+" "+BT(0,-x);var e=h-I.margins._calculated().left,n,r=["top","float-above"].includes(S.x.axis_position),i=RT(D.title_padding),o,r,a,s,o,a,l;return BT(e,o=r?(r=u[0].box_height_below,a=RT(.66*D.title_size),f+(r+i+a)):(a=u[u.length-1].box_height_above,d-(a+i)))};return e.enter().append("text").attr("text-anchor","side"===D.title_position?"middle":"start").style("font-size",g+"px").style("fill",D.title_color).style("font-weight",D.title_weight).call(IS).transition().duration(0).delay(r).text(function(t){return t}).attr("transform",y),e.text(function(t){return t}).attr("text-anchor","side"===D.title_position?"middle":"start").style("fill",D.title_color).style("font-size",g+"px").style("font-weight",D.title_weight).transition().duration(r).attr("transform",y),C=n,O=c,P=f,R=d,U=h,t}}function LS(N,I){var t=N.chart.select("g.fl-right-axis"),S=t.select("g.fl-axis-line"),E=t.select("g.fl-axis-ticks"),z=t.select("g.fl-axis-title"),L=I.y2,D,C,O,P,R;return function(){var t={},e=L.axis_visible&&!N.y2Hide(),n=WT(N.xScale()),c=WT(N.y2Scale()),u=e?N.y2Ticks():[],r=D?N.animationDuration():0;D=D||n;var i=(C=C||c).type===c.type&&"ordinal"!==c.type?C:c,o=C.type===c.type&&"ordinal"!==C.type?c:C,f=N.y_bottom,d=N.y_top;void 0===O&&(O=f),void 0===P&&(P=d);var h=N.x_right;void 0===R&&(R=h);var a=L.line_and_tick_color,s=RT(L.line_and_tick_width,!0),l=L.tick_label_color,p="default"===L.tick_label_position,g="out"===L.tick_side,_=RT(L.tick_padding),y=N.y2Ticks().max_box_width+_,v=p?RT(L.tick_length)*(g?1:-1):y,m=RT(L.tick_label_size),b=(g&&p?v:0)+_,x=N.y2Title(),y=RT(L.title_size),w=b+u.max_box_width+RT(L.title_padding)+.85*y;t.extended_gridline=h+b+u.max_box_width;var M=(f+d)/2,g=S.selectAll("line").data(e&&L.line_visible?[c.domain()]:[]);g.exit().style("stroke",a).style("stroke-width",s).transition().duration(r).attr("x1",h).attr("x2",h).attr("y1",f).attr("y2",d).style("opacity",0).remove();var p=g.enter().append("line").style("shape-rendering","crispEdges").style("stroke-linecap","square").style("stroke-width",s).attr("x1",R).attr("x2",R).attr("y1",O).attr("y2",P).style("opacity",0);g.merge(p).style("stroke",a).style("stroke-width",s).transition().duration(r).attr("x1",h).attr("x2",h).attr("y1",f).attr("y2",d).style("opacity",1);var _="numeric"===u.type?u.slice().sort(NS):u;function k(t){var e,n;if("default"!==L.tick_label_position)return BT(b+(u.max_box_width-t.box_width),("above"===L.tick_label_position?-.3:1)*m);var r=-L.tick_label_angle;if(0==r)return BT(b,.33*m-t.multiline_offset);var i=BT(b,0)+" "+HT(r);return-90==r&&(i+=" "+BT(t.text_width/2,0)),i}var g=E.selectAll("g").data(_,function(t){return t.type+"-"+t.value}),p=g.exit();p.transition().duration(r).attr("transform",function(t){return BT(h,o(t.value))}).style("opacity",0).remove(),p.each(function(){var t=ab(this);t.select("line").style("stroke",a).style("stroke-width",s).transition().duration(r).attr("x2",-v),t.select("text").style("fill",l).style("font-size",m+"px").style("font-weight",L.tick_label_weight).attr("transform",k).transition().duration(r)});var _=g.enter().append("g").style("opacity",0);_.attr("transform",function(t){return BT(R,i(t.value))});var p=SS();_.each(function(){var t=ab(this);t.append("line").attr("x2",v),t.append("text").attr("transform",k).call(IS)});var _=g.merge(_);_.transition().duration(r).style("opacity",1).attr("transform",function(t){return BT(h,c(t.value))}).attr("text-anchor","rtl"===p?"end":"start");var j=(A=[],T=h+b,function(t){for(var e=c(t.value),n=[T,e],r,i,o=[n,[T-t.box_width_above,e-t.box_height_above]],a=[n,[T-t.box_width_below,e+t.box_height_below]],s=0;s=l.y_anchor){if(QT(o,l.q))return 0}else if(QT(l.p,a))return 0}return A.push({y_anchor:e,p:o,q:a}),1}),A,T;_.each(function(){var t=ab(this);t.select("line").style("stroke",a).style("stroke-width",s).transition().duration(r).attr("x2",v),t.select("text").each(function(){var t=ab(this).selectAll("tspan").data(function(t){return t.lines});t.merge(t.enter().append("tspan")).attr("x",0).attr("dy",function(t,e){return e?L.tick_label_line_height+"em":0}).text(function(t){return t}),t.exit().remove()}).style("fill",l).style("font-size",m+"px").style("font-weight",L.tick_label_weight).transition().duration(r).style("opacity",j).attr("transform",k)});var e=z.selectAll("text").data(e&&x?[x]:[]);e.exit().remove();var x=function t(){if("side"===L.title_position)return BT(h,M)+" "+HT(-90)+" "+BT(0,w);var e=h+N.margins._calculated().right,n,r=["top","float-above"].includes(I.x.axis_position),i=RT(L.title_padding),o,r,a,s,o,a,l;return BT(e,o=r?(r=u[0].box_height_below,a=RT(.66*L.title_size),f+(r+i+a)):(a=u[u.length-1].box_height_above,d-(a+i)))};return e.enter().append("text").attr("text-anchor","side"===L.title_position?"middle":"end").style("font-size",y+"px").style("fill",L.title_color).style("font-weight",L.title_weight).call(IS).transition().duration(0).delay(r).text(function(t){return t}).attr("transform",x),e.text(function(t){return t}).attr("text-anchor","side"===L.title_position?"middle":"end").style("fill",L.title_color).style("font-size",y+"px").style("font-weight",L.title_weight).transition().duration(r).attr("transform",x),D=n,C=c,O=f,P=d,R=h,t}}function DS(t,e){var r=ES(t,e),i=zS(t,e),o=LS(t,e);return function(){var t,e,n;return{x:r(),y:i(),y2:o()}}}var CS={solid:null,dash:[4,1],dot:[1,1],dot_dash:[4,1,1,1]};function OS(t){if("solid"===t)return null;var e=RT(1)/4;return CS[t].map(function(t){return t*e}).join(" ")}function PS(x,w){var M=w.x,k=w.y,j=w.y2,A=x.chart.select("g.fl-gridlines-vertical"),T=x.chart.select("g.fl-gridlines-horizontal"),N,I,S,E,z,L,D;return function(r){var e=WT(x.xScale()),n=WT(x.yScale()),i=WT(x.y2Scale()),t=x.x_left,o=x.x_right;void 0===E&&(E=t),void 0===z&&(z=o);var a=x.y_bottom,s=x.y_top;void 0===L&&(L=a),void 0===D&&(D=s),I=I||n,S=S||i;var l=(N=N||e).type===e.type&&"ordinal"!==e.type?N:e,c=N.type===e.type&&"ordinal"!==N.type?e:N,u=I.type===n.type&&"ordinal"!==n.type?I:n,f=I.type===n.type&&"ordinal"!==I.type?n:I,d=S.type===i.type&&"ordinal"!==S.type?S:i,h=S.type===i.type&&"ordinal"!==S.type?i:S,p=N?x.animationDuration():0,g=function t(e){if("x"===e&&"off"===w.x.axis_position)return[];if("x"!==e&&!w[e].axis_visible)return[];if(!w[e].gridlines_visible)return[];var n=x[e+"Hide"]();return n&&!n.keep_gridlines?[]:x[e+"Ticks"]()},_=g("x"),y=g("y"),g=g("y2"),_=_.map(function(t){return{type:t.type,value:t.value,dasharray:OS(M.gridline_style),stroke:M.gridline_color,width:RT(M.gridline_width,!0),x_enter:l(t.value),x:e(t.value)}}),v;M.gridline_category_dividers&&e.step&&(v=e.step(),_.pop(),_.forEach(function(t){var e,n;t.x_enter+=v/2,t.x+=v/2,M.gridline_category_dividers_extend&&(e=r.x&&"top"==r.x.pos,n=r.x&&"bottom"==r.x.pos,e?t.y2=r.x.extended_gridline:n&&(t.y1=r.x.extended_gridline))}));var y=y.map(function(t){return{axis:"y",type:t.type,value:t.value,dasharray:OS(k.gridline_style),stroke:k.gridline_color,width:RT(k.gridline_width,!0),y_enter:u(t.value),y:n(t.value)}}),m;k.gridline_category_dividers&&n.step&&(m=n.step(),y.pop(),y.forEach(function(t){t.y_enter-=m/2,t.y-=m/2,k.gridline_category_dividers_extend&&(t.x1=r.y.extended_gridline)}));var g=g.map(function(t){return{axis:"y2",type:t.type,value:t.value,dasharray:OS(j.gridline_style),stroke:j.gridline_color,width:RT(j.gridline_width),y_enter:d(t.value),y:i(t.value)}}),b;j.gridline_category_dividers&&i.step&&(b=i.step(),g.pop(),g.forEach(function(t){t.y_enter-=b/2,t.y-=b/2,j.gridline_category_dividers_extend&&(t.x2=r.y2.extended_gridline)}));var y=y.concat(g),g=A.selectAll("line").data(_,function(t){return t.type+"-"+t.value});g.exit().attr("stroke-dasharray",function(t){return t.dasharray}).style("stroke",function(t){return t.stroke}).style("stroke-width",function(t){return t.width}).transition().duration(p).attr("x1",function(t){return c(t.value)}).attr("x2",function(t){return c(t.value)}).attr("y1",a).attr("y2",s).style("opacity",0).remove();var _=g.enter().append("line").style("shape-rendering","crispEdges").attr("x1",function(t){return t.x_enter}).attr("x2",function(t){return t.x_enter}).attr("y1",L).attr("y2",D).style("opacity",0);g.merge(_).attr("stroke-dasharray",function(t){return t.dasharray}).style("stroke",function(t){return t.stroke}).style("stroke-width",function(t){return t.width}).transition().duration(p).attr("x1",function(t){return t.x}).attr("x2",function(t){return t.x}).attr("y1",a).attr("y2",s).style("opacity",1);var s=T.selectAll("line").data(y,function(t){return t.axis+"-"+t.type+"-"+t.value});s.exit().attr("stroke-dasharray",function(t){return t.dasharray}).style("stroke",function(t){return t.stroke}).style("stroke-width",function(t){return t.width}).transition().duration(p).attr("x1",t).attr("x2",o).attr("y1",function(t){return("y"===t.axis?f:h)(t.value)}).attr("y2",function(t){return("y"===t.axis?f:h)(t.value)}).style("opacity",0).remove();var y=s.enter().append("line").style("shape-rendering","crispEdges").attr("x1",E).attr("x2",z).attr("y1",function(t){return t.y_enter}).attr("y2",function(t){return t.y_enter}).style("opacity",0);s.merge(y).attr("stroke-dasharray",function(t){return t.dasharray}).style("stroke",function(t){return t.stroke}).style("stroke-width",function(t){return t.width}).transition().duration(p).attr("x1",t).attr("x2",o).attr("y1",function(t){return t.y}).attr("y2",function(t){return t.y}).style("opacity",1),N=e,I=n,S=i,E=t,z=o}}function RS(n,t){var e=function t(){var e=null;(n.offsetLeft()||n.offsetTop())&&(e="translate("+n.offsetLeft()+","+n.offsetTop()+")"),n.chart.attr("transform",e)},r=wS(n),i=jS(n,t),o=function t(e){n.margins._update(e)},a=AS(n,t),s=TS(n,t),l=DS(n,t),c=PS(n,t);return function(t){if(t=t||{},FT(),e(),r(),i(),o(t.margins),t.skip_rendering)return n;a(),s();var t=l();return c(t),n}}function US(t,e){e=av(e);var n={},t=lb(t);Object.defineProperty(n,"svg",{get:t.getSvg}),n.container=t.container,n.chart=hb(n),n.data_background=n.chart.select("g.fl-data-background"),n.data_foreground=n.chart.select("g.fl-data-foreground"),n.identifier=gb(n),n.debug=_b(n),n.debugColor=yb(n),n.clip=bb(n),n.animationDuration=pk(n);var t=TA(n);return n.width=t.width,n.height=t.height,n.plotAspect=t.plotAspect,Object.defineProperty(n,"plot_width",{get:t.plotWidth}),Object.defineProperty(n,"plot_height",{get:t.plotHeight}),Object.defineProperty(n,"x_left",{get:t.xLeft}),Object.defineProperty(n,"x_right",{get:t.xRight}),Object.defineProperty(n,"y_bottom",{get:t.yBottom}),Object.defineProperty(n,"y_top",{get:t.yTop}),n.offsetLeft=NA(n),n.offsetTop=IA(n),n.margins=TN(n,e),n.xData=eN(n),n.yData=eN(n),n.y2Data=eN(n),n.xFormat=_k(n),n.yFormat=_k(n),n.y2Format=_k(n),n.xNumberParse=jA(n),n.yNumberParse=jA(n),n.y2NumberParse=jA(n),n.xDatetimeParse=AA(n),n.yDatetimeParse=AA(n),n.y2DatetimeParse=AA(n),n.xTitle=_N(n,e),n.yTitle=yN(n,e),n.y2Title=vN(n,e),n.xTicks=sN(n,e),n.yTicks=cN(n,e),n.y2Ticks=uN(n,e),n.xAutoTicks=dN(n),n.yAutoTicks=hN(n),n.y2AutoTicks=pN(n),n.xScale=cS(n,e),n.yScale=hS(n,e),n.y2Scale=yS(n,e),n.xPadding=sS(n),n.yPadding=fS(n),n.y2Padding=gS(n),n.xMinStep=uS(n),n.yMinStep=pS(n),n.y2MinStep=vS(n),n.xFlipAxis=bS(n),n.yFlipAxis=bS(n),n.y2FlipAxis=bS(n),n.xZeroAxis=mS(n),n.yZeroAxis=mS(n),n.y2ZeroAxis=mS(n),n.xHide=xS(n),n.yHide=xS(n),n.y2Hide=xS(n),n.y2Hide(!0),n.update=RS(n,e),n}var FS={height_mode:"auto",facet_layout:"single",facet_aspect:1,facet_aspect_mobile:1,facet_aspect_breakpoint:500,facet_by_series:null,facet_min_w:100,facet_fixed_cols:!1,facet_cols:2,facet_gutter_w:1.5,facet_gutter_h:1.5,facet_header_color_mode:"auto",facet_header_color:null,facet_header_font_size:1.25,facet_header_padding:.25,facet_header_bg:"none",facet_header_bg_mode:"fixed",facet_header_bg_color:"#eeeeee",facet_title_align:"auto",chart_type:"line",dual_axis:!0,secondary_series:1,sort_mode:"data",series_filter_mode:"none",series_control_single:{button_group_width_mode:"auto"},series_control_single_all:!1,series_control_single_all_text:"All",series_filter:[],series_control_multi_text:"Enter series to show",series_control_multi_none_text:"No more series to show",series_control_select_text:"Press to select",max_series:50,series_control_background:null,series_control_border:"#eeeeee",series_control_text:null,series_control_pill_background:"#333333",series_control_pill_text:"#ffffff",series_control_pill_radius:20,row_filter:[],row_filter_control:{button_group_width_mode:"auto"},row_filter_control_all:!1,row_filter_control_all_text:"All",label_filter:[],controls_style:{},controls_position:"row_series_log",dropdown_style:{},button_style:{},log_control_y_visible:!1,log_control_y_text_linear:"Linear",log_control_y_text_log:"Log",log_control_y:{control_type:"buttons",button_group_width_fixed:10},popup:{},popup_series_text:"",popup_color_headers:!0,highlighted:null,current_series:0,color_mode:"column",color:{},bg_color_style:"none",bg_color:"#f7f7f7",legend_container:{},legend_mode:"auto",legend_categorical:{title_mode:"custom",max_width:100},legend_position:"above",legend_filter_mode:"filter-out",text_legend:"off",text_legend_title:!0,text_legend_subtitle:!0,text_legend_bold:!0,labels:!1,labels_hide_overlaps:!0,labels_font_size_mode:"auto",labels_font_size:.9,labels_bg_mode:"on",labels_bg_size:30,labels_font_weight:600,labels_color_mode:"auto",labels_fixed_color:null,labels_content:"auto",labels_dot_center:!1,labels_bar_autohide:!0,labels_bar_align:"right",labels_column_align:"top",labels_column_padding:.3,stack_labels:!1,stack_labels_font_size:.9,stack_labels_color:null,stack_labels_weight:600,line_width:.2,line_opacity:1,line_curve:"curveMonotoneX",line_interpolate:!0,line_end_labels:!1,line_labels:{},line_dash_items:"",line_dash_width:5,line_dash_space_width:2,area_opacity:.7,shade_between_lines:!1,shade_between_lines_config:"",shade_between_lines_color:"#aaaaaa",shade_between_lines_opacity:"0.3",donut_inner_radius:30,donut_pad_angle:.5,donut_corner_radius:0,donut_auto_scale:!1,column_opacity:.9,column_padding_inner:25,column_padding_in_group:15,column_padding_stack:.5,bar_height:1,uniform_bar_height:!1,uniform_column_width:!1,dot_mode:"auto",dot_mode_auto_max:250,dot_radius:.25,dot_radius_last:100,dot_opacity:1,dot_hollow:!1,data_trans_duration:800,data_trans_delay:0,data_trans_stagger:0,data_trans_bind_series:!0,data_trans_bind_data_points:!0,animate_on_load:!0,label_data_type:"auto",facets:{min_width:100,gutter_w:1.5,gutter_h:1.5},x:{title_mode:"custom"},x_axis_matching:!0,x_axis_date_format:"auto",x_axis_last_row_only:!0,y:{title_mode:"custom"},y_axis_matching:!0,y_axis_first_col_only:!0,bar_labels_above:!0,bar_labels_color:null,bar_labels_font_size:.9,bar_labels_weight:400,y2:{axis_visible:!0,gridlines_visible:!1,title_mode:"custom"},y2_axis_matching:!0,y2_axis_last_col_only:!0,chart_bg:{},annotations:{},axes_highlights:{},layout:{},localization:{},number_format:{},number_format_secondary:{},number_format_prop:!0,url_state:{},datetime_input_format:"auto"};function YS(){var t;BS($y(QJ.getSection("primary")).append("svg").attr("id","graphic").append("g").attr("class","facets").node()).chart.remove()}function BS(t){var e;return US(t,{x:FS.x,y:FS.y,y2:FS.y2,background:FS.chart_bg})}var HS=25,ZS=5,qS=10,GS=10,QS={},VS,WS;function $S(t,e,n,r,i,o,a){var s,l=n+t/2+10,i=t/2+Math.min(0,n-t/2-10-i.left)+Math.max(0,l-i.right),o,o=i-10<5?[-i,-15*o,Math.max(10,5-i),-10*o]:t-5o.right&&(r=o.right),io.bottom&&(i=o.bottom);var a=r-n.left,s=i-n.top,l=e._getElement(),c=l.style,u=l.querySelector(".flourish-popup-svg"),f=u.querySelector("g"),n=f.querySelector("rect"),f=f.querySelector("path"),d=l.querySelector(".flourish-popup-content");c.display="block",d.style.maxWidth=t(o)+"px",e._inner_html!=e._html&&(d.innerHTML=e._inner_html=e._html);for(var h=d.getBoundingClientRect(),p,g;p=Math.ceil(h.width),g=Math.ceil(h.height),c.width=p+2*HS+"px",c.height=g+2*HS+"px",h=d.getBoundingClientRect(),p!=Math.ceil(h.width)||g!=Math.ceil(h.height););n.setAttribute("width",p),n.setAttribute("height",g),u.setAttribute("width",p+2*HS),u.setAttribute("height",g+2*HS);for(var _=HS-10,y=null,v=null,m=null,b=1/0,x=1/0,w,M,k=0;k]/g,function(t){return{"&":"&","<":"<",">":">"}[t]})}function fE(){return new lE}lE.prototype.point=function(t,e){return void 0===t?this._point:(Array.isArray(t)?this._point=[t[0],t[1]]:void 0!==e?this._point=[t,e]:t instanceof HTMLElement||t instanceof SVGElement?(t=t.getBoundingClientRect(),this._point=[Math.floor(t.left+t.width/2),Math.floor(t.top+t.height/2)]):console.error("Popup: could not understand argument"),this);var t},lE.prototype.directions=function(t){return void 0===t?this._directions:(this._directions=(t="string"==typeof t?[t]:t).slice(),this)},lE.prototype.text=function t(e){return this._html=uE(e),this},lE.prototype.on=function t(e,n){if(!(e in this.handlers))throw new Error("Popup.on: No such event: "+e);return this.handlers[e].push(n),this},lE.prototype.fire=function t(e,n){if(!(e in this.handlers))throw new Error("Popup.fire: No such event: "+e);for(var r=this.handlers[e],i=0;i";if(this._state.is_custom||this._default_template)!this._state.is_custom&&this._default_template?n+=this._default_template.replace(/\{\{((?:[^}]|\}[^}])*)\}\}/g,function(t,n){var r;if(Array.isArray(o._column_names[n])){var e=o._column_names[n];if(0==e.length)return"";r="
    ",e.forEach(function(t,e){r+="
  • "+t+": "+i[n][e]+"
  • "}),r+="
"}else r=i[n];return void 0!==r?hE(r):""}):n+=this._state.custom_template.replace(/\{\{((?:[^}]|\}[^}])*)\}\}/g,function(t,n){var r;return Object.keys(o._column_names).some(function(t){if(Array.isArray(o._column_names[t])){var e=o._column_names[t].indexOf(n);if(0<=e)return r=i[t][e],!0}else if(o._column_names[t]==n)return r=i[t],!0}),void 0!==r?hE(r):""});else{i[this._title_binding]&&(n+="

"+i[this._title_binding]+"

");var e={},r,a;for(r in this._column_names){if(r!=this._title_binding)if("metadata"==r){if(!Array.isArray(i.metadata))return;for(var s=0;s"+a+": "+hE(i.metadata[s])+"")}else a=this._column_names[r],Array.isArray(a)?a.forEach(function(t,e){n+="

"+t+": "+hE(i[r][e])+"

"}):e[a]||(e[a]=!0,n+="

"+a+": "+hE(i[r])+"

")}n+=""}return this.popup.html(n).draw(),t&&t(this.popup._getElement()),this}},gE.prototype.directions=function(t){return this.popup.directions(t),this},gE.prototype.container=function(t){return this.popup.container(t),this};var xE={"-":"",_:" ",0:"0"},wE=/^\s*\d+/,ME=/^%/,kE=/[\\^$*+?|[\]().{}]/g,jE,AE,TE,NE,IE;function SE(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",t=i.length;return r+(tf?o=!0:-1===i.indexOf(s)&&(i.push(s),i.length>d&&(o=!0)),o))break}return o||t.push({interp:e,n_success:u-r,index:n}),t},[]).sort(n).map(function(t){return t.interp});return i&&n.push(Xz),n};return eL.forEach(function(e){n[oL(e)]=function(t){return void 0===t?o[e]:(o[e]=t,n)}}),n}function fL(){(iL=document.createElement("style")).id="flourish-page-styles",iL.type="text/css",document.head.appendChild(iL)}function dL(){var t,r="";["mobile_small","mobile_big","tablet","desktop","big_screen"].forEach(function(t,e){var n="@media(min-width: "+ZL["breakpoint_"+t]+"px) {\n",t="html { font-size:"+ZL["font_size_"+t]+"%; }";r+=(0==e?"":n)+t+(0==e?"":"\n}")+"\n\n"}),iL.innerHTML=r;var e=[ZL.body_font,ZL.title_font,ZL.subtitle_font,ZL.footer_font];e.forEach(function(t){if(t){for(var e=!1,n=document.head.querySelectorAll("link.layout-font"),r=0,i,o;r

"+ZL.footer_note_secondary+"

":"",wL.innerHTML=t,ML.src=DL(),ML.style.height=ZL.footer_logo_height+"rem",ML.style.marginLeft="right"==ZL.footer_logo_order?ZL.footer_logo_margin+"rem":"",ML.style.marginRight="left"==ZL.footer_logo_order?ZL.footer_logo_margin+"rem":"",ML.style.verticalAlign=ZL.footer_align_vertical,ML.style.display=CL()?"":"none",kL.href=""==ZL.footer_logo_link_url?"":SL(ZL.footer_logo_link_url),kL.style.cursor=""==ZL.footer_logo_link_url?"default":"pointer"}function PL(t){t||dL(),TL(),OL(),RL();var e=VL.wrapper.style;e.height="100vh",e.color=ZL.font_color,e.maxWidth="wrapper"==ZL.max_width_target?ZL.max_width+"px":"",e.marginLeft="wrapper"==ZL.max_width_target&&"left"!=ZL.max_width_align?"auto":"",e.marginRight="wrapper"==ZL.max_width_target&&"right"!=ZL.max_width_align?"auto":"",e.padding=ZL.margin_top+"rem "+ZL.margin_right+"rem "+ZL.margin_bottom+"rem "+ZL.margin_left+"rem",e.borderTop=ZL.border.enabled?ZL.border.top.width+"px "+ZL.border.top.style+" "+ZL.border.top.color:"",e.borderRight=ZL.border.enabled?ZL.border.right.width+"px "+ZL.border.right.style+" "+ZL.border.right.color:"",e.borderBottom=ZL.border.enabled?ZL.border.bottom.width+"px "+ZL.border.bottom.style+" "+ZL.border.bottom.color:"",e.borderLeft=ZL.border.enabled?ZL.border.left.width+"px "+ZL.border.left.style+" "+ZL.border.left.color:"";var n=VL.primary.outer.style,t=VL.legend.outer.style,e=parseFloat(n.order)>parseFloat(t.order)?"above":"below";hL[ZL.layout_order].forEach(function(t,e){VL[t].outer.style.order=10*e}),n.flex="1 1 auto",n.height=null,gD(e),t.textAlign=ZL.header_align,VL.controls.outer.style.textAlign=ZL.header_align,VL.primary.outer.style.maxWidth="primary"==ZL.max_width_target?ZL.max_width+"px":"",VL.primary.outer.style.marginLeft="primary"==ZL.max_width_target&&"left"!=ZL.max_width_align?"auto":"",VL.primary.outer.style.marginRight="primary"==ZL.max_width_target&&"right"!=ZL.max_width_align?"auto":"";var t=ZL.screenreader_hide_primary&&""!=ZL.screenreader_text_primary,r,i;document.getElementById("fl-layout-primary-description").innerText=ZL.screenreader_hide_primary?ZL.screenreader_text_primary:"",t?VL.primary.outer.setAttribute("aria-describedBy","fl-layout-primary-description"):VL.primary.outer.removeAttribute("aria-describedBy"),ZL.screenreader_hide_primary?VL.primary.inner.setAttribute("aria-hidden",!0):VL.primary.inner.removeAttribute("aria-hidden");var i,o=(i="custom"==ZL.space_between_sections?ZL.space_between_sections_custom:ZL.space_between_sections)/2+"rem";GL.map(function(t){var e=VL[t],n=e.outer.style,r;return{name:t,height:$L(e.inner),order:parseFloat(n.order),style:n}}).sort(function(t,e){return t.order-e.order}).filter(function(t){return!!t.height||(t.style.paddingBottom="",void(t.style.paddingTop=""))}).forEach(function(t,e,n){t.style.paddingTop=e?o:"",t.style.paddingBottom=e=d.length)return null!=h&&t.sort(h),null!=p?p(t):t;for(var e=-1,o=t.length,a=d[n++],s,l,c=lC(),u,f=r();++ed.length)return t;var r,i=o[n-1];return null!=p&&n>=d.length?r=t.entries():(r=[],t.each(function(t,e){r.push({key:e,values:a(t,n)})})),null!=i?r.sort(function(t,e){return i(t.key,e.key)}):r}return n={object:function t(e){return g(e,0,uC,fC)},map:function t(e){return g(e,0,dC,hC)},entries:function t(e){return a(g(e,0,dC,hC),0)},key:function t(e){return d.push(e),n},sortKeys:function t(e){return o[d.length-1]=e,n},sortValues:function t(e){return h=e,n},rollup:function t(e){return p=e,n}}}function uC(){return{}}function fC(t,e,n){t[e]=n}function dC(){return lC()}function hC(t,e,n){t.set(e,n)}function pC(){}sC.prototype=lC.prototype={constructor:sC,has:function t(e){return aC+e in this},get:function t(e){return this[aC+e]},set:function t(e,n){return this[aC+e]=n,this},remove:function t(e){var e=aC+e;return e in this&&delete this[e]},clear:function t(){for(var e in this)e[0]===aC&&delete this[e]},keys:function t(){var t=[],e;for(e in this)e[0]===aC&&t.push(e.slice(1));return t},values:function t(){var t=[],e;for(e in this)e[0]===aC&&t.push(this[e]);return t},entries:function t(){var t=[],e;for(e in this)e[0]===aC&&t.push({key:e.slice(1),value:this[e]});return t},size:function t(){var t=0,e;for(e in this)e[0]===aC&&++t;return t},empty:function t(){for(var e in this)if(e[0]===aC)return!1;return!0},each:function t(e){for(var n in this)n[0]===aC&&e(this[n],n.slice(1),this)}};var ot=lC.prototype;function gC(t,e){var n=new pC;if(t instanceof pC)t.each(function(t){n.add(t)});else if(t){var r=-1,i=t.length;if(null==e)for(;++rwindow.innerWidth&&f.style("right",0)},d=function t(){l.classed("open",!1),f.style("right",null),f.style("max-height",null),f.style("display","none")},n=function t(){(l.classed("open")?d:e)()};t.on("click",function(){n()});var h=function t(){if(l.classed("open")){for(var e=event.target,n=e.parentElement;n;){if(e===c)return;n=(e=n).parentElement}d()}},p=function t(e){var n="100%";"auto"==o.dropdown_width_mode?n=Math.min(e+40,$C(20))+"px":"fixed"==o.dropdown_width_mode&&(n=$C(o.dropdown_width_fixed)+"px"),r.style.width="full"==o.dropdown_width_mode?n:"",l.style("width",n).style("display","full"!==o.dropdown_width_mode?"inline-table":null),l.select(".main").style("width",n)},g=function t(){d(),l.style("display","none")};return a.appendedToDOM=function(t){return t&&(s=t),document.querySelector("body").addEventListener("click",h,!1),a},a.removedFromDOM=function(){return document.querySelector("body").removeEventListener("click",h),a},a.show=p,a.hide=g,a.update=function(t){f.text("");var e=window.getComputedStyle(l.node()).fontSize;if(!i.n_options||"dropdown"!==o.control_type)return g(),a;var n="";f.text("").selectAll(".list-item").data(t).enter().append("div").attr("class","list-item").text(function(t){return t.display.length>n.length&&(n=t.display),t.display}).on("click",function(t){d();var e=t.options_index;e!==i.index()&&(i.index(e),u.text(t.display).attr("title",t.display),i.trigger("change"))});var e=VC(n,e+" sans-serif"),r,t=t[i.getSortedIndex()].display;return u.text(t).attr("title",t),p(e),a},a}function tO(i,o,t){var a={},s=$y(t).append("div").attr("class","fl-control fl-control-buttons"),l=function t(){s.classed("hidden",!1)},c=function t(){s.classed("hidden",!0)};return a.show=l,a.hide=c,a.update=function(t){if(!i.n_options||"buttons"!==o.control_type)return c(),a;var e=i.index();s.classed("grouped",o.button_group),s.classed("fixed-width","fixed"==o.button_group_width_mode||"full"==o.button_group_width_mode),s.style("width",o.button_group&&"fixed"==o.button_group_width_mode?$C(o.button_group_width_fixed)+"px":"full"==o.button_group_width_mode?"100%":null);var n=function t(e){var e=e.options_index;e!==i.index()&&(i.index(e),i.trigger("change"))},r=s.selectAll(".button").data(t,function(t){return t.display}),t=r.enter().append("div").attr("class","button").style("cursor","pointer").attr("role","button").attr("tabindex",0).on("click",function(t){n(t)}).on("keyup",function(t){"Space"!==Cy.code&&"Enter"!==Cy.code||(Cy.preventDefault(),n(t))});t.append("span").text(function(t){return t.display}),l(),r.merge(t).classed("selected",function(t){return t.options_index===e}).attr("aria-pressed",function(t){return t.options_index===e}),r.exit().remove(),l()},a}var eO=Array.prototype.slice;function nO(t){return t}var rO=1,iO=2,oO=3,aO=4,sO=1e-6;function lO(t){return"translate("+(t+.5)+",0)"}function cO(t){return"translate(0,"+(t+.5)+")"}function uO(e){return function(t){return+e(t)}}function fO(e){var n=Math.max(0,e.bandwidth()-1)/2;return e.round()&&(n=Math.round(n)),function(t){return+e(t)+n}}function dO(){return!this.__axis}function hO(h,p){var g=[],_=null,y=null,v=6,m=6,b=3,x=h===rO||h===aO?-1:1,w=h===aO||h===iO?"x":"y",M=h===rO||h===oO?lO:cO;function e(t){var e=null==_?p.ticks?p.ticks.apply(p,g):p.domain():_,n=null==y?p.tickFormat?p.tickFormat.apply(p,g):nO:y,r=Math.max(v,0)+b,i=p.range(),o=+i[0]+.5,a=+i[i.length-1]+.5,s=(p.bandwidth?fO:uO)(p.copy()),l=t.selection?t.selection():t,c=l.selectAll(".domain").data([null]),u,f=(u=l.selectAll(".tick").data(e,p).order()).exit(),d=u.enter().append("g").attr("class","tick"),i=u.select("line"),e=u.select("text"),c=c.merge(c.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),u=u.merge(d),i=i.merge(d.append("line").attr("stroke","currentColor").attr(w+"2",x*v)),e=e.merge(d.append("text").attr("fill","currentColor").attr(w,x*r).attr("dy",h===rO?"0em":h===oO?"0.71em":"0.32em"));t!==l&&(c=c.transition(t),u=u.transition(t),i=i.transition(t),e=e.transition(t),f=f.transition(t).attr("opacity",sO).attr("transform",function(t){return isFinite(t=s(t))?M(t):this.getAttribute("transform")}),d.attr("opacity",sO).attr("transform",function(t){var e=this.parentNode.__axis;return M(e&&isFinite(e=e(t))?e:s(t))})),f.remove(),c.attr("d",h===aO||h==iO?m?"M"+x*m+","+o+"H0.5V"+a+"H"+x*m:"M0.5,"+o+"V"+a:m?"M"+o+","+x*m+"V0.5H"+a+"V"+x*m:"M"+o+",0.5H"+a),u.attr("opacity",1).attr("transform",function(t){return M(s(t))}),i.attr(w+"2",x*v),e.attr(w,x*r).text(n),l.filter(dO).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",h===iO?"start":h===aO?"end":"middle"),l.each(function(){this.__axis=s})}return e.scale=function(t){return arguments.length?(p=t,e):p},e.ticks=function(){return g=eO.call(arguments),e},e.tickArguments=function(t){return arguments.length?(g=null==t?[]:eO.call(t),e):g.slice()},e.tickValues=function(t){return arguments.length?(_=null==t?null:eO.call(t),e):_&&_.slice()},e.tickFormat=function(t){return arguments.length?(y=t,e):y},e.tickSize=function(t){return arguments.length?(v=m=+t,e):v},e.tickSizeInner=function(t){return arguments.length?(v=+t,e):v},e.tickSizeOuter=function(t){return arguments.length?(m=+t,e):m},e.tickPadding=function(t){return arguments.length?(b=+t,e):b},e}function pO(t){return hO(oO,t)}var Ze=Array.prototype,gO=Ze.map,_O=Ze.slice;function yO(t){return function(){return t}}function vO(t){return+t}var mO=[0,1];function bO(e,n){return(n-=e=+e)?function(t){return(t-e)/n}:yO(n)}function xO(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=e?0:n<=t?1:r(t)}}}function wO(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=0?e:1<=t?n:r(t)}}}function MO(t,e,n,r){var i=t[0],t=t[1],o=e[0],e=e[1],o=t '}function RO(t){var e,n;return' '}function UO(o,a,t){var n={},i=$y(t).append("div").attr("class","fl-control fl-control-slider animatable"),s=i.append("div").attr("class","slider-play"),l=i.append("div").attr("class","fl-controls-slider"),e,r,c,u,f,d,h,p=null,g=function t(){clearTimeout(p),p=null},_=function t(e){var e=u[e];e.options_index!==o.index()&&(o.index(e.options_index),o.trigger("change"))},y=OO(l.node()).snap(!0).on("change",function(t){var e=null!==p;e&&g(),_(t),e&&m()}),v=function t(){g(),i.classed("playing",!1),s.html(e),o._isPlaying_(!1),h=!1},m=function t(){var e=o.getSortedIndex(),n=f[e],r=o.n_options-1,i=ethis._domain[1]&&(this._value=this._domain[1]),this._snap&&(this._value=CO(this._snap,this._value));var s=[],c,c;this._axis&&(c="boolean"!=typeof this._axis?this._axis(this.scale):pO().scale(this.scale).tickPadding(6),this._ticks&&c.ticks(this._ticks),this._tickFormat&&c.tickFormat(this._tickFormat),this._tickSize?c.tickSize(this._tickSize):c.tickSize(Math.max(5,this._handleRadius-this._channelHeight-2)),s.push(c));var d,s=f.selectAll(".slider-axis").data(s).enter(),o,h,p,g;function _(t){document.addEventListener("mouseup",y,!1),document.addEventListener("mousemove",v,!1),p=t.clientX,g=n.scale(n._value)}function y(){document.removeEventListener("mouseup",y,!1),document.removeEventListener("mousemove",v,!1)}function v(t){w(t.clientX-p)}function m(t){1==t.touches.length&&(document.addEventListener("touchend",b,!1),document.addEventListener("touchmove",x,!1),p=t.touches[0].clientX,g=n.scale(n._value))}function b(){document.removeEventListener("touchend",b,!1),document.removeEventListener("touchmove",x,!1)}function x(t){1==t.touches.length&&w(t.touches[0].clientX-p)}function w(t){var e,t=Math.max(0,Math.min(u,g+t)),t=n.scale.invert(t);n._snap&&(t=CO(n._snap,t)),h.attr("cx",n.scale(t)),t!=n._value&&(n._value=t,n.fire("change",n._value))}s.append("g").attr("class","slider-axis").attr("transform","translate(0,"+this._channelHeight/2+")").each(function(t){t($y(this))}),s.select(".domain").attr("fill","none"),s.selectAll(".tick line").attr("stroke","black"),s.exit().remove(),(o=f.selectAll(".slider-channel").data([{width:o,height:this._channelHeight,channel_r:a}])).exit().remove(),(o=o.enter().append("rect").attr("class","slider-channel").attr("cursor","pointer").on("click",function(){var t=Math.max(0,Math.min(u,Ky(this)[0]));n._value=n.scale.invert(t),n._snap&&(n._value=CO(n._snap,n._value)),h.attr("cx",n.scale(n._value)),n.fire("change",n._value)}).merge(o)).attr("width",function(t){return t.width}).attr("fill",this._channelFill).attr("height",function(t){return t.height}).attr("y",function(t){return-t.height/2}).attr("x",function(t){return-t.channel_r}).attr("rx",function(t){return t.channel_r}),(h=(h=f.selectAll(".slider-handle").data([{v:this._value,x:this.scale(this._value)}])).enter().append("circle").attr("class","slider-handle").attr("cursor","col-resize").merge(h)).attr("cx",function(t){return t.x}).attr("r",this._handleRadius).attr("fill",this._handleFill).on("mousedown",function(){Cy.preventDefault(),_(Cy)}).on("touchstart",function(){Cy.preventDefault(),m(Cy)});var o=[];this._label&&o.push({label:this._label,x:u/2,y:-l,font_size:this._labelSize});var o=f.selectAll(".slider-label").data(o);o.exit().remove(),(o=o.enter().append("text").attr("class","slider-label").attr("text-anchor","middle").attr("cursor","default").merge(o)).text(function(t){return t.label}).attr("x",function(t){return t.x}).attr("y",function(t){return t.y}).attr("font-size",this._labelSize);var o=[];this._startLabel&&o.push({label:this._startLabel,x:this._startLabelBelow?0:-(a+5+Math.max(0,this._handleRadius-a)),y:this._startLabelBelow?a+15:this._startEndLabelSize/1.75-a/2,anchor:this._startLabelBelow?"middle":"end",font_size:this._startEndLabelSize}),this._endLabel&&o.push({label:this._endLabel,x:this._endLabelBelow?u:u+(a+Math.max(0,this._handleRadius-a)+5),y:this._startLabelBelow?a+15:this._startEndLabelSize/1.75-a/2,anchor:this._endLabelBelow?"middle":"start",font_size:this._startEndLabelSize});var o=f.selectAll(".slider-end-labels").data(o);return o.exit().remove(),(o=o.enter().append("text").attr("class","slider-end-labels").attr("pointer-events","none").merge(o)).text(function(t){return t.label}).attr("font-size",function(t){return t.font_size}).attr("x",function(t){return t.x}).attr("y",function(t){return t.y}).attr("text-anchor",function(t){return t.anchor}),this},OO.version=uc;var FO=Object.freeze({control_type:"dropdown",control_title:"",dropdown_width_mode:"auto",dropdown_width_fixed:20,button_group:!0,button_group_width_mode:"fixed",button_group_width_fixed:20,slider_width:15,slider_handle_color:null,slider_font_color:null,slider_background_color:"#dddddd",slider_handle_height:1,slider_track_height:.2,slider_margin:4.5,slider_play_button:!0,slider_step_time:2,slider_loop:!0,slider_restart_pause:0,sort:"unsorted",sort_temporal_format:"%Y",_index_:null,_is_playing_:!1});function YO(i,t,e){var r={};t=t||FC,e=e||YC;var o=[],a=[],s=[],n=document.createElement("div");n.setAttribute("class","fl-controls-container");var l=$y(n).append("div").attr("class","fl-controls-title"),c=KC(r,i,n),u=tO(r,i,n),f=UO(r,i,n),d;for(d in FO)void 0===i[d]&&(i[d]=FO[d]);var h=i._index_,p=function t(e){return o.length&&0<=e&&eZO)throw new Error("too late; already scheduled");return e}function KO(t,e){var e=tP(t,e);if(e.state>QO)throw new Error("too late; already running");return e}function tP(t,e){var t=t.__transition;if(!t||!(t=t[e]))throw new Error("transition not found");return t}function eP(o,a,s){var l=o.__transition,c;function t(t){s.state=qO,s.timer.restart(u,s.delay,s.time),s.delay<=t&&u(t-s.delay)}function u(t){var e,n,r,i;if(s.state!==qO)return d();for(e in l)if((i=l[e]).name===s.name){if(i.state===QO)return Qb(u);i.state===VO?(i.state=$O,i.timer.stop(),i.on.call("interrupt",o,o.__data__,i.index,i.group),delete l[e]):+eGO&&r.statee[1]?o.hidden=!0:r=o.bottom}}function vR(r,t,i,o,a){var s=0,t=t.map(function(t){var e=dR(t.text,i,o,a);s=Math.max(s,e.widest_line);var n={};n.x=t.x,n.y=t.y,n.id=t.id,n.text=t.text,n.color=t.color,n.opacity=isNaN(t.opacity)?1:t.opacity,n.datum=t.datum||{},n.alignment=["left","right"].includes(t.alignment)?t.alignment:"right",n.lines=e;var e=r._group&&"undefined"!==t[r._group];return n.group=e?t[r._group]:"",n});return t.widest_label=s,t}function mR(t){var e,n;return void 0!==window.innerWidth&&(e=window.innerWidth,n=parseFloat(getComputedStyle(document.documentElement).fontSize)),t*n}function bR(t){return new pR(t)}pR.prototype.container=function(t){return void 0!==t?(this._container=t,this):this._container},pR.prototype.data=function(t){return void 0!==t?(this._data=t,this):this._data},pR.prototype.group=function(t){return void 0!==t?(this._group=t,this):this._group},pR.prototype.backgroundColor=function(t){return void 0!==t?(this._background_color=t,this):this._background_color},pR.prototype.foregroundColor=function(t){return void 0!==t?(this._foreground_color=t,this):this._foreground_color},pR.prototype.duration=function(t){return void 0!==t?(this._duration=t,this):this._duration},pR.prototype.delay=function(t){return void 0!==t?(this._delay=t,this):this._delay},pR.prototype.yBounds=function(t){return void 0!==t?(this._y_bounds=t,this):this._y_bounds},pR.prototype.ariaHidden=function(t){return void 0!==t?(this._aria_hidden=t,this):this._aria_hidden},pR.prototype.getWidth=function(){return this.update(!0)},pR.prototype.on=function(i,o){return this._container&&(o?$y(this._container).on(i,function(){var t=Cy.target;if("mouseleave"!=i&&"mouseout"!=i){for(var e=!1,n=0,r;n<5&&!(e=t.classList.contains("fl-label"));n++)t=t.parentNode;e&&(r=$y(t).datum(),o.call(t,Cy,r))}else o.call(t,Cy)}):$y(this._container).on(i,null)),this};var xR={x_enabled:!(pR.prototype.update=function(t){if(null!=this._container){var e=this,r=this._state,n=this._duration,i=this._delay,o=this._container,a=this._data,s=this._y_bounds,l=this._screenreadable,c=this._background_color,u=this._foreground_color,f=mR(r.text_size),d=j(o,f,r),h=f*r.text_line_height,p=mR(r.text_padding_vertical),g=mR(r.text_padding_horizontal),o=Math.min(g/2,mR(r.line_padding)),_=g-o,d=vR(e,a,d,r.text_max_lines,mR(r.max_width));if(t)return d.widest_label+g;d.forEach(A);var y={};e._group?d.forEach(function(t){var e=t.group;e in y||(y[e]=[]),y[e].push(t)}):y=[d];var v=!1;if("spread-y"==r.position)for(var m in y){var b=y[m];_R(b,s,p),b.any_offsets&&(v=!0)}if(r.hide_overlaps)for(var m in y)yR(y[m],s);var x=!0;"off"!=r.lines&&("auto"!=r.lines||v)||(x=!1);var d=d.filter(function(t){return!t.hidden}),e=$y(this._container).selectAll(".fl-label").data(d,function(t){return null==t.id?t.text:t.id}),d=e.enter().append("g").attr("class","fl-label").attr("transform",function(t){return"translate("+t.x+","+t.y+")"}).attr("font-size",f).attr("font-weight",r.text_weight).attr("opacity",0);d.append("path").attr("fill","none").attr("d",k).attr("stroke-width",r.line_width+"rem").attr("stroke",r.line_color||u),d.append("text").attr("class","bg").attr("transform",w),d.append("text").attr("class","fg").attr("transform",w);var d=e.merge(d);d.attr("aria-hidden",!l).attr("id",function(t){return t.id}).transition().duration(n).delay(i).attr("transform",function(t){return"translate("+t.x+","+t.y+")"}).attr("font-size",f).attr("font-weight",r.text_weight).attr("opacity",function(t){return t.opacity}),d.select("path").transition().duration(n).delay(i).attr("d",k).attr("stroke-width",r.line_width+"rem").attr("stroke",r.line_color||u),d.select("text.bg").attr("text-anchor",M).transition().duration(n).delay(i).attr("transform",w),d.select("text.fg").attr("text-anchor",M).transition().duration(n).delay(i).attr("transform",w),e.exit().remove();var e=d.select("text.bg").selectAll("tspan").data(function(t){return t.lines});e.merge(e.enter().append("tspan")).text(function(t){return t}).transition().duration(n).delay(i).attr("x",0).attr("fill","none").attr("stroke",r.text_bg_color||c).attr("stroke-width",f*r.text_bg_size/100).attr("dy",function(t,e){return e?h+"px":0}),e.exit().remove();var d=d.select("text.fg").selectAll("tspan").data(function(t){return t.lines});return d.merge(d.enter().append("tspan")).text(function(t){return t}).transition().duration(n).delay(i).attr("x",0).attr("fill",function(){return r.text_color||this.parentNode.__data__.color||"black"}).attr("dy",function(t,e){return e?h+"px":0}),d.exit().remove(),n||i||Bb(),this}function w(t){var e;return"translate("+("right"==t.alignment?g:-Math.abs(g))+","+(t.y_offset+t.dy)+")"}function M(t){return"right"==t.alignment?"start":"end"}function k(t){if(!x)return"";if(!t.text.length)return"";var e=t.step_line_x_index||0,n=(t.step_line_x_count||0)+1,n=_/n,n=n+n*e,e="M 0,0 l ";return"step"==r.line_style?(e+=("right"==t.alignment?n:-Math.abs(n))+",0 l ",e+="0,"+t.y_offset+" l ",e+=("right"==t.alignment?_-n:-Math.abs(_-n))+",0"):e+=("right"==t.alignment?_:-Math.abs(_))+","+t.y_offset,e}function j(t,e,n){var r,i,o;return n.text_weight+" "+(e+"px ")+getComputedStyle(t).fontFamily}function A(t){var e=.33*f-h*(t.lines.length-1)/2;t.dy=e;var n=0,e=h-t.dy,e=t.y-e-s[0];e<0&&(n=-e);var e=h*(t.lines.length-1)- -t.dy,e=s[1]-t.y-e;e<0&&(n-=-e),t.y_offset=n,t.height=h*t.lines.length,t.top=t.y+t.y_offset-t.height/2,t.bottom=t.top+t.height}console.error("@flourish/labels: you must set a container for your labels using the .container() method. This should be an SVG group.")}),x_lines:"",x_line_color:"#333333",x_line_width:2,x_line_dash:"2",x_areas:"",x_area_color:"#555555",x_area_opacity:.1,x_area_texture:"none",x_font_size:.9,x_font_weight:"regular",x_label_vertical:!0,x_label_color:"#888888",x_label_max_width:3,x_label_y_position:"top",x_label_x_position:"left",x_shadow_enabled:!0,x_shadow_color:"#FFFFFF",y_enabled:!1,y_lines:"",y_line_color:"#333333",y_line_width:2,y_line_dash:"2",y_areas:"",y_area_color:"#555555",y_area_opacity:.1,y_area_texture:"none",y_font_size:.9,y_font_weight:"regular",y_label_x_position:"right",y_label_y_position:"above",y_label_color:"#888888",y_label_max_width:3,y_shadow_enabled:!0,y_shadow_color:"#FFFFFF"};function wR(e){var n=0;e.animationDuration=function(t){return void 0===t?n:(n=t,e)}}function MR(e){var n=function t(e){return e};e.numberParser=function(t){return void 0===t?n:(n=t,e)}}function kR(e){var n;e.chartLayout=function(t){return void 0===t?n:(n=t,e)}}function jR(e){var n=!1;e.xDisabled=function(t){return void 0===t?n:(n=t,e)}}function AR(e){var n=!1;e.yDisabled=function(t){return void 0===t?n:(n=t,e)}}function TR(e){var n=!1;e.xExtendByStep=function(t){return void 0===t?n:(n=t,e)}}function NR(e){var n=!1;e.yExtendByStep=function(t){return void 0===t?n:(n=t,e)}}var IR="http://www.w3.org/1999/xhtml",SR={svg:"http://www.w3.org/2000/svg",xhtml:IR,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ER(t){var e=t+="",n=e.indexOf(":");return 0<=n&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),SR.hasOwnProperty(e)?{space:SR[e],local:t}:t}function zR(n){return function(){var t=this.ownerDocument,e=this.namespaceURI;return e===IR&&t.documentElement.namespaceURI===IR?t.createElement(n):t.createElementNS(e,n)}}function LR(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function DR(t){var t=ER(t);return(t.local?LR:zR)(t)}function CR(){}function OR(t){return null==t?CR:function(){return this.querySelector(t)}}function PR(t){"function"!=typeof t&&(t=OR(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;izF)throw new Error("too late; already scheduled");return e}function YF(t,e){var e=BF(t,e);if(e.state>CF)throw new Error("too late; already running");return e}function BF(t,e){var t=t.__transition;if(!t||!(t=t[e]))throw new Error("transition not found");return t}function HF(o,a,s){var l=o.__transition,c;function t(t){s.state=LF,s.timer.restart(u,s.delay,s.time),s.delay<=t&&u(t-s.delay)}function u(t){var e,n,r,i;if(s.state!==LF)return d();for(e in l)if((i=l[e]).name===s.name){if(i.state===CF)return Qb(u);i.state===OF?(i.state=RF,i.timer.stop(),i.on.call("interrupt",o,o.__data__,i.index,i.group),delete l[e]):+eDF&&r.state>\s*/,">>").split(">>").map(function(t){return t.trim()})}function v(t,e,n,r){var i,o,i;return i="number"===e?isNaN(a(t))?a(t):t:"datetime"===e?("x"===r?n.xDatetimeParse():n.yDatetimeParse())(t):t}function o(t,i){var o=i.chart_layout,a=o.margins.left,e=o.margins.top,s=Math.max(0,o.plot_height),n=w.xDisabled(),l=o.xScale(),c=nB(o.xData()),u=[];!n&&T.x_enabled&&T.x_lines&&T.x_lines.split("\n").forEach(function(t){var e=_(t),n=e[0],r=e[1],t,e;void 0!==r&&(t=e[2]||T.x_line_color,(e=e[3]||null)&&i.facet_name!==e||u.push({label:n,x:v(r,c,o,"x"),color:t}))});var n=NF(t).selectAll("g.line.x").data(u),t=n.enter().append("g").attr("class","line x").attr("pointer-events","none").attr("transform",function(t){return"translate("+(l(t.x)||a)+", "+e+")"});t.append("line"),t.append("text");var t=n.merge(t);t.transition().duration(p).attr("transform",function(t){return"translate("+(l(t.x)||a)+", "+e+")"}),t.select("line").attr("stroke-dasharray",T.x_line_dash+" "+T.x_line_dash).attr("stroke",function(t){return t.color}).attr("stroke-width",T.x_line_width).attr("y2",s),t.select("text").each(function(t){var e=l(t.x)||a,n=w.fontFamily(),r=rB(T.x_label_max_width),n="".concat(T.x_font_weight," ").concat(T.x_font_size," ").concat(n),r=yB(t.label,n,null,r);m(r,this,T.x_font_size,T.x_font_weight,h),m(r,this,T.x_font_size,T.x_font_weight,d);var r=r.length,r=b(this,l,s,r,e),e=r.transform_str,r=r.text_anchor;NF(this).attr("transform",e).attr("text-anchor",r)}).attr("font-size",A()),t.selectAll(".".concat(d)).attr("fill",T.x_label_color),t.selectAll(".".concat(h)).attr("display",T.x_shadow_enabled?"block":"none").attr("fill","none").attr("stroke",T.x_shadow_color).attr("stroke-width",2),n.exit().remove()}function s(t,i){var o=i.chart_layout,a=o.margins.left,n=o.margins.top,s=Math.max(0,o.plot_height),l=Math.max(0,o.plot_width),c=o.xScale(),u=nB(i.chart_layout.xData()),e=w.xDisabled(),f=[];!e&&T.x_enabled&&T.x_areas&&T.x_areas.split("\n").map(function(t){var e=_(t),n,r,t,e;e.length<2||(n=e[0],r=y(e[1]).map(function(t,e){var t=v(t,u,o,"x"),t=t?c(t):null;return w.xExtendByStep()&&(t+=o.xMinStep()/2*(0==e?-1:1)),t}),t=e[2]||T.x_area_color,(e=e[3]||null)&&i.facet_name!==e||1i,.fl-project-editor .row.editor #visualisation .editor-core #resize-handle-container>i{position:absolute;top:5px;left:5px}.fl-project-editor .row.editor #story .editor-core #resize-handle-container:hover,.fl-project-editor .row.editor #visualisation .editor-core #resize-handle-container:hover{width:6px}.fl-project-editor .row.editor #story .editor-core #resize-handle-container:hover #resize-handle,.fl-project-editor .row.editor #visualisation .editor-core #resize-handle-container:hover #resize-handle{width:6px;background:#ddd}.fl-project-editor .row.editor #story .editor-core #resize-handle-container:hover #resize-handle:after,.fl-project-editor .row.editor #visualisation .editor-core #resize-handle-container:hover #resize-handle:after{left:-10px}.fl-project-editor .row.editor #story .editor-core #resize-handle-container:hover .resize-handle-icon,.fl-project-editor .row.editor #visualisation .editor-core #resize-handle-container:hover .resize-handle-icon{right:2px;display:block}.fl-project-editor .row.editor #story .editor-core #resize-handle-container.dragging #resize-handle:after,.fl-project-editor .row.editor #visualisation .editor-core #resize-handle-container.dragging #resize-handle:after{left:-200px;right:0}@media(min-width:770px){.fl-project-editor .row.editor #story .editor-core,.fl-project-editor .row.editor #visualisation .editor-core{padding:0}.fl-project-editor .row.editor #story .editor-core #resize-handle-container,.fl-project-editor .row.editor #visualisation .editor-core #resize-handle-container{display:block}}@media(min-width:820px){.fl-project-editor .row.editor #story .editor-core,.fl-project-editor .row.editor #visualisation .editor-core{padding:0 10px 0 0}}.fl-project-editor .row.editor #visualisation{padding:10px 0 0}.fl-project-editor .row.editor #visualisation .editor-core .preview-holder iframe#preview{-webkit-transform-origin:left top;transform-origin:left top}.fl-project-editor .row.editor #visualisation .editor-core .preview-holder iframe#preview.mini-preview{z-index:1000;opacity:1;box-shadow:none;-webkit-animation:fadeIn .5s;animation:fadeIn .5s;overflow:hidden;pointer-events:none}@-webkit-keyframes fadeIn{0%{opacity:0}1%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}1%{opacity:0}to{opacity:1}}@media(min-width:820px){.fl-project-editor .row.editor #visualisation .editor-core .preview-holder iframe#preview{width:100%}}.fl-project-editor .row.editor #story .editor-core .preview-holder #preview iframe{height:calc(100% - 64px)}.fl-project-editor .row.editor #story .editor-core .preview-holder #preview.nav-style-none iframe{height:100%}@media(min-width:820px){.fl-project-editor .row.editor #story .editor-core{max-width:calc(100% - 220px);margin-left:220px;min-height:calc(100vh - 94px)}}.fl-project-editor .row.editor.mobile #story .editor-core .preview-holder,.fl-project-editor .row.editor.mobile #story .editor-core .preview-holder iframe,.fl-project-editor .row.editor.mobile #visualisation .editor-core .preview-holder,.fl-project-editor .row.editor.mobile #visualisation .editor-core .preview-holder iframe{width:320px}.fl-project-editor .row.editor.mobile.landscape #story .editor-core .preview-holder,.fl-project-editor .row.editor.mobile.landscape #story .editor-core .preview-holder iframe,.fl-project-editor .row.editor.mobile.landscape #visualisation .editor-core .preview-holder,.fl-project-editor .row.editor.mobile.landscape #visualisation .editor-core .preview-holder iframe{width:500px}.fl-project-editor .row.editor.tablet #story .editor-core .preview-holder,.fl-project-editor .row.editor.tablet #story .editor-core .preview-holder iframe,.fl-project-editor .row.editor.tablet #visualisation .editor-core .preview-holder,.fl-project-editor .row.editor.tablet #visualisation .editor-core .preview-holder iframe{width:768px}.fl-project-editor .row.editor.tablet.landscape #story .editor-core .preview-holder,.fl-project-editor .row.editor.tablet.landscape #story .editor-core .preview-holder iframe,.fl-project-editor .row.editor.tablet.landscape #visualisation .editor-core .preview-holder,.fl-project-editor .row.editor.tablet.landscape #visualisation .editor-core .preview-holder iframe{width:1024px}@media(min-width:820px){.fl-project-editor .row.editor #visualisation .editor-core{max-width:calc(100% - 350px)}}.fl-project-editor .project-header{padding:0 10px;position:absolute;top:2px;left:48px;right:0;width:auto}@media(min-width:420px){.fl-project-editor .project-header{left:60px}.fl-project-editor .project-header:after{clear:both;display:block;content:""}}@media(min-width:620px){.fl-project-editor .project-header{height:60px;z-index:110}}.fl-project-editor .project-header #visibility-status,.fl-project-editor .project-header .blueprint-tag,.fl-project-editor .project-header .read-only{text-align:left;margin:-1px 0 0 3px;height:auto;line-height:1em;display:inline-block;border-radius:3px;vertical-align:top}@media(min-width:420px){.fl-project-editor .project-header #visibility-status,.fl-project-editor .project-header .blueprint-tag,.fl-project-editor .project-header .read-only{font-size:11px;padding:2px 3px 1px}}.fl-project-editor .project-header #visibility-status{cursor:pointer}.fl-project-editor .project-header #visibility-status:hover{color:#333}.fl-project-editor .project-header #visibility-status,.fl-project-editor .project-header .read-only{color:#aaa;font-weight:400;padding:1px 3px 2px;background:#eee}.fl-project-editor .project-header #visibility-status.public,.fl-project-editor .project-header .read-only.public{background:#ffdc98;color:#000}.fl-project-editor .project-header #visibility-status.public:hover,.fl-project-editor .project-header .read-only.public:hover{background:#eec26d;color:#000}.fl-project-editor .project-header .blueprint-tag{font-size:9px;font-weight:700;background:#2886b2;color:#fff;text-transform:uppercase;padding:1px 5px 2px;cursor:default}.fl-project-editor .project-header .project-settings{margin-left:10px;font-size:14px;font-weight:400;line-height:0;vertical-align:top;margin-bottom:-3px;display:inline-block;margin-top:-2px;z-index:110;height:auto}.fl-project-editor .project-header .project-settings .dropdown-head{padding-right:5px;padding-left:5px;padding-bottom:10px;font-size:16px}.fl-project-editor .project-header .project-settings .dropdown-list{margin-right:0}@media(min-width:420px){.fl-project-editor .project-header .project-settings{top:0;margin-top:-4px;padding-top:19px}}@media(min-width:620px){.fl-project-editor .project-header .project-settings{padding-top:18px}}.fl-project-editor .project-header .has-name+.project-settings{margin-left:0}.fl-project-editor .project-header .name{position:relative;vertical-align:top;font-weight:400;font-style:italic;height:23px;margin-left:0;width:auto;display:inline-block;font-size:16px;z-index:110;margin-top:3px}@media(min-width:420px){.fl-project-editor .project-header .name{margin-top:5px;height:26px}}@media(min-width:620px){.fl-project-editor .project-header .name{font-size:18px}}@media(min-width:820px){.fl-project-editor .project-header .name{font-size:18px}}.fl-project-editor .project-header .name input{font-size:1em;font-size:inherit;border:none;border-bottom:1px solid #ccc;border-radius:0;background:#fff;font-style:italic;padding:0;display:inline-block;color:#aaa;position:absolute;left:0;top:0;box-sizing:content-box;outline:none;height:23px}@media(min-width:420px){.fl-project-editor .project-header .name input{height:26px}}.fl-project-editor .project-header .name .name-width-setter{font-size:inherit;padding:0;display:inline-block;opacity:0;pointer-events:none;max-width:140px;min-width:40px;white-space:pre}@media(min-width:420px){.fl-project-editor .project-header .name .name-width-setter{max-width:240px}}@media(min-width:620px){.fl-project-editor .project-header .name .name-width-setter{max-width:340px}}@media(min-width:820px){.fl-project-editor .project-header .name .name-width-setter{max-width:340px}}.fl-project-editor .project-header .name.not-editable input{border-color:transparent;color:#333;top:0;background:transparent;font-style:normal}.fl-project-editor .project-header .name.has-name .name-width-setter,.fl-project-editor .project-header .name.has-name input{font-style:normal;background:none}.fl-project-editor .project-header .name.has-name input{color:#333;border-color:#ccc;top:0;font-style:normal}.fl-project-editor .project-header .name.has-name .name-overlay{display:block;top:0}.fl-project-editor .project-header .name .name-overlay{display:none;content:"";position:absolute;left:125px;top:0;width:20px;height:100%;background:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),color-stop(80%,#fff));background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,#fff 80%)}@media(min-width:420px){.fl-project-editor .project-header .name .name-overlay{left:225px}}@media(min-width:620px){.fl-project-editor .project-header .name .name-overlay{left:325px}}@media(min-width:820px){.fl-project-editor .project-header .name .name-overlay{left:325px}}.fl-project-editor .project-header .project-author{color:#aaa;font-weight:400;top:30px;font-size:11px;line-height:1em;position:absolute}@media(min-width:420px){.fl-project-editor .project-header .project-author{top:38px;font-size:12px}}@media(min-width:820px){.fl-project-editor .project-header .project-author{font-size:12px}}.fl-project-editor .project-header .project-author+.dropdown .dropdown-head{display:inline-block}.fl-project-editor .project-header .project-author+.dropdown .badge{top:-14px}.fl-project-editor .project-header .project-author+.dropdown .dropdown-list .badge{position:absolute;right:10px;top:12px;pointer-events:none}.fl-project-editor .project-header #export-btn-group{float:right;margin-bottom:0;margin-right:0;margin-top:9px}.fl-project-editor .project-header #export-btn-group #story-btn,.fl-project-editor .project-header #export-btn-group .export-btn{width:30px;height:30px;padding:0;text-align:center}.fl-project-editor .project-header #export-btn-group #story-btn span,.fl-project-editor .project-header #export-btn-group .export-btn span{display:none}.fl-project-editor .project-header #export-btn-group #story-btn i,.fl-project-editor .project-header #export-btn-group .export-btn i{margin-right:0}@media(min-width:420px){.fl-project-editor .project-header #export-btn-group #story-btn,.fl-project-editor .project-header #export-btn-group .export-btn{width:30px;height:30px}}@media(min-width:820px){.fl-project-editor .project-header #export-btn-group #story-btn,.fl-project-editor .project-header #export-btn-group .export-btn{padding:0 8px;height:36px;width:auto}.fl-project-editor .project-header #export-btn-group #story-btn span,.fl-project-editor .project-header #export-btn-group .export-btn span{display:inline}.fl-project-editor .project-header #export-btn-group #story-btn i,.fl-project-editor .project-header #export-btn-group .export-btn i{margin-right:3px}}.fl-project-editor .project-header #export-btn-group #create-btn{height:36px;line-height:34px}.visualisation-editor.no-template .fl-project-editor .project-header #export-btn-group{display:none}.fl-project-editor .project-header #export-btn-group #story-btn-form{display:inline-block}.fl-project-editor .project-header #export-btn-group #story-btn{border:1px solid #ddd;background-color:#eee;color:#333;font-family:Source Sans Pro;margin-right:8px;overflow:visible}@media(min-width:420px){.fl-project-editor .project-header #export-btn-group{margin-top:15px}}@media(min-width:820px){.fl-project-editor .project-header #export-btn-group{margin-top:12px}}.fl-project-editor .row.editor-bar{background:#e3e3e3;height:30px;font-size:12px;padding:0 10px}.fl-project-editor .row.editor-bar #visualisation-tabs{z-index:110;width:calc(100% - 120px);margin-left:60px;text-align:center}.fl-project-editor .row.editor-bar #visualisation-tabs button{font-size:12px;line-height:1em}.fl-project-editor .row.editor-bar #visualisation-tabs button i{margin-right:3px;font-size:11px}.fl-project-editor .row.editor-bar #visibility-status,.fl-project-editor .row.editor-bar .read-only{display:inline-block;float:left;font-weight:700;color:#aaa;margin-top:7px}.fl-project-editor .row.editor-bar .confirm-saved{float:right;margin-top:8px;margin-left:0;width:60px}@media(min-width:820px){.fl-project-editor .row.editor-bar #visualisation-tabs{width:calc(100% - 380px);margin-left:0}}.fl-project-editor .tab-data .tab-preview{position:fixed;z-index:2}.fl-project-editor .tab-data #preview-menu{opacity:0;pointer-events:none}.fl-project-editor .side-panel{text-align:left;position:relative;background:#f9f9f9;line-height:1.1;margin-left:0;padding:10px 0 1px;width:100%}.fl-project-editor .side-panel.closed{margin-left:-300px}.fl-project-editor .side-panel .side-panel-inner{margin-bottom:87px;background:#fff}@media(min-width:820px){.fl-project-editor .side-panel .side-panel-inner{border:none;background:transparent}}.fl-project-editor .side-panel .side-panel-close{position:absolute;top:15px;right:10px;font-size:1.25em;width:1.5em;height:1.5em;padding:.1em;text-align:center;border:1px solid rgba(0,0,0,.4);border-radius:3px;background:#eaeaea;-webkit-transition:right .5s ease;transition:right .5s ease;z-index:1}.fl-project-editor .side-panel .side-panel-close.opener{right:calc(-1.5em + 1px);border-bottom-left-radius:0;border-top-left-radius:0}.fl-project-editor .side-panel .side-panel-close:hover{opacity:1}.fl-project-editor .side-panel .side-panel-close:hover i{opacity:.7}.fl-project-editor .side-panel#slides-panel{height:100%;padding:0;background:#fff;margin-top:20px}.fl-project-editor .side-panel#slides-panel .side-panel-scrollbox{padding:0 15px 10px}@media(min-width:820px){.fl-project-editor .side-panel#slides-panel{max-width:200px;right:auto;position:absolute;top:0;margin-top:0;border-right:1px solid #ddd}}.fl-project-editor .side-panel .side-panel-scrollbox{width:100%;height:100%;padding:10px 10px 20px;overflow-y:scroll}.fl-project-editor .side-panel .side-panel-scrollbox .side-panel-inner{width:100%}@media(min-width:1220px){.fl-project-editor .side-panel .side-panel-scrollbox{padding:20px}}.fl-project-editor .side-panel h1{margin:1em 0 .5em;font-size:.9em;opacity:.5;cursor:default}.fl-project-editor .side-panel h2{font-size:13px;letter-spacing:0;font-weight:500;margin:0 0 .6em;position:relative;color:#333;word-wrap:break-word}.fl-project-editor .side-panel .toplevel-settings-block{padding:0 5px 20px}.fl-project-editor .side-panel .toplevel-settings-block .settings-option{display:inline-block}.fl-project-editor .side-panel .toplevel-settings-block .settings-option:first-child{margin-top:9px}.fl-project-editor .side-panel .settings-divider{margin:1rem -10px 0;clear:both;width:calc(100% + 20px);height:1px;background:#eee}.fl-project-editor .side-panel .settings-subhead{text-transform:uppercase;font-size:.7rem;font-weight:700;color:#999;padding:.5rem 5px .25rem;margin:0;width:100%}.fl-project-editor .side-panel .settings-block{margin:0;display:inline-block;width:100%;background-color:#fff;padding:0 10px;min-height:24px}.fl-project-editor .side-panel .settings-block h2{margin:0 -10px;font-size:.8rem;padding:.75em 30px;font-weight:700;background-color:#f5f5f5;border-top:1px solid #ddd;cursor:pointer;color:#535e65}.fl-project-editor .side-panel .settings-block h2:focus{outline:none}.fl-project-editor .side-panel .settings-block h2:focus,.fl-project-editor .side-panel .settings-block h2:hover{background:#e8e8e8}.fl-project-editor .side-panel .settings-block h2:after{content:"";width:.6rem;height:.8rem;position:absolute;left:15px;background-repeat:no-repeat;background-position:50%;background-image:url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJjYXJldC1yaWdodCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTkyIDUxMiIgY2xhc3M9InN2Zy1pbmxpbmUtLWZhIGZhLWNhcmV0LXJpZ2h0IGZhLXctNiBmYS0zeCI+PHBhdGggZmlsbD0iIzUzNWU2NSIgZD0iTTAgMzg0LjY2MlYxMjcuMzM4YzAtMTcuODE4IDIxLjU0My0yNi43NDEgMzQuMTQyLTE0LjE0MmwxMjguNjYyIDEyOC42NjJjNy44MSA3LjgxIDcuODEgMjAuNDc0IDAgMjguMjg0TDM0LjE0MiAzOTguODA0QzIxLjU0MyA0MTEuNDA0IDAgNDAyLjQ4IDAgMzg0LjY2MnoiLz48L3N2Zz4=)}.fl-project-editor .side-panel .settings-block .settings-divider,.fl-project-editor .side-panel .settings-block .settings-option,.fl-project-editor .side-panel .settings-block .settings-subhead{display:none}.fl-project-editor .side-panel .settings-block input::-webkit-contacts-auto-fill-button{visibility:hidden;display:none!important;pointer-events:none;position:absolute;right:0}.fl-project-editor .side-panel .settings-block.open{padding-bottom:1rem}.fl-project-editor .side-panel .settings-block.open h2:after{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fl-project-editor .side-panel .settings-block.open .settings-option{display:inline-block}.fl-project-editor .side-panel .settings-block.open .settings-option.hidden{display:none}.fl-project-editor .side-panel .settings-block.open .settings-option.option-type-color.width-quarter .color-picker{vertical-align:top;line-height:0;position:relative}.fl-project-editor .side-panel .settings-block.open .settings-option.option-type-color.width-quarter .color-picker:hover:not(.is-null) .cancel-setting{-webkit-transform:translateX(27px);transform:translateX(27px)}.fl-project-editor .side-panel .settings-block.open .settings-option.option-type-color.width-quarter .color-picker.is-null .color-wrapper input{opacity:0}.fl-project-editor .side-panel .settings-block.open .settings-option.option-type-color.width-quarter .color-picker .cancel-setting{width:30px;border:1px solid #ddd;background:#fff;position:absolute;padding:0;height:30px;vertical-align:top;left:0;-webkit-transition:-webkit-transform .2s;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.fl-project-editor .side-panel .settings-block.open .settings-option.option-type-color.width-quarter .color-picker .cancel-setting svg{margin-left:2px;width:8px;height:8px;pointer-events:none;-webkit-transition:opacity .2s;transition:opacity .2s}.fl-project-editor .side-panel .settings-block.open .settings-option.option-type-color.width-quarter .color-picker .cancel-setting:focus{border:1px solid #ddd}.fl-project-editor .side-panel .settings-block.open .settings-option.option-type-color.width-quarter .color-picker .cancel-setting:hover svg{opacity:.4}.fl-project-editor .side-panel .settings-block.open .settings-divider,.fl-project-editor .side-panel .settings-block.open .settings-subhead{display:block}.fl-project-editor .side-panel .settings-block.open h2+.settings-divider{background:transparent;margin-top:.25rem}.fl-project-editor .side-panel .settings-block.hidden{display:none}.fl-project-editor .side-panel h3{font-size:.8rem;line-height:1.2em;font-weight:400;margin-top:0;margin-bottom:3px;color:#333;display:inline-block;cursor:default;overflow:hidden;vertical-align:top;background:#fff;text-overflow:ellipsis}.fl-project-editor .side-panel p{font-size:12px;margin-top:0;font-weight:300}.fl-project-editor .side-panel .settings-option{position:relative;margin-top:.75rem;display:none;vertical-align:bottom;width:100%;padding:0 5px}.fl-project-editor .side-panel .settings-option label{font-size:13px;display:inline-block;vertical-align:top;width:100%}.fl-project-editor .side-panel .settings-option label .help-tip{margin-left:3px;color:#d0d0d0;font-style:normal}.fl-project-editor .side-panel .settings-option label .help-tip:hover{color:#aaa}.fl-project-editor .side-panel .settings-option label:hover{z-index:2;position:relative}.fl-project-editor .side-panel .settings-option label:hover h3{padding-right:1px}.fl-project-editor .side-panel .settings-option button,.fl-project-editor .side-panel .settings-option input,.fl-project-editor .side-panel .settings-option select,.fl-project-editor .side-panel .settings-option textarea{border-radius:3px;border:1px solid #ddd;padding:.2em .1em .2em .3em;min-height:30px;font-size:13px;display:block;outline:none;-webkit-transition:border .2s linear;transition:border .2s linear;max-width:100%}.fl-project-editor .side-panel .settings-option button:focus,.fl-project-editor .side-panel .settings-option input:focus,.fl-project-editor .side-panel .settings-option select:focus,.fl-project-editor .side-panel .settings-option textarea:focus{border:1px solid #777}.fl-project-editor .side-panel .settings-option ::-webkit-input-placeholder{color:#ddd}.fl-project-editor .side-panel .settings-option :-ms-input-placeholder{color:#ddd}.fl-project-editor .side-panel .settings-option ::-ms-input-placeholder{color:#ddd}.fl-project-editor .side-panel .settings-option .autocomplete .dropdown-list .dropdown-item{font-size:13px;padding:10px 10px 10px 6px}.fl-project-editor .side-panel .settings-option .color-wrapper{width:30px;height:30px;overflow:hidden;border-radius:3px;position:relative;display:inline-block;background-color:#fff}.fl-project-editor .side-panel .settings-option .color-wrapper input{-webkit-transform:scale(10);transform:scale(10);position:absolute}.fl-project-editor .side-panel .settings-option .color-wrapper:before{display:block;position:absolute;content:"";top:0;bottom:-10px;left:0;width:1px;pointer-events:none;background:rgba(0,0,0,.1);-webkit-transform-origin:top;transform-origin:top;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.fl-project-editor .side-panel .settings-option .color-wrapper:after{display:block;position:absolute;content:"";border:1px solid rgba(0,0,0,.1);left:0;right:0;top:0;bottom:0;pointer-events:none}.fl-project-editor .side-panel .settings-option .color-wrapper:invalid{box-shadow:none}.fl-project-editor .side-panel .settings-option .single-button{background:#eee;color:#333;width:100%;border:none;padding:0;cursor:pointer;-webkit-transition:background-color .2s linear;transition:background-color .2s linear}.fl-project-editor .side-panel .settings-option .single-button:hover{background-color:#e0e0e0}.fl-project-editor .side-panel .settings-option .single-button:focus{border:none}.fl-project-editor .side-panel .settings-option .buttons-container{display:-webkit-box;display:flex}.fl-project-editor .side-panel .settings-option .buttons-container input[type=radio]{width:0;height:0;opacity:0;margin:0;display:inline-block;display:none}.fl-project-editor .side-panel .settings-option .buttons-container input[type=radio]+label{font-size:13px;background:#eee;color:#333;display:inline-block;height:30px;cursor:pointer;text-align:center;padding-top:8px;border-right:1px solid #fff;border-bottom:1px solid #fff;background-size:cover;background-position:50% 50%;-webkit-transition:background-color .2s linear;transition:background-color .2s linear}.fl-project-editor .side-panel .settings-option .buttons-container input[type=radio]+label i{color:#555}.fl-project-editor .side-panel .settings-option .buttons-container input[type=radio]+label img{margin-top:-8px}.fl-project-editor .side-panel .settings-option .buttons-container.large input[type=radio]+label{height:60px}.fl-project-editor .side-panel .settings-option .buttons-container input[type=radio]:not([disabled])+label:hover{background-color:#e0e0e0}.fl-project-editor .side-panel .settings-option .buttons-container input[type=radio]:disabled+label{cursor:default}.fl-project-editor .side-panel .settings-option .buttons-container input[type=radio]:checked+label{background-color:#ccdee6;cursor:default;position:relative}.fl-project-editor .side-panel .settings-option .buttons-container input[type=radio]:checked+label:hover{background-color:#ccdee6}.fl-project-editor .side-panel .settings-option .buttons-container input[type=radio]:checked+label:after{width:100%;height:2px;background:#2886b2;bottom:0;position:absolute;content:"";left:0}.fl-project-editor .side-panel .settings-option input[data-autocomplete]+.fa{position:absolute;right:10px;margin-top:-21px;font-size:12px;pointer-events:none}.fl-project-editor .side-panel .settings-option select{width:100%;height:30px}.fl-project-editor .side-panel .settings-option.option-type-color input{padding:0;background:#fff}.fl-project-editor .side-panel .settings-option.option-type-color,.fl-project-editor .side-panel .settings-option.option-type-number,.fl-project-editor .side-panel .settings-option.option-type-rows{width:50%}.fl-project-editor .side-panel .settings-option.option-type-color.width-quarter input,.fl-project-editor .side-panel .settings-option.option-type-number.width-quarter input,.fl-project-editor .side-panel .settings-option.option-type-rows.width-quarter input{width:100%}.fl-project-editor .side-panel .settings-option.option-type-color input,.fl-project-editor .side-panel .settings-option.option-type-number input,.fl-project-editor .side-panel .settings-option.option-type-rows input{width:calc((100% - 10px)/2);min-width:40px}.fl-project-editor .side-panel .settings-option.option-type-boolean:not(.settings-buttons).settings-buttons>label{height:auto}.fl-project-editor .side-panel .settings-option.option-type-boolean:not(.settings-buttons) input{display:none}.fl-project-editor .side-panel .settings-option.option-type-boolean:not(.settings-buttons)>label:first-child{position:absolute;padding-left:37px;padding-top:7px;width:auto;right:5px;left:5px}.fl-project-editor .side-panel .settings-option.option-type-boolean:not(.settings-buttons) .slider{position:relative;cursor:pointer;width:33px;height:30px;background:transparent;padding-left:0;padding-top:0}.fl-project-editor .side-panel .settings-option.option-type-boolean:not(.settings-buttons) .slider:hover:after{border-color:#bbb}.fl-project-editor .side-panel .settings-option.option-type-boolean:not(.settings-buttons) .slider:before{position:absolute;content:"";height:12px;width:33px;top:9px;left:0;border-radius:6px;background-color:#ddd;-webkit-transition:.1s;transition:.1s}.fl-project-editor .side-panel .settings-option.option-type-boolean:not(.settings-buttons) .slider:after{position:absolute;content:"";height:24px;width:24px;left:0;bottom:3px;border-radius:50%;background-color:#fff;border:1px solid #ddd;box-sizing:border-box;-webkit-transition:.1s;transition:.1s}.fl-project-editor .side-panel .settings-option.option-type-boolean:not(.settings-buttons) input:checked+.slider:before{background:#ccdee6}.fl-project-editor .side-panel .settings-option.option-type-boolean:not(.settings-buttons) input:checked+.slider:after{left:9px;background:#2886b2;border-color:#2886b2}.fl-project-editor .side-panel .settings-option.option-type-boolean:not(.settings-buttons) input:checked+.slider:hover:after{background-color:#2886b2;border-color:#2886b2}.fl-project-editor .side-panel .settings-option.option-type-code textarea,.fl-project-editor .side-panel .settings-option.option-type-string input,.fl-project-editor .side-panel .settings-option.option-type-text textarea,.fl-project-editor .side-panel .settings-option.option-type-url input{width:100%}.fl-project-editor .side-panel .settings-option.option-type-code textarea.size-large,.fl-project-editor .side-panel .settings-option.option-type-text textarea.size-large{height:50vh}.fl-project-editor .side-panel .settings-option.option-type-code label{width:calc(100% - 18px)}.fl-project-editor .side-panel .settings-option.option-type-code .wrap-control{font-size:.7em;color:#999;-webkit-transform:scaleY(-1);transform:scaleY(-1);margin-bottom:.3em;display:inline-block;vertical-align:bottom;-webkit-transition:-webkit-transform .1s ease;transition:-webkit-transform .1s ease;transition:transform .1s ease;transition:transform .1s ease,-webkit-transform .1s ease}.fl-project-editor .side-panel .settings-option.option-type-code .wrap-control.selected{-webkit-transform:scale(-1);transform:scale(-1);cursor:pointer}.fl-project-editor .side-panel .settings-option.option-type-code textarea{font-family:monospace;font-size:13px}.fl-project-editor .side-panel .settings-option.option-type-font input.font-menu{width:100%;outline:none}.fl-project-editor .side-panel .settings-option.option-type-colors input{width:100%;margin:0;z-index:1;cursor:pointer}.fl-project-editor .side-panel .settings-option.option-type-colors .color-swatches,.fl-project-editor .side-panel .settings-option.option-type-colors .dropdown-item{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:30px;overflow:hidden}.fl-project-editor .side-panel .settings-option.option-type-colors .color-swatches em,.fl-project-editor .side-panel .settings-option.option-type-colors .dropdown-item em{font-style:normal;color:#777;display:block;padding:8px;pointer-events:none}.fl-project-editor .side-panel .settings-option.option-type-colors .color-swatches span,.fl-project-editor .side-panel .settings-option.option-type-colors .dropdown-item span{display:inline-block;height:30px;-webkit-box-flex:1;flex:1}.fl-project-editor .side-panel .settings-option.option-type-colors .color-swatches span:nth-child(n+13):nth-child(-n+99),.fl-project-editor .side-panel .settings-option.option-type-colors .dropdown-item span:nth-child(n+13):nth-child(-n+99){display:none}.fl-project-editor .side-panel .settings-option.option-type-colors .color-swatches{padding:0;position:absolute;left:4px;right:26px;z-index:0;pointer-events:none}.fl-project-editor .side-panel .settings-option.option-type-colors .dropdown-item{padding:2px 0!important;width:100%}.fl-project-editor .side-panel .settings-option.option-type-colors .dropdown-item label{position:absolute;top:6px;left:8px;color:hsla(0,0%,98%,.9);pointer-events:none}.fl-project-editor .side-panel .settings-option.option-type-colors .dropdown-item span{pointer-events:none}.fl-project-editor .side-panel .settings-option.option-type-colors.custom input{opacity:0}.fl-project-editor .side-panel .settings-option.option-type-colors.custom .color-swatches{-webkit-box-align:start;align-items:flex-start}.fl-project-editor .side-panel .settings-option.option-type-colors.custom .color-swatches span{max-width:28px;pointer-events:auto;-webkit-transition:-webkit-transform .1s;transition:-webkit-transform .1s;transition:transform .1s;transition:transform .1s,-webkit-transform .1s;-webkit-transform-origin:center center;transform-origin:center center}.fl-project-editor .side-panel .settings-option.option-type-colors.custom .color-swatches span:hover{-webkit-transform:scale(1.2);transform:scale(1.2)}.fl-project-editor .side-panel .settings-option.option-type-colors.custom .color-swatches span.fa{font-size:24px;color:#ccc;margin-left:4px}.fl-project-editor .side-panel .settings-option.option-type-colors.custom .color-swatches span.fa:before{position:relative;top:2px}.fl-project-editor .side-panel .settings-option.hidden{display:none}.fl-project-editor .side-panel .settings-option.width-full{width:100%!important}.fl-project-editor .side-panel .settings-option.width-half{width:50%!important}.fl-project-editor .side-panel .settings-option.width-quarter{width:25%!important}.fl-project-editor .side-panel .settings-option.width-three-quarters{width:75%!important}.fl-project-editor .side-panel .settings-option .description-link{cursor:pointer;color:#dd4141}.fl-project-editor .side-panel .detailed-settings h2{margin-bottom:.75rem}.fl-project-editor .side-panel .detailed-settings h2:after{content:""}.fl-project-editor .side-panel .palette{max-height:calc(100vh - 210px);overflow-y:auto;padding:1px}.fl-project-editor .side-panel .palette .swatch-color,.fl-project-editor .side-panel .palette button,.fl-project-editor .side-panel .palette input[type=color]{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;display:inline-block;width:28px;height:28px;padding:0;margin:1px;border:none;outline:none;background:transparent}.fl-project-editor .side-panel .palette .swatch-color.fa-plus-square:before,.fl-project-editor .side-panel .palette button.fa-plus-square:before,.fl-project-editor .side-panel .palette input[type=color].fa-plus-square:before{font-size:32px;color:#ddd;margin-left:1px}.fl-project-editor .side-panel .palette .swatch-color.fa-times,.fl-project-editor .side-panel .palette button.fa-times,.fl-project-editor .side-panel .palette input[type=color].fa-times{position:absolute;right:0;opacity:0;color:#aaa}.fl-project-editor .side-panel .palette .swatch-color.fa-times:hover,.fl-project-editor .side-panel .palette button.fa-times:hover,.fl-project-editor .side-panel .palette input[type=color].fa-times:hover{color:#888}.fl-project-editor .side-panel .palette .swatch-color::-webkit-color-swatch-wrapper,.fl-project-editor .side-panel .palette button::-webkit-color-swatch-wrapper,.fl-project-editor .side-panel .palette input[type=color]::-webkit-color-swatch-wrapper{padding:0}.fl-project-editor .side-panel .palette .swatch-color::-webkit-color-swatch,.fl-project-editor .side-panel .palette button::-webkit-color-swatch,.fl-project-editor .side-panel .palette input[type=color]::-webkit-color-swatch{border:none}.fl-project-editor .side-panel .palette [draggable]{cursor:move;cursor:grab;cursor:-webkit-grab}.fl-project-editor .side-panel .palette [draggable]:active{cursor:grabbing;cursor:-webkit-grabbing}.fl-project-editor .side-panel .palette .swatch-handle{display:block;width:15px;height:28px;color:#ddd;position:absolute;left:1px;top:7px;text-align:center;font-size:18px;font-weight:700;line-height:5.5px;pointer-events:none}.fl-project-editor .side-panel .palette input[type=text]{width:120px;width:calc(100% - 52px);background:transparent;padding:5px 8px;border-width:0;margin:0}.fl-project-editor .side-panel .palette p{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin:0;padding:5px 5px 5px 20px;border-bottom:1px solid #eee}.fl-project-editor .side-panel .palette p:first-child{border-top:1px solid #eee}.fl-project-editor .side-panel .palette p:hover button.fa-times{opacity:.5}.fl-project-editor .side-panel .palette p:hover [draggable]:before{opacity:1}.fl-project-editor .side-panel .side-panel-top{border-top:none;border-bottom:1px solid rgba(0,0,0,.1);margin-top:0;padding:17px 10px 20px;font-size:1em}.fl-project-editor .side-panel .side-panel-top.shadow{box-shadow:3px 3px 5px rgba(0,0,0,.1)}.fl-project-editor .side-panel .side-panel-top .side-panel-top-menu .side-panel-icon-btn{color:#fff;background:#9a9a9a;padding:7px 0 0;border-radius:9999px;width:30px;height:30px;text-align:center;margin:0}.fl-project-editor .side-panel .side-panel-top .side-panel-top-menu .separator{margin:0 .4em;height:1em;border-left:1px solid rgba(0,0,0,.25);display:inline-block;vertical-align:middle}#story .fl-project-editor .side-panel .side-panel-top .side-panel-top-menu .separator{margin:0 .25em}.fl-project-editor .side-panel .current-template{margin:0;opacity:0;-webkit-transition:opacity .2s;transition:opacity .2s;position:relative;padding:10px 10px 0;min-height:56px;border-bottom:1px solid #ddd}.fl-project-editor .side-panel .current-template h1{padding-right:76px;opacity:1;font-size:12px;font-weight:400;min-height:36px;margin:0;padding-top:3px}.fl-project-editor .side-panel .current-template h1>span{display:block;font-weight:700;font-size:16px}.fl-project-editor .side-panel .current-template h3{margin-top:.7em}.fl-project-editor .side-panel .current-template h3 i{margin-left:.2em;color:rgba(0,0,0,.5)}.fl-project-editor .side-panel .current-template .current-template-title{position:relative}.fl-project-editor .side-panel .current-template .current-template-title .current-template-version{margin-left:4px;font-size:12px}.fl-project-editor .side-panel .current-template .current-template-thumbnail{position:absolute;right:-10px;top:-10px;width:76px;height:calc(100% + 19px);background-size:cover;background-position:50%;background-repeat:no-repeat}.fl-project-editor .side-panel .current-template .current-template-thumbnail:after{width:20px;height:100%;position:absolute;left:0;right:0;background:-webkit-gradient(linear,left top,right top,from(#fff),to(hsla(0,0%,100%,0)));background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0));content:"";display:block}.fl-project-editor .side-panel .template-theme button#reset-to-theme:disabled{color:#d3d3d3}@media (min-width:620px) and (max-width:819px){.fl-project-editor .side-panel .side-panel-inner{max-width:500px;margin:20px auto}}@media(min-width:820px){.fl-project-editor .side-panel{max-width:size(3.5);position:fixed;right:0;top:93px;background:#fff;overflow-y:auto;height:calc(100vh - 93px);border-left:1px solid #ddd}.fl-project-editor .side-panel .current-template{padding-top:0;min-height:46px}}.fl-project-editor .tab-preview #visualisation .editor-core{overflow:visible!important}.fl-project-editor .tab-preview.active #visualisation .editor-core{overflow:auto!important}.fl-project-editor body.full-screen .row.editor #story,.fl-project-editor body.full-screen .row.editor #visualisation{position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important}.fl-project-editor body.full-screen .row.editor #story .editor-core #preview,.fl-project-editor body.full-screen .row.editor #visualisation .editor-core #preview{width:100%!important}.fl-project-editor body.full-screen .row.editor #story #exit-full-screen,.fl-project-editor body.full-screen .row.editor #visualisation #exit-full-screen{display:block}.fl-project-editor body.loading .loading-spinner{opacity:1!important;-webkit-animation-name:spin;animation-name:spin;-webkit-animation-duration:1.2s;animation-duration:1.2s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-transform-origin:center center;transform-origin:center center}.fl-project-editor body.loading .content{min-height:100vh}.fl-project-editor body.loading .preview-holder{pointer-events:none;background-color:#f3f3f3}.fl-project-editor body.loading .preview-holder #preview{background:transparent!important}.fl-project-editor body.loading .preview-holder iframe{opacity:.1}.fl-project-editor body.loading #blank-slide,.fl-project-editor body.loading .row.data{opacity:0;pointer-events:none}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fl-project-editor #private-publishing{display:inline-block;padding-right:15px;margin-top:10px;width:100%}.fl-project-editor #private-publishing+input{width:100%;padding:5px}.fl-project-editor #private-publishing+input.hidden{display:none}.fl-project-editor #private-publishing+input.error{border-color:#dd4141}.fl-project-editor #private-publishing.upgrade-btn{width:auto;color:#999}.fl-project-editor #private-publishing.upgrade-btn:after{top:4px}.fl-annotations-source-element{position:absolute;left:-3rem;width:3rem;height:3rem;z-index:9999;background:#333;background-position:50%;background-size:40%;background-repeat:no-repeat;border:none;border-radius:100% 0 0 100%;top:.25rem;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg data-prefix=\'fas\' data-icon=\'pencil-alt\' xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 512 512\'%3E%3Cpath fill=\'%23fff\' d=\'M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z\'/%3E%3C/svg%3E")}.fl-annotations-add-element,.fl-annotations-source-element{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;pointer-events:all}.fl-annotations-add-element{display:block;border:none;margin:1rem;border-radius:2rem;color:#fff;font-weight:700;text-align:center;padding-left:1.5rem;padding-right:0;font-size:1rem;height:2.5rem;line-height:2.5rem;background:#333;background-position:.5rem;background-size:1.5rem;background-repeat:no-repeat;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 36 36\'%3E%3Cstyle%3E.fl-annotations-cursor rect{fill:%23fff}%3C/style%3E%3Cg xmlns=\'http://www.w3.org/2000/svg\' class=\'fl-annotations-cursor\' transform=\'translate(18 18)\'%3E%3Ccircle r=\'16\' style=\'transition:stroke .25s\' fill=\'none\' stroke=\'%23fff\' stroke-width=\'2\' stroke-dasharray=\'4,4\'/%3E%3Cpath fill=\'%23FFF\' d=\'M-1-6h2V6h-2z\'/%3E%3Cpath fill=\'%23FFF\' d=\'M-6-1H6v2H-6z\'/%3E%3C/g%3E%3C/svg%3E")}.fl-annotations .fl-annotations-node{pointer-events:none}.fl-annotations .fl-annotations-node.fl-connector-popup,.fl-annotations.is-editing .fl-annotations-node{pointer-events:all}.fl-annotations .fl-annotations-node.fl-marker text,.fl-annotations .fl-annotations-node.fl-point text{fill:#fff;text-anchor:middle;dominant-baseline:middle;alignment-baseline:middle;font-size:.8rem;font-weight:800}.fl-annotations .fl-annotations-node.fl-marker.selected circle{fill:#333}.fl-annotations .fl-notch{fill:none;stroke-dasharray:4,4;pointer-events:none}.fl-annotations.is-editing .fl-notch{pointer-events:all}.fl-annotations .fl-annotations-node .fl-connector,.fl-annotations .fl-annotations-node text,.fl-annotations.is-editing.is-dragging .fl-notch{pointer-events:none}.fl-annotations .fl-annotations-inline a,.fl-annotations.is-editing .fl-annotations-inline{pointer-events:all}.fl-annotations .fl-annotations-cursor{visibility:hidden;pointer-events:none}.fl-annotations.is-edit-add .fl-annotations-cursor{visibility:visible}.fl-annotations .fl-annotations-cursor circle{fill:none;stroke:#eee;stroke-width:2px;stroke-dasharray:4,4;-webkit-transition:stroke .25s;transition:stroke .25s}.fl-annotations .fl-annotations-cursor.is-valid circle{stroke:#333;-webkit-animation:cursorRotate 5s linear 0s infinite normal;animation:cursorRotate 5s linear 0s infinite normal}.fl-annotations .fl-annotations-cursor line{stroke:#eee;stroke-width:2px;-webkit-transition:stroke .25s;transition:stroke .25s}.fl-annotations .fl-annotations-cursor.is-valid line{stroke:#333}.fl-annotations .fl-annotations-cursor.inner-outline circle,.fl-annotations .fl-annotations-cursor.is-valid.inner-outline circle{stroke-dasharray:6,2;stroke-dashoffset:1}.fl-annotations .fl-annotations-cursor.inner-outline circle,.fl-annotations .fl-annotations-cursor.inner-outline line,.fl-annotations .fl-annotations-cursor.is-valid.inner-outline circle,.fl-annotations .fl-annotations-cursor.is-valid.inner-outline line{stroke:#fff;stroke-width:4px}@-webkit-keyframes cursorRotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes cursorRotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fl-project-editor .fl-annotation-list{list-style-type:none;margin:0;padding:1rem;border-bottom:1px solid #eee}.fl-project-editor .fl-annotation-list:empty{padding:0}.fl-annotation-list-wrap{background:#fff;margin:0;font-size:.8rem;max-height:10rem;overflow:auto;position:relative;box-shadow:inset 0 -10px 10px -10px rgba(0,0,0,.25);-webkit-transition:box-shadow .5s;transition:box-shadow .5s}.fl-annotation-list-wrap.scroll-end{box-shadow:inset 0 -10px 10px -10px transparent}.fl-project-editor .fl-annotation-list>li{display:-webkit-box;display:flex;position:relative;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between;list-style-type:none;line-height:1.35rem;color:#b1b1b1;cursor:pointer}.fl-project-editor .fl-annotation-list .drop-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;display:none}.fl-project-editor .fl-annotation-list.dragging .drop-overlay{display:-webkit-box;display:flex}.fl-project-editor .fl-annotation-list .drop-above,.fl-project-editor .fl-annotation-list .drop-below{-webkit-box-flex:1;flex-grow:1}.fl-project-editor .fl-annotation-list .drop-above{border-top:1px solid #fff}.fl-project-editor .fl-annotation-list .drop-below{border-bottom:1px solid #fff}.fl-project-editor .fl-annotation-list .drop-above.dropping{border-top:1px solid #666}.fl-project-editor .fl-annotation-list .drop-below.dropping{border-bottom:1px solid #666}.fl-project-editor .fl-annotation-list>li .text{display:block;overflow:hidden;text-overflow:ellipsis;-webkit-box-flex:1;flex-grow:1;white-space:nowrap}.fl-project-editor .fl-annotation-list>li .icon{display:none;margin-left:.5rem;color:#333;opacity:0;flex-shrink:0}.fl-project-editor .fl-annotation-list>li.selected .icon,.fl-project-editor .fl-annotation-list>li:hover .icon{display:inline-block;margin-left:.5rem;opacity:.5}.fl-project-editor .fl-annotation-list>li .icon:hover{opacity:1}.fl-project-editor .fl-annotation-list>li:hover{color:#000}.fl-project-editor .fl-annotation-list>li:before{content:"";width:.75rem;height:.75rem;display:inline-block;background:#b1b1b1;vertical-align:middle;margin-right:.5rem;border-radius:100%;flex-shrink:0}.fl-project-editor .fl-annotation-list>li.selected{cursor:default}.fl-project-editor .fl-annotation-list>li.selected:before{background:#333}.fl-project-editor .fl-annotation-list>li.selected .text{color:#333}.fl-annotation-list li.drag-over{background:red}.icon-pencil{width:10px;height:10px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTguNjYgNC4wODZMOS43NTYgMi45OUEuODA5LjgwOSAwIDAwMTAgMi4zOTZhLjg0NS44NDUgMCAwMC0uMjQ0LS42TDguMjA1LjI1QS44Mi44MiAwIDAwNy42MDQgMGEuNzg0Ljc4NCAwIDAwLS41OTQuMjVMNS45MTQgMS4zNCA4LjY2IDQuMDg2ek0yLjc0NiAxMGw1LjQ5Mi01LjQ5Mi0yLjc0Ni0yLjc0NkwwIDcuMjU0VjEwaDIuNzQ2em0tLjYzNC0zLjIzNGMtLjA5NyAwLS4xNDUtLjA0OS0uMTQ1LS4xNDYgMC0uMDQ0LjAxNS0uMDguMDQ2LS4xMTJsMy41NzgtMy41NzdhLjE1My4xNTMgMCAwMS4xMTItLjA0N2MuMDk3IDAgLjE0NS4wNDkuMTQ1LjE0NmEuMTUzLjE1MyAwIDAxLS4wNDYuMTEyTDIuMjI0IDYuNzE5YS4xNTMuMTUzIDAgMDEtLjExMi4wNDd6bS4yODQgMi4zOUgxLjY5VjguMzFILjg0NXYtLjcwNmwuNi0uNiAxLjU1MiAxLjU1LS42MDEuNjAxeiIgZmlsbD0iIzMzMyIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+")}.icon-clone{width:10px;height:10px;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.icon-trash{width:10px;height:10px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zy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MTU0LS4wNi4yMDkuMjA5IDAgMDEtLjA2LS4xNTRWNC4yMTRjMC0uMDYyLjAyLS4xMTQuMDYtLjE1NC4wNC0uMDQuMDkxLS4wNi4xNTQtLjA2aC40MjhjLjA2MyAwIC4xMTQuMDIuMTU0LjA2LjA0LjA0LjA2LjA5Mi4wNi4xNTRWOC45M2MwIC4wNjItLjAyLjExMy0uMDYuMTU0YS4yMDkuMjA5IDAgMDEtLjE1NC4wNnptMS43MTUgMEg3YS4yMDkuMjA5IDAgMDEtLjE1NC0uMDYuMjA5LjIwOSAwIDAxLS4wNi0uMTU0VjQuMjE0YzAtLjA2Mi4wMi0uMTE0LjA2LS4xNTQuMDQtLjA0LjA5MS0uMDYuMTU0LS4wNmguNDI5Yy4wNjIgMCAuMTEzLjAyLjE1NC4wNi4wNC4wNC4wNi4wOTIuMDYuMTU0VjguOTNjMCAuMDYyLS4wMi4xMTMtLjA2LjE1NGEuMjA5LjIwOSAwIDAxLS4xNTQuMDZ6IiBmaWxsPSIjMzMzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=")}.fl-project-editor .side-panel .help-tip{display:inline-block;position:relative;width:.7rem;height:.7rem;-webkit-transform:translateY(1px);transform:translateY(1px);opacity:.6;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBjbGFzcz0ic3ZnLWlubGluZS0tZmEgZmEtcXVlc3Rpb24tY2lyY2xlIGZhLXctMTYgZmEtM3giPjxwYXRoIGZpbGw9IiNhYWEiIGQ9Ik01MDQgMjU2YzAgMTM2Ljk5Ny0xMTEuMDQzIDI0OC0yNDggMjQ4UzggMzkyLjk5NyA4IDI1NkM4IDExOS4wODMgMTE5LjA0MyA4IDI1NiA4czI0OCAxMTEuMDgzIDI0OCAyNDh6TTI2Mi42NTUgOTBjLTU0LjQ5NyAwLTg5LjI1NSAyMi45NTctMTE2LjU0OSA2My43NTgtMy41MzYgNS4yODYtMi4zNTMgMTIuNDE1IDIuNzE1IDE2LjI1OGwzNC42OTkgMjYuMzFjNS4yMDUgMy45NDcgMTIuNjIxIDMuMDA4IDE2LjY2NS0yLjEyMiAxNy44NjQtMjIuNjU4IDMwLjExMy0zNS43OTcgNTcuMzAzLTM1Ljc5NyAyMC40MjkgMCA0NS42OTggMTMuMTQ4IDQ1LjY5OCAzMi45NTggMCAxNC45NzYtMTIuMzYzIDIyLjY2Ny0zMi41MzQgMzMuOTc2QzI0Ny4xMjggMjM4LjUyOCAyMTYgMjU0Ljk0MSAyMTYgMjk2djRjMCA2LjYyNyA1LjM3MyAxMiAxMiAxMmg1NmM2LjYyNyAwIDEyLTUuMzczIDEyLTEydi0xLjMzM2MwLTI4LjQ2MiA4My4xODYtMjkuNjQ3IDgzLjE4Ni0xMDYuNjY3IDAtNTguMDAyLTYwLjE2NS0xMDItMTE2LjUzMS0xMDJ6TTI1NiAzMzhjLTI1LjM2NSAwLTQ2IDIwLjYzNS00NiA0NiAwIDI1LjM2NCAyMC42MzUgNDYgNDYgNDZzNDYtMjAuNjM2IDQ2LTQ2YzAtMjUuMzY1LTIwLjYzNS00Ni00Ni00NnoiLz48L3N2Zz4=)}.fl-project-editor .side-panel .help-tip:hover{opacity:1}.fl-project-editor .side-panel .help-tip:after{content:attr(data-popup-body);position:absolute;bottom:100%;left:50%;-webkit-transform:translate(-50%);transform:translate(-50%)}.fl-annotations-tip{font-family:Source Sans Pro,sans-serif;max-width:15rem;background:#fff;color:#333;box-shadow:0 0 8px rgba(0,0,0,.2);border-radius:.5rem;padding:.625rem;font-size:.72rem;line-height:1.25em;position:absolute;z-index:999999;pointer-events:none}.fl-annotations-tip:after{content:"";position:absolute;bottom:-8px;left:50%;margin-left:-8px;width:0;height:0;border-color:#fff transparent transparent;border-style:solid;border-width:8px 8px 0}.fl-annotations-tip.hidden{display:none}.fl-disable-selection,.fl-disable-selection *{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.fl-project-editor{z-index:100000;overflow-y:auto;width:18rem;background:#fff;box-shadow:0 -2px 5px 0 rgba(0,0,0,.2);height:100vh;overflow:auto}.fl-project-editor .side-panel .side-panel-inner{margin:0;max-width:none}.fl-project-editor .side-panel{padding:0;background:transparent;height:auto;position:static;overflow:none}.fl-annotation-settings{border-top:1px solid #eee}.fl-annotation-contents :first-child{margin-top:0}.fl-annotation-contents :last-child{margin-bottom:0}.fl-annotation-contents a{color:inherit;-webkit-text-stroke-color:inherit}.fl-annotation-contents img{-webkit-user-drag:none;-khtml-user-drag:none;-moz-user-drag:none;-o-user-drag:none;user-drag:none;pointer-events:none}.empty-annotation-message{padding:1rem;font-size:1rem;text-align:center;color:#aaa}.fl-project-editor .fl-annotation-settings .settings-block,.fl-project-editor .fl-annotation-settings .toplevel-settings-block{display:none}.fl-project-editor.active-annotation .fl-annotation-settings .settings-block,.fl-project-editor.active-annotation .fl-annotation-settings .toplevel-settings-block{display:block}.fl-project-editor.active-annotation .fl-annotation-settings .empty-annotation-message{display:none}@media screen and (min-width:521px){.fl-annotations-add-element{display:none}}@media screen and (max-width:520px){.fl-project-editor{right:0;position:absolute}.is-edit-settings .fl-annotations-add-element,.is-edit-settings.is-editing .fl-annotations-source-element{left:-21rem}}',document.head.appendChild(S);var TB=NB;function NB(t,e){for("function"!=typeof(e="string"==typeof e?IB(e):e)&&(e=SB(e));t&&!e(t);)t=t.parentNode;return t||null}function IB(e){return e=String(e).toUpperCase(),function(t){return e===t.nodeName}}function SB(e){return function(t){return e===t}}function EB(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}var zB=EB;function LB(t){return"function"==typeof t}function DB(t){return"number"==typeof t}function CB(t){return"object"===Cg(t)&&null!==t}function OB(t){return void 0===t}(EB.EventEmitter=EB).prototype._events=void 0,EB.prototype._maxListeners=void 0,EB.defaultMaxListeners=10,EB.prototype.setMaxListeners=function(t){if(!DB(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},EB.prototype.emit=function(t){var e,n,r,i,o,a;if(this._events||(this._events={}),"error"===t&&(!this._events.error||CB(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var s=new Error('Uncaught, unspecified "error" event. ('+e+")");throw s.context=e,s}if(OB(n=this._events[t]))return!1;if(LB(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),n.apply(this,i)}else if(CB(n))for(i=Array.prototype.slice.call(arguments,1),r=(a=n.slice()).length,o=0;on&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},EB.prototype.once=function(t,e){if(!LB(e))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(t,r),n||(n=!0,e.apply(this,arguments))}return r.listener=e,this.on(t,r),this},EB.prototype.removeListener=function(t,e){var n,r,i,o;if(!LB(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(i=(n=this._events[t]).length,r=-1,n===e||LB(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(CB(n)){for(o=i;0>>((3&e)<<3)&255;return WB});for(var $B=FB,XB=[],JB=0;JB<256;++JB)XB[JB]=(JB+256).toString(16).substr(1);function KB(t,e){var e=e||0,n;return XB[t[e++]]+XB[t[e++]]+XB[t[e++]]+XB[t[e++]]+"-"+XB[t[e++]]+XB[t[e++]]+"-"+XB[t[e++]]+XB[t[e++]]+"-"+XB[t[e++]]+XB[t[e++]]+"-"+XB[t[e++]]+XB[t[e++]]+XB[t[e++]]+XB[t[e++]]+XB[t[e++]]+XB[t[e++]]}var tH=KB;function eH(t,e,n){var r=e&&n||0;"string"==typeof t&&(e="binary"==t?new Array(16):null,t=null);var i=(t=t||{}).random||(t.rng||$B)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e)for(var o=0;o<16;++o)e[r+o]=i[o];return e||tH(i)}var nH=eH,rH={origin:[0,0],content_offset:[.025,.025]},iH=function t(e,n){Og(this,t),this.id="",this.position=e,this.device_visibility="all",this.text_size=1,this.text_color="#333333",this.text_bg="#ffffff",this.text_weight="bold",this.text_line_height=1.25,this.label_width=10,this.popup_position="center",this.popup_bg="#ffffff",this.line_marker="none",this.stroke_color="#333333",this.stroke_opacity=1,this.stroke_width=2,this.subject_fill="#333333",this.point_radius=.5,this.point_text="",this.point_text_color="#FFFFFF",this.subject_fill_opacity=0,this.subject_type="none",this.connector_type="direct",this.connector_extend_line="enabled",this.contents="Type your annotation...",n&&Object.assign(this,n),this.view=Object.assign({},rH),this.view.origin=this.view.origin.slice(),this.view.content_offset=this.view.content_offset.slice()},oH,aH;function sH(){var t=new iH,t=Object.assign({},t);return delete t.view,delete t.position,delete t.id,delete t.contents,t}iH.getDefaultSettings=sH;var lH=520;function cH(){return window.innerWidth!==oH&&(oH=window.innerWidth,aH=oH<=lH),aH}function uH(t){var t=t.device_visibility;return"all"==t||("mobile"==t?cH():"desktop"!=t||!cH())}var fH=n(function(t,e){var n,r;n=i,r=function(){function r(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function t(t){var e={exports:{}};return t(e,e.exports),e.exports}var n=t(function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function n(t){e.exports.defaults=t}e.exports={defaults:t(),getDefaults:t,changeDefaults:n}}),a=/[&<>"']/,s=/[&<>"']/g,l=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},f=function t(e){return u[e]};function h(t,e){if(e){if(a.test(t))return t.replace(s,f)}else if(l.test(t))return t.replace(c,f);return t}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function g(t){return t.replace(p,function(t,e){return"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""})}var _=/(^|[^\[])\^/g;function y(r,e){r=r.source||r,e=e||"";var i={replace:function t(e,n){return n=(n=n.source||n).replace(_,"$1"),r=r.replace(e,n),i},getRegex:function t(){return new RegExp(r,e)}};return i}var v=/[^\w:]/g,m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(t,e,n){if(t){var r;try{r=decodeURIComponent(g(n)).replace(v,"").toLowerCase()}catch(t){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}e&&!m.test(n)&&(n=A(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(t){return null}return n}var x={},w=/^[^:]+:\/*[^/]*$/,M=/^([^:]+:)[\s\S]*$/,k=/^([^:]+:\/*[^/]*)[\s\S]*$/,j;function A(t,e){x[" "+t]||(w.test(t)?x[" "+t]=t+"/":x[" "+t]=I(t,"/",!0));var n=-1===(t=x[" "+t]).indexOf(":");return"//"===e.substring(0,2)?n?e:t.replace(M,"$1")+e:"/"===e.charAt(0)?n?e:t.replace(k,"$1")+e:t+e}function T(t){for(var e=1,n,r;ee)r.splice(e);else for(;r.length>=1,t+=t;return n+t}var L=h,D=g,C=y,O=b,P=A,R={exec:function t(){}},U=T,F,Y,B,H=E,Z=z,q=n.defaults,G=I,Q=N,V=L,W=S;function $(t,e,n){var r=e.href,i=e.title?V(e.title):null,e=t[1].replace(/\\([\[\]])/g,"$1");return"!"!==t[0].charAt(0)?{type:"link",raw:n,href:r,title:i,text:e}:{type:"image",raw:n,href:r,title:i,text:V(e)}}function X(t,e){var t=t.match(/^(\s+)(?:```)/);if(null===t)return e;var r=t[1];return e.split("\n").map(function(t){var e=t.match(/^\s+/),n;return null!==e&&e[0].length>=r.length?t.slice(r.length):t}).join("\n")}var J=function(){function t(t){this.options=t||q}var e=t.prototype;return e.space=function t(e){var e=this.rules.block.newline.exec(e);if(e)return 1 ?/gm,"");return{type:"blockquote",raw:n[0],text:e}}},e.list=function t(e){var e=this.rules.block.list.exec(e);if(e){for(var n=e[0],r=e[2],i=1c[1].length:l[1].length>c[0].length||3/i.test(e[0])&&(n=!1),!r&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?r=!0:r&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(r=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:n,inRawBlock:r,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):V(e[0]):e[0]}},e.link=function t(e){var n=this.rules.inline.link.exec(e);if(n){var r=n[2].trim();if(!this.options.pedantic&&/^$/.test(r))return;var e=G(r.slice(0,-1),"\\");if((r.length-e.length)%2==0)return}else{var i=W(n[2],"()"),o,a;-1$/.test(r)?i.slice(1):i.slice(1,-1):i)&&i.replace(this.rules.inline._escapes,"$1"),title:a&&a.replace(this.rules.inline._escapes,"$1")},n[0])}},e.reflink=function t(e,n){var r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){var e=(r[2]||r[1]).replace(/\s+/g," "),e;if((e=n[e.toLowerCase()])&&e.href)return $(r,e,r[0]);var r=r[0].charAt(0);return{type:"text",raw:r,text:r}}},e.strong=function t(e,n,r){void 0===r&&(r="");var i=this.rules.inline.strong.start.exec(e);if(i&&(!i[1]||i[1]&&(""===r||this.rules.inline.punctuation.exec(r)))){n=n.slice(-1*e.length);var o="**"===i[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd,a;for(o.lastIndex=0;null!=(i=o.exec(n));)if(a=this.rules.inline.strong.middle.exec(n.slice(0,i.index+3)))return{type:"strong",raw:e.slice(0,a[0].length),text:e.slice(2,a[0].length-2)}}},e.em=function t(e,n,r){void 0===r&&(r="");var i=this.rules.inline.em.start.exec(e);if(i&&(!i[1]||i[1]&&(""===r||this.rules.inline.punctuation.exec(r)))){n=n.slice(-1*e.length);var o="*"===i[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd,a;for(o.lastIndex=0;null!=(i=o.exec(n));)if(a=this.rules.inline.em.middle.exec(n.slice(0,i.index+2)))return{type:"em",raw:e.slice(0,a[0].length),text:e.slice(1,a[0].length-1)}}},e.codespan=function t(e){var n=this.rules.inline.code.exec(e);if(n){var r=n[2].replace(/\n/g," "),i=/[^ ]/.test(r),e=/^ /.test(r)&&/ $/.test(r);return i&&e&&(r=r.substring(1,r.length-1)),r=V(r,!0),{type:"codespan",raw:n[0],text:r}}},e.br=function t(e){var e=this.rules.inline.br.exec(e);if(e)return{type:"br",raw:e[0]}},e.del=function t(e){var e=this.rules.inline.del.exec(e);if(e)return{type:"del",raw:e[0],text:e[2]}},e.autolink=function t(e,n){var e=this.rules.inline.autolink.exec(e);if(e){var r,n,n="@"===e[2]?"mailto:"+(r=V(this.options.mangle?n(e[1]):e[1])):r=V(e[1]);return{type:"link",raw:e[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}},e.url=function t(e,n){var r,i,o,a;if(r=this.rules.inline.url.exec(e)){if("@"===r[2])o="mailto:"+(i=V(this.options.mangle?n(r[0]):r[0]));else{for(;a=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0],a!==r[0];);i=V(r[0]),o="www."===r[1]?"http://"+i:i}return{type:"link",raw:r[0],text:i,href:o,tokens:[{type:"text",raw:i,text:i}]}}},e.inlineText=function t(e,n,r){var e=this.rules.inline.text.exec(e);if(e){var r,r=n?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):V(e[0]):e[0]:V(this.options.smartypants?r(e[0]):e[0]);return{type:"text",raw:e[0],text:r}}},t}(),K=R,tt=C,R=U,C={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:K,table:K,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};C.def=tt(C.def).replace("label",C._label).replace("title",C._title).getRegex(),C.bullet=/(?:[*+-]|\d{1,9}[.)])/,C.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,C.item=tt(C.item,"gm").replace(/bull/g,C.bullet).getRegex(),C.listItemStart=tt(/^( *)(bull)/).replace("bull",C.bullet).getRegex(),C.list=tt(C.list).replace(/bull/g,C.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+C.def.source+")").getRegex(),C._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",C._comment=/|$)/,C.html=tt(C.html,"i").replace("comment",C._comment).replace("tag",C._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),C.paragraph=tt(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",C._tag).getRegex(),C.blockquote=tt(C.blockquote).replace("paragraph",C.paragraph).getRegex(),C.normal=R({},C),C.gfm=R({},C.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),C.gfm.nptable=tt(C.gfm.nptable).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",C._tag).getRegex(),C.gfm.table=tt(C.gfm.table).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",C._tag).getRegex(),C.pedantic=R({},C.normal,{html:tt("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",C._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:K,paragraph:tt(C.normal._paragraph).replace("hr",C.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",C.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var K={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:K,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation*\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation*\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:K,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};K.punctuation=tt(K.punctuation).replace(/punctuation/g,K._punctuation).getRegex(),K._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",K._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",K._comment=tt(C._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),K.em.start=tt(K.em.start).replace(/punctuation/g,K._punctuation).getRegex(),K.em.middle=tt(K.em.middle).replace(/punctuation/g,K._punctuation).replace(/overlapSkip/g,K._overlapSkip).getRegex(),K.em.endAst=tt(K.em.endAst,"g").replace(/punctuation/g,K._punctuation).getRegex(),K.em.endUnd=tt(K.em.endUnd,"g").replace(/punctuation/g,K._punctuation).getRegex(),K.strong.start=tt(K.strong.start).replace(/punctuation/g,K._punctuation).getRegex(),K.strong.middle=tt(K.strong.middle).replace(/punctuation/g,K._punctuation).replace(/overlapSkip/g,K._overlapSkip).getRegex(),K.strong.endAst=tt(K.strong.endAst,"g").replace(/punctuation/g,K._punctuation).getRegex(),K.strong.endUnd=tt(K.strong.endUnd,"g").replace(/punctuation/g,K._punctuation).getRegex(),K.blockSkip=tt(K._blockSkip,"g").getRegex(),K.overlapSkip=tt(K._overlapSkip,"g").getRegex(),K._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,K._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,K._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,K.autolink=tt(K.autolink).replace("scheme",K._scheme).replace("email",K._email).getRegex(),K._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,K.tag=tt(K.tag).replace("comment",K._comment).replace("attribute",K._attribute).getRegex(),K._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,K._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,K._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,K.link=tt(K.link).replace("label",K._label).replace("href",K._href).replace("title",K._title).getRegex(),K.reflink=tt(K.reflink).replace("label",K._label).getRegex(),K.reflinkSearch=tt(K.reflinkSearch,"g").replace("reflink",K.reflink).replace("nolink",K.nolink).getRegex(),K.normal=R({},K),K.pedantic=R({},K.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:tt(/^!?\[(label)\]\((.*?)\)/).replace("label",K._label).getRegex(),reflink:tt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",K._label).getRegex()}),K.gfm=R({},K.normal,{escape:tt(K.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\'+(r?e:ut(e,!0))+"\n":"
"+(r?e:ut(e,!0))+"
\n"},e.blockquote=function t(e){return"
\n"+e+"
\n"},e.html=function t(e){return e},e.heading=function t(e,n,r,i){return this.options.headerIds?"'+e+"\n":""+e+"\n"},e.hr=function t(){return this.options.xhtml?"
\n":"
\n"},e.list=function t(e,n,r){var i=n?"ol":"ul",o;return"<"+i+(n&&1!==r?' start="'+r+'"':"")+">\n"+e+"\n"},e.listitem=function t(e){return"
  • "+e+"
  • \n"},e.checkbox=function t(e){return" "},e.paragraph=function t(e){return"

    "+e+"

    \n"},e.table=function t(e,n){return"\n\n"+e+"\n"+(n=n&&""+n+"")+"
    \n"},e.tablerow=function t(e){return"\n"+e+"\n"},e.tablecell=function t(e,n){var r=n.header?"th":"td",i;return(n.align?"<"+r+' align="'+n.align+'">':"<"+r+">")+e+"\n"},e.strong=function t(e){return""+e+""},e.em=function t(e){return""+e+""},e.codespan=function t(e){return""+e+""},e.br=function t(){return this.options.xhtml?"
    ":"
    "},e.del=function t(e){return""+e+""},e.link=function t(e,n,r){if(null===(e=ct(this.options.sanitize,this.options.baseUrl,e)))return r;var e='"},e.image=function t(e,n,r){if(null===(e=ct(this.options.sanitize,this.options.baseUrl,e)))return r;var r=''+r+'":">"},e.text=function t(e){return e},t}(),dt=function(){function t(){}var e=t.prototype;return e.strong=function t(e){return e},e.em=function t(e){return e},e.codespan=function t(e){return e},e.del=function t(e){return e},e.html=function t(e){return e},e.text=function t(e){return e},e.link=function t(e,n,r){return""+r},e.image=function t(e,n,r){return""+r},e.br=function t(){return""},t}(),ht=function(){function t(){this.seen={}}var e=t.prototype;return e.serialize=function t(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.getNextSafeSlug=function t(e,n){var r=e,i=0;if(this.seen.hasOwnProperty(r))for(i=this.seen[e];r=e+"-"+ ++i,this.seen.hasOwnProperty(r););return n||(this.seen[e]=i,this.seen[r]=0),r},e.slug=function t(e,n){void 0===n&&(n={});var t=this.serialize(e);return this.getNextSafeSlug(t,n.dryrun)},t}(),pt=n.defaults,gt=D,_t=function(){function i(t){this.options=t||pt,this.options.renderer=this.options.renderer||new ft,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new dt,this.slugger=new ht}i.parse=function t(e,n){var r;return new i(n).parse(e)},i.parseInline=function t(e,n){var r;return new i(n).parseInline(e)};var t=i.prototype;return t.parse=function t(e,n){void 0===n&&(n=!0);for(var r="",i,o,a,s,l,c,u,f,d,h,f,p,g,_,y,v,m,b,x=e.length,i=0;iAn error occurred:

    "+mt(t.message+"",!0)+"
    ";throw t}}return wt.options=wt.setOptions=function(t){return yt(wt.defaults,t),bt(wt.defaults),wt},wt.getDefaults=L,wt.defaults=n,wt.use=function(s){var n=yt({},s),e;s.renderer&&function(){var a=wt.defaults.renderer||new ft,t=function t(i){var o=a[i];a[i]=function(){for(var t=arguments.length,e=new Array(t),n=0;nAn error occurred:

    "+mt(t.message+"",!0)+"
    ";throw t}},wt.Parser=_t,wt.parser=_t.parse,wt.Renderer=ft,wt.TextRenderer=dt,wt.Lexer=st,wt.lexer=st.lex,wt.Tokenizer=J,wt.Slugger=ht,wt.parse=wt},t.exports=r()}),dH={gfm:!0,breaks:!0};function hH(t){return t=String(t||""),"
    "+(t=fH(t,dH))+"
    "}var gn=function t(){var e;if("function"!=typeof Symbol)return!1;e=Symbol("test symbol");try{String(e)}catch(t){return!1}return"symbol"===Cg(Symbol.iterator)||"object"===Cg(Symbol.isConcatSpreadable)&&("object"===Cg(Symbol.iterator)&&("object"===Cg(Symbol.toPrimitive)&&("object"===Cg(Symbol.toStringTag)&&"object"===Cg(Symbol.unscopables))))},Wt=function t(){var e=Object.assign,e;return"function"==typeof e&&(e(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")},Vt=function t(){try{return Object.keys("primitive"),!0}catch(t){return!1}},pH=function t(){},gH=void 0,_H=function t(e){return e!==gH&&null!==e},yH=Object.keys,qt=function t(e){return yH(_H(e)?Object(e):e)},vH=Vt()?Object.keys:qt,mH=function t(e){if(!_H(e))throw new TypeError("Cannot use null or undefined");return e},bH=Math.max,kt=function t(n,r){var i,e,o=bH(arguments.length,2),a;for(n=Object(mH(n)),a=function t(e){try{n[e]=r[e]}catch(t){i=i||t}},e=1;eMath.abs(u)?0:h),(0 Math.abs(f)?0:p)),s<0&&(s+=c),i===l/2&&a===c/2&&(i=o,a=s),u=o-i,f=s-a;var h=o,p=s,c=sc+r.radius_pad&&(c+=r.radius_pad);var r=c/Math.sqrt(2),_;if(Math.abs(u)>r&&Math.abs(f)>r)return i=r*(o<0?-1:1),a=r*(s<0?-1:1),VH(_=d?[[[i,a],[h,p],[o,s]],[[o,s],[o+l,s]]]:[[[i,a],[h,p],[o,s]]]);if(Math.abs(u)>Math.abs(f)){var f=Math.asin(-s/c),i=Math.abs(Math.cos(f)*c)*(o<0?-1:1),y;return VH(d?[[[i,s],[o,s]],[[o,s],[o+l,s]]]:[[[i,s],[o,s]]])}var i=Math.acos(o/c),a=Math.abs(Math.sin(i)*c)*(s<0?-1:1),v;return VH(d?[[[o,a],[o,s]],[[o,s],[o+l,s]]]:[[[o,a],[o,s]]])}function VH(t){for(var e=[],n=0;nt+r.radius_pad&&(t+=r.radius_pad);var f=1;if(Math.abs(o)>t&&(0=t.height;r.classed("scroll-end",t)}}jZ.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=";var TZ={dropdown:function t(e,n){for(var r=0;r ',i.append("button").classed("cancel-setting",!0).html(o).on("click",function(){$y(this.parentNode).classed("is-null",!0),r()})),i.append("div",function(){return e.node()}).classed("color-wrapper",!0).append(function(){return e.node()}).attr("type","color").on("change",function(){e.node().value=this.value,$y(this.parentNode.parentNode).classed("is-null",!1)}).on("focus",function(){$y(this.parentNode.parentNode).classed("active",!0)}).on("blur",function(){$y(this.parentNode.parentNode).classed("active",!1)})},number:function t(e,n){e.attr("type","number"),null!=n.min&&e.attr("min",n.min),null!=n.max&&e.attr("max",n.max),n.step&&e.attr("step",n.step)},boolean:function t(e,n){e.attr("type","checkbox"),$y(e.node().parentNode).append("label").classed("slide",!0).attr("for","setting-"+n.property)},code:function t(e){e.attr("type","text"),e.attr("wrap","off"),e.on("keydown.tab",function(t){var t;9===t.keyCode&&(t.altKey||t.metaKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),t=this.selectionStart,this.value=this.value.substring(0,t)+"\t"+this.value.substring(this.selectionEnd),this.selectionEnd=t+1))})}};function NZ(t,s,f){s=IZ(s);var d=null,h={},p={},e=null,n=null,g="{}",_=s.reduce(function(t,e){return t[e.property]=e,t},{}),r=$y(t).append("div").classed("fl-project-editor",!0),l=r.append("div").classed("side-panel",!0).append("div").classed("side-panel-inner",!0);function a(){if(d){for(var t in p)"color"===p[t].type&&$y(p[t].parentNode.parentNode).classed("is-null")?d[t]=null:d[t]=p[t].value;y()}}return c(),l.node().addEventListener("change",a,!1),l.node().addEventListener("keyup",a,!1),l.node().addEventListener("paste",a,!1),{container:l.node(),root:r.node(),update:c,render:y,setActive:i,setVisible:o};function i(t){e!==(t=!!t)&&(e=t,r.classed("active-annotation",e))}function o(t){var t;n!==(t=!!t)&&(n=t,r.style("display",n?"block":"none"),(t=window.document.createEvent("UIEvents")).initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(t))}function c(){p={},h={},l.html("");var t=l.append("div").attr("class","fl-annotation-settings");t.append("p").attr("class","empty-annotation-message").text("Select an annotation or create a new annotation by clicking anywhere in the visualisation");for(var e=null,n=null,r=0,i=0;i",this._state.is_custom||this._default_template)!this._state.is_custom&&this._default_template?this.html_content+=this._default_template.replace(/\{\{((?:[^}]|\}[^}])*)\}\}/g,function(t,n){var r;if(Array.isArray(o._column_names[n])){var e=o._column_names[n];if(0==e.length)return"";r="
      ",e.forEach(function(t,e){r+="
    • "+t+": "+i[n][e]+"
    • "}),r+="
    "}else r=i[n];return void 0!==r?EZ(r):""}):this.html_content+=this._state.custom_template.replace(/\{\{((?:[^}]|\}[^}])*)\}\}/g,function(t,n){var r;return Object.keys(o._column_names).some(function(t){if(Array.isArray(o._column_names[t])){var e=o._column_names[t].indexOf(n);if(0<=e)return r=i[t][e],!0}else if(o._column_names[t]==n)return r=i[t],!0}),void 0!==r?EZ(r):""});else{i[this._title_binding]&&(this.html_content+="

    "+i[this._title_binding]+"

    ");var e={},n,r;for(n in this._column_names){if(n!=this._title_binding)if("metadata"==n){if(!Array.isArray(i.metadata))return;for(var a=0;a"+r+": "+EZ(i.metadata[a])+"")}else r=this._column_names[n],Array.isArray(r)?r.forEach(function(t,e){o.html_content+="

    "+t+": "+EZ(i[n][e])+"

    "}):e[r]||(e[r]=!0,this.html_content+="

    "+r+": "+EZ(i[n])+"

    ")}this.html_content+=""}return this.popup.html(this.html_content).draw(),t&&t(this.popup._getElement()),this}},LZ.prototype.directions=function(t){return this.popup.directions(t),this},LZ.prototype.container=function(t){return this.popup.container(t),this};var CZ="{{html}}",OZ={},PZ;function RZ(){(PZ=DZ(document.body,OZ,CZ)).addColumnNames({html:""})}var UZ=!window.Flourish||("sdk"===window.Flourish.environment||"story_editor"===window.Flourish.environment)&&!window.Flourish.is_read_only,FZ=function(){function e(t){Og(this,e),this.mode="DEFAULT",this.pos=[0,0],this.flag_editing=!1,this.flag_inside_settings_panel=!1,this.flag_inside_add_button=!1,this.flag_over_annotation_node=!1,this.flag_can_place=!1,this.body=$y(document.body),this.cursor_outline=YZ(t).classed("inner-outline",!0),this.cursor_element=YZ(t)}return Rg(e,[{key:"update",value:function t(){var e=this.getMode(),n=this.mode;this.mode=e;var r="CUSTOM_ADD"===this.mode,i="CUSTOM_DISABLED"===this.mode,i=r||i;i&&(this.cursor_outline.style("transform","translate(".concat(this.pos[0],"px, ").concat(this.pos[1],"px)")),this.cursor_element.style("transform","translate(".concat(this.pos[0],"px, ").concat(this.pos[1],"px)"))),e!==n&&(this.cursor_element.classed("is-valid",r),this.cursor_outline.classed("is-valid",r),this.body.classed("fl-cursor-custom",i),this.body.classed("fl-cursor-pointer","POINTER"===this.mode),this.body.classed("fl-cursor-default","DEFAULT"===this.mode))}},{key:"getMode",value:function t(){return!this.flag_inside_settings_panel&&!this.flag_inside_add_button&&this.flag_editing?this.flag_over_annotation_node?"POINTER":this.flag_can_place?"CUSTOM_ADD":"CUSTOM_DISABLED":"DEFAULT"}}]),e}();function YZ(t){var t=$y(t).append("g").classed("fl-annotations-cursor",!0);return t.append("circle").attr("r",16),t.append("line").attr("x1",-6).attr("x2",6),t.append("line").attr("y1",-6).attr("y2",6),t}var BZ,HZ,ZZ,qZ,GZ,QZ,VZ,WZ,$Z,XZ,JZ,KZ,tq,eq,af=[{property:"text_weight",type:"string",name:"Weight",width:"quarter",style:"buttons",choices:[["data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iN3B4IiBoZWlnaHQ9IjMwcHgiIHZpZXdCb3g9IjAgMCA3IDMwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA2My4xICg5MjQ1MikgLSBodHRwczovL3NrZXRjaC5jb20gLS0+CiAgICA8dGl0bGU+bm9ybWFsPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9Im5vcm1hbCIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZD0iTTEuMTA1OTQ3OTYsMTkgTDEuOTI1NjUwNTYsMTYuNTYwOTc1NiBMNS4wMzUzMTU5OSwxNi41NjA5NzU2IEw1Ljg0MjAwNzQzLDE5IEw3LDE5IEw0LjExMTUyNDE2LDExIEwyLjg4ODQ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type:"number",name:"Text size",width:"quarter",step:.1},{property:"label_width",step:1,min:2,max:20,type:"number",name:"Max text width",show_if:{connector_type:["none","polyline","step","direct"]}},{property:"line_marker",type:"string",width:"half",name:"Line marker",style:"buttons",show_if:{connector_type:["polyline","step","direct"]},choices:[["None","none"],["data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIzMHB4IiB2aWV3Qm94PSIwIDAgMTIgMzAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDYzLjEgKDkyNDUyKSAtIGh0dHBzOi8vc2tldGNoLmNvbSAtLT4KICAgIDx0aXRsZT5jaXJjbGUgY29weSAzPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9ImNpcmNsZS1jb3B5LTMiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJHcm91cCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNS4wMDAwMDAsIDEzLjAwMDAwMCkgcm90YXRlKC00NS4wMDAwMDApIHRyYW5zbGF0ZSgtNS4wMDAwMDAsIC0xMy4wMDAwMDApIHRyYW5zbGF0ZSgxLjAwMDAwMCwgNi4wMDAwMDApIj4KICAgICAgICAgICAgPHBvbHlnb24gaWQ9IlRyaWFuZ2xlIiBmaWxsPSIjMzMzMzMzIiBwb2ludHM9IjQgMCA4IDggMCA4Ij48L3BvbHlnb24+CiAgICAgICAgICAgIDxsaW5lIHgxPSI0IiB5MT0iOCIgeDI9IjQiIHkyPSIxNCIgaWQ9IlBhdGgtMiIgc3Ryb2tlPSIjMzMzMzMzIiBvcGFjaXR5PSIwLjIwMDAwMDAwMyIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSI+PC9saW5lPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+","arrowhead"]]},{property:"connector_extend_line",type:"string",width:"half",name:"Extend line",style:"buttons",show_if:{connector_type:["polyline","step"]},choices:[["Enable","enabled"],["Disable","disabled"]]},{property:"stroke_width",step:.25,min:0,max:4,type:"number",width:"half",name:"Stroke width",show_if:function t(e){return rq(e)||"point"!==e.subject_type&&"none"!==e.subject_type}},{property:"text_line_height",name:"Line height",type:"number",width:"half",step:.05,min:.5,max:3},{property:"popup_position",type:"string",width:"three quarters",name:"Popup position",show_if:{connector_type:"popup"},choices:[["Center","center"],["Left","left"],["Right","right"],["Top","top"],["Bottom","bottom"]]},{new_section:"Colors",property:"text_color",type:"color",name:"Text",width:"quarter"},{property:"text_bg",type:"color",name:"Text Outline",width:"quarter",show_if:{connector_type:["none","polyline","step","direct"]},optional:!0},{property:"point_text_color",type:"color",name:"Label",width:"quarter",show_if:{subject_type:"point"}},{property:"popup_bg",type:"color",width:"quarter",name:"Popup",show_if:{connector_type:"popup"}},{property:"stroke_color",type:"color",name:"Stroke",width:"quarter",show_if:function t(e){return rq(e)||"point"!==e.subject_type&&"none"!==e.subject_type}},{property:"subject_fill",type:"color",name:"Fill",width:"quarter",show_if:{subject_type:["point","circle","box"]}},{property:"subject_fill_opacity",step:.01,min:0,max:1,type:"number",width:"quarter",name:"Fill opacity",show_if:{subject_type:["circle","box"]}}],nq=[{property:"contents",type:"text",name:"Annotation text"},{property:"device_visibility",type:"text",name:"Show",description:"Choose between Always, Desktop, Mobile or Popup on mobile",style:"buttons",choices:[["Always","all"],["data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTlwe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1IDIuNDQ3NzE1MjUsNiAzLDYgWiIgaWQ9IlJlY3RhbmdsZSIgZmlsbD0iIzMzMzMzMyI+PC9wYXRoPgogICAgPC9nPgo8L3N2Zz4=","popup"]]},{property:"subject_type",type:"text",name:"Marker Type",style:"buttons",width:"full",choices:[["None","none"],["data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNnB4IiBoZWlnaHQ9IjMwcHgiIHZpZXdCb3g9IjAgMCA2IDMwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA2My4xICg5MjQ1MikgLSBodHRwczovL3NrZXRjaC5jb20gLS0+CiAgICA8dGl0bGU+cG9pbnQ8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZyBpZD0icG9pbnQiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxjaXJjbGUgaWQ9Ik92YWwiIGZpbGw9IiMzMzMzMzMiIGN4PSIzIiBjeT0iMTUiIHI9IjMiPjwvY2lyY2xlPgogICAgPC9nPgo8L3N2Zz4=","point"],["data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTZweCIgaGVpZ2h0PSIzMHB4IiB2aWV3Qm94PSIwIDAgMTYgMzAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5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0aD0iMTUiIGhlaWdodD0iMTUiPjwvcmVjdD4KICAgIDwvZz4KPC9zdmc+","box"]]},{property:"connector_type",type:"text",width:"full",name:"Connector Type",style:"buttons",choices:[["None","none"],["data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzNweCIgaGVpZ2h0PSIzMHB4IiB2aWV3Qm94PSIwIDAgMzMgMzAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDYzLjEgKDkyNDUyKSAtIGh0dHBzOi8vc2tldGNoLmNvbSAtLT4KICAgIDx0aXRsZT5jaXJjbGUgY29weTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxnIGlkPSJjaXJjbGUtY29weSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSI+CiAgICAgICAgPHBvbHlsaW5lIGlkPSJQYXRoLTIiIHN0cm9rZT0iIzMzMzMzMyIgc3Ryb2tlLXdpZHRoPSIyIiBwb2ludHM9IjUgOSAxMi4xNDIxODIxIDE2IDI4IDE2Ij48L3BvbHlsaW5lPgogICAgPC9nPgo8L3N2Zz4=","polyline"],['data:image/svg+xml,%3Csvg width="33px" height="30px" viewBox="0 0 33 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"%3E%3Cg id="circle-copy" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="square"%3E%3Cpolyline id="Path-2" stroke="%23333333" stroke-width="2" points="5 9 15 9 15 16 28 16"/%3E%3C/g%3E%3C/svg%3E',"step"],['data:image/svg+xml,%3Csvg width="33px" height="30px" viewBox="0 0 33 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"%3E%3Cg id="circle-copy" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="square"%3E%3Cpolyline id="Path-2" stroke="%23333333" stroke-width="2" points="5 9 28 16"/%3E%3C/g%3E%3C/svg%3E',"direct"],["data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzNweCIgaGVpZ2h0PSIzMHB4IiB2aWV3Qm94PSIwIDAgMzMgMzAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDYzLjEgKDkyNDUyKSAtIGh0dHBzOi8vc2tldGNoLmNvbSAtLT4KICAgIDx0aXRsZT5jaXJjbGUgY29weSAyPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9ImNpcmNsZS1jb3B5LTIiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGQ9Ik03LDUgTDI2LDUgQzI2LjU1MjI4NDcsNSAyNyw1LjQ0NzcxNTI1IDI3LDYgTDI3LDE4LjAzNjg3OTQgQzI3LDE4LjU4OTE2NDIgMjYuNTUyMjg0NywxOS4wMzY4Nzk0IDI2LDE5LjAzNjg3OTQgTDE5LjE4NzUsMTkuMDM2ODc5NCBMMTkuMTg3NSwxOS4wMzY4Nzk0IEwxNi41LDIyIEwxMy44MTI1LDE5LjAzNjg3OTQgTDcsMTkuMDM2ODc5NCBDNi40NDc3MTUyNSwxOS4wMzY4Nzk0IDYsMTguNTg5MTY0MiA2LDE4LjAzNjg3OTQgTDYsNiBDNiw1LjQ0NzcxNTI1IDYuNDQ3NzE1MjUsNSA3LDUgWiIgaWQ9IlJlY3RhbmdsZSIgZmlsbD0iIzMzMzMzMyI+PC9wYXRoPgogICAgPC9nPgo8L3N2Zz4=","popup",function(t){return"none"!==t.subject_type}]]},{property:"point_text",type:"quarter",width:"half",name:"Marker Label",show_if:{subject_type:"point"}},{property:"point_radius",type:"number",width:"half",name:"Marker Radius",step:.25,show_if:{subject_type:"point"}}].concat("Advanced").concat(af);function rq(t){return"polyline"===t.connector_type||"step"===t.connector_type||"direct"===t.connector_type}var iq=function t(e){var n=this;Og(this,t),this.tooltip=document.body.appendChild(document.createElement("div")),this.tooltip.classList.add("fl-annotations-tip"),this.tooltip.classList.add("hidden"),this.container=e,this.container.addEventListener("mouseover",function(t){var e,t;t.target.classList.contains("fl-annotations-desc")&&(n.tooltip.classList.remove("hidden"),n.tooltip.textContent=t.target.getAttribute("data-popup-body"),e=t.target.getBoundingClientRect(),t=n.tooltip.getBoundingClientRect(),n.tooltip.style.top=e.top-t.height-4+"px",n.tooltip.style.left=e.left+e.width/2-t.width/2+"px")},!1),this.container.addEventListener("mouseout",function(t){t.target.classList.contains("fl-annotations-desc")&&n.tooltip.classList.add("hidden")},!1)},oq={annotations:{},annotation_order:[],popup:{},annotation_selected_id:"",defaults:iH.getDefaultSettings()},aq={left:fq("right"),right:fq("left"),top:fq("bottom"),bottom:fq("top"),center:fq("center")},sq=function(t){Fg(a,t);var o=Gg(a);function a(t,e,n,r){var i;return Og(this,a),(i=o.call(this)).target=t,i.settings_container=e,i.rendering=!1,i.prev_annotation_ids=[],i.state=Object.assign(n,oq,Object.assign({},n)),i.state.defaults=Object.assign({},i.state.defaults),i.is_user_editable=!!UZ,i.source_element=UZ&&(r.source_element||lq(e,r.source_offset)),i.add_element=UZ&&(r.add_element||cq(e,r.add_offset)),i.settings=UZ&&NZ(e,nq,function(){i.rendering||i.update()}),r.source_element&&!UZ&&(r.source_element.style.display="none"),r.add_element&&!UZ&&(r.add_element.style.display="none"),i.settings?(i.settings.container.insertBefore(i.add_element,i.settings.container.firstChild),i._updateAnnotationList=AZ(Zg(i),i.settings.container,i.state.annotations,function(){return i.state.annotation_order}),i.settings_popup=new iq(i.settings.container)):i._updateAnnotationList=function(){},i.getDataFromCursor=r.getDataFromCursor,i.getPositionFromData=r.getPositionFromData,i.filterByData=r.filterByData||function(){return!0},i.filterByPosition=r.filterByPosition||function(){return!0},i.container_svg=t.appendChild(document.createElementNS("http://www.w3.org/2000/svg","svg")),i.container_svg.classList.add("fl-annotations","fl-ignore-svg-download"),i.container=t.appendChild(document.createElement("div")),i.container.classList.add("fl-annotations"),lZ(i.container_svg),RZ(),i.touches=UB(window,{preventSimulated:!1,filtered:!0,target:i.target}),i.touches.on("start",i._onCursorStart=i._onCursorStart.bind(Zg(i))),i.touches.on("move",i._onCursorMove=i._onCursorMove.bind(Zg(i))),i.touches.on("end",i._onCursorEnd=i._onCursorEnd.bind(Zg(i))),i.cursor=new FZ(i.container_svg),uq(Zg(i),"_is_editing",[i.container_svg,i.container,e],"is-editing",!1),uq(Zg(i),"_is_edit_settings",[i.container_svg,i.container,e],"is-edit-settings",!1),uq(Zg(i),"_is_edit_add",[i.container_svg,i.container,e],"is-edit-add",!1),uq(Zg(i),"_is_dragging",[i.container_svg,i.container,e],"is-dragging",!1),i._is_dragging_beneath=!1,i._drag_start_time=Date.now(),i._drag_start_position=[0,0],i._is_cursor_down=!1,i._dragging_id="",i._clicking_id="",i._prev_dragging_id="",i._prev_selected_id="",i._edit_mode="settings",i._ignore_next_mouseup=!1,i._getByID=pZ.getByID.bind(Zg(i)),i.update(),i}return Rg(a,[{key:"isEditing",value:function t(){return this._is_editing}},{key:"isDragging",value:function t(){return this._is_dragging}},{key:"_onCursorStart",value:function t(e,n){var r=this._findupAnnotation(e.target),i=this._findupEditorButton(e.target),o,a,s,l,c,s,i,r;this._findupEditor(e.target)&&!i||this._findupLink(e.target)||(s=!!i,l=!!r,this._is_dragging=!1,this._is_dragging_beneath=!1,this._dragging_id="",this._drag_start_time=Date.now(),this._drag_start_position[0]=n[0],this._drag_start_position[1]=n[1],s?(c=i===this.source_element,s=i===this.add_element,i=!this._is_editing||c&&"add"===this._edit_mode||s&&"settings"===this._edit_mode,this._is_editing=i,this._is_editing?(this.target.classList.add("fl-disable-selection"),c?this.setEditMode("settings"):s&&this.setEditMode("add")):(this.target.classList.remove("fl-disable-selection"),this.select(null),this.setEditMode(null)),this._ignore_next_mouseup=!0,this.render(),e.preventDefault()):l&&(r=r.getAttribute("data-annotation-id"),this._dragging_id=r,document.body.classList.add("fl-disable-selection"),this._is_editing&&pZ.getByID(r).onDragStart(e,n),this.render(),this.emit("update",this.state.annotations[this._dragging_id]),this.emit("change",this.state.annotations)))}},{key:"_onCursorMove",value:function t(e,n){var r=this._is_editing&&!this._dragging_id,i=this._is_editing&&!this._is_dragging_beneath,o=this._dragging_id&&this._is_dragging,a,i,a,i,s,l,o,c,u,f;r&&this._setCursorPosition(e,n),i?(a=n[0]-this._drag_start_position[0],i=n[1]-this._drag_start_position[1],a=Math.sqrt(a*a+i*i),i=Date.now()-this._drag_start_time,this._is_dragging_beneath=!UZ||300"+l+""),s=s.parentNode.getBoundingClientRect(),l={html:l},o=o.getPopupPosition(a.popup_position),PZ.directions(aq[a.popup_position]),PZ.point(a.view.origin[0]+o[0]+s.left,a.view.origin[1]+o[1]+s.top),PZ.draw(l)):PZ.hide()):PZ.hide()}},{key:"_setCursorPosition",value:function t(e,n){var r=this.getDataFromCursor(e,n)||null,i=r&&this.getPositionFromData(r),r=this._findupAnnotation(e.target);this.cursor.pos[0]=(i||n)[0],this.cursor.pos[1]=(i||n)[1],this.cursor.flag_editing=this.isEditMode("add"),this.cursor.flag_over_annotation_node=!!r,this.cursor.flag_inside_add_button=!!this._findupEditorButton(e.target),this.cursor.flag_inside_settings_panel=!!this._findupEditor(e.target),this.cursor.flag_can_place=!!i,this.cursor.update()}},{key:"_createAnnotation",value:function t(e){var n=nH(),r=this.state.annotations[n]=new iH(e,this.state.defaults);this.state.annotation_order.push(n),r.id=n;var e=r.subject_type;return new kZ[e](n,r,this.container,this.container_svg),this.prev_annotation_ids.push(n),this.render(),n}},{key:"_findupAnnotation",value:function t(e){return TB(e,function(t){return t.hasAttribute&&t.hasAttribute("data-annotation-id")})}},{key:"_findupEditor",value:function t(e){return UZ&&TB(e,this.settings.root)}},{key:"_findupEditorButton",value:function t(e){var n=this;return UZ&&TB(e,function(t){return t===n.source_element||t===n.add_element})}},{key:"_findupLink",value:function t(e){return!this._is_editing&&TB(e,function(t){return t&&"A"===(t.nodeName||"").toUpperCase()})}}]),a}(zB);function lq(t,e){var t=t.appendChild(document.createElement("button"));return t.classList.add("fl-annotations-source-element"),e&&(t.style.marginRight=e[0],t.style.marginTop=e[1]),t}function cq(t,e){var t=t.appendChild(document.createElement("a"));return t.classList.add("fl-annotations-add-element"),t.textContent="Add/move annotations",e&&(t.style.marginRight=e[0],t.style.marginTop=e[1]),t}function uq(t,e,n,r,i){function o(t){i!==(t=!!t)&&(i=t,a())}function a(){if(i)for(var t=0;tr.x_range[1]+r.x||e[1]>r.y_range[0]+r.y||e[1]",i+=e?""+e+": ":"",i+=n,i+=""}function TG(){return"
    "}function NG(){return"
    "}function IG(t,e,n){var r="";if(r+=TG(),r+=AG("h1",void 0,e,"color: "+(n=!FS.popup_color_headers?"inherit":n)),e in dQ.series_popup_text&&(r+=AG("h2",null,dQ.series_popup_text[e])),r+=AG("h2",dQ.labelFormat(t.label),jG(t)),"metadata"in dQ.column_names)for(var i=dQ.column_names.metadata,o=0;o"}function SG(){var t={},e;for(e in dQ.column_names)t[e]=dQ.column_names[e];return t.row_values=dQ.column_names.value,t.value_display="VALUE",t.label_formatted=t.label,delete t.label,t.SERIES="SERIES",t}function EG(t){var e=t.__data__||{},n=t.parentNode.__data__,r="row"==yq.legend_type?JQ(e.index):XQ(n.index),r=IG(e,n.name,r),e;FS.popup.is_custom?(e=Object.assign({},e,{value_display:jG(e)}),WJ.addColumnNames(SG()),WJ.point(t).draw(e)):WJ.point(t).html(r).draw()}function zG(t){var t=t*(8/Math.PI);return t<1||15=this.config.searchFloor?(i=0,this.config.searchChoices&&(i=this._searchChoices(e)),(0,j.triggerEvent)(this.passedElement,"search",{value:e,resultCount:i})):r&&(this.isSearching=!1,this.store.dispatch((0,d.activateChoices)(!0)))))}},{key:"_addEventListeners",value:function t(){document.addEventListener("keyup",this._onKeyUp),document.addEventListener("keydown",this._onKeyDown),document.addEventListener("click",this._onClick),document.addEventListener("touchmove",this._onTouchMove),document.addEventListener("touchend",this._onTouchEnd),document.addEventListener("mousedown",this._onMouseDown),document.addEventListener("mouseover",this._onMouseOver),this.isSelectOneElement&&(this.containerOuter.addEventListener("focus",this._onFocus),this.containerOuter.addEventListener("blur",this._onBlur)),this.input.addEventListener("input",this._onInput),this.input.addEventListener("paste",this._onPaste),this.input.addEventListener("focus",this._onFocus),this.input.addEventListener("blur",this._onBlur)}},{key:"_removeEventListeners",value:function t(){document.removeEventListener("keyup",this._onKeyUp),document.removeEventListener("keydown",this._onKeyDown),document.removeEventListener("click",this._onClick),document.removeEventListener("touchmove",this._onTouchMove),document.removeEventListener("touchend",this._onTouchEnd),document.removeEventListener("mousedown",this._onMouseDown),document.removeEventListener("mouseover",this._onMouseOver),this.isSelectOneElement&&(this.containerOuter.removeEventListener("focus",this._onFocus),this.containerOuter.removeEventListener("blur",this._onBlur)),this.input.removeEventListener("input",this._onInput),this.input.removeEventListener("paste",this._onPaste),this.input.removeEventListener("focus",this._onFocus),this.input.removeEventListener("blur",this._onBlur)}},{key:"_setInputWidth",value:function t(){(!this.placeholder||this.input.value&&this.input.value.length>=this.placeholder.length/1.25)&&(this.input.style.width=(0,j.getWidthOfInput)(this.input))}},{key:"_onKeyDown",value:function t(o){var e,a=this,r,i,n,s,l,e,c,u,f,d,h,p,g,_,y,v,m,b,x,w,M,e;o.target!==this.input&&!this.containerOuter.contains(o.target)||(r=o.target,i=this.store.getItemsFilteredByActive(),n=this.input===document.activeElement,s=this.dropdown.classList.contains(this.config.classNames.activeState),l=this.itemList&&this.itemList.children,e=String.fromCharCode(o.keyCode),c=46,u=8,f=13,d=65,h=27,p=38,g=40,_=33,y=34,v=o.ctrlKey||o.metaKey,this.isTextElement||!/[a-zA-Z0-9-_ ]/.test(e)||s||this.showDropdown(!0),this.canSearch=this.config.searchEnabled,b=function t(){var e,n,e;a.isTextElement&&r.value&&(e=a.input.value,a._canAddItem(i,e).response&&(s&&a.hideDropdown(),a._addItem(e),a._triggerChange(e),a.clearInput())),r.hasAttribute("data-button")&&(a._handleButtonAction(i,r),o.preventDefault()),s?(o.preventDefault(),(e=a.dropdown.querySelector("."+a.config.classNames.highlightedState))&&(i[0]&&(i[0].keyCode=13),a._handleChoiceAction(i,e))):a.isSelectOneElement&&(s||(a.showDropdown(!0),o.preventDefault()))},x=function t(){s&&(a.toggleDropdown(),a.containerOuter.focus())},w=function t(){var e,n,r,i,r;(s||a.isSelectOneElement)&&(s||a.showDropdown(!0),a.canSearch=!1,e=40===o.keyCode||34===o.keyCode?1:-1,r=void 0,(r=o.metaKey||34===o.keyCode||33===o.keyCode?0this.highlightPosition?r[this.highlightPosition]:r[r.length-1])||r[0],n.classList.add(this.config.classNames.highlightedState),n.setAttribute("aria-selected","true"),this.containerOuter.setAttribute("aria-activedescendant",n.id))}},{key:"_addItem",value:function t(e){var n=1