From 2e82532f3f768f57fd33148a8034d73a17f432b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=86ndra=20Rininsland?=
Date: Thu, 7 Oct 2021 14:26:14 +0100
Subject: [PATCH] Removes sourcemaps URLs from site/ files Fixes #71.
---
site/embedded.js | 1 -
site/script.js | 1 -
site/sdk.css | 2 +-
3 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/site/embedded.js b/site/embedded.js
index 1d6ca49..6b05855 100644
--- a/site/embedded.js
+++ b/site/embedded.js
@@ -1,2 +1 @@
!function(){"use strict";var e,t;function n(){if(null==e){var t=function(){var e=window.location;"about:srcdoc"==e.href&&(e=window.parent.location);var t={};return function(e,n,i){for(;i=n.exec(e);)t[decodeURIComponent(i[1])]=decodeURIComponent(i[2])}(e.search.substring(1).replace(/\+/g,"%20"),/([^&=]+)=?([^&]*)/g),t}();e="referrer"in t?/^https:\/\/medium.com\//.test(t.referrer):!("auto"in t)}return e}function i(e){var t=e||window.innerWidth;return t>999?650:t>599?575:400}function r(e,n){if(window.top!==window.self){var i=window;if("srcdoc"==i.location.pathname&&(i=i.parent),t)return e=parseInt(e,10),void i.parent.postMessage({sentinel:"amp",type:"embed-size",height:e},"*");var r={sender:"Flourish",context:"iframe.resize",method:"resize",height:e,src:i.location.toString()};if(n)for(var o in n)r[o]=n[o];i.parent.postMessage(JSON.stringify(r),"*")}}function o(){return(-1!==navigator.userAgent.indexOf("Safari")||-1!==navigator.userAgent.indexOf("iPhone"))&&-1==navigator.userAgent.indexOf("Chrome")}function a(e){window.addEventListener("message",(function(t){if(null!=t.source&&(t.origin===document.location.origin||t.origin.match(/\/\/localhost:\d+$|\/\/flourish-api\.com$|\.flourish\.(?:local(:\d+)?|net|rocks|studio)$|\.uri\.sh$/))){var n;try{n=JSON.parse(t.data)}catch(e){return void console.warn("Unexpected non-JSON message: "+JSON.stringify(t.data))}if("Flourish"===n.sender){for(var i=document.querySelectorAll("iframe"),r=0;r=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function o(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),o=0;o>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=g.exec(t))?C(parseInt(e[1],16)):(e=m.exec(t))?new D(e[1],e[2],e[3],1):(e=y.exec(t))?new D(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=_.exec(t))?k(e[1],e[2],e[3],e[4]):(e=w.exec(t))?k(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=b.exec(t))?T(e[1],e[2]/100,e[3]/100,1):(e=x.exec(t))?T(e[1],e[2]/100,e[3]/100,e[4]):A.hasOwnProperty(t)?C(A[t]):"transparent"===t?new D(NaN,NaN,NaN,0):null}function C(t){return new D(t>>16&255,t>>8&255,255&t,1)}function k(t,e,n,r){return r<=0&&(t=e=n=NaN),new D(t,e,n,r)}function S(t){return t instanceof l||(t=E(t)),t?new D((t=t.rgb()).r,t.g,t.b,t.opacity):new D}function N(t,e,n,r){return 1===arguments.length?S(t):new D(t,e,n,null==r?1:r)}function D(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function F(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function T(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new B(t,e,n,r)}function M(t){if(t instanceof B)return new B(t.h,t.s,t.l,t.opacity);if(t instanceof l||(t=E(t)),!t)return new B;if(t instanceof B)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,u=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n0&&u<1?0:a,new B(a,s,u,t.opacity)}function B(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function L(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}s(l,E,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),s(D,N,u(l,{brighter:function(t){return t=null==t?f:Math.pow(f,t),new D(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?c:Math.pow(c,t),new D(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+F(this.r)+F(this.g)+F(this.b)},toString:function(){var t=this.opacity;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+")")}})),s(B,(function(t,e,n,r){return 1===arguments.length?M(t):new B(t,e,n,null==r?1:r)}),u(l,{brighter:function(t){return t=null==t?f:Math.pow(f,t),new B(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?c:Math.pow(c,t),new B(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new D(L(t>=240?t-240:t+120,i,r),L(t,i,r),L(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var q=Math.PI/180,O=180/Math.PI,R=.96422,P=.82521,j=4/29,I=6/29,U=3*I*I;function H(t){if(t instanceof z)return new z(t.l,t.a,t.b,t.opacity);if(t instanceof J){if(isNaN(t.h))return new z(t.l,0,0,t.opacity);var e=t.h*q;return new z(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof D||(t=S(t));var n,r,i=$(t.r),o=$(t.g),a=$(t.b),s=X((.2225045*i+.7168786*o+.0606169*a)/1);return i===o&&o===a?n=r=s:(n=X((.4360747*i+.3850649*o+.1430804*a)/R),r=X((.0139322*i+.0971045*o+.7141733*a)/P)),new z(116*s-16,500*(n-s),200*(s-r),t.opacity)}function z(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function X(t){return t>.008856451679035631?Math.pow(t,1/3):t/U+j}function W(t){return t>I?t*t*t:U*(t-j)}function V(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function $(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function G(t){if(t instanceof J)return new J(t.h,t.c,t.l,t.opacity);if(t instanceof z||(t=H(t)),0===t.a&&0===t.b)return new J(NaN,0,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*O;return new J(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function J(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}s(z,(function(t,e,n,r){return 1===arguments.length?H(t):new z(t,e,n,null==r?1:r)}),u(l,{brighter:function(t){return new z(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new z(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new D(V(3.1338561*(e=R*W(e))-1.6168667*(t=1*W(t))-.4906146*(n=P*W(n))),V(-.9787684*e+1.9161415*t+.033454*n),V(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),s(J,(function(t,e,n,r){return 1===arguments.length?G(t):new J(t,e,n,null==r?1:r)}),u(l,{brighter:function(t){return new J(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new J(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return H(this).rgb()}}));var Y=-.14861,K=1.78277,Z=-.29227,Q=-.90649,tt=1.97294,et=tt*Q,nt=tt*K,rt=K*Z-Q*Y;function it(t){if(t instanceof ot)return new ot(t.h,t.s,t.l,t.opacity);t instanceof D||(t=S(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(rt*r+et*e-nt*n)/(rt+et-nt),o=r-i,a=(tt*(n-i)-Z*o)/Q,s=Math.sqrt(a*a+o*o)/(tt*i*(1-i)),u=s?Math.atan2(a,o)*O-120:NaN;return new ot(u<0?u+360:u,s,i,t.opacity)}function ot(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function at(t){return function(){return t}}function st(t){return 1==(t=+t)?ut:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):at(isNaN(e)?n:e)}}function ut(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):at(isNaN(t)?e:t)}s(ot,(function(t,e,n,r){return 1===arguments.length?it(t):new ot(t,e,n,null==r?1:r)}),u(l,{brighter:function(t){return t=null==t?f:Math.pow(f,t),new ot(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?c:Math.pow(c,t),new ot(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*q,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new D(255*(e+n*(Y*r+K*i)),255*(e+n*(Z*r+Q*i)),255*(e+n*(tt*r)),this.opacity)}}));var lt=function t(e){var n=st(e);function r(t,e){var r=n((t=N(t)).r,(e=N(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=ut(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function ct(t,e){return e-=t=+t,function(n){return t+e*n}}var ft=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,pt=new RegExp(ft.source,"g");function dt(t,e){var n,r,i,o=ft.lastIndex=pt.lastIndex=0,a=-1,s=[],u=[];for(t+="",e+="";(n=ft.exec(t))&&(r=pt.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:ct(n,r)})),o=pt.lastIndex;return o180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:ct(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,u),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:ct(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,u),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:ct(t,n)},{i:s-2,x:ct(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,u),o=a=null,function(t){for(var e,n=-1,r=u.length;++n=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),Ct.hasOwnProperty(e)?{space:Ct[e],local:t}:t}function St(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Et&&e.documentElement.namespaceURI===Et?e.createElement(t):e.createElementNS(n,t)}}function Nt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Dt(t){var e=kt(t);return(e.local?Nt:St)(e)}function Ft(){}function Tt(t){return null==t?Ft:function(){return this.querySelector(t)}}function Mt(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Bt(){return[]}function Lt(t){return null==t?Bt:function(){return this.querySelectorAll(t)}}function qt(t){return function(){return this.matches(t)}}function Ot(t){return function(e){return e.matches(t)}}var Rt=Array.prototype.find;function Pt(){return this.firstElementChild}var jt=Array.prototype.filter;function It(){return this.children}function Ut(t){return new Array(t.length)}function Ht(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function zt(t){return function(){return t}}function Xt(t,e,n,r,i,o){for(var a,s=0,u=e.length,l=o.length;se?1:t>=e?0:NaN}function Gt(t){return function(){this.removeAttribute(t)}}function Jt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Yt(t,e){return function(){this.setAttribute(t,e)}}function Kt(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Zt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Qt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function te(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function ee(t){return function(){this.style.removeProperty(t)}}function ne(t,e,n){return function(){this.style.setProperty(t,e,n)}}function re(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function ie(t,e){return t.style.getPropertyValue(e)||te(t).getComputedStyle(t,null).getPropertyValue(e)}function oe(t){return function(){delete this[t]}}function ae(t,e){return function(){this[t]=e}}function se(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function ue(t){return t.trim().split(/^|\s+/)}function le(t){return t.classList||new ce(t)}function ce(t){this._node=t,this._names=ue(t.getAttribute("class")||"")}function fe(t,e){for(var n=le(t),r=-1,i=e.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function De(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Le=[null];function qe(t,e){this._groups=t,this._parents=e}function Oe(){return new qe([[document.documentElement]],Le)}function Re(t){return"string"==typeof t?new qe([[document.querySelector(t)]],[document.documentElement]):new qe([[t]],Le)}qe.prototype=Oe.prototype={constructor:qe,select:function(t){"function"!=typeof t&&(t=Tt(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=b&&(b=w+1);!(_=g[b])&&++b=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=$t);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?ee:"function"==typeof e?re:ne)(t,e,null==n?"":n)):ie(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?oe:"function"==typeof e?se:ae)(t,e)):this.node()[t]},classed:function(t,e){var n=ue(t+"");if(arguments.length<2){for(var r=le(this.node()),i=-1,o=n.length;++i=0&&e._call.call(null,t),e=e._next;--Ie}()}finally{Ie=0,function(){var t,e,n=Pe,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Pe=e);je=t,tn(r)}(),Xe=0}}function Qe(){var t=Ve.now(),e=t-ze;e>1e3&&(We-=e,ze=t)}function tn(t){Ie||(Ue&&(Ue=clearTimeout(Ue)),t-Xe>24?(t<1/0&&(Ue=setTimeout(Ze,t-Ve.now()-We)),He&&(He=clearInterval(He))):(He||(ze=Ve.now(),He=setInterval(Qe,1e3)),Ie=1,$e(Ze)))}function en(t,e,n){var r=new Ye;return e=null==e?0:+e,r.restart((n=>{r.stop(),t(n+e)}),e,n),r}Ye.prototype=Ke.prototype={constructor:Ye,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Ge():+n)+(null==e?0:+e),this._next||je===this||(je?je._next=this:Pe=this,je=this),this._call=t,this._time=n,tn()},stop:function(){this._call&&(this._call=null,this._time=1/0,tn())}};var nn=n("start","end","cancel","interrupt"),rn=[];function on(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)}function a(o){var l,c,f,p;if(1!==n.state)return u();for(l in i)if((p=i[l]).name===n.name){if(3===p.state)return en(a);4===p.state?(p.state=6,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete i[l]):+l0)throw new Error("too late; already scheduled");return n}function sn(t,e){var n=un(t,e);if(n.state>3)throw new Error("too late; already running");return n}function un(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function ln(t,e){var n,r;return function(){var i=sn(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?an:sn;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var Dn=Oe.prototype.constructor;function Fn(t){return function(){this.style.removeProperty(t)}}function Tn(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Mn(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&Tn(t,o,n)),r}return o._value=e,o}function Bn(t){return function(e){this.textContent=t.call(this,e)}}function Ln(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Bn(r)),e}return r._value=t,r}var qn=0;function On(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Rn(){return++qn}var Pn=Oe.prototype;On.prototype=function(t){return Oe().transition(t)}.prototype={constructor:On,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Tt(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}(this,t)}))},Oe.prototype.transition=function(t){var e,n;t instanceof On?(e=t._id,t=t._name):(e=Rn(),(n=jn).time=Ge(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o=o?u=!0:10===(r=t.charCodeAt(a++))?l=!0:13===r&&(l=!0,10===t.charCodeAt(a)&&++a),t.slice(i+1,e-1).replace(/""/g,'"')}for(;a=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),Kn.hasOwnProperty(e)?{space:Kn[e],local:t}:t}function Qn(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Yn&&e.documentElement.namespaceURI===Yn?e.createElement(t):e.createElementNS(n,t)}}function tr(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function er(t){var e=Zn(t);return(e.local?tr:Qn)(e)}function nr(){}function rr(t){return null==t?nr:function(){return this.querySelector(t)}}function ir(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function or(){return[]}function ar(t){return function(e){return e.matches(t)}}var sr=Array.prototype.find;function ur(){return this.firstElementChild}var lr=Array.prototype.filter;function cr(){return this.children}function fr(t){return new Array(t.length)}function pr(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function dr(t){return function(){return t}}function hr(t,e,n,r,i,o){for(var a,s=0,u=e.length,l=o.length;se?1:t>=e?0:NaN}function yr(t){return function(){this.removeAttribute(t)}}function _r(t){return function(){this.removeAttributeNS(t.space,t.local)}}function wr(t,e){return function(){this.setAttribute(t,e)}}function br(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function xr(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Ar(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Er(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Cr(t){return function(){this.style.removeProperty(t)}}function kr(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Sr(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Nr(t,e){return t.style.getPropertyValue(e)||Er(t).getComputedStyle(t,null).getPropertyValue(e)}function Dr(t){return function(){delete this[t]}}function Fr(t,e){return function(){this[t]=e}}function Tr(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Mr(t){return t.trim().split(/^|\s+/)}function Br(t){return t.classList||new Lr(t)}function Lr(t){this._node=t,this._names=Mr(t.getAttribute("class")||"")}function qr(t,e){for(var n=Br(t),r=-1,i=e.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function Qr(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var ii,oi,ai,si,ui,li=[null];function ci(t,e){this._groups=t,this._parents=e}function fi(t){return"string"==typeof t?new ci([[document.querySelector(t)]],[document.documentElement]):new ci([[t]],li)}function pi(t){return"string"==typeof t?new ci([document.querySelectorAll(t)],[document.documentElement]):new ci([null==t?[]:ir(t)],li)}function di(){if(!ai)return null;var t=ai.nodes()[1].value;if("custom"===si&&""!=t){var e=parseInt(t,10);return isNaN(e)?null:e}return null}function hi(){ui&&ui.preview_pane&&ui.preview_pane.setFixedHeight&&ui.preview_pane.setFixedHeight(di())}function vi(t){si=t,hi(),"custom"===t?(fi("#editor-custom-inputs").style("opacity",1),fi(".preview-holder").style("width",ai.nodes()[0].value+"px").select("iframe").style("width",ai.nodes()[0].value+"px")):(fi("#editor-custom-inputs").style("opacity",0),fi(".preview-holder").attr("style",null).select("iframe").style("width",null)),pi("#preview-menu .preview-mode").classed("selected",(function(){return this.id=="editor-"+t})),fi("#editor-rotate").classed("active",(function(){return"auto"!==t})),fi(".row.editor").classed("mobile",(function(){return"mobile"==t})),fi(".row.editor").classed("tablet",(function(){return"tablet"==t})),fi(".preview-holder").on("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd transitionend",mi),ii=t}function gi(t){return ui=t,ai=pi("#editor-custom-inputs input"),mi(),pi("#preview-menu .preview-mode").on("click",(function(){vi(this.getAttribute("data-target"))})),ai.on("change",(function(){vi(this.getAttribute("data-target"))})),vi("auto"),function(){var t,e,n=document.querySelector("#resize-handle"),r=document.querySelector(".preview-holder");function i(i){"editor-custom"!==i.target.parentElement.id&&(t=r.getBoundingClientRect().width,n.parentElement.parentElement.querySelector("#resize-overlay").classList.add("dragging"),n.parentElement.classList.add("dragging"),e=i.clientX,fi(".preview-holder").style("transition","none"),vi("custom"),document.addEventListener("mousemove",o),document.addEventListener("mouseup",a),i.preventDefault())}function o(n){var i=n.clientX-e,o=t+2*i;r.style.width=o+"px",r.querySelector("iframe").style.width=o-4+"px",mi(),ui.preview_pane.resize()}function a(){t=r.getBoundingClientRect().width,fi(".preview-holder").style("transition",null),n.parentElement.parentElement.querySelector("#resize-overlay").classList.remove("dragging"),n.parentElement.classList.remove("dragging"),mi(),ui.preview_pane.resize(),document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",a)}n.addEventListener("mousedown",i)}(),window.innerWidth<=768&&(oi="auto"),window.addEventListener("resize",(function(){ii&&mi(),window.innerWidth<=768?oi||(oi=ii,vi("auto")):oi&&(vi(oi),oi=null),ui.preview_pane.resize()})),{getHeightSetting:di}}function mi(){var t=fi(".preview-holder").node().getBoundingClientRect();ai.nodes()[0].value=Math.round(t.width),""!==ai.nodes()[1].value&&"custom"===si&&(ai.nodes()[1].value=Math.round(t.height))}ci.prototype=function(){return new ci([[document.documentElement]],li)}.prototype={constructor:ci,select:function(t){"function"!=typeof t&&(t=rr(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=b&&(b=w+1);!(_=g[b])&&++b=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=mr);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?Cr:"function"==typeof e?Sr:kr)(t,e,null==n?"":n)):Nr(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Dr:"function"==typeof e?Tr:Fr)(t,e)):this.node()[t]},classed:function(t,e){var n=Mr(t+"");if(arguments.length<2){for(var r=Br(this.node()),i=-1,o=n.length;++it-5?[Math.min(-10,t-l-5),-10*o,Math.min(bi,t-l),-15*o]:[-10,-10*o,bi,-10*o]}}function Ci(t,e,n,r,i,o,a){var s=r-e/2-xi,u=r+e/2+xi,l=e/2+Math.min(0,s-i.top)+Math.max(0,u-i.bottom);return{pos:[a,l],shape:l-bi<5?[-15*o,-l,-10*o,Math.max(bi,5-l)]:l+bi>e-5?[-10*o,Math.min(-10,e-l-5),-15*o,Math.min(bi,e-l)]:[-10*o,-10,-10*o,bi]}}function ki(t,e,n,r,i,o){var a=Ai[t](e,n,r,i,o),s=r-wi-a.pos[0],u=i-wi-a.pos[1];return{left:s,top:u,right:s+e+50,bottom:u+n+50}}function Si(t,e,n){var r,i=document.createElementNS("http://www.w3.org/2000/svg",t);if(e)for(r in e)i.setAttribute(r,e[r]);var o=i.style;if(n)for(r in n)o[r]=n[r];return i}function Ni(){return yi||((yi=document.createElement("div")).id="flourish-popup-constrainer",(_i=yi.style).overflow="hidden",_i.pointerEvents="none",_i.position="absolute",_i.left="0",_i.top="0",_i.margin="0",_i.padding="0",document.body.appendChild(yi),this._resizeConstrainer(),yi)}Ai.bottom=function(t,e){return{shape:[-10,-10,bi,-10],pos:[t/2,e+xi]}},Ai.top=function(t,e){return{shape:[-10,xi,bi,xi],pos:[t/2,-10]}},Ai.left=function(t,e){return{shape:[xi,bi,xi,-10],pos:[-10,e/2]}},Ai.right=function(t,e){return{shape:[-10,bi,-10,-10],pos:[t+xi,e/2]}},Ai.topLeft=function(t,e){return{shape:[15,xi,xi,15],pos:[-10,-10]}},Ai.bottomLeft=function(t,e){return{shape:[15,-10,xi,-15],pos:[-10,e+xi]}},Ai.topRight=function(t,e){return{shape:[-15,xi,-10,15],pos:[t+xi,-10]}},Ai.bottomRight=function(t,e){return{shape:[-15,-10,-10,-15],pos:[t+xi,e+xi]}},Ai.bottomFlexible=function(t,e,n,r,i){return Ei(t,0,n,0,i,1,e+xi)},Ai.topFlexible=function(t,e,n,r,i){return Ei(t,0,n,0,i,-1,-10)},Ai.rightFlexible=function(t,e,n,r,i){return Ci(0,e,0,r,i,1,t+xi)},Ai.leftFlexible=function(t,e,n,r,i){return Ci(0,e,0,r,i,-1,-10)};var Di,Fi=1,Ti={container:document.body,maxWidth:"70%",point:null,html:null,directions:["bottom","top","left","right","topLeft","bottomLeft","topRight","bottomRight","bottomFlexible","topFlexible","leftFlexible","rightFlexible"],fallbackFit:"horizontal"};function Mi(){for(var t in this.unique_id=Fi++,this.is_visible=!0,Ti)this["_"+t]=Ti[t];this.handlers={click:[]}}function Bi(t){Mi.prototype[t]=function(e){return void 0===e?this["_"+t]:(this["_"+t]=e,this)}}for(var Li in Ti)Bi(Li);function qi(){return new Mi}function Oi(){Di=qi().container(document.body),function(t){t.on("mouseover",Ri).on("mouseout",Pi)}(pi(".popup"))}function Ri(){if(this.getAttribute("data-popup-head")||this.getAttribute("data-popup-body")){var t=this.getAttribute("data-popup-position"),e=this.getBoundingClientRect(),n=e.left+e.width/2,r=e.top+e.height,i=this.getAttribute("data-popup-head")||null,o=this.getAttribute("data-popup-body")||null,a="",s=["top","topFlexible"];i&&(a+=""+i+" "),o&&(a+=""+o+"
"),t&&("left"===t?(s=["right","rightFlexible"],n=e.left,r=e.top+e.height/2):"right"===t?(s=["left","leftFlexible"],n=e.right,r=e.top+e.height/2):"top"===t?(s=["bottom","bottomFlexible"],n=e.left+e.width/2,r=e.top):"bottom"===t&&(s=["top","topFlexible"],n=e.left+e.width/2,r=e.top+e.height)),Di.point(n,r).html(a).directions(s).draw()}}function Pi(){Di.hide()}function ji(t){if(t=t.toUpperCase(),!/^[A-Z]+$/.test(t))throw new Error("Invalid column spec: "+t);for(var e=0,n=0;n0;){var n=Math.floor(t/26),r=t%26;0==r&&(n-=1,r+=26),e=String.fromCharCode(64+r)+e,t=n}return e}function Ui(t){var e=t.match(/\s*(?:[-–—:]|\.\.)\s*/);if(!e)throw new Error("Failed to parse column range: "+t);for(var n=t.substr(0,e.index),r=t.substr(e.index+e[0].length),i=ji(n),o=ji(r),a=[],s=o>=i?1:-1,u=Math.abs(o-i)+1,l=0;l0&&t[i]==t[i-1]+1?n=t[i]:(void 0!==e&&r.push([e,n]),e=n=t[i]);return void 0!==e&&r.push([e,n]),r}(t),n=[],r=0;r]/g,(function(t){return{"&":"&","<":"<",">":">"}[t]})),this},Mi.prototype.on=function(t,e){if(!(t in this.handlers))throw new Error("Popup.on: No such event: "+t);return this.handlers[t].push(e),this},Mi.prototype.fire=function(t,e){if(!(t in this.handlers))throw new Error("Popup.fire: No such event: "+t);for(var n=this.handlers[t],r=0;ri.right&&(n=i.right),ri.bottom&&(r=i.bottom);var o=n-e.left,a=r-e.top,s=t._getElement(),u=s.style,l=s.querySelector(".flourish-popup-svg"),c=l.querySelector("g"),f=c.querySelector("rect"),p=c.querySelector("path"),d=s.querySelector(".flourish-popup-content");u.display="block",t._getConstrainer().style.display="block",d.style.maxWidth=function(e){return t._maxWidth.match(/^\d+(?:\.\d+)?%$/)?e.width*parseFloat(t._maxWidth)/100:t._maxWidth.match(/^\d+(?:\.\d+)?(?:px)?$/)?parseFloat(t._maxWidth):(null!=t._maxWidth&&console.error("Popup: Unknown value for maxWidth: "+t._maxWidth),e.width)}(i)+"px",t._inner_html!=t._html&&(d.innerHTML=t._inner_html=t._html);var h,v,g=d.getBoundingClientRect();do{h=Math.ceil(g.width),v=Math.ceil(g.height),u.width=h+50+"px",u.height=v+50+"px",g=d.getBoundingClientRect()}while(h!=Math.ceil(g.width)||v!=Math.ceil(g.height));f.setAttribute("width",h),f.setAttribute("height",v),l.setAttribute("width",h+50),l.setAttribute("height",v+50);for(var m,y,_=null,w=null,b=null,x=1/0,A=1/0,E=0;E-1,o={type:e.type};if("column"==o.type?o.column=i?t.value:r+"::"+t.value:o.columns=i?t.value:r+"::"+t.value,e.optional&&!t.value)n=null;else{try{n=zi(o,Wi.visualisation.getDataTableIds())}catch(e){return console.error("Failed to parse data binding",e),t.value=t.getAttribute("data-value"),void Di.point(t).text("Invalid column specification").draw()}if(!n.data_table_id)return t.value=t.getAttribute("data-value"),void Di.point(t).text("No such data table").draw()}var a={};a[e.dataset]={},a[e.dataset][e.key]=n,no(a,(function(){t.setAttribute("data-value",t.value),Wi.preview_pane.updateData((function(e){if(e){var n=t.value&&-1!==t.value.indexOf(/[,-]/)?"these columns":"this column";Di.point(t).text("One or more values in "+n+" are causing an error").draw(),t.value=t.getAttribute("data-value")}})),Wi.spreadsheet&&Wi.spreadsheet.updateHighlights(),Wi.template_settings&&Wi.template_settings.populate()}))}function io(t){Wi=t,Vi=fi(".side-panel .data-bindings"),Wi.data_bindings={update:function(t){t&&(Wi.template_data_bindings=t),to(Wi.visualisation,Wi.template_data_bindings)},modify:function(t){no(t,(function(){to(Wi.visualisation,Wi.template_data_bindings)}))}},fi(".add-data-binding h2").on("click",Qi)}function oo(){if(null==$i){var t=function(){var t=window.location;"about:srcdoc"==t.href&&(t=window.parent.location);var e={};return function(t,n,r){for(;r=n.exec(t);)e[decodeURIComponent(r[1])]=decodeURIComponent(r[2])}(t.search.substring(1).replace(/\+/g,"%20"),/([^&=]+)=?([^&]*)/g),e}();$i="referrer"in t?/^https:\/\/medium.com\//.test(t.referrer):!("auto"in t)}return $i}function ao(t){var e=t||window.innerWidth;return e>999?650:e>599?575:400}function so(t,e){if(window.top!==window.self){var n=window;if("srcdoc"==n.location.pathname&&(n=n.parent),Gi)return t=parseInt(t,10),void n.parent.postMessage({sentinel:"amp",type:"embed-size",height:t},"*");var r={sender:"Flourish",context:"iframe.resize",method:"resize",height:t,src:n.location.toString()};if(e)for(var i in e)r[i]=e[i];n.parent.postMessage(JSON.stringify(r),"*")}}function uo(){return(-1!==navigator.userAgent.indexOf("Safari")||-1!==navigator.userAgent.indexOf("iPhone"))&&-1==navigator.userAgent.indexOf("Chrome")}function lo(t){window.addEventListener("message",(function(e){if(null!=e.source&&(e.origin===document.location.origin||e.origin.match(/\/\/localhost:\d+$|\/\/flourish-api\.com$|\.flourish\.(?:local(:\d+)?|net|rocks|studio)$|\.uri\.sh$/))){var n;try{n=JSON.parse(e.data)}catch(t){return void console.warn("Unexpected non-JSON message: "+JSON.stringify(e.data))}if("Flourish"===n.sender){for(var r=document.querySelectorAll("iframe"),i=0;i=200&&r.status<300)n(null,r);else try{var e=JSON.parse(r.responseText).error;n(e,r)}catch(e){n(new Error("POST "+t+" received status code: "+r.status),r)}},r.open("POST",t,!0),r.send(i)}function Fo(){return{setup:Co,addButton:ko,startUpload:No}}function To(t,e,n){for(var r in e||(e=[]),n||(n={}),t)e.push(r),"object"==typeof t[r]&&To(t[r],e,n),n[e.join(".")]=t[r],e.pop();return n}function Mo(t){var e={};for(var n in t){for(var r=e,i=n.indexOf("."),o=0;i>=0;i=n.indexOf(".",o=i+1)){var a=n.substring(o,i);a in r||(r[a]={}),r=r[a]}r[n.substring(o)]=t[n]}return e}function Bo(t){if(null==t)return t;var e,n={};for(var r in t)Array.isArray(t[r])?n[r]=t[r].slice():(e=t[r],Array.isArray(e)||"object"!=typeof e||null==e?n[r]=t[r]:n[r]=Bo(t[r]));return n}var Lo,qo,Oo=null;function Ro(){return"MessageChannel"in window}function Po(t,e,n){return xo=!1,Ao=t,Oo=null,t&&t.template_id?go.on("load",function(t,e,n){var r=t.template_id;return function(){hi(),Ao&&Ao.template_id==r&&(go.on("load",null),Wo((function(t,i){t?console.error("Failed to get default state"):Ao&&Ao.template_id==r&&Vo((function(t,o){t?console.error("Failed to call hasData"):Ao&&Ao.template_id==r&&(o?Ao.refreshDataBindings((function(t){t?console.error("Failed to refresh data bindings"):Ao&&Ao.template_id==r&&Ao.prepareData((function(t,o){t?console.error("Failed to prepare data for template"):Ao&&Ao.template_id==r&&ea({data:o,state:e,draw:!0},(function(t,e){Oo=i,n(t,e)}))}))})):ea({state:e,draw:!0},(function(t,e){Oo=i,n(t,e)})))}))})))}}(t,e,n)).attr("src","/template/"+t.template_id+"/embed/?auto=1&environment="+yo):go.on("load",null).attr("src","about:blank")}function jo(t,e,n,r){var i="about:blank"===go.attr("src");if(xo=!1,e){var o=t[e]||"/template/"+e+"/embed";o+="?environment="+yo,r&&(o+="&auto=1"),i?a():go.transition().duration(250).style("opacity",0).on("end",a)}else go.transition().duration(250).style("opacity",0).on("end",(function(){go.on("load",null).attr("src","about:blank")}));function a(){go.on("load",function(t){return function(){Wo((function(e,n){e?console.error("Failed to get default state"):(Oo=n,t())}))}}((function(){n(),i||go.transition().duration(250).style("opacity",1)}))).attr("src",o)}}function Io(t,e){var n=t.template_id;t.refreshDataBindings((function(r){r?console.error("Failed to fetch data bindings"):t.prepareData((function(t,r){if(Ao&&Ao.template_id==n)return t?(console.error("Failed to prepare data for template"),void e(t)):void e(void 0,r)}))}))}function Uo(t,e){Io(t,(function(t,n){if(t)return e(t);ea({data:n,update:!0},e)}))}function Ho(t,e,n){Io(t,(function(t,r){if(t)return n(t);ea({data:r,state:e,overwrite_state:!0,update:!0},n)}))}function zo(t,e,n){if(Ro()){var r=new MessageChannel;r.port1.onmessage=function(t){var e=t.data;if("string"==typeof e){if(!n)return;return n(void 0,JSON.parse(e))}if("object"==typeof e){if("result"in e){if(!n)return;return n(void 0,e.result)}if("error"in e){if(!n)return;return n(e.error)}console.error("Unrecognised response to message",e)}else console.error("Unrecognised response to message",e)},mo.contentWindow.postMessage({sender:"Flourish",method:t,argument:e},"*",[r.port2])}}function Xo(t,e){zo("setState",Mo(t),e)}function Wo(t,e){"function"!=typeof t?zo("getState",t,e):zo("getState",void 0,t)}function Vo(t){zo("hasData",void 0,t)}function $o(t,e){zo("setData",t,e)}function Go(t){zo("getData",void 0,t)}function Jo(t){zo("draw",void 0,t),xo=!0}function Yo(t){bo&&bo.clear(),xo&&zo("update",void 0,t)}function Ko(t,e){zo("snapshot",t,e)}function Zo(){return Bo(Oo)}function Qo(t,e){zo("setFixedHeight",t,e)}function ta(t){if(mo.parentNode.offsetWidth){if(void 0!==t)qo=null!=t;else if(qo)return;var e=t||wo&&wo.responsive_menu&&wo.responsive_menu.getHeightSetting()||_o.getHeightForBreakpoint(mo.offsetWidth);"number"==typeof e&&(e+="px"),mo.style.height=e}}function ea(t,e){xo?delete t.draw:t.draw&&(xo=!0),t.state&&(t.state=Mo(t.state)),bo&&bo.clear(),zo("sync",t,(function(n,r){null!=n||"success"!==r?(t.draw&&(xo=!1),function n(r){r?e&&e(r):function(t,e){return t.data?($o(t.data,e),delete t.data,!1):t.state?(Xo(t.state,e),delete t.state,!1):t.draw?(Jo(e),delete t.draw,!1):!t.update||(Yo(e),delete t.update,!1)}(t,n)&&e&&e(void 0)}(n)):e&&e(void 0)}))}function na(t,e,n,r){var i;return go=fi(t),mo=go.node(),yo=e,wo=n,bo=r,Lo=Fo(),Gi="#amp=1"==window.location.hash,_o={createEmbedIframe:fo,isFixedHeight:oo,getHeightForBreakpoint:ao,startEventListeners:lo,notifyParentWindow:so,isSafari:uo},mo.style.height=_o.getHeightForBreakpoint(mo.offsetWidth)+"px",_o.startEventListeners((function(t){var e,n;"resize"==t.method?ta(t.height):"request-upload"==t.method?(e=t.name,n=t.accept,Lo.startUpload({accept:n||"image/*,video/*,audio/*",success:function(t){var n={};n[e]=t,ea({state:n,update:!0})},failure:function(t){console.error("Upload failed",t)}})):"warn"==t.method&&(bo&&bo.warn(t),console.warn("Warning from template:",t.message,t.explanation))})),Ro()||(i=mo.parentNode)&&fi(i).append("div").attr("class","unsupported-notice").html("Please update your browser This page only works with newer versions of your browser.
"),{loadVisualisation:Po,loadTemplate:jo,updateData:Uo,updateDataAndState:Ho,setState:Xo,getState:Wo,getDefaultState:Zo,hasData:Vo,setData:$o,getData:Go,draw:Jo,update:Yo,snapshot:Ko,setFixedHeight:Qo,resize:ta,sync:ea}}var ra,ia,oa=!1,aa=[];function sa(){Re(".flourish-warn-list").classed("visible",!1),oa=!1}function ua(){return Re(".flourish-warn-btn").on("click",(function(){oa?sa():(Re(".flourish-warn-list").classed("visible",!0),oa=!0)})),{clear:ca,warn:fa}}function la(){Re(".flourish-warn-container").classed("visible",aa.length),aa.length>100&&(aa.length=100);var t=Re(".flourish-warn-list ul").selectAll("li").data(aa),e=t.enter().append("li");e.append("i").attr("class","fa fa-warning"),e.append("p").attr("class","message"),e.append("p").attr("class","explanation");var n=t.merge(e);n.select(".message").text((function(t){return t.message||""})),n.select(".explanation").text((function(t){return t.explanation||""})),t.exit().remove()}function ca(){aa=[],la(),sa()}function fa(t){aa.unshift(t),la()}function pa(){var t=ra.visualisation,e=t.getTemplate(),n=!1,r=!1,i=!1;function o(){var t=ra.template_settings.getSettingsForCurrentTemplate(),e=ra.visualisation.settingsForCurrentTemplate(),n={};for(var r in e)r in t&&(n[r]=e[r]);ia.loadVisualisation(ra.visualisation,n,(function(){ra.template_settings.populate(),ho()})),mi()}e.getSettings((function(t,e){t?console.error("Failed to get template settings: "+t):(ra.template_settings.update(e),n=!0,r&&i&&o())})),e.getDataBindings((function(t,e){t?console.error("Failed to get template data bindings: "+t):(ra.data_bindings.update(e),r=!0,n&&i&&o())})),t.refreshDataBindings((function(t){t?console.error("Failed to get template data bindings: "+t):(i=!0,r&&n&&o())}))}function da(t){ia.updateData(ra.visualisation,t)}var ha="Add new value: ";function va(t,e,n,r,i){var o;t.setAttribute("data-autocomplete",e),t.setAttribute("autocomplete","off"),t.insertAdjacentHTML("afterend",'
');var a=fi(document.getElementById(e));a.classed("click-to-open",!0);var s=a.append("div").attr("class","dropdown-list");function u(t){if(1===t.length)return"dropdown-category";var e="dropdown-item";return o&&t[0]===o&&(e+=" current"),e}function l(t){s.selectAll("div").remove(),s.selectAll("div").data(t).enter().append("div").attr("class",u).attr("data-value",(function(t){return"string"==typeof t?t||null:t[1]})).html((function(t){return i?i(t,this):"string"==typeof t?t:t[0]})),t.length||s.append("div").attr("class","dropdown-item disabled").text("No matches found")}function c(){a.classed("open",!1)}function f(t){var e=t.textContent;return 0===e.indexOf(ha)&&(e=e.substr(ha.length)),e}return a.on("mousedown",(function(e){var n=e.target;n.hasAttribute("data-value")?(t.value=f(n),t.setAttribute("data-value",n.getAttribute("data-value")),c(),fi(t).dispatch("change")):e.preventDefault()})),fi(t).on("keydown.autocomplete",(function(e){var n,r;9==e.keyCode||13==e.keyCode?(n=s.select(".selected")).empty()||(t.value=f(n.node()),t.setAttribute("data-value",n.attr("data-value")),c(),fi(t).dispatch("change"),t.blur()):40==e.keyCode?((n=s.select(".selected")).empty()||(r=n.node().nextSibling),r||(r=s.select(".dropdown-item[data-value]").node()),s.selectAll(".selected").classed("selected",!1),fi(r).classed("selected",!0)):38==e.keyCode&&((n=s.select(".selected")).empty()||(r=n.node().previousSibling),r||(r=s.select(".dropdown-item:last-child").node()),s.selectAll(".selected").classed("selected",!1),fi(r).classed("selected",!0))})).on("input.autocomplete",(function(){var e,i=t.value,o=i.toLowerCase(),a=!1;if(fi(t).attr("data-value",i),i){e=[];for(var s=0;sfonts.google.com to find more",null,!0)}function Da(){var t,e,n=Object.keys(ba);for(t=0;t=200&&n<300||304===n){if(o)try{e=o.call(r,l)}catch(t){return void s.call("error",r,t)}else e=l;s.call("load",r,e)}else s.call("error",r,t)}if("undefined"!=typeof XDomainRequest&&!("withCredentials"in l)&&/^(http(s)?:)?\/\//.test(t)&&(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=l.ontimeout=d:l.onreadystatechange=function(t){l.readyState>3&&d(t)},l.onprogress=function(t){s.call("progress",r,t)},r={header:function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?u.get(t):(null==e?u.remove(t):u.set(t,e+""),r)},mimeType:function(t){return arguments.length?(i=null==t?null:t+"",r):i},responseType:function(t){return arguments.length?(a=t,r):a},timeout:function(t){return arguments.length?(p=+t,r):p},user:function(t){return arguments.length<1?c:(c=null==t?null:t+"",r)},password:function(t){return arguments.length<1?f:(f=null==t?null:t+"",r)},response:function(t){return o=t,r},get:function(t,e){return r.send("GET",t,e)},post:function(t,e){return r.send("POST",t,e)},send:function(e,n,o){return l.open(e,t,!0,c,f),null==i||u.has("accept")||u.set("accept",i+",*/*"),l.setRequestHeader&&u.each((function(t,e){l.setRequestHeader(e,t)})),null!=i&&l.overrideMimeType&&l.overrideMimeType(i),null!=a&&(l.responseType=a),p>0&&(l.timeout=p),null==o&&"function"==typeof n&&(o=n,n=null),null!=o&&1===o.length&&(o=function(t){return function(e,n){t(null==e?n:null)}}(o)),null!=o&&r.on("error",o).on("load",(function(t){o(null,t)})),s.call("beforesend",r,l),l.send(null==n?null:n),r},abort:function(){return l.abort(),r},on:function(){var t=s.on.apply(s,arguments);return t===s?r:t}},null!=e){if("function"!=typeof e)throw new Error("invalid callback: "+e);return r.get(e)}return r}(a);i&&"GET"!==r&&l.header("Content-Type",i);o&&l.mimeType(o);return l.on("error",(function(t){var n;try{n=JSON.parse(t.target.responseText),u(n.error)}catch(e){u("Internal error: "+t.target.responseText)}e()})),l.on("load",(function(t){var n=t.responseText;"application/json"===o&&(n=JSON.parse(n));try{u(void 0,n)}catch(t){console.error(t.stack)}e()})),l.send(r,s),l}(t.items.shift(),(function(){t.request=null,0==t.items.length?e():Pa(t,e)}))}function ja(t,e){void 0===e&&(e="default"),e in Oa||(Oa[e]={items:[],running:!1,name:e}),Oa[e].items.push(t),Ra(Oa[e])}var Ia,Ua,Ha={update:function(t,e){ja({url:"/api/user",method:"POST",payload:function(){return{fields:t}},callback:e})},isUsernameAvailable:function(t,e){ja({url:"/api/user/username?u="+encodeURIComponent(t),method:"GET",callback:e})},getReviewCount:function(t){ja({url:"/api/reviews/count",method:"GET",callback:t})},logHistory:function(t){ja({url:"/api/history",method:"POST",payload:function(){return t},callback:function(){}})},addApiKey:function(t){ja({url:"/api/user/api_keys",method:"PUT",callback:t})},getApiKeys:function(t){ja({url:"/api/user/api_keys",method:"GET",callback:t})},deleteApiKey:function(t,e){ja({url:"/api/user/api_keys/"+t,method:"DELETE",callback:e})},fetchProjects:function(t,e,n,r,i,o,a,s){var u="";e&&(u+="&folder="+encodeURIComponent(e)),n&&(u+="&sort="+encodeURIComponent(n)),r&&(u+="&filter="+encodeURIComponent(r)),i&&(u+="&offset="+encodeURIComponent(i)),o&&(u+="&limit="+encodeURIComponent(o)),a&&(u+="&search="+encodeURIComponent(a)),s&&(u+="&is_recent=true"),ja({url:"/api/user/projects?"+u,method:"GET",callback:t})},addTag:function(t,e){ja({url:"/api/user/tag/"+encodeURIComponent(t),method:"PUT",callback:e})},renameTag:function(t,e,n){ja({url:"/api/user/tag/"+encodeURIComponent(t)+"/"+encodeURIComponent(e),method:"PUT",callback:n})},removeTag:function(t,e){ja({url:"/api/user/tag/"+encodeURIComponent(t),method:"DELETE",callback:e})},fetchFolders:function(t){ja({url:"/api/user/folders",method:"GET",callback:t})}};function za(t){var e;if(Ia=fi(".detailed-settings"),(Ua=Ia.append("div").attr("class","settings-block")).append("h2").text("Back to settings").on("click",(function(){Ia.transition().duration(100).style("opacity",0).on("end",(function(){fi(this).html("").style("display","none"),fi(".template-settings").style("display","block").style("opacity",0).transition().duration(500).style("opacity",1)})),Ia.node()})),"string"==typeof t)e=Ua.append("div").html(t);else if("object"==typeof t&&(e=Ua.append(t.type),t.value&&(Ua.node().value=t.value),t.attributes))for(var n in t.attributes)e.attr(n,t.attributes[n]);return e.node().focus(),fi(".template-settings").style("display","none"),Ia.style("display","block").style("opacity",0).transition().duration(500).style("opacity",1),Ia.node()}var Xa,Wa,Va,$a,Ga={},Ja={},Ya={"Flourish 1":{scheme:"flourish_default_1",colors:["#1D6996","#EDAD08","#73AF48","#94346E","#38A6A5","#E17C05","#5F4690","#0F8554","#6F4070","#CC503E","#994E95","#666666"]},"Flourish 2":{scheme:"flourish_default_2",colors:["#11A579","#CC503E","#3969AC","#F2B701","#7F3C8D","#80BA5A","#E68310","#CF1C90","#008695","#F97B72","#4B4B8F","#A5AA99"]},Rainbow:{colors:["#5F4690","#1D6996","#38A6A5","#0F8554","#73AF48","#EDAD08","#E17C05","#CC503E","#94346E","#6F4070","#994E95","#666666"]},Pastel:{colors:["#66C5CC","#F6CF71","#F89C74","#DCB0F2","#87C55F","#9EB9F3","#FE88B1","#C9DB74","#8BE0A4","#B497E7","#D3B484","#B3B3B3"]},Antique:{colors:["#855C75","#D9AF6B","#AF6458","#736F4C","#526A83","#625377","#68855C","#9C9C5E","#A06177","#8C785D","#467378","#7C7C7C"]},Accent:{scheme:"schemeAccent",colors:Vn},Dark:{scheme:"schemeDark2",colors:$n},Paired:{scheme:"schemePaired",colors:Gn},Pale:{scheme:"schemePastel1",colors:Jn},"Farrow & Ball":{colors:["#EDD8C4","#C4A999","#F9C1C0","#B76A4C","#8F483C","#783027","#8A1D2E","#602A1F","#893838","#BD795A","#DC6130","#AD3B34","#ECE8BD","#F7E28A","#EBEB82","#FAD862","#F1CA61","#F5C03B","#F9E7D4","#F4E4AC","#EFD491","#DAC589","#D2B15E","#CD9344","#EFEFCC","#E8E7CA","#CAD5AD","#B9B495","#73806F","#636F65","#BDAB65","#889A73","#829C7A","#6C7855","#81B693","#BBBEA0","#99A286","#AAC0B3","#427E7F","#769194","#ECF3EC","#EBEBD4","#D0D9C9","#9EAF9F","#7A8E8D","#516365","#DBE5DC","#C4C9C5","#CBD7D7","#AABEBF","#66839A","#A0D2CD","#56AAC5","#535E7D","#2E3548","#48606E","#2C3437"]}},Ka={};function Za(){var t,e={};for(t in Ka)e[t]=Ka[t];for(t in Ya)e[t]=Ya[t];return e}var Qa="Edit color palette";function ts(t){t&&t.length?(Ka={},t.forEach((function(t){var e=Object.keys(t)[0];Ka[e]={colors:t[e]}}))):Ka={},function(){for(var t in Ga){Ga[t].options(ns())}}()}function es(){if(void 0!==Xa)return Xa;var t=document.createElement("input");return t.setAttribute("type","color"),t.setAttribute("value","!"),Xa="color"==t.type&&"!"!==t.value}function ns(){var t=[],e=Za();for(var n in t.push([Qa,""]),e)t.push([n,e[n].colors.join("|")]);return t}function rs(t,e){var n=t[0],r=t[1];if(!r)return" "+Qa+" ";Array.isArray(r)||(r=r.split("|"));var i="";return e&&n&&(i+=""+n+" "),r.forEach((function(t,e){i+=" "})),i}function is(t,e){var n,r,i=Za(),o=t.parentNode.querySelector(".color-swatches");if(Array.isArray(e))r=e;else if("string"==typeof e){if(i[e])n=e;else for(var a in i)if(i[a].scheme==e){n=a;break}n&&(r=i[n].colors)}if(!r||!r.length)return t.parentNode.classList.remove("custom"),t.removeAttribute("data-value"),t.value="",void(o.innerHTML="");o.innerHTML=rs([null,r]),t.setAttribute("data-value",r.join("|"))}function os(t){$a=t.target,t.dataTransfer.setData("text/plain","x"),event.dataTransfer.effectAllowed="move",fi($a).classed("dragging",!0),pi(".palette p:not(.dragging) input").style("pointer-events","none")}function as(t){t.preventDefault();var e=fi(".palette").selectAll("[draggable='true']").style("border-color",null),n=fi(t.target);if("true"===n.attr("draggable")){var r="bottom";if(n.node()===e.nodes()[0]){var i=t.target.getBoundingClientRect(),o=i.top+i.height/2;t.clientY2?t.parentNode.removeChild(t):("INPUT"==t.firstChild.tagName?t.firstChild.value="#000000":t.firstChild.style.backgroundColor="#000000",t.firstChild.nextSibling.value="#000000");cs()}(e.parentNode))}function cs(){for(var t=Va.getAttribute("data-autocomplete"),e=Ga[t],n=[],r=Wa.querySelectorAll(".palette input[type=text]"),i=0;i":e+=" ",e+="
"}function ps(t){var e=t.target,n=e.value,r=e.parentNode;if(!n)return r.parentNode.removeChild(r),void cs();var i=E(n);if(!i)return console.warn("bad color",n),"color"==e.type?e.value=e.nextSibling.value:es()?e.value=e.previousSibling.value:e.value=e.previousSibling.style.backgroundColor,void(Di.point(e).text(n+" is not a valid color").draw()._getElement().style.zIndex=115);"color"==e.type?e.nextSibling.value=n:es()?e.previousSibling.value=i.hex():e.previousSibling.style.backgroundColor=n,cs()}var ds,hs,vs,gs={initialize:function(t,e){e.choices&&ts(e.choices),t.type="text",t.classList.add("colors");var n=document.createElement("span");n.setAttribute("class","color-swatches"),t.parentNode.insertBefore(n,t);var r=t.getAttribute("name")+"-dropdown";Ga[r]=va(t,r,ns(),!1,rs),t.addEventListener("change",(function(e){t.value==Qa?(e.stopImmediatePropagation(),t.value="",function(t){Va=t;var e=(Wa=za({type:"div",attributes:{class:"palette"}})).querySelector(".palette"),n=function(t,e){e||(e=t.parentNode.querySelector(".color-swatches"));for(var n=[],r=0;r ",e.innerHTML=r,e.addEventListener("change",ps),e.addEventListener("dragstart",os),e.addEventListener("dragover",as),e.addEventListener("drop",ss),e.addEventListener("dragend",us),e.addEventListener("click",ls)}(t)):is(t,(t.getAttribute("data-value")||"").split("|"))}))},update:is,getValue:function(t){var e=t.getAttribute("data-value");return e?e.split("|"):null},replaceThemeColors:ts},ms=void 0;function ys(t){fi(t.parentNode).classed("open",(function(){return!fi(this).classed("open")}))}function _s(t){if(t){ms={};for(var e=0,n=null,r=null,i=ds&&ds.user?ds.user.template_settings_overrides:{},o=0;omany other benefits"])):(o.push(["Upgrade your account to:"]),a.push(["Keep your data and projects private","Download projects","Get priority support"]));var s=Math.floor(Math.random()*o.length),u=Math.floor(Math.random()*a.length),l="title"+s+"-list"+u,c="upgrade-click",f=[];i?f.push({text:"Email us",class:"convert",tag_name:"a",href:"mailto:sales@flourish.studio?subject=Business%20upgrade%20enquiry",keyCode:13,callback:function(){t.analytics("send","event",c,r,l),Ha.logHistory({category:"upgrade",action:"clicked",detail:r})}}):f.push({text:"Upgrade now",class:"convert",keyCode:13,callback:function(){t.analytics("send","event",c,r,l),Ha.logHistory({category:"upgrade",action:"clicked",detail:r}),setTimeout((function(){window.location.href="/choose-subscription"}),1e3)}}),f.push({text:"Maybe later",keyCode:27,class:"secondary",callback:function(){t.analytics("send","event","upgrade-close",r,l),Ha.logHistory({category:"upgrade",action:"closed",detail:r})}}),t.analytics("send","event","upgrade-open",r,l),Ha.logHistory({category:"upgrade",action:"viewed",detail:r}),vo(e,n,f,!0,{message:o[s],list:a[u],is_business:i})}(ds,"This is a premium feature","Upgrade your plan to change this setting.","upgrade-settings",!0)})),Oi()}}function ws(t,e,n){e.upgrade=e.property in n;var r=e.choices&&("buttons"==e.style||"boolean"==e.type);t.attr("class","settings-option option-type-"+e.type+(r?" settings-buttons":"")+(e.upgrade?" upgrade-setting":""));var i=t.append("label").attr("for","setting-"+e.property).classed("hidden",null==e.name).append("h3").text(e.name).classed("no-select",!0);e.upgrade?i.append("i").attr("class","popup fa fa-star setting-tooltip tooltip-upgrade").style("font-family","FontAwesome").style("background-color","#93366e").attr("data-popup-head","This is a premium feature").attr("data-popup-body",e.description?e.description.replace(/\[\[/g,"").replace(/\]\]/g,""):"").attr("data-popup-position","top"):e.description&&i.append("i").attr("class","popup fa fa-question setting-tooltip tooltip-help").style("font-family","FontAwesome").attr("data-popup-body",e.description.replace(/\[\[/g,"").replace(/\]\]/g,"")).attr("data-popup-position","top"),e.width&&t.classed("width-"+e.width.replace(/ /g,"-"),!0);var o="input";if("text"!=e.type&&"code"!=e.type||(o="textarea"),"code"==e.type){var a=!1;t.append("i").attr("class","popup fa fa-reply clickable wrap-control").attr("data-popup-body","Wrap/unwrap text").attr("data-popup-position","top").on("click",(function(){a=!a,fi(this.parentNode).select("textarea").attr("wrap",a?null:"off"),fi(this).classed("selected",a)}))}var s=t.append(o).attr("id","setting-"+e.property).attr("name",e.property).attr("disabled",!ds.visualisation.can_edit||null),u=s.node();if("colors"==e.type)gs.initialize(u,e);else if("font"==e.type)Fa.initialize(u,e,ds.user&&null!=ds.user.company_id);else if("number"==e.type)u.setAttribute("type","number"),null!=e.min&&u.setAttribute("min",e.min),null!=e.max&&u.setAttribute("max",e.max),e.step&&u.setAttribute("step",e.step);else if("url"==e.type)u.setAttribute("type","url"),hs.addButton(u,e.upgrade);else if(r){s.remove(),s=t.append("div").attr("id","setting-"+e.property).attr("name",e.property).classed("buttons-container",!0).classed("large","large"==e.size),u=s.node();var l=e.choices.length,c=[3,4,5],f=function(){if(l<=2)return{column_count:l,rows:1};var t=c.map((function(t){return{column_count:t,orphans:l%t/t,rows:l/t}})).filter((function(t){return t.rows>=1})).sort((function(t,e){return t.rows>e.rows?1:t.rows1?e[0]:0===e.length?t.sort((function(t,e){return t.orphans>e.orphans?-1:t.orphans1?0===n?"3px 0 0 0":n===t-1?"0 3px 0 0":n===l-(t-r)?"0 0 0 3px":n===l-1&&0===r?"0 0 3px 0":null:null})),i=t[0].match(/fa-(\S*)/g),o=t[0].match(/^data:image\/(svg|svg\+xml|png|jpg);base64,[A-Z-a-z0-9+/=]*$/);i?r.append("i").attr("class","fa "+i[0]):o?r.append("img").attr("src",t[0]):r.text(t[0])}))}else"boolean"==e.type?(u.setAttribute("type","checkbox"),t.append("label").attr("class","slider").attr("for","setting-"+e.property)):u.setAttribute("type","text");if("code"==e.type&&(u.setAttribute("wrap","off"),s.on("keydown.tab",(function(t){var e=t;if(9===e.keyCode&&!(e.altKey||e.metaKey||e.ctrlKey||e.shiftKey)){e.preventDefault();var n=this.selectionStart;this.value=this.value.substring(0,n)+"\t"+this.value.substring(this.selectionEnd),this.selectionEnd=n+1}}))),e.choices&&"string"==e.type&&"buttons"!=e.style&&va(u,e.property+"-dropdown",e.choices,e.choices_other),"color"==e.type){fi(u).classed("color",!0).style("display","none");var p=fi(u.parentNode).append("div").attr("class","color-picker");e.optional&&p.append("button").attr("class","cancel-setting popup").html(" ").attr("data-popup-body","If cleared, the color will be set automatically based on the theme or context").on("click",(function(){u.value="",s.dispatch("change"),fi(this.parentNode).classed("is-null",!0)})),p.append("div").attr("class","color-wrapper").append("input").attr("type","color").on("change",(function(){u.value=this.value,s.dispatch("change"),fi(this.parentNode.parentNode).classed("is-null",!1)})).on("focus",(function(){fi(this.parentNode.parentNode).classed("active",!0)})).on("blur",(function(){fi(this.parentNode.parentNode).classed("active",!1)}))}e.placeholder&&u.setAttribute("placeholder",e.placeholder),e.size&&u.classList.add("size-"+e.size),s.call(bs(e))}function bs(t){return function(e){var n=!1;e.on("change",(function(){var e=this;Di.hide(),n=!0,ds.preview_pane.getState(t.property,(function(r,i){return r?(console.error("Failed to get state property "+t.property,r),void(n=!1)):function(t,e){if("number"!==e.type)return!0;if(""===t.value)return!!e.optional||(Di.point(t).text("A value is required").draw(),!1);var n=parseFloat(t.value);return e.hasOwnProperty("min")&&ne.max&&(Di.point(t).text("Value cannot be greater than "+e.max).draw(),t.value=e.max),!0}(e,t)?void function(t,e,n){r=e.property,i=100,o=Cs,a=[t,e,n],clearTimeout(xs[r]),xs[r]=setTimeout((function(){o.apply(window,a),delete xs[r]}),i);var r,i,o,a}(e,t,(function(r){if(!r)return n=!1,void("SELECT"==e.tagName&&fi(e).dispatch("blur"));var o="radio"==e.type?e.nextSibling:e;Di.point(o).text("Not changed: "+r).draw();var a={};a[t.property]=i,ds.preview_pane.setState(a,(function(r){if(r)return console.error("Failed to revert setting "+t.property+" to value: "+i),void(n=!1);ds.preview_pane.update((function(r){if(r)return console.error("Failed to update after reverting setting "+t.property+" to value: "+i),void(n=!1);Es(e,i),n=!1}))}))})):(e.value=i,void(n=!1))}))})).on("keydown",(function(t){ds.confirm.blank(),13==t.keyCode&&Di.hide()})).on("blur",(function(){if(!n){var e=this;Di.hide(),ds.preview_pane.getState(t.property,(function(n,r){n?console.error("Failed to get state property "+t.property,n):Es(e,r)}))}}))}}var xs={};function As(t,e,n){if(t.classList.contains("colors"))return gs.getValue(t);if(t.classList.contains("font-menu")){var r=Fa.getValue(t);return e&&!r?n?null:"":r}if(t.classList.contains("buttons-container")){for(var i,o=t.querySelectorAll("input[type='radio']"),a=0;a-1){var s=t.querySelectorAll("input[type='radio']");for(r=0;r9999?"+"+Ls(e,6):Ls(e,4))+"-"+Ls(t.getUTCMonth()+1,2)+"-"+Ls(t.getUTCDate(),2)+(o?"T"+Ls(n,2)+":"+Ls(r,2)+":"+Ls(i,2)+"."+Ls(o,3)+"Z":i?"T"+Ls(n,2)+":"+Ls(r,2)+":"+Ls(i,2)+"Z":r||n?"T"+Ls(n,2)+":"+Ls(r,2)+"Z":"")}var Os=function(t){var e=new RegExp('["'+t+"\n\r]"),n=t.charCodeAt(0);function r(t,e){var r,i=[],o=t.length,a=0,s=0,u=o<=0,l=!1;function c(){if(u)return Ts;if(l)return l=!1,Fs;var e,r,i=a;if(34===t.charCodeAt(i)){for(;a++=o?u=!0:10===(r=t.charCodeAt(a++))?l=!0:13===r&&(l=!0,10===t.charCodeAt(a)&&++a),t.slice(i+1,e-1).replace(/""/g,'"')}for(;a=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function Gs(t,e){for(var n,r=0,i=t.length;r=v.length||("columns"in s&&null!=s.columns?d[s.key]=s.columns.filter((function(t){return t=v[p+1].length?d[s.key]="":d[s.key]=v[p+1][s.column]))}o.push(d)}return o}function tu(t,e,n){var r=this;r.id=1,r.template_id=1,r.api_prefix="/api/visualisation",r.can_edit=!0,r.__sdk__=!0,n.data_tables&&(this.data_tables=n.data_tables.map((function(t){return new Ys(r,t)}))),n.data_bindings&&(this.data_bindings=n.data_bindings)}Vs.prototype=Ws.prototype={constructor:Vs,on:function(t,e){var n,r=this._,i=$s(t+"",r),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++o0)for(var n,r,i=new Array(n),o=0;o=200&&r<300||304===r){if(i)try{e=i.call(n,u)}catch(t){return void a.call("error",n,t)}else e=u;a.call("load",n,e)}else a.call("error",n,t)}if("undefined"!=typeof XDomainRequest&&!("withCredentials"in u)&&/^(http(s)?:)?\/\//.test(t)&&(u=new XDomainRequest),"onload"in u?u.onload=u.onerror=u.ontimeout=p:u.onreadystatechange=function(t){u.readyState>3&&p(t)},u.onprogress=function(t){a.call("progress",n,t)},n={header:function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?s.get(t):(null==e?s.remove(t):s.set(t,e+""),n)},mimeType:function(t){return arguments.length?(r=null==t?null:t+"",n):r},responseType:function(t){return arguments.length?(o=t,n):o},timeout:function(t){return arguments.length?(f=+t,n):f},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",n)},password:function(t){return arguments.length<1?c:(c=null==t?null:t+"",n)},response:function(t){return i=t,n},get:function(t,e){return n.send("GET",t,e)},post:function(t,e){return n.send("POST",t,e)},send:function(e,i,p){return u.open(e,t,!0,l,c),null==r||s.has("accept")||s.set("accept",r+",*/*"),u.setRequestHeader&&s.each((function(t,e){u.setRequestHeader(e,t)})),null!=r&&u.overrideMimeType&&u.overrideMimeType(r),null!=o&&(u.responseType=o),f>0&&(u.timeout=f),null==p&&"function"==typeof i&&(p=i,i=null),null!=p&&1===p.length&&(p=function(t){return function(e,n){t(null==e?n:null)}}(p)),null!=p&&n.on("error",p).on("load",(function(t){p(null,t)})),a.call("beforesend",n,u),u.send(null==i?null:i),n},abort:function(){return u.abort(),n},on:function(){var t=a.on.apply(a,arguments);return t===a?n:t}},null!=e){if("function"!=typeof e)throw new Error("invalid callback: "+e);return n.get(e)}}(this.api_prefix+"/"+this.id+"/csv",(function(n,r){e.cached_data=Os(r.response),t(void 0,Ks(e.cached_data))}))}},Ys.prototype.saveData=function(t,e){e()},Ys.prototype.save=function(t,e){e()},Ys.prototype.delete=function(t){t()},Zs.prototype.getSettings=function(t){t(void 0,window.Flourish.app.settings)},Zs.prototype.getDataBindings=function(t){t(void 0,window.Flourish.app.template_data_bindings)},Zs.prototype.refreshDataBindings=function(t){t(void 0)},Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t){if(null==this)throw new TypeError("this is null or not defined");var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var r=arguments[1],i=0;i1||e.getDataTables((function(t,n){if(t){for(var r=0;rli{position:relative}.fa-li{position:absolute;left:-2.1428571429em;width:2.1428571429em;top:.1428571429em;text-align:center}.fa-li.fa-lg{left:-1.8571428571em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:""}.fa-music:before{content:""}.fa-search:before{content:""}.fa-envelope-o:before{content:""}.fa-heart:before{content:""}.fa-star:before{content:""}.fa-star-o:before{content:""}.fa-user:before{content:""}.fa-film:before{content:""}.fa-th-large:before{content:""}.fa-th:before{content:""}.fa-th-list:before{content:""}.fa-check:before{content:""}.fa-remove:before,.fa-close:before,.fa-times:before{content:""}.fa-search-plus:before{content:""}.fa-search-minus:before{content:""}.fa-power-off:before{content:""}.fa-signal:before{content:""}.fa-gear:before,.fa-cog:before{content:""}.fa-trash-o:before{content:""}.fa-home:before{content:""}.fa-file-o:before{content:""}.fa-clock-o:before{content:""}.fa-road:before{content:""}.fa-download:before{content:""}.fa-arrow-circle-o-down:before{content:""}.fa-arrow-circle-o-up:before{content:""}.fa-inbox:before{content:""}.fa-play-circle-o:before{content:""}.fa-rotate-right:before,.fa-repeat:before{content:""}.fa-refresh:before{content:""}.fa-list-alt:before{content:""}.fa-lock:before{content:""}.fa-flag:before{content:""}.fa-headphones:before{content:""}.fa-volume-off:before{content:""}.fa-volume-down:before{content:""}.fa-volume-up:before{content:""}.fa-qrcode:before{content:""}.fa-barcode:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-book:before{content:""}.fa-bookmark:before{content:""}.fa-print:before{content:""}.fa-camera:before{content:""}.fa-font:before{content:""}.fa-bold:before{content:""}.fa-italic:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-align-left:before{content:""}.fa-align-center:before{content:""}.fa-align-right:before{content:""}.fa-align-justify:before{content:""}.fa-list:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-indent:before{content:""}.fa-video-camera:before{content:""}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:""}.fa-pencil:before{content:""}.fa-map-marker:before{content:""}.fa-adjust:before{content:""}.fa-tint:before{content:""}.fa-edit:before,.fa-pencil-square-o:before{content:""}.fa-share-square-o:before{content:""}.fa-check-square-o:before{content:""}.fa-arrows:before{content:""}.fa-step-backward:before{content:""}.fa-fast-backward:before{content:""}.fa-backward:before{content:""}.fa-play:before{content:""}.fa-pause:before{content:""}.fa-stop:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before{content:""}.fa-step-forward:before{content:""}.fa-eject:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-plus-circle:before{content:""}.fa-minus-circle:before{content:""}.fa-times-circle:before{content:""}.fa-check-circle:before{content:""}.fa-question-circle:before{content:""}.fa-info-circle:before{content:""}.fa-crosshairs:before{content:""}.fa-times-circle-o:before{content:""}.fa-check-circle-o:before{content:""}.fa-ban:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-down:before{content:""}.fa-mail-forward:before,.fa-share:before{content:""}.fa-expand:before{content:""}.fa-compress:before{content:""}.fa-plus:before{content:""}.fa-minus:before{content:""}.fa-asterisk:before{content:""}.fa-exclamation-circle:before{content:""}.fa-gift:before{content:""}.fa-leaf:before{content:""}.fa-fire:before{content:""}.fa-eye:before{content:""}.fa-eye-slash:before{content:""}.fa-warning:before,.fa-exclamation-triangle:before{content:""}.fa-plane:before{content:""}.fa-calendar:before{content:""}.fa-random:before{content:""}.fa-comment:before{content:""}.fa-magnet:before{content:""}.fa-chevron-up:before{content:""}.fa-chevron-down:before{content:""}.fa-retweet:before{content:""}.fa-shopping-cart:before{content:""}.fa-folder:before{content:""}.fa-folder-open:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-h:before{content:""}.fa-bar-chart-o:before,.fa-bar-chart:before{content:""}.fa-twitter-square:before{content:""}.fa-facebook-square:before{content:""}.fa-camera-retro:before{content:""}.fa-key:before{content:""}.fa-gears:before,.fa-cogs:before{content:""}.fa-comments:before{content:""}.fa-thumbs-o-up:before{content:""}.fa-thumbs-o-down:before{content:""}.fa-star-half:before{content:""}.fa-heart-o:before{content:""}.fa-sign-out:before{content:""}.fa-linkedin-square:before{content:""}.fa-thumb-tack:before{content:""}.fa-external-link:before{content:""}.fa-sign-in:before{content:""}.fa-trophy:before{content:""}.fa-github-square:before{content:""}.fa-upload:before{content:""}.fa-lemon-o:before{content:""}.fa-phone:before{content:""}.fa-square-o:before{content:""}.fa-bookmark-o:before{content:""}.fa-phone-square:before{content:""}.fa-twitter:before{content:""}.fa-facebook-f:before,.fa-facebook:before{content:""}.fa-github:before{content:""}.fa-unlock:before{content:""}.fa-credit-card:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-hdd-o:before{content:""}.fa-bullhorn:before{content:""}.fa-bell:before{content:""}.fa-certificate:before{content:""}.fa-hand-o-right:before{content:""}.fa-hand-o-left:before{content:""}.fa-hand-o-up:before{content:""}.fa-hand-o-down:before{content:""}.fa-arrow-circle-left:before{content:""}.fa-arrow-circle-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-globe:before{content:""}.fa-wrench:before{content:""}.fa-tasks:before{content:""}.fa-filter:before{content:""}.fa-briefcase:before{content:""}.fa-arrows-alt:before{content:""}.fa-group:before,.fa-users:before{content:""}.fa-chain:before,.fa-link:before{content:""}.fa-cloud:before{content:""}.fa-flask:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-copy:before,.fa-files-o:before{content:""}.fa-paperclip:before{content:""}.fa-save:before,.fa-floppy-o:before{content:""}.fa-square:before{content:""}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:""}.fa-list-ul:before{content:""}.fa-list-ol:before{content:""}.fa-strikethrough:before{content:""}.fa-underline:before{content:""}.fa-table:before{content:""}.fa-magic:before{content:""}.fa-truck:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-plus:before{content:""}.fa-money:before{content:""}.fa-caret-down:before{content:""}.fa-caret-up:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-columns:before{content:""}.fa-unsorted:before,.fa-sort:before{content:""}.fa-sort-down:before,.fa-sort-desc:before{content:""}.fa-sort-up:before,.fa-sort-asc:before{content:""}.fa-envelope:before{content:""}.fa-linkedin:before{content:""}.fa-rotate-left:before,.fa-undo:before{content:""}.fa-legal:before,.fa-gavel:before{content:""}.fa-dashboard:before,.fa-tachometer:before{content:""}.fa-comment-o:before{content:""}.fa-comments-o:before{content:""}.fa-flash:before,.fa-bolt:before{content:""}.fa-sitemap:before{content:""}.fa-umbrella:before{content:""}.fa-paste:before,.fa-clipboard:before{content:""}.fa-lightbulb-o:before{content:""}.fa-exchange:before{content:""}.fa-cloud-download:before{content:""}.fa-cloud-upload:before{content:""}.fa-user-md:before{content:""}.fa-stethoscope:before{content:""}.fa-suitcase:before{content:""}.fa-bell-o:before{content:""}.fa-coffee:before{content:""}.fa-cutlery:before{content:""}.fa-file-text-o:before{content:""}.fa-building-o:before{content:""}.fa-hospital-o:before{content:""}.fa-ambulance:before{content:""}.fa-medkit:before{content:""}.fa-fighter-jet:before{content:""}.fa-beer:before{content:""}.fa-h-square:before{content:""}.fa-plus-square:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-down:before{content:""}.fa-desktop:before{content:""}.fa-laptop:before{content:""}.fa-tablet:before{content:""}.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-circle-o:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-spinner:before{content:""}.fa-circle:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-github-alt:before{content:""}.fa-folder-o:before{content:""}.fa-folder-open-o:before{content:""}.fa-smile-o:before{content:""}.fa-frown-o:before{content:""}.fa-meh-o:before{content:""}.fa-gamepad:before{content:""}.fa-keyboard-o:before{content:""}.fa-flag-o:before{content:""}.fa-flag-checkered:before{content:""}.fa-terminal:before{content:""}.fa-code:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:""}.fa-location-arrow:before{content:""}.fa-crop:before{content:""}.fa-code-fork:before{content:""}.fa-unlink:before,.fa-chain-broken:before{content:""}.fa-question:before{content:""}.fa-info:before{content:""}.fa-exclamation:before{content:""}.fa-superscript:before{content:""}.fa-subscript:before{content:""}.fa-eraser:before{content:""}.fa-puzzle-piece:before{content:""}.fa-microphone:before{content:""}.fa-microphone-slash:before{content:""}.fa-shield:before{content:""}.fa-calendar-o:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-rocket:before{content:""}.fa-maxcdn:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-html5:before{content:""}.fa-css3:before{content:""}.fa-anchor:before{content:""}.fa-unlock-alt:before{content:""}.fa-bullseye:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-rss-square:before{content:""}.fa-play-circle:before{content:""}.fa-ticket:before{content:""}.fa-minus-square:before{content:""}.fa-minus-square-o:before{content:""}.fa-level-up:before{content:""}.fa-level-down:before{content:""}.fa-check-square:before{content:""}.fa-pencil-square:before{content:""}.fa-external-link-square:before{content:""}.fa-share-square:before{content:""}.fa-compass:before{content:""}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:""}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:""}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:""}.fa-euro:before,.fa-eur:before{content:""}.fa-gbp:before{content:""}.fa-dollar:before,.fa-usd:before{content:""}.fa-rupee:before,.fa-inr:before{content:""}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:""}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:""}.fa-won:before,.fa-krw:before{content:""}.fa-bitcoin:before,.fa-btc:before{content:""}.fa-file:before{content:""}.fa-file-text:before{content:""}.fa-sort-alpha-asc:before{content:""}.fa-sort-alpha-desc:before{content:""}.fa-sort-amount-asc:before{content:""}.fa-sort-amount-desc:before{content:""}.fa-sort-numeric-asc:before{content:""}.fa-sort-numeric-desc:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbs-down:before{content:""}.fa-youtube-square:before{content:""}.fa-youtube:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-youtube-play:before{content:""}.fa-dropbox:before{content:""}.fa-stack-overflow:before{content:""}.fa-instagram:before{content:""}.fa-flickr:before{content:""}.fa-adn:before{content:""}.fa-bitbucket:before{content:""}.fa-bitbucket-square:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-apple:before{content:""}.fa-windows:before{content:""}.fa-android:before{content:""}.fa-linux:before{content:""}.fa-dribbble:before{content:""}.fa-skype:before{content:""}.fa-foursquare:before{content:""}.fa-trello:before{content:""}.fa-female:before{content:""}.fa-male:before{content:""}.fa-gittip:before,.fa-gratipay:before{content:""}.fa-sun-o:before{content:""}.fa-moon-o:before{content:""}.fa-archive:before{content:""}.fa-bug:before{content:""}.fa-vk:before{content:""}.fa-weibo:before{content:""}.fa-renren:before{content:""}.fa-pagelines:before{content:""}.fa-stack-exchange:before{content:""}.fa-arrow-circle-o-right:before{content:""}.fa-arrow-circle-o-left:before{content:""}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:""}.fa-dot-circle-o:before{content:""}.fa-wheelchair:before{content:""}.fa-vimeo-square:before{content:""}.fa-turkish-lira:before,.fa-try:before{content:""}.fa-plus-square-o:before{content:""}.fa-space-shuttle:before{content:""}.fa-slack:before{content:""}.fa-envelope-square:before{content:""}.fa-wordpress:before{content:""}.fa-openid:before{content:""}.fa-institution:before,.fa-bank:before,.fa-university:before{content:""}.fa-mortar-board:before,.fa-graduation-cap:before{content:""}.fa-yahoo:before{content:""}.fa-google:before{content:""}.fa-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-stumbleupon:before{content:""}.fa-delicious:before{content:""}.fa-digg:before{content:""}.fa-pied-piper:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-drupal:before{content:""}.fa-joomla:before{content:""}.fa-language:before{content:""}.fa-fax:before{content:""}.fa-building:before{content:""}.fa-child:before{content:""}.fa-paw:before{content:""}.fa-spoon:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-recycle:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-tree:before{content:""}.fa-spotify:before{content:""}.fa-deviantart:before{content:""}.fa-soundcloud:before{content:""}.fa-database:before{content:""}.fa-file-pdf-o:before{content:""}.fa-file-word-o:before{content:""}.fa-file-excel-o:before{content:""}.fa-file-powerpoint-o:before{content:""}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:""}.fa-file-zip-o:before,.fa-file-archive-o:before{content:""}.fa-file-sound-o:before,.fa-file-audio-o:before{content:""}.fa-file-movie-o:before,.fa-file-video-o:before{content:""}.fa-file-code-o:before{content:""}.fa-vine:before{content:""}.fa-codepen:before{content:""}.fa-jsfiddle:before{content:""}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:""}.fa-circle-o-notch:before{content:""}.fa-ra:before,.fa-rebel:before{content:""}.fa-ge:before,.fa-empire:before{content:""}.fa-git-square:before{content:""}.fa-git:before{content:""}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:""}.fa-tencent-weibo:before{content:""}.fa-qq:before{content:""}.fa-wechat:before,.fa-weixin:before{content:""}.fa-send:before,.fa-paper-plane:before{content:""}.fa-send-o:before,.fa-paper-plane-o:before{content:""}.fa-history:before{content:""}.fa-circle-thin:before{content:""}.fa-header:before{content:""}.fa-paragraph:before{content:""}.fa-sliders:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-bomb:before{content:""}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:""}.fa-tty:before{content:""}.fa-binoculars:before{content:""}.fa-plug:before{content:""}.fa-slideshare:before{content:""}.fa-twitch:before{content:""}.fa-yelp:before{content:""}.fa-newspaper-o:before{content:""}.fa-wifi:before{content:""}.fa-calculator:before{content:""}.fa-paypal:before{content:""}.fa-google-wallet:before{content:""}.fa-cc-visa:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-bell-slash:before{content:""}.fa-bell-slash-o:before{content:""}.fa-trash:before{content:""}.fa-copyright:before{content:""}.fa-at:before{content:""}.fa-eyedropper:before{content:""}.fa-paint-brush:before{content:""}.fa-birthday-cake:before{content:""}.fa-area-chart:before{content:""}.fa-pie-chart:before{content:""}.fa-line-chart:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-bicycle:before{content:""}.fa-bus:before{content:""}.fa-ioxhost:before{content:""}.fa-angellist:before{content:""}.fa-cc:before{content:""}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:""}.fa-meanpath:before{content:""}.fa-buysellads:before{content:""}.fa-connectdevelop:before{content:""}.fa-dashcube:before{content:""}.fa-forumbee:before{content:""}.fa-leanpub:before{content:""}.fa-sellsy:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-simplybuilt:before{content:""}.fa-skyatlas:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-diamond:before{content:""}.fa-ship:before{content:""}.fa-user-secret:before{content:""}.fa-motorcycle:before{content:""}.fa-street-view:before{content:""}.fa-heartbeat:before{content:""}.fa-venus:before{content:""}.fa-mars:before{content:""}.fa-mercury:before{content:""}.fa-intersex:before,.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-venus-double:before{content:""}.fa-mars-double:before{content:""}.fa-venus-mars:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-neuter:before{content:""}.fa-genderless:before{content:""}.fa-facebook-official:before{content:""}.fa-pinterest-p:before{content:""}.fa-whatsapp:before{content:""}.fa-server:before{content:""}.fa-user-plus:before{content:""}.fa-user-times:before{content:""}.fa-hotel:before,.fa-bed:before{content:""}.fa-viacoin:before{content:""}.fa-train:before{content:""}.fa-subway:before{content:""}.fa-medium:before{content:""}.fa-yc:before,.fa-y-combinator:before{content:""}.fa-optin-monster:before{content:""}.fa-opencart:before{content:""}.fa-expeditedssl:before{content:""}.fa-battery-4:before,.fa-battery-full:before{content:""}.fa-battery-3:before,.fa-battery-three-quarters:before{content:""}.fa-battery-2:before,.fa-battery-half:before{content:""}.fa-battery-1:before,.fa-battery-quarter:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-mouse-pointer:before{content:""}.fa-i-cursor:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-sticky-note:before{content:""}.fa-sticky-note-o:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-diners-club:before{content:""}.fa-clone:before{content:""}.fa-balance-scale:before{content:""}.fa-hourglass-o:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass:before{content:""}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:""}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:""}.fa-hand-scissors-o:before{content:""}.fa-hand-lizard-o:before{content:""}.fa-hand-spock-o:before{content:""}.fa-hand-pointer-o:before{content:""}.fa-hand-peace-o:before{content:""}.fa-trademark:before{content:""}.fa-registered:before{content:""}.fa-creative-commons:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-tripadvisor:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-get-pocket:before{content:""}.fa-wikipedia-w:before{content:""}.fa-safari:before{content:""}.fa-chrome:before{content:""}.fa-firefox:before{content:""}.fa-opera:before{content:""}.fa-internet-explorer:before{content:""}.fa-tv:before,.fa-television:before{content:""}.fa-contao:before{content:""}.fa-500px:before{content:""}.fa-amazon:before{content:""}.fa-calendar-plus-o:before{content:""}.fa-calendar-minus-o:before{content:""}.fa-calendar-times-o:before{content:""}.fa-calendar-check-o:before{content:""}.fa-industry:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-map-o:before{content:""}.fa-map:before{content:""}.fa-commenting:before{content:""}.fa-commenting-o:before{content:""}.fa-houzz:before{content:""}.fa-vimeo:before{content:""}.fa-black-tie:before{content:""}.fa-fonticons:before{content:""}.fa-reddit-alien:before{content:""}.fa-edge:before{content:""}.fa-credit-card-alt:before{content:""}.fa-codiepie:before{content:""}.fa-modx:before{content:""}.fa-fort-awesome:before{content:""}.fa-usb:before{content:""}.fa-product-hunt:before{content:""}.fa-mixcloud:before{content:""}.fa-scribd:before{content:""}.fa-pause-circle:before{content:""}.fa-pause-circle-o:before{content:""}.fa-stop-circle:before{content:""}.fa-stop-circle-o:before{content:""}.fa-shopping-bag:before{content:""}.fa-shopping-basket:before{content:""}.fa-hashtag:before{content:""}.fa-bluetooth:before{content:""}.fa-bluetooth-b:before{content:""}.fa-percent:before{content:""}@font-face{font-family:"Source Sans Pro";font-weight:300;font-style:normal;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-Light.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Light.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-Light.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-Light.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:300;font-style:italic;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-LightIt.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-LightIt.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-LightIt.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-LightIt.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:400;font-style:normal;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-Regular.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Regular.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-Regular.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-Regular.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:400;font-style:italic;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-It.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-It.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-It.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-It.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:600;font-style:normal;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-Semibold.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Semibold.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-Semibold.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-Semibold.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:600;font-style:italic;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-SemiboldIt.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-SemiboldIt.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-SemiboldIt.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-SemiboldIt.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:700;font-style:normal;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-Bold.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Bold.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-Bold.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-Bold.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:700;font-style:italic;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-BoldIt.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-BoldIt.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-BoldIt.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-BoldIt.ttf") format("truetype")}.content.shaded-bg{background:#eee}.row{position:relative;width:100%}.row .row-inner{position:relative;padding:0 20px;margin:auto;max-width:520px}@media(min-width: 620px){.row .row-inner{max-width:620px}}@media(min-width: 820px){.row .row-inner{max-width:820px}}@media(min-width: 1020px){.row .row-inner{max-width:1020px}}@media(min-width: 1220px){.row .row-inner{max-width:1220px}}.row .row-inner.narrow{max-width:800px}.row .row-inner.extra-narrow{max-width:620px}.row .row-header h1.collapser{color:#777;font-weight:500;font-size:.75em;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.5em}.row .row-menus .row-menu{height:1.7em;display:inline-block;vertical-align:middle}.row .row-menus .row-menu.right{float:right}.row .row-menus .row-menu .menu-item{display:inline;color:#333}.row .row-menus .row-menu .menu-item i{margin-left:10px;color:#555;font-size:1em}.row .row-menus .row-menu .menu-item .label{font-size:.8em}.row .row-menus .row-menu .menu-item.selected{bottom:2px solid}@media only screen and (max-width: 1100px){.row .row-menus .row-menu .menu-item .label{display:none}}@media only screen and (max-width: 600px){.row .row-menus .row-menu .menu-label{display:none}}.page-header{display:flex;flex-direction:column;align-items:center;align-items:flex-start;position:relative;margin:0 0 10px;border-bottom:1px solid #ddd;padding:30px 0}.page-header h1{display:inline-block;font-size:18px;height:24px}.page-header h2{font-size:16px;font-weight:100;line-height:1em}@media(min-width: 620px){.page-header h2{font-size:36px}}@media(min-width: 820px){.page-header{flex-direction:row}.page-header h2{font-size:42px;margin-top:42px}}@media(min-width: 1220px){.page-header h2{font-size:48px}}.clickable{cursor:pointer}.clickable:hover{opacity:.5}.clickable.selected,.clickable.selected:hover{opacity:1;cursor:default}.clickable[disabled]{opacity:.5;cursor:default}.is-touch .clickable:hover{opacity:1}.no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fa-chevron-down{-webkit-text-stroke:1px #fff}.dropdown{height:40px;padding-top:12px;position:relative}.dropdown .dropdown-head{padding:0;font-size:18px}.dropdown .dropdown-head .current{font-size:1em;margin:0 5px;cursor:default}.dropdown .dropdown-head .dropdown-chevron{font-size:10px}.dropdown .dropdown-label{display:inline-block;font-size:12px;padding:.6em .4em .2em;text-transform:uppercase;letter-spacing:1px;vertical-align:middle}.dropdown .dropdown-list{display:none;background:#fff;border-radius:3px;box-shadow:0 1px 4px rgba(0,0,0,.2);position:absolute;margin-top:0;margin-bottom:40px;left:0;padding:0;min-width:100%;max-height:60vh;overflow-x:hidden;overflow-y:auto}.dropdown .dropdown-list .dropdown-category{text-transform:uppercase;font-size:12px;font-weight:600;padding:9px 60px 0 12px;color:#222}.dropdown .dropdown-list .dropdown-item{display:block;cursor:pointer;border-bottom:1px solid #eaeaea;white-space:nowrap;padding:12px 60px 12px 12px;font-weight:normal;position:relative}.dropdown .dropdown-list .dropdown-item i{margin-right:5px}.dropdown .dropdown-list .dropdown-item.selected,.dropdown .dropdown-list .dropdown-item:not(.dropdown-category):hover{background:#eee}.dropdown .dropdown-list .dropdown-item:last-child{border-bottom:none}.dropdown .dropdown-list .dropdown-item.current::before{font-family:FontAwesome;content:"";position:absolute;right:11px;top:12px;color:#666;pointer-events:none}.dropdown .dropdown-list .dropdown-item.upgrade-btn::after{top:12px;right:8px}.dropdown .dropdown-list form.dropdown-item{padding:0}.dropdown .dropdown-list form.dropdown-item button{background:transparent;font-size:inherit;display:block;width:100%;border:none;cursor:pointer;padding:12px 60px 12px 12px;text-align:left}.dropdown .dropdown-list form.dropdown-item:hover button{opacity:.75}.dropdown.right-aligned .dropdown-head{text-align:right}.dropdown.right-aligned .dropdown-list{right:0;left:auto}.dropdown.autocomplete{display:none;height:0}.dropdown.autocomplete.open{display:block;height:auto}.dropdown.autocomplete.open .dropdown-list,.dropdown.click-to-open.open:hover .dropdown-list,.dropdown:not(.click-to-open):hover .dropdown-list{animation:dropdown-out 200ms;display:block;z-index:2}@media(min-width: 420px){.dropdown{padding-top:21px}.dropdown.autocomplete{padding-top:0}}@keyframes dropdown-out{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}.menu{overflow:hidden;display:inline-block;margin-left:1em}.menu:first-child,.menu:first-of-type{margin-left:0}.menu .menu-label{display:inline-block;font-size:.75em;margin-top:.25em;padding:18px 12px 0;text-transform:uppercase;letter-spacing:1px;vertical-align:middle}.menu .menu-item{display:inline-block;font-size:1em;padding:0;vertical-align:middle;cursor:pointer;font-weight:500;margin-right:40px;padding-top:21px}.menu .menu-item a:hover{opacity:1}.menu .menu-item#sign-in{padding-top:0;margin:0}.menu .menu-item.small{font-size:.85em;font-weight:400}.menu .menu-item:hover{color:#888}.menu .menu-item.selected{border-color:#333}.menu .menu-item.selected:hover{color:#333}.menu .menu-item.space-right{padding-right:50px}.menu .menu-item.space-left{padding-left:50px}#preview-menu{float:left;margin-top:7px;width:0}#preview-menu .menu-item{padding:0;font-size:12px;margin-right:5px;padding-right:5px;opacity:.5}#preview-menu .menu-item.selected{opacity:1}#preview-menu .menu-item.selected .label{text-decoration:underline}#preview-menu .menu-item:last-child{border-right:none;padding-right:0}#preview-menu #editor-previews{display:none}#preview-menu #editor-custom-inputs input{width:44px;border:none;border-radius:3px;padding-left:5px;background:#fff;outline:none}#preview-menu #editor-custom-inputs input:first-child{margin-right:-10px;position:relative;z-index:2}#preview-menu #editor-custom-inputs input:last-child{margin-left:5px}#preview-menu #editor-preview{border-right:none}@media(min-width: 820px){#preview-menu{width:230px}#preview-menu .menu-item{display:inline-block}#preview-menu .menu-item#full-preview{padding-right:12px;margin-right:10px;border-right:1px solid rgba(0,0,0,.2)}#preview-menu #editor-previews{display:inline-block}}button{font-family:"Source Sans Pro",sans-serif}.btn{font-size:12px;border:none;font-weight:bold;font-family:inherit;border-radius:3px;overflow:hidden;display:inline-block;vertical-align:middle;padding:0 8px;height:24px;line-height:22px;cursor:pointer;text-align:left;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#eee}.btn i{margin-right:3px}.btn.fa{font-family:FontAwesome}.btn .no-padding{padding:0}.btn.selected,.btn.selected:hover{background-color:#dd4141;color:#fff;cursor:default}.btn.upgrade{background:#eaa22d;color:#fff}.btn.upgrade.business{background:#93366e}.btn.upgrade:hover{background:#e69717}.btn.upgrade:hover.business{background:#802f60}.btn.available{background:#5cb85c;color:#fff}.btn.available:hover{background:#4cae4c}.btn.danger{background:#dd4141;color:#fff}.btn.danger:not(.disabled):hover{background:#d92b2b}.btn.primary{background:#333;color:#fff}.btn.caution{background:orange;color:#fff}.btn.caution:hover{background:#e69500}.btn.neutral{background:#888;color:#fff}.btn.neutral:not(.disabled):hover{background:#7b7b7b}.btn.control-btn{background:rgba(0,0,0,.5);border-color:rgba(230,230,230,.7);width:34px;height:34px;padding:9px 0 0;font-size:1em;margin-right:.2em;color:#fff}.btn.control-btn:hover{background:#111}.selected.template .btn.control-btn.template-select{background:#5cb85c}.btn.disabled{pointer-events:none;opacity:.5}.btn.create-new,.btn.create,.btn.cta{background:#2886b2;border:1px solid #17739d;color:#fff}@media(min-width: 520px){.btn{font-size:14px;padding:0 8px;line-height:28px;height:30px}}@media(min-width: 920px){.btn{padding:0 12px;line-height:34px;height:36px}}.upgrade-btn{position:relative}.upgrade-btn:after{display:block;width:20px;height:20px;border-radius:9999px;background-color:#eaa22d;border:2px solid #fff;content:"";font-family:"FontAwesome";top:-8px;right:-8px;color:#fff;font-size:9px;box-sizing:border-box;position:absolute;line-height:16px;text-align:center}.upgrade-btn.business::after{background-color:#93366e}.dropdown-btn{font-size:14px;height:2em;border:1px solid #ccc;border-radius:5px;background-color:#eee;position:relative;display:inline-block;vertical-align:middle;margin-left:7px;z-index:102}.dropdown-btn:first-child{margin-left:0}.dropdown-btn .btn{border-radius:0;height:100%;line-height:1.75em;border:0;border-left:1px solid #ddd;font-size:inherit;background:none}.dropdown-btn .arrow{padding:0 .5em}.dropdown-btn .arrow i{margin-right:0}.dropdown-btn .options{position:absolute;right:0;top:2em;background:#fff;margin-top:5px;box-shadow:0 0 5px rgba(0,0,0,.3);line-height:initial}.dropdown-btn .options .option{position:relative;width:280px;border-top:1px solid #ccc;padding:.5em 1em .5em 3em;cursor:pointer}.dropdown-btn .options .option:first-child{border-top:none}.dropdown-btn .options .option .option-title{font-weight:bold}.dropdown-btn .options .option .option-description{font-size:.85em}.dropdown-btn .options .option .option-check{display:none;position:absolute;left:1.5em;top:50%;transform:translate(-50%, -50%)}.dropdown-btn .options .option.selected .option-check{display:block}.dropdown-btn .options .option:hover{background-color:#add8e6}.btn-group{font-size:14px;height:2em;border:1px solid #ccc;border-radius:5px;overflow:hidden;position:relative;display:inline-block;vertical-align:middle;margin-left:7px}.btn-group:first-child{margin-left:0}.btn-group .btn{border-radius:0;height:100%;line-height:1.75em;border:0;border-left:1px solid #ddd;font-size:inherit}.btn-group .btn:first-child{border:none}.btn-group.tabs:not(.can-stack){border:0;border-radius:0}.btn-group.tabs:not(.can-stack) .btn.tab{display:inline-block;border-top-right-radius:3px;border-top-left-radius:3px;border-bottom:none;padding-top:5px;line-height:1}.btn-group.tabs:not(.can-stack) .btn.tab:first-child{margin-left:0}.btn-group.can-stack{margin-left:0;height:auto}.btn-group.can-stack .btn{width:100%;border:0;padding:4px 8px 5px;height:auto;border-top:1px solid #ddd}.btn-group.can-stack .btn:first-child{border:none}.tab-buttons{white-space:nowrap;display:inline-block;margin:5px 0 0}.tab-buttons button{appearance:none;-webkit-appearance:none;box-shadow:none;border:none;margin:0;padding:0 8px;width:80px;height:20px;font-family:"Source Sans Pro";color:#777;outline:none;background:#fff;border-radius:3px 0 0 3px}.tab-buttons button:not([disabled]):hover{opacity:1;color:#333}.tab-buttons button.active{background-color:#2886b2;font-weight:bold;color:#fff;cursor:default}.tab-buttons button.active:hover{opacity:1;color:#fff}.tab-buttons button:last-child{border-radius:0 3px 3px 0}.tab-panes{position:relative;overflow-x:hidden}.tab-pane{position:absolute;top:0;width:100%;height:100%;left:100vw;pointer-events:none}.tab-pane.active{left:0;pointer-events:auto}.check{width:16px;height:16px;display:inline-block;position:relative;vertical-align:middle;border-radius:4px;border:1px solid #ccc;cursor:pointer;overflow:hidden;font-family:helvetica,arial;text-align:center;margin:3px 10px;background:#428bca}.check:after{opacity:0;content:"";position:absolute;width:7px;height:4px;background:transparent;top:2px;left:2px;border:3px solid #fff;border-top:none;border-right:none;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.check:hover::after{opacity:.3}.check.selected:after{opacity:1}.toggle-single{cursor:pointer}.toggle-single input[type=checkbox]{display:none}.toggle-single input[type=checkbox]:checked+.toggle-label{opacity:1}.toggle-single .toggle-label{opacity:.4}.toggle-single:hover .toggle-label{opacity:1}.toggle-single:hover input[type=checkbox]:checked+.toggle-label{opacity:1}input[type=url]{padding-right:30px}button.upload{width:30px;height:30px;background:#eee;position:absolute;bottom:0;left:100%;appearance:none;-webkit-appearance:none;border:none;outline:none;border-radius:0 3px 3px 0;font-size:18px;color:#999;margin-left:-35px;cursor:pointer}button.upload:hover{color:#777}.circle-icon{width:1.2em;height:1.2em;font-size:.8em;border-radius:50%;background:#000;color:#fff;display:inline-block;text-align:center;line-height:1.1em}.circle-icon i{font-size:.75em}.circle-icon:last-child{margin-right:0}.flourish-popup{pointer-events:none;z-index:111;font-size:.8em;max-width:280px}.flourish-popup h1{font-size:1em;font-weight:bold}.flourish-popup p{font-size:.9em}.flourish-popup-svg{pointer-events:none}.dialog{position:fixed;width:100%;height:100%;top:0;left:0;background:rgba(255,255,255,.75);display:flex;align-items:center;justify-content:center}.dialog .dialog-inner{background:#fff;padding:36px 30px 30px;box-shadow:0 1px 4px rgba(0,0,0,.2);border-radius:3px;margin:20px;width:420px;max-width:calc(100% - 40px);max-height:80vh;overflow:auto}.dialog .dialog-inner textarea{resize:vertical}.dialog,.detailed-settings .settings-block{z-index:113}.dialog .btn,.detailed-settings .settings-block .btn{margin-bottom:5px}.dialog .btn.secondary,.detailed-settings .settings-block .btn.secondary{background:none;text-decoration:underline;font-weight:normal}.dialog .dialog-inner .text,.detailed-settings .settings-block .dialog-inner .text{margin-bottom:30px}.dialog .dialog-inner .text h1,.detailed-settings .settings-block .dialog-inner .text h1{font-weight:bold;font-size:18px;margin-bottom:10px}.dialog .dialog-inner .text h2,.detailed-settings .settings-block .dialog-inner .text h2{font-weight:600;font-size:16px;color:#333;margin:10px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dialog .dialog-inner .text hr,.detailed-settings .settings-block .dialog-inner .text hr{margin:15px 0;opacity:.3}.dialog .dialog-inner .text p,.detailed-settings .settings-block .dialog-inner .text p{font-size:16px;line-height:24px;color:#777;margin-bottom:6px;position:relative}.dialog .dialog-inner .text p.alert,.detailed-settings .settings-block .dialog-inner .text p.alert{color:#c64c61}.dialog .dialog-inner .text p.small,.detailed-settings .settings-block .dialog-inner .text p.small{font-size:14px;line-height:21px}.dialog .dialog-inner .text a,.detailed-settings .settings-block .dialog-inner .text a{text-decoration:underline}.dialog .dialog-inner .text textarea,.dialog .dialog-inner .text input,.dialog .dialog-inner .text select,.detailed-settings .settings-block .dialog-inner .text textarea,.detailed-settings .settings-block .dialog-inner .text input,.detailed-settings .settings-block .dialog-inner .text select{margin:.5em 0;width:100%;border:1px solid #999;font-size:.9em;padding:.1em 0 .1em .1em}.dialog .dialog-inner .text textarea.narrow,.dialog .dialog-inner .text input.narrow,.dialog .dialog-inner .text select.narrow,.detailed-settings .settings-block .dialog-inner .text textarea.narrow,.detailed-settings .settings-block .dialog-inner .text input.narrow,.detailed-settings .settings-block .dialog-inner .text select.narrow{width:50px;margin-right:1em}.dialog .dialog-inner .text textarea.medium,.dialog .dialog-inner .text input.medium,.dialog .dialog-inner .text select.medium,.detailed-settings .settings-block .dialog-inner .text textarea.medium,.detailed-settings .settings-block .dialog-inner .text input.medium,.detailed-settings .settings-block .dialog-inner .text select.medium{width:200px}.dialog .dialog-inner .text table,.detailed-settings .settings-block .dialog-inner .text table{border:1px solid #ddd;width:100%;border-collapse:collapse}.dialog .dialog-inner .text table td,.detailed-settings .settings-block .dialog-inner .text table td{border:1px solid #ddd;padding:2px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:26px;max-width:170px}.dialog .dialog-inner .text select,.detailed-settings .settings-block .dialog-inner .text select{font-size:inherit;outline:none}.dialog .dialog-inner .text ul.plain,.detailed-settings .settings-block .dialog-inner .text ul.plain{list-style:none;padding:0}.dialog .dialog-inner .text ul.plain li,.detailed-settings .settings-block .dialog-inner .text ul.plain li{padding:0}.dialog .dialog-inner .text label:first-child,.detailed-settings .settings-block .dialog-inner .text label:first-child{display:inline-block;width:70px}.dialog .dialog-inner .text label:first-child:last-child,.detailed-settings .settings-block .dialog-inner .text label:first-child:last-child{width:100%}.dialog .dialog-inner .text input[type=number],.detailed-settings .settings-block .dialog-inner .text input[type=number]{width:90px}.dialog .dialog-inner .text input[type=checkbox],.dialog .dialog-inner .text input[type=radio],.detailed-settings .settings-block .dialog-inner .text input[type=checkbox],.detailed-settings .settings-block .dialog-inner .text input[type=radio]{width:auto;margin-right:.4em}.dialog .dialog-inner .text textarea,.detailed-settings .settings-block .dialog-inner .text textarea{padding:.1em;height:5em}.dialog .dialog-inner .text textarea.code,.detailed-settings .settings-block .dialog-inner .text textarea.code{font-family:monospace;font-size:.8em;height:7em}.dialog .dialog-inner .text input[type=text][disabled],.detailed-settings .settings-block .dialog-inner .text input[type=text][disabled]{opacity:.5}.dialog .dialog-inner .text label,.detailed-settings .settings-block .dialog-inner .text label{display:inline-block;font-weight:600;color:#333;margin-right:.5em}.dialog .dialog-inner .text label.narrow,.detailed-settings .settings-block .dialog-inner .text label.narrow{width:50px}.dialog .dialog-inner .text label span,.detailed-settings .settings-block .dialog-inner .text label span{display:inline-block;color:#999;font-size:.85em;font-weight:500;line-height:1.2;padding-left:22px}.dialog .dialog-inner .text label select,.detailed-settings .settings-block .dialog-inner .text label select{width:auto}.dialog .dialog-inner .text label.indented,.detailed-settings .settings-block .dialog-inner .text label.indented{display:block;padding-left:22px;width:100%;position:relative}.dialog .dialog-inner .text label.indented input:first-child,.detailed-settings .settings-block .dialog-inner .text label.indented input:first-child{position:absolute;top:0;left:0}.dialog .dialog-inner .text figure,.detailed-settings .settings-block .dialog-inner .text figure{max-width:100%;max-height:120px;overflow:hidden}.dialog .dialog-inner .text figure img,.detailed-settings .settings-block .dialog-inner .text figure img{width:100%;height:100%;object-fit:contain}.dialog .dialog-inner .text .collapsed,.detailed-settings .settings-block .dialog-inner .text .collapsed{display:none}.dialog .dialog-inner .text button[name=toggle-collapse],.detailed-settings .settings-block .dialog-inner .text button[name=toggle-collapse]{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;border:none;background:transparent;outline:none;font:inherit;padding:.5em 0}.dialog .dialog-inner .text .columns,.detailed-settings .settings-block .dialog-inner .text .columns{display:flex;align-items:flex-start;justify-content:flex-start}.dialog .dialog-inner .text .columns>div,.detailed-settings .settings-block .dialog-inner .text .columns>div{width:50%;padding-right:10px;overflow:hidden}.dialog .dialog-inner .text .columns>div>*,.detailed-settings .settings-block .dialog-inner .text .columns>div>*{max-width:100%}.dialog .dialog-inner .text button.upload,.detailed-settings .settings-block .dialog-inner .text button.upload{margin-left:-30px;height:25px;bottom:6px}.dialog .dialog-inner .upgrade,.detailed-settings .settings-block .dialog-inner .upgrade{margin:0 -30px -30px;padding:30px 30px 30px;background:#eaa22d;color:#fff}.dialog .dialog-inner .upgrade p,.detailed-settings .settings-block .dialog-inner .upgrade p{color:#fff}.dialog .dialog-inner .upgrade ul,.detailed-settings .settings-block .dialog-inner .upgrade ul{padding:0}.dialog .dialog-inner .upgrade ul li,.detailed-settings .settings-block .dialog-inner .upgrade ul li{font-weight:bold;margin-bottom:9px;list-style:none;padding-left:20px;position:relative}.dialog .dialog-inner .upgrade ul li i,.detailed-settings .settings-block .dialog-inner .upgrade ul li i{position:absolute;left:0;top:3px}.dialog .dialog-inner .upgrade .btn.convert,.detailed-settings .settings-block .dialog-inner .upgrade .btn.convert{background:#fff;color:#eaa22d}.dialog .dialog-inner .upgrade.business,.detailed-settings .settings-block .dialog-inner .upgrade.business{background-color:#93366e}.dialog .dialog-inner .upgrade.business .btn.convert,.detailed-settings .settings-block .dialog-inner .upgrade.business .btn.convert{color:#93366e}.hide-unpublished{display:none}body.published .hide-published{display:none}body.published .hide-unpublished{display:initial}.svg-defs{display:none}#sdk-tag{font-size:14px;margin-top:23px;display:inline-block;opacity:.2;font-weight:bold;position:absolute}@media(min-width: 420px){#sdk-tag{margin-top:33px}}.row.header{position:relative;top:0;background:#fff;border-bottom:1px solid #ccc;height:49px}.row.header #back-to-projects{width:48px;height:100%;border-right:1px solid #eee;display:block;text-align:center;padding-top:12px;font-size:19px}.row.header #back-to-projects.bosh img{width:20px}@media(min-width: 420px){.row.header #back-to-projects{font-size:21px;padding-top:16px;width:60px}}.row.header .row-inner{height:100%;padding-top:1px}.row.header .row-inner:after{clear:both;content:""}.row.header .menu-holder{width:auto;height:100%;display:inline-block;text-align:left;vertical-align:bottom;float:right}.row.header .hamburger{margin-top:6px}.row.header .logo{margin:6px 0 0;display:block;float:left;width:100px}.row.header .logo img{width:100px}.row.header .dropdown{margin-right:0;max-width:300px;position:absolute;right:20px}.row.header .mobile-nav{display:none}.row.header .mobile-nav .fa-bars{font-size:1.5em}.row.header .desktop-nav{padding-top:0}.row.header .user-settings{margin-top:10px;padding:5px 0 5px 40px;position:relative}.row.header .unsubscribed .user-settings{padding:0 0 0 40px}@media screen and (max-width: 819px){.row.header .desktop-nav{display:none}.row.header .mobile-nav{display:block}.row.header .menu-holder:hover{text-align:right}.row.header .menu-holder:hover .menu{display:block;position:fixed;padding:10px;background:#fff;top:40px;right:0;box-shadow:3px 3px 5px rgba(0,0,0,.1);border:1px solid rgba(0,0,0,.1)}.row.header .menu-holder:hover .menu .menu-item{display:block;padding:6px 0;color:#333;margin-right:0;font-size:14px;text-align:left}.row.header .menu-holder:hover .menu #sign-in .btn{background:#eee;font-size:14px;margin-top:12px}}@media(min-width: 420px){.row.header{height:61px}.row.header .logo{margin-top:10px;width:120px}.row.header .logo img{width:120px}.row.header .hamburger{margin-top:14px}}@media(min-width: 820px){.row.header .menu-holder{width:430px}.row.header.not-logged-in .menu-holder{width:580px}.row.header #sign-in{position:absolute;right:20px;top:0}.row.header #sign-in .btn{margin-top:12px;background-color:#eee}.row.header #sign-in a{display:block}}@media(min-width: 1020px){.row.header.not-logged-in .row-inner{max-width:1220px}}.row.header.app-showcase .sign-in{position:absolute;top:8px;right:20px;height:32px;font-size:14px;padding-top:.3em;line-height:1.4em}@media(min-width: 420px){.row.header.app-showcase .sign-in{top:12px;height:40px;font-size:16px;padding-top:.45em}}.is-static .row.header,.not-logged-in .row.header{background:transparent;box-shadow:none;z-index:3;border-color:transparent}.is-static .row.header .row-inner,.not-logged-in .row.header .row-inner{display:block;position:relative}.is-static .row.header .row-inner:after,.not-logged-in .row.header .row-inner:after{border-bottom:1px solid rgba(255,255,255,.1);content:"";display:block;position:absolute;bottom:0;left:20px;right:20px}.is-static .row.header .menu-holder,.is-static .row.header .menu-holder:hover,.not-logged-in .row.header .menu-holder,.not-logged-in .row.header .menu-holder:hover{display:inline-block;width:calc(100% - 150px);text-align:right}.is-static .row.header .menu-holder .menu,.is-static .row.header .menu-holder:hover .menu,.not-logged-in .row.header .menu-holder .menu,.not-logged-in .row.header .menu-holder:hover .menu{min-width:150px;position:absolute;right:20px;top:36px;padding:10px 20px}.is-static .row.header .menu-holder .menu h1,.is-static .row.header .menu-holder:hover .menu h1,.not-logged-in .row.header .menu-holder .menu h1,.not-logged-in .row.header .menu-holder:hover .menu h1{font-weight:600}.is-static .row.header .menu-holder .menu .menu-item,.is-static .row.header .menu-holder:hover .menu .menu-item,.not-logged-in .row.header .menu-holder .menu .menu-item,.not-logged-in .row.header .menu-holder:hover .menu .menu-item{font-size:16px;vertical-align:middle;border-color:transparent;margin-top:.5em}@media(min-width: 820px){.is-static .row.header .menu-holder .menu .menu-item,.is-static .row.header .menu-holder:hover .menu .menu-item,.not-logged-in .row.header .menu-holder .menu .menu-item,.not-logged-in .row.header .menu-holder:hover .menu .menu-item{color:#fff;margin:1em .4em}}@media(min-width: 1020px){.is-static .row.header .menu-holder .menu .menu-item,.is-static .row.header .menu-holder:hover .menu .menu-item,.not-logged-in .row.header .menu-holder .menu .menu-item,.not-logged-in .row.header .menu-holder:hover .menu .menu-item{margin:1em .75em}}@media(min-width: 420px){.is-static .row.header .menu-holder .menu,.is-static .row.header .menu-holder:hover .menu,.not-logged-in .row.header .menu-holder .menu,.not-logged-in .row.header .menu-holder:hover .menu{top:42px}}@media(min-width: 820px){.is-static .row.header .menu-holder .menu,.is-static .row.header .menu-holder:hover .menu,.not-logged-in .row.header .menu-holder .menu,.not-logged-in .row.header .menu-holder:hover .menu{top:0;padding:0;width:calc(100% - 140px)}.is-static .row.header .menu-holder .menu .sub-menu,.is-static .row.header .menu-holder:hover .menu .sub-menu,.not-logged-in .row.header .menu-holder .menu .sub-menu,.not-logged-in .row.header .menu-holder:hover .menu .sub-menu{display:inline-block;vertical-align:middle;padding-top:6px}.is-static .row.header .menu-holder .menu .sub-menu#main-menu,.is-static .row.header .menu-holder:hover .menu .sub-menu#main-menu,.not-logged-in .row.header .menu-holder .menu .sub-menu#main-menu,.not-logged-in .row.header .menu-holder:hover .menu .sub-menu#main-menu{width:calc(100% - 340px);text-align:left}}@media(min-width: 820px)and (min-width: 1020px){.is-static .row.header .menu-holder .menu .sub-menu#main-menu,.is-static .row.header .menu-holder:hover .menu .sub-menu#main-menu,.not-logged-in .row.header .menu-holder .menu .sub-menu#main-menu,.not-logged-in .row.header .menu-holder:hover .menu .sub-menu#main-menu{text-align:center}}@media(min-width: 820px){.is-static .row.header .menu-holder .menu .sub-menu h1,.is-static .row.header .menu-holder:hover .menu .sub-menu h1,.not-logged-in .row.header .menu-holder .menu .sub-menu h1,.not-logged-in .row.header .menu-holder:hover .menu .sub-menu h1{font-size:18px;padding-top:4px;font-weight:bold}}@media(min-width: 820px){.is-static .row.header .menu-holder .menu .sub-menu h2,.is-static .row.header .menu-holder:hover .menu .sub-menu h2,.not-logged-in .row.header .menu-holder .menu .sub-menu h2,.not-logged-in .row.header .menu-holder:hover .menu .sub-menu h2{font-size:11px;padding-top:9px;text-transform:uppercase;letter-spacing:1px}}@media(min-width: 1020px){.is-static .row.header .menu-holder .menu .sub-menu#main-menu,.is-static .row.header .menu-holder:hover .menu .sub-menu#main-menu,.not-logged-in .row.header .menu-holder .menu .sub-menu#main-menu,.not-logged-in .row.header .menu-holder:hover .menu .sub-menu#main-menu{width:calc(100% - 450px)}}.is-static .row.header .mobile-nav .fa-bars,.not-logged-in .row.header .mobile-nav .fa-bars{color:#fff;font-size:1em}#current-picture{width:32px;height:32px;background:#eee;border-radius:16px;display:inline-block;background-size:cover;background-position:center center}.show-username #current-picture{position:absolute;left:0;top:3px}.badge{position:relative;top:-2px;text-align:center;display:inline-block;border-radius:12px;font-weight:600;font-size:12px;line-height:1;padding:4px 5px;min-width:20px;margin-left:3px;color:#666;background:#ddd}.badge.reviewer{color:#fff;background:#00a4ce}#current-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px;display:inline-block;vertical-align:top;margin:5px 0 0;font-weight:bold;text-align:left;font-size:16px;line-height:1em}#upgrade-link{font-size:12px;display:block;opacity:.7;text-align:left;line-height:1em}#create-menu i{background:#fff;color:#ff465d;height:18px;width:18px;border-radius:9999px;font-size:12px;vertical-align:middle;padding-top:4px;margin-right:5px}#create-menu .btn{position:relative}#create-menu .btn-bg{position:absolute;right:0;top:6px;opacity:.2;font-size:24px}@media(min-width: 820px){#create-menu{margin-top:10px}#create-menu .menu-item{background:#ff465d;transition:background 200ms;color:#fff;padding:7px 18px 7px 12px;font-size:16px;font-weight:bold;height:36px;margin-right:10px}#create-menu .menu-item:hover{background:#9a2d44}}#mobile-menu{min-width:180px}#mobile-menu .dropdown-label{padding:.4em 1.3em;font-weight:normal}.header-strip{height:2px}.header-strip.header-strip-visualisation{background-color:#c64c61}.header-strip.header-strip-story{background-color:#ffd26b}header{display:block;position:absolute;top:0;left:0;width:100%}main{display:block;position:absolute;top:80px;left:0;width:100%;height:calc(100vh - 80px);overflow-y:auto}@media(min-width: 420px){main{top:92px;height:calc(100vh - 92px)}}.hide-editor-bar main{top:50px;height:calc(100vh - 50px)}@media(min-width: 420px){.hide-editor-bar main{top:62px;height:calc(100vh - 62px)}}.user-nav{float:right;padding-top:0;display:none}@media(min-width: 820px){.user-nav{display:block;margin-top:13px;height:36px}.user-nav .dropdown-head #current-picture{height:36px;width:36px;border-radius:9999px;margin-left:10px}.user-nav .dropdown-list{left:auto;right:-5px;margin-top:-5px}}.visualisation-editor{overflow-x:hidden}.visualisation-editor .template-chooser.visible+.tab-panes{display:none}.visualisation-editor .tab-panes{height:100%;width:100%}.visualisation-editor .tab-panes .tab-pane,.visualisation-editor .tab-panes .row.editor,.visualisation-editor .tab-panes .row-inner,.visualisation-editor .tab-panes #visualisation{height:100%}.visualisation-editor .tab-panes .tab-pane .editor-core,.visualisation-editor .tab-panes .row.editor .editor-core,.visualisation-editor .tab-panes .row-inner .editor-core,.visualisation-editor .tab-panes #visualisation .editor-core{position:relative}@media(min-width: 820px){.visualisation-editor .tab-panes .tab-pane .editor-core,.visualisation-editor .tab-panes .row.editor .editor-core,.visualisation-editor .tab-panes .row-inner .editor-core,.visualisation-editor .tab-panes #visualisation .editor-core{min-height:100%;padding-bottom:40px}}.visualisation-editor .tab-panes .tab-pane .side-panel{display:none}.visualisation-editor .tab-panes .tab-pane.active .side-panel{display:block}.visualisation-editor .tab-panes .tab-pane:not(.active) #spreadsheet-container input{display:none}.story-editor,.visualisation-editor{background:#f9f9f9}.row.editor{padding:0}.no-template .row.editor{display:none}.row.editor .row-inner{max-width:none;padding:0 10px}.row.editor #visibility-status .label,.row.editor .blueprint-tag{display:inline-block;margin-left:2px}.row.editor #visualisation,.row.editor #story{height:100%;width:100%;transition:height .5s ease;position:relative}.row.editor #visualisation .editor-core,.row.editor #story .editor-core{width:100%;height:auto;overflow:visible;transition:width .5s ease;position:relative;text-align:center}.row.editor #visualisation .editor-core .preview-holder,.row.editor #story .editor-core .preview-holder{width:100%;height:100%;padding-right:4px;min-width:100px;min-height:100px;transition:margin-left .5s ease,width .5s ease,opacity 1s;position:relative;background:#fff;display:inline-block;box-shadow:0 0 2px rgba(0,0,0,.2)}.row.editor #visualisation .editor-core .preview-holder #preview,.row.editor #story .editor-core .preview-holder #preview{height:100%;max-height:100%;overflow-y:auto;min-width:100px}.row.editor #visualisation .editor-core .preview-holder #preview,.row.editor #story .editor-core .preview-holder #preview{text-align:right;border:none;background:#fff;display:block;width:100%;height:100%}.row.editor #visualisation .editor-core .preview-holder #preview iframe,.row.editor #story .editor-core .preview-holder #preview iframe{width:100vw;border:none;position:relative;display:block}.row.editor #visualisation .editor-core .preview-holder #preview #blank-slide,.row.editor #visualisation .editor-core .preview-holder #preview iframe,.row.editor #story .editor-core .preview-holder #preview #blank-slide,.row.editor #story .editor-core .preview-holder #preview iframe{height:100%;width:100%;min-width:100px;border:none;flex:1}.row.editor #visualisation .editor-core .preview-holder .loading-spinner,.row.editor #story .editor-core .preview-holder .loading-spinner{position:absolute;left:50%;top:50%;width:27px;height:27px;opacity:0;pointer-events:none;z-index:5;margin-top:-13.5px;margin-left:-13.5px}.row.editor #visualisation .editor-core .preview-holder .unsupported-notice,.row.editor #story .editor-core .preview-holder .unsupported-notice{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#f9f9f9;padding:20px;z-index:10}.row.editor #visualisation .editor-core #resize-overlay,.row.editor #story .editor-core #resize-overlay{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.row.editor #visualisation .editor-core #resize-overlay.dragging,.row.editor #story .editor-core #resize-overlay.dragging{display:block}.row.editor #visualisation .editor-core #resize-handle-container,.row.editor #story .editor-core #resize-handle-container{position:absolute;width:4px;bottom:0;top:0;right:0;margin-bottom:0;display:none;z-index:100;transition:width 200ms}.row.editor #visualisation .editor-core #resize-handle-container #resize-handle,.row.editor #story .editor-core #resize-handle-container #resize-handle{cursor:ew-resize;position:absolute;width:4px;bottom:0;top:0;right:0;background:#eee;transition:width 100ms,background 100ms}.row.editor #visualisation .editor-core #resize-handle-container #resize-handle:after,.row.editor #story .editor-core #resize-handle-container #resize-handle:after{display:block;content:"";position:absolute;top:0;bottom:0;left:-4px;background:transparent;right:0;width:auto}.row.editor #visualisation .editor-core #resize-handle-container .resize-handle-icon,.row.editor #story .editor-core #resize-handle-container .resize-handle-icon{position:absolute;right:3px;top:50%;margin-top:-15px;opacity:.8;pointer-events:none;transition:right 100ms;display:none}.row.editor #visualisation .editor-core #resize-handle-container>i,.row.editor #story .editor-core #resize-handle-container>i{position:absolute;top:5px;left:5px}.row.editor #visualisation .editor-core #resize-handle-container:hover,.row.editor #story .editor-core #resize-handle-container:hover{width:6px}.row.editor #visualisation .editor-core #resize-handle-container:hover #resize-handle,.row.editor #story .editor-core #resize-handle-container:hover #resize-handle{width:6px;background:#ddd}.row.editor #visualisation .editor-core #resize-handle-container:hover #resize-handle:after,.row.editor #story .editor-core #resize-handle-container:hover #resize-handle:after{left:-10px}.row.editor #visualisation .editor-core #resize-handle-container:hover .resize-handle-icon,.row.editor #story .editor-core #resize-handle-container:hover .resize-handle-icon{right:2px;display:block}.row.editor #visualisation .editor-core #resize-handle-container.dragging #resize-handle:after,.row.editor #story .editor-core #resize-handle-container.dragging #resize-handle:after{left:-200px;right:0}@media(min-width: 770px){.row.editor #visualisation .editor-core,.row.editor #story .editor-core{padding:0}.row.editor #visualisation .editor-core #resize-handle-container,.row.editor #story .editor-core #resize-handle-container{display:block}}@media(min-width: 820px){.row.editor #visualisation .editor-core,.row.editor #story .editor-core{padding:0 10px 0 0}}.row.editor #visualisation{padding:10px 0 0}.row.editor #visualisation .editor-core .preview-holder iframe#preview{transform-origin:left top}.row.editor #visualisation .editor-core .preview-holder iframe#preview.mini-preview{z-index:1000;opacity:1;box-shadow:none;animation:fadeIn 500ms;overflow:hidden;pointer-events:none}@keyframes fadeIn{0%{opacity:0}1%{opacity:0}100%{opacity:1}}@media(min-width: 820px){.row.editor #visualisation .editor-core .preview-holder iframe#preview{width:100%}}.row.editor #story .editor-core .preview-holder #preview iframe{height:calc(100% - 64px)}.row.editor #story .editor-core .preview-holder #preview.nav-style-none iframe{height:100%}@media(min-width: 820px){.row.editor #story .editor-core{max-width:calc(100% - 220px);margin-left:220px;min-height:calc(100vh - 94px)}}.row.editor.mobile #visualisation .editor-core .preview-holder,.row.editor.mobile #story .editor-core .preview-holder{width:320px}.row.editor.mobile #visualisation .editor-core .preview-holder iframe,.row.editor.mobile #story .editor-core .preview-holder iframe{width:320px}.row.editor.mobile.landscape #visualisation .editor-core .preview-holder,.row.editor.mobile.landscape #story .editor-core .preview-holder{width:500px}.row.editor.mobile.landscape #visualisation .editor-core .preview-holder iframe,.row.editor.mobile.landscape #story .editor-core .preview-holder iframe{width:500px}.row.editor.tablet #visualisation .editor-core .preview-holder,.row.editor.tablet #story .editor-core .preview-holder{width:768px}.row.editor.tablet #visualisation .editor-core .preview-holder iframe,.row.editor.tablet #story .editor-core .preview-holder iframe{width:768px}.row.editor.tablet.landscape #visualisation .editor-core .preview-holder,.row.editor.tablet.landscape #story .editor-core .preview-holder{width:1024px}.row.editor.tablet.landscape #visualisation .editor-core .preview-holder iframe,.row.editor.tablet.landscape #story .editor-core .preview-holder iframe{width:1024px}@media(min-width: 820px){.row.editor #visualisation .editor-core{max-width:calc(100% - 350px)}}.project-header{padding:0 10px;position:absolute;top:2px;left:48px;right:0;width:auto}@media(min-width: 420px){.project-header{left:60px}.project-header:after{clear:both;display:block;content:""}}@media(min-width: 620px){.project-header{height:60px;z-index:110}}.project-header #visibility-status,.project-header .read-only,.project-header .blueprint-tag{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){.project-header #visibility-status,.project-header .read-only,.project-header .blueprint-tag{font-size:11px;padding:2px 3px 1px}}.project-header #visibility-status{cursor:pointer}.project-header #visibility-status:hover{color:#333}.project-header #visibility-status,.project-header .read-only{color:#aaa;font-weight:normal;padding:1px 3px 2px;background:#eee}.project-header #visibility-status.public,.project-header .read-only.public{background:#ffdc98;color:#000}.project-header #visibility-status.public:hover,.project-header .read-only.public:hover{background:#eec26d;color:#000}.project-header .blueprint-tag{font-size:9px;font-weight:bold;background:#2886b2;color:#fff;text-transform:uppercase;padding:1px 5px 2px;cursor:default}.project-header .project-settings{margin-left:10px;font-size:14px;font-weight:normal;line-height:0;vertical-align:top;margin-bottom:-3px;display:inline-block;margin-top:-2px;z-index:110;height:auto}.project-header .project-settings .dropdown-head{padding-right:5px;padding-left:5px;padding-bottom:10px;font-size:16px}.project-header .project-settings .dropdown-list{margin-right:0}@media(min-width: 420px){.project-header .project-settings{top:0;margin-top:-4px;padding-top:19px}}@media(min-width: 620px){.project-header .project-settings{padding-top:18px}}.project-header .has-name+.project-settings{margin-left:0}.project-header .tags{display:inline-block;margin-left:.5em}.project-header .name{position:relative;vertical-align:top;font-weight:normal;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){.project-header .name{margin-top:5px;height:26px}}@media(min-width: 620px){.project-header .name{font-size:18px}}@media(min-width: 820px){.project-header .name{font-size:18px}}.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){.project-header .name input{height:26px}}.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){.project-header .name .name-width-setter{max-width:240px}}@media(min-width: 620px){.project-header .name .name-width-setter{max-width:340px}}@media(min-width: 820px){.project-header .name .name-width-setter{max-width:340px}}.project-header .name.not-editable input{border-color:transparent;color:#333;top:0;background:transparent;font-style:normal}.project-header .name.has-name input,.project-header .name.has-name .name-width-setter{font-style:normal;background:none}.project-header .name.has-name input{color:#333;border-color:#ccc;top:0;font-style:normal}.project-header .name.has-name .name-overlay{display:block;top:0}.project-header .name .name-overlay{display:none;content:"";position:absolute;left:125px;top:0;width:20px;height:100%;background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 80%)}@media(min-width: 420px){.project-header .name .name-overlay{left:225px}}@media(min-width: 620px){.project-header .name .name-overlay{left:325px}}@media(min-width: 820px){.project-header .name .name-overlay{left:325px}}.project-header .project-author{color:#aaa;font-weight:normal;top:30px;font-size:11px;line-height:1em;position:absolute}@media(min-width: 420px){.project-header .project-author{top:38px;font-size:12px}}@media(min-width: 820px){.project-header .project-author{font-size:12px}}.project-header .project-author+.dropdown .dropdown-head{display:inline-block}.project-header .project-author+.dropdown .badge{top:-14px}.project-header .project-author+.dropdown .dropdown-list .badge{position:absolute;right:10px;top:12px;pointer-events:none}.project-header #export-btn-group{float:right;margin-bottom:0;margin-right:0;margin-top:9px}.project-header #export-btn-group .export-btn,.project-header #export-btn-group #story-btn{width:30px;height:30px;padding:0 0;text-align:center}.project-header #export-btn-group .export-btn span,.project-header #export-btn-group #story-btn span{display:none}.project-header #export-btn-group .export-btn i,.project-header #export-btn-group #story-btn i{margin-right:0}@media(min-width: 420px){.project-header #export-btn-group .export-btn,.project-header #export-btn-group #story-btn{width:30px;height:30px}}@media(min-width: 820px){.project-header #export-btn-group .export-btn,.project-header #export-btn-group #story-btn{padding:0 8px;height:36px;width:auto}.project-header #export-btn-group .export-btn span,.project-header #export-btn-group #story-btn span{display:inline}.project-header #export-btn-group .export-btn i,.project-header #export-btn-group #story-btn i{margin-right:3px}}.project-header #export-btn-group #create-btn{height:36px;line-height:34px}.visualisation-editor.no-template .project-header #export-btn-group{display:none}.project-header #export-btn-group #story-btn-form{display:inline-block}.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){.project-header #export-btn-group{margin-top:15px}}@media(min-width: 820px){.project-header #export-btn-group{margin-top:12px}}.row.editor-bar{background:#e3e3e3;height:30px;font-size:12px;padding:0 10px}.row.editor-bar #visualisation-tabs{z-index:110;width:calc(100% - 120px);margin-left:60px;text-align:center}.row.editor-bar #visualisation-tabs button{font-size:12px;line-height:1em}.row.editor-bar #visualisation-tabs button i{margin-right:3px;font-size:11px}.row.editor-bar #visibility-status,.row.editor-bar .read-only{display:inline-block;float:left;font-weight:bold;color:#aaa;margin-top:7px}.row.editor-bar .confirm-saved{float:right;margin-top:8px;margin-left:0;width:60px}.row.editor-bar .flourish-warn-container{display:none;float:right;margin-left:4px;position:relative}.row.editor-bar .flourish-warn-container.visible{display:block}.row.editor-bar .flourish-warn-container .flourish-warn-btn{background:#333;height:16px;width:16px;border-radius:50%;font-size:9px;color:#e3e3e3;margin-top:7px;text-align:center;padding-top:2px}.row.editor-bar .flourish-warn-container .flourish-warn-list{display:none;position:absolute;right:0;top:25px;width:250px;background-color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);border-radius:3px;padding:10px;z-index:1}.row.editor-bar .flourish-warn-container .flourish-warn-list.visible{display:block}.row.editor-bar .flourish-warn-container .flourish-warn-list ul{margin:0;padding:0;list-style:none}.row.editor-bar .flourish-warn-container .flourish-warn-list ul li{position:relative;border-top:1px solid rgba(0,0,0,.1);padding:8px 0 0 20px;margin:8px 0 0 0}.row.editor-bar .flourish-warn-container .flourish-warn-list ul li:first-child{border-top:none;padding-top:0;margin-top:0}.row.editor-bar .flourish-warn-container .flourish-warn-list ul li:first-child i{top:4px}.row.editor-bar .flourish-warn-container .flourish-warn-list ul li i{position:absolute;top:11px;left:4px;color:#333;font-size:11px}.row.editor-bar .flourish-warn-container .flourish-warn-list ul li p.message{font-weight:bold}.row.editor-bar .flourish-warn-container .flourish-warn-list ul li p.explanation{color:#888}@media(min-width: 820px){.row.editor-bar #visualisation-tabs{width:calc(100% - 380px);margin-left:0}}.tab-data .tab-preview{position:fixed;z-index:2}.tab-data #preview-menu{opacity:0;pointer-events:none}.side-panel{text-align:left;position:relative;background:#f9f9f9;line-height:1.1;margin-left:0;padding:10px 0 1px 0;width:100%}.side-panel.closed{margin-left:-300px}.side-panel .side-panel-inner{margin-bottom:87px;border:1px solid #ddd;background:#fff}@media(min-width: 820px){.side-panel .side-panel-inner{border:none;background:transparent}}.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:solid 1px rgba(0,0,0,.4);border-radius:3px;background:#eaeaea;transition:right .5s ease;z-index:1}.side-panel .side-panel-close.opener{right:calc(-1.5em + 1px);border-bottom-left-radius:0;border-top-left-radius:0}.side-panel .side-panel-close:hover{opacity:1}.side-panel .side-panel-close:hover i{opacity:.7}.side-panel#slides-panel{height:100%;padding:0;background:#fff;margin-top:20px}.side-panel#slides-panel .side-panel-scrollbox{padding:0 15px 10px}@media(min-width: 820px){.side-panel#slides-panel{max-width:200px;right:auto;position:absolute;top:0;margin-top:0;border-right:1px solid #ddd}}.side-panel .side-panel-scrollbox{width:calc(100%);height:calc(100%);padding:10px 10px 20px;overflow-y:scroll}.side-panel .side-panel-scrollbox .side-panel-inner{width:100%}@media(min-width: 1220px){.side-panel .side-panel-scrollbox{padding:20px}}.side-panel h1{margin:1em 0 .5em;font-size:.9em;opacity:.5;cursor:default}.side-panel h2{font-size:13px;letter-spacing:0;font-weight:500;margin:0 0 .6em;position:relative;color:#333;word-wrap:break-word}.side-panel .toplevel-settings-block{padding:0 5px 20px}.side-panel .toplevel-settings-block .settings-option{display:inline-block}.side-panel .toplevel-settings-block .settings-option:first-child{margin-top:9px}.side-panel .settings-divider{margin:1rem -10px 0;clear:both;width:calc(100% + 20px);height:1px;background:#eee}.side-panel .settings-subhead{text-transform:uppercase;font-size:.7rem;font-weight:bold;color:#999;padding:.5rem 5px .25rem;margin:0}.side-panel .settings-block{margin:0;display:inline-block;width:100%;background-color:#fff;padding:0 10px 0;min-height:24px}.side-panel .settings-block h2{margin:0 -10px;font-size:.8rem;padding:.75em 30px;font-weight:bold;background-color:#f5f5f5;border-top:1px solid #ddd;cursor:pointer;color:#535e65}.side-panel .settings-block h2:focus{outline:none}.side-panel .settings-block h2:hover,.side-panel .settings-block h2:focus{background:#e8e8e8}.side-panel .settings-block h2::after{font-family:FontAwesome;content:"";position:absolute;left:15px}.side-panel .settings-block .settings-option,.side-panel .settings-block .settings-divider,.side-panel .settings-block .settings-subhead{display:none}.side-panel .settings-block input::-webkit-contacts-auto-fill-button{visibility:hidden;display:none !important;pointer-events:none;position:absolute;right:0}.side-panel .settings-block.open{padding-bottom:1rem}.side-panel .settings-block.open h2::after{transform:rotate(90deg)}.side-panel .settings-block.open .settings-option{display:inline-block}.side-panel .settings-block.open .settings-divider,.side-panel .settings-block.open .settings-subhead{display:block}.side-panel .settings-block.open h2+.settings-divider{background:transparent;margin-top:.25rem}.side-panel .settings-block.open .hidden{display:none}.side-panel .settings-block.hidden{display:none}.side-panel h3{font-size:.8rem;line-height:1.2em;font-weight:normal;margin-top:0;margin-bottom:3px;color:#333;display:inline-block;cursor:default;overflow:hidden;vertical-align:top;background:#fff;text-overflow:ellipsis}.side-panel p{font-size:12px;margin-top:0;font-weight:300}.side-panel .upgrade-setting{cursor:pointer}.side-panel .upgrade-setting .buttons-container label{opacity:.2;pointer-events:none}.side-panel .upgrade-setting h3{color:#999}.side-panel .upgrade-setting input,.side-panel .upgrade-setting label.slider{pointer-events:none;opacity:.2}.side-panel .upgrade-setting h3,.side-panel .upgrade-setting input,.side-panel .upgrade-setting label.slider{cursor:pointer}.side-panel .settings-option{position:relative;margin-top:.75rem;display:none;vertical-align:bottom;width:100%;padding:0 5px}.side-panel .settings-option label{font-size:13px;display:inline-block;vertical-align:top;width:100%}.side-panel .settings-option label .setting-tooltip{margin-left:3px;color:#fff;background-color:#d0d0d0;border-radius:10px;width:12px;height:12px;font-size:8px;padding:2px 0 0 0;text-align:center;vertical-align:bottom;margin-bottom:1px}.side-panel .settings-option label .setting-tooltip.tooltip-upgrade{background-color:#eaa22d}.side-panel .settings-option label .setting-tooltip:hover{background-color:#aaa}.side-panel .settings-option label .setting-tooltip:hover.tooltip-upgrade{background-color:#df911c}.side-panel .settings-option label:hover{z-index:2;position:relative}.side-panel .settings-option label:hover h3{padding-right:1px}.side-panel .settings-option input,.side-panel .settings-option textarea,.side-panel .settings-option select,.side-panel .settings-option button{border-radius:3px;border:1px solid #ddd;padding:.2em .1em .2em .3em;min-height:30px;font-size:13px;display:block;outline:none;transition:200ms linear border}.side-panel .settings-option input:focus,.side-panel .settings-option textarea:focus,.side-panel .settings-option select:focus,.side-panel .settings-option button:focus{border:1px solid #777}.side-panel .settings-option ::-webkit-input-placeholder{color:#ddd}.side-panel .settings-option :-ms-input-placeholder{color:#ddd}.side-panel .settings-option ::-ms-input-placeholder{color:#ddd}.side-panel .settings-option .autocomplete .dropdown-list .dropdown-item{font-size:13px;padding:10px 10px 10px 6px}.side-panel .settings-option .color-picker{vertical-align:top;line-height:0;position:relative}.side-panel .settings-option .color-picker:hover:not(.is-null) .cancel-setting{transform:translateX(27px)}.side-panel .settings-option .color-picker.is-null .color-wrapper input{opacity:0}.side-panel .settings-option .color-wrapper{width:30px;height:30px;overflow:hidden;border-radius:3px;position:relative;display:inline-block;background:#fff}.side-panel .settings-option .color-wrapper input{transform:scale(10);position:absolute}.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);transform-origin:top;transform:rotate(-45deg)}.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}.side-panel .settings-option .color-wrapper:invalid{box-shadow:none}.side-panel .settings-option .cancel-setting{width:30px;border:1px solid #ddd;background:#fff;position:absolute;padding:0;height:30px;vertical-align:top;left:0;transition:200ms transform}.side-panel .settings-option .cancel-setting svg{margin-left:2px;width:8px;height:8px;pointer-events:none;transition:200ms opacity}.side-panel .settings-option .cancel-setting:focus{border:1px solid #ddd}.side-panel .settings-option .cancel-setting:hover svg{opacity:.4}.side-panel .settings-option .single-button{background:#eee;color:#333;width:100%;border:none;padding:0;cursor:pointer;transition:200ms linear background-color}.side-panel .settings-option .single-button:hover{background-color:#e0e0e0}.side-panel .settings-option .single-button:hover:disabled{background-color:#eee;cursor:default}.side-panel .settings-option .single-button:focus{border:none}.side-panel .settings-option .buttons-container input[type=radio]{width:0;height:0;opacity:0;margin:0;display:inline-block;display:none}.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%;transition:200ms linear background-color}.side-panel .settings-option .buttons-container input[type=radio]+label i{color:#555}.side-panel .settings-option .buttons-container input[type=radio]+label img{margin-top:-8px}.side-panel .settings-option .buttons-container.large input[type=radio]+label{height:60px}.side-panel .settings-option .buttons-container input[type=radio]:not([disabled])+label:hover{background-color:#e0e0e0}.side-panel .settings-option .buttons-container input[type=radio]:disabled+label{cursor:default}.side-panel .settings-option .buttons-container input[type=radio]:checked+label{background-color:#ccdee6;cursor:default;position:relative}.side-panel .settings-option .buttons-container input[type=radio]:checked+label:hover{background-color:#ccdee6}.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}.side-panel .settings-option input[data-autocomplete]+.fa{position:absolute;right:10px;margin-top:-21px;font-size:12px;pointer-events:none}.side-panel .settings-option select{width:100%;height:32px}.side-panel .settings-option.option-type-color input{padding:0;background:#fff}.side-panel .settings-option.option-type-number,.side-panel .settings-option.option-type-rows,.side-panel .settings-option.option-type-color{width:50%}.side-panel .settings-option.option-type-number.width-quarter input,.side-panel .settings-option.option-type-rows.width-quarter input,.side-panel .settings-option.option-type-color.width-quarter input{width:100%}.side-panel .settings-option.option-type-number input,.side-panel .settings-option.option-type-rows input,.side-panel .settings-option.option-type-color input{width:calc((100% - 10px) / 2);min-width:40px}.side-panel .settings-option.option-type-boolean:not(.settings-buttons).settings-buttons>label{height:auto}.side-panel .settings-option.option-type-boolean:not(.settings-buttons) input{display:none}.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}.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}.side-panel .settings-option.option-type-boolean:not(.settings-buttons) .slider:hover:after{border-color:#bbb}.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:200ms;transition:200ms}.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:200ms;transition:200ms}.side-panel .settings-option.option-type-boolean:not(.settings-buttons) input:checked+.slider:before{background:#ccdee6}.side-panel .settings-option.option-type-boolean:not(.settings-buttons) input:checked+.slider:after{left:9px;background:#2886b2;border-color:#2886b2}.side-panel .settings-option.option-type-boolean:not(.settings-buttons) input:checked+.slider:hover:after{background-color:#2886b2;border-color:#2886b2}.side-panel .settings-option.option-type-string input,.side-panel .settings-option.option-type-url input{width:100%}.side-panel .settings-option.option-type-text textarea,.side-panel .settings-option.option-type-code textarea{width:100%}.side-panel .settings-option.option-type-text textarea.size-large,.side-panel .settings-option.option-type-code textarea.size-large{height:calc(50vh)}.side-panel .settings-option.option-type-code label{width:calc(100% - 18px)}.side-panel .settings-option.option-type-code .wrap-control{font-size:.7em;color:#999;transform:scale(1, -1);margin-bottom:.3em;display:inline-block;vertical-align:bottom;transition:transform .2s ease}.side-panel .settings-option.option-type-code .wrap-control.selected{transform:scale(-1, -1);cursor:pointer}.side-panel .settings-option.option-type-code textarea{font-family:monospace;font-size:13px}.side-panel .settings-option.option-type-font input.font-menu{width:100%;outline:none}.side-panel .settings-option.option-type-colors input{width:100%;margin:0;z-index:1;cursor:pointer}.side-panel .settings-option.option-type-colors .color-swatches,.side-panel .settings-option.option-type-colors .dropdown-item{display:flex;align-items:stretch;min-height:30px;overflow:hidden}.side-panel .settings-option.option-type-colors .color-swatches em,.side-panel .settings-option.option-type-colors .dropdown-item em{font-style:normal;color:#777;display:block;padding:8px;pointer-events:none}.side-panel .settings-option.option-type-colors .color-swatches span,.side-panel .settings-option.option-type-colors .dropdown-item span{display:inline-block;height:30px;flex:1}.side-panel .settings-option.option-type-colors .color-swatches span:nth-child(n+13):nth-child(-n+99),.side-panel .settings-option.option-type-colors .dropdown-item span:nth-child(n+13):nth-child(-n+99){display:none}.side-panel .settings-option.option-type-colors .color-swatches{padding:0;position:absolute;left:4px;right:26px;z-index:0;pointer-events:none}.side-panel .settings-option.option-type-colors .dropdown-item{padding:2px 0 !important;width:100%}.side-panel .settings-option.option-type-colors .dropdown-item label{position:absolute;top:6px;left:8px;color:rgba(250,250,250,.9);pointer-events:none}.side-panel .settings-option.option-type-colors .dropdown-item span{pointer-events:none}.side-panel .settings-option.option-type-colors.custom input{opacity:0}.side-panel .settings-option.option-type-colors.custom .color-swatches{align-items:flex-start}.side-panel .settings-option.option-type-colors.custom .color-swatches span{max-width:28px;pointer-events:auto;transition:transform 200ms;transform-origin:center center}.side-panel .settings-option.option-type-colors.custom .color-swatches span:hover{transform:scale(1.2)}.side-panel .settings-option.option-type-colors.custom .color-swatches span.fa{font-size:24px;color:#ccc;margin-left:4px}.side-panel .settings-option.option-type-colors.custom .color-swatches span.fa::before{position:relative;top:2px}.side-panel .settings-option.width-full{width:100% !important}.side-panel .settings-option.width-half{width:50% !important}.side-panel .settings-option.width-quarter{width:25% !important}.side-panel .settings-option.width-three-quarters{width:75% !important}.side-panel .settings-option .description-link{cursor:pointer;color:#dd4141}.side-panel .detailed-settings h2{margin-bottom:.75rem}.side-panel .detailed-settings h2:after{content:""}.side-panel .palette{max-height:calc(100vh - 210px);overflow-y:auto;padding:1px}.side-panel .palette input[type=color],.side-panel .palette button,.side-panel .palette .swatch-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}.side-panel .palette input[type=color].fa-plus-square::before,.side-panel .palette button.fa-plus-square::before,.side-panel .palette .swatch-color.fa-plus-square::before{font-size:32px;color:#ddd;margin-left:1px}.side-panel .palette input[type=color].fa-times,.side-panel .palette button.fa-times,.side-panel .palette .swatch-color.fa-times{position:absolute;right:0;opacity:0;color:#aaa}.side-panel .palette input[type=color].fa-times:hover,.side-panel .palette button.fa-times:hover,.side-panel .palette .swatch-color.fa-times:hover{color:#888}.side-panel .palette input[type=color]::-webkit-color-swatch-wrapper,.side-panel .palette button::-webkit-color-swatch-wrapper,.side-panel .palette .swatch-color::-webkit-color-swatch-wrapper{padding:0}.side-panel .palette input[type=color]::-webkit-color-swatch,.side-panel .palette button::-webkit-color-swatch,.side-panel .palette .swatch-color::-webkit-color-swatch{border:none}.side-panel .palette [draggable]{cursor:move;cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.side-panel .palette [draggable]:active{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.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:bold;line-height:5.5px;pointer-events:none}.side-panel .palette input[type=text]{width:120px;width:calc(100% - 52px);background:transparent;padding:5px 8px;border-width:0;margin:0}.side-panel .palette p{position:relative;display:flex;align-items:center;margin:0;padding:5px 5px 5px 20px;border-bottom:1px solid #eee}.side-panel .palette p:first-child{border-top:1px solid #eee}.side-panel .palette p:hover button.fa-times{opacity:.5}.side-panel .palette p:hover [draggable]::before{opacity:1}.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}.side-panel .side-panel-top.shadow{box-shadow:3px 3px 5px rgba(0,0,0,.1)}.side-panel .side-panel-top .side-panel-top-menu .side-panel-icon-btn{color:#fff;background:#9a9a9a;padding:7px 0 0 0;border-radius:9999px;width:30px;height:30px;text-align:center;margin:0}.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 .side-panel .side-panel-top .side-panel-top-menu .separator{margin:0 .25em}.side-panel .current-template{margin:0;opacity:0;transition:200ms opacity;position:relative;padding:10px 10px 0;min-height:56px;border-bottom:1px solid #ddd}.side-panel .current-template h1{padding-right:76px;opacity:1;font-size:12px;font-weight:normal;min-height:36px;margin:0;padding-top:3px}.side-panel .current-template h1>span{display:block;font-weight:bold;font-size:16px}.side-panel .current-template h3{margin-top:.7em}.side-panel .current-template h3 i{margin-left:.2em;color:rgba(0,0,0,.5)}.side-panel .current-template .current-template-title{position:relative}.side-panel .current-template .current-template-title .current-template-version{margin-left:4px;font-size:12px}.side-panel .current-template .current-template-thumbnail{position:absolute;right:-10px;top:-10px;width:76px;height:calc(100% + 19px);background-size:cover;background-position:center;background-repeat:no-repeat}.side-panel .current-template .current-template-thumbnail:after{width:20px;height:100%;position:absolute;left:0;right:0;background:linear-gradient(to right, white, rgba(255, 255, 255, 0));content:"";display:block}.side-panel .template-theme button#reset-to-theme:disabled{color:#d3d3d3}@media(min-width: 620px)and (max-width: 819px){.side-panel .side-panel-inner{max-width:500px;margin:20px auto}}@media(min-width: 820px){.side-panel{max-width:330px;position:fixed;right:0;top:93px;background:#fff;overflow-y:auto;height:calc(100vh - 93px);border-left:1px solid #ddd}.side-panel .current-template{padding-top:0;min-height:46px}}.tab-preview #visualisation .editor-core{overflow:visible !important}.sdk #visualisation .editor-core,.tab-preview.active #visualisation .editor-core{overflow:auto !important}body.full-screen .row.editor #visualisation,body.full-screen .row.editor #story{position:fixed !important;top:0 !important;left:0 !important;width:100% !important;height:100% !important}body.full-screen .row.editor #visualisation .editor-core #preview,body.full-screen .row.editor #story .editor-core #preview{width:100% !important}body.full-screen .row.editor #visualisation #exit-full-screen,body.full-screen .row.editor #story #exit-full-screen{display:block}body.loading .loading-spinner{opacity:1 !important;animation-name:spin;animation-duration:1.2s;animation-iteration-count:infinite;animation-timing-function:linear;transform-origin:center center}body.loading .content{min-height:100vh}body.loading .preview-holder{pointer-events:none;background-color:#f3f3f3}body.loading .preview-holder #preview{background:transparent !important}body.loading .preview-holder iframe{opacity:.1}body.loading .row.data,body.loading #blank-slide{opacity:0;pointer-events:none}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}#private-publishing{display:inline-block;padding-right:15px;margin-top:10px;width:100%}#private-publishing+input{width:100%;padding:5px}#private-publishing+input.hidden{display:none}#private-publishing+input.error{border-color:#dd4141}#private-publishing.upgrade-btn{width:auto;color:#999}#private-publishing.upgrade-btn::after{top:4px}.is-touch .side-panel .settings-option .color-picker:not(.is-null) .cancel-setting{transform:translateX(27px)}body.sdk{background:#f9f9f9;overflow-x:hidden}body.sdk .row.editor .row-inner{max-width:none}body.sdk .error{position:absolute;top:0;left:50%;margin-left:-115px;width:230px;max-width:80%;background:#dd4141;color:#fff;padding:70px 10px 10px;border-bottom-left-radius:6px;border-bottom-right-radius:6px;text-align:center;z-index:101;display:none}body.sdk .error h1{font-size:1em;font-weight:500}body.sdk .error h2{font-size:1em;font-weight:300}body.sdk .error.shown{display:block;animation-name:enter;animation-duration:.3s}@keyframes enter{0%{top:-100px}100%{top:0}}body.sdk .side-panel .side-panel-scrollbox{height:100%}body.sdk .side-panel .side-panel-scrollbox .current-template .current-template-thumbnail{background-image:url("/thumbnail");background-size:cover;background-position:50% 50%}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block{margin:10px 0;color:#fff;background:#888;border:1px solid rgba(0,0,0,.1);text-align:right}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block:hover,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block:hover{background:#777}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block.open:hover,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block.open:hover{background:#888}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block h2,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block h2{text-align:left;color:#fff}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block i,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block i{margin-right:.2em;display:inline-block;vertical-align:middle}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option{margin-top:.75em}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element select,body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element input,body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element textarea,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element select,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element input,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element textarea{width:150px}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element textarea,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element textarea{min-height:50px}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element .small,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element .small{display:inline-block}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element .small label,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element .small label{width:auto;vertical-align:middle}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element .small input,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element .small input{width:30px;margin-right:4px}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .type-specific,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .type-specific{display:none}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block button,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block button{margin-top:1em;margin-left:2em}body.sdk .side-panel .tip{font-size:.8em;line-height:1.4;color:#aaa;font-weight:300}.row.text-editor{margin-top:1em;background:none}.row.text-editor .row-inner #code-mirror{width:100%}.row.text-editor .row-inner .CodeMirror{border:1px solid rgba(0,0,0,.3);width:100%}/*# sourceMappingURL=sdk.css.map */
+ */@font-face{font-family:"FontAwesome";src:url("fonts/fontawesome-webfont.eot?v=4.5.0");src:url("fonts/fontawesome-webfont.eot?#iefix&v=4.5.0") format("embedded-opentype"),url("fonts/fontawesome-webfont.woff2?v=4.5.0") format("woff2"),url("fonts/fontawesome-webfont.woff?v=4.5.0") format("woff"),url("fonts/fontawesome-webfont.ttf?v=4.5.0") format("truetype"),url("fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular") format("svg");font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.3333333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.2857142857em;text-align:center}.fa-ul{padding-left:0;margin-left:2.1428571429em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.1428571429em;width:2.1428571429em;top:.1428571429em;text-align:center}.fa-li.fa-lg{left:-1.8571428571em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:""}.fa-music:before{content:""}.fa-search:before{content:""}.fa-envelope-o:before{content:""}.fa-heart:before{content:""}.fa-star:before{content:""}.fa-star-o:before{content:""}.fa-user:before{content:""}.fa-film:before{content:""}.fa-th-large:before{content:""}.fa-th:before{content:""}.fa-th-list:before{content:""}.fa-check:before{content:""}.fa-remove:before,.fa-close:before,.fa-times:before{content:""}.fa-search-plus:before{content:""}.fa-search-minus:before{content:""}.fa-power-off:before{content:""}.fa-signal:before{content:""}.fa-gear:before,.fa-cog:before{content:""}.fa-trash-o:before{content:""}.fa-home:before{content:""}.fa-file-o:before{content:""}.fa-clock-o:before{content:""}.fa-road:before{content:""}.fa-download:before{content:""}.fa-arrow-circle-o-down:before{content:""}.fa-arrow-circle-o-up:before{content:""}.fa-inbox:before{content:""}.fa-play-circle-o:before{content:""}.fa-rotate-right:before,.fa-repeat:before{content:""}.fa-refresh:before{content:""}.fa-list-alt:before{content:""}.fa-lock:before{content:""}.fa-flag:before{content:""}.fa-headphones:before{content:""}.fa-volume-off:before{content:""}.fa-volume-down:before{content:""}.fa-volume-up:before{content:""}.fa-qrcode:before{content:""}.fa-barcode:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-book:before{content:""}.fa-bookmark:before{content:""}.fa-print:before{content:""}.fa-camera:before{content:""}.fa-font:before{content:""}.fa-bold:before{content:""}.fa-italic:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-align-left:before{content:""}.fa-align-center:before{content:""}.fa-align-right:before{content:""}.fa-align-justify:before{content:""}.fa-list:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-indent:before{content:""}.fa-video-camera:before{content:""}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:""}.fa-pencil:before{content:""}.fa-map-marker:before{content:""}.fa-adjust:before{content:""}.fa-tint:before{content:""}.fa-edit:before,.fa-pencil-square-o:before{content:""}.fa-share-square-o:before{content:""}.fa-check-square-o:before{content:""}.fa-arrows:before{content:""}.fa-step-backward:before{content:""}.fa-fast-backward:before{content:""}.fa-backward:before{content:""}.fa-play:before{content:""}.fa-pause:before{content:""}.fa-stop:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before{content:""}.fa-step-forward:before{content:""}.fa-eject:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-plus-circle:before{content:""}.fa-minus-circle:before{content:""}.fa-times-circle:before{content:""}.fa-check-circle:before{content:""}.fa-question-circle:before{content:""}.fa-info-circle:before{content:""}.fa-crosshairs:before{content:""}.fa-times-circle-o:before{content:""}.fa-check-circle-o:before{content:""}.fa-ban:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-down:before{content:""}.fa-mail-forward:before,.fa-share:before{content:""}.fa-expand:before{content:""}.fa-compress:before{content:""}.fa-plus:before{content:""}.fa-minus:before{content:""}.fa-asterisk:before{content:""}.fa-exclamation-circle:before{content:""}.fa-gift:before{content:""}.fa-leaf:before{content:""}.fa-fire:before{content:""}.fa-eye:before{content:""}.fa-eye-slash:before{content:""}.fa-warning:before,.fa-exclamation-triangle:before{content:""}.fa-plane:before{content:""}.fa-calendar:before{content:""}.fa-random:before{content:""}.fa-comment:before{content:""}.fa-magnet:before{content:""}.fa-chevron-up:before{content:""}.fa-chevron-down:before{content:""}.fa-retweet:before{content:""}.fa-shopping-cart:before{content:""}.fa-folder:before{content:""}.fa-folder-open:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-h:before{content:""}.fa-bar-chart-o:before,.fa-bar-chart:before{content:""}.fa-twitter-square:before{content:""}.fa-facebook-square:before{content:""}.fa-camera-retro:before{content:""}.fa-key:before{content:""}.fa-gears:before,.fa-cogs:before{content:""}.fa-comments:before{content:""}.fa-thumbs-o-up:before{content:""}.fa-thumbs-o-down:before{content:""}.fa-star-half:before{content:""}.fa-heart-o:before{content:""}.fa-sign-out:before{content:""}.fa-linkedin-square:before{content:""}.fa-thumb-tack:before{content:""}.fa-external-link:before{content:""}.fa-sign-in:before{content:""}.fa-trophy:before{content:""}.fa-github-square:before{content:""}.fa-upload:before{content:""}.fa-lemon-o:before{content:""}.fa-phone:before{content:""}.fa-square-o:before{content:""}.fa-bookmark-o:before{content:""}.fa-phone-square:before{content:""}.fa-twitter:before{content:""}.fa-facebook-f:before,.fa-facebook:before{content:""}.fa-github:before{content:""}.fa-unlock:before{content:""}.fa-credit-card:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-hdd-o:before{content:""}.fa-bullhorn:before{content:""}.fa-bell:before{content:""}.fa-certificate:before{content:""}.fa-hand-o-right:before{content:""}.fa-hand-o-left:before{content:""}.fa-hand-o-up:before{content:""}.fa-hand-o-down:before{content:""}.fa-arrow-circle-left:before{content:""}.fa-arrow-circle-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-globe:before{content:""}.fa-wrench:before{content:""}.fa-tasks:before{content:""}.fa-filter:before{content:""}.fa-briefcase:before{content:""}.fa-arrows-alt:before{content:""}.fa-group:before,.fa-users:before{content:""}.fa-chain:before,.fa-link:before{content:""}.fa-cloud:before{content:""}.fa-flask:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-copy:before,.fa-files-o:before{content:""}.fa-paperclip:before{content:""}.fa-save:before,.fa-floppy-o:before{content:""}.fa-square:before{content:""}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:""}.fa-list-ul:before{content:""}.fa-list-ol:before{content:""}.fa-strikethrough:before{content:""}.fa-underline:before{content:""}.fa-table:before{content:""}.fa-magic:before{content:""}.fa-truck:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-plus:before{content:""}.fa-money:before{content:""}.fa-caret-down:before{content:""}.fa-caret-up:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-columns:before{content:""}.fa-unsorted:before,.fa-sort:before{content:""}.fa-sort-down:before,.fa-sort-desc:before{content:""}.fa-sort-up:before,.fa-sort-asc:before{content:""}.fa-envelope:before{content:""}.fa-linkedin:before{content:""}.fa-rotate-left:before,.fa-undo:before{content:""}.fa-legal:before,.fa-gavel:before{content:""}.fa-dashboard:before,.fa-tachometer:before{content:""}.fa-comment-o:before{content:""}.fa-comments-o:before{content:""}.fa-flash:before,.fa-bolt:before{content:""}.fa-sitemap:before{content:""}.fa-umbrella:before{content:""}.fa-paste:before,.fa-clipboard:before{content:""}.fa-lightbulb-o:before{content:""}.fa-exchange:before{content:""}.fa-cloud-download:before{content:""}.fa-cloud-upload:before{content:""}.fa-user-md:before{content:""}.fa-stethoscope:before{content:""}.fa-suitcase:before{content:""}.fa-bell-o:before{content:""}.fa-coffee:before{content:""}.fa-cutlery:before{content:""}.fa-file-text-o:before{content:""}.fa-building-o:before{content:""}.fa-hospital-o:before{content:""}.fa-ambulance:before{content:""}.fa-medkit:before{content:""}.fa-fighter-jet:before{content:""}.fa-beer:before{content:""}.fa-h-square:before{content:""}.fa-plus-square:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-down:before{content:""}.fa-desktop:before{content:""}.fa-laptop:before{content:""}.fa-tablet:before{content:""}.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-circle-o:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-spinner:before{content:""}.fa-circle:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-github-alt:before{content:""}.fa-folder-o:before{content:""}.fa-folder-open-o:before{content:""}.fa-smile-o:before{content:""}.fa-frown-o:before{content:""}.fa-meh-o:before{content:""}.fa-gamepad:before{content:""}.fa-keyboard-o:before{content:""}.fa-flag-o:before{content:""}.fa-flag-checkered:before{content:""}.fa-terminal:before{content:""}.fa-code:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:""}.fa-location-arrow:before{content:""}.fa-crop:before{content:""}.fa-code-fork:before{content:""}.fa-unlink:before,.fa-chain-broken:before{content:""}.fa-question:before{content:""}.fa-info:before{content:""}.fa-exclamation:before{content:""}.fa-superscript:before{content:""}.fa-subscript:before{content:""}.fa-eraser:before{content:""}.fa-puzzle-piece:before{content:""}.fa-microphone:before{content:""}.fa-microphone-slash:before{content:""}.fa-shield:before{content:""}.fa-calendar-o:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-rocket:before{content:""}.fa-maxcdn:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-html5:before{content:""}.fa-css3:before{content:""}.fa-anchor:before{content:""}.fa-unlock-alt:before{content:""}.fa-bullseye:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-rss-square:before{content:""}.fa-play-circle:before{content:""}.fa-ticket:before{content:""}.fa-minus-square:before{content:""}.fa-minus-square-o:before{content:""}.fa-level-up:before{content:""}.fa-level-down:before{content:""}.fa-check-square:before{content:""}.fa-pencil-square:before{content:""}.fa-external-link-square:before{content:""}.fa-share-square:before{content:""}.fa-compass:before{content:""}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:""}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:""}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:""}.fa-euro:before,.fa-eur:before{content:""}.fa-gbp:before{content:""}.fa-dollar:before,.fa-usd:before{content:""}.fa-rupee:before,.fa-inr:before{content:""}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:""}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:""}.fa-won:before,.fa-krw:before{content:""}.fa-bitcoin:before,.fa-btc:before{content:""}.fa-file:before{content:""}.fa-file-text:before{content:""}.fa-sort-alpha-asc:before{content:""}.fa-sort-alpha-desc:before{content:""}.fa-sort-amount-asc:before{content:""}.fa-sort-amount-desc:before{content:""}.fa-sort-numeric-asc:before{content:""}.fa-sort-numeric-desc:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbs-down:before{content:""}.fa-youtube-square:before{content:""}.fa-youtube:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-youtube-play:before{content:""}.fa-dropbox:before{content:""}.fa-stack-overflow:before{content:""}.fa-instagram:before{content:""}.fa-flickr:before{content:""}.fa-adn:before{content:""}.fa-bitbucket:before{content:""}.fa-bitbucket-square:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-apple:before{content:""}.fa-windows:before{content:""}.fa-android:before{content:""}.fa-linux:before{content:""}.fa-dribbble:before{content:""}.fa-skype:before{content:""}.fa-foursquare:before{content:""}.fa-trello:before{content:""}.fa-female:before{content:""}.fa-male:before{content:""}.fa-gittip:before,.fa-gratipay:before{content:""}.fa-sun-o:before{content:""}.fa-moon-o:before{content:""}.fa-archive:before{content:""}.fa-bug:before{content:""}.fa-vk:before{content:""}.fa-weibo:before{content:""}.fa-renren:before{content:""}.fa-pagelines:before{content:""}.fa-stack-exchange:before{content:""}.fa-arrow-circle-o-right:before{content:""}.fa-arrow-circle-o-left:before{content:""}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:""}.fa-dot-circle-o:before{content:""}.fa-wheelchair:before{content:""}.fa-vimeo-square:before{content:""}.fa-turkish-lira:before,.fa-try:before{content:""}.fa-plus-square-o:before{content:""}.fa-space-shuttle:before{content:""}.fa-slack:before{content:""}.fa-envelope-square:before{content:""}.fa-wordpress:before{content:""}.fa-openid:before{content:""}.fa-institution:before,.fa-bank:before,.fa-university:before{content:""}.fa-mortar-board:before,.fa-graduation-cap:before{content:""}.fa-yahoo:before{content:""}.fa-google:before{content:""}.fa-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-stumbleupon:before{content:""}.fa-delicious:before{content:""}.fa-digg:before{content:""}.fa-pied-piper:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-drupal:before{content:""}.fa-joomla:before{content:""}.fa-language:before{content:""}.fa-fax:before{content:""}.fa-building:before{content:""}.fa-child:before{content:""}.fa-paw:before{content:""}.fa-spoon:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-recycle:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-tree:before{content:""}.fa-spotify:before{content:""}.fa-deviantart:before{content:""}.fa-soundcloud:before{content:""}.fa-database:before{content:""}.fa-file-pdf-o:before{content:""}.fa-file-word-o:before{content:""}.fa-file-excel-o:before{content:""}.fa-file-powerpoint-o:before{content:""}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:""}.fa-file-zip-o:before,.fa-file-archive-o:before{content:""}.fa-file-sound-o:before,.fa-file-audio-o:before{content:""}.fa-file-movie-o:before,.fa-file-video-o:before{content:""}.fa-file-code-o:before{content:""}.fa-vine:before{content:""}.fa-codepen:before{content:""}.fa-jsfiddle:before{content:""}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:""}.fa-circle-o-notch:before{content:""}.fa-ra:before,.fa-rebel:before{content:""}.fa-ge:before,.fa-empire:before{content:""}.fa-git-square:before{content:""}.fa-git:before{content:""}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:""}.fa-tencent-weibo:before{content:""}.fa-qq:before{content:""}.fa-wechat:before,.fa-weixin:before{content:""}.fa-send:before,.fa-paper-plane:before{content:""}.fa-send-o:before,.fa-paper-plane-o:before{content:""}.fa-history:before{content:""}.fa-circle-thin:before{content:""}.fa-header:before{content:""}.fa-paragraph:before{content:""}.fa-sliders:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-bomb:before{content:""}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:""}.fa-tty:before{content:""}.fa-binoculars:before{content:""}.fa-plug:before{content:""}.fa-slideshare:before{content:""}.fa-twitch:before{content:""}.fa-yelp:before{content:""}.fa-newspaper-o:before{content:""}.fa-wifi:before{content:""}.fa-calculator:before{content:""}.fa-paypal:before{content:""}.fa-google-wallet:before{content:""}.fa-cc-visa:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-bell-slash:before{content:""}.fa-bell-slash-o:before{content:""}.fa-trash:before{content:""}.fa-copyright:before{content:""}.fa-at:before{content:""}.fa-eyedropper:before{content:""}.fa-paint-brush:before{content:""}.fa-birthday-cake:before{content:""}.fa-area-chart:before{content:""}.fa-pie-chart:before{content:""}.fa-line-chart:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-bicycle:before{content:""}.fa-bus:before{content:""}.fa-ioxhost:before{content:""}.fa-angellist:before{content:""}.fa-cc:before{content:""}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:""}.fa-meanpath:before{content:""}.fa-buysellads:before{content:""}.fa-connectdevelop:before{content:""}.fa-dashcube:before{content:""}.fa-forumbee:before{content:""}.fa-leanpub:before{content:""}.fa-sellsy:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-simplybuilt:before{content:""}.fa-skyatlas:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-diamond:before{content:""}.fa-ship:before{content:""}.fa-user-secret:before{content:""}.fa-motorcycle:before{content:""}.fa-street-view:before{content:""}.fa-heartbeat:before{content:""}.fa-venus:before{content:""}.fa-mars:before{content:""}.fa-mercury:before{content:""}.fa-intersex:before,.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-venus-double:before{content:""}.fa-mars-double:before{content:""}.fa-venus-mars:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-neuter:before{content:""}.fa-genderless:before{content:""}.fa-facebook-official:before{content:""}.fa-pinterest-p:before{content:""}.fa-whatsapp:before{content:""}.fa-server:before{content:""}.fa-user-plus:before{content:""}.fa-user-times:before{content:""}.fa-hotel:before,.fa-bed:before{content:""}.fa-viacoin:before{content:""}.fa-train:before{content:""}.fa-subway:before{content:""}.fa-medium:before{content:""}.fa-yc:before,.fa-y-combinator:before{content:""}.fa-optin-monster:before{content:""}.fa-opencart:before{content:""}.fa-expeditedssl:before{content:""}.fa-battery-4:before,.fa-battery-full:before{content:""}.fa-battery-3:before,.fa-battery-three-quarters:before{content:""}.fa-battery-2:before,.fa-battery-half:before{content:""}.fa-battery-1:before,.fa-battery-quarter:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-mouse-pointer:before{content:""}.fa-i-cursor:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-sticky-note:before{content:""}.fa-sticky-note-o:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-diners-club:before{content:""}.fa-clone:before{content:""}.fa-balance-scale:before{content:""}.fa-hourglass-o:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass:before{content:""}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:""}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:""}.fa-hand-scissors-o:before{content:""}.fa-hand-lizard-o:before{content:""}.fa-hand-spock-o:before{content:""}.fa-hand-pointer-o:before{content:""}.fa-hand-peace-o:before{content:""}.fa-trademark:before{content:""}.fa-registered:before{content:""}.fa-creative-commons:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-tripadvisor:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-get-pocket:before{content:""}.fa-wikipedia-w:before{content:""}.fa-safari:before{content:""}.fa-chrome:before{content:""}.fa-firefox:before{content:""}.fa-opera:before{content:""}.fa-internet-explorer:before{content:""}.fa-tv:before,.fa-television:before{content:""}.fa-contao:before{content:""}.fa-500px:before{content:""}.fa-amazon:before{content:""}.fa-calendar-plus-o:before{content:""}.fa-calendar-minus-o:before{content:""}.fa-calendar-times-o:before{content:""}.fa-calendar-check-o:before{content:""}.fa-industry:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-map-o:before{content:""}.fa-map:before{content:""}.fa-commenting:before{content:""}.fa-commenting-o:before{content:""}.fa-houzz:before{content:""}.fa-vimeo:before{content:""}.fa-black-tie:before{content:""}.fa-fonticons:before{content:""}.fa-reddit-alien:before{content:""}.fa-edge:before{content:""}.fa-credit-card-alt:before{content:""}.fa-codiepie:before{content:""}.fa-modx:before{content:""}.fa-fort-awesome:before{content:""}.fa-usb:before{content:""}.fa-product-hunt:before{content:""}.fa-mixcloud:before{content:""}.fa-scribd:before{content:""}.fa-pause-circle:before{content:""}.fa-pause-circle-o:before{content:""}.fa-stop-circle:before{content:""}.fa-stop-circle-o:before{content:""}.fa-shopping-bag:before{content:""}.fa-shopping-basket:before{content:""}.fa-hashtag:before{content:""}.fa-bluetooth:before{content:""}.fa-bluetooth-b:before{content:""}.fa-percent:before{content:""}@font-face{font-family:"Source Sans Pro";font-weight:300;font-style:normal;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-Light.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Light.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-Light.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-Light.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:300;font-style:italic;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-LightIt.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-LightIt.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-LightIt.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-LightIt.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:400;font-style:normal;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-Regular.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Regular.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-Regular.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-Regular.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:400;font-style:italic;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-It.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-It.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-It.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-It.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:600;font-style:normal;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-Semibold.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Semibold.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-Semibold.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-Semibold.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:600;font-style:italic;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-SemiboldIt.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-SemiboldIt.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-SemiboldIt.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-SemiboldIt.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:700;font-style:normal;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-Bold.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Bold.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-Bold.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-Bold.ttf") format("truetype")}@font-face{font-family:"Source Sans Pro";font-weight:700;font-style:italic;font-stretch:normal;src:url("fonts/source-sans-pro/EOT/SourceSansPro-BoldIt.eot") format("embedded-opentype"),url("fonts/source-sans-pro/WOFF/OTF/SourceSansPro-BoldIt.otf.woff") format("woff"),url("fonts/source-sans-pro/OTF/SourceSansPro-BoldIt.otf") format("opentype"),url("fonts/source-sans-pro/TTF/SourceSansPro-BoldIt.ttf") format("truetype")}.content.shaded-bg{background:#eee}.row{position:relative;width:100%}.row .row-inner{position:relative;padding:0 20px;margin:auto;max-width:520px}@media(min-width: 620px){.row .row-inner{max-width:620px}}@media(min-width: 820px){.row .row-inner{max-width:820px}}@media(min-width: 1020px){.row .row-inner{max-width:1020px}}@media(min-width: 1220px){.row .row-inner{max-width:1220px}}.row .row-inner.narrow{max-width:800px}.row .row-inner.extra-narrow{max-width:620px}.row .row-header h1.collapser{color:#777;font-weight:500;font-size:.75em;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.5em}.row .row-menus .row-menu{height:1.7em;display:inline-block;vertical-align:middle}.row .row-menus .row-menu.right{float:right}.row .row-menus .row-menu .menu-item{display:inline;color:#333}.row .row-menus .row-menu .menu-item i{margin-left:10px;color:#555;font-size:1em}.row .row-menus .row-menu .menu-item .label{font-size:.8em}.row .row-menus .row-menu .menu-item.selected{bottom:2px solid}@media only screen and (max-width: 1100px){.row .row-menus .row-menu .menu-item .label{display:none}}@media only screen and (max-width: 600px){.row .row-menus .row-menu .menu-label{display:none}}.page-header{display:flex;flex-direction:column;align-items:center;align-items:flex-start;position:relative;margin:0 0 10px;border-bottom:1px solid #ddd;padding:30px 0}.page-header h1{display:inline-block;font-size:18px;height:24px}.page-header h2{font-size:16px;font-weight:100;line-height:1em}@media(min-width: 620px){.page-header h2{font-size:36px}}@media(min-width: 820px){.page-header{flex-direction:row}.page-header h2{font-size:42px;margin-top:42px}}@media(min-width: 1220px){.page-header h2{font-size:48px}}.clickable{cursor:pointer}.clickable:hover{opacity:.5}.clickable.selected,.clickable.selected:hover{opacity:1;cursor:default}.clickable[disabled]{opacity:.5;cursor:default}.is-touch .clickable:hover{opacity:1}.no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fa-chevron-down{-webkit-text-stroke:1px #fff}.dropdown{height:40px;padding-top:12px;position:relative}.dropdown .dropdown-head{padding:0;font-size:18px}.dropdown .dropdown-head .current{font-size:1em;margin:0 5px;cursor:default}.dropdown .dropdown-head .dropdown-chevron{font-size:10px}.dropdown .dropdown-label{display:inline-block;font-size:12px;padding:.6em .4em .2em;text-transform:uppercase;letter-spacing:1px;vertical-align:middle}.dropdown .dropdown-list{display:none;background:#fff;border-radius:3px;box-shadow:0 1px 4px rgba(0,0,0,.2);position:absolute;margin-top:0;margin-bottom:40px;left:0;padding:0;min-width:100%;max-height:60vh;overflow-x:hidden;overflow-y:auto}.dropdown .dropdown-list .dropdown-category{text-transform:uppercase;font-size:12px;font-weight:600;padding:9px 60px 0 12px;color:#222}.dropdown .dropdown-list .dropdown-item{display:block;cursor:pointer;border-bottom:1px solid #eaeaea;white-space:nowrap;padding:12px 60px 12px 12px;font-weight:normal;position:relative}.dropdown .dropdown-list .dropdown-item i{margin-right:5px}.dropdown .dropdown-list .dropdown-item.selected,.dropdown .dropdown-list .dropdown-item:not(.dropdown-category):hover{background:#eee}.dropdown .dropdown-list .dropdown-item:last-child{border-bottom:none}.dropdown .dropdown-list .dropdown-item.current::before{font-family:FontAwesome;content:"";position:absolute;right:11px;top:12px;color:#666;pointer-events:none}.dropdown .dropdown-list .dropdown-item.upgrade-btn::after{top:12px;right:8px}.dropdown .dropdown-list form.dropdown-item{padding:0}.dropdown .dropdown-list form.dropdown-item button{background:transparent;font-size:inherit;display:block;width:100%;border:none;cursor:pointer;padding:12px 60px 12px 12px;text-align:left}.dropdown .dropdown-list form.dropdown-item:hover button{opacity:.75}.dropdown.right-aligned .dropdown-head{text-align:right}.dropdown.right-aligned .dropdown-list{right:0;left:auto}.dropdown.autocomplete{display:none;height:0}.dropdown.autocomplete.open{display:block;height:auto}.dropdown.autocomplete.open .dropdown-list,.dropdown.click-to-open.open:hover .dropdown-list,.dropdown:not(.click-to-open):hover .dropdown-list{animation:dropdown-out 200ms;display:block;z-index:2}@media(min-width: 420px){.dropdown{padding-top:21px}.dropdown.autocomplete{padding-top:0}}@keyframes dropdown-out{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}.menu{overflow:hidden;display:inline-block;margin-left:1em}.menu:first-child,.menu:first-of-type{margin-left:0}.menu .menu-label{display:inline-block;font-size:.75em;margin-top:.25em;padding:18px 12px 0;text-transform:uppercase;letter-spacing:1px;vertical-align:middle}.menu .menu-item{display:inline-block;font-size:1em;padding:0;vertical-align:middle;cursor:pointer;font-weight:500;margin-right:40px;padding-top:21px}.menu .menu-item a:hover{opacity:1}.menu .menu-item#sign-in{padding-top:0;margin:0}.menu .menu-item.small{font-size:.85em;font-weight:400}.menu .menu-item:hover{color:#888}.menu .menu-item.selected{border-color:#333}.menu .menu-item.selected:hover{color:#333}.menu .menu-item.space-right{padding-right:50px}.menu .menu-item.space-left{padding-left:50px}#preview-menu{float:left;margin-top:7px;width:0}#preview-menu .menu-item{padding:0;font-size:12px;margin-right:5px;padding-right:5px;opacity:.5}#preview-menu .menu-item.selected{opacity:1}#preview-menu .menu-item.selected .label{text-decoration:underline}#preview-menu .menu-item:last-child{border-right:none;padding-right:0}#preview-menu #editor-previews{display:none}#preview-menu #editor-custom-inputs input{width:44px;border:none;border-radius:3px;padding-left:5px;background:#fff;outline:none}#preview-menu #editor-custom-inputs input:first-child{margin-right:-10px;position:relative;z-index:2}#preview-menu #editor-custom-inputs input:last-child{margin-left:5px}#preview-menu #editor-preview{border-right:none}@media(min-width: 820px){#preview-menu{width:230px}#preview-menu .menu-item{display:inline-block}#preview-menu .menu-item#full-preview{padding-right:12px;margin-right:10px;border-right:1px solid rgba(0,0,0,.2)}#preview-menu #editor-previews{display:inline-block}}button{font-family:"Source Sans Pro",sans-serif}.btn{font-size:12px;border:none;font-weight:bold;font-family:inherit;border-radius:3px;overflow:hidden;display:inline-block;vertical-align:middle;padding:0 8px;height:24px;line-height:22px;cursor:pointer;text-align:left;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#eee}.btn i{margin-right:3px}.btn.fa{font-family:FontAwesome}.btn .no-padding{padding:0}.btn.selected,.btn.selected:hover{background-color:#dd4141;color:#fff;cursor:default}.btn.upgrade{background:#eaa22d;color:#fff}.btn.upgrade.business{background:#93366e}.btn.upgrade:hover{background:#e69717}.btn.upgrade:hover.business{background:#802f60}.btn.available{background:#5cb85c;color:#fff}.btn.available:hover{background:#4cae4c}.btn.danger{background:#dd4141;color:#fff}.btn.danger:not(.disabled):hover{background:#d92b2b}.btn.primary{background:#333;color:#fff}.btn.caution{background:orange;color:#fff}.btn.caution:hover{background:#e69500}.btn.neutral{background:#888;color:#fff}.btn.neutral:not(.disabled):hover{background:#7b7b7b}.btn.control-btn{background:rgba(0,0,0,.5);border-color:rgba(230,230,230,.7);width:34px;height:34px;padding:9px 0 0;font-size:1em;margin-right:.2em;color:#fff}.btn.control-btn:hover{background:#111}.selected.template .btn.control-btn.template-select{background:#5cb85c}.btn.disabled{pointer-events:none;opacity:.5}.btn.create-new,.btn.create,.btn.cta{background:#2886b2;border:1px solid #17739d;color:#fff}@media(min-width: 520px){.btn{font-size:14px;padding:0 8px;line-height:28px;height:30px}}@media(min-width: 920px){.btn{padding:0 12px;line-height:34px;height:36px}}.upgrade-btn{position:relative}.upgrade-btn:after{display:block;width:20px;height:20px;border-radius:9999px;background-color:#eaa22d;border:2px solid #fff;content:"";font-family:"FontAwesome";top:-8px;right:-8px;color:#fff;font-size:9px;box-sizing:border-box;position:absolute;line-height:16px;text-align:center}.upgrade-btn.business::after{background-color:#93366e}.dropdown-btn{font-size:14px;height:2em;border:1px solid #ccc;border-radius:5px;background-color:#eee;position:relative;display:inline-block;vertical-align:middle;margin-left:7px;z-index:102}.dropdown-btn:first-child{margin-left:0}.dropdown-btn .btn{border-radius:0;height:100%;line-height:1.75em;border:0;border-left:1px solid #ddd;font-size:inherit;background:none}.dropdown-btn .arrow{padding:0 .5em}.dropdown-btn .arrow i{margin-right:0}.dropdown-btn .options{position:absolute;right:0;top:2em;background:#fff;margin-top:5px;box-shadow:0 0 5px rgba(0,0,0,.3);line-height:initial}.dropdown-btn .options .option{position:relative;width:280px;border-top:1px solid #ccc;padding:.5em 1em .5em 3em;cursor:pointer}.dropdown-btn .options .option:first-child{border-top:none}.dropdown-btn .options .option .option-title{font-weight:bold}.dropdown-btn .options .option .option-description{font-size:.85em}.dropdown-btn .options .option .option-check{display:none;position:absolute;left:1.5em;top:50%;transform:translate(-50%, -50%)}.dropdown-btn .options .option.selected .option-check{display:block}.dropdown-btn .options .option:hover{background-color:#add8e6}.btn-group{font-size:14px;height:2em;border:1px solid #ccc;border-radius:5px;overflow:hidden;position:relative;display:inline-block;vertical-align:middle;margin-left:7px}.btn-group:first-child{margin-left:0}.btn-group .btn{border-radius:0;height:100%;line-height:1.75em;border:0;border-left:1px solid #ddd;font-size:inherit}.btn-group .btn:first-child{border:none}.btn-group.tabs:not(.can-stack){border:0;border-radius:0}.btn-group.tabs:not(.can-stack) .btn.tab{display:inline-block;border-top-right-radius:3px;border-top-left-radius:3px;border-bottom:none;padding-top:5px;line-height:1}.btn-group.tabs:not(.can-stack) .btn.tab:first-child{margin-left:0}.btn-group.can-stack{margin-left:0;height:auto}.btn-group.can-stack .btn{width:100%;border:0;padding:4px 8px 5px;height:auto;border-top:1px solid #ddd}.btn-group.can-stack .btn:first-child{border:none}.tab-buttons{white-space:nowrap;display:inline-block;margin:5px 0 0}.tab-buttons button{appearance:none;-webkit-appearance:none;box-shadow:none;border:none;margin:0;padding:0 8px;width:80px;height:20px;font-family:"Source Sans Pro";color:#777;outline:none;background:#fff;border-radius:3px 0 0 3px}.tab-buttons button:not([disabled]):hover{opacity:1;color:#333}.tab-buttons button.active{background-color:#2886b2;font-weight:bold;color:#fff;cursor:default}.tab-buttons button.active:hover{opacity:1;color:#fff}.tab-buttons button:last-child{border-radius:0 3px 3px 0}.tab-panes{position:relative;overflow-x:hidden}.tab-pane{position:absolute;top:0;width:100%;height:100%;left:100vw;pointer-events:none}.tab-pane.active{left:0;pointer-events:auto}.check{width:16px;height:16px;display:inline-block;position:relative;vertical-align:middle;border-radius:4px;border:1px solid #ccc;cursor:pointer;overflow:hidden;font-family:helvetica,arial;text-align:center;margin:3px 10px;background:#428bca}.check:after{opacity:0;content:"";position:absolute;width:7px;height:4px;background:transparent;top:2px;left:2px;border:3px solid #fff;border-top:none;border-right:none;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.check:hover::after{opacity:.3}.check.selected:after{opacity:1}.toggle-single{cursor:pointer}.toggle-single input[type=checkbox]{display:none}.toggle-single input[type=checkbox]:checked+.toggle-label{opacity:1}.toggle-single .toggle-label{opacity:.4}.toggle-single:hover .toggle-label{opacity:1}.toggle-single:hover input[type=checkbox]:checked+.toggle-label{opacity:1}input[type=url]{padding-right:30px}button.upload{width:30px;height:30px;background:#eee;position:absolute;bottom:0;left:100%;appearance:none;-webkit-appearance:none;border:none;outline:none;border-radius:0 3px 3px 0;font-size:18px;color:#999;margin-left:-35px;cursor:pointer}button.upload:hover{color:#777}.circle-icon{width:1.2em;height:1.2em;font-size:.8em;border-radius:50%;background:#000;color:#fff;display:inline-block;text-align:center;line-height:1.1em}.circle-icon i{font-size:.75em}.circle-icon:last-child{margin-right:0}.flourish-popup{pointer-events:none;z-index:111;font-size:.8em;max-width:280px}.flourish-popup h1{font-size:1em;font-weight:bold}.flourish-popup p{font-size:.9em}.flourish-popup-svg{pointer-events:none}.dialog{position:fixed;width:100%;height:100%;top:0;left:0;background:rgba(255,255,255,.75);display:flex;align-items:center;justify-content:center}.dialog .dialog-inner{background:#fff;padding:36px 30px 30px;box-shadow:0 1px 4px rgba(0,0,0,.2);border-radius:3px;margin:20px;width:420px;max-width:calc(100% - 40px);max-height:80vh;overflow:auto}.dialog .dialog-inner textarea{resize:vertical}.dialog,.detailed-settings .settings-block{z-index:113}.dialog .btn,.detailed-settings .settings-block .btn{margin-bottom:5px}.dialog .btn.secondary,.detailed-settings .settings-block .btn.secondary{background:none;text-decoration:underline;font-weight:normal}.dialog .dialog-inner .text,.detailed-settings .settings-block .dialog-inner .text{margin-bottom:30px}.dialog .dialog-inner .text h1,.detailed-settings .settings-block .dialog-inner .text h1{font-weight:bold;font-size:18px;margin-bottom:10px}.dialog .dialog-inner .text h2,.detailed-settings .settings-block .dialog-inner .text h2{font-weight:600;font-size:16px;color:#333;margin:10px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dialog .dialog-inner .text hr,.detailed-settings .settings-block .dialog-inner .text hr{margin:15px 0;opacity:.3}.dialog .dialog-inner .text p,.detailed-settings .settings-block .dialog-inner .text p{font-size:16px;line-height:24px;color:#777;margin-bottom:6px;position:relative}.dialog .dialog-inner .text p.alert,.detailed-settings .settings-block .dialog-inner .text p.alert{color:#c64c61}.dialog .dialog-inner .text p.small,.detailed-settings .settings-block .dialog-inner .text p.small{font-size:14px;line-height:21px}.dialog .dialog-inner .text a,.detailed-settings .settings-block .dialog-inner .text a{text-decoration:underline}.dialog .dialog-inner .text textarea,.dialog .dialog-inner .text input,.dialog .dialog-inner .text select,.detailed-settings .settings-block .dialog-inner .text textarea,.detailed-settings .settings-block .dialog-inner .text input,.detailed-settings .settings-block .dialog-inner .text select{margin:.5em 0;width:100%;border:1px solid #999;font-size:.9em;padding:.1em 0 .1em .1em}.dialog .dialog-inner .text textarea.narrow,.dialog .dialog-inner .text input.narrow,.dialog .dialog-inner .text select.narrow,.detailed-settings .settings-block .dialog-inner .text textarea.narrow,.detailed-settings .settings-block .dialog-inner .text input.narrow,.detailed-settings .settings-block .dialog-inner .text select.narrow{width:50px;margin-right:1em}.dialog .dialog-inner .text textarea.medium,.dialog .dialog-inner .text input.medium,.dialog .dialog-inner .text select.medium,.detailed-settings .settings-block .dialog-inner .text textarea.medium,.detailed-settings .settings-block .dialog-inner .text input.medium,.detailed-settings .settings-block .dialog-inner .text select.medium{width:200px}.dialog .dialog-inner .text table,.detailed-settings .settings-block .dialog-inner .text table{border:1px solid #ddd;width:100%;border-collapse:collapse}.dialog .dialog-inner .text table td,.detailed-settings .settings-block .dialog-inner .text table td{border:1px solid #ddd;padding:2px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:26px;max-width:170px}.dialog .dialog-inner .text select,.detailed-settings .settings-block .dialog-inner .text select{font-size:inherit;outline:none}.dialog .dialog-inner .text ul.plain,.detailed-settings .settings-block .dialog-inner .text ul.plain{list-style:none;padding:0}.dialog .dialog-inner .text ul.plain li,.detailed-settings .settings-block .dialog-inner .text ul.plain li{padding:0}.dialog .dialog-inner .text label:first-child,.detailed-settings .settings-block .dialog-inner .text label:first-child{display:inline-block;width:70px}.dialog .dialog-inner .text label:first-child:last-child,.detailed-settings .settings-block .dialog-inner .text label:first-child:last-child{width:100%}.dialog .dialog-inner .text input[type=number],.detailed-settings .settings-block .dialog-inner .text input[type=number]{width:90px}.dialog .dialog-inner .text input[type=checkbox],.dialog .dialog-inner .text input[type=radio],.detailed-settings .settings-block .dialog-inner .text input[type=checkbox],.detailed-settings .settings-block .dialog-inner .text input[type=radio]{width:auto;margin-right:.4em}.dialog .dialog-inner .text textarea,.detailed-settings .settings-block .dialog-inner .text textarea{padding:.1em;height:5em}.dialog .dialog-inner .text textarea.code,.detailed-settings .settings-block .dialog-inner .text textarea.code{font-family:monospace;font-size:.8em;height:7em}.dialog .dialog-inner .text input[type=text][disabled],.detailed-settings .settings-block .dialog-inner .text input[type=text][disabled]{opacity:.5}.dialog .dialog-inner .text label,.detailed-settings .settings-block .dialog-inner .text label{display:inline-block;font-weight:600;color:#333;margin-right:.5em}.dialog .dialog-inner .text label.narrow,.detailed-settings .settings-block .dialog-inner .text label.narrow{width:50px}.dialog .dialog-inner .text label span,.detailed-settings .settings-block .dialog-inner .text label span{display:inline-block;color:#999;font-size:.85em;font-weight:500;line-height:1.2;padding-left:22px}.dialog .dialog-inner .text label select,.detailed-settings .settings-block .dialog-inner .text label select{width:auto}.dialog .dialog-inner .text label.indented,.detailed-settings .settings-block .dialog-inner .text label.indented{display:block;padding-left:22px;width:100%;position:relative}.dialog .dialog-inner .text label.indented input:first-child,.detailed-settings .settings-block .dialog-inner .text label.indented input:first-child{position:absolute;top:0;left:0}.dialog .dialog-inner .text figure,.detailed-settings .settings-block .dialog-inner .text figure{max-width:100%;max-height:120px;overflow:hidden}.dialog .dialog-inner .text figure img,.detailed-settings .settings-block .dialog-inner .text figure img{width:100%;height:100%;object-fit:contain}.dialog .dialog-inner .text .collapsed,.detailed-settings .settings-block .dialog-inner .text .collapsed{display:none}.dialog .dialog-inner .text button[name=toggle-collapse],.detailed-settings .settings-block .dialog-inner .text button[name=toggle-collapse]{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;border:none;background:transparent;outline:none;font:inherit;padding:.5em 0}.dialog .dialog-inner .text .columns,.detailed-settings .settings-block .dialog-inner .text .columns{display:flex;align-items:flex-start;justify-content:flex-start}.dialog .dialog-inner .text .columns>div,.detailed-settings .settings-block .dialog-inner .text .columns>div{width:50%;padding-right:10px;overflow:hidden}.dialog .dialog-inner .text .columns>div>*,.detailed-settings .settings-block .dialog-inner .text .columns>div>*{max-width:100%}.dialog .dialog-inner .text button.upload,.detailed-settings .settings-block .dialog-inner .text button.upload{margin-left:-30px;height:25px;bottom:6px}.dialog .dialog-inner .upgrade,.detailed-settings .settings-block .dialog-inner .upgrade{margin:0 -30px -30px;padding:30px 30px 30px;background:#eaa22d;color:#fff}.dialog .dialog-inner .upgrade p,.detailed-settings .settings-block .dialog-inner .upgrade p{color:#fff}.dialog .dialog-inner .upgrade ul,.detailed-settings .settings-block .dialog-inner .upgrade ul{padding:0}.dialog .dialog-inner .upgrade ul li,.detailed-settings .settings-block .dialog-inner .upgrade ul li{font-weight:bold;margin-bottom:9px;list-style:none;padding-left:20px;position:relative}.dialog .dialog-inner .upgrade ul li i,.detailed-settings .settings-block .dialog-inner .upgrade ul li i{position:absolute;left:0;top:3px}.dialog .dialog-inner .upgrade .btn.convert,.detailed-settings .settings-block .dialog-inner .upgrade .btn.convert{background:#fff;color:#eaa22d}.dialog .dialog-inner .upgrade.business,.detailed-settings .settings-block .dialog-inner .upgrade.business{background-color:#93366e}.dialog .dialog-inner .upgrade.business .btn.convert,.detailed-settings .settings-block .dialog-inner .upgrade.business .btn.convert{color:#93366e}.hide-unpublished{display:none}body.published .hide-published{display:none}body.published .hide-unpublished{display:initial}.svg-defs{display:none}#sdk-tag{font-size:14px;margin-top:23px;display:inline-block;opacity:.2;font-weight:bold;position:absolute}@media(min-width: 420px){#sdk-tag{margin-top:33px}}.row.header{position:relative;top:0;background:#fff;border-bottom:1px solid #ccc;height:49px}.row.header #back-to-projects{width:48px;height:100%;border-right:1px solid #eee;display:block;text-align:center;padding-top:12px;font-size:19px}.row.header #back-to-projects.bosh img{width:20px}@media(min-width: 420px){.row.header #back-to-projects{font-size:21px;padding-top:16px;width:60px}}.row.header .row-inner{height:100%;padding-top:1px}.row.header .row-inner:after{clear:both;content:""}.row.header .menu-holder{width:auto;height:100%;display:inline-block;text-align:left;vertical-align:bottom;float:right}.row.header .hamburger{margin-top:6px}.row.header .logo{margin:6px 0 0;display:block;float:left;width:100px}.row.header .logo img{width:100px}.row.header .dropdown{margin-right:0;max-width:300px;position:absolute;right:20px}.row.header .mobile-nav{display:none}.row.header .mobile-nav .fa-bars{font-size:1.5em}.row.header .desktop-nav{padding-top:0}.row.header .user-settings{margin-top:10px;padding:5px 0 5px 40px;position:relative}.row.header .unsubscribed .user-settings{padding:0 0 0 40px}@media screen and (max-width: 819px){.row.header .desktop-nav{display:none}.row.header .mobile-nav{display:block}.row.header .menu-holder:hover{text-align:right}.row.header .menu-holder:hover .menu{display:block;position:fixed;padding:10px;background:#fff;top:40px;right:0;box-shadow:3px 3px 5px rgba(0,0,0,.1);border:1px solid rgba(0,0,0,.1)}.row.header .menu-holder:hover .menu .menu-item{display:block;padding:6px 0;color:#333;margin-right:0;font-size:14px;text-align:left}.row.header .menu-holder:hover .menu #sign-in .btn{background:#eee;font-size:14px;margin-top:12px}}@media(min-width: 420px){.row.header{height:61px}.row.header .logo{margin-top:10px;width:120px}.row.header .logo img{width:120px}.row.header .hamburger{margin-top:14px}}@media(min-width: 820px){.row.header .menu-holder{width:430px}.row.header.not-logged-in .menu-holder{width:580px}.row.header #sign-in{position:absolute;right:20px;top:0}.row.header #sign-in .btn{margin-top:12px;background-color:#eee}.row.header #sign-in a{display:block}}@media(min-width: 1020px){.row.header.not-logged-in .row-inner{max-width:1220px}}.row.header.app-showcase .sign-in{position:absolute;top:8px;right:20px;height:32px;font-size:14px;padding-top:.3em;line-height:1.4em}@media(min-width: 420px){.row.header.app-showcase .sign-in{top:12px;height:40px;font-size:16px;padding-top:.45em}}.is-static .row.header,.not-logged-in .row.header{background:transparent;box-shadow:none;z-index:3;border-color:transparent}.is-static .row.header .row-inner,.not-logged-in .row.header .row-inner{display:block;position:relative}.is-static .row.header .row-inner:after,.not-logged-in .row.header .row-inner:after{border-bottom:1px solid rgba(255,255,255,.1);content:"";display:block;position:absolute;bottom:0;left:20px;right:20px}.is-static .row.header .menu-holder,.is-static .row.header .menu-holder:hover,.not-logged-in .row.header .menu-holder,.not-logged-in .row.header .menu-holder:hover{display:inline-block;width:calc(100% - 150px);text-align:right}.is-static .row.header .menu-holder .menu,.is-static .row.header .menu-holder:hover .menu,.not-logged-in .row.header .menu-holder .menu,.not-logged-in .row.header .menu-holder:hover .menu{min-width:150px;position:absolute;right:20px;top:36px;padding:10px 20px}.is-static .row.header .menu-holder .menu h1,.is-static .row.header .menu-holder:hover .menu h1,.not-logged-in .row.header .menu-holder .menu h1,.not-logged-in .row.header .menu-holder:hover .menu h1{font-weight:600}.is-static .row.header .menu-holder .menu .menu-item,.is-static .row.header .menu-holder:hover .menu .menu-item,.not-logged-in .row.header .menu-holder .menu .menu-item,.not-logged-in .row.header .menu-holder:hover .menu .menu-item{font-size:16px;vertical-align:middle;border-color:transparent;margin-top:.5em}@media(min-width: 820px){.is-static .row.header .menu-holder .menu .menu-item,.is-static .row.header .menu-holder:hover .menu .menu-item,.not-logged-in .row.header .menu-holder .menu .menu-item,.not-logged-in .row.header .menu-holder:hover .menu .menu-item{color:#fff;margin:1em .4em}}@media(min-width: 1020px){.is-static .row.header .menu-holder .menu .menu-item,.is-static .row.header .menu-holder:hover .menu .menu-item,.not-logged-in .row.header .menu-holder .menu .menu-item,.not-logged-in .row.header .menu-holder:hover .menu .menu-item{margin:1em .75em}}@media(min-width: 420px){.is-static .row.header .menu-holder .menu,.is-static .row.header .menu-holder:hover .menu,.not-logged-in .row.header .menu-holder .menu,.not-logged-in .row.header .menu-holder:hover .menu{top:42px}}@media(min-width: 820px){.is-static .row.header .menu-holder .menu,.is-static .row.header .menu-holder:hover .menu,.not-logged-in .row.header .menu-holder .menu,.not-logged-in .row.header .menu-holder:hover .menu{top:0;padding:0;width:calc(100% - 140px)}.is-static .row.header .menu-holder .menu .sub-menu,.is-static .row.header .menu-holder:hover .menu .sub-menu,.not-logged-in .row.header .menu-holder .menu .sub-menu,.not-logged-in .row.header .menu-holder:hover .menu .sub-menu{display:inline-block;vertical-align:middle;padding-top:6px}.is-static .row.header .menu-holder .menu .sub-menu#main-menu,.is-static .row.header .menu-holder:hover .menu .sub-menu#main-menu,.not-logged-in .row.header .menu-holder .menu .sub-menu#main-menu,.not-logged-in .row.header .menu-holder:hover .menu .sub-menu#main-menu{width:calc(100% - 340px);text-align:left}}@media(min-width: 820px)and (min-width: 1020px){.is-static .row.header .menu-holder .menu .sub-menu#main-menu,.is-static .row.header .menu-holder:hover .menu .sub-menu#main-menu,.not-logged-in .row.header .menu-holder .menu .sub-menu#main-menu,.not-logged-in .row.header .menu-holder:hover .menu .sub-menu#main-menu{text-align:center}}@media(min-width: 820px){.is-static .row.header .menu-holder .menu .sub-menu h1,.is-static .row.header .menu-holder:hover .menu .sub-menu h1,.not-logged-in .row.header .menu-holder .menu .sub-menu h1,.not-logged-in .row.header .menu-holder:hover .menu .sub-menu h1{font-size:18px;padding-top:4px;font-weight:bold}}@media(min-width: 820px){.is-static .row.header .menu-holder .menu .sub-menu h2,.is-static .row.header .menu-holder:hover .menu .sub-menu h2,.not-logged-in .row.header .menu-holder .menu .sub-menu h2,.not-logged-in .row.header .menu-holder:hover .menu .sub-menu h2{font-size:11px;padding-top:9px;text-transform:uppercase;letter-spacing:1px}}@media(min-width: 1020px){.is-static .row.header .menu-holder .menu .sub-menu#main-menu,.is-static .row.header .menu-holder:hover .menu .sub-menu#main-menu,.not-logged-in .row.header .menu-holder .menu .sub-menu#main-menu,.not-logged-in .row.header .menu-holder:hover .menu .sub-menu#main-menu{width:calc(100% - 450px)}}.is-static .row.header .mobile-nav .fa-bars,.not-logged-in .row.header .mobile-nav .fa-bars{color:#fff;font-size:1em}#current-picture{width:32px;height:32px;background:#eee;border-radius:16px;display:inline-block;background-size:cover;background-position:center center}.show-username #current-picture{position:absolute;left:0;top:3px}.badge{position:relative;top:-2px;text-align:center;display:inline-block;border-radius:12px;font-weight:600;font-size:12px;line-height:1;padding:4px 5px;min-width:20px;margin-left:3px;color:#666;background:#ddd}.badge.reviewer{color:#fff;background:#00a4ce}#current-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px;display:inline-block;vertical-align:top;margin:5px 0 0;font-weight:bold;text-align:left;font-size:16px;line-height:1em}#upgrade-link{font-size:12px;display:block;opacity:.7;text-align:left;line-height:1em}#create-menu i{background:#fff;color:#ff465d;height:18px;width:18px;border-radius:9999px;font-size:12px;vertical-align:middle;padding-top:4px;margin-right:5px}#create-menu .btn{position:relative}#create-menu .btn-bg{position:absolute;right:0;top:6px;opacity:.2;font-size:24px}@media(min-width: 820px){#create-menu{margin-top:10px}#create-menu .menu-item{background:#ff465d;transition:background 200ms;color:#fff;padding:7px 18px 7px 12px;font-size:16px;font-weight:bold;height:36px;margin-right:10px}#create-menu .menu-item:hover{background:#9a2d44}}#mobile-menu{min-width:180px}#mobile-menu .dropdown-label{padding:.4em 1.3em;font-weight:normal}.header-strip{height:2px}.header-strip.header-strip-visualisation{background-color:#c64c61}.header-strip.header-strip-story{background-color:#ffd26b}header{display:block;position:absolute;top:0;left:0;width:100%}main{display:block;position:absolute;top:80px;left:0;width:100%;height:calc(100vh - 80px);overflow-y:auto}@media(min-width: 420px){main{top:92px;height:calc(100vh - 92px)}}.hide-editor-bar main{top:50px;height:calc(100vh - 50px)}@media(min-width: 420px){.hide-editor-bar main{top:62px;height:calc(100vh - 62px)}}.user-nav{float:right;padding-top:0;display:none}@media(min-width: 820px){.user-nav{display:block;margin-top:13px;height:36px}.user-nav .dropdown-head #current-picture{height:36px;width:36px;border-radius:9999px;margin-left:10px}.user-nav .dropdown-list{left:auto;right:-5px;margin-top:-5px}}.visualisation-editor{overflow-x:hidden}.visualisation-editor .template-chooser.visible+.tab-panes{display:none}.visualisation-editor .tab-panes{height:100%;width:100%}.visualisation-editor .tab-panes .tab-pane,.visualisation-editor .tab-panes .row.editor,.visualisation-editor .tab-panes .row-inner,.visualisation-editor .tab-panes #visualisation{height:100%}.visualisation-editor .tab-panes .tab-pane .editor-core,.visualisation-editor .tab-panes .row.editor .editor-core,.visualisation-editor .tab-panes .row-inner .editor-core,.visualisation-editor .tab-panes #visualisation .editor-core{position:relative}@media(min-width: 820px){.visualisation-editor .tab-panes .tab-pane .editor-core,.visualisation-editor .tab-panes .row.editor .editor-core,.visualisation-editor .tab-panes .row-inner .editor-core,.visualisation-editor .tab-panes #visualisation .editor-core{min-height:100%;padding-bottom:40px}}.visualisation-editor .tab-panes .tab-pane .side-panel{display:none}.visualisation-editor .tab-panes .tab-pane.active .side-panel{display:block}.visualisation-editor .tab-panes .tab-pane:not(.active) #spreadsheet-container input{display:none}.story-editor,.visualisation-editor{background:#f9f9f9}.row.editor{padding:0}.no-template .row.editor{display:none}.row.editor .row-inner{max-width:none;padding:0 10px}.row.editor #visibility-status .label,.row.editor .blueprint-tag{display:inline-block;margin-left:2px}.row.editor #visualisation,.row.editor #story{height:100%;width:100%;transition:height .5s ease;position:relative}.row.editor #visualisation .editor-core,.row.editor #story .editor-core{width:100%;height:auto;overflow:visible;transition:width .5s ease;position:relative;text-align:center}.row.editor #visualisation .editor-core .preview-holder,.row.editor #story .editor-core .preview-holder{width:100%;height:100%;padding-right:4px;min-width:100px;min-height:100px;transition:margin-left .5s ease,width .5s ease,opacity 1s;position:relative;background:#fff;display:inline-block;box-shadow:0 0 2px rgba(0,0,0,.2)}.row.editor #visualisation .editor-core .preview-holder #preview,.row.editor #story .editor-core .preview-holder #preview{height:100%;max-height:100%;overflow-y:auto;min-width:100px}.row.editor #visualisation .editor-core .preview-holder #preview,.row.editor #story .editor-core .preview-holder #preview{text-align:right;border:none;background:#fff;display:block;width:100%;height:100%}.row.editor #visualisation .editor-core .preview-holder #preview iframe,.row.editor #story .editor-core .preview-holder #preview iframe{width:100vw;border:none;position:relative;display:block}.row.editor #visualisation .editor-core .preview-holder #preview #blank-slide,.row.editor #visualisation .editor-core .preview-holder #preview iframe,.row.editor #story .editor-core .preview-holder #preview #blank-slide,.row.editor #story .editor-core .preview-holder #preview iframe{height:100%;width:100%;min-width:100px;border:none;flex:1}.row.editor #visualisation .editor-core .preview-holder .loading-spinner,.row.editor #story .editor-core .preview-holder .loading-spinner{position:absolute;left:50%;top:50%;width:27px;height:27px;opacity:0;pointer-events:none;z-index:5;margin-top:-13.5px;margin-left:-13.5px}.row.editor #visualisation .editor-core .preview-holder .unsupported-notice,.row.editor #story .editor-core .preview-holder .unsupported-notice{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#f9f9f9;padding:20px;z-index:10}.row.editor #visualisation .editor-core #resize-overlay,.row.editor #story .editor-core #resize-overlay{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.row.editor #visualisation .editor-core #resize-overlay.dragging,.row.editor #story .editor-core #resize-overlay.dragging{display:block}.row.editor #visualisation .editor-core #resize-handle-container,.row.editor #story .editor-core #resize-handle-container{position:absolute;width:4px;bottom:0;top:0;right:0;margin-bottom:0;display:none;z-index:100;transition:width 200ms}.row.editor #visualisation .editor-core #resize-handle-container #resize-handle,.row.editor #story .editor-core #resize-handle-container #resize-handle{cursor:ew-resize;position:absolute;width:4px;bottom:0;top:0;right:0;background:#eee;transition:width 100ms,background 100ms}.row.editor #visualisation .editor-core #resize-handle-container #resize-handle:after,.row.editor #story .editor-core #resize-handle-container #resize-handle:after{display:block;content:"";position:absolute;top:0;bottom:0;left:-4px;background:transparent;right:0;width:auto}.row.editor #visualisation .editor-core #resize-handle-container .resize-handle-icon,.row.editor #story .editor-core #resize-handle-container .resize-handle-icon{position:absolute;right:3px;top:50%;margin-top:-15px;opacity:.8;pointer-events:none;transition:right 100ms;display:none}.row.editor #visualisation .editor-core #resize-handle-container>i,.row.editor #story .editor-core #resize-handle-container>i{position:absolute;top:5px;left:5px}.row.editor #visualisation .editor-core #resize-handle-container:hover,.row.editor #story .editor-core #resize-handle-container:hover{width:6px}.row.editor #visualisation .editor-core #resize-handle-container:hover #resize-handle,.row.editor #story .editor-core #resize-handle-container:hover #resize-handle{width:6px;background:#ddd}.row.editor #visualisation .editor-core #resize-handle-container:hover #resize-handle:after,.row.editor #story .editor-core #resize-handle-container:hover #resize-handle:after{left:-10px}.row.editor #visualisation .editor-core #resize-handle-container:hover .resize-handle-icon,.row.editor #story .editor-core #resize-handle-container:hover .resize-handle-icon{right:2px;display:block}.row.editor #visualisation .editor-core #resize-handle-container.dragging #resize-handle:after,.row.editor #story .editor-core #resize-handle-container.dragging #resize-handle:after{left:-200px;right:0}@media(min-width: 770px){.row.editor #visualisation .editor-core,.row.editor #story .editor-core{padding:0}.row.editor #visualisation .editor-core #resize-handle-container,.row.editor #story .editor-core #resize-handle-container{display:block}}@media(min-width: 820px){.row.editor #visualisation .editor-core,.row.editor #story .editor-core{padding:0 10px 0 0}}.row.editor #visualisation{padding:10px 0 0}.row.editor #visualisation .editor-core .preview-holder iframe#preview{transform-origin:left top}.row.editor #visualisation .editor-core .preview-holder iframe#preview.mini-preview{z-index:1000;opacity:1;box-shadow:none;animation:fadeIn 500ms;overflow:hidden;pointer-events:none}@keyframes fadeIn{0%{opacity:0}1%{opacity:0}100%{opacity:1}}@media(min-width: 820px){.row.editor #visualisation .editor-core .preview-holder iframe#preview{width:100%}}.row.editor #story .editor-core .preview-holder #preview iframe{height:calc(100% - 64px)}.row.editor #story .editor-core .preview-holder #preview.nav-style-none iframe{height:100%}@media(min-width: 820px){.row.editor #story .editor-core{max-width:calc(100% - 220px);margin-left:220px;min-height:calc(100vh - 94px)}}.row.editor.mobile #visualisation .editor-core .preview-holder,.row.editor.mobile #story .editor-core .preview-holder{width:320px}.row.editor.mobile #visualisation .editor-core .preview-holder iframe,.row.editor.mobile #story .editor-core .preview-holder iframe{width:320px}.row.editor.mobile.landscape #visualisation .editor-core .preview-holder,.row.editor.mobile.landscape #story .editor-core .preview-holder{width:500px}.row.editor.mobile.landscape #visualisation .editor-core .preview-holder iframe,.row.editor.mobile.landscape #story .editor-core .preview-holder iframe{width:500px}.row.editor.tablet #visualisation .editor-core .preview-holder,.row.editor.tablet #story .editor-core .preview-holder{width:768px}.row.editor.tablet #visualisation .editor-core .preview-holder iframe,.row.editor.tablet #story .editor-core .preview-holder iframe{width:768px}.row.editor.tablet.landscape #visualisation .editor-core .preview-holder,.row.editor.tablet.landscape #story .editor-core .preview-holder{width:1024px}.row.editor.tablet.landscape #visualisation .editor-core .preview-holder iframe,.row.editor.tablet.landscape #story .editor-core .preview-holder iframe{width:1024px}@media(min-width: 820px){.row.editor #visualisation .editor-core{max-width:calc(100% - 350px)}}.project-header{padding:0 10px;position:absolute;top:2px;left:48px;right:0;width:auto}@media(min-width: 420px){.project-header{left:60px}.project-header:after{clear:both;display:block;content:""}}@media(min-width: 620px){.project-header{height:60px;z-index:110}}.project-header #visibility-status,.project-header .read-only,.project-header .blueprint-tag{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){.project-header #visibility-status,.project-header .read-only,.project-header .blueprint-tag{font-size:11px;padding:2px 3px 1px}}.project-header #visibility-status{cursor:pointer}.project-header #visibility-status:hover{color:#333}.project-header #visibility-status,.project-header .read-only{color:#aaa;font-weight:normal;padding:1px 3px 2px;background:#eee}.project-header #visibility-status.public,.project-header .read-only.public{background:#ffdc98;color:#000}.project-header #visibility-status.public:hover,.project-header .read-only.public:hover{background:#eec26d;color:#000}.project-header .blueprint-tag{font-size:9px;font-weight:bold;background:#2886b2;color:#fff;text-transform:uppercase;padding:1px 5px 2px;cursor:default}.project-header .project-settings{margin-left:10px;font-size:14px;font-weight:normal;line-height:0;vertical-align:top;margin-bottom:-3px;display:inline-block;margin-top:-2px;z-index:110;height:auto}.project-header .project-settings .dropdown-head{padding-right:5px;padding-left:5px;padding-bottom:10px;font-size:16px}.project-header .project-settings .dropdown-list{margin-right:0}@media(min-width: 420px){.project-header .project-settings{top:0;margin-top:-4px;padding-top:19px}}@media(min-width: 620px){.project-header .project-settings{padding-top:18px}}.project-header .has-name+.project-settings{margin-left:0}.project-header .tags{display:inline-block;margin-left:.5em}.project-header .name{position:relative;vertical-align:top;font-weight:normal;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){.project-header .name{margin-top:5px;height:26px}}@media(min-width: 620px){.project-header .name{font-size:18px}}@media(min-width: 820px){.project-header .name{font-size:18px}}.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){.project-header .name input{height:26px}}.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){.project-header .name .name-width-setter{max-width:240px}}@media(min-width: 620px){.project-header .name .name-width-setter{max-width:340px}}@media(min-width: 820px){.project-header .name .name-width-setter{max-width:340px}}.project-header .name.not-editable input{border-color:transparent;color:#333;top:0;background:transparent;font-style:normal}.project-header .name.has-name input,.project-header .name.has-name .name-width-setter{font-style:normal;background:none}.project-header .name.has-name input{color:#333;border-color:#ccc;top:0;font-style:normal}.project-header .name.has-name .name-overlay{display:block;top:0}.project-header .name .name-overlay{display:none;content:"";position:absolute;left:125px;top:0;width:20px;height:100%;background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 80%)}@media(min-width: 420px){.project-header .name .name-overlay{left:225px}}@media(min-width: 620px){.project-header .name .name-overlay{left:325px}}@media(min-width: 820px){.project-header .name .name-overlay{left:325px}}.project-header .project-author{color:#aaa;font-weight:normal;top:30px;font-size:11px;line-height:1em;position:absolute}@media(min-width: 420px){.project-header .project-author{top:38px;font-size:12px}}@media(min-width: 820px){.project-header .project-author{font-size:12px}}.project-header .project-author+.dropdown .dropdown-head{display:inline-block}.project-header .project-author+.dropdown .badge{top:-14px}.project-header .project-author+.dropdown .dropdown-list .badge{position:absolute;right:10px;top:12px;pointer-events:none}.project-header #export-btn-group{float:right;margin-bottom:0;margin-right:0;margin-top:9px}.project-header #export-btn-group .export-btn,.project-header #export-btn-group #story-btn{width:30px;height:30px;padding:0 0;text-align:center}.project-header #export-btn-group .export-btn span,.project-header #export-btn-group #story-btn span{display:none}.project-header #export-btn-group .export-btn i,.project-header #export-btn-group #story-btn i{margin-right:0}@media(min-width: 420px){.project-header #export-btn-group .export-btn,.project-header #export-btn-group #story-btn{width:30px;height:30px}}@media(min-width: 820px){.project-header #export-btn-group .export-btn,.project-header #export-btn-group #story-btn{padding:0 8px;height:36px;width:auto}.project-header #export-btn-group .export-btn span,.project-header #export-btn-group #story-btn span{display:inline}.project-header #export-btn-group .export-btn i,.project-header #export-btn-group #story-btn i{margin-right:3px}}.project-header #export-btn-group #create-btn{height:36px;line-height:34px}.visualisation-editor.no-template .project-header #export-btn-group{display:none}.project-header #export-btn-group #story-btn-form{display:inline-block}.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){.project-header #export-btn-group{margin-top:15px}}@media(min-width: 820px){.project-header #export-btn-group{margin-top:12px}}.row.editor-bar{background:#e3e3e3;height:30px;font-size:12px;padding:0 10px}.row.editor-bar #visualisation-tabs{z-index:110;width:calc(100% - 120px);margin-left:60px;text-align:center}.row.editor-bar #visualisation-tabs button{font-size:12px;line-height:1em}.row.editor-bar #visualisation-tabs button i{margin-right:3px;font-size:11px}.row.editor-bar #visibility-status,.row.editor-bar .read-only{display:inline-block;float:left;font-weight:bold;color:#aaa;margin-top:7px}.row.editor-bar .confirm-saved{float:right;margin-top:8px;margin-left:0;width:60px}.row.editor-bar .flourish-warn-container{display:none;float:right;margin-left:4px;position:relative}.row.editor-bar .flourish-warn-container.visible{display:block}.row.editor-bar .flourish-warn-container .flourish-warn-btn{background:#333;height:16px;width:16px;border-radius:50%;font-size:9px;color:#e3e3e3;margin-top:7px;text-align:center;padding-top:2px}.row.editor-bar .flourish-warn-container .flourish-warn-list{display:none;position:absolute;right:0;top:25px;width:250px;background-color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);border-radius:3px;padding:10px;z-index:1}.row.editor-bar .flourish-warn-container .flourish-warn-list.visible{display:block}.row.editor-bar .flourish-warn-container .flourish-warn-list ul{margin:0;padding:0;list-style:none}.row.editor-bar .flourish-warn-container .flourish-warn-list ul li{position:relative;border-top:1px solid rgba(0,0,0,.1);padding:8px 0 0 20px;margin:8px 0 0 0}.row.editor-bar .flourish-warn-container .flourish-warn-list ul li:first-child{border-top:none;padding-top:0;margin-top:0}.row.editor-bar .flourish-warn-container .flourish-warn-list ul li:first-child i{top:4px}.row.editor-bar .flourish-warn-container .flourish-warn-list ul li i{position:absolute;top:11px;left:4px;color:#333;font-size:11px}.row.editor-bar .flourish-warn-container .flourish-warn-list ul li p.message{font-weight:bold}.row.editor-bar .flourish-warn-container .flourish-warn-list ul li p.explanation{color:#888}@media(min-width: 820px){.row.editor-bar #visualisation-tabs{width:calc(100% - 380px);margin-left:0}}.tab-data .tab-preview{position:fixed;z-index:2}.tab-data #preview-menu{opacity:0;pointer-events:none}.side-panel{text-align:left;position:relative;background:#f9f9f9;line-height:1.1;margin-left:0;padding:10px 0 1px 0;width:100%}.side-panel.closed{margin-left:-300px}.side-panel .side-panel-inner{margin-bottom:87px;border:1px solid #ddd;background:#fff}@media(min-width: 820px){.side-panel .side-panel-inner{border:none;background:transparent}}.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:solid 1px rgba(0,0,0,.4);border-radius:3px;background:#eaeaea;transition:right .5s ease;z-index:1}.side-panel .side-panel-close.opener{right:calc(-1.5em + 1px);border-bottom-left-radius:0;border-top-left-radius:0}.side-panel .side-panel-close:hover{opacity:1}.side-panel .side-panel-close:hover i{opacity:.7}.side-panel#slides-panel{height:100%;padding:0;background:#fff;margin-top:20px}.side-panel#slides-panel .side-panel-scrollbox{padding:0 15px 10px}@media(min-width: 820px){.side-panel#slides-panel{max-width:200px;right:auto;position:absolute;top:0;margin-top:0;border-right:1px solid #ddd}}.side-panel .side-panel-scrollbox{width:calc(100%);height:calc(100%);padding:10px 10px 20px;overflow-y:scroll}.side-panel .side-panel-scrollbox .side-panel-inner{width:100%}@media(min-width: 1220px){.side-panel .side-panel-scrollbox{padding:20px}}.side-panel h1{margin:1em 0 .5em;font-size:.9em;opacity:.5;cursor:default}.side-panel h2{font-size:13px;letter-spacing:0;font-weight:500;margin:0 0 .6em;position:relative;color:#333;word-wrap:break-word}.side-panel .toplevel-settings-block{padding:0 5px 20px}.side-panel .toplevel-settings-block .settings-option{display:inline-block}.side-panel .toplevel-settings-block .settings-option:first-child{margin-top:9px}.side-panel .settings-divider{margin:1rem -10px 0;clear:both;width:calc(100% + 20px);height:1px;background:#eee}.side-panel .settings-subhead{text-transform:uppercase;font-size:.7rem;font-weight:bold;color:#999;padding:.5rem 5px .25rem;margin:0}.side-panel .settings-block{margin:0;display:inline-block;width:100%;background-color:#fff;padding:0 10px 0;min-height:24px}.side-panel .settings-block h2{margin:0 -10px;font-size:.8rem;padding:.75em 30px;font-weight:bold;background-color:#f5f5f5;border-top:1px solid #ddd;cursor:pointer;color:#535e65}.side-panel .settings-block h2:focus{outline:none}.side-panel .settings-block h2:hover,.side-panel .settings-block h2:focus{background:#e8e8e8}.side-panel .settings-block h2::after{font-family:FontAwesome;content:"";position:absolute;left:15px}.side-panel .settings-block .settings-option,.side-panel .settings-block .settings-divider,.side-panel .settings-block .settings-subhead{display:none}.side-panel .settings-block input::-webkit-contacts-auto-fill-button{visibility:hidden;display:none !important;pointer-events:none;position:absolute;right:0}.side-panel .settings-block.open{padding-bottom:1rem}.side-panel .settings-block.open h2::after{transform:rotate(90deg)}.side-panel .settings-block.open .settings-option{display:inline-block}.side-panel .settings-block.open .settings-divider,.side-panel .settings-block.open .settings-subhead{display:block}.side-panel .settings-block.open h2+.settings-divider{background:transparent;margin-top:.25rem}.side-panel .settings-block.open .hidden{display:none}.side-panel .settings-block.hidden{display:none}.side-panel h3{font-size:.8rem;line-height:1.2em;font-weight:normal;margin-top:0;margin-bottom:3px;color:#333;display:inline-block;cursor:default;overflow:hidden;vertical-align:top;background:#fff;text-overflow:ellipsis}.side-panel p{font-size:12px;margin-top:0;font-weight:300}.side-panel .upgrade-setting{cursor:pointer}.side-panel .upgrade-setting .buttons-container label{opacity:.2;pointer-events:none}.side-panel .upgrade-setting h3{color:#999}.side-panel .upgrade-setting input,.side-panel .upgrade-setting label.slider{pointer-events:none;opacity:.2}.side-panel .upgrade-setting h3,.side-panel .upgrade-setting input,.side-panel .upgrade-setting label.slider{cursor:pointer}.side-panel .settings-option{position:relative;margin-top:.75rem;display:none;vertical-align:bottom;width:100%;padding:0 5px}.side-panel .settings-option label{font-size:13px;display:inline-block;vertical-align:top;width:100%}.side-panel .settings-option label .setting-tooltip{margin-left:3px;color:#fff;background-color:#d0d0d0;border-radius:10px;width:12px;height:12px;font-size:8px;padding:2px 0 0 0;text-align:center;vertical-align:bottom;margin-bottom:1px}.side-panel .settings-option label .setting-tooltip.tooltip-upgrade{background-color:#eaa22d}.side-panel .settings-option label .setting-tooltip:hover{background-color:#aaa}.side-panel .settings-option label .setting-tooltip:hover.tooltip-upgrade{background-color:#df911c}.side-panel .settings-option label:hover{z-index:2;position:relative}.side-panel .settings-option label:hover h3{padding-right:1px}.side-panel .settings-option input,.side-panel .settings-option textarea,.side-panel .settings-option select,.side-panel .settings-option button{border-radius:3px;border:1px solid #ddd;padding:.2em .1em .2em .3em;min-height:30px;font-size:13px;display:block;outline:none;transition:200ms linear border}.side-panel .settings-option input:focus,.side-panel .settings-option textarea:focus,.side-panel .settings-option select:focus,.side-panel .settings-option button:focus{border:1px solid #777}.side-panel .settings-option ::-webkit-input-placeholder{color:#ddd}.side-panel .settings-option :-ms-input-placeholder{color:#ddd}.side-panel .settings-option ::-ms-input-placeholder{color:#ddd}.side-panel .settings-option .autocomplete .dropdown-list .dropdown-item{font-size:13px;padding:10px 10px 10px 6px}.side-panel .settings-option .color-picker{vertical-align:top;line-height:0;position:relative}.side-panel .settings-option .color-picker:hover:not(.is-null) .cancel-setting{transform:translateX(27px)}.side-panel .settings-option .color-picker.is-null .color-wrapper input{opacity:0}.side-panel .settings-option .color-wrapper{width:30px;height:30px;overflow:hidden;border-radius:3px;position:relative;display:inline-block;background:#fff}.side-panel .settings-option .color-wrapper input{transform:scale(10);position:absolute}.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);transform-origin:top;transform:rotate(-45deg)}.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}.side-panel .settings-option .color-wrapper:invalid{box-shadow:none}.side-panel .settings-option .cancel-setting{width:30px;border:1px solid #ddd;background:#fff;position:absolute;padding:0;height:30px;vertical-align:top;left:0;transition:200ms transform}.side-panel .settings-option .cancel-setting svg{margin-left:2px;width:8px;height:8px;pointer-events:none;transition:200ms opacity}.side-panel .settings-option .cancel-setting:focus{border:1px solid #ddd}.side-panel .settings-option .cancel-setting:hover svg{opacity:.4}.side-panel .settings-option .single-button{background:#eee;color:#333;width:100%;border:none;padding:0;cursor:pointer;transition:200ms linear background-color}.side-panel .settings-option .single-button:hover{background-color:#e0e0e0}.side-panel .settings-option .single-button:hover:disabled{background-color:#eee;cursor:default}.side-panel .settings-option .single-button:focus{border:none}.side-panel .settings-option .buttons-container input[type=radio]{width:0;height:0;opacity:0;margin:0;display:inline-block;display:none}.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%;transition:200ms linear background-color}.side-panel .settings-option .buttons-container input[type=radio]+label i{color:#555}.side-panel .settings-option .buttons-container input[type=radio]+label img{margin-top:-8px}.side-panel .settings-option .buttons-container.large input[type=radio]+label{height:60px}.side-panel .settings-option .buttons-container input[type=radio]:not([disabled])+label:hover{background-color:#e0e0e0}.side-panel .settings-option .buttons-container input[type=radio]:disabled+label{cursor:default}.side-panel .settings-option .buttons-container input[type=radio]:checked+label{background-color:#ccdee6;cursor:default;position:relative}.side-panel .settings-option .buttons-container input[type=radio]:checked+label:hover{background-color:#ccdee6}.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}.side-panel .settings-option input[data-autocomplete]+.fa{position:absolute;right:10px;margin-top:-21px;font-size:12px;pointer-events:none}.side-panel .settings-option select{width:100%;height:32px}.side-panel .settings-option.option-type-color input{padding:0;background:#fff}.side-panel .settings-option.option-type-number,.side-panel .settings-option.option-type-rows,.side-panel .settings-option.option-type-color{width:50%}.side-panel .settings-option.option-type-number.width-quarter input,.side-panel .settings-option.option-type-rows.width-quarter input,.side-panel .settings-option.option-type-color.width-quarter input{width:100%}.side-panel .settings-option.option-type-number input,.side-panel .settings-option.option-type-rows input,.side-panel .settings-option.option-type-color input{width:calc((100% - 10px) / 2);min-width:40px}.side-panel .settings-option.option-type-boolean:not(.settings-buttons).settings-buttons>label{height:auto}.side-panel .settings-option.option-type-boolean:not(.settings-buttons) input{display:none}.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}.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}.side-panel .settings-option.option-type-boolean:not(.settings-buttons) .slider:hover:after{border-color:#bbb}.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:200ms;transition:200ms}.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:200ms;transition:200ms}.side-panel .settings-option.option-type-boolean:not(.settings-buttons) input:checked+.slider:before{background:#ccdee6}.side-panel .settings-option.option-type-boolean:not(.settings-buttons) input:checked+.slider:after{left:9px;background:#2886b2;border-color:#2886b2}.side-panel .settings-option.option-type-boolean:not(.settings-buttons) input:checked+.slider:hover:after{background-color:#2886b2;border-color:#2886b2}.side-panel .settings-option.option-type-string input,.side-panel .settings-option.option-type-url input{width:100%}.side-panel .settings-option.option-type-text textarea,.side-panel .settings-option.option-type-code textarea{width:100%}.side-panel .settings-option.option-type-text textarea.size-large,.side-panel .settings-option.option-type-code textarea.size-large{height:calc(50vh)}.side-panel .settings-option.option-type-code label{width:calc(100% - 18px)}.side-panel .settings-option.option-type-code .wrap-control{font-size:.7em;color:#999;transform:scale(1, -1);margin-bottom:.3em;display:inline-block;vertical-align:bottom;transition:transform .2s ease}.side-panel .settings-option.option-type-code .wrap-control.selected{transform:scale(-1, -1);cursor:pointer}.side-panel .settings-option.option-type-code textarea{font-family:monospace;font-size:13px}.side-panel .settings-option.option-type-font input.font-menu{width:100%;outline:none}.side-panel .settings-option.option-type-colors input{width:100%;margin:0;z-index:1;cursor:pointer}.side-panel .settings-option.option-type-colors .color-swatches,.side-panel .settings-option.option-type-colors .dropdown-item{display:flex;align-items:stretch;min-height:30px;overflow:hidden}.side-panel .settings-option.option-type-colors .color-swatches em,.side-panel .settings-option.option-type-colors .dropdown-item em{font-style:normal;color:#777;display:block;padding:8px;pointer-events:none}.side-panel .settings-option.option-type-colors .color-swatches span,.side-panel .settings-option.option-type-colors .dropdown-item span{display:inline-block;height:30px;flex:1}.side-panel .settings-option.option-type-colors .color-swatches span:nth-child(n+13):nth-child(-n+99),.side-panel .settings-option.option-type-colors .dropdown-item span:nth-child(n+13):nth-child(-n+99){display:none}.side-panel .settings-option.option-type-colors .color-swatches{padding:0;position:absolute;left:4px;right:26px;z-index:0;pointer-events:none}.side-panel .settings-option.option-type-colors .dropdown-item{padding:2px 0 !important;width:100%}.side-panel .settings-option.option-type-colors .dropdown-item label{position:absolute;top:6px;left:8px;color:rgba(250,250,250,.9);pointer-events:none}.side-panel .settings-option.option-type-colors .dropdown-item span{pointer-events:none}.side-panel .settings-option.option-type-colors.custom input{opacity:0}.side-panel .settings-option.option-type-colors.custom .color-swatches{align-items:flex-start}.side-panel .settings-option.option-type-colors.custom .color-swatches span{max-width:28px;pointer-events:auto;transition:transform 200ms;transform-origin:center center}.side-panel .settings-option.option-type-colors.custom .color-swatches span:hover{transform:scale(1.2)}.side-panel .settings-option.option-type-colors.custom .color-swatches span.fa{font-size:24px;color:#ccc;margin-left:4px}.side-panel .settings-option.option-type-colors.custom .color-swatches span.fa::before{position:relative;top:2px}.side-panel .settings-option.width-full{width:100% !important}.side-panel .settings-option.width-half{width:50% !important}.side-panel .settings-option.width-quarter{width:25% !important}.side-panel .settings-option.width-three-quarters{width:75% !important}.side-panel .settings-option .description-link{cursor:pointer;color:#dd4141}.side-panel .detailed-settings h2{margin-bottom:.75rem}.side-panel .detailed-settings h2:after{content:""}.side-panel .palette{max-height:calc(100vh - 210px);overflow-y:auto;padding:1px}.side-panel .palette input[type=color],.side-panel .palette button,.side-panel .palette .swatch-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}.side-panel .palette input[type=color].fa-plus-square::before,.side-panel .palette button.fa-plus-square::before,.side-panel .palette .swatch-color.fa-plus-square::before{font-size:32px;color:#ddd;margin-left:1px}.side-panel .palette input[type=color].fa-times,.side-panel .palette button.fa-times,.side-panel .palette .swatch-color.fa-times{position:absolute;right:0;opacity:0;color:#aaa}.side-panel .palette input[type=color].fa-times:hover,.side-panel .palette button.fa-times:hover,.side-panel .palette .swatch-color.fa-times:hover{color:#888}.side-panel .palette input[type=color]::-webkit-color-swatch-wrapper,.side-panel .palette button::-webkit-color-swatch-wrapper,.side-panel .palette .swatch-color::-webkit-color-swatch-wrapper{padding:0}.side-panel .palette input[type=color]::-webkit-color-swatch,.side-panel .palette button::-webkit-color-swatch,.side-panel .palette .swatch-color::-webkit-color-swatch{border:none}.side-panel .palette [draggable]{cursor:move;cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.side-panel .palette [draggable]:active{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.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:bold;line-height:5.5px;pointer-events:none}.side-panel .palette input[type=text]{width:120px;width:calc(100% - 52px);background:transparent;padding:5px 8px;border-width:0;margin:0}.side-panel .palette p{position:relative;display:flex;align-items:center;margin:0;padding:5px 5px 5px 20px;border-bottom:1px solid #eee}.side-panel .palette p:first-child{border-top:1px solid #eee}.side-panel .palette p:hover button.fa-times{opacity:.5}.side-panel .palette p:hover [draggable]::before{opacity:1}.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}.side-panel .side-panel-top.shadow{box-shadow:3px 3px 5px rgba(0,0,0,.1)}.side-panel .side-panel-top .side-panel-top-menu .side-panel-icon-btn{color:#fff;background:#9a9a9a;padding:7px 0 0 0;border-radius:9999px;width:30px;height:30px;text-align:center;margin:0}.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 .side-panel .side-panel-top .side-panel-top-menu .separator{margin:0 .25em}.side-panel .current-template{margin:0;opacity:0;transition:200ms opacity;position:relative;padding:10px 10px 0;min-height:56px;border-bottom:1px solid #ddd}.side-panel .current-template h1{padding-right:76px;opacity:1;font-size:12px;font-weight:normal;min-height:36px;margin:0;padding-top:3px}.side-panel .current-template h1>span{display:block;font-weight:bold;font-size:16px}.side-panel .current-template h3{margin-top:.7em}.side-panel .current-template h3 i{margin-left:.2em;color:rgba(0,0,0,.5)}.side-panel .current-template .current-template-title{position:relative}.side-panel .current-template .current-template-title .current-template-version{margin-left:4px;font-size:12px}.side-panel .current-template .current-template-thumbnail{position:absolute;right:-10px;top:-10px;width:76px;height:calc(100% + 19px);background-size:cover;background-position:center;background-repeat:no-repeat}.side-panel .current-template .current-template-thumbnail:after{width:20px;height:100%;position:absolute;left:0;right:0;background:linear-gradient(to right, white, rgba(255, 255, 255, 0));content:"";display:block}.side-panel .template-theme button#reset-to-theme:disabled{color:#d3d3d3}@media(min-width: 620px)and (max-width: 819px){.side-panel .side-panel-inner{max-width:500px;margin:20px auto}}@media(min-width: 820px){.side-panel{max-width:330px;position:fixed;right:0;top:93px;background:#fff;overflow-y:auto;height:calc(100vh - 93px);border-left:1px solid #ddd}.side-panel .current-template{padding-top:0;min-height:46px}}.tab-preview #visualisation .editor-core{overflow:visible !important}.sdk #visualisation .editor-core,.tab-preview.active #visualisation .editor-core{overflow:auto !important}body.full-screen .row.editor #visualisation,body.full-screen .row.editor #story{position:fixed !important;top:0 !important;left:0 !important;width:100% !important;height:100% !important}body.full-screen .row.editor #visualisation .editor-core #preview,body.full-screen .row.editor #story .editor-core #preview{width:100% !important}body.full-screen .row.editor #visualisation #exit-full-screen,body.full-screen .row.editor #story #exit-full-screen{display:block}body.loading .loading-spinner{opacity:1 !important;animation-name:spin;animation-duration:1.2s;animation-iteration-count:infinite;animation-timing-function:linear;transform-origin:center center}body.loading .content{min-height:100vh}body.loading .preview-holder{pointer-events:none;background-color:#f3f3f3}body.loading .preview-holder #preview{background:transparent !important}body.loading .preview-holder iframe{opacity:.1}body.loading .row.data,body.loading #blank-slide{opacity:0;pointer-events:none}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}#private-publishing{display:inline-block;padding-right:15px;margin-top:10px;width:100%}#private-publishing+input{width:100%;padding:5px}#private-publishing+input.hidden{display:none}#private-publishing+input.error{border-color:#dd4141}#private-publishing.upgrade-btn{width:auto;color:#999}#private-publishing.upgrade-btn::after{top:4px}.is-touch .side-panel .settings-option .color-picker:not(.is-null) .cancel-setting{transform:translateX(27px)}body.sdk{background:#f9f9f9;overflow-x:hidden}body.sdk .row.editor .row-inner{max-width:none}body.sdk .error{position:absolute;top:0;left:50%;margin-left:-115px;width:230px;max-width:80%;background:#dd4141;color:#fff;padding:70px 10px 10px;border-bottom-left-radius:6px;border-bottom-right-radius:6px;text-align:center;z-index:101;display:none}body.sdk .error h1{font-size:1em;font-weight:500}body.sdk .error h2{font-size:1em;font-weight:300}body.sdk .error.shown{display:block;animation-name:enter;animation-duration:.3s}@keyframes enter{0%{top:-100px}100%{top:0}}body.sdk .side-panel .side-panel-scrollbox{height:100%}body.sdk .side-panel .side-panel-scrollbox .current-template .current-template-thumbnail{background-image:url("/thumbnail");background-size:cover;background-position:50% 50%}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block{margin:10px 0;color:#fff;background:#888;border:1px solid rgba(0,0,0,.1);text-align:right}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block:hover,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block:hover{background:#777}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block.open:hover,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block.open:hover{background:#888}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block h2,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block h2{text-align:left;color:#fff}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block i,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block i{margin-right:.2em;display:inline-block;vertical-align:middle}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option{margin-top:.75em}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element select,body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element input,body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element textarea,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element select,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element input,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element textarea{width:150px}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element textarea,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element textarea{min-height:50px}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element .small,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element .small{display:inline-block}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element .small label,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element .small label{width:auto;vertical-align:middle}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .form-element .small input,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .form-element .small input{width:30px;margin-right:4px}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block .settings-option .type-specific,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block .settings-option .type-specific{display:none}body.sdk .side-panel .side-panel-scrollbox .sdk-add .settings-block button,body.sdk .side-panel .side-panel-scrollbox .sdk-add .data-block button{margin-top:1em;margin-left:2em}body.sdk .side-panel .tip{font-size:.8em;line-height:1.4;color:#aaa;font-weight:300}.row.text-editor{margin-top:1em;background:none}.row.text-editor .row-inner #code-mirror{width:100%}.row.text-editor .row-inner .CodeMirror{border:1px solid rgba(0,0,0,.3);width:100%}