Front end of the Slack clone application.

compiler-testing.umd.min.js.map 27KB

1
  1. {"version":3,"sources":["compiler-testing.umd.js"],"names":["global","factory","exports","module","require","define","amd","ng","compiler","testing","this","_angular_compiler","__extends","d","b","__","constructor","extendStatics","prototype","Object","create","remove","list","el","index","indexOf","splice","setPrototypeOf","__proto__","Array","p","hasOwnProperty","MockResourceLoader","_super","_this","apply","arguments","_expectations","_definitions","Map","_requests","get","url","request","_PendingRequest","push","getPromise","hasPendingRequests","length","expect","response","expectation","_Expectation","when","set","flush","Error","_processRequest","shift","verifyNoOutstandingExpectations","urls","i","join","complete","has","ResourceLoader","promise","Promise","res","rej","resolve","reject","MockSchemaRegistry","existingProperties","attrPropMapping","existingElements","invalidProperties","invalidAttributes","hasProperty","tagName","property","schemas","value","hasElement","schemaMetas","toLowerCase","allKnownElementNames","keys","securityContext","selector","isAttribute","core","SecurityContext","NONE","getMappedPropName","attrName","getDefaultComponentElementName","validateProperty","name","error","msg","validateAttribute","normalizeAnimationStyleProperty","propName","normalizeAnimationStyleValue","camelCaseProp","userProvidedProp","val","toString","MockDirectiveResolver","reflector","call","_directives","type","throwIfNotFound","setDirective","metadata","DirectiveResolver","MockNgModuleResolver","_ngModules","setNgModule","NgModuleResolver","MockPipeResolver","refector","_pipes","setPipe","PipeResolver","defineProperty"],"mappings":";;;;;CAKC,SAAUA,OAAQC,SACC,gBAAZC,UAA0C,mBAAXC,QAAyBF,QAAQC,QAASE,QAAQ,sBACtE,kBAAXC,SAAyBA,OAAOC,IAAMD,OAAO,6BAA8B,UAAW,qBAAsBJ,SAClHA,SAASD,OAAOO,GAAKP,OAAOO,OAAUP,OAAOO,GAAGC,SAAWR,OAAOO,GAAGC,aAAgBR,OAAOO,GAAGC,SAASC,YAAcT,OAAOO,GAAGC,WAChIE,KAAM,SAAWR,QAAQS,mBAAqB,YAsBhD,SAASC,WAAUC,EAAGC,GAElB,QAASC,MAAOL,KAAKM,YAAcH,EADnCI,cAAcJ,EAAGC,GAEjBD,EAAE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AMG,WAgBlDM,iBAAiBxG,UAAUoD,QAS3B,SAAU2C,KAAMC,qBACY,KAApBA,kBAA8BA,iBAAkB,EACpD,IAAqBE,UAAW1G,KAAKkH,OAAOnF,IAAIwE,KAIhD,OAHKG,YACDA,SAA8BnF,OAAOf,UAAUoD,QAAQyC,KAAKrG,KAAMuG,KAAMC,kBAErEE,UAEJM,kBACT/G,kBAAkBmH,aAEpB5H,SAAQ8B,mBAAqBA,mBAC7B9B,QAAQsE,mBAAqBA,mBAC7BtE,QAAQ2G,sBAAwBA,sBAChC3G,QAAQoH,qBAAuBA,qBAC/BpH,QAAQwH,iBAAmBA,iBAE3BvG,OAAO4G,eAAe7H,QAAS,cAAgBgF,OAAO","file":"compiler-testing.umd.min.js","sourcesContent":["/**\n * @license Angular v5.2.11\n * (c) 2010-2018 Google, Inc. https://angular.io/\n * License: MIT\n */\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/compiler')) :\n\ttypeof define === 'function' && define.amd ? define('@angular/compiler/testing', ['exports', '@angular/compiler'], factory) :\n\t(factory((global.ng = global.ng || {}, global.ng.compiler = global.ng.compiler || {}, global.ng.compiler.testing = {}),global.ng.compiler));\n}(this, (function (exports,_angular_compiler) { 'use strict';\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\n\n/**\n * @license Angular v5.2.11\n * (c) 2010-2018 Google, Inc. https://angular.io/\n * License: MIT\n */\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A mock implementation of {\\@link ResourceLoader} that allows outgoing requests to be mocked\n * and responded to within a single test, without going to the network.\n */\nvar MockResourceLoader = /** @class */ (function (_super) {\n __extends(MockResourceLoader, _super);\n function MockResourceLoader() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this._expectations = [];\n _this._definitions = new Map();\n _this._requests = [];\n return _this;\n }\n /**\n * @param {?} url\n * @return {?}\n */\n MockResourceLoader.prototype.get = /**\n * @param {?} url\n * @return {?}\n */\n function (url) {\n var /** @type {?} */ request = new _PendingRequest(url);\n this._requests.push(request);\n return request.getPromise();\n };\n /**\n * @return {?}\n */\n MockResourceLoader.prototype.hasPendingRequests = /**\n * @return {?}\n */\n function () { return !!this._requests.length; };\n /**\n * Add an expectation for the given URL. Incoming requests will be checked against\n * the next expectation (in FIFO order). The `verifyNoOutstandingExpectations` method\n * can be used to check if any expectations have not yet been met.\n *\n * The response given will be returned if the expectation matches.\n */\n /**\n * Add an expectation for the given URL. Incoming requests will be checked against\n * the next expectation (in FIFO order). The `verifyNoOutstandingExpectations` method\n * can be used to check if any expectations have not yet been met.\n *\n * The response given will be returned if the expectation matches.\n * @param {?} url\n * @param {?} response\n * @return {?}\n */\n MockResourceLoader.prototype.expect = /**\n * Add an expectation for the given URL. Incoming requests will be checked against\n * the next expectation (in FIFO order). The `verifyNoOutstandingExpectations` method\n * can be used to check if any expectations have not yet been met.\n *\n * The response given will be returned if the expectation matches.\n * @param {?} url\n * @param {?} response\n * @return {?}\n */\n function (url, response) {\n var /** @type {?} */ expectation = new _Expectation(url, response);\n this._expectations.push(expectation);\n };\n /**\n * Add a definition for the given URL to return the given response. Unlike expectations,\n * definitions have no order and will satisfy any matching request at any time. Also\n * unlike expectations, unused definitions do not cause `verifyNoOutstandingExpectations`\n * to return an error.\n */\n /**\n * Add a definition for the given URL to return the given response. Unlike expectations,\n * definitions have no order and will satisfy any matching request at any time. Also\n * unlike expectations, unused definitions do not cause `verifyNoOutstandingExpectations`\n * to return an error.\n * @param {?} url\n * @param {?} response\n * @return {?}\n */\n MockResourceLoader.prototype.when = /**\n * Add a definition for the given URL to return the given response. Unlike expectations,\n * definitions have no order and will satisfy any matching request at any time. Also\n * unlike expectations, unused definitions do not cause `verifyNoOutstandingExpectations`\n * to return an error.\n * @param {?} url\n * @param {?} response\n * @return {?}\n */\n function (url, response) { this._definitions.set(url, response); };\n /**\n * Process pending requests and verify there are no outstanding expectations. Also fails\n * if no requests are pending.\n */\n /**\n * Process pending requests and verify there are no outstanding expectations. Also fails\n * if no requests are pending.\n * @return {?}\n */\n MockResourceLoader.prototype.flush = /**\n * Process pending requests and verify there are no outstanding expectations. Also fails\n * if no requests are pending.\n * @return {?}\n */\n function () {\n if (this._requests.length === 0) {\n throw new Error('No pending requests to flush');\n }\n do {\n this._processRequest(/** @type {?} */ ((this._requests.shift())));\n } while (this._requests.length > 0);\n this.verifyNoOutstandingExpectations();\n };\n /**\n * Throw an exception if any expectations have not been satisfied.\n */\n /**\n * Throw an exception if any expectations have not been satisfied.\n * @return {?}\n */\n MockResourceLoader.prototype.verifyNoOutstandingExpectations = /**\n * Throw an exception if any expectations have not been satisfied.\n * @return {?}\n */\n function () {\n if (this._expectations.length === 0)\n return;\n var /** @type {?} */ urls = [];\n for (var /** @type {?} */ i = 0; i < this._expectations.length; i++) {\n var /** @type {?} */ expectation = this._expectations[i];\n urls.push(expectation.url);\n }\n throw new Error(\"Unsatisfied requests: \" + urls.join(', '));\n };\n /**\n * @param {?} request\n * @return {?}\n */\n MockResourceLoader.prototype._processRequest = /**\n * @param {?} request\n * @return {?}\n */\n function (request) {\n var /** @type {?} */ url = request.url;\n if (this._expectations.length > 0) {\n var /** @type {?} */ expectation = this._expectations[0];\n if (expectation.url == url) {\n remove(this._expectations, expectation);\n request.complete(expectation.response);\n return;\n }\n }\n if (this._definitions.has(url)) {\n var /** @type {?} */ response = this._definitions.get(url);\n request.complete(response == null ? null : response);\n return;\n }\n throw new Error(\"Unexpected request \" + url);\n };\n return MockResourceLoader;\n}(_angular_compiler.ResourceLoader));\nvar _PendingRequest = /** @class */ (function () {\n function _PendingRequest(url) {\n var _this = this;\n this.url = url;\n this.promise = new Promise(function (res, rej) {\n _this.resolve = res;\n _this.reject = rej;\n });\n }\n /**\n * @param {?} response\n * @return {?}\n */\n _PendingRequest.prototype.complete = /**\n * @param {?} response\n * @return {?}\n */\n function (response) {\n if (response == null) {\n this.reject(\"Failed to load \" + this.url);\n }\n else {\n this.resolve(response);\n }\n };\n /**\n * @return {?}\n */\n _PendingRequest.prototype.getPromise = /**\n * @return {?}\n */\n function () { return this.promise; };\n return _PendingRequest;\n}());\nvar _Expectation = /** @class */ (function () {\n function _Expectation(url, response) {\n this.url = url;\n this.response = response;\n }\n return _Expectation;\n}());\n/**\n * @template T\n * @param {?} list\n * @param {?} el\n * @return {?}\n */\nfunction remove(list, el) {\n var /** @type {?} */ index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar MockSchemaRegistry = /** @class */ (function () {\n function MockSchemaRegistry(existingProperties, attrPropMapping, existingElements, invalidProperties, invalidAttributes) {\n this.existingProperties = existingProperties;\n this.attrPropMapping = attrPropMapping;\n this.existingElements = existingElements;\n this.invalidProperties = invalidProperties;\n this.invalidAttributes = invalidAttributes;\n }\n /**\n * @param {?} tagName\n * @param {?} property\n * @param {?} schemas\n * @return {?}\n */\n MockSchemaRegistry.prototype.hasProperty = /**\n * @param {?} tagName\n * @param {?} property\n * @param {?} schemas\n * @return {?}\n */\n function (tagName, property, schemas) {\n var /** @type {?} */ value = this.existingProperties[property];\n return value === void 0 ? true : value;\n };\n /**\n * @param {?} tagName\n * @param {?} schemaMetas\n * @return {?}\n */\n MockSchemaRegistry.prototype.hasElement = /**\n * @param {?} tagName\n * @param {?} schemaMetas\n * @return {?}\n */\n function (tagName, schemaMetas) {\n var /** @type {?} */ value = this.existingElements[tagName.toLowerCase()];\n return value === void 0 ? true : value;\n };\n /**\n * @return {?}\n */\n MockSchemaRegistry.prototype.allKnownElementNames = /**\n * @return {?}\n */\n function () { return Object.keys(this.existingElements); };\n /**\n * @param {?} selector\n * @param {?} property\n * @param {?} isAttribute\n * @return {?}\n */\n MockSchemaRegistry.prototype.securityContext = /**\n * @param {?} selector\n * @param {?} property\n * @param {?} isAttribute\n * @return {?}\n */\n function (selector, property, isAttribute) {\n return _angular_compiler.core.SecurityContext.NONE;\n };\n /**\n * @param {?} attrName\n * @return {?}\n */\n MockSchemaRegistry.prototype.getMappedPropName = /**\n * @param {?} attrName\n * @return {?}\n */\n function (attrName) { return this.attrPropMapping[attrName] || attrName; };\n /**\n * @return {?}\n */\n MockSchemaRegistry.prototype.getDefaultComponentElementName = /**\n * @return {?}\n */\n function () { return 'ng-component'; };\n /**\n * @param {?} name\n * @return {?}\n */\n MockSchemaRegistry.prototype.validateProperty = /**\n * @param {?} name\n * @return {?}\n */\n function (name) {\n if (this.invalidProperties.indexOf(name) > -1) {\n return { error: true, msg: \"Binding to property '\" + name + \"' is disallowed for security reasons\" };\n }\n else {\n return { error: false };\n }\n };\n /**\n * @param {?} name\n * @return {?}\n */\n MockSchemaRegistry.prototype.validateAttribute = /**\n * @param {?} name\n * @return {?}\n */\n function (name) {\n if (this.invalidAttributes.indexOf(name) > -1) {\n return {\n error: true,\n msg: \"Binding to attribute '\" + name + \"' is disallowed for security reasons\"\n };\n }\n else {\n return { error: false };\n }\n };\n /**\n * @param {?} propName\n * @return {?}\n */\n MockSchemaRegistry.prototype.normalizeAnimationStyleProperty = /**\n * @param {?} propName\n * @return {?}\n */\n function (propName) { return propName; };\n /**\n * @param {?} camelCaseProp\n * @param {?} userProvidedProp\n * @param {?} val\n * @return {?}\n */\n MockSchemaRegistry.prototype.normalizeAnimationStyleValue = /**\n * @param {?} camelCaseProp\n * @param {?} userProvidedProp\n * @param {?} val\n * @return {?}\n */\n function (camelCaseProp, userProvidedProp, val) {\n return { error: /** @type {?} */ ((null)), value: val.toString() };\n };\n return MockSchemaRegistry;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n */\n/**\n * An implementation of {\\@link DirectiveResolver} that allows overriding\n * various properties of directives.\n */\nvar MockDirectiveResolver = /** @class */ (function (_super) {\n __extends(MockDirectiveResolver, _super);\n function MockDirectiveResolver(reflector) {\n var _this = _super.call(this, reflector) || this;\n _this._directives = new Map();\n return _this;\n }\n /**\n * @param {?} type\n * @param {?=} throwIfNotFound\n * @return {?}\n */\n MockDirectiveResolver.prototype.resolve = /**\n * @param {?} type\n * @param {?=} throwIfNotFound\n * @return {?}\n */\n function (type, throwIfNotFound) {\n if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n return this._directives.get(type) || _super.prototype.resolve.call(this, type, throwIfNotFound);\n };\n /**\n * Overrides the {@link core.Directive} for a directive.\n */\n /**\n * Overrides the {\\@link core.Directive} for a directive.\n * @param {?} type\n * @param {?} metadata\n * @return {?}\n */\n MockDirectiveResolver.prototype.setDirective = /**\n * Overrides the {\\@link core.Directive} for a directive.\n * @param {?} type\n * @param {?} metadata\n * @return {?}\n */\n function (type, metadata) {\n this._directives.set(type, metadata);\n };\n return MockDirectiveResolver;\n}(_angular_compiler.DirectiveResolver));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar MockNgModuleResolver = /** @class */ (function (_super) {\n __extends(MockNgModuleResolver, _super);\n function MockNgModuleResolver(reflector) {\n var _this = _super.call(this, reflector) || this;\n _this._ngModules = new Map();\n return _this;\n }\n /**\n * Overrides the {@link NgModule} for a module.\n */\n /**\n * Overrides the {\\@link NgModule} for a module.\n * @param {?} type\n * @param {?} metadata\n * @return {?}\n */\n MockNgModuleResolver.prototype.setNgModule = /**\n * Overrides the {\\@link NgModule} for a module.\n * @param {?} type\n * @param {?} metadata\n * @return {?}\n */\n function (type, metadata) {\n this._ngModules.set(type, metadata);\n };\n /**\n * Returns the {@link NgModule} for a module:\n * - Set the {@link NgModule} to the overridden view when it exists or fallback to the\n * default\n * `NgModuleResolver`, see `setNgModule`.\n */\n /**\n * Returns the {\\@link NgModule} for a module:\n * - Set the {\\@link NgModule} to the overridden view when it exists or fallback to the\n * default\n * `NgModuleResolver`, see `setNgModule`.\n * @param {?} type\n * @param {?=} throwIfNotFound\n * @return {?}\n */\n MockNgModuleResolver.prototype.resolve = /**\n * Returns the {\\@link NgModule} for a module:\n * - Set the {\\@link NgModule} to the overridden view when it exists or fallback to the\n * default\n * `NgModuleResolver`, see `setNgModule`.\n * @param {?} type\n * @param {?=} throwIfNotFound\n * @return {?}\n */\n function (type, throwIfNotFound) {\n if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n return this._ngModules.get(type) || /** @type {?} */ ((_super.prototype.resolve.call(this, type, throwIfNotFound)));\n };\n return MockNgModuleResolver;\n}(_angular_compiler.NgModuleResolver));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar MockPipeResolver = /** @class */ (function (_super) {\n __extends(MockPipeResolver, _super);\n function MockPipeResolver(refector) {\n var _this = _super.call(this, refector) || this;\n _this._pipes = new Map();\n return _this;\n }\n /**\n * Overrides the {@link Pipe} for a pipe.\n */\n /**\n * Overrides the {\\@link Pipe} for a pipe.\n * @param {?} type\n * @param {?} metadata\n * @return {?}\n */\n MockPipeResolver.prototype.setPipe = /**\n * Overrides the {\\@link Pipe} for a pipe.\n * @param {?} type\n * @param {?} metadata\n * @return {?}\n */\n function (type, metadata) { this._pipes.set(type, metadata); };\n /**\n * Returns the {@link Pipe} for a pipe:\n * - Set the {@link Pipe} to the overridden view when it exists or fallback to the\n * default\n * `PipeResolver`, see `setPipe`.\n */\n /**\n * Returns the {\\@link Pipe} for a pipe:\n * - Set the {\\@link Pipe} to the overridden view when it exists or fallback to the\n * default\n * `PipeResolver`, see `setPipe`.\n * @param {?} type\n * @param {?=} throwIfNotFound\n * @return {?}\n */\n MockPipeResolver.prototype.resolve = /**\n * Returns the {\\@link Pipe} for a pipe:\n * - Set the {\\@link Pipe} to the overridden view when it exists or fallback to the\n * default\n * `PipeResolver`, see `setPipe`.\n * @param {?} type\n * @param {?=} throwIfNotFound\n * @return {?}\n */\n function (type, throwIfNotFound) {\n if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n var /** @type {?} */ metadata = this._pipes.get(type);\n if (!metadata) {\n metadata = /** @type {?} */ ((_super.prototype.resolve.call(this, type, throwIfNotFound)));\n }\n return metadata;\n };\n return MockPipeResolver;\n}(_angular_compiler.PipeResolver));\n\nexports.MockResourceLoader = MockResourceLoader;\nexports.MockSchemaRegistry = MockSchemaRegistry;\nexports.MockDirectiveResolver = MockDirectiveResolver;\nexports.MockNgModuleResolver = MockNgModuleResolver;\nexports.MockPipeResolver = MockPipeResolver;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=compiler-testing.umd.js.map\n"]}