New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

augur-ui-react-components

Package Overview
Dependencies
Maintainers
1
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

augur-ui-react-components - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

.c9/metadata/workspace/src/modules/common/components/dropdown.jsx

2

.c9/metadata/workspace/package.json

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

{"filter":false,"title":"package.json","tooltip":"/package.json","undoManager":{"mark":3,"position":3,"stack":[[{"start":{"row":28,"column":0},"end":{"row":32,"column":19},"action":"remove","lines":[" \"watch:dist:all\": \"npm run -s clean:dist && (npm run -s watch:dist:css & npm run -s watch:dist:assets & npm run -s watch:dist:js)\","," \"watch:dist:assets\": \"onchange './src/assets/**' -i -- npm run -s dist:assets\","," \"watch:dist:css\": \"onchange './src/**/*.less' -i -- npm run -s dist:css\","," \"watch:dist:js\": \"watchify $npm_package_config_js_entry_file_dist --extension=.js --extension=.jsx --detectGlobals false --standalone augur-react-components -t [ babelify --presets [ es2015 stage-0 react ] ] -t [envify purge] -o 'derequire > ./dist/app.jsx && echo ---------WATCHIFY--------`date +%r`'\","," \"________\": \"\","],"id":2}],[{"start":{"row":27,"column":39},"end":{"row":28,"column":0},"action":"remove","lines":["",""],"id":3}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["2"],"id":4,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["3"]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["3"],"id":6,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["4"]}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":28.1925,"selection":{"start":{"row":13,"column":4},"end":{"row":13,"column":4},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1463199489241,"hash":"82a0e146942f43428f565e3b099a2a524f3bfcbe"}
{"filter":false,"title":"package.json","tooltip":"/package.json","undoManager":{"mark":9,"position":9,"stack":[[{"start":{"row":49,"column":22},"end":{"row":50,"column":0},"action":"insert","lines":["",""],"id":52},{"start":{"row":50,"column":0},"end":{"row":50,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":50,"column":0},"end":{"row":54,"column":32},"action":"insert","lines":[" \"classnames\": \"^2.2.3\","," \"react\": \"^15.0.1\","," \"react-date-picker\": \"^4.0.10\","," \"react-dom\": \"^15.0.1\","," \"react-highcharts\": \"^8.3.0\""],"id":53}],[{"start":{"row":54,"column":32},"end":{"row":54,"column":36},"action":"remove","lines":[" "],"id":54},{"start":{"row":54,"column":32},"end":{"row":55,"column":0},"action":"insert","lines":["",""]},{"start":{"row":55,"column":0},"end":{"row":55,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":55,"column":0},"end":{"row":55,"column":4},"action":"remove","lines":[" "],"id":55}],[{"start":{"row":43,"column":0},"end":{"row":48,"column":0},"action":"remove","lines":[" \"classnames\": \"^2.2.3\","," \"react\": \"^15.0.1\","," \"react-date-picker\": \"^4.0.10\","," \"react-dom\": \"^15.0.1\","," \"react-highcharts\": \"^8.3.0\"",""],"id":56}],[{"start":{"row":49,"column":32},"end":{"row":49,"column":33},"action":"insert","lines":[","],"id":57}],[{"start":{"row":37,"column":62},"end":{"row":37,"column":63},"action":"insert","lines":["-"],"id":58}],[{"start":{"row":37,"column":63},"end":{"row":37,"column":64},"action":"insert","lines":["-"],"id":59}],[{"start":{"row":37,"column":64},"end":{"row":37,"column":65},"action":"insert","lines":["-"],"id":60}],[{"start":{"row":37,"column":65},"end":{"row":37,"column":66},"action":"insert","lines":[" "],"id":61}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":47,"column":35},"end":{"row":47,"column":35},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1463485363910,"hash":"857835862958817067e1deb25c857a3597527039"}

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

{"filter":false,"title":"app.jsx","tooltip":"/src/app.jsx","undoManager":{"mark":35,"position":35,"stack":[[{"start":{"row":72,"column":28},"end":{"row":72,"column":33},"action":"remove","lines":["value"],"id":4}],[{"start":{"row":72,"column":27},"end":{"row":72,"column":28},"action":"remove","lines":["."],"id":5}],[{"start":{"row":71,"column":30},"end":{"row":71,"column":39},"action":"remove","lines":["keywords."],"id":6}],[{"start":{"row":71,"column":30},"end":{"row":71,"column":31},"action":"insert","lines":["k"],"id":7}],[{"start":{"row":71,"column":31},"end":{"row":71,"column":32},"action":"insert","lines":["e"],"id":8}],[{"start":{"row":71,"column":32},"end":{"row":71,"column":33},"action":"insert","lines":["y"],"id":9}],[{"start":{"row":71,"column":33},"end":{"row":71,"column":34},"action":"insert","lines":["w"],"id":10}],[{"start":{"row":71,"column":34},"end":{"row":71,"column":35},"action":"insert","lines":["o"],"id":11}],[{"start":{"row":71,"column":35},"end":{"row":71,"column":36},"action":"insert","lines":["r"],"id":12}],[{"start":{"row":71,"column":36},"end":{"row":71,"column":37},"action":"insert","lines":["d"],"id":13}],[{"start":{"row":71,"column":37},"end":{"row":71,"column":38},"action":"insert","lines":["s"],"id":14}],[{"start":{"row":71,"column":38},"end":{"row":71,"column":39},"action":"insert","lines":["."],"id":15}],[{"start":{"row":71,"column":28},"end":{"row":71,"column":29},"action":"insert","lines":["p"],"id":16}],[{"start":{"row":71,"column":29},"end":{"row":71,"column":30},"action":"insert","lines":["."],"id":17}],[{"start":{"row":71,"column":30},"end":{"row":71,"column":31},"action":"insert","lines":["k"],"id":18}],[{"start":{"row":71,"column":31},"end":{"row":71,"column":32},"action":"insert","lines":["e"],"id":19}],[{"start":{"row":71,"column":32},"end":{"row":71,"column":33},"action":"insert","lines":["y"],"id":20}],[{"start":{"row":71,"column":33},"end":{"row":71,"column":34},"action":"insert","lines":["w"],"id":21}],[{"start":{"row":71,"column":34},"end":{"row":71,"column":35},"action":"insert","lines":["o"],"id":22}],[{"start":{"row":71,"column":35},"end":{"row":71,"column":36},"action":"insert","lines":["r"],"id":23}],[{"start":{"row":71,"column":36},"end":{"row":71,"column":37},"action":"insert","lines":["d"],"id":24}],[{"start":{"row":71,"column":37},"end":{"row":71,"column":38},"action":"insert","lines":["s"],"id":25}],[{"start":{"row":71,"column":38},"end":{"row":71,"column":39},"action":"insert","lines":[" "],"id":26}],[{"start":{"row":71,"column":39},"end":{"row":71,"column":40},"action":"insert","lines":["&"],"id":27}],[{"start":{"row":71,"column":40},"end":{"row":71,"column":41},"action":"insert","lines":["&"],"id":28}],[{"start":{"row":71,"column":41},"end":{"row":71,"column":42},"action":"insert","lines":[" "],"id":29}],[{"start":{"row":72,"column":17},"end":{"row":72,"column":31},"action":"insert","lines":["p.keywords && "],"id":30}],[{"start":{"row":72,"column":31},"end":{"row":72,"column":32},"action":"insert","lines":[" "],"id":31}],[{"start":{"row":72,"column":31},"end":{"row":72,"column":32},"action":"remove","lines":[" "],"id":32}],[{"start":{"row":72,"column":41},"end":{"row":72,"column":42},"action":"insert","lines":["."],"id":33}],[{"start":{"row":72,"column":42},"end":{"row":72,"column":43},"action":"insert","lines":["v"],"id":34}],[{"start":{"row":72,"column":43},"end":{"row":72,"column":44},"action":"insert","lines":["a"],"id":35}],[{"start":{"row":72,"column":44},"end":{"row":72,"column":45},"action":"insert","lines":["l"],"id":36}],[{"start":{"row":72,"column":45},"end":{"row":72,"column":46},"action":"insert","lines":["u"],"id":37}],[{"start":{"row":72,"column":46},"end":{"row":72,"column":47},"action":"insert","lines":["e"],"id":38}],[{"start":{"row":72,"column":0},"end":{"row":73,"column":0},"action":"remove","lines":["\t\t\t\t\t\tkeywords={ p.keywords && p.keywords.value }",""],"id":39},{"start":{"row":71,"column":0},"end":{"row":72,"column":0},"action":"insert","lines":["\t\t\t\t\t\tkeywords={ p.keywords && p.keywords.value }",""]}]]},"ace":{"folds":[],"scrolltop":645.5,"scrollleft":0,"selection":{"start":{"row":72,"column":71},"end":{"row":72,"column":71},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":48,"state":["jsxAttributes","jsx",1],"mode":"ace/mode/javascript"}},"timestamp":1463199776217,"hash":"9c9aed08ce8bcf39b9e70314df289573f0c08d33"}
{"filter":false,"title":"app.jsx","tooltip":"/src/app.jsx","undoManager":{"mark":10,"position":10,"stack":[[{"start":{"row":77,"column":9},"end":{"row":77,"column":40},"action":"remove","lines":["filtersProps={ p.filtersProps }"],"id":40},{"start":{"row":77,"column":9},"end":{"row":77,"column":40},"action":"insert","lines":["filtersProps={ p.filtersProps }"]}],[{"start":{"row":77,"column":40},"end":{"row":78,"column":0},"action":"insert","lines":["",""],"id":41},{"start":{"row":78,"column":0},"end":{"row":78,"column":9},"action":"insert","lines":[" \t\t\t\t\t"]}],[{"start":{"row":78,"column":9},"end":{"row":78,"column":40},"action":"insert","lines":["filtersProps={ p.filtersProps }"],"id":42}],[{"start":{"row":77,"column":9},"end":{"row":77,"column":21},"action":"remove","lines":["filtersProps"],"id":43},{"start":{"row":77,"column":9},"end":{"row":77,"column":10},"action":"insert","lines":["t"]}],[{"start":{"row":77,"column":10},"end":{"row":77,"column":11},"action":"insert","lines":["a"],"id":44}],[{"start":{"row":77,"column":11},"end":{"row":77,"column":12},"action":"insert","lines":["g"],"id":45}],[{"start":{"row":77,"column":12},"end":{"row":77,"column":13},"action":"insert","lines":["s"],"id":46}],[{"start":{"row":77,"column":18},"end":{"row":77,"column":30},"action":"remove","lines":["filtersProps"],"id":47},{"start":{"row":77,"column":18},"end":{"row":77,"column":22},"action":"insert","lines":["tags"]}],[{"start":{"row":78,"column":16},"end":{"row":78,"column":21},"action":"remove","lines":["Props"],"id":48}],[{"start":{"row":78,"column":21},"end":{"row":78,"column":33},"action":"remove","lines":["filtersProps"],"id":49},{"start":{"row":78,"column":21},"end":{"row":78,"column":28},"action":"insert","lines":["filters"]}],[{"start":{"row":77,"column":0},"end":{"row":78,"column":0},"action":"remove","lines":[" \t\t\t\t\ttags={ p.tags }",""],"id":50}]]},"ace":{"folds":[],"scrolltop":540,"scrollleft":0,"selection":{"start":{"row":36,"column":28},"end":{"row":36,"column":28},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":3,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1463436420563,"hash":"31b1b2cd330d786eaebde757d813324ace3c7eea"}

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

{"filter":false,"title":"index.js","tooltip":"/src/index.js","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":8,"column":19},"end":{"row":8,"column":19},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1463126388773,"hash":"4cdefd8fa44d40a432fc24f30e1638b506516941"}
{"filter":false,"title":"index.js","tooltip":"/src/index.js","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":8,"column":19},"end":{"row":8,"column":19},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":48,"mode":"ace/mode/javascript"}},"timestamp":1462418614000,"hash":"4cdefd8fa44d40a432fc24f30e1638b506516941"}

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

{"filter":false,"title":"markets-page.jsx","tooltip":"/src/modules/markets/components/markets-page.jsx","undoManager":{"mark":111,"position":111,"stack":[[{"start":{"row":47,"column":10},"end":{"row":47,"column":33},"action":"remove","lines":["className=\"l-container\""],"id":2}],[{"start":{"row":48,"column":15},"end":{"row":48,"column":38},"action":"insert","lines":["className=\"l-container\""],"id":3}],[{"start":{"row":48,"column":38},"end":{"row":48,"column":39},"action":"insert","lines":[" "],"id":4}],[{"start":{"row":47,"column":0},"end":{"row":48,"column":0},"action":"remove","lines":["\t\t\t\t\t<div >",""],"id":5}],[{"start":{"row":48,"column":0},"end":{"row":49,"column":0},"action":"remove","lines":["\t\t\t\t\t</div>",""],"id":6}],[{"start":{"row":47,"column":5},"end":{"row":47,"column":6},"action":"remove","lines":["\t"],"id":7}],[{"start":{"row":47,"column":36},"end":{"row":47,"column":37},"action":"insert","lines":[" "],"id":8}],[{"start":{"row":47,"column":37},"end":{"row":47,"column":38},"action":"insert","lines":["m"],"id":9}],[{"start":{"row":47,"column":38},"end":{"row":47,"column":39},"action":"insert","lines":["a"],"id":10}],[{"start":{"row":47,"column":39},"end":{"row":47,"column":40},"action":"insert","lines":["r"],"id":11}],[{"start":{"row":47,"column":40},"end":{"row":47,"column":41},"action":"insert","lines":["k"],"id":12}],[{"start":{"row":47,"column":41},"end":{"row":47,"column":42},"action":"insert","lines":["e"],"id":13}],[{"start":{"row":47,"column":42},"end":{"row":47,"column":43},"action":"insert","lines":["t"],"id":14}],[{"start":{"row":47,"column":43},"end":{"row":47,"column":44},"action":"insert","lines":["s"],"id":15}],[{"start":{"row":47,"column":44},"end":{"row":47,"column":45},"action":"insert","lines":["-"],"id":16}],[{"start":{"row":47,"column":45},"end":{"row":47,"column":46},"action":"insert","lines":["c"],"id":17}],[{"start":{"row":47,"column":46},"end":{"row":47,"column":47},"action":"insert","lines":["o"],"id":18}],[{"start":{"row":47,"column":47},"end":{"row":47,"column":48},"action":"insert","lines":["n"],"id":19}],[{"start":{"row":47,"column":48},"end":{"row":47,"column":49},"action":"insert","lines":["t"],"id":20}],[{"start":{"row":47,"column":49},"end":{"row":47,"column":50},"action":"insert","lines":["e"],"id":21}],[{"start":{"row":47,"column":50},"end":{"row":47,"column":51},"action":"insert","lines":["n"],"id":22}],[{"start":{"row":47,"column":51},"end":{"row":47,"column":52},"action":"insert","lines":["t"],"id":23}],[{"start":{"row":47,"column":25},"end":{"row":47,"column":37},"action":"remove","lines":["l-container "],"id":24}],[{"start":{"row":47,"column":25},"end":{"row":47,"column":37},"action":"insert","lines":["page-content"],"id":25}],[{"start":{"row":47,"column":37},"end":{"row":47,"column":38},"action":"insert","lines":[" "],"id":26}],[{"start":{"row":46,"column":34},"end":{"row":47,"column":0},"action":"insert","lines":["",""],"id":30},{"start":{"row":47,"column":0},"end":{"row":47,"column":4},"action":"insert","lines":["\t\t\t\t"]}],[{"start":{"row":47,"column":4},"end":{"row":47,"column":5},"action":"insert","lines":["\t"],"id":31}],[{"start":{"row":47,"column":5},"end":{"row":47,"column":6},"action":"insert","lines":["<"],"id":32}],[{"start":{"row":47,"column":6},"end":{"row":47,"column":7},"action":"insert","lines":["S"],"id":33}],[{"start":{"row":47,"column":7},"end":{"row":47,"column":8},"action":"insert","lines":["e"],"id":34}],[{"start":{"row":47,"column":8},"end":{"row":47,"column":9},"action":"insert","lines":["a"],"id":35}],[{"start":{"row":47,"column":9},"end":{"row":47,"column":10},"action":"insert","lines":["r"],"id":36}],[{"start":{"row":47,"column":10},"end":{"row":47,"column":11},"action":"insert","lines":["c"],"id":37}],[{"start":{"row":47,"column":11},"end":{"row":47,"column":12},"action":"insert","lines":["h"],"id":38}],[{"start":{"row":47,"column":12},"end":{"row":47,"column":13},"action":"insert","lines":["S"],"id":39}],[{"start":{"row":47,"column":13},"end":{"row":47,"column":14},"action":"insert","lines":["o"],"id":40}],[{"start":{"row":47,"column":14},"end":{"row":47,"column":15},"action":"insert","lines":["r"],"id":41}],[{"start":{"row":47,"column":15},"end":{"row":47,"column":16},"action":"insert","lines":["t"],"id":42}],[{"start":{"row":47,"column":16},"end":{"row":47,"column":17},"action":"insert","lines":[" "],"id":43}],[{"start":{"row":47,"column":17},"end":{"row":47,"column":18},"action":"insert","lines":["/"],"id":44}],[{"start":{"row":47,"column":18},"end":{"row":47,"column":19},"action":"insert","lines":[">"],"id":45}],[{"start":{"row":47,"column":17},"end":{"row":47,"column":25},"action":"insert","lines":["{ ...p }"],"id":46}],[{"start":{"row":47,"column":25},"end":{"row":47,"column":26},"action":"insert","lines":[" "],"id":47}],[{"start":{"row":47,"column":17},"end":{"row":47,"column":25},"action":"remove","lines":["{ ...p }"],"id":48}],[{"start":{"row":47,"column":16},"end":{"row":47,"column":17},"action":"remove","lines":[" "],"id":49}],[{"start":{"row":47,"column":16},"end":{"row":47,"column":17},"action":"remove","lines":[" "],"id":50},{"start":{"row":47,"column":16},"end":{"row":48,"column":0},"action":"insert","lines":["",""]},{"start":{"row":48,"column":0},"end":{"row":48,"column":5},"action":"insert","lines":["\t\t\t\t\t"]}],[{"start":{"row":48,"column":5},"end":{"row":49,"column":0},"action":"insert","lines":["",""],"id":51},{"start":{"row":49,"column":0},"end":{"row":49,"column":5},"action":"insert","lines":["\t\t\t\t\t"]}],[{"start":{"row":48,"column":0},"end":{"row":54,"column":36},"action":"insert","lines":["\t\tkeywords: React.PropTypes.string,","","\t\tselectedSort: React.PropTypes.object,","\t\tsortOptions: React.PropTypes.array,","","\t\tonChangeKeywords: React.PropTypes.func,","\t\tonChangeSort: React.PropTypes.func"],"id":52}],[{"start":{"row":48,"column":0},"end":{"row":48,"column":1},"action":"insert","lines":["\t"],"id":53},{"start":{"row":49,"column":0},"end":{"row":49,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":50,"column":0},"end":{"row":50,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":51,"column":0},"end":{"row":51,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":52,"column":0},"end":{"row":52,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":53,"column":0},"end":{"row":53,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":54,"column":0},"end":{"row":54,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":48,"column":0},"end":{"row":48,"column":1},"action":"insert","lines":["\t"],"id":54},{"start":{"row":49,"column":0},"end":{"row":49,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":50,"column":0},"end":{"row":50,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":51,"column":0},"end":{"row":51,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":52,"column":0},"end":{"row":52,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":53,"column":0},"end":{"row":53,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":54,"column":0},"end":{"row":54,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":48,"column":0},"end":{"row":48,"column":1},"action":"insert","lines":["\t"],"id":55},{"start":{"row":49,"column":0},"end":{"row":49,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":50,"column":0},"end":{"row":50,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":51,"column":0},"end":{"row":51,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":52,"column":0},"end":{"row":52,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":53,"column":0},"end":{"row":53,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":54,"column":0},"end":{"row":54,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":48,"column":0},"end":{"row":48,"column":1},"action":"insert","lines":["\t"],"id":56},{"start":{"row":49,"column":0},"end":{"row":49,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":50,"column":0},"end":{"row":50,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":51,"column":0},"end":{"row":51,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":52,"column":0},"end":{"row":52,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":53,"column":0},"end":{"row":53,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":54,"column":0},"end":{"row":54,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":48,"column":14},"end":{"row":48,"column":15},"action":"insert","lines":["="],"id":57}],[{"start":{"row":48,"column":15},"end":{"row":48,"column":16},"action":"insert","lines":["{"],"id":58}],[{"start":{"row":48,"column":16},"end":{"row":48,"column":17},"action":"insert","lines":[" "],"id":59}],[{"start":{"row":48,"column":17},"end":{"row":48,"column":18},"action":"insert","lines":["p"],"id":60}],[{"start":{"row":48,"column":18},"end":{"row":48,"column":19},"action":"insert","lines":["."],"id":61}],[{"start":{"row":48,"column":19},"end":{"row":48,"column":20},"action":"insert","lines":["l"],"id":62}],[{"start":{"row":48,"column":19},"end":{"row":48,"column":20},"action":"remove","lines":["l"],"id":63}],[{"start":{"row":48,"column":19},"end":{"row":48,"column":20},"action":"insert","lines":["k"],"id":64}],[{"start":{"row":48,"column":20},"end":{"row":48,"column":21},"action":"insert","lines":["e"],"id":65}],[{"start":{"row":48,"column":21},"end":{"row":48,"column":22},"action":"insert","lines":["y"],"id":66}],[{"start":{"row":48,"column":22},"end":{"row":48,"column":23},"action":"insert","lines":["w"],"id":67}],[{"start":{"row":48,"column":23},"end":{"row":48,"column":24},"action":"insert","lines":["o"],"id":68}],[{"start":{"row":48,"column":24},"end":{"row":48,"column":25},"action":"insert","lines":["r"],"id":69}],[{"start":{"row":48,"column":25},"end":{"row":48,"column":26},"action":"insert","lines":["d"],"id":70}],[{"start":{"row":48,"column":26},"end":{"row":48,"column":27},"action":"insert","lines":["s"],"id":71}],[{"start":{"row":48,"column":27},"end":{"row":48,"column":28},"action":"insert","lines":[" "],"id":72}],[{"start":{"row":48,"column":28},"end":{"row":48,"column":29},"action":"insert","lines":["}"],"id":73}],[{"start":{"row":48,"column":29},"end":{"row":48,"column":54},"action":"remove","lines":[": React.PropTypes.string,"],"id":74}],[{"start":{"row":50,"column":18},"end":{"row":50,"column":43},"action":"remove","lines":[": React.PropTypes.object,"],"id":75},{"start":{"row":50,"column":18},"end":{"row":50,"column":33},"action":"insert","lines":["={ p.keywords }"]}],[{"start":{"row":51,"column":17},"end":{"row":51,"column":41},"action":"remove","lines":[": React.PropTypes.array,"],"id":76},{"start":{"row":51,"column":17},"end":{"row":51,"column":32},"action":"insert","lines":["={ p.keywords }"]}],[{"start":{"row":53,"column":22},"end":{"row":53,"column":45},"action":"remove","lines":[": React.PropTypes.func,"],"id":77},{"start":{"row":53,"column":22},"end":{"row":53,"column":37},"action":"insert","lines":["={ p.keywords }"]}],[{"start":{"row":54,"column":18},"end":{"row":54,"column":41},"action":"remove","lines":[": React.PropTypes.func\t"],"id":78},{"start":{"row":54,"column":18},"end":{"row":54,"column":33},"action":"insert","lines":["={ p.keywords }"]}],[{"start":{"row":54,"column":23},"end":{"row":54,"column":31},"action":"remove","lines":["keywords"],"id":79},{"start":{"row":54,"column":23},"end":{"row":54,"column":35},"action":"insert","lines":["onChangeSort"]}],[{"start":{"row":53,"column":27},"end":{"row":53,"column":35},"action":"remove","lines":["keywords"],"id":80},{"start":{"row":53,"column":27},"end":{"row":53,"column":43},"action":"insert","lines":["onChangeKeywords"]}],[{"start":{"row":51,"column":22},"end":{"row":51,"column":30},"action":"remove","lines":["keywords"],"id":81},{"start":{"row":51,"column":22},"end":{"row":51,"column":33},"action":"insert","lines":["sortOptions"]}],[{"start":{"row":50,"column":23},"end":{"row":50,"column":31},"action":"remove","lines":["keywords"],"id":82},{"start":{"row":50,"column":23},"end":{"row":50,"column":35},"action":"insert","lines":["selectedSort"]}],[{"start":{"row":54,"column":38},"end":{"row":55,"column":5},"action":"remove","lines":["\t\t\t","\t\t\t\t\t"],"id":83}],[{"start":{"row":54,"column":40},"end":{"row":55,"column":0},"action":"insert","lines":["",""],"id":84},{"start":{"row":55,"column":0},"end":{"row":55,"column":6},"action":"insert","lines":["\t\t\t\t\t\t"]}],[{"start":{"row":49,"column":0},"end":{"row":49,"column":4},"action":"remove","lines":["\t\t\t\t"],"id":85},{"start":{"row":52,"column":0},"end":{"row":52,"column":4},"action":"remove","lines":["\t\t\t\t"]},{"start":{"row":55,"column":0},"end":{"row":55,"column":6},"action":"remove","lines":["\t\t\t\t\t\t"]}],[{"start":{"row":4,"column":59},"end":{"row":5,"column":0},"action":"insert","lines":["",""],"id":86}],[{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"insert","lines":["i"],"id":87}],[{"start":{"row":5,"column":1},"end":{"row":5,"column":2},"action":"insert","lines":["m"],"id":88}],[{"start":{"row":5,"column":2},"end":{"row":5,"column":3},"action":"insert","lines":["p"],"id":89}],[{"start":{"row":5,"column":3},"end":{"row":5,"column":4},"action":"insert","lines":["o"],"id":90}],[{"start":{"row":5,"column":4},"end":{"row":5,"column":5},"action":"insert","lines":["r"],"id":91}],[{"start":{"row":5,"column":5},"end":{"row":5,"column":6},"action":"insert","lines":["t"],"id":92}],[{"start":{"row":5,"column":6},"end":{"row":5,"column":7},"action":"insert","lines":[" "],"id":93}],[{"start":{"row":5,"column":7},"end":{"row":5,"column":17},"action":"insert","lines":["SearchSort"],"id":94}],[{"start":{"row":5,"column":17},"end":{"row":5,"column":18},"action":"insert","lines":[" "],"id":95}],[{"start":{"row":5,"column":18},"end":{"row":5,"column":19},"action":"insert","lines":["f"],"id":96}],[{"start":{"row":5,"column":19},"end":{"row":5,"column":20},"action":"insert","lines":["r"],"id":97}],[{"start":{"row":5,"column":20},"end":{"row":5,"column":21},"action":"insert","lines":["o"],"id":98}],[{"start":{"row":5,"column":21},"end":{"row":5,"column":22},"action":"insert","lines":["m"],"id":99}],[{"start":{"row":5,"column":22},"end":{"row":5,"column":23},"action":"insert","lines":[" "],"id":100}],[{"start":{"row":5,"column":23},"end":{"row":5,"column":24},"action":"insert","lines":["'"],"id":101}],[{"start":{"row":5,"column":24},"end":{"row":5,"column":25},"action":"insert","lines":["'"],"id":102}],[{"start":{"row":5,"column":25},"end":{"row":5,"column":26},"action":"insert","lines":[";"],"id":103}],[{"start":{"row":5,"column":23},"end":{"row":5,"column":26},"action":"remove","lines":["'';"],"id":104},{"start":{"row":5,"column":23},"end":{"row":5,"column":58},"action":"insert","lines":["'../../markets/components/markets';"]}],[{"start":{"row":5,"column":49},"end":{"row":5,"column":56},"action":"remove","lines":["markets"],"id":105},{"start":{"row":5,"column":49},"end":{"row":5,"column":50},"action":"insert","lines":["s"]}],[{"start":{"row":5,"column":50},"end":{"row":5,"column":51},"action":"insert","lines":["e"],"id":106}],[{"start":{"row":5,"column":51},"end":{"row":5,"column":52},"action":"insert","lines":["a"],"id":107}],[{"start":{"row":5,"column":52},"end":{"row":5,"column":53},"action":"insert","lines":["r"],"id":108}],[{"start":{"row":5,"column":53},"end":{"row":5,"column":54},"action":"insert","lines":["c"],"id":109}],[{"start":{"row":5,"column":54},"end":{"row":5,"column":55},"action":"insert","lines":["h"],"id":110}],[{"start":{"row":5,"column":55},"end":{"row":5,"column":56},"action":"insert","lines":["-"],"id":111}],[{"start":{"row":5,"column":56},"end":{"row":5,"column":57},"action":"insert","lines":["s"],"id":112}],[{"start":{"row":5,"column":57},"end":{"row":5,"column":58},"action":"insert","lines":["o"],"id":113}],[{"start":{"row":5,"column":58},"end":{"row":5,"column":59},"action":"insert","lines":["r"],"id":114}],[{"start":{"row":5,"column":59},"end":{"row":5,"column":60},"action":"insert","lines":["t"],"id":115}],[{"start":{"row":47,"column":4},"end":{"row":47,"column":34},"action":"remove","lines":["<div className=\"page-content\">"],"id":116},{"start":{"row":47,"column":4},"end":{"row":47,"column":34},"action":"insert","lines":["<div className=\"page-content\">"]}]]},"ace":{"folds":[],"scrolltop":360,"scrollleft":0,"selection":{"start":{"row":44,"column":11},"end":{"row":44,"column":11},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1463197429401,"hash":"26b059176b6dd6c94ab267b1e3e656972a9f21a8"}
{"filter":false,"title":"markets-page.jsx","tooltip":"/src/modules/markets/components/markets-page.jsx","undoManager":{"mark":6,"position":6,"stack":[[{"start":{"row":19,"column":35},"end":{"row":20,"column":0},"action":"insert","lines":["",""],"id":117},{"start":{"row":20,"column":0},"end":{"row":20,"column":2},"action":"insert","lines":["\t\t"]}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":6},"action":"insert","lines":["tags"],"id":118}],[{"start":{"row":20,"column":6},"end":{"row":20,"column":7},"action":"insert","lines":[":"],"id":119}],[{"start":{"row":20,"column":7},"end":{"row":20,"column":8},"action":"insert","lines":[" "],"id":120}],[{"start":{"row":20,"column":8},"end":{"row":20,"column":30},"action":"insert","lines":["React.PropTypes.array,"],"id":121}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":6},"action":"remove","lines":["tags"],"id":122},{"start":{"row":20,"column":2},"end":{"row":20,"column":9},"action":"insert","lines":["filters"]}],[{"start":{"row":21,"column":0},"end":{"row":22,"column":0},"action":"remove","lines":["\t\tfiltersProps: React.PropTypes.object,",""],"id":123}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":20,"column":33},"end":{"row":20,"column":33},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":105,"mode":"ace/mode/javascript"}},"timestamp":1463436712961,"hash":"6c19fe27b4755eb64e5436b87093fc109c718140"}

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

{"filter":false,"title":"markets.jsx","tooltip":"/src/modules/markets/components/markets.jsx","undoManager":{"mark":10,"position":10,"stack":[[{"start":{"row":31,"column":0},"end":{"row":46,"column":22},"action":"remove","lines":[" <div className=\"search-sort-bar\">"," <Input className=\"search-bar\" value={ p.keywords } placeholder=\"Search\" onChange={ p.onChangeKeywords } />",""," <div className=\"sort-container\">"," <span className=\"title\">Sort By</span>"," <DropDown"," className=\"sort\""," selected={ p.sortOptions.find(opt => opt.value === p.selectedSort.prop) }"," options={ p.sortOptions }"," onChange={ (prop) => { var sortOption = p.sortOptions.find(opt => opt.value === prop); p.onChangeSort(sortOption.value, sortOption.isDesc) }} />"," <button"," className=\"sort-direction-button\""," title={ p.selectedSort.isDesc ? 'descending selected' : 'ascending selected' }"," onClick={ () => p.onChangeSort(p.selectedSort.prop, !p.selectedSort.isDesc) }>{ p.selectedSort.isDesc ? <span>&#xf161;</span> : <span>&#xf160;</span> }</button>"," </div>"," </div>"],"id":8}],[{"start":{"row":31,"column":0},"end":{"row":32,"column":0},"action":"remove","lines":["",""],"id":9}],[{"start":{"row":31,"column":0},"end":{"row":32,"column":0},"action":"remove","lines":["",""],"id":10}],[{"start":{"row":8,"column":0},"end":{"row":9,"column":0},"action":"remove","lines":["import DropDown from '../../common/components/dropdown';",""],"id":11}],[{"start":{"row":6,"column":0},"end":{"row":7,"column":0},"action":"remove","lines":["import Input from '../../common/components/input';",""],"id":12}],[{"start":{"row":14,"column":0},"end":{"row":15,"column":0},"action":"remove","lines":["\t\tkeywords: React.PropTypes.string,",""],"id":13}],[{"start":{"row":20,"column":0},"end":{"row":21,"column":0},"action":"remove","lines":["\t\tonChangeKeywords: React.PropTypes.func,",""],"id":14}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"remove","lines":["\t\tselectedSort: React.PropTypes.object,",""],"id":15}],[{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":["\t\tonChangeSort: React.PropTypes.func",""],"id":16}],[{"start":{"row":17,"column":37},"end":{"row":18,"column":0},"action":"remove","lines":["",""],"id":17}],[{"start":{"row":17,"column":36},"end":{"row":17,"column":37},"action":"remove","lines":[","],"id":18}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":17,"column":36},"end":{"row":17,"column":36},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":91,"mode":"ace/mode/javascript"}},"timestamp":1463197243623,"hash":"8e7227481645d5cd44d2181b2f33ccfe77f35809"}
{"filter":false,"title":"markets.jsx","tooltip":"/src/modules/markets/components/markets.jsx","undoManager":{"mark":26,"position":26,"stack":[[{"start":{"row":4,"column":27},"end":{"row":4,"column":34},"action":"remove","lines":["markets"],"id":1},{"start":{"row":4,"column":27},"end":{"row":4,"column":28},"action":"insert","lines":["f"]}],[{"start":{"row":4,"column":28},"end":{"row":4,"column":29},"action":"insert","lines":["i"],"id":2}],[{"start":{"row":4,"column":29},"end":{"row":4,"column":30},"action":"insert","lines":["l"],"id":3}],[{"start":{"row":4,"column":30},"end":{"row":4,"column":31},"action":"insert","lines":["t"],"id":4}],[{"start":{"row":4,"column":31},"end":{"row":4,"column":32},"action":"insert","lines":["e"],"id":5}],[{"start":{"row":4,"column":32},"end":{"row":4,"column":33},"action":"insert","lines":["r"],"id":6}],[{"start":{"row":4,"column":33},"end":{"row":4,"column":34},"action":"insert","lines":["s"],"id":7}],[{"start":{"row":13,"column":33},"end":{"row":14,"column":0},"action":"insert","lines":["",""],"id":8},{"start":{"row":14,"column":0},"end":{"row":14,"column":2},"action":"insert","lines":["\t\t"]}],[{"start":{"row":14,"column":2},"end":{"row":14,"column":30},"action":"insert","lines":["tags: React.PropTypes.array,"],"id":9}],[{"start":{"row":30,"column":47},"end":{"row":30,"column":51},"action":"insert","lines":["tags"],"id":10}],[{"start":{"row":30,"column":51},"end":{"row":30,"column":52},"action":"insert","lines":["="],"id":11}],[{"start":{"row":30,"column":52},"end":{"row":30,"column":53},"action":"insert","lines":["{"],"id":12}],[{"start":{"row":30,"column":53},"end":{"row":30,"column":54},"action":"insert","lines":[" "],"id":13}],[{"start":{"row":30,"column":54},"end":{"row":30,"column":58},"action":"insert","lines":["tags"],"id":14}],[{"start":{"row":30,"column":58},"end":{"row":30,"column":59},"action":"insert","lines":[" "],"id":15}],[{"start":{"row":30,"column":59},"end":{"row":30,"column":60},"action":"insert","lines":["}"],"id":16}],[{"start":{"row":30,"column":60},"end":{"row":30,"column":61},"action":"insert","lines":[" "],"id":17}],[{"start":{"row":30,"column":54},"end":{"row":30,"column":55},"action":"insert","lines":["p"],"id":18}],[{"start":{"row":30,"column":55},"end":{"row":30,"column":56},"action":"insert","lines":["."],"id":19}],[{"start":{"row":15,"column":2},"end":{"row":15,"column":14},"action":"remove","lines":["filtersProps"],"id":20},{"start":{"row":15,"column":2},"end":{"row":15,"column":9},"action":"insert","lines":["filters"]}],[{"start":{"row":14,"column":2},"end":{"row":14,"column":6},"action":"remove","lines":["tags"],"id":21},{"start":{"row":14,"column":2},"end":{"row":14,"column":9},"action":"insert","lines":["filters"]}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":["\t\tfilters: React.PropTypes.object,",""],"id":22}],[{"start":{"row":29,"column":32},"end":{"row":29,"column":44},"action":"remove","lines":["filtersProps"],"id":23},{"start":{"row":29,"column":32},"end":{"row":29,"column":39},"action":"insert","lines":["filters"]}],[{"start":{"row":29,"column":42},"end":{"row":29,"column":58},"action":"remove","lines":["tags={ p.tags } "],"id":24}],[{"start":{"row":29,"column":25},"end":{"row":29,"column":32},"action":"insert","lines":["filters"],"id":25}],[{"start":{"row":29,"column":32},"end":{"row":29,"column":33},"action":"insert","lines":["="],"id":26}],[{"start":{"row":29,"column":35},"end":{"row":29,"column":38},"action":"remove","lines":["..."],"id":27}]]},"ace":{"folds":[],"scrolltop":120,"scrollleft":0,"selection":{"start":{"row":29,"column":35},"end":{"row":29,"column":35},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":95,"mode":"ace/mode/javascript"}},"timestamp":1463436770000,"hash":"02415f6334a34a53181b70447e65982f96a81648"}

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

{"filter":false,"title":"search-sort.jsx","tooltip":"/src/modules/markets/components/search-sort.jsx","undoManager":{"mark":62,"position":62,"stack":[[{"start":{"row":0,"column":0},"end":{"row":15,"column":22},"action":"insert","lines":[" <div className=\"search-sort-bar\">"," <Input className=\"search-bar\" value={ p.keywords } placeholder=\"Search\" onChange={ p.onChangeKeywords } />",""," <div className=\"sort-container\">"," <span className=\"title\">Sort By</span>"," <DropDown"," className=\"sort\""," selected={ p.sortOptions.find(opt => opt.value === p.selectedSort.prop) }"," options={ p.sortOptions }"," onChange={ (prop) => { var sortOption = p.sortOptions.find(opt => opt.value === prop); p.onChangeSort(sortOption.value, sortOption.isDesc) }} />"," <button"," className=\"sort-direction-button\""," title={ p.selectedSort.isDesc ? 'descending selected' : 'ascending selected' }"," onClick={ () => p.onChangeSort(p.selectedSort.prop, !p.selectedSort.isDesc) }>{ p.selectedSort.isDesc ? <span>&#xf161;</span> : <span>&#xf160;</span> }</button>"," </div>"," </div>"],"id":1}],[{"start":{"row":0,"column":0},"end":{"row":66,"column":3},"action":"insert","lines":["import React from 'react';","import classnames from 'classnames';","","import MarketsHeader from '../../markets/components/markets-header';","import Filters from '../../markets/components/filters';","import MarketItem from '../../market/components/market-item';","import Input from '../../common/components/input';","import Link from '../../link/components/link';","import DropDown from '../../common/components/dropdown';","","module.exports = React.createClass({"," propTypes: {"," className: React.PropTypes.string,","","\t\tmarketsHeader: React.PropTypes.object,","\t\tmarkets: React.PropTypes.array,","\t\tkeywords: React.PropTypes.string,","\t\tfiltersProps: React.PropTypes.object,","\t\tpagination: React.PropTypes.object,","","\t\tselectedSort: React.PropTypes.object,","\t\tsortOptions: React.PropTypes.array,","","\t\tonChangeKeywords: React.PropTypes.func,","\t\tonChangeSort: React.PropTypes.func"," },",""," render: function() {"," var p = this.props;"," return ("," <section className={ p.className }>"," <div className=\"markets-header-bar\">"," <Link className=\"button make\" { ...p.createMarketLink }>Make a Market</Link>"," <MarketsHeader { ...p.marketsHeader } />"," </div>",""," <Filters { ...p.filtersProps } />",""," <div className=\"markets-list\">"," { (p.markets || []).map(market =>"," <MarketItem"," key={ market.id }"," { ...market } />"," )}",""," { !!p.pagination && !!p.pagination.numUnpaginated &&"," <div className=\"pagination\">"," { !!p.pagination && !!p.pagination.previousPageNum &&"," <span className=\"button-container prev\" onClick={ () => p.pagination.onUpdateSelectedPageNum(p.pagination.previousPageNum) }>"," <button className=\"button prev\">&#xf104;</button>"," {/* <span className=\"num-label\">{ p.pagination.previousItemNum }</span> */}"," </span>"," }"," <span className=\"displaying\">{ p.pagination.startItemNum + '-' + p.pagination.endItemNum + ' of ' + p.pagination.numUnpaginated }</span>"," { !!p.pagination && !!p.pagination.nextPageNum &&"," <span className=\"button-container next\" onClick={ () => p.pagination.onUpdateSelectedPageNum(p.pagination.nextPageNum) }>"," {/* <span className=\"num-label\">{ p.pagination.nextItemNum }</span> */}"," <button className=\"button next\">&#xf105;</button>"," </span>"," }"," </div>"," }"," </div>"," </section>"," );"," }","});"],"id":2}],[{"start":{"row":66,"column":3},"end":{"row":66,"column":19},"action":"remove","lines":[" "],"id":3},{"start":{"row":66,"column":3},"end":{"row":67,"column":0},"action":"insert","lines":["",""]}],[{"start":{"row":67,"column":0},"end":{"row":82,"column":22},"action":"remove","lines":["<div className=\"search-sort-bar\">"," <Input className=\"search-bar\" value={ p.keywords } placeholder=\"Search\" onChange={ p.onChangeKeywords } />",""," <div className=\"sort-container\">"," <span className=\"title\">Sort By</span>"," <DropDown"," className=\"sort\""," selected={ p.sortOptions.find(opt => opt.value === p.selectedSort.prop) }"," options={ p.sortOptions }"," onChange={ (prop) => { var sortOption = p.sortOptions.find(opt => opt.value === prop); p.onChangeSort(sortOption.value, sortOption.isDesc) }} />"," <button"," className=\"sort-direction-button\""," title={ p.selectedSort.isDesc ? 'descending selected' : 'ascending selected' }"," onClick={ () => p.onChangeSort(p.selectedSort.prop, !p.selectedSort.isDesc) }>{ p.selectedSort.isDesc ? <span>&#xf161;</span> : <span>&#xf160;</span> }</button>"," </div>"," </div>"],"id":4}],[{"start":{"row":30,"column":1},"end":{"row":63,"column":22},"action":"remove","lines":[" <section className={ p.className }>"," <div className=\"markets-header-bar\">"," <Link className=\"button make\" { ...p.createMarketLink }>Make a Market</Link>"," <MarketsHeader { ...p.marketsHeader } />"," </div>",""," <Filters { ...p.filtersProps } />",""," <div className=\"markets-list\">"," { (p.markets || []).map(market =>"," <MarketItem"," key={ market.id }"," { ...market } />"," )}",""," { !!p.pagination && !!p.pagination.numUnpaginated &&"," <div className=\"pagination\">"," { !!p.pagination && !!p.pagination.previousPageNum &&"," <span className=\"button-container prev\" onClick={ () => p.pagination.onUpdateSelectedPageNum(p.pagination.previousPageNum) }>"," <button className=\"button prev\">&#xf104;</button>"," {/* <span className=\"num-label\">{ p.pagination.previousItemNum }</span> */}"," </span>"," }"," <span className=\"displaying\">{ p.pagination.startItemNum + '-' + p.pagination.endItemNum + ' of ' + p.pagination.numUnpaginated }</span>"," { !!p.pagination && !!p.pagination.nextPageNum &&"," <span className=\"button-container next\" onClick={ () => p.pagination.onUpdateSelectedPageNum(p.pagination.nextPageNum) }>"," {/* <span className=\"num-label\">{ p.pagination.nextItemNum }</span> */}"," <button className=\"button next\">&#xf105;</button>"," </span>"," }"," </div>"," }"," </div>"," </section>"],"id":5},{"start":{"row":30,"column":1},"end":{"row":45,"column":22},"action":"insert","lines":["<div className=\"search-sort-bar\">"," <Input className=\"search-bar\" value={ p.keywords } placeholder=\"Search\" onChange={ p.onChangeKeywords } />",""," <div className=\"sort-container\">"," <span className=\"title\">Sort By</span>"," <DropDown"," className=\"sort\""," selected={ p.sortOptions.find(opt => opt.value === p.selectedSort.prop) }"," options={ p.sortOptions }"," onChange={ (prop) => { var sortOption = p.sortOptions.find(opt => opt.value === prop); p.onChangeSort(sortOption.value, sortOption.isDesc) }} />"," <button"," className=\"sort-direction-button\""," title={ p.selectedSort.isDesc ? 'descending selected' : 'ascending selected' }"," onClick={ () => p.onChangeSort(p.selectedSort.prop, !p.selectedSort.isDesc) }>{ p.selectedSort.isDesc ? <span>&#xf161;</span> : <span>&#xf160;</span> }</button>"," </div>"," </div>"]}],[{"start":{"row":30,"column":0},"end":{"row":30,"column":1},"action":"remove","lines":[" "],"id":6},{"start":{"row":31,"column":0},"end":{"row":31,"column":4},"action":"remove","lines":[" "]},{"start":{"row":33,"column":0},"end":{"row":33,"column":4},"action":"remove","lines":[" "]},{"start":{"row":34,"column":0},"end":{"row":34,"column":4},"action":"remove","lines":[" "]},{"start":{"row":35,"column":0},"end":{"row":35,"column":4},"action":"remove","lines":[" "]},{"start":{"row":36,"column":0},"end":{"row":36,"column":4},"action":"remove","lines":[" "]},{"start":{"row":37,"column":0},"end":{"row":37,"column":4},"action":"remove","lines":[" "]},{"start":{"row":38,"column":0},"end":{"row":38,"column":4},"action":"remove","lines":[" "]},{"start":{"row":39,"column":0},"end":{"row":39,"column":4},"action":"remove","lines":[" "]},{"start":{"row":40,"column":0},"end":{"row":40,"column":4},"action":"remove","lines":[" "]},{"start":{"row":41,"column":0},"end":{"row":41,"column":4},"action":"remove","lines":[" "]},{"start":{"row":42,"column":0},"end":{"row":42,"column":4},"action":"remove","lines":[" "]},{"start":{"row":43,"column":0},"end":{"row":43,"column":4},"action":"remove","lines":[" "]},{"start":{"row":44,"column":0},"end":{"row":44,"column":4},"action":"remove","lines":[" "]},{"start":{"row":45,"column":0},"end":{"row":45,"column":4},"action":"remove","lines":[" "]}],[{"start":{"row":31,"column":0},"end":{"row":31,"column":4},"action":"remove","lines":[" "],"id":7},{"start":{"row":33,"column":0},"end":{"row":33,"column":4},"action":"remove","lines":[" "]},{"start":{"row":34,"column":0},"end":{"row":34,"column":4},"action":"remove","lines":[" "]},{"start":{"row":35,"column":0},"end":{"row":35,"column":4},"action":"remove","lines":[" "]},{"start":{"row":36,"column":0},"end":{"row":36,"column":4},"action":"remove","lines":[" "]},{"start":{"row":37,"column":0},"end":{"row":37,"column":4},"action":"remove","lines":[" "]},{"start":{"row":38,"column":0},"end":{"row":38,"column":4},"action":"remove","lines":[" "]},{"start":{"row":39,"column":0},"end":{"row":39,"column":4},"action":"remove","lines":[" "]},{"start":{"row":40,"column":0},"end":{"row":40,"column":4},"action":"remove","lines":[" "]},{"start":{"row":41,"column":0},"end":{"row":41,"column":4},"action":"remove","lines":[" "]},{"start":{"row":42,"column":0},"end":{"row":42,"column":4},"action":"remove","lines":[" "]},{"start":{"row":43,"column":0},"end":{"row":43,"column":4},"action":"remove","lines":[" "]},{"start":{"row":44,"column":0},"end":{"row":44,"column":4},"action":"remove","lines":[" "]},{"start":{"row":45,"column":0},"end":{"row":45,"column":4},"action":"remove","lines":[" "]}],[{"start":{"row":31,"column":0},"end":{"row":31,"column":4},"action":"remove","lines":[" "],"id":8},{"start":{"row":33,"column":0},"end":{"row":33,"column":4},"action":"remove","lines":[" "]},{"start":{"row":34,"column":0},"end":{"row":34,"column":4},"action":"remove","lines":[" "]},{"start":{"row":35,"column":0},"end":{"row":35,"column":4},"action":"remove","lines":[" "]},{"start":{"row":36,"column":0},"end":{"row":36,"column":4},"action":"remove","lines":[" "]},{"start":{"row":37,"column":0},"end":{"row":37,"column":4},"action":"remove","lines":[" "]},{"start":{"row":38,"column":0},"end":{"row":38,"column":4},"action":"remove","lines":[" "]},{"start":{"row":39,"column":0},"end":{"row":39,"column":4},"action":"remove","lines":[" "]},{"start":{"row":40,"column":0},"end":{"row":40,"column":4},"action":"remove","lines":[" "]},{"start":{"row":41,"column":0},"end":{"row":41,"column":4},"action":"remove","lines":[" "]},{"start":{"row":42,"column":0},"end":{"row":42,"column":4},"action":"remove","lines":[" "]},{"start":{"row":43,"column":0},"end":{"row":43,"column":4},"action":"remove","lines":[" "]},{"start":{"row":44,"column":0},"end":{"row":44,"column":4},"action":"remove","lines":[" "]},{"start":{"row":45,"column":0},"end":{"row":45,"column":4},"action":"remove","lines":[" "]}],[{"start":{"row":31,"column":0},"end":{"row":31,"column":4},"action":"remove","lines":[" "],"id":9},{"start":{"row":33,"column":0},"end":{"row":33,"column":4},"action":"remove","lines":[" "]},{"start":{"row":34,"column":0},"end":{"row":34,"column":4},"action":"remove","lines":[" "]},{"start":{"row":35,"column":0},"end":{"row":35,"column":4},"action":"remove","lines":[" "]},{"start":{"row":36,"column":0},"end":{"row":36,"column":4},"action":"remove","lines":[" "]},{"start":{"row":37,"column":0},"end":{"row":37,"column":4},"action":"remove","lines":[" "]},{"start":{"row":38,"column":0},"end":{"row":38,"column":4},"action":"remove","lines":[" "]},{"start":{"row":39,"column":0},"end":{"row":39,"column":4},"action":"remove","lines":[" "]},{"start":{"row":40,"column":0},"end":{"row":40,"column":4},"action":"remove","lines":[" "]},{"start":{"row":41,"column":0},"end":{"row":41,"column":4},"action":"remove","lines":[" "]},{"start":{"row":42,"column":0},"end":{"row":42,"column":4},"action":"remove","lines":[" "]},{"start":{"row":43,"column":0},"end":{"row":43,"column":4},"action":"remove","lines":[" "]},{"start":{"row":44,"column":0},"end":{"row":44,"column":4},"action":"remove","lines":[" "]},{"start":{"row":45,"column":0},"end":{"row":45,"column":4},"action":"remove","lines":[" "]}],[{"start":{"row":30,"column":0},"end":{"row":30,"column":1},"action":"insert","lines":["\t"],"id":10},{"start":{"row":31,"column":0},"end":{"row":31,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":32,"column":0},"end":{"row":32,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":35,"column":0},"end":{"row":35,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":36,"column":0},"end":{"row":36,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":37,"column":0},"end":{"row":37,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":38,"column":0},"end":{"row":38,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":39,"column":0},"end":{"row":39,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":40,"column":0},"end":{"row":40,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":41,"column":0},"end":{"row":41,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":42,"column":0},"end":{"row":42,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":43,"column":0},"end":{"row":43,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":44,"column":0},"end":{"row":44,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":45,"column":0},"end":{"row":45,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":30,"column":0},"end":{"row":30,"column":1},"action":"insert","lines":["\t"],"id":11},{"start":{"row":31,"column":0},"end":{"row":31,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":32,"column":0},"end":{"row":32,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":35,"column":0},"end":{"row":35,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":36,"column":0},"end":{"row":36,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":37,"column":0},"end":{"row":37,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":38,"column":0},"end":{"row":38,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":39,"column":0},"end":{"row":39,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":40,"column":0},"end":{"row":40,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":41,"column":0},"end":{"row":41,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":42,"column":0},"end":{"row":42,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":43,"column":0},"end":{"row":43,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":44,"column":0},"end":{"row":44,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":45,"column":0},"end":{"row":45,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":30,"column":0},"end":{"row":30,"column":1},"action":"insert","lines":["\t"],"id":12},{"start":{"row":31,"column":0},"end":{"row":31,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":32,"column":0},"end":{"row":32,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":35,"column":0},"end":{"row":35,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":36,"column":0},"end":{"row":36,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":37,"column":0},"end":{"row":37,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":38,"column":0},"end":{"row":38,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":39,"column":0},"end":{"row":39,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":40,"column":0},"end":{"row":40,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":41,"column":0},"end":{"row":41,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":42,"column":0},"end":{"row":42,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":43,"column":0},"end":{"row":43,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":44,"column":0},"end":{"row":44,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":45,"column":0},"end":{"row":45,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":["\t\tmarkets: React.PropTypes.array,",""],"id":13}],[{"start":{"row":14,"column":0},"end":{"row":15,"column":0},"action":"remove","lines":["\t\tmarketsHeader: React.PropTypes.object,",""],"id":14}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":["\t\tfiltersProps: React.PropTypes.object,",""],"id":15}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":["\t\tpagination: React.PropTypes.object,",""],"id":16}],[{"start":{"row":28,"column":0},"end":{"row":28,"column":3},"action":"remove","lines":["\t\t\t"],"id":17}],[{"start":{"row":12,"column":0},"end":{"row":13,"column":0},"action":"remove","lines":[" className: React.PropTypes.string,",""],"id":18}],[{"start":{"row":12,"column":0},"end":{"row":13,"column":0},"action":"remove","lines":["",""],"id":19}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["import MarketsHeader from '../../markets/components/markets-header';",""],"id":20}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["import Filters from '../../markets/components/filters';",""],"id":21}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["import MarketItem from '../../market/components/market-item';",""],"id":22}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"remove","lines":["import Link from '../../link/components/link';",""],"id":23}],[{"start":{"row":20,"column":3},"end":{"row":20,"column":36},"action":"remove","lines":["<div className=\"search-sort-bar\">"],"id":25},{"start":{"row":20,"column":3},"end":{"row":20,"column":36},"action":"insert","lines":["<div className=\"search-sort-bar\">"]}],[{"start":{"row":20,"column":36},"end":{"row":21,"column":0},"action":"insert","lines":["",""],"id":26},{"start":{"row":21,"column":0},"end":{"row":21,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":21,"column":3},"end":{"row":21,"column":4},"action":"insert","lines":["\t"],"id":27}],[{"start":{"row":21,"column":4},"end":{"row":21,"column":37},"action":"insert","lines":["<div className=\"search-sort-bar\">"],"id":28}],[{"start":{"row":20,"column":34},"end":{"row":20,"column":35},"action":"insert","lines":["-"],"id":29}],[{"start":{"row":20,"column":35},"end":{"row":20,"column":36},"action":"insert","lines":["c"],"id":30}],[{"start":{"row":20,"column":36},"end":{"row":20,"column":37},"action":"insert","lines":["o"],"id":31}],[{"start":{"row":20,"column":37},"end":{"row":20,"column":38},"action":"insert","lines":["n"],"id":32}],[{"start":{"row":20,"column":38},"end":{"row":20,"column":39},"action":"insert","lines":["t"],"id":33}],[{"start":{"row":20,"column":39},"end":{"row":20,"column":40},"action":"insert","lines":["a"],"id":34}],[{"start":{"row":20,"column":40},"end":{"row":20,"column":41},"action":"insert","lines":["i"],"id":35}],[{"start":{"row":20,"column":41},"end":{"row":20,"column":42},"action":"insert","lines":["n"],"id":36}],[{"start":{"row":20,"column":42},"end":{"row":20,"column":43},"action":"insert","lines":["e"],"id":37}],[{"start":{"row":20,"column":43},"end":{"row":20,"column":44},"action":"insert","lines":["r"],"id":38}],[{"start":{"row":20,"column":34},"end":{"row":20,"column":44},"action":"remove","lines":["-container"],"id":39}],[{"start":{"row":21,"column":35},"end":{"row":21,"column":45},"action":"insert","lines":["-container"],"id":40}],[{"start":{"row":21,"column":36},"end":{"row":21,"column":45},"action":"remove","lines":["container"],"id":41},{"start":{"row":21,"column":36},"end":{"row":21,"column":37},"action":"insert","lines":["c"]}],[{"start":{"row":21,"column":37},"end":{"row":21,"column":38},"action":"insert","lines":["o"],"id":42}],[{"start":{"row":21,"column":38},"end":{"row":21,"column":39},"action":"insert","lines":["n"],"id":43}],[{"start":{"row":21,"column":39},"end":{"row":21,"column":40},"action":"insert","lines":["t"],"id":44}],[{"start":{"row":21,"column":40},"end":{"row":21,"column":41},"action":"insert","lines":["e"],"id":45}],[{"start":{"row":21,"column":41},"end":{"row":21,"column":42},"action":"insert","lines":["n"],"id":46}],[{"start":{"row":21,"column":42},"end":{"row":21,"column":43},"action":"insert","lines":["t"],"id":47}],[{"start":{"row":22,"column":0},"end":{"row":22,"column":1},"action":"insert","lines":["\t"],"id":48},{"start":{"row":23,"column":0},"end":{"row":23,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":24,"column":0},"end":{"row":24,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":25,"column":0},"end":{"row":25,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":26,"column":0},"end":{"row":26,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":27,"column":0},"end":{"row":27,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":28,"column":0},"end":{"row":28,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":29,"column":0},"end":{"row":29,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":30,"column":0},"end":{"row":30,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":31,"column":0},"end":{"row":31,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":32,"column":0},"end":{"row":32,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":35,"column":0},"end":{"row":35,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":35,"column":8},"end":{"row":35,"column":14},"action":"remove","lines":["</div>"],"id":49},{"start":{"row":35,"column":8},"end":{"row":35,"column":14},"action":"insert","lines":["</div>"]}],[{"start":{"row":35,"column":14},"end":{"row":36,"column":0},"action":"insert","lines":["",""],"id":50},{"start":{"row":36,"column":0},"end":{"row":36,"column":8},"action":"insert","lines":["\t\t\t\t "]}],[{"start":{"row":36,"column":7},"end":{"row":36,"column":8},"action":"remove","lines":[" "],"id":51}],[{"start":{"row":36,"column":7},"end":{"row":36,"column":13},"action":"insert","lines":["</div>"],"id":52}],[{"start":{"row":36,"column":6},"end":{"row":36,"column":7},"action":"remove","lines":[" "],"id":53}],[{"start":{"row":36,"column":5},"end":{"row":36,"column":6},"action":"remove","lines":[" "],"id":54}],[{"start":{"row":36,"column":4},"end":{"row":36,"column":5},"action":"remove","lines":[" "],"id":55}],[{"start":{"row":36,"column":3},"end":{"row":36,"column":4},"action":"remove","lines":["\t"],"id":56}],[{"start":{"row":36,"column":3},"end":{"row":36,"column":4},"action":"insert","lines":["\t"],"id":57}],[{"start":{"row":23,"column":0},"end":{"row":23,"column":1},"action":"remove","lines":["\t"],"id":58}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":4},"action":"remove","lines":[" "],"id":59},{"start":{"row":7,"column":0},"end":{"row":7,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":15,"column":0},"end":{"row":15,"column":4},"action":"remove","lines":[" "]},{"start":{"row":15,"column":0},"end":{"row":15,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":17,"column":0},"end":{"row":17,"column":4},"action":"remove","lines":[" "]},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":18,"column":0},"end":{"row":18,"column":8},"action":"remove","lines":[" "]},{"start":{"row":18,"column":0},"end":{"row":18,"column":2},"action":"insert","lines":["\t\t"]},{"start":{"row":19,"column":0},"end":{"row":19,"column":8},"action":"remove","lines":[" "]},{"start":{"row":19,"column":0},"end":{"row":19,"column":2},"action":"insert","lines":["\t\t"]},{"start":{"row":22,"column":0},"end":{"row":22,"column":8},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":22,"column":0},"end":{"row":22,"column":5},"action":"insert","lines":["\t\t\t\t\t"]},{"start":{"row":24,"column":0},"end":{"row":24,"column":8},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":24,"column":0},"end":{"row":24,"column":5},"action":"insert","lines":["\t\t\t\t\t"]},{"start":{"row":25,"column":0},"end":{"row":25,"column":12},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":25,"column":0},"end":{"row":25,"column":6},"action":"insert","lines":["\t\t\t\t\t\t"]},{"start":{"row":26,"column":0},"end":{"row":26,"column":12},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":26,"column":0},"end":{"row":26,"column":6},"action":"insert","lines":["\t\t\t\t\t\t"]},{"start":{"row":27,"column":0},"end":{"row":27,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":27,"column":0},"end":{"row":27,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":28,"column":0},"end":{"row":28,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":28,"column":0},"end":{"row":28,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":29,"column":0},"end":{"row":29,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":29,"column":0},"end":{"row":29,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":30,"column":0},"end":{"row":30,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":30,"column":0},"end":{"row":30,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":31,"column":0},"end":{"row":31,"column":12},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":31,"column":0},"end":{"row":31,"column":6},"action":"insert","lines":["\t\t\t\t\t\t"]},{"start":{"row":32,"column":0},"end":{"row":32,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":32,"column":0},"end":{"row":32,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":33,"column":0},"end":{"row":33,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":34,"column":0},"end":{"row":34,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":35,"column":0},"end":{"row":35,"column":8},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":35,"column":0},"end":{"row":35,"column":5},"action":"insert","lines":["\t\t\t\t\t"]},{"start":{"row":38,"column":0},"end":{"row":38,"column":8},"action":"remove","lines":[" "]},{"start":{"row":38,"column":0},"end":{"row":38,"column":2},"action":"insert","lines":["\t\t"]},{"start":{"row":39,"column":0},"end":{"row":39,"column":4},"action":"remove","lines":[" "]},{"start":{"row":39,"column":0},"end":{"row":39,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":30,"column":151},"end":{"row":31,"column":0},"action":"insert","lines":["",""],"id":60},{"start":{"row":31,"column":0},"end":{"row":31,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]}],[{"start":{"row":25,"column":44},"end":{"row":26,"column":0},"action":"insert","lines":["",""],"id":61},{"start":{"row":26,"column":0},"end":{"row":26,"column":6},"action":"insert","lines":["\t\t\t\t\t\t"]}],[{"start":{"row":26,"column":0},"end":{"row":26,"column":6},"action":"remove","lines":["\t\t\t\t\t\t"],"id":62},{"start":{"row":32,"column":0},"end":{"row":32,"column":7},"action":"remove","lines":["\t\t\t\t\t\t\t"]}],[{"start":{"row":20,"column":30},"end":{"row":20,"column":34},"action":"remove","lines":["-bar"],"id":63}],[{"start":{"row":21,"column":32},"end":{"row":21,"column":36},"action":"remove","lines":["bar-"],"id":64}],[{"start":{"row":21,"column":0},"end":{"row":21,"column":1},"action":"remove","lines":["\t"],"id":67},{"start":{"row":23,"column":0},"end":{"row":23,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":24,"column":0},"end":{"row":24,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":26,"column":0},"end":{"row":26,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":27,"column":0},"end":{"row":27,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":28,"column":0},"end":{"row":28,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":29,"column":0},"end":{"row":29,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":30,"column":0},"end":{"row":30,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":32,"column":0},"end":{"row":32,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":35,"column":0},"end":{"row":35,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":36,"column":0},"end":{"row":36,"column":1},"action":"remove","lines":["\t"]}],[{"start":{"row":37,"column":0},"end":{"row":38,"column":0},"action":"remove","lines":["\t\t\t\t</div>",""],"id":66}],[{"start":{"row":21,"column":0},"end":{"row":22,"column":0},"action":"remove","lines":["\t\t\t\t<div className=\"search-sort-content\">",""],"id":65}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":21,"column":0},"end":{"row":22,"column":0},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1463197773467,"hash":"d1c40ff34c4da70da9c55298676fb8b3fb812343"}
{"filter":false,"title":"search-sort.jsx","tooltip":"/src/modules/markets/components/search-sort.jsx","ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":21,"column":0},"end":{"row":22,"column":0},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"hash":"d1c40ff34c4da70da9c55298676fb8b3fb812343","undoManager":{"mark":62,"position":62,"stack":[[{"start":{"row":0,"column":0},"end":{"row":15,"column":22},"action":"insert","lines":[" <div className=\"search-sort-bar\">"," <Input className=\"search-bar\" value={ p.keywords } placeholder=\"Search\" onChange={ p.onChangeKeywords } />",""," <div className=\"sort-container\">"," <span className=\"title\">Sort By</span>"," <DropDown"," className=\"sort\""," selected={ p.sortOptions.find(opt => opt.value === p.selectedSort.prop) }"," options={ p.sortOptions }"," onChange={ (prop) => { var sortOption = p.sortOptions.find(opt => opt.value === prop); p.onChangeSort(sortOption.value, sortOption.isDesc) }} />"," <button"," className=\"sort-direction-button\""," title={ p.selectedSort.isDesc ? 'descending selected' : 'ascending selected' }"," onClick={ () => p.onChangeSort(p.selectedSort.prop, !p.selectedSort.isDesc) }>{ p.selectedSort.isDesc ? <span>&#xf161;</span> : <span>&#xf160;</span> }</button>"," </div>"," </div>"],"id":1}],[{"start":{"row":0,"column":0},"end":{"row":66,"column":3},"action":"insert","lines":["import React from 'react';","import classnames from 'classnames';","","import MarketsHeader from '../../markets/components/markets-header';","import Filters from '../../markets/components/filters';","import MarketItem from '../../market/components/market-item';","import Input from '../../common/components/input';","import Link from '../../link/components/link';","import DropDown from '../../common/components/dropdown';","","module.exports = React.createClass({"," propTypes: {"," className: React.PropTypes.string,","","\t\tmarketsHeader: React.PropTypes.object,","\t\tmarkets: React.PropTypes.array,","\t\tkeywords: React.PropTypes.string,","\t\tfiltersProps: React.PropTypes.object,","\t\tpagination: React.PropTypes.object,","","\t\tselectedSort: React.PropTypes.object,","\t\tsortOptions: React.PropTypes.array,","","\t\tonChangeKeywords: React.PropTypes.func,","\t\tonChangeSort: React.PropTypes.func"," },",""," render: function() {"," var p = this.props;"," return ("," <section className={ p.className }>"," <div className=\"markets-header-bar\">"," <Link className=\"button make\" { ...p.createMarketLink }>Make a Market</Link>"," <MarketsHeader { ...p.marketsHeader } />"," </div>",""," <Filters { ...p.filtersProps } />",""," <div className=\"markets-list\">"," { (p.markets || []).map(market =>"," <MarketItem"," key={ market.id }"," { ...market } />"," )}",""," { !!p.pagination && !!p.pagination.numUnpaginated &&"," <div className=\"pagination\">"," { !!p.pagination && !!p.pagination.previousPageNum &&"," <span className=\"button-container prev\" onClick={ () => p.pagination.onUpdateSelectedPageNum(p.pagination.previousPageNum) }>"," <button className=\"button prev\">&#xf104;</button>"," {/* <span className=\"num-label\">{ p.pagination.previousItemNum }</span> */}"," </span>"," }"," <span className=\"displaying\">{ p.pagination.startItemNum + '-' + p.pagination.endItemNum + ' of ' + p.pagination.numUnpaginated }</span>"," { !!p.pagination && !!p.pagination.nextPageNum &&"," <span className=\"button-container next\" onClick={ () => p.pagination.onUpdateSelectedPageNum(p.pagination.nextPageNum) }>"," {/* <span className=\"num-label\">{ p.pagination.nextItemNum }</span> */}"," <button className=\"button next\">&#xf105;</button>"," </span>"," }"," </div>"," }"," </div>"," </section>"," );"," }","});"],"id":2}],[{"start":{"row":66,"column":3},"end":{"row":66,"column":19},"action":"remove","lines":[" "],"id":3},{"start":{"row":66,"column":3},"end":{"row":67,"column":0},"action":"insert","lines":["",""]}],[{"start":{"row":67,"column":0},"end":{"row":82,"column":22},"action":"remove","lines":["<div className=\"search-sort-bar\">"," <Input className=\"search-bar\" value={ p.keywords } placeholder=\"Search\" onChange={ p.onChangeKeywords } />",""," <div className=\"sort-container\">"," <span className=\"title\">Sort By</span>"," <DropDown"," className=\"sort\""," selected={ p.sortOptions.find(opt => opt.value === p.selectedSort.prop) }"," options={ p.sortOptions }"," onChange={ (prop) => { var sortOption = p.sortOptions.find(opt => opt.value === prop); p.onChangeSort(sortOption.value, sortOption.isDesc) }} />"," <button"," className=\"sort-direction-button\""," title={ p.selectedSort.isDesc ? 'descending selected' : 'ascending selected' }"," onClick={ () => p.onChangeSort(p.selectedSort.prop, !p.selectedSort.isDesc) }>{ p.selectedSort.isDesc ? <span>&#xf161;</span> : <span>&#xf160;</span> }</button>"," </div>"," </div>"],"id":4}],[{"start":{"row":30,"column":1},"end":{"row":63,"column":22},"action":"remove","lines":[" <section className={ p.className }>"," <div className=\"markets-header-bar\">"," <Link className=\"button make\" { ...p.createMarketLink }>Make a Market</Link>"," <MarketsHeader { ...p.marketsHeader } />"," </div>",""," <Filters { ...p.filtersProps } />",""," <div className=\"markets-list\">"," { (p.markets || []).map(market =>"," <MarketItem"," key={ market.id }"," { ...market } />"," )}",""," { !!p.pagination && !!p.pagination.numUnpaginated &&"," <div className=\"pagination\">"," { !!p.pagination && !!p.pagination.previousPageNum &&"," <span className=\"button-container prev\" onClick={ () => p.pagination.onUpdateSelectedPageNum(p.pagination.previousPageNum) }>"," <button className=\"button prev\">&#xf104;</button>"," {/* <span className=\"num-label\">{ p.pagination.previousItemNum }</span> */}"," </span>"," }"," <span className=\"displaying\">{ p.pagination.startItemNum + '-' + p.pagination.endItemNum + ' of ' + p.pagination.numUnpaginated }</span>"," { !!p.pagination && !!p.pagination.nextPageNum &&"," <span className=\"button-container next\" onClick={ () => p.pagination.onUpdateSelectedPageNum(p.pagination.nextPageNum) }>"," {/* <span className=\"num-label\">{ p.pagination.nextItemNum }</span> */}"," <button className=\"button next\">&#xf105;</button>"," </span>"," }"," </div>"," }"," </div>"," </section>"],"id":5},{"start":{"row":30,"column":1},"end":{"row":45,"column":22},"action":"insert","lines":["<div className=\"search-sort-bar\">"," <Input className=\"search-bar\" value={ p.keywords } placeholder=\"Search\" onChange={ p.onChangeKeywords } />",""," <div className=\"sort-container\">"," <span className=\"title\">Sort By</span>"," <DropDown"," className=\"sort\""," selected={ p.sortOptions.find(opt => opt.value === p.selectedSort.prop) }"," options={ p.sortOptions }"," onChange={ (prop) => { var sortOption = p.sortOptions.find(opt => opt.value === prop); p.onChangeSort(sortOption.value, sortOption.isDesc) }} />"," <button"," className=\"sort-direction-button\""," title={ p.selectedSort.isDesc ? 'descending selected' : 'ascending selected' }"," onClick={ () => p.onChangeSort(p.selectedSort.prop, !p.selectedSort.isDesc) }>{ p.selectedSort.isDesc ? <span>&#xf161;</span> : <span>&#xf160;</span> }</button>"," </div>"," </div>"]}],[{"start":{"row":30,"column":0},"end":{"row":30,"column":1},"action":"remove","lines":[" "],"id":6},{"start":{"row":31,"column":0},"end":{"row":31,"column":4},"action":"remove","lines":[" "]},{"start":{"row":33,"column":0},"end":{"row":33,"column":4},"action":"remove","lines":[" "]},{"start":{"row":34,"column":0},"end":{"row":34,"column":4},"action":"remove","lines":[" "]},{"start":{"row":35,"column":0},"end":{"row":35,"column":4},"action":"remove","lines":[" "]},{"start":{"row":36,"column":0},"end":{"row":36,"column":4},"action":"remove","lines":[" "]},{"start":{"row":37,"column":0},"end":{"row":37,"column":4},"action":"remove","lines":[" "]},{"start":{"row":38,"column":0},"end":{"row":38,"column":4},"action":"remove","lines":[" "]},{"start":{"row":39,"column":0},"end":{"row":39,"column":4},"action":"remove","lines":[" "]},{"start":{"row":40,"column":0},"end":{"row":40,"column":4},"action":"remove","lines":[" "]},{"start":{"row":41,"column":0},"end":{"row":41,"column":4},"action":"remove","lines":[" "]},{"start":{"row":42,"column":0},"end":{"row":42,"column":4},"action":"remove","lines":[" "]},{"start":{"row":43,"column":0},"end":{"row":43,"column":4},"action":"remove","lines":[" "]},{"start":{"row":44,"column":0},"end":{"row":44,"column":4},"action":"remove","lines":[" "]},{"start":{"row":45,"column":0},"end":{"row":45,"column":4},"action":"remove","lines":[" "]}],[{"start":{"row":31,"column":0},"end":{"row":31,"column":4},"action":"remove","lines":[" "],"id":7},{"start":{"row":33,"column":0},"end":{"row":33,"column":4},"action":"remove","lines":[" "]},{"start":{"row":34,"column":0},"end":{"row":34,"column":4},"action":"remove","lines":[" "]},{"start":{"row":35,"column":0},"end":{"row":35,"column":4},"action":"remove","lines":[" "]},{"start":{"row":36,"column":0},"end":{"row":36,"column":4},"action":"remove","lines":[" "]},{"start":{"row":37,"column":0},"end":{"row":37,"column":4},"action":"remove","lines":[" "]},{"start":{"row":38,"column":0},"end":{"row":38,"column":4},"action":"remove","lines":[" "]},{"start":{"row":39,"column":0},"end":{"row":39,"column":4},"action":"remove","lines":[" "]},{"start":{"row":40,"column":0},"end":{"row":40,"column":4},"action":"remove","lines":[" "]},{"start":{"row":41,"column":0},"end":{"row":41,"column":4},"action":"remove","lines":[" "]},{"start":{"row":42,"column":0},"end":{"row":42,"column":4},"action":"remove","lines":[" "]},{"start":{"row":43,"column":0},"end":{"row":43,"column":4},"action":"remove","lines":[" "]},{"start":{"row":44,"column":0},"end":{"row":44,"column":4},"action":"remove","lines":[" "]},{"start":{"row":45,"column":0},"end":{"row":45,"column":4},"action":"remove","lines":[" "]}],[{"start":{"row":31,"column":0},"end":{"row":31,"column":4},"action":"remove","lines":[" "],"id":8},{"start":{"row":33,"column":0},"end":{"row":33,"column":4},"action":"remove","lines":[" "]},{"start":{"row":34,"column":0},"end":{"row":34,"column":4},"action":"remove","lines":[" "]},{"start":{"row":35,"column":0},"end":{"row":35,"column":4},"action":"remove","lines":[" "]},{"start":{"row":36,"column":0},"end":{"row":36,"column":4},"action":"remove","lines":[" "]},{"start":{"row":37,"column":0},"end":{"row":37,"column":4},"action":"remove","lines":[" "]},{"start":{"row":38,"column":0},"end":{"row":38,"column":4},"action":"remove","lines":[" "]},{"start":{"row":39,"column":0},"end":{"row":39,"column":4},"action":"remove","lines":[" "]},{"start":{"row":40,"column":0},"end":{"row":40,"column":4},"action":"remove","lines":[" "]},{"start":{"row":41,"column":0},"end":{"row":41,"column":4},"action":"remove","lines":[" "]},{"start":{"row":42,"column":0},"end":{"row":42,"column":4},"action":"remove","lines":[" "]},{"start":{"row":43,"column":0},"end":{"row":43,"column":4},"action":"remove","lines":[" "]},{"start":{"row":44,"column":0},"end":{"row":44,"column":4},"action":"remove","lines":[" "]},{"start":{"row":45,"column":0},"end":{"row":45,"column":4},"action":"remove","lines":[" "]}],[{"start":{"row":31,"column":0},"end":{"row":31,"column":4},"action":"remove","lines":[" "],"id":9},{"start":{"row":33,"column":0},"end":{"row":33,"column":4},"action":"remove","lines":[" "]},{"start":{"row":34,"column":0},"end":{"row":34,"column":4},"action":"remove","lines":[" "]},{"start":{"row":35,"column":0},"end":{"row":35,"column":4},"action":"remove","lines":[" "]},{"start":{"row":36,"column":0},"end":{"row":36,"column":4},"action":"remove","lines":[" "]},{"start":{"row":37,"column":0},"end":{"row":37,"column":4},"action":"remove","lines":[" "]},{"start":{"row":38,"column":0},"end":{"row":38,"column":4},"action":"remove","lines":[" "]},{"start":{"row":39,"column":0},"end":{"row":39,"column":4},"action":"remove","lines":[" "]},{"start":{"row":40,"column":0},"end":{"row":40,"column":4},"action":"remove","lines":[" "]},{"start":{"row":41,"column":0},"end":{"row":41,"column":4},"action":"remove","lines":[" "]},{"start":{"row":42,"column":0},"end":{"row":42,"column":4},"action":"remove","lines":[" "]},{"start":{"row":43,"column":0},"end":{"row":43,"column":4},"action":"remove","lines":[" "]},{"start":{"row":44,"column":0},"end":{"row":44,"column":4},"action":"remove","lines":[" "]},{"start":{"row":45,"column":0},"end":{"row":45,"column":4},"action":"remove","lines":[" "]}],[{"start":{"row":30,"column":0},"end":{"row":30,"column":1},"action":"insert","lines":["\t"],"id":10},{"start":{"row":31,"column":0},"end":{"row":31,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":32,"column":0},"end":{"row":32,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":35,"column":0},"end":{"row":35,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":36,"column":0},"end":{"row":36,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":37,"column":0},"end":{"row":37,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":38,"column":0},"end":{"row":38,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":39,"column":0},"end":{"row":39,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":40,"column":0},"end":{"row":40,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":41,"column":0},"end":{"row":41,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":42,"column":0},"end":{"row":42,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":43,"column":0},"end":{"row":43,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":44,"column":0},"end":{"row":44,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":45,"column":0},"end":{"row":45,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":30,"column":0},"end":{"row":30,"column":1},"action":"insert","lines":["\t"],"id":11},{"start":{"row":31,"column":0},"end":{"row":31,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":32,"column":0},"end":{"row":32,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":35,"column":0},"end":{"row":35,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":36,"column":0},"end":{"row":36,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":37,"column":0},"end":{"row":37,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":38,"column":0},"end":{"row":38,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":39,"column":0},"end":{"row":39,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":40,"column":0},"end":{"row":40,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":41,"column":0},"end":{"row":41,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":42,"column":0},"end":{"row":42,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":43,"column":0},"end":{"row":43,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":44,"column":0},"end":{"row":44,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":45,"column":0},"end":{"row":45,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":30,"column":0},"end":{"row":30,"column":1},"action":"insert","lines":["\t"],"id":12},{"start":{"row":31,"column":0},"end":{"row":31,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":32,"column":0},"end":{"row":32,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":35,"column":0},"end":{"row":35,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":36,"column":0},"end":{"row":36,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":37,"column":0},"end":{"row":37,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":38,"column":0},"end":{"row":38,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":39,"column":0},"end":{"row":39,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":40,"column":0},"end":{"row":40,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":41,"column":0},"end":{"row":41,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":42,"column":0},"end":{"row":42,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":43,"column":0},"end":{"row":43,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":44,"column":0},"end":{"row":44,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":45,"column":0},"end":{"row":45,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":["\t\tmarkets: React.PropTypes.array,",""],"id":13}],[{"start":{"row":14,"column":0},"end":{"row":15,"column":0},"action":"remove","lines":["\t\tmarketsHeader: React.PropTypes.object,",""],"id":14}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":["\t\tfiltersProps: React.PropTypes.object,",""],"id":15}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":["\t\tpagination: React.PropTypes.object,",""],"id":16}],[{"start":{"row":28,"column":0},"end":{"row":28,"column":3},"action":"remove","lines":["\t\t\t"],"id":17}],[{"start":{"row":12,"column":0},"end":{"row":13,"column":0},"action":"remove","lines":[" className: React.PropTypes.string,",""],"id":18}],[{"start":{"row":12,"column":0},"end":{"row":13,"column":0},"action":"remove","lines":["",""],"id":19}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["import MarketsHeader from '../../markets/components/markets-header';",""],"id":20}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["import Filters from '../../markets/components/filters';",""],"id":21}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["import MarketItem from '../../market/components/market-item';",""],"id":22}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"remove","lines":["import Link from '../../link/components/link';",""],"id":23}],[{"start":{"row":20,"column":3},"end":{"row":20,"column":36},"action":"remove","lines":["<div className=\"search-sort-bar\">"],"id":25},{"start":{"row":20,"column":3},"end":{"row":20,"column":36},"action":"insert","lines":["<div className=\"search-sort-bar\">"]}],[{"start":{"row":20,"column":36},"end":{"row":21,"column":0},"action":"insert","lines":["",""],"id":26},{"start":{"row":21,"column":0},"end":{"row":21,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":21,"column":3},"end":{"row":21,"column":4},"action":"insert","lines":["\t"],"id":27}],[{"start":{"row":21,"column":4},"end":{"row":21,"column":37},"action":"insert","lines":["<div className=\"search-sort-bar\">"],"id":28}],[{"start":{"row":20,"column":34},"end":{"row":20,"column":35},"action":"insert","lines":["-"],"id":29}],[{"start":{"row":20,"column":35},"end":{"row":20,"column":36},"action":"insert","lines":["c"],"id":30}],[{"start":{"row":20,"column":36},"end":{"row":20,"column":37},"action":"insert","lines":["o"],"id":31}],[{"start":{"row":20,"column":37},"end":{"row":20,"column":38},"action":"insert","lines":["n"],"id":32}],[{"start":{"row":20,"column":38},"end":{"row":20,"column":39},"action":"insert","lines":["t"],"id":33}],[{"start":{"row":20,"column":39},"end":{"row":20,"column":40},"action":"insert","lines":["a"],"id":34}],[{"start":{"row":20,"column":40},"end":{"row":20,"column":41},"action":"insert","lines":["i"],"id":35}],[{"start":{"row":20,"column":41},"end":{"row":20,"column":42},"action":"insert","lines":["n"],"id":36}],[{"start":{"row":20,"column":42},"end":{"row":20,"column":43},"action":"insert","lines":["e"],"id":37}],[{"start":{"row":20,"column":43},"end":{"row":20,"column":44},"action":"insert","lines":["r"],"id":38}],[{"start":{"row":20,"column":34},"end":{"row":20,"column":44},"action":"remove","lines":["-container"],"id":39}],[{"start":{"row":21,"column":35},"end":{"row":21,"column":45},"action":"insert","lines":["-container"],"id":40}],[{"start":{"row":21,"column":36},"end":{"row":21,"column":45},"action":"remove","lines":["container"],"id":41},{"start":{"row":21,"column":36},"end":{"row":21,"column":37},"action":"insert","lines":["c"]}],[{"start":{"row":21,"column":37},"end":{"row":21,"column":38},"action":"insert","lines":["o"],"id":42}],[{"start":{"row":21,"column":38},"end":{"row":21,"column":39},"action":"insert","lines":["n"],"id":43}],[{"start":{"row":21,"column":39},"end":{"row":21,"column":40},"action":"insert","lines":["t"],"id":44}],[{"start":{"row":21,"column":40},"end":{"row":21,"column":41},"action":"insert","lines":["e"],"id":45}],[{"start":{"row":21,"column":41},"end":{"row":21,"column":42},"action":"insert","lines":["n"],"id":46}],[{"start":{"row":21,"column":42},"end":{"row":21,"column":43},"action":"insert","lines":["t"],"id":47}],[{"start":{"row":22,"column":0},"end":{"row":22,"column":1},"action":"insert","lines":["\t"],"id":48},{"start":{"row":23,"column":0},"end":{"row":23,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":24,"column":0},"end":{"row":24,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":25,"column":0},"end":{"row":25,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":26,"column":0},"end":{"row":26,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":27,"column":0},"end":{"row":27,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":28,"column":0},"end":{"row":28,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":29,"column":0},"end":{"row":29,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":30,"column":0},"end":{"row":30,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":31,"column":0},"end":{"row":31,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":32,"column":0},"end":{"row":32,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":35,"column":0},"end":{"row":35,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":35,"column":8},"end":{"row":35,"column":14},"action":"remove","lines":["</div>"],"id":49},{"start":{"row":35,"column":8},"end":{"row":35,"column":14},"action":"insert","lines":["</div>"]}],[{"start":{"row":35,"column":14},"end":{"row":36,"column":0},"action":"insert","lines":["",""],"id":50},{"start":{"row":36,"column":0},"end":{"row":36,"column":8},"action":"insert","lines":["\t\t\t\t "]}],[{"start":{"row":36,"column":7},"end":{"row":36,"column":8},"action":"remove","lines":[" "],"id":51}],[{"start":{"row":36,"column":7},"end":{"row":36,"column":13},"action":"insert","lines":["</div>"],"id":52}],[{"start":{"row":36,"column":6},"end":{"row":36,"column":7},"action":"remove","lines":[" "],"id":53}],[{"start":{"row":36,"column":5},"end":{"row":36,"column":6},"action":"remove","lines":[" "],"id":54}],[{"start":{"row":36,"column":4},"end":{"row":36,"column":5},"action":"remove","lines":[" "],"id":55}],[{"start":{"row":36,"column":3},"end":{"row":36,"column":4},"action":"remove","lines":["\t"],"id":56}],[{"start":{"row":36,"column":3},"end":{"row":36,"column":4},"action":"insert","lines":["\t"],"id":57}],[{"start":{"row":23,"column":0},"end":{"row":23,"column":1},"action":"remove","lines":["\t"],"id":58}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":4},"action":"remove","lines":[" "],"id":59},{"start":{"row":7,"column":0},"end":{"row":7,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":15,"column":0},"end":{"row":15,"column":4},"action":"remove","lines":[" "]},{"start":{"row":15,"column":0},"end":{"row":15,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":17,"column":0},"end":{"row":17,"column":4},"action":"remove","lines":[" "]},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":18,"column":0},"end":{"row":18,"column":8},"action":"remove","lines":[" "]},{"start":{"row":18,"column":0},"end":{"row":18,"column":2},"action":"insert","lines":["\t\t"]},{"start":{"row":19,"column":0},"end":{"row":19,"column":8},"action":"remove","lines":[" "]},{"start":{"row":19,"column":0},"end":{"row":19,"column":2},"action":"insert","lines":["\t\t"]},{"start":{"row":22,"column":0},"end":{"row":22,"column":8},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":22,"column":0},"end":{"row":22,"column":5},"action":"insert","lines":["\t\t\t\t\t"]},{"start":{"row":24,"column":0},"end":{"row":24,"column":8},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":24,"column":0},"end":{"row":24,"column":5},"action":"insert","lines":["\t\t\t\t\t"]},{"start":{"row":25,"column":0},"end":{"row":25,"column":12},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":25,"column":0},"end":{"row":25,"column":6},"action":"insert","lines":["\t\t\t\t\t\t"]},{"start":{"row":26,"column":0},"end":{"row":26,"column":12},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":26,"column":0},"end":{"row":26,"column":6},"action":"insert","lines":["\t\t\t\t\t\t"]},{"start":{"row":27,"column":0},"end":{"row":27,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":27,"column":0},"end":{"row":27,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":28,"column":0},"end":{"row":28,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":28,"column":0},"end":{"row":28,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":29,"column":0},"end":{"row":29,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":29,"column":0},"end":{"row":29,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":30,"column":0},"end":{"row":30,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":30,"column":0},"end":{"row":30,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":31,"column":0},"end":{"row":31,"column":12},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":31,"column":0},"end":{"row":31,"column":6},"action":"insert","lines":["\t\t\t\t\t\t"]},{"start":{"row":32,"column":0},"end":{"row":32,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":32,"column":0},"end":{"row":32,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":33,"column":0},"end":{"row":33,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":16},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":34,"column":0},"end":{"row":34,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]},{"start":{"row":35,"column":0},"end":{"row":35,"column":8},"action":"remove","lines":["\t\t\t\t "]},{"start":{"row":35,"column":0},"end":{"row":35,"column":5},"action":"insert","lines":["\t\t\t\t\t"]},{"start":{"row":38,"column":0},"end":{"row":38,"column":8},"action":"remove","lines":[" "]},{"start":{"row":38,"column":0},"end":{"row":38,"column":2},"action":"insert","lines":["\t\t"]},{"start":{"row":39,"column":0},"end":{"row":39,"column":4},"action":"remove","lines":[" "]},{"start":{"row":39,"column":0},"end":{"row":39,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":30,"column":151},"end":{"row":31,"column":0},"action":"insert","lines":["",""],"id":60},{"start":{"row":31,"column":0},"end":{"row":31,"column":7},"action":"insert","lines":["\t\t\t\t\t\t\t"]}],[{"start":{"row":25,"column":44},"end":{"row":26,"column":0},"action":"insert","lines":["",""],"id":61},{"start":{"row":26,"column":0},"end":{"row":26,"column":6},"action":"insert","lines":["\t\t\t\t\t\t"]}],[{"start":{"row":26,"column":0},"end":{"row":26,"column":6},"action":"remove","lines":["\t\t\t\t\t\t"],"id":62},{"start":{"row":32,"column":0},"end":{"row":32,"column":7},"action":"remove","lines":["\t\t\t\t\t\t\t"]}],[{"start":{"row":20,"column":30},"end":{"row":20,"column":34},"action":"remove","lines":["-bar"],"id":63}],[{"start":{"row":21,"column":32},"end":{"row":21,"column":36},"action":"remove","lines":["bar-"],"id":64}],[{"start":{"row":21,"column":0},"end":{"row":21,"column":1},"action":"remove","lines":["\t"],"id":67},{"start":{"row":23,"column":0},"end":{"row":23,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":24,"column":0},"end":{"row":24,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":26,"column":0},"end":{"row":26,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":27,"column":0},"end":{"row":27,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":28,"column":0},"end":{"row":28,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":29,"column":0},"end":{"row":29,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":30,"column":0},"end":{"row":30,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":32,"column":0},"end":{"row":32,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":35,"column":0},"end":{"row":35,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":36,"column":0},"end":{"row":36,"column":1},"action":"remove","lines":["\t"]}],[{"start":{"row":37,"column":0},"end":{"row":38,"column":0},"action":"remove","lines":["\t\t\t\t</div>",""],"id":66}],[{"start":{"row":21,"column":0},"end":{"row":22,"column":0},"action":"remove","lines":["\t\t\t\t<div className=\"search-sort-content\">",""],"id":65}]]},"timestamp":1463197772000}

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

{"filter":false,"title":"site-header.jsx","tooltip":"/src/modules/site/components/site-header.jsx","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":180,"scrollleft":0,"selection":{"start":{"row":16,"column":0},"end":{"row":16,"column":0},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":26,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1463184267152,"hash":"d958cd42457d7d64c40d2020c9b2c0fba57e1f0d"}
{"filter":false,"title":"site-header.jsx","tooltip":"/src/modules/site/components/site-header.jsx","undoManager":{"mark":7,"position":7,"stack":[[{"start":{"row":28,"column":20},"end":{"row":28,"column":31},"action":"remove","lines":["l-container"],"id":2}],[{"start":{"row":29,"column":29},"end":{"row":29,"column":30},"action":"insert","lines":[" "],"id":3}],[{"start":{"row":29,"column":30},"end":{"row":29,"column":41},"action":"insert","lines":["l-container"],"id":4}],[{"start":{"row":28,"column":0},"end":{"row":29,"column":0},"action":"remove","lines":["\t\t\t\t<div className=\"\">",""],"id":5}],[{"start":{"row":28,"column":0},"end":{"row":28,"column":1},"action":"remove","lines":["\t"],"id":6},{"start":{"row":29,"column":0},"end":{"row":29,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":31,"column":0},"end":{"row":31,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":33,"column":0},"end":{"row":33,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":34,"column":0},"end":{"row":34,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":36,"column":0},"end":{"row":36,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":37,"column":0},"end":{"row":37,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":38,"column":0},"end":{"row":38,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":39,"column":0},"end":{"row":39,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":40,"column":0},"end":{"row":40,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":41,"column":0},"end":{"row":41,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":42,"column":0},"end":{"row":42,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":44,"column":0},"end":{"row":44,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":45,"column":0},"end":{"row":45,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":46,"column":0},"end":{"row":46,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":47,"column":0},"end":{"row":47,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":48,"column":0},"end":{"row":48,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":49,"column":0},"end":{"row":49,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":50,"column":0},"end":{"row":50,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":51,"column":0},"end":{"row":51,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":52,"column":0},"end":{"row":52,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":53,"column":0},"end":{"row":53,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":54,"column":0},"end":{"row":54,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":55,"column":0},"end":{"row":55,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":56,"column":0},"end":{"row":56,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":60,"column":0},"end":{"row":60,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":61,"column":0},"end":{"row":61,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":62,"column":0},"end":{"row":62,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":63,"column":0},"end":{"row":63,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":64,"column":0},"end":{"row":64,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":65,"column":0},"end":{"row":65,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":66,"column":0},"end":{"row":66,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":67,"column":0},"end":{"row":67,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":68,"column":0},"end":{"row":68,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":69,"column":0},"end":{"row":69,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":70,"column":0},"end":{"row":70,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":71,"column":0},"end":{"row":71,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":72,"column":0},"end":{"row":72,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":73,"column":0},"end":{"row":73,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":74,"column":0},"end":{"row":74,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":76,"column":0},"end":{"row":76,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":77,"column":0},"end":{"row":77,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":78,"column":0},"end":{"row":78,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":79,"column":0},"end":{"row":79,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":80,"column":0},"end":{"row":80,"column":1},"action":"remove","lines":["\t"]}],[{"start":{"row":80,"column":0},"end":{"row":81,"column":0},"action":"remove","lines":["\t\t\t</div>",""],"id":7}],[{"start":{"row":28,"column":29},"end":{"row":28,"column":40},"action":"remove","lines":["l-container"],"id":8}],[{"start":{"row":28,"column":28},"end":{"row":28,"column":29},"action":"remove","lines":[" "],"id":9}]]},"ace":{"folds":[],"scrolltop":120,"scrollleft":0,"selection":{"start":{"row":28,"column":30},"end":{"row":28,"column":30},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":73,"state":["start","jsx","jsx",2],"mode":"ace/mode/javascript"}},"timestamp":1463467853557,"hash":"18e23da3c36892a98bd8fd12735a0f012ff13071"}

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

{"filter":false,"title":"selectors.js","tooltip":"/src/selectors.js","undoManager":{"mark":194,"position":194,"stack":[[{"start":{"row":26,"column":0},"end":{"row":31,"column":0},"action":"remove","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};","",""],"id":2,"ignore":true},{"start":{"row":53,"column":0},"end":{"row":54,"column":0},"action":"insert","lines":["selectors.keywordsChangeHandler = () => {};",""]},{"start":{"row":155,"column":0},"end":{"row":158,"column":0},"action":"remove","lines":["\t\tlet dayMillis = 24 * 60 * 60 * 1000;","\t\tlet nowMillis = new Date().getTime();","",""]},{"start":{"row":163,"column":0},"end":{"row":183,"column":0},"action":"remove","lines":["\t\t\t\tpriceTimeSeries: [{","\t\t\t\t\tname: \"outcome 1\",","\t\t\t\t\tdata: [","\t\t\t\t\t\t[nowMillis - 50 * dayMillis, 0.3],","\t\t\t\t\t\t[nowMillis - 40 * dayMillis, 0.1],","\t\t\t\t\t\t[nowMillis - 30 * dayMillis, 0.65],","\t\t\t\t\t\t[nowMillis - 20 * dayMillis, 0.93]","\t\t\t\t\t],","\t\t\t\t\tcolor: \"#f00\"","\t\t\t\t},","\t\t\t\t\t{","\t\t\t\t\t\tname: \"outcome 2\",","\t\t\t\t\t\tdata: [","\t\t\t\t\t\t\t[nowMillis - 55 * dayMillis, 0.8],","\t\t\t\t\t\t\t[nowMillis - 45 * dayMillis, 0.7],","\t\t\t\t\t\t\t[nowMillis - 35 * dayMillis, 0.6],","\t\t\t\t\t\t\t[nowMillis - 25 * dayMillis, 0.4]","\t\t\t\t\t\t],","\t\t\t\t\t\tcolor: \"#0f0\"","\t\t\t\t\t}],",""]}],[{"start":{"row":4,"column":17},"end":{"row":5,"column":0},"action":"insert","lines":["",""],"id":3},{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"remove","lines":["\t"],"id":4}],[{"start":{"row":5,"column":0},"end":{"row":6,"column":0},"action":"insert","lines":["",""],"id":5}],[{"start":{"row":0,"column":0},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":6}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":7}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["i"],"id":8}],[{"start":{"row":0,"column":1},"end":{"row":0,"column":2},"action":"insert","lines":["m"],"id":9}],[{"start":{"row":0,"column":2},"end":{"row":0,"column":3},"action":"insert","lines":["p"],"id":10}],[{"start":{"row":0,"column":3},"end":{"row":0,"column":4},"action":"insert","lines":["o"],"id":11}],[{"start":{"row":0,"column":4},"end":{"row":0,"column":5},"action":"insert","lines":["r"],"id":12}],[{"start":{"row":0,"column":5},"end":{"row":0,"column":6},"action":"insert","lines":["t"],"id":13}],[{"start":{"row":0,"column":6},"end":{"row":0,"column":7},"action":"insert","lines":[" "],"id":14}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"insert","lines":["{"],"id":15}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"insert","lines":[" "],"id":16}],[{"start":{"row":0,"column":9},"end":{"row":0,"column":10},"action":"insert","lines":["l"],"id":17}],[{"start":{"row":0,"column":10},"end":{"row":0,"column":11},"action":"insert","lines":["o"],"id":18}],[{"start":{"row":0,"column":11},"end":{"row":0,"column":12},"action":"insert","lines":["g"],"id":19}],[{"start":{"row":0,"column":12},"end":{"row":0,"column":13},"action":"insert","lines":["i"],"id":20}],[{"start":{"row":0,"column":13},"end":{"row":0,"column":14},"action":"insert","lines":["n"],"id":21}],[{"start":{"row":0,"column":14},"end":{"row":0,"column":15},"action":"insert","lines":["A"],"id":22}],[{"start":{"row":0,"column":15},"end":{"row":0,"column":16},"action":"insert","lines":["c"],"id":23}],[{"start":{"row":0,"column":16},"end":{"row":0,"column":17},"action":"insert","lines":["c"],"id":24}],[{"start":{"row":0,"column":17},"end":{"row":0,"column":18},"action":"insert","lines":["o"],"id":25}],[{"start":{"row":0,"column":18},"end":{"row":0,"column":19},"action":"insert","lines":["u"],"id":26}],[{"start":{"row":0,"column":19},"end":{"row":0,"column":20},"action":"insert","lines":["n"],"id":27}],[{"start":{"row":0,"column":20},"end":{"row":0,"column":21},"action":"insert","lines":["t"],"id":28}],[{"start":{"row":0,"column":21},"end":{"row":0,"column":22},"action":"insert","lines":[" "],"id":29}],[{"start":{"row":0,"column":22},"end":{"row":0,"column":23},"action":"insert","lines":["}"],"id":30}],[{"start":{"row":0,"column":23},"end":{"row":0,"column":24},"action":"insert","lines":[" "],"id":31}],[{"start":{"row":0,"column":24},"end":{"row":0,"column":25},"action":"insert","lines":["f"],"id":32}],[{"start":{"row":0,"column":25},"end":{"row":0,"column":26},"action":"insert","lines":["r"],"id":33}],[{"start":{"row":0,"column":26},"end":{"row":0,"column":27},"action":"insert","lines":["o"],"id":34}],[{"start":{"row":0,"column":27},"end":{"row":0,"column":28},"action":"insert","lines":["m"],"id":35}],[{"start":{"row":0,"column":28},"end":{"row":0,"column":29},"action":"insert","lines":[" "],"id":36}],[{"start":{"row":0,"column":29},"end":{"row":0,"column":62},"action":"insert","lines":["'./modules/site/constants/pages';"],"id":37}],[{"start":{"row":0,"column":32},"end":{"row":0,"column":39},"action":"remove","lines":["modules"],"id":38},{"start":{"row":0,"column":32},"end":{"row":0,"column":33},"action":"insert","lines":["s"]}],[{"start":{"row":0,"column":33},"end":{"row":0,"column":34},"action":"insert","lines":["e"],"id":39}],[{"start":{"row":0,"column":34},"end":{"row":0,"column":35},"action":"insert","lines":["l"],"id":40}],[{"start":{"row":0,"column":35},"end":{"row":0,"column":36},"action":"insert","lines":["e"],"id":41}],[{"start":{"row":0,"column":36},"end":{"row":0,"column":37},"action":"insert","lines":["c"],"id":42}],[{"start":{"row":0,"column":37},"end":{"row":0,"column":38},"action":"insert","lines":["t"],"id":43}],[{"start":{"row":0,"column":38},"end":{"row":0,"column":39},"action":"insert","lines":["o"],"id":44}],[{"start":{"row":0,"column":39},"end":{"row":0,"column":40},"action":"insert","lines":["r"],"id":45}],[{"start":{"row":0,"column":40},"end":{"row":0,"column":41},"action":"insert","lines":["s"],"id":46}],[{"start":{"row":0,"column":42},"end":{"row":0,"column":62},"action":"remove","lines":["site/constants/pages"],"id":47},{"start":{"row":0,"column":42},"end":{"row":0,"column":43},"action":"insert","lines":["l"]}],[{"start":{"row":0,"column":43},"end":{"row":0,"column":44},"action":"insert","lines":["o"],"id":48}],[{"start":{"row":0,"column":44},"end":{"row":0,"column":45},"action":"insert","lines":["g"],"id":49}],[{"start":{"row":0,"column":45},"end":{"row":0,"column":46},"action":"insert","lines":["i"],"id":50}],[{"start":{"row":0,"column":46},"end":{"row":0,"column":47},"action":"insert","lines":["n"],"id":51}],[{"start":{"row":0,"column":47},"end":{"row":0,"column":48},"action":"insert","lines":["-"],"id":52}],[{"start":{"row":0,"column":48},"end":{"row":0,"column":49},"action":"insert","lines":["a"],"id":53}],[{"start":{"row":0,"column":49},"end":{"row":0,"column":50},"action":"insert","lines":["c"],"id":54}],[{"start":{"row":0,"column":50},"end":{"row":0,"column":51},"action":"insert","lines":["c"],"id":55}],[{"start":{"row":0,"column":51},"end":{"row":0,"column":52},"action":"insert","lines":["o"],"id":56}],[{"start":{"row":0,"column":52},"end":{"row":0,"column":53},"action":"insert","lines":["u"],"id":57}],[{"start":{"row":0,"column":53},"end":{"row":0,"column":54},"action":"insert","lines":["n"],"id":58}],[{"start":{"row":0,"column":54},"end":{"row":0,"column":55},"action":"insert","lines":["t"],"id":59}],[{"start":{"row":135,"column":0},"end":{"row":145,"column":1},"action":"remove","lines":["function emptyNumber(denomination) {","\treturn {","\t\tvalue: 0,","\t\tformattedValue: 0,","\t\tformatted: '-',","\t\trounded: '-',","\t\tminimized: '-',","\t\tfull: '-',","\t\tdenomination: denomination || ''","\t};","}"],"id":60}],[{"start":{"row":134,"column":0},"end":{"row":135,"column":0},"action":"remove","lines":["",""],"id":61}],[{"start":{"row":133,"column":1},"end":{"row":134,"column":0},"action":"remove","lines":["",""],"id":62}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":1},"action":"insert","lines":["\t"],"id":63}],[{"start":{"row":7,"column":1},"end":{"row":7,"column":13},"action":"insert","lines":["loginAccount"],"id":64}],[{"start":{"row":7,"column":13},"end":{"row":7,"column":14},"action":"insert","lines":[":"],"id":65}],[{"start":{"row":7,"column":14},"end":{"row":7,"column":15},"action":"insert","lines":[" "],"id":66}],[{"start":{"row":7,"column":14},"end":{"row":7,"column":15},"action":"remove","lines":[" "],"id":67}],[{"start":{"row":7,"column":13},"end":{"row":7,"column":14},"action":"remove","lines":[":"],"id":68}],[{"start":{"row":12,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":["selectors.loginAccount = {","\tid: '123',","\thandle: 'Johnny',","\trep: emptyNumber('rep'),","\tether: emptyNumber('eth'),","\trealEther: emptyNumber('eth')","};",""],"id":69}],[{"start":{"row":12,"column":0},"end":{"row":13,"column":0},"action":"remove","lines":["",""],"id":70}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":1},"action":"insert","lines":["c"],"id":71}],[{"start":{"row":9,"column":1},"end":{"row":9,"column":2},"action":"insert","lines":["o"],"id":72}],[{"start":{"row":9,"column":2},"end":{"row":9,"column":3},"action":"insert","lines":["n"],"id":73}],[{"start":{"row":9,"column":3},"end":{"row":9,"column":4},"action":"insert","lines":["s"],"id":74}],[{"start":{"row":9,"column":4},"end":{"row":9,"column":5},"action":"insert","lines":["o"],"id":75}],[{"start":{"row":9,"column":5},"end":{"row":9,"column":6},"action":"insert","lines":["l"],"id":76}],[{"start":{"row":9,"column":6},"end":{"row":9,"column":7},"action":"insert","lines":["e"],"id":77}],[{"start":{"row":9,"column":7},"end":{"row":9,"column":8},"action":"insert","lines":["."],"id":78}],[{"start":{"row":9,"column":8},"end":{"row":9,"column":9},"action":"insert","lines":["l"],"id":79}],[{"start":{"row":9,"column":9},"end":{"row":9,"column":10},"action":"insert","lines":["o"],"id":80}],[{"start":{"row":9,"column":10},"end":{"row":9,"column":11},"action":"insert","lines":["g"],"id":81}],[{"start":{"row":9,"column":11},"end":{"row":9,"column":12},"action":"insert","lines":["("],"id":82}],[{"start":{"row":9,"column":12},"end":{"row":9,"column":13},"action":"insert","lines":["'"],"id":83}],[{"start":{"row":9,"column":13},"end":{"row":9,"column":14},"action":"insert","lines":["*"],"id":84}],[{"start":{"row":9,"column":14},"end":{"row":9,"column":15},"action":"insert","lines":["*"],"id":85}],[{"start":{"row":9,"column":15},"end":{"row":9,"column":16},"action":"insert","lines":["*"],"id":86}],[{"start":{"row":9,"column":16},"end":{"row":9,"column":17},"action":"insert","lines":["'"],"id":87}],[{"start":{"row":9,"column":17},"end":{"row":9,"column":18},"action":"insert","lines":[","],"id":88}],[{"start":{"row":9,"column":18},"end":{"row":9,"column":19},"action":"insert","lines":[" "],"id":89}],[{"start":{"row":9,"column":19},"end":{"row":9,"column":28},"action":"insert","lines":["selectors"],"id":90}],[{"start":{"row":9,"column":28},"end":{"row":9,"column":29},"action":"insert","lines":[")"],"id":91}],[{"start":{"row":9,"column":29},"end":{"row":9,"column":30},"action":"insert","lines":[";"],"id":92}],[{"start":{"row":0,"column":22},"end":{"row":0,"column":23},"action":"remove","lines":["}"],"id":93}],[{"start":{"row":0,"column":21},"end":{"row":0,"column":22},"action":"remove","lines":[" "],"id":94}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"remove","lines":[" "],"id":95}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"remove","lines":["{"],"id":96}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":30},"action":"remove","lines":["console.log('***', selectors);"],"id":97}],[{"start":{"row":37,"column":0},"end":{"row":37,"column":34},"action":"remove","lines":["selectors.markets = makeMarkets();"],"id":99}],[{"start":{"row":127,"column":0},"end":{"row":290,"column":1},"action":"remove","lines":["function makeMarkets(numMarkets = 20) {","\tvar markets = [],","\t\ttypes = ['binary', 'categorical', 'scalar'],","\t\ti;","","\tfor (i = 0; i < numMarkets; i++) {","\t\tmarkets.push(makeDummyMarket(i));","\t}","","\treturn markets;","","\tfunction makeDummyMarket(index) {","\t\tvar id = index.toString(),","\t\t\tm = {","\t\t\t\tid: id,","\t\t\t\ttype: types[randomInt(0, types.length - 1)],","\t\t\t\tdescription: 'Will the dwerps achieve a mwerp by the end of zwerp ' + (index + 1) + '?',","\t\t\t\tendDate: { formatted: '12/12/2017' },","\t\t\t\ttradingFeePercent: makeNumber(randomInt(1, 10), '%', true),","\t\t\t\tvolume: makeNumber(randomInt(0, 10000), 'Shares', true),","\t\t\t\tisOpen: Math.random() > 0.1,","\t\t\t\tisPendingReport: Math.random() < 0.5,","\t\t\t\tmarketLink: { text: 'Trade', className: 'trade', onClick: () => module.exports.update({ activePage: M, market: m }) },","\t\t\t};","","\t\tm.outcomes = [","\t\t\t{","\t\t\t\tid: '1',","\t\t\t\tname: 'YES',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(50, 100), '%'),","\t\t\t\tposition: {","\t\t\t\t\tqtyShares: makeNumber(16898, 'Shares'),","\t\t\t\t\ttotalValue: makeNumber(14877, 'eth'),","\t\t\t\t\tgainPercent: makeNumber(14, '%'),","\t\t\t\t\tpurchasePrice: makeNumber(0.77, 'eth'),","\t\t\t\t\tshareChange: makeNumber(0.107, 'eth'),","\t\t\t\t\ttotalCost: makeNumber(12555, 'eth'),","\t\t\t\t\tnetChange: makeNumber(3344, 'eth')","\t\t\t\t},","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[0].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[0].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[0].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tconsole.log(m.outcomes[0].trade);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t},","\t\t\t{","\t\t\t\tid: '2',","\t\t\t\tname: 'NO',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(20, 50), '%'),","\t\t\t\tposition: {","\t\t\t\t\tqtyShares: makeNumber(455, 'Shares'),","\t\t\t\t\ttotalValue: makeNumber(776, 'eth'),","\t\t\t\t\tgainPercent: makeNumber(-6, '%'),","\t\t\t\t\tpurchasePrice: makeNumber(0.6, 'eth'),","\t\t\t\t\tshareChange: makeNumber(0.5, 'eth'),","\t\t\t\t\ttotalCost: makeNumber(980, 'eth'),","\t\t\t\t\tnetChange: makeNumber(230, 'eth')","\t\t\t\t},","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[1].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[1].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[1].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t},","\t\t\t{","\t\t\t\tid: '3',","\t\t\t\tname: 'MAYBE',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(0, 30), '%'),","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[2].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[2].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[2].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t}","\t\t];","","\t\tm.reportableOutcomes = m.outcomes.slice();","\t\tm.reportableOutcomes.push({ id: '1.5', name: 'indeterminate' });","","\t\t// trade summary","\t\tObject.defineProperty(m, 'tradeSummary', {","\t\t\tget: () => {","\t\t\t\tvar tots = m.outcomes.reduce((p, outcome) => {","\t\t\t\t\t\tvar numShares,","\t\t\t\t\t\t\tlimitPrice,","\t\t\t\t\t\t\tcost;","","\t\t\t\t\t\tif (!outcome.trade || !outcome.trade.numShares) {","\t\t\t\t\t\t\treturn p;","\t\t\t\t\t\t}","","\t\t\t\t\t\tnumShares = outcome.trade.numShares;","\t\t\t\t\t\tlimitPrice = outcome.trade.limitPrice || 0;","\t\t\t\t\t\tcost = numShares * limitPrice;","","\t\t\t\t\t\tp.tradeOrders.push({ type: BUY_SHARES, shares: makeNumber(numShares), ether: makeNumber(cost), data: { outcomeName: 'MAYBE', marketDescription: m.description } });","\t\t\t\t\t\tp.totalShares += numShares;","\t\t\t\t\t\tp.totalEther += cost;","\t\t\t\t\t\treturn p;","\t\t\t\t\t}, { totalShares: 0, totalEther: 0, totalFees: 0, totalGas: 0, tradeOrders: [] });","","\t\t\t\ttots.totalShares = makeNumber(tots.totalShares);","\t\t\t\ttots.totalEther = makeNumber(tots.totalEther);","\t\t\t\ttots.totalFees = makeNumber(tots.totalFees);","\t\t\t\ttots.totalGas = makeNumber(tots.totalGas);","\t\t\t\ttots.onSubmitPlaceTrade = () => {};","","\t\t\t\treturn tots;","\t\t\t},","\t\t\tenumerable: true","\t\t});","","\t\t// positions summary","\t\tm.positionsSummary = {","\t\t\tnumPositions: makeNumber(3, 'Positions', true),","\t\t\ttotalValue: makeNumber(985, 'eth'),","\t\t\tgainPercent: makeNumber(15, '%')","\t\t};","","\t\t// report","\t\tm.report = {","\t\t\tisUnethical: true,","\t\t\tonSubmitReport: (reportedOutcomeID, isUnethical) => {}","\t\t};","","\t\treturn m;","\t}","}","","","function randomInt(min, max) {","\treturn Math.floor(Math.random() * (max - min + 1)) + min;","}"],"id":101}],[{"start":{"row":100,"column":0},"end":{"row":126,"column":0},"action":"remove","lines":["function makeNumber(num, denomination, omitSign) {","\tvar o = {","\t\tvalue: num,","","\t\tformattedValue: num,","\t\tformatted: num.toString(),","","\t\troundedValue: num,","\t\trounded: num.toString(),","","\t\tminimized: num.toString(),","\t\tdenomination: denomination || ''","\t};","","\tif (!omitSign) {"," if (o.value > 0) {"," o.formatted = '+' + o.formatted;"," o.rounded = '+' + o.rounded;"," o.minimized = '+' + o.minimized;"," }","\t}","","\to.full = o.formatted + o.denomination;","","\treturn o;","}",""],"id":102}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":103}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":1},"action":"insert","lines":["i"],"id":104}],[{"start":{"row":2,"column":1},"end":{"row":2,"column":2},"action":"insert","lines":["m"],"id":105}],[{"start":{"row":2,"column":2},"end":{"row":2,"column":3},"action":"insert","lines":["p"],"id":106}],[{"start":{"row":2,"column":3},"end":{"row":2,"column":4},"action":"insert","lines":["o"],"id":107}],[{"start":{"row":2,"column":4},"end":{"row":2,"column":5},"action":"insert","lines":["r"],"id":108}],[{"start":{"row":2,"column":5},"end":{"row":2,"column":6},"action":"insert","lines":["t"],"id":109}],[{"start":{"row":2,"column":6},"end":{"row":2,"column":7},"action":"insert","lines":[" "],"id":110}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":17},"action":"insert","lines":["makeNumber"],"id":111}],[{"start":{"row":2,"column":17},"end":{"row":2,"column":18},"action":"insert","lines":[" "],"id":112}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["f"],"id":113}],[{"start":{"row":2,"column":19},"end":{"row":2,"column":20},"action":"insert","lines":["r"],"id":114}],[{"start":{"row":2,"column":20},"end":{"row":2,"column":21},"action":"insert","lines":["o"],"id":115}],[{"start":{"row":2,"column":21},"end":{"row":2,"column":22},"action":"insert","lines":["m"],"id":116}],[{"start":{"row":2,"column":22},"end":{"row":2,"column":23},"action":"insert","lines":[" "],"id":117}],[{"start":{"row":2,"column":23},"end":{"row":2,"column":24},"action":"insert","lines":["'"],"id":118}],[{"start":{"row":2,"column":24},"end":{"row":2,"column":25},"action":"insert","lines":["'"],"id":119}],[{"start":{"row":2,"column":25},"end":{"row":2,"column":26},"action":"insert","lines":[";"],"id":120}],[{"start":{"row":2,"column":26},"end":{"row":3,"column":0},"action":"insert","lines":["",""],"id":121}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":26},"action":"remove","lines":["import makeNumber from '';"],"id":122},{"start":{"row":2,"column":0},"end":{"row":2,"column":52},"action":"insert","lines":["import { emptyNumber } from '../utils/empty-number';"]}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":20},"action":"remove","lines":["emptyNumber"],"id":123},{"start":{"row":2,"column":9},"end":{"row":2,"column":19},"action":"insert","lines":["makeNumber"]}],[{"start":{"row":2,"column":37},"end":{"row":2,"column":42},"action":"remove","lines":["empty"],"id":124},{"start":{"row":2,"column":37},"end":{"row":2,"column":38},"action":"insert","lines":["m"]}],[{"start":{"row":2,"column":38},"end":{"row":2,"column":39},"action":"insert","lines":["a"],"id":125}],[{"start":{"row":2,"column":39},"end":{"row":2,"column":40},"action":"insert","lines":["k"],"id":126}],[{"start":{"row":2,"column":40},"end":{"row":2,"column":41},"action":"insert","lines":["e"],"id":127}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":53},"action":"remove","lines":["import loginAccount from './selectors/login-account';"],"id":128},{"start":{"row":0,"column":0},"end":{"row":0,"column":53},"action":"insert","lines":["import loginAccount from './selectors/login-account';"]}],[{"start":{"row":0,"column":53},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":129}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":53},"action":"insert","lines":["import loginAccount from './selectors/login-account';"],"id":130}],[{"start":{"row":1,"column":7},"end":{"row":1,"column":19},"action":"remove","lines":["loginAccount"],"id":131},{"start":{"row":1,"column":7},"end":{"row":1,"column":8},"action":"insert","lines":["m"]}],[{"start":{"row":1,"column":8},"end":{"row":1,"column":9},"action":"insert","lines":["a"],"id":132}],[{"start":{"row":1,"column":9},"end":{"row":1,"column":10},"action":"insert","lines":["r"],"id":133}],[{"start":{"row":1,"column":10},"end":{"row":1,"column":11},"action":"insert","lines":["k"],"id":134}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["e"],"id":135}],[{"start":{"row":1,"column":12},"end":{"row":1,"column":13},"action":"insert","lines":["t"],"id":136}],[{"start":{"row":1,"column":13},"end":{"row":1,"column":14},"action":"insert","lines":["s"],"id":137}],[{"start":{"row":1,"column":33},"end":{"row":1,"column":46},"action":"remove","lines":["login-account"],"id":138},{"start":{"row":1,"column":33},"end":{"row":1,"column":40},"action":"insert","lines":["markets"]}],[{"start":{"row":10,"column":13},"end":{"row":10,"column":14},"action":"insert","lines":[","],"id":139}],[{"start":{"row":10,"column":14},"end":{"row":11,"column":0},"action":"insert","lines":["",""],"id":140},{"start":{"row":11,"column":0},"end":{"row":11,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":8},"action":"insert","lines":["markets"],"id":141}],[{"start":{"row":96,"column":0},"end":{"row":100,"column":2},"action":"remove","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":142}],[{"start":{"row":96,"column":0},"end":{"row":97,"column":0},"action":"remove","lines":["",""],"id":143}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":144}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":145}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":146}],[{"start":{"row":8,"column":0},"end":{"row":9,"column":0},"action":"insert","lines":["",""],"id":147}],[{"start":{"row":9,"column":0},"end":{"row":13,"column":2},"action":"insert","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":148}],[{"start":{"row":13,"column":2},"end":{"row":14,"column":0},"action":"insert","lines":["",""],"id":149}],[{"start":{"row":15,"column":17},"end":{"row":16,"column":0},"action":"insert","lines":["",""],"id":150},{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":16,"column":0},"end":{"row":20,"column":1},"action":"insert","lines":["update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","}"],"id":151}],[{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"],"id":152},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":18,"column":0},"end":{"row":18,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":19,"column":0},"end":{"row":19,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":20,"column":0},"end":{"row":20,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":3},"action":"remove","lines":["\t"],"id":153}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":3},"action":"insert","lines":[","],"id":154}],[{"start":{"row":16,"column":7},"end":{"row":16,"column":8},"action":"insert","lines":[":"],"id":155}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"remove","lines":[" "],"id":156}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"remove","lines":["="],"id":157}],[{"start":{"row":16,"column":9},"end":{"row":16,"column":17},"action":"remove","lines":["function"],"id":158}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":["="],"id":159}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":[">"],"id":160}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":[" "],"id":161}],[{"start":{"row":16,"column":18},"end":{"row":16,"column":19},"action":"insert","lines":[" "],"id":162}],[{"start":{"row":16,"column":19},"end":{"row":16,"column":20},"action":"insert","lines":["="],"id":163}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":[" "],"id":164}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":["{"],"id":165}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":["}"],"id":166}],[{"start":{"row":3,"column":28},"end":{"row":3,"column":29},"action":"remove","lines":["."],"id":167}],[{"start":{"row":9,"column":0},"end":{"row":13,"column":2},"action":"remove","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":168}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["",""],"id":169}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["",""],"id":170}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":135},"action":"remove","lines":["import { CREATE_MARKET, BUY_SHARES, SELL_SHARES, BID_SHARES, ASK_SHARES, SUBMIT_REPORT } from './modules/transactions/constants/types';"],"id":171}],[{"start":{"row":7,"column":0},"end":{"row":8,"column":0},"action":"remove","lines":["",""],"id":172}],[{"start":{"row":57,"column":18},"end":{"row":57,"column":19},"action":"insert","lines":[" "],"id":173}],[{"start":{"row":57,"column":19},"end":{"row":57,"column":20},"action":"insert","lines":["="],"id":174}],[{"start":{"row":57,"column":20},"end":{"row":57,"column":21},"action":"insert","lines":[" "],"id":175}],[{"start":{"row":57,"column":21},"end":{"row":57,"column":22},"action":"insert","lines":["{"],"id":176}],[{"start":{"row":57,"column":22},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":177},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":58,"column":26},"end":{"row":59,"column":0},"action":"insert","lines":["",""],"id":178},{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":59,"column":1},"end":{"row":59,"column":2},"action":"insert","lines":["}"],"id":179}],[{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"remove","lines":["\t"],"id":180}],[{"start":{"row":57,"column":22},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":181},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":58,"column":1},"end":{"row":58,"column":2},"action":"insert","lines":["v"],"id":182}],[{"start":{"row":58,"column":2},"end":{"row":58,"column":3},"action":"insert","lines":["a"],"id":183}],[{"start":{"row":58,"column":3},"end":{"row":58,"column":4},"action":"insert","lines":["l"],"id":184}],[{"start":{"row":58,"column":4},"end":{"row":58,"column":5},"action":"insert","lines":["u"],"id":185}],[{"start":{"row":58,"column":5},"end":{"row":58,"column":6},"action":"insert","lines":["e"],"id":186}],[{"start":{"row":58,"column":6},"end":{"row":58,"column":7},"action":"insert","lines":[":"],"id":187}],[{"start":{"row":58,"column":7},"end":{"row":58,"column":8},"action":"insert","lines":[" "],"id":188}],[{"start":{"row":58,"column":8},"end":{"row":58,"column":9},"action":"insert","lines":["'"],"id":189}],[{"start":{"row":58,"column":9},"end":{"row":58,"column":10},"action":"insert","lines":["'"],"id":190}],[{"start":{"row":58,"column":10},"end":{"row":58,"column":11},"action":"insert","lines":[","],"id":191}],[{"start":{"row":59,"column":1},"end":{"row":59,"column":14},"action":"remove","lines":["ChangeHandler"],"id":192},{"start":{"row":59,"column":1},"end":{"row":59,"column":17},"action":"insert","lines":["onChangeKeywords"]}],[{"start":{"row":59,"column":20},"end":{"row":59,"column":21},"action":"remove","lines":[" "],"id":193}],[{"start":{"row":59,"column":19},"end":{"row":59,"column":20},"action":"remove","lines":[" "],"id":194}],[{"start":{"row":59,"column":18},"end":{"row":59,"column":19},"action":"remove","lines":["="],"id":195}],[{"start":{"row":59,"column":17},"end":{"row":59,"column":18},"action":"remove","lines":[" "],"id":196}],[{"start":{"row":59,"column":17},"end":{"row":59,"column":18},"action":"insert","lines":[":"],"id":197}],[{"start":{"row":59,"column":18},"end":{"row":59,"column":19},"action":"insert","lines":[" "],"id":198}]]},"ace":{"folds":[],"scrolltop":463.5,"scrollleft":0,"selection":{"start":{"row":59,"column":27},"end":{"row":59,"column":27},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":34,"state":"no_regex","mode":"ace/mode/javascript"}},"timestamp":1463199735856,"hash":"5c2458a17ce5ee513f4c58e1b0855a024105e9a1"}
{"filter":false,"title":"selectors.js","tooltip":"/src/selectors.js","undoManager":{"mark":219,"position":219,"stack":[[{"start":{"row":26,"column":0},"end":{"row":31,"column":0},"action":"remove","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};","",""],"id":2,"ignore":true},{"start":{"row":53,"column":0},"end":{"row":54,"column":0},"action":"insert","lines":["selectors.keywordsChangeHandler = () => {};",""]},{"start":{"row":155,"column":0},"end":{"row":158,"column":0},"action":"remove","lines":["\t\tlet dayMillis = 24 * 60 * 60 * 1000;","\t\tlet nowMillis = new Date().getTime();","",""]},{"start":{"row":163,"column":0},"end":{"row":183,"column":0},"action":"remove","lines":["\t\t\t\tpriceTimeSeries: [{","\t\t\t\t\tname: \"outcome 1\",","\t\t\t\t\tdata: [","\t\t\t\t\t\t[nowMillis - 50 * dayMillis, 0.3],","\t\t\t\t\t\t[nowMillis - 40 * dayMillis, 0.1],","\t\t\t\t\t\t[nowMillis - 30 * dayMillis, 0.65],","\t\t\t\t\t\t[nowMillis - 20 * dayMillis, 0.93]","\t\t\t\t\t],","\t\t\t\t\tcolor: \"#f00\"","\t\t\t\t},","\t\t\t\t\t{","\t\t\t\t\t\tname: \"outcome 2\",","\t\t\t\t\t\tdata: [","\t\t\t\t\t\t\t[nowMillis - 55 * dayMillis, 0.8],","\t\t\t\t\t\t\t[nowMillis - 45 * dayMillis, 0.7],","\t\t\t\t\t\t\t[nowMillis - 35 * dayMillis, 0.6],","\t\t\t\t\t\t\t[nowMillis - 25 * dayMillis, 0.4]","\t\t\t\t\t\t],","\t\t\t\t\t\tcolor: \"#0f0\"","\t\t\t\t\t}],",""]}],[{"start":{"row":4,"column":17},"end":{"row":5,"column":0},"action":"insert","lines":["",""],"id":3},{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"remove","lines":["\t"],"id":4}],[{"start":{"row":5,"column":0},"end":{"row":6,"column":0},"action":"insert","lines":["",""],"id":5}],[{"start":{"row":0,"column":0},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":6}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":7}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["i"],"id":8}],[{"start":{"row":0,"column":1},"end":{"row":0,"column":2},"action":"insert","lines":["m"],"id":9}],[{"start":{"row":0,"column":2},"end":{"row":0,"column":3},"action":"insert","lines":["p"],"id":10}],[{"start":{"row":0,"column":3},"end":{"row":0,"column":4},"action":"insert","lines":["o"],"id":11}],[{"start":{"row":0,"column":4},"end":{"row":0,"column":5},"action":"insert","lines":["r"],"id":12}],[{"start":{"row":0,"column":5},"end":{"row":0,"column":6},"action":"insert","lines":["t"],"id":13}],[{"start":{"row":0,"column":6},"end":{"row":0,"column":7},"action":"insert","lines":[" "],"id":14}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"insert","lines":["{"],"id":15}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"insert","lines":[" "],"id":16}],[{"start":{"row":0,"column":9},"end":{"row":0,"column":10},"action":"insert","lines":["l"],"id":17}],[{"start":{"row":0,"column":10},"end":{"row":0,"column":11},"action":"insert","lines":["o"],"id":18}],[{"start":{"row":0,"column":11},"end":{"row":0,"column":12},"action":"insert","lines":["g"],"id":19}],[{"start":{"row":0,"column":12},"end":{"row":0,"column":13},"action":"insert","lines":["i"],"id":20}],[{"start":{"row":0,"column":13},"end":{"row":0,"column":14},"action":"insert","lines":["n"],"id":21}],[{"start":{"row":0,"column":14},"end":{"row":0,"column":15},"action":"insert","lines":["A"],"id":22}],[{"start":{"row":0,"column":15},"end":{"row":0,"column":16},"action":"insert","lines":["c"],"id":23}],[{"start":{"row":0,"column":16},"end":{"row":0,"column":17},"action":"insert","lines":["c"],"id":24}],[{"start":{"row":0,"column":17},"end":{"row":0,"column":18},"action":"insert","lines":["o"],"id":25}],[{"start":{"row":0,"column":18},"end":{"row":0,"column":19},"action":"insert","lines":["u"],"id":26}],[{"start":{"row":0,"column":19},"end":{"row":0,"column":20},"action":"insert","lines":["n"],"id":27}],[{"start":{"row":0,"column":20},"end":{"row":0,"column":21},"action":"insert","lines":["t"],"id":28}],[{"start":{"row":0,"column":21},"end":{"row":0,"column":22},"action":"insert","lines":[" "],"id":29}],[{"start":{"row":0,"column":22},"end":{"row":0,"column":23},"action":"insert","lines":["}"],"id":30}],[{"start":{"row":0,"column":23},"end":{"row":0,"column":24},"action":"insert","lines":[" "],"id":31}],[{"start":{"row":0,"column":24},"end":{"row":0,"column":25},"action":"insert","lines":["f"],"id":32}],[{"start":{"row":0,"column":25},"end":{"row":0,"column":26},"action":"insert","lines":["r"],"id":33}],[{"start":{"row":0,"column":26},"end":{"row":0,"column":27},"action":"insert","lines":["o"],"id":34}],[{"start":{"row":0,"column":27},"end":{"row":0,"column":28},"action":"insert","lines":["m"],"id":35}],[{"start":{"row":0,"column":28},"end":{"row":0,"column":29},"action":"insert","lines":[" "],"id":36}],[{"start":{"row":0,"column":29},"end":{"row":0,"column":62},"action":"insert","lines":["'./modules/site/constants/pages';"],"id":37}],[{"start":{"row":0,"column":32},"end":{"row":0,"column":39},"action":"remove","lines":["modules"],"id":38},{"start":{"row":0,"column":32},"end":{"row":0,"column":33},"action":"insert","lines":["s"]}],[{"start":{"row":0,"column":33},"end":{"row":0,"column":34},"action":"insert","lines":["e"],"id":39}],[{"start":{"row":0,"column":34},"end":{"row":0,"column":35},"action":"insert","lines":["l"],"id":40}],[{"start":{"row":0,"column":35},"end":{"row":0,"column":36},"action":"insert","lines":["e"],"id":41}],[{"start":{"row":0,"column":36},"end":{"row":0,"column":37},"action":"insert","lines":["c"],"id":42}],[{"start":{"row":0,"column":37},"end":{"row":0,"column":38},"action":"insert","lines":["t"],"id":43}],[{"start":{"row":0,"column":38},"end":{"row":0,"column":39},"action":"insert","lines":["o"],"id":44}],[{"start":{"row":0,"column":39},"end":{"row":0,"column":40},"action":"insert","lines":["r"],"id":45}],[{"start":{"row":0,"column":40},"end":{"row":0,"column":41},"action":"insert","lines":["s"],"id":46}],[{"start":{"row":0,"column":42},"end":{"row":0,"column":62},"action":"remove","lines":["site/constants/pages"],"id":47},{"start":{"row":0,"column":42},"end":{"row":0,"column":43},"action":"insert","lines":["l"]}],[{"start":{"row":0,"column":43},"end":{"row":0,"column":44},"action":"insert","lines":["o"],"id":48}],[{"start":{"row":0,"column":44},"end":{"row":0,"column":45},"action":"insert","lines":["g"],"id":49}],[{"start":{"row":0,"column":45},"end":{"row":0,"column":46},"action":"insert","lines":["i"],"id":50}],[{"start":{"row":0,"column":46},"end":{"row":0,"column":47},"action":"insert","lines":["n"],"id":51}],[{"start":{"row":0,"column":47},"end":{"row":0,"column":48},"action":"insert","lines":["-"],"id":52}],[{"start":{"row":0,"column":48},"end":{"row":0,"column":49},"action":"insert","lines":["a"],"id":53}],[{"start":{"row":0,"column":49},"end":{"row":0,"column":50},"action":"insert","lines":["c"],"id":54}],[{"start":{"row":0,"column":50},"end":{"row":0,"column":51},"action":"insert","lines":["c"],"id":55}],[{"start":{"row":0,"column":51},"end":{"row":0,"column":52},"action":"insert","lines":["o"],"id":56}],[{"start":{"row":0,"column":52},"end":{"row":0,"column":53},"action":"insert","lines":["u"],"id":57}],[{"start":{"row":0,"column":53},"end":{"row":0,"column":54},"action":"insert","lines":["n"],"id":58}],[{"start":{"row":0,"column":54},"end":{"row":0,"column":55},"action":"insert","lines":["t"],"id":59}],[{"start":{"row":135,"column":0},"end":{"row":145,"column":1},"action":"remove","lines":["function emptyNumber(denomination) {","\treturn {","\t\tvalue: 0,","\t\tformattedValue: 0,","\t\tformatted: '-',","\t\trounded: '-',","\t\tminimized: '-',","\t\tfull: '-',","\t\tdenomination: denomination || ''","\t};","}"],"id":60}],[{"start":{"row":134,"column":0},"end":{"row":135,"column":0},"action":"remove","lines":["",""],"id":61}],[{"start":{"row":133,"column":1},"end":{"row":134,"column":0},"action":"remove","lines":["",""],"id":62}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":1},"action":"insert","lines":["\t"],"id":63}],[{"start":{"row":7,"column":1},"end":{"row":7,"column":13},"action":"insert","lines":["loginAccount"],"id":64}],[{"start":{"row":7,"column":13},"end":{"row":7,"column":14},"action":"insert","lines":[":"],"id":65}],[{"start":{"row":7,"column":14},"end":{"row":7,"column":15},"action":"insert","lines":[" "],"id":66}],[{"start":{"row":7,"column":14},"end":{"row":7,"column":15},"action":"remove","lines":[" "],"id":67}],[{"start":{"row":7,"column":13},"end":{"row":7,"column":14},"action":"remove","lines":[":"],"id":68}],[{"start":{"row":12,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":["selectors.loginAccount = {","\tid: '123',","\thandle: 'Johnny',","\trep: emptyNumber('rep'),","\tether: emptyNumber('eth'),","\trealEther: emptyNumber('eth')","};",""],"id":69}],[{"start":{"row":12,"column":0},"end":{"row":13,"column":0},"action":"remove","lines":["",""],"id":70}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":1},"action":"insert","lines":["c"],"id":71}],[{"start":{"row":9,"column":1},"end":{"row":9,"column":2},"action":"insert","lines":["o"],"id":72}],[{"start":{"row":9,"column":2},"end":{"row":9,"column":3},"action":"insert","lines":["n"],"id":73}],[{"start":{"row":9,"column":3},"end":{"row":9,"column":4},"action":"insert","lines":["s"],"id":74}],[{"start":{"row":9,"column":4},"end":{"row":9,"column":5},"action":"insert","lines":["o"],"id":75}],[{"start":{"row":9,"column":5},"end":{"row":9,"column":6},"action":"insert","lines":["l"],"id":76}],[{"start":{"row":9,"column":6},"end":{"row":9,"column":7},"action":"insert","lines":["e"],"id":77}],[{"start":{"row":9,"column":7},"end":{"row":9,"column":8},"action":"insert","lines":["."],"id":78}],[{"start":{"row":9,"column":8},"end":{"row":9,"column":9},"action":"insert","lines":["l"],"id":79}],[{"start":{"row":9,"column":9},"end":{"row":9,"column":10},"action":"insert","lines":["o"],"id":80}],[{"start":{"row":9,"column":10},"end":{"row":9,"column":11},"action":"insert","lines":["g"],"id":81}],[{"start":{"row":9,"column":11},"end":{"row":9,"column":12},"action":"insert","lines":["("],"id":82}],[{"start":{"row":9,"column":12},"end":{"row":9,"column":13},"action":"insert","lines":["'"],"id":83}],[{"start":{"row":9,"column":13},"end":{"row":9,"column":14},"action":"insert","lines":["*"],"id":84}],[{"start":{"row":9,"column":14},"end":{"row":9,"column":15},"action":"insert","lines":["*"],"id":85}],[{"start":{"row":9,"column":15},"end":{"row":9,"column":16},"action":"insert","lines":["*"],"id":86}],[{"start":{"row":9,"column":16},"end":{"row":9,"column":17},"action":"insert","lines":["'"],"id":87}],[{"start":{"row":9,"column":17},"end":{"row":9,"column":18},"action":"insert","lines":[","],"id":88}],[{"start":{"row":9,"column":18},"end":{"row":9,"column":19},"action":"insert","lines":[" "],"id":89}],[{"start":{"row":9,"column":19},"end":{"row":9,"column":28},"action":"insert","lines":["selectors"],"id":90}],[{"start":{"row":9,"column":28},"end":{"row":9,"column":29},"action":"insert","lines":[")"],"id":91}],[{"start":{"row":9,"column":29},"end":{"row":9,"column":30},"action":"insert","lines":[";"],"id":92}],[{"start":{"row":0,"column":22},"end":{"row":0,"column":23},"action":"remove","lines":["}"],"id":93}],[{"start":{"row":0,"column":21},"end":{"row":0,"column":22},"action":"remove","lines":[" "],"id":94}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"remove","lines":[" "],"id":95}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"remove","lines":["{"],"id":96}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":30},"action":"remove","lines":["console.log('***', selectors);"],"id":97}],[{"start":{"row":37,"column":0},"end":{"row":37,"column":34},"action":"remove","lines":["selectors.markets = makeMarkets();"],"id":99}],[{"start":{"row":127,"column":0},"end":{"row":290,"column":1},"action":"remove","lines":["function makeMarkets(numMarkets = 20) {","\tvar markets = [],","\t\ttypes = ['binary', 'categorical', 'scalar'],","\t\ti;","","\tfor (i = 0; i < numMarkets; i++) {","\t\tmarkets.push(makeDummyMarket(i));","\t}","","\treturn markets;","","\tfunction makeDummyMarket(index) {","\t\tvar id = index.toString(),","\t\t\tm = {","\t\t\t\tid: id,","\t\t\t\ttype: types[randomInt(0, types.length - 1)],","\t\t\t\tdescription: 'Will the dwerps achieve a mwerp by the end of zwerp ' + (index + 1) + '?',","\t\t\t\tendDate: { formatted: '12/12/2017' },","\t\t\t\ttradingFeePercent: makeNumber(randomInt(1, 10), '%', true),","\t\t\t\tvolume: makeNumber(randomInt(0, 10000), 'Shares', true),","\t\t\t\tisOpen: Math.random() > 0.1,","\t\t\t\tisPendingReport: Math.random() < 0.5,","\t\t\t\tmarketLink: { text: 'Trade', className: 'trade', onClick: () => module.exports.update({ activePage: M, market: m }) },","\t\t\t};","","\t\tm.outcomes = [","\t\t\t{","\t\t\t\tid: '1',","\t\t\t\tname: 'YES',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(50, 100), '%'),","\t\t\t\tposition: {","\t\t\t\t\tqtyShares: makeNumber(16898, 'Shares'),","\t\t\t\t\ttotalValue: makeNumber(14877, 'eth'),","\t\t\t\t\tgainPercent: makeNumber(14, '%'),","\t\t\t\t\tpurchasePrice: makeNumber(0.77, 'eth'),","\t\t\t\t\tshareChange: makeNumber(0.107, 'eth'),","\t\t\t\t\ttotalCost: makeNumber(12555, 'eth'),","\t\t\t\t\tnetChange: makeNumber(3344, 'eth')","\t\t\t\t},","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[0].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[0].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[0].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tconsole.log(m.outcomes[0].trade);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t},","\t\t\t{","\t\t\t\tid: '2',","\t\t\t\tname: 'NO',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(20, 50), '%'),","\t\t\t\tposition: {","\t\t\t\t\tqtyShares: makeNumber(455, 'Shares'),","\t\t\t\t\ttotalValue: makeNumber(776, 'eth'),","\t\t\t\t\tgainPercent: makeNumber(-6, '%'),","\t\t\t\t\tpurchasePrice: makeNumber(0.6, 'eth'),","\t\t\t\t\tshareChange: makeNumber(0.5, 'eth'),","\t\t\t\t\ttotalCost: makeNumber(980, 'eth'),","\t\t\t\t\tnetChange: makeNumber(230, 'eth')","\t\t\t\t},","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[1].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[1].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[1].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t},","\t\t\t{","\t\t\t\tid: '3',","\t\t\t\tname: 'MAYBE',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(0, 30), '%'),","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[2].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[2].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[2].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t}","\t\t];","","\t\tm.reportableOutcomes = m.outcomes.slice();","\t\tm.reportableOutcomes.push({ id: '1.5', name: 'indeterminate' });","","\t\t// trade summary","\t\tObject.defineProperty(m, 'tradeSummary', {","\t\t\tget: () => {","\t\t\t\tvar tots = m.outcomes.reduce((p, outcome) => {","\t\t\t\t\t\tvar numShares,","\t\t\t\t\t\t\tlimitPrice,","\t\t\t\t\t\t\tcost;","","\t\t\t\t\t\tif (!outcome.trade || !outcome.trade.numShares) {","\t\t\t\t\t\t\treturn p;","\t\t\t\t\t\t}","","\t\t\t\t\t\tnumShares = outcome.trade.numShares;","\t\t\t\t\t\tlimitPrice = outcome.trade.limitPrice || 0;","\t\t\t\t\t\tcost = numShares * limitPrice;","","\t\t\t\t\t\tp.tradeOrders.push({ type: BUY_SHARES, shares: makeNumber(numShares), ether: makeNumber(cost), data: { outcomeName: 'MAYBE', marketDescription: m.description } });","\t\t\t\t\t\tp.totalShares += numShares;","\t\t\t\t\t\tp.totalEther += cost;","\t\t\t\t\t\treturn p;","\t\t\t\t\t}, { totalShares: 0, totalEther: 0, totalFees: 0, totalGas: 0, tradeOrders: [] });","","\t\t\t\ttots.totalShares = makeNumber(tots.totalShares);","\t\t\t\ttots.totalEther = makeNumber(tots.totalEther);","\t\t\t\ttots.totalFees = makeNumber(tots.totalFees);","\t\t\t\ttots.totalGas = makeNumber(tots.totalGas);","\t\t\t\ttots.onSubmitPlaceTrade = () => {};","","\t\t\t\treturn tots;","\t\t\t},","\t\t\tenumerable: true","\t\t});","","\t\t// positions summary","\t\tm.positionsSummary = {","\t\t\tnumPositions: makeNumber(3, 'Positions', true),","\t\t\ttotalValue: makeNumber(985, 'eth'),","\t\t\tgainPercent: makeNumber(15, '%')","\t\t};","","\t\t// report","\t\tm.report = {","\t\t\tisUnethical: true,","\t\t\tonSubmitReport: (reportedOutcomeID, isUnethical) => {}","\t\t};","","\t\treturn m;","\t}","}","","","function randomInt(min, max) {","\treturn Math.floor(Math.random() * (max - min + 1)) + min;","}"],"id":101}],[{"start":{"row":100,"column":0},"end":{"row":126,"column":0},"action":"remove","lines":["function makeNumber(num, denomination, omitSign) {","\tvar o = {","\t\tvalue: num,","","\t\tformattedValue: num,","\t\tformatted: num.toString(),","","\t\troundedValue: num,","\t\trounded: num.toString(),","","\t\tminimized: num.toString(),","\t\tdenomination: denomination || ''","\t};","","\tif (!omitSign) {"," if (o.value > 0) {"," o.formatted = '+' + o.formatted;"," o.rounded = '+' + o.rounded;"," o.minimized = '+' + o.minimized;"," }","\t}","","\to.full = o.formatted + o.denomination;","","\treturn o;","}",""],"id":102}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":103}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":1},"action":"insert","lines":["i"],"id":104}],[{"start":{"row":2,"column":1},"end":{"row":2,"column":2},"action":"insert","lines":["m"],"id":105}],[{"start":{"row":2,"column":2},"end":{"row":2,"column":3},"action":"insert","lines":["p"],"id":106}],[{"start":{"row":2,"column":3},"end":{"row":2,"column":4},"action":"insert","lines":["o"],"id":107}],[{"start":{"row":2,"column":4},"end":{"row":2,"column":5},"action":"insert","lines":["r"],"id":108}],[{"start":{"row":2,"column":5},"end":{"row":2,"column":6},"action":"insert","lines":["t"],"id":109}],[{"start":{"row":2,"column":6},"end":{"row":2,"column":7},"action":"insert","lines":[" "],"id":110}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":17},"action":"insert","lines":["makeNumber"],"id":111}],[{"start":{"row":2,"column":17},"end":{"row":2,"column":18},"action":"insert","lines":[" "],"id":112}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["f"],"id":113}],[{"start":{"row":2,"column":19},"end":{"row":2,"column":20},"action":"insert","lines":["r"],"id":114}],[{"start":{"row":2,"column":20},"end":{"row":2,"column":21},"action":"insert","lines":["o"],"id":115}],[{"start":{"row":2,"column":21},"end":{"row":2,"column":22},"action":"insert","lines":["m"],"id":116}],[{"start":{"row":2,"column":22},"end":{"row":2,"column":23},"action":"insert","lines":[" "],"id":117}],[{"start":{"row":2,"column":23},"end":{"row":2,"column":24},"action":"insert","lines":["'"],"id":118}],[{"start":{"row":2,"column":24},"end":{"row":2,"column":25},"action":"insert","lines":["'"],"id":119}],[{"start":{"row":2,"column":25},"end":{"row":2,"column":26},"action":"insert","lines":[";"],"id":120}],[{"start":{"row":2,"column":26},"end":{"row":3,"column":0},"action":"insert","lines":["",""],"id":121}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":26},"action":"remove","lines":["import makeNumber from '';"],"id":122},{"start":{"row":2,"column":0},"end":{"row":2,"column":52},"action":"insert","lines":["import { emptyNumber } from '../utils/empty-number';"]}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":20},"action":"remove","lines":["emptyNumber"],"id":123},{"start":{"row":2,"column":9},"end":{"row":2,"column":19},"action":"insert","lines":["makeNumber"]}],[{"start":{"row":2,"column":37},"end":{"row":2,"column":42},"action":"remove","lines":["empty"],"id":124},{"start":{"row":2,"column":37},"end":{"row":2,"column":38},"action":"insert","lines":["m"]}],[{"start":{"row":2,"column":38},"end":{"row":2,"column":39},"action":"insert","lines":["a"],"id":125}],[{"start":{"row":2,"column":39},"end":{"row":2,"column":40},"action":"insert","lines":["k"],"id":126}],[{"start":{"row":2,"column":40},"end":{"row":2,"column":41},"action":"insert","lines":["e"],"id":127}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":53},"action":"remove","lines":["import loginAccount from './selectors/login-account';"],"id":128},{"start":{"row":0,"column":0},"end":{"row":0,"column":53},"action":"insert","lines":["import loginAccount from './selectors/login-account';"]}],[{"start":{"row":0,"column":53},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":129}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":53},"action":"insert","lines":["import loginAccount from './selectors/login-account';"],"id":130}],[{"start":{"row":1,"column":7},"end":{"row":1,"column":19},"action":"remove","lines":["loginAccount"],"id":131},{"start":{"row":1,"column":7},"end":{"row":1,"column":8},"action":"insert","lines":["m"]}],[{"start":{"row":1,"column":8},"end":{"row":1,"column":9},"action":"insert","lines":["a"],"id":132}],[{"start":{"row":1,"column":9},"end":{"row":1,"column":10},"action":"insert","lines":["r"],"id":133}],[{"start":{"row":1,"column":10},"end":{"row":1,"column":11},"action":"insert","lines":["k"],"id":134}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["e"],"id":135}],[{"start":{"row":1,"column":12},"end":{"row":1,"column":13},"action":"insert","lines":["t"],"id":136}],[{"start":{"row":1,"column":13},"end":{"row":1,"column":14},"action":"insert","lines":["s"],"id":137}],[{"start":{"row":1,"column":33},"end":{"row":1,"column":46},"action":"remove","lines":["login-account"],"id":138},{"start":{"row":1,"column":33},"end":{"row":1,"column":40},"action":"insert","lines":["markets"]}],[{"start":{"row":10,"column":13},"end":{"row":10,"column":14},"action":"insert","lines":[","],"id":139}],[{"start":{"row":10,"column":14},"end":{"row":11,"column":0},"action":"insert","lines":["",""],"id":140},{"start":{"row":11,"column":0},"end":{"row":11,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":8},"action":"insert","lines":["markets"],"id":141}],[{"start":{"row":96,"column":0},"end":{"row":100,"column":2},"action":"remove","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":142}],[{"start":{"row":96,"column":0},"end":{"row":97,"column":0},"action":"remove","lines":["",""],"id":143}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":144}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":145}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":146}],[{"start":{"row":8,"column":0},"end":{"row":9,"column":0},"action":"insert","lines":["",""],"id":147}],[{"start":{"row":9,"column":0},"end":{"row":13,"column":2},"action":"insert","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":148}],[{"start":{"row":13,"column":2},"end":{"row":14,"column":0},"action":"insert","lines":["",""],"id":149}],[{"start":{"row":15,"column":17},"end":{"row":16,"column":0},"action":"insert","lines":["",""],"id":150},{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":16,"column":0},"end":{"row":20,"column":1},"action":"insert","lines":["update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","}"],"id":151}],[{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"],"id":152},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":18,"column":0},"end":{"row":18,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":19,"column":0},"end":{"row":19,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":20,"column":0},"end":{"row":20,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":3},"action":"remove","lines":["\t"],"id":153}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":3},"action":"insert","lines":[","],"id":154}],[{"start":{"row":16,"column":7},"end":{"row":16,"column":8},"action":"insert","lines":[":"],"id":155}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"remove","lines":[" "],"id":156}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"remove","lines":["="],"id":157}],[{"start":{"row":16,"column":9},"end":{"row":16,"column":17},"action":"remove","lines":["function"],"id":158}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":["="],"id":159}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":[">"],"id":160}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":[" "],"id":161}],[{"start":{"row":16,"column":18},"end":{"row":16,"column":19},"action":"insert","lines":[" "],"id":162}],[{"start":{"row":16,"column":19},"end":{"row":16,"column":20},"action":"insert","lines":["="],"id":163}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":[" "],"id":164}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":["{"],"id":165}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":["}"],"id":166}],[{"start":{"row":3,"column":28},"end":{"row":3,"column":29},"action":"remove","lines":["."],"id":167}],[{"start":{"row":9,"column":0},"end":{"row":13,"column":2},"action":"remove","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":168}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["",""],"id":169}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["",""],"id":170}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":135},"action":"remove","lines":["import { CREATE_MARKET, BUY_SHARES, SELL_SHARES, BID_SHARES, ASK_SHARES, SUBMIT_REPORT } from './modules/transactions/constants/types';"],"id":171}],[{"start":{"row":7,"column":0},"end":{"row":8,"column":0},"action":"remove","lines":["",""],"id":172}],[{"start":{"row":57,"column":18},"end":{"row":57,"column":19},"action":"insert","lines":[" "],"id":173}],[{"start":{"row":57,"column":19},"end":{"row":57,"column":20},"action":"insert","lines":["="],"id":174}],[{"start":{"row":57,"column":20},"end":{"row":57,"column":21},"action":"insert","lines":[" "],"id":175}],[{"start":{"row":57,"column":21},"end":{"row":57,"column":22},"action":"insert","lines":["{"],"id":176}],[{"start":{"row":57,"column":22},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":177},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":58,"column":26},"end":{"row":59,"column":0},"action":"insert","lines":["",""],"id":178},{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":59,"column":1},"end":{"row":59,"column":2},"action":"insert","lines":["}"],"id":179}],[{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"remove","lines":["\t"],"id":180}],[{"start":{"row":57,"column":22},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":181},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":58,"column":1},"end":{"row":58,"column":2},"action":"insert","lines":["v"],"id":182}],[{"start":{"row":58,"column":2},"end":{"row":58,"column":3},"action":"insert","lines":["a"],"id":183}],[{"start":{"row":58,"column":3},"end":{"row":58,"column":4},"action":"insert","lines":["l"],"id":184}],[{"start":{"row":58,"column":4},"end":{"row":58,"column":5},"action":"insert","lines":["u"],"id":185}],[{"start":{"row":58,"column":5},"end":{"row":58,"column":6},"action":"insert","lines":["e"],"id":186}],[{"start":{"row":58,"column":6},"end":{"row":58,"column":7},"action":"insert","lines":[":"],"id":187}],[{"start":{"row":58,"column":7},"end":{"row":58,"column":8},"action":"insert","lines":[" "],"id":188}],[{"start":{"row":58,"column":8},"end":{"row":58,"column":9},"action":"insert","lines":["'"],"id":189}],[{"start":{"row":58,"column":9},"end":{"row":58,"column":10},"action":"insert","lines":["'"],"id":190}],[{"start":{"row":58,"column":10},"end":{"row":58,"column":11},"action":"insert","lines":[","],"id":191}],[{"start":{"row":59,"column":1},"end":{"row":59,"column":14},"action":"remove","lines":["ChangeHandler"],"id":192},{"start":{"row":59,"column":1},"end":{"row":59,"column":17},"action":"insert","lines":["onChangeKeywords"]}],[{"start":{"row":59,"column":20},"end":{"row":59,"column":21},"action":"remove","lines":[" "],"id":193}],[{"start":{"row":59,"column":19},"end":{"row":59,"column":20},"action":"remove","lines":[" "],"id":194}],[{"start":{"row":59,"column":18},"end":{"row":59,"column":19},"action":"remove","lines":["="],"id":195}],[{"start":{"row":59,"column":17},"end":{"row":59,"column":18},"action":"remove","lines":[" "],"id":196}],[{"start":{"row":59,"column":17},"end":{"row":59,"column":18},"action":"insert","lines":[":"],"id":197}],[{"start":{"row":59,"column":18},"end":{"row":59,"column":19},"action":"insert","lines":[" "],"id":198}],[{"start":{"row":30,"column":0},"end":{"row":35,"column":0},"action":"insert","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};","",""],"id":199,"ignore":true}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":42},"action":"remove","lines":["import markets from './selectors/markets';"],"id":200},{"start":{"row":1,"column":0},"end":{"row":1,"column":42},"action":"insert","lines":["import markets from './selectors/markets';"]}],[{"start":{"row":1,"column":42},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":201}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":42},"action":"insert","lines":["import markets from './selectors/markets';"],"id":202}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":14},"action":"remove","lines":["markets"],"id":203},{"start":{"row":2,"column":7},"end":{"row":2,"column":8},"action":"insert","lines":["t"]}],[{"start":{"row":2,"column":8},"end":{"row":2,"column":9},"action":"insert","lines":["a"],"id":204}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":10},"action":"insert","lines":["g"],"id":205}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"insert","lines":["s"],"id":206}],[{"start":{"row":2,"column":30},"end":{"row":2,"column":37},"action":"remove","lines":["markets"],"id":207},{"start":{"row":2,"column":30},"end":{"row":2,"column":31},"action":"insert","lines":["t"]}],[{"start":{"row":2,"column":31},"end":{"row":2,"column":32},"action":"insert","lines":["a"],"id":208}],[{"start":{"row":2,"column":32},"end":{"row":2,"column":33},"action":"insert","lines":["g"],"id":209}],[{"start":{"row":2,"column":33},"end":{"row":2,"column":34},"action":"insert","lines":["s"],"id":210}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"insert","lines":[","],"id":211}],[{"start":{"row":16,"column":9},"end":{"row":17,"column":0},"action":"insert","lines":["",""],"id":212},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":17,"column":1},"end":{"row":17,"column":5},"action":"insert","lines":["tags"],"id":213}],[{"start":{"row":63,"column":0},"end":{"row":64,"column":0},"action":"remove","lines":["selectors.filtersProps = {};",""],"id":214}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":11},"action":"remove","lines":["tags"],"id":215},{"start":{"row":2,"column":7},"end":{"row":2,"column":8},"action":"insert","lines":["f"]}],[{"start":{"row":2,"column":8},"end":{"row":2,"column":9},"action":"insert","lines":["i"],"id":216}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":10},"action":"insert","lines":["l"],"id":217}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"insert","lines":["t"],"id":218}],[{"start":{"row":2,"column":11},"end":{"row":2,"column":12},"action":"insert","lines":["e"],"id":219}],[{"start":{"row":2,"column":12},"end":{"row":2,"column":13},"action":"insert","lines":["r"],"id":220}],[{"start":{"row":2,"column":13},"end":{"row":2,"column":14},"action":"insert","lines":["s"],"id":221}],[{"start":{"row":2,"column":33},"end":{"row":2,"column":37},"action":"remove","lines":["tags"],"id":222},{"start":{"row":2,"column":33},"end":{"row":2,"column":40},"action":"insert","lines":["filters"]}],[{"start":{"row":17,"column":1},"end":{"row":17,"column":5},"action":"remove","lines":["tags"],"id":223},{"start":{"row":17,"column":1},"end":{"row":17,"column":8},"action":"insert","lines":["filters"]}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":17,"column":1},"end":{"row":17,"column":8},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1463436393763,"hash":"3bf2ccabf027fde7c1dab74abcf37cb0f7e0b694"}

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

{"filter":false,"title":"empty-number.js","tooltip":"/src/utils/empty-number.js","undoManager":{"mark":17,"position":17,"stack":[[{"start":{"row":0,"column":0},"end":{"row":8,"column":2},"action":"insert","lines":["{","\t\tvalue: 0,","\t\tformattedValue: 0,","\t\tformatted: '-',","\t\trounded: '-',","\t\tminimized: '-',","\t\tfull: '-',","\t\tdenomination: denomination || ''","\t}"],"id":1}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["r"],"id":2}],[{"start":{"row":0,"column":1},"end":{"row":0,"column":2},"action":"insert","lines":["e"],"id":3}],[{"start":{"row":0,"column":2},"end":{"row":0,"column":3},"action":"insert","lines":["t"],"id":4}],[{"start":{"row":0,"column":3},"end":{"row":0,"column":4},"action":"insert","lines":["u"],"id":5}],[{"start":{"row":0,"column":4},"end":{"row":0,"column":5},"action":"insert","lines":["r"],"id":6}],[{"start":{"row":0,"column":5},"end":{"row":0,"column":6},"action":"insert","lines":["n"],"id":7}],[{"start":{"row":0,"column":6},"end":{"row":0,"column":7},"action":"insert","lines":[" "],"id":8}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":1},"action":"remove","lines":["\t"],"id":9},{"start":{"row":2,"column":0},"end":{"row":2,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":3,"column":0},"end":{"row":3,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":4,"column":0},"end":{"row":4,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":6,"column":0},"end":{"row":6,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":7,"column":0},"end":{"row":7,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":8,"column":0},"end":{"row":8,"column":1},"action":"remove","lines":["\t"]}],[{"start":{"row":8,"column":1},"end":{"row":8,"column":2},"action":"insert","lines":[";"],"id":10}],[{"start":{"row":0,"column":0},"end":{"row":8,"column":2},"action":"remove","lines":["return {","\tvalue: 0,","\tformattedValue: 0,","\tformatted: '-',","\trounded: '-',","\tminimized: '-',","\tfull: '-',","\tdenomination: denomination || ''","};"],"id":11},{"start":{"row":0,"column":0},"end":{"row":10,"column":1},"action":"insert","lines":["function emptyNumber(denomination) {","\treturn {","\t\tvalue: 0,","\t\tformattedValue: 0,","\t\tformatted: '-',","\t\trounded: '-',","\t\tminimized: '-',","\t\tfull: '-',","\t\tdenomination: denomination || ''","\t};","}"]}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["e"],"id":12}],[{"start":{"row":0,"column":1},"end":{"row":0,"column":2},"action":"insert","lines":["x"],"id":13}],[{"start":{"row":0,"column":2},"end":{"row":0,"column":3},"action":"insert","lines":["p"],"id":14}],[{"start":{"row":0,"column":3},"end":{"row":0,"column":4},"action":"insert","lines":["o"],"id":15}],[{"start":{"row":0,"column":4},"end":{"row":0,"column":5},"action":"insert","lines":["r"],"id":16}],[{"start":{"row":0,"column":5},"end":{"row":0,"column":6},"action":"insert","lines":["t"],"id":17}],[{"start":{"row":0,"column":6},"end":{"row":0,"column":7},"action":"insert","lines":[" "],"id":18}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":0,"column":16},"end":{"row":0,"column":27},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":112,"mode":"ace/mode/javascript"}},"timestamp":1463126602331,"hash":"d1d1981def138b32aa7d9f559baeeebf6d1c27ca"}
{"filter":false,"title":"empty-number.js","tooltip":"/src/utils/empty-number.js","undoManager":{"mark":17,"position":17,"stack":[[{"start":{"row":0,"column":0},"end":{"row":8,"column":2},"action":"insert","lines":["{","\t\tvalue: 0,","\t\tformattedValue: 0,","\t\tformatted: '-',","\t\trounded: '-',","\t\tminimized: '-',","\t\tfull: '-',","\t\tdenomination: denomination || ''","\t}"],"id":1}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["r"],"id":2}],[{"start":{"row":0,"column":1},"end":{"row":0,"column":2},"action":"insert","lines":["e"],"id":3}],[{"start":{"row":0,"column":2},"end":{"row":0,"column":3},"action":"insert","lines":["t"],"id":4}],[{"start":{"row":0,"column":3},"end":{"row":0,"column":4},"action":"insert","lines":["u"],"id":5}],[{"start":{"row":0,"column":4},"end":{"row":0,"column":5},"action":"insert","lines":["r"],"id":6}],[{"start":{"row":0,"column":5},"end":{"row":0,"column":6},"action":"insert","lines":["n"],"id":7}],[{"start":{"row":0,"column":6},"end":{"row":0,"column":7},"action":"insert","lines":[" "],"id":8}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":1},"action":"remove","lines":["\t"],"id":9},{"start":{"row":2,"column":0},"end":{"row":2,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":3,"column":0},"end":{"row":3,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":4,"column":0},"end":{"row":4,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":6,"column":0},"end":{"row":6,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":7,"column":0},"end":{"row":7,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":8,"column":0},"end":{"row":8,"column":1},"action":"remove","lines":["\t"]}],[{"start":{"row":8,"column":1},"end":{"row":8,"column":2},"action":"insert","lines":[";"],"id":10}],[{"start":{"row":0,"column":0},"end":{"row":8,"column":2},"action":"remove","lines":["return {","\tvalue: 0,","\tformattedValue: 0,","\tformatted: '-',","\trounded: '-',","\tminimized: '-',","\tfull: '-',","\tdenomination: denomination || ''","};"],"id":11},{"start":{"row":0,"column":0},"end":{"row":10,"column":1},"action":"insert","lines":["function emptyNumber(denomination) {","\treturn {","\t\tvalue: 0,","\t\tformattedValue: 0,","\t\tformatted: '-',","\t\trounded: '-',","\t\tminimized: '-',","\t\tfull: '-',","\t\tdenomination: denomination || ''","\t};","}"]}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["e"],"id":12}],[{"start":{"row":0,"column":1},"end":{"row":0,"column":2},"action":"insert","lines":["x"],"id":13}],[{"start":{"row":0,"column":2},"end":{"row":0,"column":3},"action":"insert","lines":["p"],"id":14}],[{"start":{"row":0,"column":3},"end":{"row":0,"column":4},"action":"insert","lines":["o"],"id":15}],[{"start":{"row":0,"column":4},"end":{"row":0,"column":5},"action":"insert","lines":["r"],"id":16}],[{"start":{"row":0,"column":5},"end":{"row":0,"column":6},"action":"insert","lines":["t"],"id":17}],[{"start":{"row":0,"column":6},"end":{"row":0,"column":7},"action":"insert","lines":[" "],"id":18}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":0,"column":16},"end":{"row":0,"column":27},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":18,"mode":"ace/mode/javascript"}},"timestamp":1463126601000,"hash":"d1d1981def138b32aa7d9f559baeeebf6d1c27ca"}

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

{"filter":false,"title":"make-number.js","tooltip":"/src/utils/make-number.js","undoManager":{"mark":7,"position":7,"stack":[[{"start":{"row":0,"column":0},"end":{"row":10,"column":1},"action":"remove","lines":["export function emptyNumber(denomination) {","\treturn {","\t\tvalue: 0,","\t\tformattedValue: 0,","\t\tformatted: '-',","\t\trounded: '-',","\t\tminimized: '-',","\t\tfull: '-',","\t\tdenomination: denomination || ''","\t};","}"],"id":2},{"start":{"row":0,"column":0},"end":{"row":26,"column":0},"action":"insert","lines":["function makeNumber(num, denomination, omitSign) {","\tvar o = {","\t\tvalue: num,","","\t\tformattedValue: num,","\t\tformatted: num.toString(),","","\t\troundedValue: num,","\t\trounded: num.toString(),","","\t\tminimized: num.toString(),","\t\tdenomination: denomination || ''","\t};","","\tif (!omitSign) {"," if (o.value > 0) {"," o.formatted = '+' + o.formatted;"," o.rounded = '+' + o.rounded;"," o.minimized = '+' + o.minimized;"," }","\t}","","\to.full = o.formatted + o.denomination;","","\treturn o;","}",""]}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["e"],"id":3}],[{"start":{"row":0,"column":1},"end":{"row":0,"column":2},"action":"insert","lines":["x"],"id":4}],[{"start":{"row":0,"column":2},"end":{"row":0,"column":3},"action":"insert","lines":["p"],"id":5}],[{"start":{"row":0,"column":3},"end":{"row":0,"column":4},"action":"insert","lines":["o"],"id":6}],[{"start":{"row":0,"column":4},"end":{"row":0,"column":5},"action":"insert","lines":["r"],"id":7}],[{"start":{"row":0,"column":5},"end":{"row":0,"column":6},"action":"insert","lines":["t"],"id":8}],[{"start":{"row":0,"column":6},"end":{"row":0,"column":7},"action":"insert","lines":[" "],"id":9}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":8,"column":26},"end":{"row":8,"column":26},"isBackwards":true},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":26,"state":"no_regex","mode":"ace/mode/javascript"}},"timestamp":1463178730132,"hash":"de9a88b4b19b7b848eed228b64f3b5a3e2cedf18"}
{"filter":false,"title":"make-number.js","tooltip":"/src/utils/make-number.js","undoManager":{"mark":77,"position":77,"stack":[[{"start":{"row":0,"column":57},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":10},{"start":{"row":1,"column":0},"end":{"row":1,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":1,"column":1},"end":{"row":1,"column":2},"action":"insert","lines":["n"],"id":11}],[{"start":{"row":1,"column":2},"end":{"row":1,"column":3},"action":"insert","lines":["u"],"id":12}],[{"start":{"row":1,"column":3},"end":{"row":1,"column":4},"action":"insert","lines":["m"],"id":13}],[{"start":{"row":1,"column":4},"end":{"row":1,"column":5},"action":"insert","lines":[" "],"id":14}],[{"start":{"row":1,"column":5},"end":{"row":1,"column":6},"action":"insert","lines":["="],"id":15}],[{"start":{"row":1,"column":6},"end":{"row":1,"column":7},"action":"insert","lines":[" "],"id":16}],[{"start":{"row":1,"column":7},"end":{"row":1,"column":8},"action":"insert","lines":["M"],"id":17}],[{"start":{"row":1,"column":8},"end":{"row":1,"column":9},"action":"insert","lines":["a"],"id":18}],[{"start":{"row":1,"column":9},"end":{"row":1,"column":10},"action":"insert","lines":["t"],"id":19}],[{"start":{"row":1,"column":10},"end":{"row":1,"column":11},"action":"insert","lines":["h"],"id":20}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["."],"id":21}],[{"start":{"row":1,"column":12},"end":{"row":1,"column":13},"action":"insert","lines":["r"],"id":22}],[{"start":{"row":1,"column":13},"end":{"row":1,"column":14},"action":"insert","lines":["o"],"id":23}],[{"start":{"row":1,"column":14},"end":{"row":1,"column":15},"action":"insert","lines":["u"],"id":24}],[{"start":{"row":1,"column":15},"end":{"row":1,"column":16},"action":"insert","lines":["n"],"id":25}],[{"start":{"row":1,"column":16},"end":{"row":1,"column":17},"action":"insert","lines":["d"],"id":26}],[{"start":{"row":1,"column":17},"end":{"row":1,"column":18},"action":"insert","lines":["("],"id":27}],[{"start":{"row":1,"column":18},"end":{"row":1,"column":19},"action":"insert","lines":["n"],"id":28}],[{"start":{"row":1,"column":19},"end":{"row":1,"column":20},"action":"insert","lines":["u"],"id":29}],[{"start":{"row":1,"column":20},"end":{"row":1,"column":21},"action":"insert","lines":["m"],"id":30}],[{"start":{"row":1,"column":21},"end":{"row":1,"column":22},"action":"insert","lines":[")"],"id":31}],[{"start":{"row":1,"column":22},"end":{"row":1,"column":23},"action":"insert","lines":[";"],"id":32}],[{"start":{"row":1,"column":1},"end":{"row":1,"column":2},"action":"insert","lines":["i"],"id":33}],[{"start":{"row":1,"column":2},"end":{"row":1,"column":3},"action":"insert","lines":["f"],"id":34}],[{"start":{"row":1,"column":3},"end":{"row":1,"column":4},"action":"insert","lines":[" "],"id":35}],[{"start":{"row":1,"column":4},"end":{"row":1,"column":5},"action":"insert","lines":["("],"id":36}],[{"start":{"row":1,"column":5},"end":{"row":1,"column":6},"action":"insert","lines":["n"],"id":37}],[{"start":{"row":1,"column":6},"end":{"row":1,"column":7},"action":"insert","lines":["u"],"id":38}],[{"start":{"row":1,"column":7},"end":{"row":1,"column":8},"action":"insert","lines":["m"],"id":39}],[{"start":{"row":1,"column":8},"end":{"row":1,"column":9},"action":"insert","lines":[" "],"id":40}],[{"start":{"row":1,"column":9},"end":{"row":1,"column":10},"action":"insert","lines":[">"],"id":41}],[{"start":{"row":1,"column":10},"end":{"row":1,"column":11},"action":"insert","lines":[" "],"id":42}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["1"],"id":43}],[{"start":{"row":1,"column":12},"end":{"row":1,"column":13},"action":"insert","lines":[")"],"id":44}],[{"start":{"row":1,"column":13},"end":{"row":1,"column":14},"action":"insert","lines":[" "],"id":45}],[{"start":{"row":1,"column":1},"end":{"row":1,"column":14},"action":"remove","lines":["if (num > 1) "],"id":46}],[{"start":{"row":1,"column":21},"end":{"row":1,"column":22},"action":"insert","lines":[" "],"id":47}],[{"start":{"row":1,"column":22},"end":{"row":1,"column":23},"action":"insert","lines":["*"],"id":48}],[{"start":{"row":1,"column":23},"end":{"row":1,"column":24},"action":"insert","lines":[" "],"id":49}],[{"start":{"row":1,"column":24},"end":{"row":1,"column":25},"action":"insert","lines":["1"],"id":50}],[{"start":{"row":1,"column":25},"end":{"row":1,"column":26},"action":"insert","lines":["0"],"id":51}],[{"start":{"row":1,"column":26},"end":{"row":1,"column":27},"action":"insert","lines":["0"],"id":52}],[{"start":{"row":1,"column":28},"end":{"row":1,"column":29},"action":"insert","lines":[" "],"id":53}],[{"start":{"row":1,"column":29},"end":{"row":1,"column":30},"action":"insert","lines":["/"],"id":54}],[{"start":{"row":1,"column":30},"end":{"row":1,"column":31},"action":"insert","lines":[" "],"id":55}],[{"start":{"row":1,"column":31},"end":{"row":1,"column":32},"action":"insert","lines":["1"],"id":56}],[{"start":{"row":1,"column":32},"end":{"row":1,"column":33},"action":"insert","lines":["0"],"id":57}],[{"start":{"row":1,"column":33},"end":{"row":1,"column":34},"action":"insert","lines":["0"],"id":58}],[{"start":{"row":1,"column":1},"end":{"row":1,"column":2},"action":"insert","lines":["i"],"id":59}],[{"start":{"row":1,"column":2},"end":{"row":1,"column":3},"action":"insert","lines":["f"],"id":60}],[{"start":{"row":1,"column":3},"end":{"row":1,"column":4},"action":"insert","lines":[" "],"id":61}],[{"start":{"row":1,"column":4},"end":{"row":1,"column":5},"action":"insert","lines":["("],"id":62}],[{"start":{"row":1,"column":5},"end":{"row":1,"column":6},"action":"insert","lines":["M"],"id":63}],[{"start":{"row":1,"column":6},"end":{"row":1,"column":7},"action":"insert","lines":["a"],"id":64}],[{"start":{"row":1,"column":7},"end":{"row":1,"column":8},"action":"insert","lines":["t"],"id":65}],[{"start":{"row":1,"column":8},"end":{"row":1,"column":9},"action":"insert","lines":["h"],"id":66}],[{"start":{"row":1,"column":9},"end":{"row":1,"column":10},"action":"insert","lines":["."],"id":67}],[{"start":{"row":1,"column":10},"end":{"row":1,"column":11},"action":"insert","lines":["r"],"id":68}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["o"],"id":69}],[{"start":{"row":1,"column":12},"end":{"row":1,"column":13},"action":"insert","lines":["u"],"id":70}],[{"start":{"row":1,"column":13},"end":{"row":1,"column":14},"action":"insert","lines":["n"],"id":71}],[{"start":{"row":1,"column":14},"end":{"row":1,"column":15},"action":"insert","lines":["d"],"id":72}],[{"start":{"row":1,"column":15},"end":{"row":1,"column":16},"action":"insert","lines":["("],"id":73}],[{"start":{"row":1,"column":16},"end":{"row":1,"column":17},"action":"insert","lines":["n"],"id":74}],[{"start":{"row":1,"column":17},"end":{"row":1,"column":18},"action":"insert","lines":["u"],"id":75}],[{"start":{"row":1,"column":18},"end":{"row":1,"column":19},"action":"insert","lines":["m"],"id":76}],[{"start":{"row":1,"column":19},"end":{"row":1,"column":20},"action":"insert","lines":[")"],"id":77}],[{"start":{"row":1,"column":20},"end":{"row":1,"column":21},"action":"insert","lines":[" "],"id":78}],[{"start":{"row":1,"column":21},"end":{"row":1,"column":22},"action":"insert","lines":["!"],"id":79}],[{"start":{"row":1,"column":22},"end":{"row":1,"column":23},"action":"insert","lines":["="],"id":80}],[{"start":{"row":1,"column":23},"end":{"row":1,"column":24},"action":"insert","lines":["="],"id":81}],[{"start":{"row":1,"column":24},"end":{"row":1,"column":25},"action":"insert","lines":[" "],"id":82}],[{"start":{"row":1,"column":25},"end":{"row":1,"column":26},"action":"insert","lines":["n"],"id":83}],[{"start":{"row":1,"column":26},"end":{"row":1,"column":27},"action":"insert","lines":["u"],"id":84}],[{"start":{"row":1,"column":27},"end":{"row":1,"column":28},"action":"insert","lines":["m"],"id":85}],[{"start":{"row":1,"column":28},"end":{"row":1,"column":29},"action":"insert","lines":[")"],"id":86}],[{"start":{"row":1,"column":29},"end":{"row":1,"column":30},"action":"insert","lines":[" "],"id":87}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":13,"column":3},"end":{"row":13,"column":3},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1463472362000,"hash":"fc7b0e17f4ba00cd3b35ee6399174938259b8e56"}
{
"name": "augur-ui-react-components",
"version": "2.0.5",
"version": "2.0.6",
"description": "Augur UI React Components",

@@ -38,3 +38,3 @@ "author": "Baz (@thinkloop)",

"_________": "",
"clean:demo": "rimraf ./demo/* && mkdir -p ./demo && echo ---------CLEAN----------`date +%r`",
"clean:demo": "rimraf ./demo/* && mkdir -p ./demo && echo --- Building HTML ASSETS CSS WATCHIFY...",
"clean:dist": "rimraf ./dist/* && mkdir -p ./dist && echo ---------CLEAN----------`date +%r`",

@@ -44,9 +44,9 @@ "__________": "",

},
"dependencies": {
"dependencies": {},
"devDependencies": {
"classnames": "^2.2.3",
"react": "^15.0.1",
"react-date-picker": "^4.0.10",
"react-dom": "^15.0.1"
},
"devDependencies": {
"react-dom": "^15.0.1",
"react-highcharts": "^8.3.0",
"babel-preset-es2015": "^6.6.0",

@@ -53,0 +53,0 @@ "babel-preset-react": "^6.5.0",

@@ -78,3 +78,3 @@ import React from 'react';

favoriteMarkets={ p.favoriteMarkets }
filtersProps={ p.filtersProps }
filters={ p.filters }
pagination={ p.pagination }

@@ -81,0 +81,0 @@

import React from 'react';
import { BINARY, CATEGORICAL, SCALAR, COMBINATORIAL } from '../../markets/constants/market-types';
import { BINARY, CATEGORICAL, SCALAR } from '../../markets/constants/market-types';

@@ -5,0 +5,0 @@ module.exports = React.createClass({

import React from 'react';
import classnames from 'classnames';
import { BINARY, CATEGORICAL, SCALAR, COMBINATORIAL } from '../../markets/constants/market-types';
import { BINARY, CATEGORICAL, SCALAR } from '../../markets/constants/market-types';
import Form2Categorical from './create-market-form-2-categorical';
import Form2Scalar from './create-market-form-2-scalar';
import Form2Combinatorial from './create-market-form-2-combinatorial';
import FormButtons from '../../create-market/components/create-market-form-buttons';

@@ -44,6 +43,2 @@

break;
case COMBINATORIAL:
typeSpecific = <Form2Combinatorial { ...p } />;
break;
}

@@ -50,0 +45,0 @@

@@ -24,4 +24,2 @@ import React from 'react';

<section className="basics">
<span className="description">{ p.description }</span>
{ !!p.tags && !!p.tags.length &&

@@ -35,2 +33,4 @@ <ul className="tags">

<span className="description">{ p.description }</span>
<ul className="properties">

@@ -37,0 +37,0 @@ { !!p.endDate &&

@@ -16,2 +16,3 @@ import React from 'react';

market: React.PropTypes.object,
priceTimeSeries: React.PropTypes.array,
numPendingReports: React.PropTypes.number

@@ -18,0 +19,0 @@ },

@@ -21,3 +21,3 @@ import React from 'react';

keywords: React.PropTypes.string,
filtersProps: React.PropTypes.object,
filters: React.PropTypes.array,
pagination: React.PropTypes.object,

@@ -24,0 +24,0 @@

@@ -5,3 +5,3 @@ import React from 'react';

import MarketsHeader from '../../markets/components/markets-header';
import Filters from '../../markets/components/filters';
import Filters from '../../filters/components/filters';
import MarketItem from '../../market/components/market-item';

@@ -16,3 +16,3 @@ import Link from '../../link/components/link';

markets: React.PropTypes.array,
filtersProps: React.PropTypes.object,
filters: React.PropTypes.array,
pagination: React.PropTypes.object,

@@ -32,3 +32,3 @@

<Filters { ...p.filtersProps } />
<Filters filters={ p.filters } />

@@ -35,0 +35,0 @@ <div className="markets-list">

export const BINARY = 'binary';
export const CATEGORICAL = 'categorical';
export const SCALAR = 'scalar';
export const COMBINATORIAL = "combinatorial";

@@ -9,5 +8,4 @@ export const MARKET_TYPES = {

[CATEGORICAL]: CATEGORICAL,
[SCALAR]: SCALAR,
[COMBINATORIAL]: COMBINATORIAL
[SCALAR]: SCALAR
};

@@ -29,56 +29,54 @@ import React from 'react';

<header className="site-header">
<div className="l-container">
<nav className="site-nav">
<Link className={ classnames('site-nav-link', 'augur', { 'active': p.activePage === MARKETS }) } { ...p.marketsLink }>augur</Link>
<nav className="site-nav">
<Link className={ classnames('site-nav-link', 'augur', { 'active': p.activePage === MARKETS }) } { ...p.marketsLink }>augur</Link>
<span className="spacer">&nbsp;</span>
<span className="spacer">&nbsp;</span>
{ !!p.loginAccount && !!p.loginAccount.id &&
<Link className={ classnames('site-nav-link', POSITIONS, { 'active': p.activePage === POSITIONS }) } { ...p.positionsLink }>
{ !!p.loginAccount && !!p.loginAccount.id &&
<Link className={ classnames('site-nav-link', POSITIONS, { 'active': p.activePage === POSITIONS }) } { ...p.positionsLink }>
{ !!p.positionsSummary && !!p.positionsSummary.numPositions &&
{ !!p.positionsSummary && !!p.positionsSummary.numPositions &&
<ValueDenomination
className="positions-num"
{ ...p.positionsSummary.numPositions }
formatted={ p.positionsSummary.numPositions.rounded }
formattedValue={ p.positionsSummary.numPositions.roundedValue } />
}
{ !!p.positionsSummary && !!p.positionsSummary.gainPercent && p.positionsSummary.numPositions.roundedValue > 0 &&
<ValueDenomination
className="positions-gain"
{ ...p.positionsSummary.gainPercent }
formatted={ p.positionsSummary.gainPercent.rounded }
formattedValue={ p.positionsSummary.gainPercent.roundedValue } />
}
</Link>
}
{ !!p.loginAccount && !!p.loginAccount.id &&
<Link className={ classnames('site-nav-link', TRANSACTIONS, { 'active': p.activePage === TRANSACTIONS }, { 'working': p.isTransactionsWorking }) }
title={ p.loginAccount.realEther && 'real ether: ' + p.loginAccount.realEther.full }
{ ...p.transactionsLink }>
{ (!p.isTransactionsWorking || p.activePage === TRANSACTIONS) &&
<ValueDenomination
className="positions-num"
{ ...p.positionsSummary.numPositions }
formatted={ p.positionsSummary.numPositions.rounded }
formattedValue={ p.positionsSummary.numPositions.roundedValue } />
{ ...p.loginAccount.rep || {} }
formatted={ p.loginAccount.rep && p.loginAccount.rep.rounded }
formattedValue={ p.loginAccount.rep && p.loginAccount.rep.roundedValue } />
}
{ !!p.positionsSummary && !!p.positionsSummary.gainPercent && p.positionsSummary.numPositions.roundedValue > 0 &&
{ (!p.isTransactionsWorking || p.activePage === TRANSACTIONS) &&
<ValueDenomination
className="positions-gain"
{ ...p.positionsSummary.gainPercent }
formatted={ p.positionsSummary.gainPercent.rounded }
formattedValue={ p.positionsSummary.gainPercent.roundedValue } />
}
</Link>
}
{ !!p.loginAccount && !!p.loginAccount.id &&
<Link className={ classnames('site-nav-link', TRANSACTIONS, { 'active': p.activePage === TRANSACTIONS }, { 'working': p.isTransactionsWorking }) }
title={ p.loginAccount.realEther && 'real ether: ' + p.loginAccount.realEther.full }
{ ...p.transactionsLink }>
{ ...p.loginAccount.ether || {} }
formatted={ p.loginAccount.ether && p.loginAccount.ether.rounded }
formattedValue={ p.loginAccount.ether && p.loginAccount.ether.roundedValue } />
}
{ p.isTransactionsWorking && p.activePage !== TRANSACTIONS &&
<span className="link-text">{ p.transactionsTotals.title }</span>
}
</Link>
}
{ (!p.isTransactionsWorking || p.activePage === TRANSACTIONS) &&
<ValueDenomination
{ ...p.loginAccount.rep || {} }
formatted={ p.loginAccount.rep && p.loginAccount.rep.rounded }
formattedValue={ p.loginAccount.rep && p.loginAccount.rep.roundedValue } />
}
{ (!p.isTransactionsWorking || p.activePage === TRANSACTIONS) &&
<ValueDenomination
{ ...p.loginAccount.ether || {} }
formatted={ p.loginAccount.ether && p.loginAccount.ether.rounded }
formattedValue={ p.loginAccount.ether && p.loginAccount.ether.roundedValue } />
}
{ p.isTransactionsWorking && p.activePage !== TRANSACTIONS &&
<span className="link-text">{ p.transactionsTotals.title }</span>
}
</Link>
}
<Link className={ classnames('site-nav-link', AUTH_TYPES[p.activePage], { 'active': !!AUTH_TYPES[p.activePage] }) } { ...p.authLink }>
{ p.loginAccount && p.loginAccount.id ? 'Sign Out' : 'Sign Up / Login' }
</Link>
</nav>
</div>
<Link className={ classnames('site-nav-link', AUTH_TYPES[p.activePage], { 'active': !!AUTH_TYPES[p.activePage] }) } { ...p.authLink }>
{ p.loginAccount && p.loginAccount.id ? 'Sign Out' : 'Sign Up / Login' }
</Link>
</nav>
</header>

@@ -85,0 +83,0 @@ );

import loginAccount from './selectors/login-account';
import markets from './selectors/markets';
import filters from './selectors/filters';

@@ -16,3 +17,4 @@ import { makeNumber } from './utils/make-number';

loginAccount,
markets
markets,
filters
};

@@ -32,2 +34,7 @@

selectors.keywords = {
value: '',
onChangeKeywords: () => {}
};
selectors.authForm = {};

@@ -59,3 +66,2 @@

selectors.filtersProps = {};
selectors.keywords = {

@@ -62,0 +68,0 @@ value: '',

@@ -8,3 +8,3 @@ import { makeNumber } from '../utils/make-number';

function makeMarkets(numMarkets = 5) {
function makeMarkets(numMarkets = 25) {
var markets = [],

@@ -15,3 +15,3 @@ types = ['binary', 'categorical', 'scalar'],

for (i = 0; i < numMarkets; i++) {
markets.push(makeDummyMarket(i));
markets.push(makeMarket(i));
}

@@ -21,3 +21,3 @@

function makeDummyMarket(index) {
function makeMarket(index) {
var id = index.toString(),

@@ -36,84 +36,149 @@ m = {

m.outcomes = [
{
id: '1',
name: 'YES',
lastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),
lastPricePercent: makeNumber(randomInt(50, 100), '%'),
position: {
qtyShares: makeNumber(16898, 'Shares'),
totalValue: makeNumber(14877, 'eth'),
gainPercent: makeNumber(14, '%'),
purchasePrice: makeNumber(0.77, 'eth'),
shareChange: makeNumber(0.107, 'eth'),
totalCost: makeNumber(12555, 'eth'),
netChange: makeNumber(3344, 'eth')
},
trade: {
numShares: 0,
limitPrice: 0,
tradeSummary: {
totalEther: makeNumber(0)
// tags
m.tags = makeTags();
function makeTags() {
var randomNum = randomInt(1, 100),
numTags,
allTags = {
'Politics': {
'USA': {
'Presedential': true,
'State Politics': true
},
'Canada': {
'Prime Minister': true,
'Quebec': true
}
},
onChangeTrade: (numShares, limitPrice) => {
limitPrice = m.outcomes[0].lastPrice.value;
m.outcomes[0].trade.numShares = numShares;
m.outcomes[0].trade.limitPrice = limitPrice;
m.outcomes[0].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);
console.log(m.outcomes[0].trade);
require('../selectors').update();
'Sports': {
'Football (American)': {
'2016 Season': true,
'Superbowl': true
},
'Football/Soccer (European)': {
'World Cup': true,
'Manchester': true,
'Euro 2016': true
},
'Tennis': {
'Wimbledon': true,
'US Open': true,
'Women': true
}
},
'Finance': {
'Equities': {
'Tech': true,
'Google': true
},
'Commodities': {
'Oil': true,
'Crude Oil': true,
'Corn': true
},
'Real-Estate': {
'London': true,
'Global': true
}
}
}
},
{
id: '2',
name: 'NO',
lastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),
lastPricePercent: makeNumber(randomInt(20, 50), '%'),
position: {
qtyShares: makeNumber(455, 'Shares'),
totalValue: makeNumber(776, 'eth'),
gainPercent: makeNumber(-6, '%'),
purchasePrice: makeNumber(0.6, 'eth'),
shareChange: makeNumber(0.5, 'eth'),
totalCost: makeNumber(980, 'eth'),
netChange: makeNumber(230, 'eth')
},
trade: {
numShares: 0,
limitPrice: 0,
tradeSummary: {
totalEther: makeNumber(0)
currentTier = allTags,
finalTags = [];
// randomly choose num tags with more weight towards having all 3
if (randomNum >= 95) {
numTags = 0;
}
else if (randomNum >= 85) {
numTags = 1;
}
else if (randomNum >= 65) {
numTags = 2;
}
else {
numTags = 3;
}
for (var i = 0; i < numTags; i++) {
let keysCurrentTier = Object.keys(currentTier);
let randomTag = keysCurrentTier[randomInt(0, keysCurrentTier.length - 1)];
finalTags.push(randomTag);
currentTier = currentTier[randomTag];
}
return finalTags;
}
// outcomes
m.outcomes = makeOutcomes();
function makeOutcomes() {
var numOutcomes = randomInt(2, 8),
outcomes = [],
outcome,
percentLeft = 100;
for (var i = 1; i <= numOutcomes; i++) {
outcome = makeOutcome(i, percentLeft);
percentLeft = percentLeft - outcome.lastPricePercent.value;
outcomes.push(outcome);
}
let finalLastPrice = (outcome.lastPricePercent.value + percentLeft) / 100;
outcome.lastPrice= makeNumber(finalLastPrice, 'eth');
outcome.lastPricePercent = makeNumber(finalLastPrice * 100, '%');
return outcomes.sort((a, b) => b.lastPrice.value - a.lastPrice.value);
function makeOutcome(index, percentLeft) {
var lastPrice = randomInt(0, percentLeft) / 100;
return {
id: index.toString(),
name: makeName(index),
lastPrice: makeNumber(lastPrice, 'eth'),
lastPricePercent: makeNumber(lastPrice * 100, '%'),
position: {
qtyShares: makeNumber(16898, 'Shares'),
totalValue: makeNumber(14877, 'eth'),
gainPercent: makeNumber(14, '%'),
purchasePrice: makeNumber(0.77, 'eth'),
shareChange: makeNumber(0.107, 'eth'),
totalCost: makeNumber(12555, 'eth'),
netChange: makeNumber(3344, 'eth')
},
onChangeTrade: (numShares, limitPrice) => {
limitPrice = m.outcomes[0].lastPrice.value;
m.outcomes[1].trade.numShares = numShares;
m.outcomes[1].trade.limitPrice = limitPrice;
m.outcomes[1].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);
require('../selectors').update();
trade: {
numShares: 0,
limitPrice: 0,
tradeSummary: {
totalEther: makeNumber(0)
},
onChangeTrade: (numShares, limitPrice) => {
limitPrice = m.outcomes[0].lastPrice.value;
m.outcomes[index].trade.numShares = numShares;
m.outcomes[index].trade.limitPrice = limitPrice;
m.outcomes[index].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);
console.log(m.outcomes[index].trade);
require('../selectors').update();
}
}
}
},
{
id: '3',
name: 'MAYBE',
lastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),
lastPricePercent: makeNumber(randomInt(0, 30), '%'),
trade: {
numShares: 0,
limitPrice: 0,
tradeSummary: {
totalEther: makeNumber(0)
},
onChangeTrade: (numShares, limitPrice) => {
limitPrice = m.outcomes[0].lastPrice.value;
m.outcomes[2].trade.numShares = numShares;
m.outcomes[2].trade.limitPrice = limitPrice;
m.outcomes[2].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);
require('../selectors').update();
};
function makeName(index) {
switch(index) {
case 1: return 'One';
case 2: return 'Two';
case 3: return 'Three';
case 4: return 'Four';
case 5: return 'Five';
case 6: return 'Six';
case 7: return 'Seven';
case 8: return 'Eight';
}
}
}
];
}
// reportable outcomes
m.reportableOutcomes = m.outcomes.slice();

@@ -155,2 +220,28 @@ m.reportableOutcomes.push({ id: '1.5', name: 'indeterminate' });

// price history
let dayMillis = 24 * 60 * 60 * 1000;
let nowMillis = new Date().getTime();
m.priceTimeSeries = [
{
name: "outcome 1",
data: [
[nowMillis - 50 * dayMillis, 0.3],
[nowMillis - 40 * dayMillis, 0.1],
[nowMillis - 30 * dayMillis, 0.65],
[nowMillis - 20 * dayMillis, 0.93]
],
color: "#f00"
},
{
name: "outcome 2",
data: [
[nowMillis - 55 * dayMillis, 0.8],
[nowMillis - 45 * dayMillis, 0.7],
[nowMillis - 35 * dayMillis, 0.6],
[nowMillis - 25 * dayMillis, 0.4]
],
color: "#0f0"
}
];
// positions summary

@@ -157,0 +248,0 @@ m.positionsSummary = {

export function makeNumber(num, denomination, omitSign) {
if (Math.round(num) !== num) num = Math.round(num * 100) / 100;
var o = {

@@ -3,0 +4,0 @@ value: num,

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 not supported yet

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 not supported yet

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

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 not supported yet

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 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