Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flint-tools

Package Overview
Dependencies
Maintainers
2
Versions
310
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flint-tools - npm Package Compare versions

Comparing version 1.4.22 to 1.4.23

.internal/styles/Tests.Props.css

1

.internal/deps/externals.in.js

@@ -14,3 +14,2 @@

packages["mouse-event-offset"] = require("mouse-event-offset");
packages["clone"] = require("clone");
packages["babel-runtime/core-js/object/assign"] = require("babel-runtime/core-js/object/assign");

@@ -17,0 +16,0 @@

@@ -12,4 +12,3 @@ [

"mouse-event-offset",
"clone",
"babel-runtime/core-js/object/assign"
]

@@ -1,3 +0,3 @@

exports.flinttools=function(e,t){!function(e){var t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("main.js",function(n){var o=n("keycode"),i=t(o);window.___keycode=i["default"],e.staticStyles("Main",{$:"#_flintdevtools .ViewMain"},{$:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:2147483647}}),e.view("Main",function(t,n,o){var i=window.__isDevingDevTools,r=!0;t.render(function(){return t.el(["link",1],{rel:"stylesheet",property:"stylesheet",href:"/__/tools/static/tools.css"})}),t.render(function(){return e.iff(!i)&&t.el(["link",2],{"if":!i,rel:"stylesheet",property:"stylesheet",href:"/__/tools/styles.css"})}),t.render(function(){return t.el(["Errors",1],null)}),t.render(function(){return t.el(["Installer",1],null)}),t.render(function(){return e.iff(r)&&t.el(["Menu",1],{"if":r})}),t.render(function(){return e.iff(r)&&t.el(["Inspector",1],{"if":r})}),t.render(function(){return e.iff(i)&&t.el(["StateTests",1],{"if":i})}),o.$=function(e,t){return{pointerEvents:i?"auto":"none"}}})})}(),function(){e.file("close.js",function(t){e.staticStyles("Close",{$:"#_flintdevtools .ViewClose"},{$:{position:"absolute",right:0,top:0,display:"flex",justifyContent:"center",alignItems:"center",lineHeight:1,opacity:.15,cursor:"pointer",transition:"all ease-in 200ms"}}),e.viewRoots.Close="close",e.view("Close",function(e,t,n){e.render(function(){return e.el(["close",1],{onClick:e.props.onClick},"x")}),n.$=function(t,n){return{fontSize:e.props.fontSize||13,width:e.props.size||50,height:e.props.size||50,":hover":{opacity:.4}}}})})}(),function(){e.file("debounce.js",function(t){var n=function(e,t){return e+t},o=300,i=800,r=5e3,l=1e4,s=1e3;e.view("Debounce",function(e,t,a){var f=void 0,c=void 0,u=void 0,d=void 0,p=void 0,v=void 0,g=!1,m=[];e.pause(),t.props(function(){function t(){e.props.onUpdate&&e.props.onUpdate(),e.update()}if(e.props.force)return e.set("showKey",f=Math.random()),t();if(!e.props.showKey||e.props.showKey!=f){e.set("showKey",f=e.props.showKey),e.set("delay",d=e.props.delay||o),e.set("curDelay",p=p||d);var a=Date.now(),h=u?a-u:r;e.set("lastTime",u=a),e.set("lastFew",m.unshift(h),m,!0),m.length>3&&e.set("lastFew",m.pop(),m,!0),h>l?e.set("lastFew",m=[]):3==m.length&&(e.set("avgDiff",v=m.reduce(n,0)/m.length),e.set("isAutoSaving",g=s>v),e.set("curDelay",p=g?i:d)),clearTimeout(c),e.set("timeout",c=setTimeout(t,p))}})})})}(),function(){e.file("errors.js",function(t){function n(){setTimeout(function(){var e=document.querySelectorAll(".__flintError");e.length&&[].forEach.call(e,function(e){-1==e.className.indexOf("active")&&(e.className+=" active")})},s()?1e3:0)}function o(e){if(e.file&&(e.file=e.file.replace(new RegExp(".*"+window.location.origin+"(/[_]+/)?"),"")),e.file&&e.file.indexOf("internals.js")>=0)if(e.message&&0==e.message.indexOf("Cannot find module")){var t=e.message.match(/(fs|path)/);t&&t.length&&(e.file="imported module:",e.message="Cannot import node-only module: "+t[0])}else e.message="Error in a locally required file. "+e.message;return e.message&&(e.niceMessage=e.message.replace(/Uncaught .*Error:\s*/,"")),e}function i(e){var t=e.msg,n=e.name;return t&&(t=t.replace(/(npm WARN.*\n|ERR\!)/g,"").replace(/npm argv.*\n/g,"").replace(/npm node v.*\n/g,"").replace(/npm npm.*\n/g,"").replace(/npm code.*\n/g,"").replace(/npm peerinvalid /g,"").replace(/npm 404 /g,"")),{msg:t,name:n}}var r=window._DT,l=function(e,t){return[e.substring(0,t),e.substring(t,t+1),e.substring(t+1)]},s=function(){return r.editor&&r.editor.live},a=function(e){return c(p(v(e)))},f=function(e){return e?e.replace(/.*\.js\:/,"").replace(/\([0-9]+\:[0-9]+\)/,"").replace(/Line [0-9]+\:\s*/,""):""},c=function(e){return e.niceMessage=f(e.message,e.fileName),e},u=/\>?\s*([0-9]*)\s*\|(.*)/g,d=/\s*\|\s*\^\s*$/g,p=function(e){return e?(e.stack&&!function(){e.fullStack=["","",""];var t=0;e.stack.split("\n").forEach(function(n){if(!d.test(n)&&u.test(n)){var o=">"===n[0];o&&(t=1),o||1!==t||(t=2);var i=n.replace(u,"$1$2").replace(/^(\s*[0-9]+\s*)[;]/,"$1 ");e.fullStack[t]+=i+"\n"}})}(),e):void 0},v=function(e){return e?(e.stack&&e.stack.split("\n").map(function(t){if(">"===t[0]){var n=t;if(!n)return;n=n.replace(/\>\s*[0-9]+\s*\|\s*/,""),n=f(n);var o=e.loc.column-4;e.niceStack=l(n,o)}}),e):void 0},g=function(){"true"===localStorage.getItem("debugTools")&&console.log.apply(console,arguments)};e.view("Errors",function(e,t,n){function l(){c?e.set("error",f=a(c)):u?e.set("error",f=o(u)):e.set("error",f=null),g("tools: view.update()"),e.update()}function s(){e.set("error",f=null),e.set("compileError",c=null),e.set("runtimeError",u=null),e.set("npmError",d=null),e.update()}e.pause();var f=null,c=null,u=null,d=null;r.on("compile:error",function(){g("compile:error"),e.set("compileError",c=r.data.error),l()}),r.on("runtime:error",function(){e.set("runtimeError",u=r.data),g("runtime:error",u),l()}),r.on("npm:error",function(){e.set("npmError",d=i(r.data.error)),g("npm:error",d),e.update()}),r.on("runtime:success",function(){g("runtime:success"),e.set("runtimeError",u=null),e.set("npmError",d=null),l()}),r.on("compile:success",function(){g("compile:success"),e.set("compileError",c=null),e.set("npmError",d=null),l()}),e.render(function(){return e.el(["ErrorMessage",1],{error:f,npmError:d,close:s})})});var m=0,h=function(e){return e&&e.replace(/[\?\)].*/,"")},_=function(e){return e&&(e.line||e.loc&&e.loc.line)};e.staticStyles("ErrorMessage",{$bar:"#_flintdevtools bar.ErrorMessage, #_flintdevtools .ErrorMessage.bar, #_flintdevtools .ViewErrorMessage.bar, #_flintdevtools .ErrorMessage > .bar",$inner:"#_flintdevtools inner.ErrorMessage, #_flintdevtools .ErrorMessage.inner, #_flintdevtools .ViewErrorMessage.inner, #_flintdevtools .ErrorMessage > .inner",$top:"#_flintdevtools top.ErrorMessage, #_flintdevtools .ErrorMessage.top, #_flintdevtools .ViewErrorMessage.top, #_flintdevtools .ErrorMessage > .top",$where:"#_flintdevtools where.ErrorMessage, #_flintdevtools .ErrorMessage.where, #_flintdevtools .ViewErrorMessage.where, #_flintdevtools .ErrorMessage > .where",$line:"#_flintdevtools line.ErrorMessage, #_flintdevtools .ErrorMessage.line, #_flintdevtools .ViewErrorMessage.line, #_flintdevtools .ErrorMessage > .line",$flint:"#_flintdevtools flint.ErrorMessage, #_flintdevtools .ErrorMessage.flint, #_flintdevtools .ViewErrorMessage.flint, #_flintdevtools .ErrorMessage > .flint",$shortError:"#_flintdevtools shortError.ErrorMessage, #_flintdevtools .ErrorMessage.shortError, #_flintdevtools .ViewErrorMessage.shortError, #_flintdevtools .ErrorMessage > .shortError",$cur:"#_flintdevtools cur.ErrorMessage, #_flintdevtools .ErrorMessage.cur, #_flintdevtools .ViewErrorMessage.cur, #_flintdevtools .ErrorMessage > .cur",$errCol:"#_flintdevtools errCol.ErrorMessage, #_flintdevtools .ErrorMessage.errCol, #_flintdevtools .ViewErrorMessage.errCol, #_flintdevtools .ErrorMessage > .errCol",$ln:"#_flintdevtools ln.ErrorMessage, #_flintdevtools .ErrorMessage.ln, #_flintdevtools .ViewErrorMessage.ln, #_flintdevtools .ErrorMessage > .ln",$flintline:"#_flintdevtools flintline.ErrorMessage, #_flintdevtools .ErrorMessage.flintline, #_flintdevtools .ViewErrorMessage.flintline, #_flintdevtools .ErrorMessage > .flintline"},{$bar:{display:"block",position:"fixed",left:0,transition:"all 200ms ease-in",right:0,fontFamily:'-apple-system, "San Francisco", Roboto, "Segou UI", "Helvetica Neue", Helvetica, Arial, sans-serif',fontWeight:300,color:"#fff",fontSize:"14px",padding:2,pointerEvents:"all",overflow:"scroll",zIndex:2147483647,boxShadow:"0 -6px 12px rgba(0,0,0,0.06)"},$inner:{display:"block",maxHeight:200,overflowY:"scroll"},$top:{padding:8,display:"block"},$where:{display:"inline-block",pointerEvents:"all",fontWeight:300,color:"rgba(255,255,255,0.8)"},$line:{display:"inline-block",whiteSpace:"pre",pointerEvents:"all"},$flint:{display:"inline",fontWeight:700,color:"#fff"},$shortError:{display:"inline",color:"rgba(255,255,255,0.7)"},$cur:{background:"#fff"},$errCol:{display:"inline",borderBottom:"2px solid #f5d64c",padding:3,color:"#fff"},$ln:{padding:[0,20]},$flintline:{whiteSpace:"pre",pointerEvents:"all",fontWeight:"flint"}}),e.view("ErrorMessage",function(t,o,i){t.pause();var l=!1,a={},f=void 0,c=void 0,u=_(t.props.error),d=void 0;o.props(function(){d&&d(),t.set("npmError",f=t.props.npmError),t.set("hasError",l=!(!t.props.error&&!t.props.npmError)),t.set("error",a=t.props.error||a),t.set("line",u=_(a)),t.set("fullStack",c=null),t.update(),a&&t.set("clearDelay",d=o.delay(2500,function(){l&&a.fullStack&&(t.set("fullStack",c=a.fullStack),t.update())}))}),r.emitter.on("editor:state",function(){return setTimeout(t.update)}),t.render(function(){return t.el(["Debounce",1],{delay:s()?2e3:1e3,force:l===!1,showKey:c||a&&a.message,onUpdate:n},t.el(["bar",1],null,t.el(["Close",1],{onClick:t.props.close,size:35}),e.iff(f)&&t.el(["inner",1],{"if":f},t.el(["where",1],null,t.el(["flint",1],null,f.name))," ",f.msg),t.el(["inner",2],null,t.el(["top",1],null,t.el(["where",2],null,t.el(["span",1],null,"In ",t.el(["flint",2],null,h(a.file))),t.el(["line",1],null,u?" line":""," ",e.iff(u)&&t.el(["flint",3],{"if":u},u-m)))," ",t.el(["shortError",1],null,(a.niceMessage||a.message||"").trim(),e.iff(a.niceStack)&&t.el(["niceStack",1],{"if":a.niceStack},a.niceStack[0],t.el(["errCol",1],null,a.niceStack[1]),a.niceStack[2])),e.iff(a.help)&&t.el(["help",1],{"if":a.help},a.help)),e.iff(c)&&t.el(["fullStack",1],{"if":c},t.el(["ln",1],null,""+c[0]),t.el(["ln",2],{className:"cur"},""+c[1]),t.el(["ln",3],null,""+c[2])))))});var p="#cd423e";i.bar=function(e,t){return{background:p,bottom:l?0:-100}};var v={color:"rgba(255,255,255,0.85)",display:"inline",fontFamily:"Meslo, Menlo, Monaco, monospace",padding:[0,5]};i.niceStack=function(e,t){return v},i.errCol=function(e,t){return{margin:-3}},i.fullStack=function(e,t){return[v,{maxHeight:c?600:0,padding:c?[10,0]:0,transition:"maxHeight ease-in 300ms",color:"rgba(0,0,0,0.85)",background:"rgba(255,255,255,0.9)",display:"block",whiteSpace:"pre",fontSize:14,borderRadius:3,margin:2}]}}),e.staticStyles("ErrorIcon",{$svg:"#_flintdevtools svg.ErrorIcon, #_flintdevtools .ErrorIcon.svg, #_flintdevtools .ViewErrorIcon.svg, #_flintdevtools .ErrorIcon > .svg"},{$svg:{width:19,fill:"red",marginLeft:3,marginRight:6,opacity:.9}}),e.view("ErrorIcon",function(e,t,n){e.render(function(){return e.el(["svg",1],{viewBox:"0 0 27.963 27.963"},e.el(["path",1],{d:"M13.983,0C6.261,0,0.001,6.259,0.001,13.979c0,7.724,6.26,13.984,13.982,13.984s13.98-6.261,13.98-13.984 C27.963,6.259,21.705,0,13.983,0z M13.983,26.531c-6.933,0-12.55-5.62-12.55-12.553c0-6.93,5.617-12.548,12.55-12.548 c6.931,0,12.549,5.618,12.549,12.548C26.531,20.911,20.913,26.531,13.983,26.531z"}),e.el(["polygon",1],{points:"15.579,17.158 16.191,4.579 11.804,4.579 12.414,17.158"}),e.el(["path",2],{d:"M13.998,18.546c-1.471,0-2.5,1.029-2.5,2.526c0,1.443,0.999,2.528,2.444,2.528h0.056c1.499,0,2.469-1.085,2.469-2.528 C16.441,19.575,15.468,18.546,13.998,18.546z"}))}),n.svg=function(e,t){return{margin:-4}}})})}();var n=require("babel-runtime/helpers/extends")["default"],o=require("babel-runtime/helpers/to-array")["default"],i=require("babel-runtime/helpers/sliced-to-array")["default"],t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector.js",function(r){function l(e){var t=e.getBoundingClientRect(),n=window.innerWidth,o=window.innerHeight,i=V(t.right-t.left),r=V(t.bottom-t.top),l=1;i>=n&&r>=o&&(l=.2),$.setAttribute("style","\n top: "+V(t.top)+"px;\n left: "+V(t.left)+"px;\n width: "+i+"px;\n height: "+r+"px;\n opacity: "+l+";\n ")}function s(){$.setAttribute("style","")}function a(e){if(!e||!e.getAttribute)return null;var t=e.__flintID;return t?(l(e),t):a(e.parentNode)}function f(e,t){return e.filter(function(e){return e.path==t}).length>0}function c(e){return e.filter(function(e){return!e.temp}).map(function(e){return n({},e,{highlight:!1})})}function u(e,t){return[{path:t,highlight:!1,temp:!0}].concat(e)}function d(e,t){return e.map(function(e){return e.path==t&&(e.closing=!0),e})}function p(e,t){return e.map(function(e){return e.path==t&&(e.highlight=!0),e})}function v(e,t){if(f(e,t))return e.map(function(e){return e.path==t&&(e.temp=!0),e});var n={temp:!1,highlight:!1,closing:!1,path:t};return[].concat([n],e)}function g(){return window._Flint}function m(e,t){var n=g(),o=n.getCache[e];t.reduce(function(e,t){if("root"==t)return e;if(!Array.isArray(t))return e[t];var n=i(t,2),o=n[0],r=n[1],l=e[o];"number"==typeof l&&(r=+r),e[o]=r},o),n.inspectorRefreshing=e,n.getInitialStates[e](),n.viewsAtPath[e].forceUpdate(),n.inspectorRefreshing=null}var h=r("./keys"),_=r("./lib/inspecting"),w=t(_),b=r("lodash"),y=function(e){var t=o(e),n=(t[0],t.slice(1));return n},V=Math.round,$=void 0;e.staticStyles("Inspector",{$:"#_flintdevtools .ViewInspector"},{$:{position:"fixed",top:0,right:0,padding:2}}),e.view("Inspector",function(t,o,i){function r(e){g().isInspecting=!0;var n=a(e);t.set("views",T=c(T)),t.set("views",T=f(T,n)?p(T,n):u(T,n))}function l(e){var n=e.target;if(C!=n){if(n.classList.contains("internal"))return;t.set("lastTarget",C=n),w["default"].set(n),L&&r(C)}}function _(){T.length&&t.set("views",T=y(T))}function V(e,n){n&&n.stopPropagation(),t.set("views",T=d(T,e)),o.delay(200,function(){t.set("views",T=T.filter(function(t){return e!=t.path}))})}function M(e){return t.set("views",T=v(c(T),a(e.target))),!1}function E(){r(C),t.set("hudActive",L=!0),t.set("clickOff",S=o.click(window,M))}function I(){g().isInspecting=!1,t.set("hudActive",L=!1),s(),S&&S(),t.set("views",T=c(T))}function k(e,n){m(e,n),t.update()}var S=void 0,x=void 0,C=void 0,L=!1,T=[];o.mount(function(){t.set("hoverOff",x=o.mousemove(window,(0,b.throttle)(l,40))),$||($=document.createElement("div"),$.className="_flintHighlighter",document.body.appendChild($))}),(0,h.onKeyDown)("esc",_);var F=void 0;(0,h.onKey)("alt",function(e){e?t.set("offAlt",F=o.delay(180,function(){h.keys.alt&&!h.keys.command&&E()})):(F&&F(),I())}),t.render(function(){return e.range(T).map(function(e,o){return t.el(["Inspector.View",1,e,o],n({repeat:T,key:e.path},e,{writeBack:k,onClose:function(t){return V(e.path,t)}}))})})})})}();var t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("menu.js",function(n){var o=n("./keys"),i=n("./lib/inspecting"),r=t(i),l=_DT,s=l.messageEditor;e.staticStyles("Menu",{$menu:"#_flintdevtools .ViewMenu",$active:"#_flintdevtools active.Menu, #_flintdevtools .Menu.active, #_flintdevtools .ViewMenu.active, #_flintdevtools .Menu > .active",$item:"#_flintdevtools item.Menu, #_flintdevtools .Menu.item, #_flintdevtools .ViewMenu.item, #_flintdevtools .Menu > .item",$first:"#_flintdevtools first.Menu, #_flintdevtools .Menu.first, #_flintdevtools .ViewMenu.first, #_flintdevtools .Menu > .first",$last:"#_flintdevtools last.Menu, #_flintdevtools .Menu.last, #_flintdevtools .ViewMenu.last, #_flintdevtools .Menu > .last",$hl:"#_flintdevtools hl.Menu, #_flintdevtools .Menu.hl, #_flintdevtools .ViewMenu.hl, #_flintdevtools .Menu > .hl",$main:"#_flintdevtools main.Menu, #_flintdevtools .Menu.main, #_flintdevtools .ViewMenu.main, #_flintdevtools .Menu > .main"},{$menu:{border:"1px solid #ddd",boxShadow:"0 0 10px rgba(0,0,0,0.2)",position:"absolute",background:"#fff",zIndex:2147483647,transition:"opacity ease-in 30ms, transform ease-in 30ms",opacity:0,pointerEvents:"none",padding:0},$active:{pointerEvents:"auto",opacity:1},$item:{minWidth:120,cursor:"pointer",flexFlow:"row"},$first:{overflow:"hidden"},$last:{overflow:"hidden"},$hl:{padding:[4,8]},$main:{flexGrow:1}}),e.viewRoots.Menu="menu",e.view("Menu",function(t,n,i){function l(e){return function(){s({type:"focus:element",key:e.key,view:e.view})}}function a(e){return function(){s({type:"focus:style",el:e.el,view:e.view})}}var f=!1,c=void 0,u=void 0,d=[],p=void 0;n.keydown(function(){o.keys.alt&&o.keys.command&&(document.body.classList.add("__flintfocus"),t.set("focused",p=!0))}),n.keyup(function(){p&&(document.body.classList.remove("__flintfocus"),t.set("focused",p=!1))}),n.click(window,function(e){if(f)return e.stopPropagation(),e.preventDefault(),void t.set("active",f=!1);var n=o.keys.alt&&o.keys.command;if(n){e.preventDefault();var i=e.clientX,l=e.clientY;t.set("left",u=i),t.set("top",c=l),t.set("active",f=!0),t.set("elements",d=r["default"].all())}}),t.render(function(){return t.el(["menu",1],{className:{internal:!0,active:f}},e.range(d.filter(function(e){return!!e.view})).map(function(e,n){return t.el(["item",1,e,n],{repeat:d.filter(function(e){return!!e.view}),className:{first:0==n,last:n==d.length-1}},t.el(["main",1,e,n],{className:"hl",onClick:l(e)},e.view),t.el(["sub",1,e,n],{className:"hl",onClick:a(e)},"$"))}))});var v=5;i.menu=function(e,t){return{borderRadius:v,top:c,left:u,transform:{y:-10}}},i.active=function(e,t){return{transform:{y:0}}},i.first=function(e,t){return{borderTopLeftRadius:v,borderTopRightRadius:v}},i.last=function(e,t){return{borderBottomLeftRadius:v,borderBottomRightRadius:v}},i.hl=function(e,t){return{hover:{background:[0,0,0,.1]}}}})})}(),function(){e.file("modal.js",function(t){e.staticStyles("FlintModal",{$:"#_flintdevtools .ViewFlintModal",$title:"#_flintdevtools title.FlintModal, #_flintdevtools .FlintModal.title, #_flintdevtools .ViewFlintModal.title, #_flintdevtools .FlintModal > .title",$message:"#_flintdevtools message.FlintModal, #_flintdevtools .FlintModal.message, #_flintdevtools .ViewFlintModal.message, #_flintdevtools .FlintModal > .message"},{$:{position:"fixed",right:0,minWidth:80,padding:[7,5],margin:20,background:"#fff",boxShadow:"0 5px 26px rgba(0,0,0,0.13)",border:"1px solid #dadada",fontSize:14,transition:"all ease-in 200ms",textAlign:"center",borderRadius:6,pointerEvents:"auto"},$title:{fontWeight:500,fontSize:15,margin:[0,20]},$message:{fontFamily:"-apple-system, 'Helvetica Nueue', Helvetica, Arial, sans-serif"}}),e.view("FlintModal",function(t,n,o){function i(){return t.set("open",s=t.props.open),l&&!t.props.title?t.update():(t.set("title",l=t.props.title),t.set("children",r=t.props.children),void t.update())}t.pause();var r=void 0,l=void 0,s=void 0;n.props(i),t.render(function(){return t.el(["Close",1],{size:25})}),t.render(function(){return e.iff(l)&&t.el(["title",1],{"if":l},l)}),t.render(function(){return e.iff(r)&&t.el(["message",1],{"if":r},r)}),o.$=function(e,t){return{top:s?0:-140}},o.title=function(e,n){return{color:t.props.titleColor||"#222"}}})})}();var r=require("babel-runtime/core-js/object/keys")["default"];!function(){e.file("inspector/highlighter.js",function(t){e.view("Highlighter",function(t,n,o){t.render(function(){return e.iff(!t.props.highlight||-1===t.props.string.indexOf(t.props.highlight))&&t.el(["name",1],{"if":!t.props.highlight||-1===t.props.string.indexOf(t.props.highlight)},t.props.string)}),t.render(function(){return e.iff(t.props.highlight)&&t.el(["span",1],{"if":t.props.highlight},e.range(t.props.string.split()).map(function(n,o){return t.el(["span",2,n,o],{repeat:t.props.string.split()},e.iff(o>0)&&t.el(["highlight",1,n,o],{"if":o>0},t.props.highlight),n)}))})})})}();var n=require("babel-runtime/helpers/extends")["default"];!function(){e.file("inspector/label.js",function(t){var o=t("lodash");e.staticStyles("Label",{$input:"#_flintdevtools input.Label, #_flintdevtools .Label.input, #_flintdevtools .ViewLabel.input, #_flintdevtools .Label > .input",$focus:"#_flintdevtools focus.Label, #_flintdevtools .Label.focus, #_flintdevtools .ViewLabel.focus, #_flintdevtools .Label > .focus"},{$input:{position:"absolute",top:0,right:0,color:"#333",padding:1,width:140,outline:"none",border:"none",opacity:0,boxShadow:"1px 1px 2px rgba(0,0,0,0.4)"},$focus:{opacity:"1 !important"}}),e.view("Label",function(e,t,i){var r=e.prop("val",void 0),l=e.prop("editable",void 0),s=e.prop("onSet",void 0);t.props(function(){r=e.getProp("val"),l=e.getProp("editable"),s=e.getProp("onSet")});var a=void 0,f=void 0;t.props(function(){a||e.set("newVal",f=r)});var c=function(t){if(l){if((0,o.isBoolean)(r))return s(!r);e.set("focus",a=!0),t.stopPropagation()}},u=function(t){e.set("focus",a=!1)},d=function(t){e.set("newVal",f=t.target.value),e.update({immediate:!0}),(!(0,o.isNumber)(r)||""!==f&&!isNaN(f))&&("false"===f&&e.set("newVal",f=!1),"true"===f&&e.set("newVal",f=!0),s(f))},p=function(e){return e?{}:{tabIndex:5e3,disabled:!0}};e.render(function(){return e.el(["input",1],n({defaultValue:r.toString(),value:f,className:{focus:a},size:Math.max(4,r&&r.length||0),spellCheck:!1,onMouseDown:c,onFocus:c,onEnter:u},p(l),{onFocus:c,onBlur:u,onChange:d}))}),i.input=function(e,t){return{left:-1,cursor:(0,o.isBoolean)(r)?"pointer":"auto"}}})})}();var r=require("babel-runtime/core-js/object/keys")["default"],t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/leaf.js",function(n){var o=n("md5-o-matic"),i=t(o),l=n("../lib/getType"),s=t(l),a=n("ellipsize"),f=t(a),c=".root.",u=function(e,t){return-1!==e.indexOf(t)},d=function(e){return"Object"!==(0,s["default"])(e)&&"Array"!==(0,s["default"])(e)},p=function(){};e.staticStyles("Leaf",{$leaf:"#_flintdevtools .ViewLeaf",$helper:"#_flintdevtools helper.Leaf, #_flintdevtools .Leaf.helper, #_flintdevtools .ViewLeaf.helper, #_flintdevtools .Leaf > .helper",$boolean:"#_flintdevtools boolean.Leaf, #_flintdevtools .Leaf.boolean, #_flintdevtools .ViewLeaf.boolean, #_flintdevtools .Leaf > .boolean",$number:"#_flintdevtools number.Leaf, #_flintdevtools .Leaf.number, #_flintdevtools .ViewLeaf.number, #_flintdevtools .Leaf > .number",$string:"#_flintdevtools string.Leaf, #_flintdevtools .Leaf.string, #_flintdevtools .ViewLeaf.string, #_flintdevtools .Leaf > .string",$function:"#_flintdevtools function.Leaf, #_flintdevtools .Leaf.function, #_flintdevtools .ViewLeaf.function, #_flintdevtools .Leaf > .function",$colon:"#_flintdevtools colon.Leaf, #_flintdevtools .Leaf.colon, #_flintdevtools .ViewLeaf.colon, #_flintdevtools .Leaf > .colon",$name:"#_flintdevtools name.Leaf, #_flintdevtools .Leaf.name, #_flintdevtools .ViewLeaf.name, #_flintdevtools .Leaf > .name",$children:"#_flintdevtools children.Leaf, #_flintdevtools .Leaf.children, #_flintdevtools .ViewLeaf.children, #_flintdevtools .Leaf > .children",$type:"#_flintdevtools type.Leaf, #_flintdevtools .Leaf.type, #_flintdevtools .ViewLeaf.type, #_flintdevtools .Leaf > .type"},{$leaf:{padding:[1,0],fontSize:13},$helper:{color:"#ffff05"},$boolean:{color:"#32a3cd",fontWeight:700},$number:{color:"#b92222",marginTop:2,fontWeight:500},$string:{color:"#698c17"},$function:{marginLeft:10,marginTop:2,color:"#962eba"},$colon:{opacity:.3,color:"#000"},$name:{color:"#ff2f2f",fontWeight:400,margin:["auto",0]},$children:{paddingLeft:10},$type:{margin:[1,0,0,8],opacity:.7,flexFlow:"row"}}),e.viewRoots.Leaf="leaf",e.view("Leaf",function(t,n,o){function l(e){t.props.root||t.set("expanded",x=!x),t.update(),V(E),e.stopPropagation()}var a=t.prop("isExpanded",void 0),v=t.prop("data",void 0),g=t.prop("prefix",void 0),m=t.prop("query",void 0),h=t.prop("label",void 0),_=t.prop("id",void 0),w=t.prop("editable",void 0);n.props(function(){a=t.getProp("isExpanded"),v=t.getProp("data"),g=t.getProp("prefix"),m=t.getProp("query"),h=t.getProp("label"),_=t.getProp("id"),w=t.getProp("editable")});var b=t.prop("getOriginal",p),y=t.prop("onSet",p),V=t.prop("onClick",p);n.props(function(){b=t.getProp("getOriginal"),y=t.getProp("onSet"),V=t.getProp("onClick")}),t.pause();var $=void 0,M=void 0,E=void 0,I=void 0,k=void 0,S=void 0,x=void 0,C=[],L="",T=function(){return t.props.root||!L&&a(M,v)||!u(M,L)&&"function"==typeof b};n.props(function(){t.set("rootPath",$=g+"."+h),t.set("key",k=h.toString()),t.set("path",M=$.substr(c.length)),t.set("_data",E=v),"string"==typeof E&&E.indexOf("\n")>-1&&t.set("_data",E=E.split("\n")),E&&t.set("dataKeys",C=r(E).sort()),void 0===E&&t.set("_data",E=v),void 0===E&&t.set("_data",E={}),t.set("type",I=(0,s["default"])(E)),t.set("_query",L=m||""),t.props.root?t.set("expanded",x=!0):L&&t.set("expanded",x=!u(h,L)),m&&!L&&t.set("expanded",x=T()),t.update()});var F=function(e,t){return d(t)?e+":"+(0,i["default"])(String(e)):e+"["+(0,s["default"])(t)+"]"},j=function(e){return t.el(["Highlighter",1],{string:e,highlight:L})},q=function(e){return e.toString().replace(/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/gm,"").match(/^function\s*[^\(]*\(\s*([^\)]*)\)/m)[1].split(/,/)},z=function(e,n,o,i){return t.el(["Label",1],{val:n,editable:i,onSet:function(e){return y([o,e])}})};t.render(function(){return t.el(["leaf",1],{className:$},e.iff(!t.props.root)&&t.el(["label",1],{"if":!t.props.root,htmlFor:_,onClick:l},t.el(["key",1],null,t.el(["name",1],null,j(k)),z("key",k,k,!1)),t.el(["colon",1],null,":"),e.iff("Function"==I)&&t.el(["expand",1],{className:"function","if":"Function"==I},t.el(["i",1],null,"fn (",q(E).join(", "),")")),e.iff("Array"==I)&&t.el(["expand",2],{"if":"Array"==I},t.el(["type",1],null,"Array[",E.length,"]")),e.iff("Object"==I)&&t.el(["expand",3],{"if":"Object"==I},t.el(["type",2],null,"{} "+C.length+" keys")),e.iff(-1==["Array","Object","Function"].indexOf(I))&&t.el(["value",1],{"if":-1==["Array","Object","Function"].indexOf(I),className:I.toLowerCase()},e.iff("string"==I.toLowerCase())&&t.el(["str",1],{"if":"string"==I.toLowerCase()},j((0,f["default"])(String(E),25))),e.iff("string"!=I.toLowerCase())&&t.el(["else",1],{"if":"string"!=I.toLowerCase()},j(String(E))),z("val",E,k,w))),t.el(["children",1],null,e.iff(x&&!d(E))&&e.range(C).map(function(n,o){return t.el(["child",1,n,o],{"if":x&&!d(E),repeat:C},e.iff(-1==n.indexOf("__"))&&t.el(["Leaf",1,n,o],{"if":-1==n.indexOf("__"),key:F(n,E[n]),onSet:function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return y.apply(void 0,[k].concat(t))},data:E[n],editable:w,label:n,prefix:$,onClick:V,id:_,query:L,getOriginal:S?null:b,isExpanded:a}))})))});var R={flexFlow:"row"};o.label=function(e,t){return[R,{position:"relative",color:"rgba(0,0,0,0.8)",opacity:1,alignItems:"baseline"}]},o.key=function(e,t){return[R,{color:"rgba(0,0,0,0.9)",margin:[0],fontWeight:"bold"}]},o.expand=function(e,t){return[R,{}]},o.value=function(e,t){return[R,{position:"relative",margin:[0,4,0]}]}})})}(),function(){e.file("inspector/section.js",function(t){e.staticStyles("Inspector.Section",{$:"#_flintdevtools .ViewInspector-Section",$body:"#_flintdevtools body.Inspector-Section, #_flintdevtools .Inspector-Section.body, #_flintdevtools .ViewInspector-Section.body, #_flintdevtools .Inspector-Section > .body",$inactive:"#_flintdevtools inactive.Inspector-Section, #_flintdevtools .Inspector-Section.inactive, #_flintdevtools .ViewInspector-Section.inactive, #_flintdevtools .Inspector-Section > .inactive"},{$:{padding:[5,0]},$body:{padding:[0,12]},$inactive:{display:"none"}}),e.view("Inspector.Section",function(e,t,n){var o=!0;e.render(function(){return e.el(["Inspector.Title",1],{onToggle:function(t){return e.set("open",o=t)}},e.props.title)}),e.render(function(){return e.el(["body",1],null,e.props.children)})})})}();var n=require("babel-runtime/helpers/extends")["default"],t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/statetests.js",function(o){var i=o("mouse-event-offset"),r=t(i);e.view("StateTests",function(e,t,n){e.render(function(){return e.el(["Tests.Name",1],null)}),e.render(function(){return e.el(["Tests.Boolean",1],null)}),e.render(function(){return e.el(["Tests.Counter",1],null)}),e.render(function(){return e.el(["Tests.Circles",1],null)})}),e.view("Tests.Boolean",function(e,t,n){var o=!1;e.render(function(){return e.el(["h1",1],null,"is tupac dead? ",o.toString())}),e.render(function(){return e.el(["button",1],{onClick:function(){return e.set("dead",o=!o)}},"toggle")})}),e.view("Tests.Counter",function(e,t,n){var o=0;e.render(function(){return e.el(["h1",1],null,"count is ",o)}),e.render(function(){return e.el(["button",1],{onClick:function(){return e.set("count",o++,o,!0)}},"up")}),e.render(function(){return e.el(["button",2],{onClick:function(){return e.set("count",o--,o,!0)}},"down")})}),e.view("Tests.Deep",function(e,t,n){var o={name:"nick",tools:["js","juggling balls","coffee"]};e.render(function(){return e.el(["h1",1],null,"deep")}),e.render(function(){return e.el(["h2",1],null,JSON.stringify(o))})}),e.view("Tests.Name",function(e,t,n){var o="nick",i="cammarata";e.render(function(){return e.el(["h2",1],null,"name is ",o," ",i)}),e.render(function(){return e.el(["input",1],{__flintValue:o,__flintOnChange:function(t){e.setImmediate("first",o=t.target.value)}})}),e.render(function(){return e.el(["input",2],{__flintValue:i,__flintOnChange:function(t){e.setImmediate("last",i=t.target.value)}})}),e.render(function(){return e.el(["button",1],{onClick:function(){e.set("first",o="nate"),e.set("last",i="wienert")}},"nateify")})}),e.staticStyles("Tests.Circles",{$circles:"#_flintdevtools circles.Tests-Circles, #_flintdevtools .Tests-Circles.circles, #_flintdevtools .ViewTests-Circles.circles, #_flintdevtools .Tests-Circles > .circles"},{$circles:{position:"relative",background:"#eee",height:400,width:400}}),e.view("Tests.Circles",function(t,n,o){function i(e){t.set("coords",l.push((0,r["default"])(e)),l,!0)}var l=[[200,200]];t.render(function(){return t.el(["circles",1],{onClick:i},e.range(l).map(function(e,n){return t.el(["Tests.Circle",1,e,n],{repeat:l,key:""+e[0]+e[1],left:e[0],top:e[1]})}))})}),e.view("Tests.Circle",function(e,t,o){var i=function(){return Math.round(255*Math.random())},r={background:[i(),i(),i()],position:"absolute",top:e.props.top,left:e.props.left,width:118,height:29,borderRadius:27},l=function(e){return n({},r,{transform:{scale:e}})};e.render(function(){return e.el(["circle",1],{style:l(1)})})})})}(),function(){e.file("inspector/title.js",function(t){e.staticStyles("Inspector.Title",{$title:"#_flintdevtools title.Inspector-Title, #_flintdevtools .Inspector-Title.title, #_flintdevtools .ViewInspector-Title.title, #_flintdevtools .Inspector-Title > .title",$closed:"#_flintdevtools closed.Inspector-Title, #_flintdevtools .Inspector-Title.closed, #_flintdevtools .ViewInspector-Title.closed, #_flintdevtools .Inspector-Title > .closed",$inner:"#_flintdevtools inner.Inspector-Title, #_flintdevtools .Inspector-Title.inner, #_flintdevtools .ViewInspector-Title.inner, #_flintdevtools .Inspector-Title > .inner"},{$title:{fontWeight:300,borderBottom:"1px solid #eee",height:10,margin:[5,5,8],color:"#999",flexFlow:"row"},$closed:{marginTop:1},$inner:{padding:[4,10],background:"#fff"}}),e.view("Inspector.Title",function(e,t,n){function o(){e.props.onToggle&&(e.set("open",i=!i),e.props.onToggle(i))}var i=!0;e.render(function(){return e.el(["title",1],{onClick:o},e.el(["inner",1],null,e.props.children))}),n.closed=function(e,t){return{transform:{scale:.8}}},n.inner=function(e,t){return{margin:[-2,"auto"]}}})})}();var t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/tree.js",function(n){var o=n("../lib/lens"),i=t(o);e.staticStyles("Tree",{$:"#_flintdevtools .ViewTree"},{$:{pointerEvents:"auto"}}),e.viewRoots.Tree="Leaf",e.view("Tree",function(e,t,n){var o="",r=function(t){return(0,i["default"])(e.props.data,t)};e.render(function(){return e.el(["Leaf",1],{data:e.props.data,onClick:e.props.onClick,id:e.props.id,getOriginal:r,query:o,label:"root",editable:e.props.editable,root:!0,validateQuery:function(e){return e.length>=2},isExpanded:e.props.isExpanded||function(){return!1},interactiveLabel:e.props.interactiveLabel,onSet:function(){for(var t=arguments.length,n=Array(t),o=0;t>o;o++)n[o]=arguments[o];return e.props.onSet(n)}})}),n.$=function(e,t){return{marginLeft:-10}}})})}();var r=require("babel-runtime/core-js/object/keys")["default"],t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/view.js",function(n){function o(e){console.log("path is",e);var t=e.split(",");return t[t.length-1].split("-")[0]}function i(e){var t=["if","repeat","style","yield","__flint"];
return s.omit.apply(null,[e].concat(t))}var l=n("clone"),s=(t(l),n("lodash"));e.staticStyles("Inspector.View",{$view:"#_flintdevtools view.Inspector-View, #_flintdevtools .Inspector-View.view, #_flintdevtools .ViewInspector-View.view, #_flintdevtools .Inspector-View > .view",$top:"#_flintdevtools top.Inspector-View, #_flintdevtools .Inspector-View.top, #_flintdevtools .ViewInspector-View.top, #_flintdevtools .Inspector-View > .top",$active:"#_flintdevtools active.Inspector-View, #_flintdevtools .Inspector-View.active, #_flintdevtools .ViewInspector-View.active, #_flintdevtools .Inspector-View > .active",$highlight:"#_flintdevtools highlight.Inspector-View, #_flintdevtools .Inspector-View.highlight, #_flintdevtools .ViewInspector-View.highlight, #_flintdevtools .Inspector-View > .highlight",$Close:"#_flintdevtools .ViewInspector-View .ViewClose",$name:"#_flintdevtools name.Inspector-View, #_flintdevtools .Inspector-View.name, #_flintdevtools .ViewInspector-View.name, #_flintdevtools .Inspector-View > .name",$edit:"#_flintdevtools edit.Inspector-View, #_flintdevtools .Inspector-View.edit, #_flintdevtools .ViewInspector-View.edit, #_flintdevtools .Inspector-View > .edit",$expanded:"#_flintdevtools expanded.Inspector-View, #_flintdevtools .Inspector-View.expanded, #_flintdevtools .ViewInspector-View.expanded, #_flintdevtools .Inspector-View > .expanded",$input:"#_flintdevtools input.Inspector-View, #_flintdevtools .Inspector-View.input, #_flintdevtools .ViewInspector-View.input, #_flintdevtools .Inspector-View > .input",$title:"#_flintdevtools title.Inspector-View, #_flintdevtools .Inspector-View.title, #_flintdevtools .ViewInspector-View.title, #_flintdevtools .Inspector-View > .title",$section:"#_flintdevtools section.Inspector-View, #_flintdevtools .Inspector-View.section, #_flintdevtools .ViewInspector-View.section, #_flintdevtools .Inspector-View > .section"},{$view:{position:"relative",pointerEvents:"auto",margin:10,marginBottom:0,padding:[0,0,1],minWidth:220,minHeight:34,fontSize:12,userSelect:"none",cursor:"default",background:"#fff",boxShadow:"0px 2px 16px rgba(0,0,0,0.2)",border:"1px solid #ccc",borderRadius:5,color:"#333",transition:"all ease-in 60ms",opacity:0},$top:{flexFlow:"row"},$active:{opacity:1},$highlight:{border:"2px solid #afb4e2"},$Close:{fontSize:13},$name:{fontWeight:400,color:"rgba(0,0,0,0.8)",padding:[8,8,0],fontSize:14},$edit:{padding:[8,8,0],fontSize:14,marginLeft:4,fontWeight:400,color:"rgba(24, 101, 227, 0.8)"},$expanded:{},$input:{borderRadius:100,border:"1px solid #ccc",width:"100%",padding:[2,12],color:"#333",fontSize:14},$title:{display:"none",color:"#333",fontWeight:200,fontSize:12,margin:[3,0]},$section:{background:[0,0,0,.05]}}),e.view("Inspector.View",function(t,n,l){function s(e){t.props.writeBack(c,e)}var a=window.Flint.inspect,f=void 0,c=void 0,u=void 0,d=void 0,p=!1,v={},g=null,m=null;n.delay(60,function(){t.set("active",p=!0)}),n.unmount(function(){delete window._Flint.inspector[t.props.path]}),n.props(function(){t.set("highlight",d=t.props.highlight),t.set("closing",u=t.props.closing),t.set("path",c=t.props.path),u===!0&&t.set("active",p=!1),c&&(t.set("name",f=o(c)),_Flint.inspector[t.props.path]||a(c,function(e,n,o){t.set("props",g=i(e||{})),t.set("state",v=n||{}),t.set("writeBack",m=o),t.update()}))});var h=function(e){return e&&r(e).length>0},_=function(){return _DT.messageEditor({type:"focus:element",view:f})};t.render(function(){return t.el(["view",1],{className:{active:p,highlight:d}},t.el(["Close",1],{onClick:t.props.onClose,fontSize:20,size:35}),t.el(["top",1],null,t.el(["name",1],null,f),e.iff(!1)&&t.el(["edit",1],{"if":!1,onClick:_},"edit")),e.iff(h(g))&&t.el(["Inspector.Section",1],{title:"Props","if":h(g),className:"props"},t.el(["Tree",1],{editable:!1,data:g})),e.iff(h(v))&&t.el(["Inspector.Section",2],{title:"State","if":h(v)},t.el(["Tree",2],{editable:!0,onSet:s,data:v})))}),l.view=function(e,t){return{transform:{x:20}}},l.active=function(e,t){return{transform:{x:0}}},l.Close=function(e,t){return{top:-5,right:-5}},l.name=function(e,t){return{margin:[0,0,-6]}},l.edit=function(e,t){return{margin:[0,0,-6]}},l.expanded=function(e,t){return{transform:{y:0}}}})})}(),function(){e.file("npm/installer.js",function(t){var n=window._DT;e.view("Installer",function(t,o,i){var r="",l=[],s="",a="",f=0;n.on("package:install",function(){t.set("state",f=1),t.set("name",s=n.data.name)}),n.on("package:installed",function(){t.set("state",f=2),setTimeout(function(){return t.set("state",f=0)},2e3)}),n.on("package:error",function(){t.set("state",f=3),t.set("name",s=n.data.name),t.set("error",a=n.data.error),setTimeout(function(){return t.set("state",f=0)},2e3)}),n.on("package:select",function(){t.set("state",f=4),t.set("versions",l=n.data.versions)});var c=function(e){t.set("version",r=e),n.data.version=e,n.emitter.emit("package:select"),t.set("state",f=1)},u=function(){return t.set("state",f=0)},d=function(e){switch(e){case 1:return"Installing "+s+(r?" "+r:"")+"...";case 2:return"Installed "+s+"!";case 3:return"Error: "+s;case 4:return"Select version"}},p=function(e){switch(e){case 1:return null;case 2:return null;case 3:return a;case 4:return t.el(["Versions",1],{versions:l,onSelect:c})}};t.render(function(){return t.el(["FlintModal",1],{open:f>0,onClose:u,title:d(f),titleColor:3==f?"#8c1919":"#0f8c3c"},e.iff(!1)&&t.el(["InstallerLoading",1],{"if":!1}),p(f))})}),e.staticStyles("Versions",{$version:"#_flintdevtools version.Versions, #_flintdevtools .Versions.version, #_flintdevtools .ViewVersions.version, #_flintdevtools .Versions > .version",$inner:"#_flintdevtools inner.Versions, #_flintdevtools .Versions.inner, #_flintdevtools .ViewVersions.inner, #_flintdevtools .Versions > .inner",$v:"#_flintdevtools v.Versions, #_flintdevtools .Versions.v, #_flintdevtools .ViewVersions.v, #_flintdevtools .Versions > .v",$info:"#_flintdevtools info.Versions, #_flintdevtools .Versions.info, #_flintdevtools .ViewVersions.info, #_flintdevtools .Versions > .info"},{$version:{textAlign:"left",padding:[2,4],borderRadius:2},$inner:{flexFlow:"row"},$v:{flexGrow:1,fontWeight:"bold"},$info:{}}),e.view("Versions",function(t,n,o){t.render(function(){return e.range(t.props.versions).map(function(e,n){return t.el(["version",1,e,n],{repeat:t.props.versions,onClick:function(){return t.props.onSelect(e)}},t.el(["inner",1,e,n],null,t.el(["v",1,e,n],{key:"v"+n},e.version),t.el(["info",1,e,n],null,e.description),t.el(["a",1,e,n],{href:e.homepage,target:"_blank"},"Info")))})}),o.v=function(e,t){return{":hover":{background:"#fff",cursor:"pointer"}}}})})}(),e.start()}(e)};
exports.flinttools=function(e,t){!function(e){var t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("main.js",function(n){var o=n("keycode"),i=t(o);window.___keycode=i["default"],e.staticStyles("Main",{$:"#_flintdevtools .ViewMain"},{$:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:2147483647}}),e.view("Main",function(t,n,o){var i=window.__isDevingDevTools,r=!0;t.render(function(){return t.el(["link",1],{rel:"stylesheet",property:"stylesheet",href:"/__/tools/static/tools.css"})}),t.render(function(){return e.iff(!i)&&t.el(["link",2],{"if":!i,rel:"stylesheet",property:"stylesheet",href:"/__/tools/styles.css"})}),t.render(function(){return t.el(["Errors",1],null)}),t.render(function(){return t.el(["Installer",1],null)}),t.render(function(){return e.iff(r)&&t.el(["Menu",1],{"if":r})}),t.render(function(){return e.iff(r)&&t.el(["Inspector",1],{"if":r})}),t.render(function(){return e.iff(i)&&t.el(["StateTests",1],{"if":i})}),o.$=function(e,t){return{pointerEvents:i?"auto":"none"}}})})}(),function(){e.file("close.js",function(t){e.staticStyles("Close",{$:"#_flintdevtools .ViewClose"},{$:{position:"absolute",right:0,top:0,display:"flex",justifyContent:"center",alignItems:"center",lineHeight:1,opacity:.15,cursor:"pointer",transition:"all ease-in 200ms"}}),e.viewRoots.Close="close",e.view("Close",function(e,t,n){e.render(function(){return e.el(["close",1],{onClick:e.props.onClick},"x")}),n.$=function(t,n){return{fontSize:e.props.fontSize||13,width:e.props.size||50,height:e.props.size||50,":hover":{opacity:.4}}}})})}(),function(){e.file("debounce.js",function(t){var n=function(e,t){return e+t},o=300,i=800,r=5e3,l=1e4,s=1e3;e.view("Debounce",function(e,t,a){var f=void 0,c=void 0,u=void 0,d=void 0,p=void 0,v=void 0,g=!1,m=[];e.pause(),t.props(function(){function t(){e.props.onUpdate&&e.props.onUpdate(),e.update()}if(e.props.force)return e.set("showKey",f=Math.random()),t();if(!e.props.showKey||e.props.showKey!=f){e.set("showKey",f=e.props.showKey),e.set("delay",d=e.props.delay||o),e.set("curDelay",p=p||d);var a=Date.now(),h=u?a-u:r;e.set("lastTime",u=a),e.set("lastFew",m.unshift(h),m,!0),m.length>3&&e.set("lastFew",m.pop(),m,!0),h>l?e.set("lastFew",m=[]):3==m.length&&(e.set("avgDiff",v=m.reduce(n,0)/m.length),e.set("isAutoSaving",g=s>v),e.set("curDelay",p=g?i:d)),clearTimeout(c),e.set("timeout",c=setTimeout(t,p))}})})})}(),function(){e.file("errors.js",function(t){function n(){setTimeout(function(){var e=document.querySelectorAll(".__flintError");e.length&&[].forEach.call(e,function(e){-1==e.className.indexOf("active")&&(e.className+=" active")})},s()?1e3:0)}function o(e){if(e.file&&(e.file=e.file.replace(new RegExp(".*"+window.location.origin+"(/[_]+/)?"),"")),e.file&&e.file.indexOf("internals.js")>=0)if(e.message&&0==e.message.indexOf("Cannot find module")){var t=e.message.match(/(fs|path)/);t&&t.length&&(e.file="imported module:",e.message="Cannot import node-only module: "+t[0])}else e.message="Error in a locally required file. "+e.message;return e.message&&(e.niceMessage=e.message.replace(/Uncaught .*Error:\s*/,"")),e}function i(e){var t=e.msg,n=e.name;return t&&(t=t.replace(/(npm WARN.*\n|ERR\!)/g,"").replace(/npm argv.*\n/g,"").replace(/npm node v.*\n/g,"").replace(/npm npm.*\n/g,"").replace(/npm code.*\n/g,"").replace(/npm peerinvalid /g,"").replace(/npm 404 /g,"")),{msg:t,name:n}}var r=window._DT,l=function(e,t){return[e.substring(0,t),e.substring(t,t+1),e.substring(t+1)]},s=function(){return r.editor&&r.editor.live},a=function(e){return c(p(v(e)))},f=function(e){return e?e.replace(/.*\.js\:/,"").replace(/\([0-9]+\:[0-9]+\)/,"").replace(/Line [0-9]+\:\s*/,""):""},c=function(e){return e.niceMessage=f(e.message,e.fileName),e},u=/\>?\s*([0-9]*)\s*\|(.*)/g,d=/\s*\|\s*\^\s*$/g,p=function(e){return e?(e.stack&&!function(){e.fullStack=["","",""];var t=0;e.stack.split("\n").forEach(function(n){if(!d.test(n)&&u.test(n)){var o=">"===n[0];o&&(t=1),o||1!==t||(t=2);var i=n.replace(u,"$1$2").replace(/^(\s*[0-9]+\s*)[;]/,"$1 ");e.fullStack[t]+=i+"\n"}})}(),e):void 0},v=function(e){return e?(e.stack&&e.stack.split("\n").map(function(t){if(">"===t[0]){var n=t;if(!n)return;n=n.replace(/\>\s*[0-9]+\s*\|\s*/,""),n=f(n);var o=e.loc.column-4;e.niceStack=l(n,o)}}),e):void 0},g=function(){};e.view("Errors",function(e,t,n){function l(){c?e.set("error",f=a(c)):u?e.set("error",f=o(u)):e.set("error",f=null),g("tools: view.update()"),e.update()}function s(){e.set("error",f=null),e.set("compileError",c=null),e.set("runtimeError",u=null),e.set("npmError",d=null),e.update()}e.pause();var f=null,c=null,u=null,d=null;r.on("compile:error",function(){g("compile:error"),e.set("compileError",c=r.data.error),l()}),r.on("runtime:error",function(){e.set("runtimeError",u=r.data),g("runtime:error",u),l()}),r.on("npm:error",function(){e.set("npmError",d=i(r.data.error)),g("npm:error",d),e.update()}),r.on("runtime:success",function(){g("runtime:success"),e.set("runtimeError",u=null),e.set("npmError",d=null),l()}),r.on("compile:success",function(){g("compile:success"),e.set("compileError",c=null),e.set("npmError",d=null),l()}),e.render(function(){return e.el(["ErrorMessage",1],{error:f,npmError:d,close:s})})});var m=0,h=function(e){return e&&e.replace(/[\?\)].*/,"")},w=function(e){return e&&(e.line||e.loc&&e.loc.line)};e.staticStyles("ErrorMessage",{$bar:"#_flintdevtools bar.ErrorMessage, #_flintdevtools .ErrorMessage.bar, #_flintdevtools .ViewErrorMessage.bar, #_flintdevtools .ErrorMessage > .bar",$inner:"#_flintdevtools inner.ErrorMessage, #_flintdevtools .ErrorMessage.inner, #_flintdevtools .ViewErrorMessage.inner, #_flintdevtools .ErrorMessage > .inner",$top:"#_flintdevtools top.ErrorMessage, #_flintdevtools .ErrorMessage.top, #_flintdevtools .ViewErrorMessage.top, #_flintdevtools .ErrorMessage > .top",$where:"#_flintdevtools where.ErrorMessage, #_flintdevtools .ErrorMessage.where, #_flintdevtools .ViewErrorMessage.where, #_flintdevtools .ErrorMessage > .where",$line:"#_flintdevtools line.ErrorMessage, #_flintdevtools .ErrorMessage.line, #_flintdevtools .ViewErrorMessage.line, #_flintdevtools .ErrorMessage > .line",$flint:"#_flintdevtools flint.ErrorMessage, #_flintdevtools .ErrorMessage.flint, #_flintdevtools .ViewErrorMessage.flint, #_flintdevtools .ErrorMessage > .flint",$shortError:"#_flintdevtools shortError.ErrorMessage, #_flintdevtools .ErrorMessage.shortError, #_flintdevtools .ViewErrorMessage.shortError, #_flintdevtools .ErrorMessage > .shortError",$cur:"#_flintdevtools cur.ErrorMessage, #_flintdevtools .ErrorMessage.cur, #_flintdevtools .ViewErrorMessage.cur, #_flintdevtools .ErrorMessage > .cur",$errCol:"#_flintdevtools errCol.ErrorMessage, #_flintdevtools .ErrorMessage.errCol, #_flintdevtools .ViewErrorMessage.errCol, #_flintdevtools .ErrorMessage > .errCol",$ln:"#_flintdevtools ln.ErrorMessage, #_flintdevtools .ErrorMessage.ln, #_flintdevtools .ViewErrorMessage.ln, #_flintdevtools .ErrorMessage > .ln",$flintline:"#_flintdevtools flintline.ErrorMessage, #_flintdevtools .ErrorMessage.flintline, #_flintdevtools .ViewErrorMessage.flintline, #_flintdevtools .ErrorMessage > .flintline"},{$bar:{display:"block",position:"fixed",left:0,transition:"all 200ms ease-in",right:0,fontFamily:'-apple-system, "San Francisco", Roboto, "Segou UI", "Helvetica Neue", Helvetica, Arial, sans-serif',fontWeight:300,color:"#fff",fontSize:"14px",padding:2,pointerEvents:"all",overflow:"scroll",zIndex:2147483647,boxShadow:"0 -6px 12px rgba(0,0,0,0.06)"},$inner:{display:"block",maxHeight:200,overflowY:"scroll"},$top:{padding:8,display:"block"},$where:{display:"inline-block",pointerEvents:"all",fontWeight:300,color:"rgba(255,255,255,0.8)"},$line:{display:"inline-block",whiteSpace:"pre",pointerEvents:"all"},$flint:{display:"inline",fontWeight:700,color:"#fff"},$shortError:{display:"inline",color:"rgba(255,255,255,0.7)"},$cur:{background:"#fff"},$errCol:{display:"inline",borderBottom:"2px solid #f5d64c",margin:-3,padding:3,color:"#fff"},$ln:{padding:[0,20]},$flintline:{whiteSpace:"pre",pointerEvents:"all",fontWeight:"flint"}}),e.view("ErrorMessage",function(t,o,i){t.pause();var l=!1,a={},f=void 0,c=void 0,u=w(t.props.error),d=void 0;o.props(function(){d&&d(),t.set("npmError",f=t.props.npmError),t.set("hasError",l=!(!t.props.error&&!t.props.npmError)),t.set("error",a=t.props.error||a),t.set("line",u=w(a)),t.set("fullStack",c=null),t.update(),a&&t.set("clearDelay",d=o.delay(2500,function(){l&&a.fullStack&&(t.set("fullStack",c=a.fullStack),t.update())}))}),r.emitter.on("editor:state",function(){return setTimeout(t.update)}),t.render(function(){return t.el(["Debounce",1],{delay:s()?2e3:1e3,force:l===!1,showKey:c||a&&a.message,onUpdate:n},t.el(["bar",1],null,t.el(["Close",1],{onClick:t.props.close,size:35}),e.iff(f)&&t.el(["inner",1],{"if":f},t.el(["where",1],null,t.el(["flint",1],null,f.name))," ",f.msg),t.el(["inner",2],null,t.el(["top",1],null,t.el(["where",2],null,t.el(["span",1],null,"In ",t.el(["flint",2],null,h(a.file))),t.el(["line",1],null,u?" line":""," ",e.iff(u)&&t.el(["flint",3],{"if":u},u-m)))," ",t.el(["shortError",1],null,(a.niceMessage||a.message||"").trim(),e.iff(a.niceStack)&&t.el(["niceStack",1],{"if":a.niceStack},a.niceStack[0],t.el(["errCol",1],null,a.niceStack[1]),a.niceStack[2])),e.iff(a.help)&&t.el(["help",1],{"if":a.help},a.help)),e.iff(c)&&t.el(["fullStack",1],{"if":c},t.el(["ln",1],null,""+c[0]),t.el(["ln",2],{className:"cur"},""+c[1]),t.el(["ln",3],null,""+c[2])))))});var p="#cd423e";i.bar=function(e,t){return{background:p,bottom:l?0:-100}};var v={color:"rgba(255,255,255,0.85)",display:"inline",fontFamily:"Meslo, Menlo, Monaco, monospace",padding:[0,5]};i.niceStack=function(e,t){return v},i.fullStack=function(e,t){return[v,{maxHeight:c?600:0,padding:c?[10,0]:0,transition:"maxHeight ease-in 300ms",color:"rgba(0,0,0,0.85)",background:"rgba(255,255,255,0.9)",display:"block",whiteSpace:"pre",fontSize:14,borderRadius:3,margin:2}]}}),e.staticStyles("ErrorIcon",{$svg:"#_flintdevtools svg.ErrorIcon, #_flintdevtools .ErrorIcon.svg, #_flintdevtools .ViewErrorIcon.svg, #_flintdevtools .ErrorIcon > .svg"},{$svg:{width:19,fill:"red",margin:-4,marginLeft:3,marginRight:6,opacity:.9}}),e.view("ErrorIcon",function(e,t,n){e.render(function(){return e.el(["svg",1],{viewBox:"0 0 27.963 27.963"},e.el(["path",1],{d:"M13.983,0C6.261,0,0.001,6.259,0.001,13.979c0,7.724,6.26,13.984,13.982,13.984s13.98-6.261,13.98-13.984 C27.963,6.259,21.705,0,13.983,0z M13.983,26.531c-6.933,0-12.55-5.62-12.55-12.553c0-6.93,5.617-12.548,12.55-12.548 c6.931,0,12.549,5.618,12.549,12.548C26.531,20.911,20.913,26.531,13.983,26.531z"}),e.el(["polygon",1],{points:"15.579,17.158 16.191,4.579 11.804,4.579 12.414,17.158"}),e.el(["path",2],{d:"M13.998,18.546c-1.471,0-2.5,1.029-2.5,2.526c0,1.443,0.999,2.528,2.444,2.528h0.056c1.499,0,2.469-1.085,2.469-2.528 C16.441,19.575,15.468,18.546,13.998,18.546z"}))})})})}();var n=require("babel-runtime/helpers/extends")["default"],o=require("babel-runtime/helpers/to-array")["default"],i=require("babel-runtime/helpers/sliced-to-array")["default"],t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector.js",function(r){function l(e){var t=e.getBoundingClientRect(),n=window.innerWidth,o=window.innerHeight,i=V(t.right-t.left),r=V(t.bottom-t.top),l=1;i>=n&&r>=o&&(l=.2),$.setAttribute("style","\n top: "+V(t.top)+"px;\n left: "+V(t.left)+"px;\n width: "+i+"px;\n height: "+r+"px;\n opacity: "+l+";\n ")}function s(){$.setAttribute("style","")}function a(e){if(!e||!e.getAttribute)return null;var t=e.__flintID;return t?(l(e),t):a(e.parentNode)}function f(e,t){return e.filter(function(e){return e.path==t}).length>0}function c(e){return e.filter(function(e){return!e.temp}).map(function(e){return n({},e,{highlight:!1})})}function u(e,t){return[{path:t,highlight:!1,temp:!0}].concat(e)}function d(e,t){return e.map(function(e){return e.path==t&&(e.closing=!0),e})}function p(e,t){return e.map(function(e){return e.path==t&&(e.highlight=!0),e})}function v(e,t){if(f(e,t))return e.map(function(e){return e.path==t&&(e.temp=!0),e});var n={temp:!1,highlight:!1,closing:!1,path:t};return[].concat([n],e)}function g(){return window._Flint}function m(e,t){var n=g(),o=n.getCache[e];t.reduce(function(e,t){if("root"==t)return e;if(!Array.isArray(t))return e[t];var n=i(t,2),o=n[0],r=n[1],l=e[o];"number"==typeof l&&(r=+r),e[o]=r},o),n.inspectorRefreshing=e,n.getInitialStates[e](),n.viewsAtPath[e].forceUpdate(),n.inspectorRefreshing=null}var h=r("./keys"),w=r("./lib/inspecting"),_=t(w),b=r("lodash"),y=function(e){var t=o(e),n=(t[0],t.slice(1));return n},V=Math.round,$=void 0;e.staticStyles("Inspector",{$:"#_flintdevtools .ViewInspector"},{$:{position:"fixed",top:0,right:0,padding:2}}),e.view("Inspector",function(t,o,i){function r(e){P(e)?t.set("offAlt",j=o.delay(180,function(){P(e)&&I()})):(j&&j(),k())}function l(e){g().isInspecting=!0;var n=a(e);null!==n&&(t.set("views",F=c(F)),t.set("views",F=f(F,n)?p(F,n):u(F,n)))}function w(e){var n=e.target,o=ReactDOM.findDOMNode(t);if(L!=n){if(o.contains(n))return;t.set("lastTarget",L=n),_["default"].set(n),T&&l(L)}}function V(){F.length&&t.set("views",F=y(F))}function M(e,n){n&&n.stopPropagation(),t.set("views",F=d(F,e)),o.delay(200,function(){t.set("views",F=F.filter(function(t){return e!=t.path}))})}function E(e){var n=e.target,o=ReactDOM.findDOMNode(t);return o.contains(n)?void 0:(t.set("views",F=v(c(F),a(n))),!1)}function I(){l(L),t.set("hudActive",T=!0),t.set("clickOff",x=o.click(window,E))}function k(){g().isInspecting=!1,t.set("hudActive",T=!1),s(),x&&x(),t.set("views",F=c(F))}function S(e,n){m(e,n),t.update()}var x=void 0,C=void 0,L=void 0,T=!1,F=[];o.mount(function(){t.set("hoverOff",C=o.mousemove(window,(0,b.throttle)(w,40))),$||($=document.createElement("div"),$.className="_flintHighlighter",document.body.appendChild($))}),(0,h.onKeyDown)("esc",V);var j=void 0,P=function(e){var t=e.altKey,n=e.metaKey;return t&&!n};o.keydown(window,r),o.keyup(window,r),t.render(function(){return e.range(F).map(function(e,o){return t.el(["Inspector.View",1,e,o],n({repeat:F,key:e.path},e,{writeBack:S,onClose:function(t){return M(e.path,t)}}))})})})})}();var t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("menu.js",function(n){var o=n("./keys"),i=n("./lib/inspecting"),r=t(i),l=_DT,s=l.messageEditor;e.staticStyles("Menu",{$menu:"#_flintdevtools .ViewMenu",$active:"#_flintdevtools active.Menu, #_flintdevtools .Menu.active, #_flintdevtools .ViewMenu.active, #_flintdevtools .Menu > .active",$item:"#_flintdevtools item.Menu, #_flintdevtools .Menu.item, #_flintdevtools .ViewMenu.item, #_flintdevtools .Menu > .item",$first:"#_flintdevtools first.Menu, #_flintdevtools .Menu.first, #_flintdevtools .ViewMenu.first, #_flintdevtools .Menu > .first",$last:"#_flintdevtools last.Menu, #_flintdevtools .Menu.last, #_flintdevtools .ViewMenu.last, #_flintdevtools .Menu > .last",$hl:"#_flintdevtools hl.Menu, #_flintdevtools .Menu.hl, #_flintdevtools .ViewMenu.hl, #_flintdevtools .Menu > .hl",$main:"#_flintdevtools main.Menu, #_flintdevtools .Menu.main, #_flintdevtools .ViewMenu.main, #_flintdevtools .Menu > .main"},{$menu:{border:"1px solid #ddd",boxShadow:"0 0 10px rgba(0,0,0,0.2)",position:"absolute",background:"#fff",zIndex:2147483647,transition:"opacity ease-in 30ms, transform ease-in 30ms",opacity:0,pointerEvents:"none",padding:0},$active:{pointerEvents:"auto",opacity:1},$item:{minWidth:120,cursor:"pointer",flexFlow:"row"},$first:{overflow:"hidden"},$last:{overflow:"hidden"},$hl:{padding:[4,8]},$main:{flexGrow:1}}),e.viewRoots.Menu="menu",e.view("Menu",function(t,n,i){function l(e){return function(){s({type:"focus:element",key:e.key,view:e.view})}}function a(e){return function(){s({type:"focus:style",el:e.el,view:e.view})}}var f=!1,c=void 0,u=void 0,d=[],p=void 0;n.keydown(function(){o.keys.alt&&o.keys.command&&(document.body.classList.add("__flintfocus"),t.set("focused",p=!0))}),n.keyup(function(){p&&(document.body.classList.remove("__flintfocus"),t.set("focused",p=!1))}),n.click(window,function(e){if(f)return e.stopPropagation(),e.preventDefault(),void t.set("active",f=!1);var n=o.keys.alt&&o.keys.command;if(n){e.preventDefault();var i=e.clientX,l=e.clientY;t.set("left",u=i),t.set("top",c=l),t.set("active",f=!0),t.set("elements",d=r["default"].all())}}),t.render(function(){return t.el(["menu",1],{className:{internal:!0,active:f}},e.range(d.filter(function(e){return!!e.view})).map(function(e,n){return t.el(["item",1,e,n],{repeat:d.filter(function(e){return!!e.view}),className:{first:0==n,last:n==d.length-1}},t.el(["main",1,e,n],{className:"hl",onClick:l(e)},e.view),t.el(["sub",1,e,n],{className:"hl",onClick:a(e)},"$"))}))});var v=5;i.menu=function(e,t){return{borderRadius:v,top:c,left:u,transform:{y:-10}}},i.active=function(e,t){return{transform:{y:0}}},i.first=function(e,t){return{borderTopLeftRadius:v,borderTopRightRadius:v}},i.last=function(e,t){return{borderBottomLeftRadius:v,borderBottomRightRadius:v}},i.hl=function(e,t){return{hover:{background:[0,0,0,.1]}}}})})}(),function(){e.file("modal.js",function(t){e.staticStyles("FlintModal",{$:"#_flintdevtools .ViewFlintModal",$title:"#_flintdevtools title.FlintModal, #_flintdevtools .FlintModal.title, #_flintdevtools .ViewFlintModal.title, #_flintdevtools .FlintModal > .title",$message:"#_flintdevtools message.FlintModal, #_flintdevtools .FlintModal.message, #_flintdevtools .ViewFlintModal.message, #_flintdevtools .FlintModal > .message"},{$:{position:"fixed",right:0,minWidth:80,padding:[7,5],margin:20,background:"#fff",boxShadow:"0 5px 26px rgba(0,0,0,0.13)",border:"1px solid #dadada",fontSize:14,transition:"all ease-in 200ms",textAlign:"center",borderRadius:6,pointerEvents:"auto"},$title:{fontWeight:500,fontSize:15,margin:[0,20]},$message:{fontFamily:"-apple-system, 'Helvetica Nueue', Helvetica, Arial, sans-serif"}}),e.view("FlintModal",function(t,n,o){function i(){return t.set("open",s=t.props.open),l&&!t.props.title?t.update():(t.set("title",l=t.props.title),t.set("children",r=t.props.children),void t.update())}t.pause();var r=void 0,l=void 0,s=void 0;n.props(i),t.render(function(){return t.el(["Close",1],{size:25})}),t.render(function(){return e.iff(l)&&t.el(["title",1],{"if":l},l)}),t.render(function(){return e.iff(r)&&t.el(["message",1],{"if":r},r)}),o.$=function(e,t){return{top:s?0:-140}},o.title=function(e,n){return{color:t.props.titleColor||"#222"}}})})}();var r=require("babel-runtime/core-js/object/keys")["default"];!function(){e.file("inspector/highlighter.js",function(t){e.view("Highlighter",function(t,n,o){t.render(function(){return e.iff(!t.props.highlight||-1===t.props.string.indexOf(t.props.highlight))&&t.el(["name",1],{"if":!t.props.highlight||-1===t.props.string.indexOf(t.props.highlight)},t.props.string)}),t.render(function(){return e.iff(t.props.highlight)&&t.el(["span",1],{"if":t.props.highlight},e.range(t.props.string.split()).map(function(n,o){return t.el(["span",2,n,o],{repeat:t.props.string.split()},e.iff(o>0)&&t.el(["highlight",1,n,o],{"if":o>0},t.props.highlight),n)}))})})})}();var n=require("babel-runtime/helpers/extends")["default"];!function(){e.file("inspector/label.js",function(t){var o=t("lodash");e.staticStyles("Label",{$input:"#_flintdevtools input.Label, #_flintdevtools .Label.input, #_flintdevtools .ViewLabel.input, #_flintdevtools .Label > .input",$focus:"#_flintdevtools focus.Label, #_flintdevtools .Label.focus, #_flintdevtools .ViewLabel.focus, #_flintdevtools .Label > .focus"},{$input:{position:"absolute",top:0,left:-1,right:0,color:"#333",padding:1,width:140,outline:"none",border:"none",opacity:0,boxShadow:"1px 1px 2px rgba(0,0,0,0.4)"},$focus:{opacity:"1 !important"}}),e.view("Label",function(e,t,i){var r=e.prop("val",void 0),l=e.prop("editable",void 0),s=e.prop("onSet",void 0);t.props(function(){r=e.getProp("val"),l=e.getProp("editable"),s=e.getProp("onSet")});var a=void 0,f=void 0;t.props(function(){a||e.set("newVal",f=r)});var c=function(t){if(l){if((0,o.isBoolean)(r))return s(!r);e.set("focus",a=!0),t.stopPropagation()}},u=function(t){e.set("focus",a=!1)},d=function(t){e.set("newVal",f=t.target.value),e.update({immediate:!0}),(!(0,o.isNumber)(r)||""!==f&&!isNaN(f))&&("false"===f&&e.set("newVal",f=!1),"true"===f&&e.set("newVal",f=!0),s(f))},p=function(e){return e?{}:{tabIndex:5e3,disabled:!0}};e.render(function(){return e.el(["input",1],n({defaultValue:r.toString(),value:f,className:{focus:a},size:Math.max(4,r&&r.length||0),spellCheck:!1,onMouseDown:c,onFocus:c,onEnter:u},p(l),{onFocus:c,onBlur:u,onChange:d}))}),i.input=function(e,t){return{cursor:(0,o.isBoolean)(r)?"pointer":"auto"}}})})}();var r=require("babel-runtime/core-js/object/keys")["default"],t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/leaf.js",function(n){var o=n("md5-o-matic"),i=t(o),l=n("../lib/getType"),s=t(l),a=n("ellipsize"),f=t(a),c=".root.",u=function(e,t){return-1!==e.indexOf(t)},d=function(e){return"Object"!==(0,s["default"])(e)&&"Array"!==(0,s["default"])(e)},p=function(){};e.staticStyles("Leaf",{$leaf:"#_flintdevtools .ViewLeaf",$helper:"#_flintdevtools helper.Leaf, #_flintdevtools .Leaf.helper, #_flintdevtools .ViewLeaf.helper, #_flintdevtools .Leaf > .helper",$boolean:"#_flintdevtools boolean.Leaf, #_flintdevtools .Leaf.boolean, #_flintdevtools .ViewLeaf.boolean, #_flintdevtools .Leaf > .boolean",$number:"#_flintdevtools number.Leaf, #_flintdevtools .Leaf.number, #_flintdevtools .ViewLeaf.number, #_flintdevtools .Leaf > .number",$string:"#_flintdevtools string.Leaf, #_flintdevtools .Leaf.string, #_flintdevtools .ViewLeaf.string, #_flintdevtools .Leaf > .string",$function:"#_flintdevtools function.Leaf, #_flintdevtools .Leaf.function, #_flintdevtools .ViewLeaf.function, #_flintdevtools .Leaf > .function",$colon:"#_flintdevtools colon.Leaf, #_flintdevtools .Leaf.colon, #_flintdevtools .ViewLeaf.colon, #_flintdevtools .Leaf > .colon",$name:"#_flintdevtools name.Leaf, #_flintdevtools .Leaf.name, #_flintdevtools .ViewLeaf.name, #_flintdevtools .Leaf > .name",$children:"#_flintdevtools children.Leaf, #_flintdevtools .Leaf.children, #_flintdevtools .ViewLeaf.children, #_flintdevtools .Leaf > .children",$type:"#_flintdevtools type.Leaf, #_flintdevtools .Leaf.type, #_flintdevtools .ViewLeaf.type, #_flintdevtools .Leaf > .type"},{$leaf:{padding:[1,0],fontSize:13},$helper:{color:"#ffff05"},$boolean:{color:"#32a3cd",fontWeight:700},$number:{color:"#b92222",marginTop:2,fontWeight:500},$string:{color:"#698c17"},$function:{marginLeft:10,marginTop:2,color:"#962eba"},$colon:{opacity:.3,color:"#000"},$name:{color:"#ff2f2f",fontWeight:400,margin:["auto",0]},$children:{paddingLeft:10},$type:{margin:[1,0,0,8],opacity:.7,flexFlow:"row"}}),e.viewRoots.Leaf="leaf",e.view("Leaf",function(t,n,o){function l(e){t.props.root||t.set("expanded",x=!x),t.update(),V(E),e.stopPropagation()}var a=t.prop("isExpanded",void 0),v=t.prop("data",void 0),g=t.prop("prefix",void 0),m=t.prop("query",void 0),h=t.prop("label",void 0),w=t.prop("id",void 0),_=t.prop("editable",void 0);n.props(function(){a=t.getProp("isExpanded"),v=t.getProp("data"),g=t.getProp("prefix"),m=t.getProp("query"),h=t.getProp("label"),w=t.getProp("id"),_=t.getProp("editable")});var b=t.prop("getOriginal",p),y=t.prop("onSet",p),V=t.prop("onClick",p);n.props(function(){b=t.getProp("getOriginal"),y=t.getProp("onSet"),V=t.getProp("onClick")}),t.pause();var $=void 0,M=void 0,E=void 0,I=void 0,k=void 0,S=void 0,x=void 0,C=[],L="",T=function(){return t.props.root||!L&&a(M,v)||!u(M,L)&&"function"==typeof b};n.props(function(){t.set("rootPath",$=g+"."+h),t.set("key",k=h.toString()),t.set("path",M=$.substr(c.length)),t.set("_data",E=v),"string"==typeof E&&E.indexOf("\n")>-1&&t.set("_data",E=E.split("\n")),E&&t.set("dataKeys",C=r(E).sort()),void 0===E&&t.set("_data",E=v),void 0===E&&t.set("_data",E={}),t.set("type",I=(0,s["default"])(E)),t.set("_query",L=m||""),t.props.root?t.set("expanded",x=!0):L&&t.set("expanded",x=!u(h,L)),m&&!L&&t.set("expanded",x=T()),t.update()});var F=function(e,t){return d(t)?e+":"+(0,i["default"])(String(e)):e+"["+(0,s["default"])(t)+"]"},j=function(e){return t.el(["Highlighter",1],{string:e,highlight:L})},P=function(e){return e.toString().replace(/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/gm,"").match(/^function\s*[^\(]*\(\s*([^\)]*)\)/m)[1].split(/,/)},O=function(e,n,o,i){return t.el(["Label",1],{val:n,editable:i,onSet:function(e){return y([o,e])}})};t.render(function(){return t.el(["leaf",1],{className:$},e.iff(!t.props.root)&&t.el(["label",1],{"if":!t.props.root,htmlFor:w,onClick:l},t.el(["key",1],null,t.el(["name",1],null,j(k)),O("key",k,k,!1)),t.el(["colon",1],null,":"),e.iff("Function"==I)&&t.el(["expand",1],{className:"function","if":"Function"==I},t.el(["i",1],null,"fn (",P(E).join(", "),")")),e.iff("Array"==I)&&t.el(["expand",2],{"if":"Array"==I},t.el(["type",1],null,"Array[",E.length,"]")),e.iff("Object"==I)&&t.el(["expand",3],{"if":"Object"==I},t.el(["type",2],null,"{} "+C.length+" keys")),e.iff(-1==["Array","Object","Function"].indexOf(I))&&t.el(["value",1],{"if":-1==["Array","Object","Function"].indexOf(I),className:I.toLowerCase()},e.iff("string"==I.toLowerCase())&&t.el(["str",1],{"if":"string"==I.toLowerCase()},j((0,f["default"])(String(E),25))),e.iff("string"!=I.toLowerCase())&&t.el(["else",1],{"if":"string"!=I.toLowerCase()},j(String(E))),O("val",E,k,_))),t.el(["children",1],null,e.iff(x&&!d(E))&&e.range(C).map(function(n,o){return t.el(["child",1,n,o],{"if":x&&!d(E),repeat:C},e.iff(-1==n.indexOf("__"))&&t.el(["Leaf",1,n,o],{"if":-1==n.indexOf("__"),key:F(n,E[n]),onSet:function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return y.apply(void 0,[k].concat(t))},data:E[n],editable:_,label:n,prefix:$,onClick:V,id:w,query:L,getOriginal:S?null:b,isExpanded:a}))})))});var R={flexFlow:"row"};o.label=function(e,t){return[R,{position:"relative",color:"rgba(0,0,0,0.8)",opacity:1,alignItems:"baseline"}]},o.key=function(e,t){return[R,{color:"rgba(0,0,0,0.9)",margin:[0],fontWeight:"bold"}]},o.expand=function(e,t){return[R,{}]},o.value=function(e,t){return[R,{position:"relative",margin:[0,4,0]}]}})})}(),function(){e.file("inspector/section.js",function(t){e.staticStyles("Inspector.Section",{$:"#_flintdevtools .ViewInspector-Section",$body:"#_flintdevtools body.Inspector-Section, #_flintdevtools .Inspector-Section.body, #_flintdevtools .ViewInspector-Section.body, #_flintdevtools .Inspector-Section > .body",$inactive:"#_flintdevtools inactive.Inspector-Section, #_flintdevtools .Inspector-Section.inactive, #_flintdevtools .ViewInspector-Section.inactive, #_flintdevtools .Inspector-Section > .inactive"},{$:{padding:[5,0]},$body:{padding:[0,12]},$inactive:{display:"none"}}),e.view("Inspector.Section",function(e,t,n){var o=!0;e.render(function(){return e.el(["Inspector.Title",1],{onToggle:function(t){return e.set("open",o=t)}},e.props.title)}),e.render(function(){return e.el(["body",1],null,e.props.children)})})})}();var n=require("babel-runtime/helpers/extends")["default"],t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/statetests.js",function(o){var i=o("mouse-event-offset"),r=t(i);e.view("StateTests",function(e,t,n){e.render(function(){return e.el(["Tests.Name",1],null)}),e.render(function(){return e.el(["Tests.Boolean",1],null)}),e.render(function(){return e.el(["Tests.Counter",1],null)}),e.render(function(){return e.el(["Tests.Props",1],null)}),e.render(function(){return e.el(["Tests.Circles",1],null)})}),e.view("Tests.Boolean",function(e,t,n){var o=!1;e.render(function(){return e.el(["h1",1],null,"is tupac dead? ",o.toString())}),e.render(function(){return e.el(["button",1],{onClick:function(){return e.set("dead",o=!o)}},"toggle")})}),e.staticStyles("Tests.Props",{$:"#_flintdevtools .ViewTests-Props"},{$:{marginTop:20}}),e.view("Tests.Props",function(e,t,n){var o="a string";e.render(function(){return e.el(["input",1],{__flintValue:o,__flintOnChange:function(t){e.setImmediate("name",o=t.target.value)}})}),e.render(function(){return e.el(["Test.PropsChild",1],{name:o})})}),e.view("Test.PropsChild",function(e,t,n){var o=e.prop("name",void 0);t.props(function(){o=e.getProp("name")});var i=0;e.render(function(){return e.el(["h1",1],null,"my name is ",o)}),e.render(function(){return e.el(["h4",1],null,"counter to test state ",i)}),e.render(function(){return e.el(["button",1],{onClick:function(){return e.set("count",i++,i,!0)}},"up")})}),e.view("Tests.Counter",function(e,t,n){var o=0;e.render(function(){return e.el(["h1",1],null,"count is ",o)}),e.render(function(){return e.el(["button",1],{onClick:function(){return e.set("count",o++,o,!0)}},"up")}),e.render(function(){return e.el(["button",2],{onClick:function(){return e.set("count",o--,o,!0)}},"down")})}),e.view("Tests.Deep",function(e,t,n){var o={name:"nick",tools:["js","juggling balls","coffee"]};e.render(function(){return e.el(["h1",1],null,"deep")}),e.render(function(){return e.el(["h2",1],null,JSON.stringify(o))})}),e.view("Tests.Name",function(e,t,n){var o="nick",i="cammarata";e.render(function(){return e.el(["h2",1],null,"name is ",o," ",i)}),e.render(function(){return e.el(["input",1],{__flintValue:o,__flintOnChange:function(t){e.setImmediate("first",o=t.target.value)}})}),e.render(function(){return e.el(["input",2],{__flintValue:i,__flintOnChange:function(t){e.setImmediate("last",i=t.target.value)}})}),e.render(function(){return e.el(["button",1],{onClick:function(){e.set("first",o="nate"),e.set("last",i="wienert")}},"nateify")})}),e.staticStyles("Tests.Circles",{$circles:"#_flintdevtools circles.Tests-Circles, #_flintdevtools .Tests-Circles.circles, #_flintdevtools .ViewTests-Circles.circles, #_flintdevtools .Tests-Circles > .circles"},{$circles:{position:"relative",background:"#eee",height:400,width:400}}),e.view("Tests.Circles",function(t,n,o){function i(e){t.set("coords",l.push((0,r["default"])(e)),l,!0)}var l=[[200,200]];t.render(function(){return t.el(["circles",1],{onClick:i},e.range(l).map(function(e,n){return t.el(["Tests.Circle",1,e,n],{repeat:l,key:""+e[0]+e[1],left:e[0],top:e[1]})}))})}),e.view("Tests.Circle",function(e,t,o){var i=function(){return Math.round(255*Math.random())},r={background:[i(),i(),i()],position:"absolute",top:e.props.top,left:e.props.left,width:118,height:29,borderRadius:27},l=function(e){return n({},r,{transform:{scale:e}})};e.render(function(){return e.el(["circle",1],{style:l(1)})})})})}(),function(){e.file("inspector/title.js",function(t){e.staticStyles("Inspector.Title",{$title:"#_flintdevtools title.Inspector-Title, #_flintdevtools .Inspector-Title.title, #_flintdevtools .ViewInspector-Title.title, #_flintdevtools .Inspector-Title > .title",$closed:"#_flintdevtools closed.Inspector-Title, #_flintdevtools .Inspector-Title.closed, #_flintdevtools .ViewInspector-Title.closed, #_flintdevtools .Inspector-Title > .closed",$inner:"#_flintdevtools inner.Inspector-Title, #_flintdevtools .Inspector-Title.inner, #_flintdevtools .ViewInspector-Title.inner, #_flintdevtools .Inspector-Title > .inner"},{$title:{fontWeight:300,borderBottom:"1px solid #eee",height:10,margin:[5,5,8],color:"#999",flexFlow:"row"},$closed:{marginTop:1},$inner:{padding:[4,10],background:"#fff"}}),e.view("Inspector.Title",function(e,t,n){function o(){e.props.onToggle&&(e.set("open",i=!i),e.props.onToggle(i))}var i=!0;e.render(function(){return e.el(["title",1],{onClick:o},e.el(["inner",1],null,e.props.children))}),n.closed=function(e,t){return{transform:{scale:.8}}},n.inner=function(e,t){return{margin:[-2,"auto"]}}})})}();var t=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/tree.js",function(n){var o=n("../lib/lens"),i=t(o);e.staticStyles("Tree",{$:"#_flintdevtools .ViewTree"},{$:{pointerEvents:"auto",marginLeft:-10}}),e.viewRoots.Tree="Leaf",e.view("Tree",function(e,t,n){var o="",r=function(t){return(0,i["default"])(e.props.data,t)};e.render(function(){return e.el(["Leaf",1],{
data:e.props.data,onClick:e.props.onClick,id:e.props.id,getOriginal:r,query:o,label:"root",editable:e.props.editable,root:!0,validateQuery:function(e){return e.length>=2},isExpanded:e.props.isExpanded||function(){return!1},interactiveLabel:e.props.interactiveLabel,onSet:function(){for(var t=arguments.length,n=Array(t),o=0;t>o;o++)n[o]=arguments[o];return e.props.onSet(n)}})})})})}();var r=require("babel-runtime/core-js/object/keys")["default"];!function(){e.file("inspector/view.js",function(t){function n(e){var t=e.split(",");return t[t.length-1].split("-")[0]}function o(e){var t=["if","repeat","style","yield","__flint"];return i.omit.apply(null,[e].concat(t))}var i=t("lodash");e.staticStyles("Inspector.View",{$view:"#_flintdevtools view.Inspector-View, #_flintdevtools .Inspector-View.view, #_flintdevtools .ViewInspector-View.view, #_flintdevtools .Inspector-View > .view",$top:"#_flintdevtools top.Inspector-View, #_flintdevtools .Inspector-View.top, #_flintdevtools .ViewInspector-View.top, #_flintdevtools .Inspector-View > .top",$active:"#_flintdevtools active.Inspector-View, #_flintdevtools .Inspector-View.active, #_flintdevtools .ViewInspector-View.active, #_flintdevtools .Inspector-View > .active",$highlight:"#_flintdevtools highlight.Inspector-View, #_flintdevtools .Inspector-View.highlight, #_flintdevtools .ViewInspector-View.highlight, #_flintdevtools .Inspector-View > .highlight",$Close:"#_flintdevtools .ViewInspector-View .ViewClose",$name:"#_flintdevtools name.Inspector-View, #_flintdevtools .Inspector-View.name, #_flintdevtools .ViewInspector-View.name, #_flintdevtools .Inspector-View > .name",$edit:"#_flintdevtools edit.Inspector-View, #_flintdevtools .Inspector-View.edit, #_flintdevtools .ViewInspector-View.edit, #_flintdevtools .Inspector-View > .edit",$expanded:"#_flintdevtools expanded.Inspector-View, #_flintdevtools .Inspector-View.expanded, #_flintdevtools .ViewInspector-View.expanded, #_flintdevtools .Inspector-View > .expanded",$input:"#_flintdevtools input.Inspector-View, #_flintdevtools .Inspector-View.input, #_flintdevtools .ViewInspector-View.input, #_flintdevtools .Inspector-View > .input",$title:"#_flintdevtools title.Inspector-View, #_flintdevtools .Inspector-View.title, #_flintdevtools .ViewInspector-View.title, #_flintdevtools .Inspector-View > .title",$section:"#_flintdevtools section.Inspector-View, #_flintdevtools .Inspector-View.section, #_flintdevtools .ViewInspector-View.section, #_flintdevtools .Inspector-View > .section"},{$view:{position:"relative",pointerEvents:"auto",margin:10,marginBottom:0,padding:[0,0,1],minWidth:220,minHeight:34,fontSize:12,userSelect:"none",cursor:"default",background:"#fff",boxShadow:"0px 2px 16px rgba(0,0,0,0.2)",border:"1px solid #ccc",borderRadius:5,color:"#333",transition:"all ease-in 60ms",opacity:0},$top:{flexFlow:"row"},$active:{opacity:1},$highlight:{border:"2px solid #afb4e2"},$Close:{top:-5,right:-5,fontSize:13},$name:{fontWeight:400,color:"rgba(0,0,0,0.8)",padding:[8,8,0],fontSize:14},$edit:{padding:[8,8,0],fontSize:14,marginLeft:4,fontWeight:400,color:"rgba(24, 101, 227, 0.8)"},$expanded:{},$input:{borderRadius:100,border:"1px solid #ccc",width:"100%",padding:[2,12],color:"#333",fontSize:14},$title:{display:"none",color:"#333",fontWeight:200,fontSize:12,margin:[3,0]},$section:{background:[0,0,0,.05]}}),e.view("Inspector.View",function(t,i,l){function s(e){t.props.writeBack(c,e)}var a=t.prop("highlight",void 0),f=t.prop("closing",void 0),c=t.prop("path",void 0),u=t.prop("onClose",void 0);i.props(function(){a=t.getProp("highlight"),f=t.getProp("closing"),c=t.getProp("path"),u=t.getProp("onClose")});var d=window.Flint.inspect,p=void 0,v=!1,g={},m=null,h=null;i.delay(60,function(){t.set("active",v=!0)}),i.unmount(function(){delete window._Flint.inspector[c]}),i.props(function(){f===!0&&t.set("active",v=!1),c&&(t.set("name",p=n(c)),_Flint.inspector[c]||d(c,function(e,n,i){console.log("props are",e),t.set("props",m=o(e||{})),t.set("state",g=n||{}),t.set("writeBack",h=i),t.update()}))});var w=function(e){return e&&r(e).length>0},_=function(){return _DT.messageEditor({type:"focus:element",view:p})};t.render(function(){return t.el(["view",1],{className:{active:v,highlight:a}},t.el(["Close",1],{onClick:u,fontSize:20,size:35}),t.el(["top",1],null,t.el(["name",1],null,p),e.iff(!1)&&t.el(["edit",1],{"if":!1,onClick:_},"edit")),e.iff(w(m))&&t.el(["Inspector.Section",1],{title:"Props","if":w(m),className:"props"},t.el(["Tree",1],{editable:!1,data:m})),e.iff(w(g))&&t.el(["Inspector.Section",2],{title:"State","if":w(g)},t.el(["Tree",2],{editable:!0,onSet:s,data:g})))}),l.view=function(e,t){return{transform:{x:20}}},l.active=function(e,t){return{transform:{x:0}}},l.name=function(e,t){return{margin:[0,0,-6]}},l.edit=function(e,t){return{margin:[0,0,-6]}},l.expanded=function(e,t){return{transform:{y:0}}}})})}(),function(){e.file("npm/installer.js",function(t){var n=window._DT;e.view("Installer",function(t,o,i){var r="",l=[],s="",a="",f=0;n.on("package:install",function(){t.set("state",f=1),t.set("name",s=n.data.name)}),n.on("package:installed",function(){t.set("state",f=2),setTimeout(function(){return t.set("state",f=0)},2e3)}),n.on("package:error",function(){t.set("state",f=3),t.set("name",s=n.data.name),t.set("error",a=n.data.error),setTimeout(function(){return t.set("state",f=0)},2e3)}),n.on("package:select",function(){t.set("state",f=4),t.set("versions",l=n.data.versions)});var c=function(e){t.set("version",r=e),n.data.version=e,n.emitter.emit("package:select"),t.set("state",f=1)},u=function(){return t.set("state",f=0)},d=function(e){switch(e){case 1:return"Installing "+s+(r?" "+r:"")+"...";case 2:return"Installed "+s+"!";case 3:return"Error: "+s;case 4:return"Select version"}},p=function(e){switch(e){case 1:return null;case 2:return null;case 3:return a;case 4:return t.el(["Versions",1],{versions:l,onSelect:c})}};t.render(function(){return t.el(["FlintModal",1],{open:f>0,onClose:u,title:d(f),titleColor:3==f?"#8c1919":"#0f8c3c"},e.iff(!1)&&t.el(["InstallerLoading",1],{"if":!1}),p(f))})}),e.staticStyles("Versions",{$version:"#_flintdevtools version.Versions, #_flintdevtools .Versions.version, #_flintdevtools .ViewVersions.version, #_flintdevtools .Versions > .version",$inner:"#_flintdevtools inner.Versions, #_flintdevtools .Versions.inner, #_flintdevtools .ViewVersions.inner, #_flintdevtools .Versions > .inner",$v:"#_flintdevtools v.Versions, #_flintdevtools .Versions.v, #_flintdevtools .ViewVersions.v, #_flintdevtools .Versions > .v",$info:"#_flintdevtools info.Versions, #_flintdevtools .Versions.info, #_flintdevtools .ViewVersions.info, #_flintdevtools .Versions > .info"},{$version:{textAlign:"left",padding:[2,4],borderRadius:2},$inner:{flexFlow:"row"},$v:{flexGrow:1,fontWeight:"bold"},$info:{}}),e.view("Versions",function(t,n,o){t.render(function(){return e.range(t.props.versions).map(function(e,n){return t.el(["version",1,e,n],{repeat:t.props.versions,onClick:function(){return t.props.onSelect(e)}},t.el(["inner",1,e,n],null,t.el(["v",1,e,n],{key:"v"+n},e.version),t.el(["info",1,e,n],null,e.description),t.el(["a",1,e,n],{href:e.homepage,target:"_blank"},"Info")))})}),o.v=function(e,t){return{":hover":{background:"#fff",cursor:"pointer"}}}})})}(),e.start()}(e)};
//# sourceMappingURL=flinttools.js.map
{
"name": "flint-tools",
"version": "1.4.22",
"version": "1.4.23",
"dependencies": {

@@ -21,5 +21,5 @@ "clone": {

"lodash": {
"version": "4.0.0",
"version": "4.0.1",
"from": "lodash@>=4.0.0 <5.0.0",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.0.0.tgz"
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.0.1.tgz"
},

@@ -26,0 +26,0 @@ "md5-o-matic": {

@@ -6,3 +6,3 @@ {

"description": "tools",
"version": "1.4.22",
"version": "1.4.23",
"main": "index.js",

@@ -14,3 +14,3 @@ "scripts": {},

"keycode": "^2.1.0",
"lodash": "^4.0.0",
"lodash": "^4.0.1",
"md5-o-matic": "^0.1.1",

@@ -17,0 +17,0 @@ "mouse-event-offset": "^3.0.2"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc