-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.bundle.js.map
1 lines (1 loc) · 14.2 KB
/
main.bundle.js.map
1
{"version":3,"sources":["webpack:///./src/app/app.component.css","webpack:///./src/app/components/navbar/navbar.component.css","webpack:///./src/app/components/secrets/secrets.component.css","webpack:///./src/app/app.component.html","webpack:///./src/app/components/navbar/navbar.component.html","webpack:///./src/app/components/secrets/secrets.component.html","webpack:///./src async","webpack:///./src/main.ts","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/components/navbar/navbar.component.ts","webpack:///./src/app/components/secrets/secrets.component.ts","webpack:///./src/environments/environment.ts"],"names":[],"mappings":";;;;;AAAA;AACA;;;AAGA;AACA;;AAEA;;;AAGA;AACA,2C;;;;;;;ACXA;AACA;;;AAGA;AACA;;AAEA;;;AAGA;AACA,2C;;;;;;;ACXA;AACA;;;AAGA;AACA;;AAEA;;;AAGA;AACA,2C;;;;;;;ACXA,gH;;;;;;;ACAA,ivB;;;;;;;ACAA,iMAAiM,aAAa,+eAA+e,QAAQ,2PAA2P,8JAA8J,OAAO,yIAAyI,QAAQ,gI;;;;;;;;;;;;;;;ACAtvC;AACA;AACA;AACA,uCAAuC,WAAW;AAClD;AACA;AACA;;;;;;;;;;;;;;ACN+C;AAC4B;AAE9B;AACY;AAEzD,EAAE,CAAC,CAAC,8EAAW,CAAC,UAAU,CAAC,CAAC,CAAC;IAC3B,4FAAc,EAAE,CAAC;AACnB,CAAC;AAED,wHAAsB,EAAE,CAAC,eAAe,CAAC,kEAAS,CAAC,CAAC;;;;;;;;;;;;;;;;;ACVV;AAO1C,IAAa,YAAY;IALzB;QAME,UAAK,GAAG,YAAY,CAAC;IACvB,CAAC;IAAD,mBAAC;AAAD,CAAC;AAFY,YAAY;IALxB,wFAAS,CAAC;QACT,QAAQ,EAAE,UAAU;QACpB,kCAAmC;QACnC,kCAAkC;KACnC,CAAC;GACW,YAAY,CAExB;AAFwB;;;;;;;;;;;;;;;;;;;;;;;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AE,IAAI,CAAC,CAAC,CAAC,CAAC;wBACV,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;oBAC5D,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC;QACH,+EAA+E;QAC/E,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC;IACf,CAAC;IAGD;AAAA;AAvFO,gBAAgB;IAL5B,wFAAS,CAAC;QACT,QAAQ,EAAE,aAAa;QACvB,kCAAuC;QACvC,kCAAsC;KACvC,CAAC;;GACW,gBAAgB,CAuFvB;AAvFuB;;;;;;;;;ACR7B;AAAA,mFAAmF;AACnF,8FAA8F;AAC9F,yEAAyE;AACzE,gFAAgF;AAEhF,mFALmF;AAK5E,IAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;CAClB,CAAC","file":"main.bundle.js","sourcesContent":["exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/app.component.css\n// module id = 139\n// module chunks = 1","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/components/navbar/navbar.component.css\n// module id = 140\n// module chunks = 1","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/components/secrets/secrets.component.css\n// module id = 141\n// module chunks = 1","module.exports = \"<app-navbar></app-navbar>\\n<div class=\\\"container\\\">\\n <app-secrets></app-secrets>\\n\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/app.component.html\n// module id = 144\n// module chunks = 1","module.exports = \"<nav class=\\\"navbar navbar-default navbar-static-top\\\">\\n <div class=\\\"container\\\">\\n <div class=\\\"navbar-header\\\">\\n <button type=\\\"button\\\" class=\\\"navbar-toggle collapsed\\\" data-toggle=\\\"collapse\\\" data-target=\\\"#navbar\\\" aria-expanded=\\\"false\\\" aria-controls=\\\"navbar\\\">\\n <span class=\\\"sr-only\\\">Toggle navigation</span>\\n <span class=\\\"icon-bar\\\"></span>\\n <span class=\\\"icon-bar\\\"></span>\\n <span class=\\\"icon-bar\\\"></span>\\n </button>\\n <a class=\\\"navbar-brand\\\" href=\\\"#\\\"><span class=\\\"glyphicon glyphicon-lock\\\" aria-hidden=\\\"true\\\"></span> Secrets</a>\\n </div>\\n <div id=\\\"navbar\\\" class=\\\"navbar-collapse collapse\\\">\\n </div><!--/.nav-collapse -->\\n </div>\\n</nav>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/components/navbar/navbar.component.html\n// module id = 145\n// module chunks = 1","module.exports = \"<div class=\\\"input-group input-group-lg\\\">\\n <span class=\\\"input-group-addon\\\" id=\\\"sizing-addon1\\\">Key</span>\\n <input type=\\\"text\\\" class=\\\"form-control\\\" placeholder=\\\"{{templateKey}}\\\" aria-describedby=\\\"sizing-addon2\\\" disabled>\\n</div>\\n<br>\\n\\n<div class=\\\"panel panel-default\\\">\\n <div class=\\\"panel-heading\\\">Enter your secret message</div>\\n <div class=\\\"panel-body\\\">\\n <textarea class=\\\"form-control\\\" rows=\\\"3\\\" [(ngModel)]=\\\"message\\\"></textarea>\\n </div>\\n</div>\\n\\n<div class=\\\"input-group input-group-lg\\\" *ngIf=\\\"show\\\">\\n <span class=\\\"input-group-addon\\\" id=\\\"sizing-addon1\\\">Secrets</span>\\n <input type=\\\"text\\\" class=\\\"form-control\\\" placeholder=\\\"{{secret}}\\\" aria-describedby=\\\"sizing-addon2\\\" disabled>\\n</div>\\n<br>\\n\\n<p><a class=\\\"btn btn-block btn-success btn-lg\\\" role=\\\"button\\\" (click)=\\\"msgCheck()\\\">Kazaam!</a></p>\\n <div class=\\\"row\\\" *ngIf=\\\"show\\\">\\n <div *ngFor=\\\"let key of formTemplates; let i = index\\\">\\n <div class=\\\"col-md-1\\\">\\n <div class=\\\"panel panel-default\\\">\\n <div class=\\\"panel-heading\\\" align=\\\"center\\\"><h4>{{ key }}</h4></div>\\n <div class=\\\"panel-body\\\">\\n <div align=\\\"center\\\">\\n <h4>\\n {{ b[i] }}\\n </h4>\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/components/secrets/secrets.component.html\n// module id = 146\n// module chunks = 1","function webpackEmptyContext(req) {\n\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nmodule.exports = webpackEmptyContext;\nwebpackEmptyContext.id = 71;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src async\n// module id = 71\n// module chunks = 1","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.ts","import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n title = 'app works!';\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { HttpModule } from '@angular/http';\n\nimport { AppComponent } from './app.component';\nimport { NavbarComponent } from './components/navbar/navbar.component';\nimport { SecretsComponent } from './components/secrets/secrets.component';\n\n@NgModule({\n declarations: [\n AppComponent,\n NavbarComponent,\n SecretsComponent,\n ],\n imports: [\n BrowserModule,\n FormsModule,\n HttpModule\n ],\n providers: [],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, OnInit } from '@angular/core';\n\n\n@Component({\n selector: 'app-navbar',\n templateUrl: './navbar.component.html',\n styleUrls: ['./navbar.component.css']\n})\nexport class NavbarComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/components/navbar/navbar.component.ts","import { Component, OnInit } from '@angular/core';\n\n\n@Component({\n selector: 'app-secrets',\n templateUrl: './secrets.component.html',\n styleUrls: ['./secrets.component.css']\n})\nexport class SecretsComponent {\n\n constructor() { }\n\n\n \n templateKey = \"abcdefghijklmnopqrstuvwxyz_\"\n formTemplates = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '_'];\n templates = [];\n message:string = \" \";\n show = \"\";\n b = [];\n secret = \"\";\n\n msgCheck() {\n //Lets reset all the variables\n // Set arrays to nothing\n for (let y = 0; y < this.templateKey.length; ++y) {\n this.b[y] = 0;\n }\n //set the rest to nothing\n this.secret = \"\";\n this.show = \"\";\n\n // Check message length\n var mlength\n if (this.message.length < 26) {\n mlength = 26;\n }\n else\n {\n mlength = this.message.length\n }\n \n // Lets figure out how many times each character repeats\n for(let i = 0; i < mlength; ++i) { \n for(let h = 0; h < this.formTemplates.length; ++h) {\n if ((this.message.charAt(i)) == (this.formTemplates[h])) { \n this.b[h] = (this.b[h]) + 1;\n // console.log(this.b[h]);\n } \n } \n } \n\n // Copy array\n const copy = this.b.slice().sort();\n console.log(copy);\n\n // Lets figure out what the secret code is\n\n // First, since I can't sort, lets find the greatest value.\n for (let x = 0; x < this.formTemplates.length; ++x){\n for (let g = 0; g < copy.length; ++g){\n if (copy[x] == this.b[g] ) {\n if (this.secret == \"\") {\n this.secret = this.secret.concat(this.formTemplates[g]);\n }\n }\n } \n }\n\n // Now, lets find the rest of the values\n\n //Variable for our loop to stop once it find the underscore\n var no = 0;\n \n for (let t = 26; t > 0; --t) {\n for (let e = 0; e < 27; ++e) {\n if (copy[t] == this.b[e]) {\n\n // If we find an underscore, stop the loop\n if (this.formTemplates[e] == \"_\") {\n no = 1;\n }\n\n // If we haven't found the underscore, lets find the code\n if (no == 0) {\n this.secret = this.secret.concat(this.formTemplates[e]);\n }\n }\n } \n }\n // console.log(x + \" (\" + this.formTemplates[x] + \" )\" + \" \" + this.b[x]);\n this.show = \"True\"; \n }\n \n \n }\n\n\n// WEBPACK FOOTER //\n// ./src/app/components/secrets/secrets.component.ts","// The file contents for the current environment will overwrite these during build.\n// The build system defaults to the dev environment which uses `environment.ts`, but if you do\n// `ng build --env=prod` then `environment.prod.ts` will be used instead.\n// The list of which env maps to which file can be found in `.angular-cli.json`.\n\nexport const environment = {\n production: false\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/environments/environment.ts"],"sourceRoot":""}