{"version":3,"sources":["./ClientApp/core/shared/assets/js/broadcastchannel.js","./ClientApp/polyfills.ts","./node_modules/@angular/localize/fesm2015/init.js"],"names":["global","channels","BroadcastChannel","channel","$this","String","id","push","_name","_id","_closed","_mc","MessageChannel","port1","start","port2","addEventListener","e","storageArea","localStorage","newValue","key","substring","length","data","JSON","parse","postMessage","prototype","name","message","Error","value","stringify","Date","now","Math","random","setItem","setTimeout","removeItem","forEach","bc","close","index","indexOf","splice","onmessage","type","listener","apply","arguments","removeEventListener","dispatchEvent","event","self"],"mappings":";;;;;;;;;AAAC,WAASA,MAAT,EAAiB;AAChB,MAAIC,QAAQ,GAAG,EAAf;;AAEA,WAASC,gBAAT,CAA0BC,OAA1B,EAAmC;AACjC,QAAIC,KAAK,GAAG,IAAZ;AACAD,WAAO,GAAGE,MAAM,CAACF,OAAD,CAAhB;AAEA,QAAIG,EAAE,GAAG,uBAAuBH,OAAvB,GAAiC,GAA1C;AAEAF,YAAQ,CAACK,EAAD,CAAR,GAAeL,QAAQ,CAACK,EAAD,CAAR,IAAgB,EAA/B;AACAL,YAAQ,CAACK,EAAD,CAAR,CAAaC,IAAb,CAAkB,IAAlB;AAEA,SAAKC,KAAL,GAAaL,OAAb;AACA,SAAKM,GAAL,GAAWH,EAAX;AACA,SAAKI,OAAL,GAAe,KAAf;AACA,SAAKC,GAAL,GAAW,IAAIC,cAAJ,EAAX;;AACA,SAAKD,GAAL,CAASE,KAAT,CAAeC,KAAf;;AACA,SAAKH,GAAL,CAASI,KAAT,CAAeD,KAAf;;AAEAd,UAAM,CAACgB,gBAAP,CAAwB,SAAxB,EAAmC,UAASC,CAAT,EAAY;AAC7C,UAAIA,CAAC,CAACC,WAAF,KAAkBlB,MAAM,CAACmB,YAA7B,EAA2C;AAC3C,UAAIF,CAAC,CAACG,QAAF,KAAe,IAAnB,EAAyB;AACzB,UAAIH,CAAC,CAACI,GAAF,CAAMC,SAAN,CAAgB,CAAhB,EAAmBhB,EAAE,CAACiB,MAAtB,M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AjC,EAAyC,CAAC,EAA1C,EAA8C;AAC1C,WAAO,IAAI,WAAW,CAAC,CAAC,GAAG,CAAL,CAAX,GAAqB,UAAU,CAAC,YAAY,CAAC,CAAD,CAAb,EAAkB,YAAY,CAAC,GAAb,CAAiB,CAAjB,CAAlB,CAA1C;AACH;;AACD,SAAO,OAAP;AACH,CAZD;;AAaA,IAAM,YAAY,GAAG,GAArB;AACA;;;;;;;;;;;;;;AAaA,SAAS,UAAT,CAAoB,WAApB,EAAiC,cAAjC,EAA+C;AAC3C,SAAO,cAAc,CAAC,MAAf,CAAsB,CAAtB,MAA6B,YAA7B,GACH,WAAW,CAAC,SAAZ,CAAsB,cAAc,CAAC,WAAD,EAAc,cAAd,CAAd,GAA8C,CAApE,CADG,GAEH,WAFJ;AAGH;AACD;;;;;;;;;;;AASA,SAAS,cAAT,CAAwB,MAAxB,EAAgC,GAAhC,EAAmC;AAC/B;;;;;;AAMA,OAAK,IAAI,WAAW,GAAG,CAAlB,EAAqB,QAAQ,GAAG,CAArC,EAAwC,WAAW,GAAG,MAAM,CAAC,MAA7D,EAAqE,WAAW,IAAI,QAAQ,EAA5F,EAAgG;AAC5F,QAAI,GAAG,CAAC,QAAD,CAAH,KAAkB,IAAtB,EAA4B;AACxB,cAAQ;AACX,KAFD,MAGK,IAAI,MAAM,CAAC,WAAD,CAAN,KAAwB,YAA5B,EAA0C;AAC3C,aAAO,WAAP;AACH;AACJ;;AACD,QAAM,IAAI,KAAJ,sDAAuD,GAAvD,SAAN;AACH;AAED;;;;;;;;AAQA;;;;;;;AAOA;;;AACA,OAAO,CAAC,SAAR,GAAoB,SAApB","file":"polyfills.b017ddad144adc89b486.js","sourcesContent":["(function(global) {\n var channels = [];\n\n function BroadcastChannel(channel) {\n var $this = this;\n channel = String(channel);\n\n var id = '$BroadcastChannel$' + channel + '$';\n\n channels[id] = channels[id] || [];\n channels[id].push(this);\n\n this._name = channel;\n this._id = id;\n this._closed = false;\n this._mc = new MessageChannel();\n this._mc.port1.start();\n this._mc.port2.start();\n\n global.addEventListener('storage', function(e) {\n if (e.storageArea !== global.localStorage) return;\n if (e.newValue === null) return;\n if (e.key.substring(0, id.length) !== id) return;\n var data = JSON.parse(e.newValue);\n $this._mc.port2.postMessage(data);\n });\n }\n\n BroadcastChannel.prototype = {\n // BroadcastChannel API\n get name() { return this._name; },\n postMessage: function(message) {\n var $this = this;\n if (this._closed) {\n var e = new Error();\n e.name = 'InvalidStateError';\n throw e;\n }\n var value = JSON.stringify(message);\n\n // Broadcast to other contexts via storage events...\n var key = this._id + String(Date.now()) + '$' + String(Math.random());\n global.localStorage.setItem(key, value);\n setTimeout(function() { global.localStorage.removeItem(key); }, 500);\n\n // Broadcast to current context via ports\n channels[this._id].forEach(function(bc) {\n if (bc === $this) return;\n bc._mc.port2.postMessage(JSON.parse(value));\n });\n },\n close: function() {\n if (this._closed) return;\n this._closed = true;\n this._mc.port1.close();\n this._mc.port2.close();\n\n var index = channels[this._id].indexOf(this);\n channels[this._id].splice(index, 1);\n },\n\n // EventTarget API\n get onmessage() { return this._mc.port1.onmessage; },\n set onmessage(value) { this._mc.port1.onmessage = value; },\n addEventListener: function(type, listener /*, useCapture*/) {\n return this._mc.port1.addEventListener.apply(this._mc.port1, arguments);\n },\n removeEventListener: function(type, listener /*, useCapture*/) {\n return this._mc.port1.removeEventListener.apply(this._mc.port1, arguments);\n },\n dispatchEvent: function(event) {\n return this._mc.port1.dispatchEvent.apply(this._mc.port1, arguments);\n }\n };\n\n global.BroadcastChannel = global.BroadcastChannel || BroadcastChannel;\n}(self));","/**\r\n * This file includes polyfills needed by Angular and is loaded before the app.\r\n * You can add your own extra polyfills to this file.\r\n *\r\n * This file is divided into 2 sections:\r\n * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\r\n * 2. Application imports. Files imported after ZoneJS that should be loaded before your main\r\n * file.\r\n *\r\n * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\r\n * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\r\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\r\n *\r\n * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html\r\n */\r\n\r\n/***************************************************************************************************\r\n * BROWSER POLYFILLS\r\n */\r\n\r\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\r\n// import 'core-js/es6/symbol';\r\n// import 'core-js/es6/object';\r\n// import 'core-js/es6/function';\r\n// import 'core-js/es6/parse-int';\r\n// import 'core-js/es6/parse-float';\r\n// import 'core-js/es6/number';\r\n// import 'core-js/es6/math';\r\n// import 'core-js/es6/string';\r\n// import 'core-js/es6/date';\r\n// import 'core-js/es6/array';\r\n// import 'core-js/es6/regexp';\r\n// import 'core-js/es6/map';\r\n// import 'core-js/es6/set';\r\n\r\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\r\n// import 'classlist.js'; // Run `npm install --save classlist.js`.\r\n\r\n/** IE10 and IE11 requires the following to support `@angular/animation`. */\r\n// import 'web-animations-js'; // Run `npm install --save web-animations-js`.\r\n\r\n\r\n/** Evergreen browsers require these. **/\r\n// import 'core-js/es6/reflect';\r\n// import 'core-js/es7/reflect';\r\n\r\n\r\n/** ALL Firefox browsers require the following to support `@angular/animation`. **/\r\n// import 'web-animations-js'; // Run `npm install --save web-animations-js`.\r\n\r\n\r\n\r\n/***************************************************************************************************\r\n * Zone JS is required by Angular itself.\r\n */\r\n//import 'zone.js'; // Included with Angular CLI.\r\n\r\n\r\n/***************************************************************************************************\r\n * APPLICATION IMPORTS\r\n */\r\n\r\n/**\r\n * Date, currency, decimal and percent pipes.\r\n * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10\r\n */\r\n// import 'intl'; // Run `npm install --save intl`.\r\n\r\n\r\n/**\r\n * Angular localization polyfill\r\n */\r\nimport '@angular/localize/init';\r\n\r\n/**\r\n * Broadcast Channel API polyfill\r\n */\r\nimport './core/shared/assets/js/broadcastchannel.js';","/**\n * @license Angular v12.2.0\n * (c) 2010-2021 Google LLC. https://angular.io/\n * License: MIT\n */\n\n/**\n * @license\n * Copyright Google LLC 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 */\nconst __globalThis = typeof globalThis !== 'undefined' && globalThis;\nconst __window = typeof window !== 'undefined' && window;\nconst __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&\n self instanceof WorkerGlobalScope && self;\nconst __global = typeof global !== 'undefined' && global;\n// Always use __globalThis if available; this is the spec-defined global variable across all\n// environments.\n// Then fallback to __global first; in Node tests both __global and __window may be defined.\nconst _global = __globalThis || __global || __window || __self;\n\n/**\n * @license\n * Copyright Google LLC 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 * Tag a template literal string for localization.\n *\n * For example:\n *\n * ```ts\n * $localize `some string to localize`\n * ```\n *\n * **Providing meaning, description and id**\n *\n * You can optionally specify one or more of `meaning`, `description` and `id` for a localized\n * string by pre-pending it with a colon delimited block of the form:\n *\n * ```ts\n * $localize`:meaning|description@@id:source message text`;\n *\n * $localize`:meaning|:source message text`;\n * $localize`:description:source message text`;\n * $localize`:@@id:source message text`;\n * ```\n *\n * This format is the same as that used for `i18n` markers in Angular templates. See the\n * [Angular 18n guide](guide/i18n#mark-text-for-translations).\n *\n * **Naming placeholders**\n *\n * If the template literal string contains expressions, then the expressions will be automatically\n * associated with placeholder names for you.\n *\n * For example:\n *\n * ```ts\n * $localize `Hi ${name}! There are ${items.length} items.`;\n * ```\n *\n * will generate a message-source of `Hi {$PH}! There are {$PH_1} items`.\n *\n * The recommended practice is to name the placeholder associated with each expression though.\n *\n * Do this by providing the placeholder name wrapped in `:` characters directly after the\n * expression. These placeholder names are stripped out of the rendered localized string.\n *\n * For example, to name the `items.length` expression placeholder `itemCount` you write:\n *\n * ```ts\n * $localize `There are ${items.length}:itemCount: items`;\n * ```\n *\n * **Escaping colon markers**\n *\n * If you need to use a `:` character directly at the start of a tagged string that has no\n * metadata block, or directly after a substitution expression that has no name you must escape\n * the `:` by preceding it with a backslash:\n *\n * For example:\n *\n * ```ts\n * // message has a metadata block so no need to escape colon\n * $localize `:some description::this message starts with a colon (:)`;\n * // no metadata block so the colon must be escaped\n * $localize `\\:this message starts with a colon (:)`;\n * ```\n *\n * ```ts\n * // named substitution so no need to escape colon\n * $localize `${label}:label:: ${}`\n * // anonymous substitution so colon must be escaped\n * $localize `${label}\\: ${}`\n * ```\n *\n * **Processing localized strings:**\n *\n * There are three scenarios:\n *\n * * **compile-time inlining**: the `$localize` tag is transformed at compile time by a\n * transpiler, removing the tag and replacing the template literal string with a translated\n * literal string from a collection of translations provided to the transpilation tool.\n *\n * * **run-time evaluation**: the `$localize` tag is a run-time function that replaces and\n * reorders the parts (static strings and expressions) of the template literal string with strings\n * from a collection of translations loaded at run-time.\n *\n * * **pass-through evaluation**: the `$localize` tag is a run-time function that simply evaluates\n * the original template literal string without applying any translations to the parts. This\n * version is used during development or where there is no need to translate the localized\n * template literals.\n *\n * @param messageParts a collection of the static parts of the template string.\n * @param expressions a collection of the values of each placeholder in the template string.\n * @returns the translated string, with the `messageParts` and `expressions` interleaved together.\n *\n * @globalApi\n * @publicApi\n */\nconst $localize = function (messageParts, ...expressions) {\n if ($localize.translate) {\n // Don't use array expansion here to avoid the compiler adding `__read()` helper unnecessarily.\n const translation = $localize.translate(messageParts, expressions);\n messageParts = translation[0];\n expressions = translation[1];\n }\n let message = stripBlock(messageParts[0], messageParts.raw[0]);\n for (let i = 1; i < messageParts.length; i++) {\n message += expressions[i - 1] + stripBlock(messageParts[i], messageParts.raw[i]);\n }\n return message;\n};\nconst BLOCK_MARKER = ':';\n/**\n * Strip a delimited \"block\" from the start of the `messagePart`, if it is found.\n *\n * If a marker character (:) actually appears in the content at the start of a tagged string or\n * after a substitution expression, where a block has not been provided the character must be\n * escaped with a backslash, `\\:`. This function checks for this by looking at the `raw`\n * messagePart, which should still contain the backslash.\n *\n * @param messagePart The cooked message part to process.\n * @param rawMessagePart The raw message part to check.\n * @returns the message part with the placeholder name stripped, if found.\n * @throws an error if the block is unterminated\n */\nfunction stripBlock(messagePart, rawMessagePart) {\n return rawMessagePart.charAt(0) === BLOCK_MARKER ?\n messagePart.substring(findEndOfBlock(messagePart, rawMessagePart) + 1) :\n messagePart;\n}\n/**\n * Find the end of a \"marked block\" indicated by the first non-escaped colon.\n *\n * @param cooked The cooked string (where escaped chars have been processed)\n * @param raw The raw string (where escape sequences are still in place)\n *\n * @returns the index of the end of block marker\n * @throws an error if the block is unterminated\n */\nfunction findEndOfBlock(cooked, raw) {\n /***********************************************************************************************\n * This function is repeated in `src/utils/messages.ts` and the two should be kept in sync.\n * The reason is that this file is marked as having side-effects, and if we import `messages.ts`\n * into it, the whole of `src/utils` will be included in this bundle and none of the functions\n * will be tree shaken.\n ***********************************************************************************************/\n for (let cookedIndex = 1, rawIndex = 1; cookedIndex < cooked.length; cookedIndex++, rawIndex++) {\n if (raw[rawIndex] === '\\\\') {\n rawIndex++;\n }\n else if (cooked[cookedIndex] === BLOCK_MARKER) {\n return cookedIndex;\n }\n }\n throw new Error(`Unterminated $localize metadata block in \"${raw}\".`);\n}\n\n/**\n * @license\n * Copyright Google LLC 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/**\n * @license\n * Copyright Google LLC 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// Attach $localize to the global context, as a side-effect of this module.\n_global.$localize = $localize;\n\nexport { $localize };\n//# sourceMappingURL=init.js.map\n"],"sourceRoot":"webpack:///"}