webpackJsonp([1],{454:function(e,t,n){"use strict";functiona(e){returne&&e.__esModule?e:{default:e}}functioni(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}functionl(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}functionr(e){return(0,m.bindActionCreators)({changeSideIcon:f.changeSideIcon,setSelectedIcon:f.setSelectedIcon},e)}Object.defineProperty(t,"__esModule",{value:!0});vars=function(){functione(e,t){for(varn=0;n<t.length;n++){vara=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"ina&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}returnfunction(t,n,a){returnn&&e(t.prototype,n),a&&e(t,a),t}}(),c=n(5),u=a(c),d=n(54),m=n(48),f=n(77),h=n(457),g=a(h),b=n(458),p=a(b),v=n(78),E=a(v),x=n(36);g.default.registerLanguage("xml",p.default);varN=function(e){functiont(e){i(this,t);varn=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));returnn.state={color:"black",copied:!1,code:null,colorChoiceDisplay:!1,animateChoiceDisplay:!1,rotate:0,animation:"none"},n.handleBoxClose=n.handleBoxClose.bind(n),n.handleColor=n.handleColor.bind(n),n.handleRotate=n.handleRotate.bind(n),n.copyCode=n.copyCode.bind(n),n.handleCurrentColor=n.handleCurrentColor.bind(n),n.handleAnimate=n.handleAnimate.bind(n),n.handleCurrentAnimation=n.handleCurrentAnimation.bind(n),n}returnl(t,e),s(t,[{key:"componentWillMount",value:function(){"SOLID"===this.props.icon.type_of_icon?this.setState({code:"<i class='bx bxs-"+this.props.icon.name+"'></i>"}):"LOGO"===this.props.icon.type_of_icon?this.setState({code:"<i class='bx bxl-"+this.props.icon.name+"'></i>"}):this.setState({code:"<i class='bx bx-"+this.props.icon.name+"'></i>"})}},{key:"componentDidMount",value:function(){for(vare=document.querySelectorAll("code"),t=0;t<e.length;t++)g.default.highlightBlock(e[t])}},{key:"componentDidUpdate",value:function(){for(vare=document.querySelectorAll("code"),t=0;t<e.length;t++)g.default.highlightBlock(e[t])}},{key:"componentWillReceiveProps",value:function(e){if(this.props.icon.slug!==e.icon.slug){vart="bx bx-"+e.icon.name;"SOLID"===e.icon.type_of_icon?t="bx bxs-"+e.icon.name:"LOGO"===e.icon.type_of_icon&&(t="bx bxl-"+e.icon.name),"none"!==this.state.animation&&(t+=" bx-"+this.state.animation),this.state.rotate>0&&(t+=" bx-rotate-"+this.state.rotate),this.setState({code:"<i class='"+t+"'></i>"})}}},{key:"handleRotate",value:function(){vare="bx bx-"+this.props.icon.name;"SOLID"===this.props.icon.type_of_icon?e="bx bxs-"+this.props.icon.name:"LOGO"===this.props.icon.type_of_icon&&(e="bx bxl-"+this.props.icon.name),"none"!==this.state.animation&&(e+=" bx-"+this.state.animation),this.state.rotate+90!==360?(this.setState({rotate:this.state.rotate+90}),e+=" bx-rotate-"+(this.state.rotate+90)):this.setState({rotate:0}),this.setState({code:"<i class='"+e+"'></i>"})}},{key:"handleAnimate",value:function(e){this.setState({animation:e}),this.setState({animateChoiceDisplay:!1});vart="bx bx-"+this.props.icon.name;"SOLID"===this.props.icon.type_of_icon?t="bx bxs-"+this.props.icon.name:"LOGO"===this.props.icon.type_of_icon&&(t="bx bxl-"+this.props.icon.name),"none"!==e&&(t+=" bx-"+e),this.state.rotate>0&&(t+=" bx-rotate-"+this.state.rotate),this.setState({code:"<i class='"+t+"'></i>"})}},{key:"handleColor",value:function(e){this.setState({color:e}),this.setState({colorChoiceDisplay:!1})}},{key:"handleCurrentColor",value:function(){this.setState({colorChoiceDisplay:!this.state.colorChoiceDisplay}),this.setState({animateChoiceDisplay:!1})}},{key:"handleCurrentAnimation",value:function(){this.setState({animateChoiceDisplay:!this.state.animateChoiceDisplay}),this.setState({colorChoiceDisplay:!1})}},{k