diff --git a/.gitignore b/.gitignore
index 13d22a4..107872c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
node_modules/
.settings/
.idea/
-
+coverage/
#npm devug
npm-debug.log
diff --git a/coverage/coverage-final.json b/coverage/coverage-final.json
deleted file mode 100644
index fa8b77b..0000000
--- a/coverage/coverage-final.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-"/Users/philkunz/github/pushrocks/smartenv/dist/index.js":{"path":"/Users/philkunz/github/pushrocks/smartenv/dist/index.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":4,"column":0},"end":{"line":4,"column":60}},"2":{"start":{"line":5,"column":0},"end":{"line":5,"column":64}},"3":{"start":{"line":6,"column":0},"end":{"line":6,"column":18}},"4":{"start":{"line":7,"column":0},"end":{"line":7,"column":35}},"5":{"start":{"line":8,"column":0},"end":{"line":8,"column":41}},"6":{"start":{"line":9,"column":0},"end":{"line":9,"column":26}}},"branchMap":{},"l":{"4":1,"5":1,"6":1,"7":1,"8":1,"9":1}},
-"/Users/philkunz/github/pushrocks/smartenv/dist/smartenv.environment.js":{"path":"/Users/philkunz/github/pushrocks/smartenv/dist/smartenv.environment.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":4,"8":1,"9":1,"10":1,"11":1,"12":0,"13":0,"14":1,"15":1,"16":1,"17":1,"18":4,"19":1,"20":2,"21":2,"22":2,"23":2,"24":0,"25":0,"26":2,"27":2,"28":1,"29":1,"30":1},"b":{"1":[1,3],"2":[0,1],"3":[1,0],"4":[2,0]},"f":{"1":4,"2":1,"3":2,"4":1},"fnMap":{"1":{"name":"(anonymous_1)","line":16,"loc":{"start":{"line":16,"column":13},"end":{"line":16,"column":25}}},"2":{"name":"(anonymous_2)","line":18,"loc":{"start":{"line":18,"column":9},"end":{"line":18,"column":21}}},"3":{"name":"(anonymous_3)","line":38,"loc":{"start":{"line":38,"column":15},"end":{"line":38,"column":27}}},"4":{"name":"(anonymous_4)","line":51,"loc":{"start":{"line":51,"column":15},"end":{"line":51,"column":36}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":7,"column":44}},"2":{"start":{"line":8,"column":0},"end":{"line":8,"column":52}},"3":{"start":{"line":9,"column":0},"end":{"line":9,"column":64}},"4":{"start":{"line":10,"column":0},"end":{"line":10,"column":16}},"5":{"start":{"line":11,"column":0},"end":{"line":11,"column":26}},"6":{"start":{"line":16,"column":0},"end":{"line":34,"column":2}},"7":{"start":{"line":17,"column":4},"end":{"line":31,"column":5}},"8":{"start":{"line":18,"column":8},"end":{"line":29,"column":13}},"9":{"start":{"line":19,"column":12},"end":{"line":19,"column":46}},"10":{"start":{"line":20,"column":12},"end":{"line":20,"column":45}},"11":{"start":{"line":21,"column":12},"end":{"line":27,"column":13}},"12":{"start":{"line":22,"column":16},"end":{"line":22,"column":44}},"13":{"start":{"line":23,"column":16},"end":{"line":23,"column":53}},"14":{"start":{"line":25,"column":17},"end":{"line":27,"column":13}},"15":{"start":{"line":26,"column":16},"end":{"line":26,"column":41}},"16":{"start":{"line":28,"column":12},"end":{"line":28,"column":91}},"17":{"start":{"line":30,"column":8},"end":{"line":30,"column":29}},"18":{"start":{"line":33,"column":4},"end":{"line":33,"column":23}},"19":{"start":{"line":38,"column":0},"end":{"line":50,"column":2}},"20":{"start":{"line":39,"column":4},"end":{"line":47,"column":5}},"21":{"start":{"line":40,"column":8},"end":{"line":40,"column":48}},"22":{"start":{"line":41,"column":8},"end":{"line":41,"column":65}},"23":{"start":{"line":42,"column":8},"end":{"line":42,"column":126}},"24":{"start":{"line":45,"column":8},"end":{"line":45,"column":51}},"25":{"start":{"line":46,"column":8},"end":{"line":46,"column":71}},"26":{"start":{"line":48,"column":4},"end":{"line":48,"column":103}},"27":{"start":{"line":49,"column":4},"end":{"line":49,"column":80}},"28":{"start":{"line":51,"column":0},"end":{"line":54,"column":2}},"29":{"start":{"line":52,"column":4},"end":{"line":52,"column":30}},"30":{"start":{"line":53,"column":4},"end":{"line":53,"column":34}}},"branchMap":{"1":{"line":17,"type":"if","locations":[{"start":{"line":17,"column":4},"end":{"line":17,"column":4}},{"start":{"line":17,"column":4},"end":{"line":17,"column":4}}]},"2":{"line":21,"type":"if","locations":[{"start":{"line":21,"column":12},"end":{"line":21,"column":12}},{"start":{"line":21,"column":12},"end":{"line":21,"column":12}}]},"3":{"line":25,"type":"if","locations":[{"start":{"line":25,"column":17},"end":{"line":25,"column":17}},{"start":{"line":25,"column":17},"end":{"line":25,"column":17}}]},"4":{"line":39,"type":"if","locations":[{"start":{"line":39,"column":4},"end":{"line":39,"column":4}},{"start":{"line":39,"column":4},"end":{"line":39,"column":4}}]}},"l":{"7":1,"8":1,"9":1,"10":1,"11":1,"16":1,"17":4,"18":1,"19":1,"20":1,"21":1,"22":0,"23":0,"25":1,"26":1,"28":1,"30":1,"33":4,"38":1,"39":2,"40":2,"41":2,"42":2,"45":0,"46":0,"48":2,"49":2,"51":1,"52":1,"53":1}},
-"/Users/philkunz/github/pushrocks/smartenv/dist/smartenv.plugins.js":{"path":"/Users/philkunz/github/pushrocks/smartenv/dist/smartenv.plugins.js","s":{"1":1,"2":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":4,"column":0},"end":{"line":4,"column":41}},"2":{"start":{"line":5,"column":0},"end":{"line":5,"column":30}}},"branchMap":{},"l":{"4":1,"5":1}},
-"/Users/philkunz/github/pushrocks/smartenv/dist/smartenv.classes.js":{"path":"/Users/philkunz/github/pushrocks/smartenv/dist/smartenv.classes.js","s":{"1":1,"2":1,"3":1,"4":0,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":0,"12":0,"13":0,"14":0,"15":1,"16":1},"b":{"1":[0,1],"2":[1,0],"3":[0,0]},"f":{"1":1,"2":1},"fnMap":{"1":{"name":"(anonymous_1)","line":4,"loc":{"start":{"line":4,"column":19},"end":{"line":4,"column":31}}},"2":{"name":"Environment","line":5,"loc":{"start":{"line":5,"column":4},"end":{"line":5,"column":54}}}},"statementMap":{"1":{"start":{"line":4,"column":0},"end":{"line":22,"column":5}},"2":{"start":{"line":5,"column":4},"end":{"line":19,"column":5}},"3":{"start":{"line":6,"column":8},"end":{"line":6,"column":68}},"4":{"start":{"line":6,"column":39},"end":{"line":6,"column":66}},"5":{"start":{"line":7,"column":8},"end":{"line":7,"column":40}},"6":{"start":{"line":8,"column":8},"end":{"line":8,"column":38}},"7":{"start":{"line":9,"column":8},"end":{"line":18,"column":9}},"8":{"start":{"line":10,"column":12},"end":{"line":10,"column":35}},"9":{"start":{"line":11,"column":12},"end":{"line":11,"column":31}},"10":{"start":{"line":12,"column":12},"end":{"line":12,"column":47}},"11":{"start":{"line":14,"column":13},"end":{"line":18,"column":9}},"12":{"start":{"line":15,"column":12},"end":{"line":15,"column":34}},"13":{"start":{"line":16,"column":12},"end":{"line":16,"column":32}},"14":{"start":{"line":17,"column":12},"end":{"line":17,"column":43}},"15":{"start":{"line":21,"column":4},"end":{"line":21,"column":23}},"16":{"start":{"line":23,"column":0},"end":{"line":23,"column":34}}},"branchMap":{"1":{"line":6,"type":"if","locations":[{"start":{"line":6,"column":8},"end":{"line":6,"column":8}},{"start":{"line":6,"column":8},"end":{"line":6,"column":8}}]},"2":{"line":9,"type":"if","locations":[{"start":{"line":9,"column":8},"end":{"line":9,"column":8}},{"start":{"line":9,"column":8},"end":{"line":9,"column":8}}]},"3":{"line":14,"type":"if","locations":[{"start":{"line":14,"column":13},"end":{"line":14,"column":13}},{"start":{"line":14,"column":13},"end":{"line":14,"column":13}}]}},"l":{"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"14":0,"15":0,"16":0,"17":0,"21":1,"23":1}},
-"/Users/philkunz/github/pushrocks/smartenv/dist/smartenv.objectstorage.js":{"path":"/Users/philkunz/github/pushrocks/smartenv/dist/smartenv.objectstorage.js","s":{"1":1,"2":1,"3":2,"4":0,"5":2,"6":0,"7":2,"8":0,"9":0,"10":2,"11":0,"12":2,"13":1,"14":1,"15":2,"16":1,"17":1,"18":1,"19":0,"20":6,"21":2,"22":0,"23":0,"24":1},"b":{"1":[0,2],"2":[0,2],"3":[0,2],"4":[0,2],"5":[1,1],"6":[1,0]},"f":{"1":2,"2":1,"3":1,"4":6,"5":2,"6":0},"fnMap":{"1":{"name":"(anonymous_1)","line":6,"loc":{"start":{"line":6,"column":9},"end":{"line":6,"column":44}}},"2":{"name":"(anonymous_2)","line":24,"loc":{"start":{"line":24,"column":13},"end":{"line":24,"column":48}}},"3":{"name":"(anonymous_3)","line":27,"loc":{"start":{"line":27,"column":11},"end":{"line":27,"column":46}}},"4":{"name":"(anonymous_4)","line":35,"loc":{"start":{"line":35,"column":9},"end":{"line":35,"column":28}}},"5":{"name":"(anonymous_5)","line":38,"loc":{"start":{"line":38,"column":12},"end":{"line":38,"column":24}}},"6":{"name":"(anonymous_6)","line":41,"loc":{"start":{"line":41,"column":17},"end":{"line":41,"column":37}}}},"statementMap":{"1":{"start":{"line":4,"column":0},"end":{"line":4,"column":44}},"2":{"start":{"line":5,"column":0},"end":{"line":45,"column":2}},"3":{"start":{"line":7,"column":8},"end":{"line":7,"column":68}},"4":{"start":{"line":7,"column":39},"end":{"line":7,"column":66}},"5":{"start":{"line":8,"column":8},"end":{"line":8,"column":62}},"6":{"start":{"line":8,"column":36},"end":{"line":8,"column":60}},"7":{"start":{"line":9,"column":8},"end":{"line":12,"column":9}},"8":{"start":{"line":10,"column":12},"end":{"line":10,"column":62}},"9":{"start":{"line":11,"column":12},"end":{"line":11,"column":19}},"10":{"start":{"line":13,"column":8},"end":{"line":15,"column":9}},"11":{"start":{"line":14,"column":12},"end":{"line":14,"column":62}},"12":{"start":{"line":16,"column":8},"end":{"line":21,"column":9}},"13":{"start":{"line":17,"column":12},"end":{"line":17,"column":55}},"14":{"start":{"line":20,"column":12},"end":{"line":20,"column":95}},"15":{"start":{"line":22,"column":8},"end":{"line":22,"column":46}},"16":{"start":{"line":25,"column":8},"end":{"line":25,"column":51}},"17":{"start":{"line":28,"column":8},"end":{"line":33,"column":9}},"18":{"start":{"line":29,"column":12},"end":{"line":29,"column":105}},"19":{"start":{"line":32,"column":12},"end":{"line":32,"column":91}},"20":{"start":{"line":36,"column":8},"end":{"line":36,"column":41}},"21":{"start":{"line":39,"column":8},"end":{"line":39,"column":32}},"22":{"start":{"line":42,"column":8},"end":{"line":42,"column":72}},"23":{"start":{"line":43,"column":8},"end":{"line":43,"column":32}},"24":{"start":{"line":46,"column":0},"end":{"line":46,"column":22}}},"branchMap":{"1":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":8},"end":{"line":7,"column":8}},{"start":{"line":7,"column":8},"end":{"line":7,"column":8}}]},"2":{"line":8,"type":"if","locations":[{"start":{"line":8,"column":8},"end":{"line":8,"column":8}},{"start":{"line":8,"column":8},"end":{"line":8,"column":8}}]},"3":{"line":9,"type":"if","locations":[{"start":{"line":9,"column":8},"end":{"line":9,"column":8}},{"start":{"line":9,"column":8},"end":{"line":9,"column":8}}]},"4":{"line":13,"type":"if","locations":[{"start":{"line":13,"column":8},"end":{"line":13,"column":8}},{"start":{"line":13,"column":8},"end":{"line":13,"column":8}}]},"5":{"line":16,"type":"if","locations":[{"start":{"line":16,"column":8},"end":{"line":16,"column":8}},{"start":{"line":16,"column":8},"end":{"line":16,"column":8}}]},"6":{"line":28,"type":"if","locations":[{"start":{"line":28,"column":8},"end":{"line":28,"column":8}},{"start":{"line":28,"column":8},"end":{"line":28,"column":8}}]}},"l":{"4":1,"5":1,"7":2,"8":2,"9":2,"10":0,"11":0,"13":2,"14":0,"16":2,"17":1,"20":1,"22":2,"25":1,"28":1,"29":1,"32":0,"36":6,"39":2,"42":0,"43":0,"46":1}}}
diff --git a/coverage/lcov-report/base.css b/coverage/lcov-report/base.css
deleted file mode 100644
index 0c0571d..0000000
--- a/coverage/lcov-report/base.css
+++ /dev/null
@@ -1,212 +0,0 @@
-body, html {
- margin:0; padding: 0;
- height: 100%;
-}
-body {
- font-family: Helvetica Neue, Helvetica, Arial;
- font-size: 14px;
- color:#333;
-}
-.small { font-size: 12px;; }
-*, *:after, *:before {
- -webkit-box-sizing:border-box;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- }
-h1 { font-size: 20px; margin: 0;}
-h2 { font-size: 14px; }
-pre {
- font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
- margin: 0;
- padding: 0;
- -moz-tab-size: 2;
- -o-tab-size: 2;
- tab-size: 2;
-}
-a { color:#0074D9; text-decoration:none; }
-a:hover { text-decoration:underline; }
-.strong { font-weight: bold; }
-.space-top1 { padding: 10px 0 0 0; }
-.pad2y { padding: 20px 0; }
-.pad1y { padding: 10px 0; }
-.pad2x { padding: 0 20px; }
-.pad2 { padding: 20px; }
-.pad1 { padding: 10px; }
-.space-left2 { padding-left:55px; }
-.space-right2 { padding-right:20px; }
-.center { text-align:center; }
-.clearfix { display:block; }
-.clearfix:after {
- content:'';
- display:block;
- height:0;
- clear:both;
- visibility:hidden;
- }
-.fl { float: left; }
-@media only screen and (max-width:640px) {
- .col3 { width:100%; max-width:100%; }
- .hide-mobile { display:none!important; }
-}
-
-.quiet {
- color: #7f7f7f;
- color: rgba(0,0,0,0.5);
-}
-.quiet a { opacity: 0.7; }
-
-.fraction {
- font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
- font-size: 10px;
- color: #555;
- background: #E8E8E8;
- padding: 4px 5px;
- border-radius: 3px;
- vertical-align: middle;
-}
-
-div.path a:link, div.path a:visited { color: #333; }
-table.coverage {
- border-collapse: collapse;
- margin: 10px 0 0 0;
- padding: 0;
-}
-
-table.coverage td {
- margin: 0;
- padding: 0;
- vertical-align: top;
-}
-table.coverage td.line-count {
- text-align: right;
- padding: 0 5px 0 20px;
-}
-table.coverage td.line-coverage {
- text-align: right;
- padding-right: 10px;
- min-width:20px;
-}
-
-table.coverage td span.cline-any {
- display: inline-block;
- padding: 0 5px;
- width: 100%;
-}
-.missing-if-branch {
- display: inline-block;
- margin-right: 5px;
- border-radius: 3px;
- position: relative;
- padding: 0 4px;
- background: #333;
- color: yellow;
-}
-
-.skip-if-branch {
- display: none;
- margin-right: 10px;
- position: relative;
- padding: 0 4px;
- background: #ccc;
- color: white;
-}
-.missing-if-branch .typ, .skip-if-branch .typ {
- color: inherit !important;
-}
-.coverage-summary {
- border-collapse: collapse;
- width: 100%;
-}
-.coverage-summary tr { border-bottom: 1px solid #bbb; }
-.keyline-all { border: 1px solid #ddd; }
-.coverage-summary td, .coverage-summary th { padding: 10px; }
-.coverage-summary tbody { border: 1px solid #bbb; }
-.coverage-summary td { border-right: 1px solid #bbb; }
-.coverage-summary td:last-child { border-right: none; }
-.coverage-summary th {
- text-align: left;
- font-weight: normal;
- white-space: nowrap;
-}
-.coverage-summary th.file { border-right: none !important; }
-.coverage-summary th.pct { }
-.coverage-summary th.pic,
-.coverage-summary th.abs,
-.coverage-summary td.pct,
-.coverage-summary td.abs { text-align: right; }
-.coverage-summary td.file { white-space: nowrap; }
-.coverage-summary td.pic { min-width: 120px !important; }
-.coverage-summary tfoot td { }
-
-.coverage-summary .sorter {
- height: 10px;
- width: 7px;
- display: inline-block;
- margin-left: 0.5em;
- background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
-}
-.coverage-summary .sorted .sorter {
- background-position: 0 -20px;
-}
-.coverage-summary .sorted-desc .sorter {
- background-position: 0 -10px;
-}
-.status-line { height: 10px; }
-/* dark red */
-.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
-.low .chart { border:1px solid #C21F39 }
-/* medium red */
-.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
-/* light red */
-.low, .cline-no { background:#FCE1E5 }
-/* light green */
-.high, .cline-yes { background:rgb(230,245,208) }
-/* medium green */
-.cstat-yes { background:rgb(161,215,106) }
-/* dark green */
-.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
-.high .chart { border:1px solid rgb(77,146,33) }
-
-
-.medium .chart { border:1px solid #666; }
-.medium .cover-fill { background: #666; }
-
-.cbranch-no { background: yellow !important; color: #111; }
-
-.cstat-skip { background: #ddd; color: #111; }
-.fstat-skip { background: #ddd; color: #111 !important; }
-.cbranch-skip { background: #ddd !important; color: #111; }
-
-span.cline-neutral { background: #eaeaea; }
-.medium { background: #eaeaea; }
-
-.cover-fill, .cover-empty {
- display:inline-block;
- height: 12px;
-}
-.chart {
- line-height: 0;
-}
-.cover-empty {
- background: white;
-}
-.cover-full {
- border-right: none !important;
-}
-pre.prettyprint {
- border: none !important;
- padding: 0 !important;
- margin: 0 !important;
-}
-.com { color: #999 !important; }
-.ignore-none { color: #999; font-weight: normal; }
-
-.wrapper {
- min-height: 100%;
- height: auto !important;
- height: 100%;
- margin: 0 auto -48px;
-}
-.footer, .push {
- height: 48px;
-}
diff --git a/coverage/lcov-report/dist/index.html b/coverage/lcov-report/dist/index.html
deleted file mode 100644
index 664fe7e..0000000
--- a/coverage/lcov-report/dist/index.html
+++ /dev/null
@@ -1,145 +0,0 @@
-
-
-
- Code coverage report for dist/
-
-
-
-
-
-
-
-
-
-
-
-
- 78.21%
- Statements
- 61/78
-
-
- 53.85%
- Branches
- 14/26
-
-
- 91.67%
- Functions
- 11/12
-
-
- 81.33%
- Lines
- 61/75
-
-
-
-
-
-
-
-
- File |
- |
- Statements |
- |
- Branches |
- |
- Functions |
- |
- Lines |
- |
-
-
-
- index.js |
- |
- 100% |
- 6/6 |
- 100% |
- 0/0 |
- 100% |
- 0/0 |
- 100% |
- 6/6 |
-
-
-
- smartenv.classes.js |
- |
- 68.75% |
- 11/16 |
- 33.33% |
- 2/6 |
- 100% |
- 2/2 |
- 73.33% |
- 11/15 |
-
-
-
- smartenv.environment.js |
- |
- 86.67% |
- 26/30 |
- 62.5% |
- 5/8 |
- 100% |
- 4/4 |
- 86.67% |
- 26/30 |
-
-
-
- smartenv.objectstorage.js |
- |
- 66.67% |
- 16/24 |
- 58.33% |
- 7/12 |
- 83.33% |
- 5/6 |
- 72.73% |
- 16/22 |
-
-
-
- smartenv.plugins.js |
- |
- 100% |
- 2/2 |
- 100% |
- 0/0 |
- 100% |
- 0/0 |
- 100% |
- 2/2 |
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/coverage/lcov-report/dist/index.js.html b/coverage/lcov-report/dist/index.js.html
deleted file mode 100644
index 40d4142..0000000
--- a/coverage/lcov-report/dist/index.js.html
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
- Code coverage report for dist/index.js
-
-
-
-
-
-
-
-
-
-
-
-
- 100%
- Statements
- 6/6
-
-
- 100%
- Branches
- 0/0
-
-
- 100%
- Functions
- 0/0
-
-
- 100%
- Lines
- 6/6
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12 |
-
-
-1×
-1×
-1×
-1×
-1×
-1×
-
-
- | #!/usr/bin/env node
-
-/// <reference path="typings/main.d.ts" />
-var SmartenvEnvironment = require("./smartenv.environment");
-var SmartenvObjectStorage = require("./smartenv.objectstorage");
-var smartenv = {}; //create smartenv object
-SmartenvEnvironment.init(smartenv);
-smartenv.obs = SmartenvObjectStorage.obs;
-module.exports = smartenv;
-
-//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBDQUEwQztBQUUxQyxJQUFPLG1CQUFtQixXQUFXLHdCQUF3QixDQUFDLENBQUM7QUFDL0QsSUFBTyxxQkFBcUIsV0FBVywwQkFBMEIsQ0FBQyxDQUFDO0FBRW5FLElBQUksUUFBUSxHQUFPLEVBQUUsQ0FBQyxDQUFDLHdCQUF3QjtBQUMvQyxtQkFBbUIsQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLENBQUM7QUFDbkMsUUFBUSxDQUFDLEdBQUcsR0FBRyxxQkFBcUIsQ0FBQyxHQUFHLENBQUM7QUFFekMsaUJBQVMsUUFBUSxDQUFDIiwiZmlsZSI6ImluZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8vIDxyZWZlcmVuY2UgcGF0aD1cInR5cGluZ3MvbWFpbi5kLnRzXCIgLz5cblxuaW1wb3J0IFNtYXJ0ZW52RW52aXJvbm1lbnQgPSByZXF1aXJlKFwiLi9zbWFydGVudi5lbnZpcm9ubWVudFwiKTtcbmltcG9ydCBTbWFydGVudk9iamVjdFN0b3JhZ2UgPSByZXF1aXJlKFwiLi9zbWFydGVudi5vYmplY3RzdG9yYWdlXCIpO1xuXG52YXIgc21hcnRlbnY6YW55ID0ge307IC8vY3JlYXRlIHNtYXJ0ZW52IG9iamVjdFxuU21hcnRlbnZFbnZpcm9ubWVudC5pbml0KHNtYXJ0ZW52KTtcbnNtYXJ0ZW52Lm9icyA9IFNtYXJ0ZW52T2JqZWN0U3RvcmFnZS5vYnM7XG5cbmV4cG9ydCA9IHNtYXJ0ZW52O1xuIl0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9
- |
-
-
-
-
-
-
-
-
-
-
diff --git a/coverage/lcov-report/dist/smartenv.classes.js.html b/coverage/lcov-report/dist/smartenv.classes.js.html
deleted file mode 100644
index 45d89e8..0000000
--- a/coverage/lcov-report/dist/smartenv.classes.js.html
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
-
- Code coverage report for dist/smartenv.classes.js
-
-
-
-
-
-
-
-
-
-
-
-
- 68.75%
- Statements
- 11/16
-
-
- 33.33%
- Branches
- 2/6
-
-
- 100%
- Functions
- 2/2
-
-
- 73.33%
- Lines
- 11/15
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26 |
-
-
-1×
-1×
-1×
-1×
-1×
-1×
-1×
-1×
-1×
-
-
-
-
-
-
-
-
-1×
-
-1×
-
-
- | #!/usr/bin/env node
-
-/// <reference path="typings/main.d.ts" />
-var Environment = (function () {
- function Environment(runtimeEnvArg, userAgentArg) {
- Iif (userAgentArg === void 0) { userAgentArg = "undefined"; }
- this.runtimeEnv = runtimeEnvArg;
- this.userAgent = userAgentArg;
- Eif (runtimeEnvArg == "node") {
- this.isBrowser = false;
- this.isNode = true;
- this.nodeVersion = process.version;
- }
- else if (runtimeEnvArg == "browser") {
- this.isBrowser = true;
- this.isNode = false;
- this.nodeVersion = "undefined";
- }
- }
- ;
- return Environment;
-})();
-exports.Environment = Environment;
-
-//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNtYXJ0ZW52LmNsYXNzZXMudHMiXSwibmFtZXMiOlsiRW52aXJvbm1lbnQiLCJFbnZpcm9ubWVudC5jb25zdHJ1Y3RvciJdLCJtYXBwaW5ncyI6IkFBQUEsMENBQTBDO0FBQzFDO0lBTUlBLHFCQUFZQSxhQUFvQkEsRUFBQ0EsWUFBaUNBO1FBQWpDQyw0QkFBaUNBLEdBQWpDQSwwQkFBaUNBO1FBQzlEQSxJQUFJQSxDQUFDQSxVQUFVQSxHQUFHQSxhQUFhQSxDQUFDQTtRQUNoQ0EsSUFBSUEsQ0FBQ0EsU0FBU0EsR0FBR0EsWUFBWUEsQ0FBQ0E7UUFDOUJBLEVBQUVBLENBQUFBLENBQUNBLGFBQWFBLElBQUlBLE1BQU1BLENBQUNBLENBQUFBLENBQUNBO1lBQ3hCQSxJQUFJQSxDQUFDQSxTQUFTQSxHQUFHQSxLQUFLQSxDQUFDQTtZQUN2QkEsSUFBSUEsQ0FBQ0EsTUFBTUEsR0FBR0EsSUFBSUEsQ0FBQ0E7WUFDbkJBLElBQUlBLENBQUNBLFdBQVdBLEdBQUdBLE9BQU9BLENBQUNBLE9BQU9BLENBQUNBO1FBQ3ZDQSxDQUFDQTtRQUFDQSxJQUFJQSxDQUFDQSxFQUFFQSxDQUFDQSxDQUFDQSxhQUFhQSxJQUFJQSxTQUFTQSxDQUFDQSxDQUFDQSxDQUFDQTtZQUNwQ0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iAgICAgICAgfSBlbHNlIGlmIChydW50aW1lRW52QXJnID09IFwiYnJvd3NlclwiKSB7XG4gICAgICAgICAgICB0aGlzLmlzQnJvd3NlciA9IHRydWU7XG4gICAgICAgICAgICB0aGlzLmlzTm9kZSA9IGZhbHNlO1xuICAgICAgICAgICAgdGhpcy5ub2RlVmVyc2lvbiA9IFwidW5kZWZpbmVkXCI7XG4gICAgICAgIH1cbiAgICB9O1xufVxuIl0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9
- |
-
-
-
-
-
-
-
-
-
-
diff --git a/coverage/lcov-report/dist/smartenv.environment.js.html b/coverage/lcov-report/dist/smartenv.environment.js.html
deleted file mode 100644
index c8422d0..0000000
--- a/coverage/lcov-report/dist/smartenv.environment.js.html
+++ /dev/null
@@ -1,233 +0,0 @@
-
-
-
- Code coverage report for dist/smartenv.environment.js
-
-
-
-
-
-
-
-
-
-
- all files / dist/ smartenv.environment.js
-
-
-
- 86.67%
- Statements
- 26/30
-
-
- 62.5%
- Branches
- 5/8
-
-
- 100%
- Functions
- 4/4
-
-
- 86.67%
- Lines
- 26/30
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57 |
-
-
-
-
-
-1×
-1×
-1×
-1×
-1×
-
-
-
-
-1×
-4×
-1×
-1×
-1×
-1×
-
-
-
-1×
-1×
-
-1×
-
-1×
-
-
-4×
-
-
-
-
-1×
-2×
-2×
-2×
-2×
-
-
-
-
-
-2×
-2×
-
-1×
-1×
-1×
-
-
-
- | #!/usr/bin/env node
-
-/// <reference path="typings/main.d.ts" />
-/**
- * Deals with the environment the current JS script is running in.
- */
-var plugins = require("./smartenv.plugins");
-var SmartenvClasses = require("./smartenv.classes");
-var SmartenvObjectStorage = require("./smartenv.objectstorage");
-var environment;
-var envDetermined = false;
-/**
- * returns the environment
- * @returns {Environment}
- */
-var getEnv = function () {
- if (!envDetermined) {
- (function () {
- var localRunTimeEnv = "undefined";
- var localUserAgent = "undefined";
- Iif (typeof window !== "undefined") {
- localRunTimeEnv = 'browser';
- localUserAgent = navigator.userAgent;
- }
- else Eif (typeof process !== "undefined") {
- localRunTimeEnv = 'node';
- }
- environment = new SmartenvClasses.Environment(localRunTimeEnv, localUserAgent);
- })();
- envDetermined = true; // ensure code above only runs once
- }
- ;
- return environment;
-};
-/**
- * prints the environment to console
- */
-var printEnv = function () {
- Eif (this.getEnv().isNode) {
- plugins.beautylog.ok("running on NODE");
- var smartenvVersion = require("../package.json").version;
- plugins.beautylog.log("node version is " + this.getEnv().nodeVersion + " and smartenv version is " + smartenvVersion);
- }
- else {
- plugins.beautylog.ok("running on BROWSER");
- plugins.beautylog.log("browser is " + this.getEnv().userAgent);
- }
- plugins.beautylog.log("the smartenv registration store currently holds the following properties:");
- console.log(Object.getOwnPropertyNames(SmartenvObjectStorage.obs.getAll()));
-};
-exports.init = function (objectArg) {
- objectArg.getEnv = getEnv;
- objectArg.printEnv = printEnv;
-};
-
-//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNtYXJ0ZW52LmVudmlyb25tZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBDQUEwQztBQUMxQzs7R0FFRztBQUNILElBQU8sT0FBTyxXQUFXLG9CQUFvQixDQUFDLENBQUM7QUFDL0MsSUFBTyxlQUFlLFdBQVcsb0JBQW9CLENBQUMsQ0FBQztBQUN2RCxJQUFPLHFCQUFxQixXQUFXLDBCQUEwQixDQUFDLENBQUM7QUFHbkUsSUFBSSxXQUF1QyxDQUFDO0FBQzVDLElBQUksYUFBYSxHQUFXLEtBQUssQ0FBQztBQUVsQzs7O0dBR0c7QUFDSCxJQUFJLE1BQU0sR0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9iamVjdEFyZykge1xuICAgIG9iamVjdEFyZy5nZXRFbnYgPSBnZXRFbnY7XG4gICAgb2JqZWN0QXJnLnByaW50RW52ID0gcHJpbnRFbnY7XG59OyJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ==
- |
-
-
-
-
-
-
-
-
-
-
diff --git a/coverage/lcov-report/dist/smartenv.objectstorage.js.html b/coverage/lcov-report/dist/smartenv.objectstorage.js.html
deleted file mode 100644
index 04d1bfa..0000000
--- a/coverage/lcov-report/dist/smartenv.objectstorage.js.html
+++ /dev/null
@@ -1,209 +0,0 @@
-
-
-
- Code coverage report for dist/smartenv.objectstorage.js
-
-
-
-
-
-
-
-
-
-
- all files / dist/ smartenv.objectstorage.js
-
-
-
- 66.67%
- Statements
- 16/24
-
-
- 58.33%
- Branches
- 7/12
-
-
- 83.33%
- Functions
- 5/6
-
-
- 72.73%
- Lines
- 16/22
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49 |
-
-
-1×
-1×
-
-2×
-2×
-2×
-
-
-
-2×
-
-
-2×
-1×
-
-
-1×
-
-2×
-
-
-1×
-
-
-1×
-1×
-
-
-
-
-
-
-6×
-
-
-2×
-
-
-
-
-
-
-1×
-
-
- | #!/usr/bin/env node
-
-/// <reference path="typings/main.d.ts" />
-var plugins = require("./smartenv.plugins");
-exports.obs = {
- add: function (paramNameArg, objectArg) {
- Iif (paramNameArg === void 0) { paramNameArg = "undefined"; }
- Iif (objectArg === void 0) { objectArg = "undefined"; }
- Iif (paramNameArg == "undefined") {
- plugins.beautylog.error("paramName is undefined");
- return;
- }
- Iif (objectArg == "undefined") {
- plugins.beautylog.error("objectArg is undefined");
- }
- if (typeof exports.obsItems[paramNameArg] === "undefined") {
- exports.obsItems[paramNameArg] = objectArg;
- }
- else {
- plugins.beautylog.error("object is already present, so add operation has failed.");
- }
- return exports.obsItems[paramNameArg];
- },
- replace: function (paramNameArg, objectArg) {
- exports.obsItems[paramNameArg] = objectArg;
- },
- merge: function (paramNameArg, objectArg) {
- Eif (!(typeof exports.obsItems[paramNameArg] === "undefined")) {
- exports.obsItems[paramNameArg] = plugins._.assign(exports.obsItems[paramNameArg], objectArg);
- }
- else {
- plugins.beautylog.error("object is not present, so there is nothing to merge");
- }
- },
- get: function (keyName) {
- return exports.obsItems[keyName];
- },
- getAll: function () {
- return exports.obsItems;
- },
- addComplete: function (itemsArg) {
- exports.obsItems = plugins._.assign(exports.obsItems, itemsArg);
- return exports.obsItems;
- }
-};
-exports.obsItems = {};
-
-//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNtYXJ0ZW52Lm9iamVjdHN0b3JhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMENBQTBDO0FBQzFDLElBQU8sT0FBTyxXQUFXLG9CQUFvQixDQUFDLENBQUM7QUFFcEMsV0FBRyxHQUFPO0lBQ2pCLEdBQUcsRUFBRSxVQUFTLFlBQTBCLEVBQUMsU0FBdUI7UUFBbEQsNEJBQTBCLEdBQTFCLDBCQUEwQjtRQUFDLHlCQUF1QixHQUF2Qix1QkFBdUI7UUFDNUQsRUFBRSxDQUFDLENBQUMsWUFBWSxJQUFJLFdBQVcsQ0FBQyxDQUFBLENBQUM7WUFDN0IsT0FBTyxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsd0JBQXdCLENBQUMsQ0FBQztZQUNsRCxNQUFNLENBQUM7UUFDWCxDQUFDO1FBQ0QsRUFBRSxDQUFDLENBQUMsU0FBUyxJQUFJLFdBQVcsQ0FBQyxDQUFBLENBQUM7WUFDMUIsT0FBTyxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsd0JBQXdCLENBQUMsQ0FBQztRQUN0R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yA9IHBsdWdpbnMuXy5hc3NpZ24ob2JzSXRlbXMsaXRlbXNBcmcpO1xuICAgICAgICByZXR1cm4gb2JzSXRlbXM7XG4gICAgfVxufTtcbmV4cG9ydCB2YXIgb2JzSXRlbXM6YW55ID0ge307Il0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9
- |
-
-
-
-
-
-
-
-
-
-
diff --git a/coverage/lcov-report/dist/smartenv.plugins.js.html b/coverage/lcov-report/dist/smartenv.plugins.js.html
deleted file mode 100644
index 4e22768..0000000
--- a/coverage/lcov-report/dist/smartenv.plugins.js.html
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
- Code coverage report for dist/smartenv.plugins.js
-
-
-
-
-
-
-
-
-
-
-
-
- 100%
- Statements
- 2/2
-
-
- 100%
- Branches
- 0/0
-
-
- 100%
- Functions
- 0/0
-
-
- 100%
- Lines
- 2/2
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8 |
-
-
-1×
-1×
-
-
- | #!/usr/bin/env node
-
-/// <reference path="typings/main.d.ts" />
-exports.beautylog = require("beautylog");
-exports._ = require("lodash");
-
-//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNtYXJ0ZW52LnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMENBQTBDO0FBQy9CLGlCQUFTLEdBQUcsT0FBTyxDQUFDLFdBQVcsQ0FBQyxDQUFDO0FBQ2pDLFNBQUMsR0FBRyxPQUFPLENBQUMsUUFBUSxDQUFDLENBQUMiLCJmaWxlIjoic21hcnRlbnYucGx1Z2lucy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vLyA8cmVmZXJlbmNlIHBhdGg9XCJ0eXBpbmdzL21haW4uZC50c1wiIC8+XG5leHBvcnQgdmFyIGJlYXV0eWxvZyA9IHJlcXVpcmUoXCJiZWF1dHlsb2dcIik7XG5leHBvcnQgdmFyIF8gPSByZXF1aXJlKFwibG9kYXNoXCIpOyJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ==
- |
-
-
-
-
-
-
-
-
-
-
diff --git a/coverage/lcov-report/index.html b/coverage/lcov-report/index.html
deleted file mode 100644
index 1c26686..0000000
--- a/coverage/lcov-report/index.html
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
- Code coverage report for All files
-
-
-
-
-
-
-
-
-
-
- /
-
-
-
- 78.21%
- Statements
- 61/78
-
-
- 53.85%
- Branches
- 14/26
-
-
- 91.67%
- Functions
- 11/12
-
-
- 81.33%
- Lines
- 61/75
-
-
-
-
-
-
-
-
- File |
- |
- Statements |
- |
- Branches |
- |
- Functions |
- |
- Lines |
- |
-
-
-
- dist/ |
- |
- 78.21% |
- 61/78 |
- 53.85% |
- 14/26 |
- 91.67% |
- 11/12 |
- 81.33% |
- 61/75 |
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/coverage/lcov-report/prettify.css b/coverage/lcov-report/prettify.css
deleted file mode 100644
index b317a7c..0000000
--- a/coverage/lcov-report/prettify.css
+++ /dev/null
@@ -1 +0,0 @@
-.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
diff --git a/coverage/lcov-report/prettify.js b/coverage/lcov-report/prettify.js
deleted file mode 100644
index ef51e03..0000000
--- a/coverage/lcov-report/prettify.js
+++ /dev/null
@@ -1 +0,0 @@
-window.PR_SHOULD_USE_CONTINUATION=true;(function(){var h=["break,continue,do,else,for,if,return,while"];var u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var p=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var l=[p,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var x=[p,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var R=[x,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];var r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";var w=[p,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var I=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var f=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var H=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var A=[l,R,w,s+I,f,H];var e=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;var C="str";var z="kwd";var j="com";var O="typ";var G="lit";var L="pun";var F="pln";var m="tag";var E="dec";var J="src";var P="atn";var n="atv";var N="nocode";var M="(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(Z){var ad=0;var S=false;var ac=false;for(var V=0,U=Z.length;V122)){if(!(al<65||ag>90)){af.push([Math.max(65,ag)|32,Math.min(al,90)|32])}if(!(al<97||ag>122)){af.push([Math.max(97,ag)&~32,Math.min(al,122)&~32])}}}}af.sort(function(av,au){return(av[0]-au[0])||(au[1]-av[1])});var ai=[];var ap=[NaN,NaN];for(var ar=0;arat[0]){if(at[1]+1>at[0]){an.push("-")}an.push(T(at[1]))}}an.push("]");return an.join("")}function W(al){var aj=al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var ah=aj.length;var an=[];for(var ak=0,am=0;ak=2&&ai==="["){aj[ak]=X(ag)}else{if(ai!=="\\"){aj[ak]=ag.replace(/[a-zA-Z]/g,function(ao){var ap=ao.charCodeAt(0);return"["+String.fromCharCode(ap&~32,ap|32)+"]"})}}}}return aj.join("")}var aa=[];for(var V=0,U=Z.length;V=0;){S[ac.charAt(ae)]=Y}}var af=Y[1];var aa=""+af;if(!ag.hasOwnProperty(aa)){ah.push(af);ag[aa]=null}}ah.push(/[\0-\uffff]/);V=k(ah)})();var X=T.length;var W=function(ah){var Z=ah.sourceCode,Y=ah.basePos;var ad=[Y,F];var af=0;var an=Z.match(V)||[];var aj={};for(var ae=0,aq=an.length;ae=5&&"lang-"===ap.substring(0,5);if(am&&!(ai&&typeof ai[1]==="string")){am=false;ap=J}if(!am){aj[ag]=ap}}var ab=af;af+=ag.length;if(!am){ad.push(Y+ab,ap)}else{var al=ai[1];var ak=ag.indexOf(al);var ac=ak+al.length;if(ai[2]){ac=ag.length-ai[2].length;ak=ac-al.length}var ar=ap.substring(5);B(Y+ab,ag.substring(0,ak),W,ad);B(Y+ab+ak,al,q(ar,al),ad);B(Y+ab+ac,ag.substring(ac),W,ad)}}ah.decorations=ad};return W}function i(T){var W=[],S=[];if(T.tripleQuotedStrings){W.push([C,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(T.multiLineStrings){W.push([C,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{W.push([C,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(T.verbatimStrings){S.push([C,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var Y=T.hashComments;if(Y){if(T.cStyleComments){if(Y>1){W.push([j,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{W.push([j,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}S.push([C,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null])}else{W.push([j,/^#[^\r\n]*/,null,"#"])}}if(T.cStyleComments){S.push([j,/^\/\/[^\r\n]*/,null]);S.push([j,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(T.regexLiterals){var X=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");S.push(["lang-regex",new RegExp("^"+M+"("+X+")")])}var V=T.types;if(V){S.push([O,V])}var U=(""+T.keywords).replace(/^ | $/g,"");if(U.length){S.push([z,new RegExp("^(?:"+U.replace(/[\s,]+/g,"|")+")\\b"),null])}W.push([F,/^\s+/,null," \r\n\t\xA0"]);S.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[O,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[F,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[F,/^\\[\s\S]?/,null],[L,/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]);return g(W,S)}var K=i({keywords:A,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function Q(V,ag){var U=/(?:^|\s)nocode(?:\s|$)/;var ab=/\r\n?|\n/;var ac=V.ownerDocument;var S;if(V.currentStyle){S=V.currentStyle.whiteSpace}else{if(window.getComputedStyle){S=ac.defaultView.getComputedStyle(V,null).getPropertyValue("white-space")}}var Z=S&&"pre"===S.substring(0,3);var af=ac.createElement("LI");while(V.firstChild){af.appendChild(V.firstChild)}var W=[af];function ae(al){switch(al.nodeType){case 1:if(U.test(al.className)){break}if("BR"===al.nodeName){ad(al);if(al.parentNode){al.parentNode.removeChild(al)}}else{for(var an=al.firstChild;an;an=an.nextSibling){ae(an)}}break;case 3:case 4:if(Z){var am=al.nodeValue;var aj=am.match(ab);if(aj){var ai=am.substring(0,aj.index);al.nodeValue=ai;var ah=am.substring(aj.index+aj[0].length);if(ah){var ak=al.parentNode;ak.insertBefore(ac.createTextNode(ah),al.nextSibling)}ad(al);if(!ai){al.parentNode.removeChild(al)}}}break}}function ad(ak){while(!ak.nextSibling){ak=ak.parentNode;if(!ak){return}}function ai(al,ar){var aq=ar?al.cloneNode(false):al;var ao=al.parentNode;if(ao){var ap=ai(ao,1);var an=al.nextSibling;ap.appendChild(aq);for(var am=an;am;am=an){an=am.nextSibling;ap.appendChild(am)}}return aq}var ah=ai(ak.nextSibling,0);for(var aj;(aj=ah.parentNode)&&aj.nodeType===1;){ah=aj}W.push(ah)}for(var Y=0;Y=S){ah+=2}if(V>=ap){Z+=2}}}var t={};function c(U,V){for(var S=V.length;--S>=0;){var T=V[S];if(!t.hasOwnProperty(T)){t[T]=U}else{if(window.console){console.warn("cannot override language handler %s",T)}}}}function q(T,S){if(!(T&&t.hasOwnProperty(T))){T=/^\s*]*(?:>|$)/],[j,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[L,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^