(window.webpackJsonpcodecrumbs=window.webpackJsonpcodecrumbs||[]).push([[12],{219:function(n,e,i){"use strict";i.r(e),i.d(e,"default",function(){return y});var o=i(160),t=i.n(o),r=i(161),c=i.n(r),s=i(162),d=i.n(s),a=i(163),l=i.n(a),u=i(164),p=i.n(u),f=i(0),h=i.n(f),m=i(19),g=i.n(m),v=i(248),b=i.n(v),x=i(251),y=(i(220),function(n){function e(){return t()(this,e),d()(this,l()(e).apply(this,arguments))}return p()(e,n),c()(e,[{key:"fixScroll",value:function(){var n=this.props,e=n.dependenciesLines,i=void 0===e?[]:e,o=n.crumbedLines,t=void 0===o?[]:o,r=n.lineHeight;if(this.codeRef&&this.codeRef.scrollTo){var c=i.length?i:t.length?t:null;c&&this.codeRef.scrollTo(0,(c[0][0]-1)*(r||18)+5-2)}}},{key:"componentDidUpdate",value:function(n){this.fixScroll()}},{key:"componentDidMount",value:function(){this.fixScroll()}},{key:"render",value:function(){var n=this,e=this.props,i=e.language,o=e.code,t=e.crumbedLines,r=void 0===t?[]:t,c=e.dependenciesLines,s=void 0===c?[]:c,d=e.limitedHeight,a=e.fontSize;return h.a.createElement("div",{className:g()("Code",{limitedHeight:d}),ref:function(e){return n.codeRef=e}},h.a.createElement(b.a,{language:i,style:x.atomOneLight,showLineNumbers:!0,wrapLines:!0,customStyle:{fontSize:"".concat(a||12,"px"),padding:"".concat(5,"px 0px 5px 5px")},lineProps:function(n){return L(r,n)?{className:"crumbedLine"}:L(s,n)?{className:"importedDependencyLine"}:{}}},o||""))}}]),e}(h.a.Component)),L=function(n,e){return!!n.find(function(n){return n[0]===e&&n[1]===e||n[0]<=e&&n[1]>=e})}},220:function(n,e,i){var o=i(221);"string"==typeof o&&(o=[[n.i,o,""]]);var t={hmr:!0,transform:void 0,insertInto:void 0};i(49)(o,t);o.locals&&(n.exports=o.locals)},221:function(n,e,i){(n.exports=i(48)(!1)).push([n.i,".Code {\n  height: 100%;\n  position: relative;\n  overflow: auto;\n}\n.Code .crumbedLine {\n  display: block;\n  background-color: rgba(255, 225, 244, 0.8);\n}\n.Code .importedDependencyLine {\n  display: block;\n  background-color: rgba(0, 148, 249, 0.1);\n}\n.Code.limitedHeight {\n  max-height: 200px;\n}\n",""])}}]);