(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["vendor"],{ /***/ "+1d7": /*!*****************************************************************!*\ !*** ./node_modules/date-fns/esm/lastDayOfISOWeekYear/index.js ***! \*****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return lastDayOfISOWeekYear; }); /* harmony import */ var _getISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../getISOWeekYear/index.js */ "BKKT"); /* harmony import */ var _startOfISOWeek_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../startOfISOWeek/index.js */ "1dmy"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name lastDayOfISOWeekYear * @category ISO Week-Numbering Year Helpers * @summary Return the last day of an ISO week-numbering year for the given date. * * @description * Return the last day of an ISO week-numbering year, * which always starts 3 days before the year's first Thursday. * The result will be in the local timezone. * * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * - The function was renamed from `lastDayOfISOYear` to `lastDayOfISOWeekYear`. * "ISO week year" is short for [ISO week-numbering year](https://en.wikipedia.org/wiki/ISO_week_date). * This change makes the name consistent with * locale-dependent week-numbering year helpers, e.g., `getWeekYear`. * * @param {Date|Number} date - the original date * @returns {Date} the end of an ISO week-numbering year * @throws {TypeError} 1 argument required * * @example * // The last day of an ISO week-numbering year for 2 July 2005: * var result = lastDayOfISOWeekYear(new Date(2005, 6, 2)) * //=> Sun Jan 01 2006 00:00:00 */ function lastDayOfISOWeekYear(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(1, arguments); var year = Object(_getISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); var fourthOfJanuary = new Date(0); fourthOfJanuary.setFullYear(year + 1, 0, 4); fourthOfJanuary.setHours(0, 0, 0, 0); var date = Object(_startOfISOWeek_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(fourthOfJanuary); date.setDate(date.getDate() - 1); return date; } /***/ }), /***/ "+7QN": /*!*****************************************************************!*\ !*** ./node_modules/date-fns/esm/_lib/addLeadingZeros/index.js ***! \*****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return addLeadingZeros; }); function addLeadingZeros(number, targetLength) { var sign = number < 0 ? '-' : ''; var output = Math.abs(number).toString(); while (output.length < targetLength) { output = '0' + output; } return sign + output; } /***/ }), /***/ "+7RI": /*!**************************************************************!*\ !*** ./node_modules/date-fns/esm/previousWednesday/index.js ***! \**************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return previousWednesday; }); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /* harmony import */ var _previousDay_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../previousDay/index.js */ "47za"); /** * @name previousWednesday * @category Weekday Helpers * @summary When is the previous Wednesday? * * @description * When is the previous Wednesday? * * @param {Date | number} date - the date to start counting from * @returns {Date} the previous Wednesday * @throws {TypeError} 1 argument required * * @example * // When is the previous Wednesday before Jun, 18, 2021? * const result = previousWednesday(new Date(2021, 5, 18)) * //=> Wed June 16 2021 00:00:00 */ function previousWednesday(date) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(1, arguments); return Object(_previousDay_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(date, 3); } /***/ }), /***/ "+LmI": /*!********************************************************!*\ !*** ./node_modules/date-fns/esm/_lib/assign/index.js ***! \********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return assign; }); function assign(target, dirtyObject) { if (target == null) { throw new TypeError('assign requires that input parameter not be null or undefined'); } dirtyObject = dirtyObject || {}; for (var property in dirtyObject) { if (Object.prototype.hasOwnProperty.call(dirtyObject, property)) { target[property] = dirtyObject[property]; } } return target; } /***/ }), /***/ "+lkT": /*!***********************************************************!*\ !*** ./node_modules/date-fns/esm/_lib/setUTCDay/index.js ***! \***********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return setUTCDay; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../toDate/index.js */ "/Tr7"); /* harmony import */ var _requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../requiredArgs/index.js */ "jIYg"); /* harmony import */ var _toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../toInteger/index.js */ "/h9T"); // This function will be a part of public API when UTC function will be implemented. // See issue: https://github.com/date-fns/date-fns/issues/376 function setUTCDay(dirtyDate, dirtyDay, dirtyOptions) { Object(_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(2, arguments); var options = dirtyOptions || {}; var locale = options.locale; var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn; var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : Object(_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(localeWeekStartsOn); var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : Object(_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); } var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); var day = Object(_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(dirtyDay); var currentDay = date.getUTCDay(); var remainder = day % 7; var dayIndex = (remainder + 7) % 7; var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay; date.setUTCDate(date.getUTCDate() + diff); return date; } /***/ }), /***/ "+pVZ": /*!*********************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/esm/isNativeFunction.js ***! \*********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _isNativeFunction; }); function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; } /***/ }), /***/ "/Eym": /*!*****************************************************!*\ !*** ./node_modules/date-fns/esm/subWeeks/index.js ***! \*****************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return subWeeks; }); /* harmony import */ var _lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/toInteger/index.js */ "/h9T"); /* harmony import */ var _addWeeks_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../addWeeks/index.js */ "r4sE"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name subWeeks * @category Week Helpers * @summary Subtract the specified number of weeks from the given date. * * @description * Subtract the specified number of weeks from the given date. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the date to be changed * @param {Number} amount - the amount of weeks to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. * @returns {Date} the new date with the weeks subtracted * @throws {TypeError} 2 arguments required * * @example * // Subtract 4 weeks from 1 September 2014: * const result = subWeeks(new Date(2014, 8, 1), 4) * //=> Mon Aug 04 2014 00:00:00 */ function subWeeks(dirtyDate, dirtyAmount) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(2, arguments); var amount = Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyAmount); return Object(_addWeeks_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(dirtyDate, -amount); } /***/ }), /***/ "/L1H": /*!*******************************************************************!*\ !*** ./node_modules/ng-zorro-antd/fesm2015/ng-zorro-antd-menu.js ***! \*******************************************************************/ /*! exports provided: MenuDropDownTokenFactory, MenuGroupFactory, MenuService, MenuServiceFactory, NzIsMenuInsideDropDownToken, NzMenuDirective, NzMenuDividerDirective, NzMenuGroupComponent, NzMenuItemDirective, NzMenuModule, NzMenuServiceLocalToken, NzSubMenuComponent, NzSubMenuTitleComponent, NzSubmenuInlineChildComponent, NzSubmenuNoneInlineChildComponent, NzSubmenuService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MenuDropDownTokenFactory", function() { return MenuDropDownTokenFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MenuGroupFactory", function() { return MenuGroupFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MenuService", function() { return MenuService; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MenuServiceFactory", function() { return MenuServiceFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzIsMenuInsideDropDownToken", function() { return NzIsMenuInsideDropDownToken; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzMenuDirective", function() { return NzMenuDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzMenuDividerDirective", function() { return NzMenuDividerDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzMenuGroupComponent", function() { return NzMenuGroupComponent; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzMenuItemDirective", function() { return NzMenuItemDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzMenuModule", function() { return NzMenuModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzMenuServiceLocalToken", function() { return NzMenuServiceLocalToken; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzSubMenuComponent", function() { return NzSubMenuComponent; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzSubMenuTitleComponent", function() { return NzSubMenuTitleComponent; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzSubmenuInlineChildComponent", function() { return NzSubmenuInlineChildComponent; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzSubmenuNoneInlineChildComponent", function() { return NzSubmenuNoneInlineChildComponent; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzSubmenuService", function() { return NzSubmenuService; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/toConsumableArray */ "KQm4"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray */ "ODXe"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ "mrSG"); /* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/cdk/bidi */ "9gLZ"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ "8Y7J"); /* harmony import */ var ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ng-zorro-antd/core/util */ "pvHd"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs */ "qCKp"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/operators */ "kU1M"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/router */ "iInd"); /* harmony import */ var _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/cdk/overlay */ "1O3W"); /* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/cdk/platform */ "SCoL"); /* harmony import */ var ng_zorro_antd_core_no_animation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ng-zorro-antd/core/no-animation */ "W0Pu"); /* harmony import */ var ng_zorro_antd_core_overlay__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ng-zorro-antd/core/overlay */ "jQCg"); /* harmony import */ var ng_zorro_antd_core_animation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ng-zorro-antd/core/animation */ "wM78"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/common */ "SVse"); /* harmony import */ var ng_zorro_antd_core_outlet__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ng-zorro-antd/core/outlet */ "PgQK"); /* harmony import */ var ng_zorro_antd_icon__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ng-zorro-antd/icon */ "66zS"); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var _c0 = ["nz-submenu", ""]; function NzSubMenuComponent_ng_content_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵprojection"](0, 0, ["*ngIf", "!nzTitle"]); } } function NzSubMenuComponent_div_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "div", 6); } if (rf & 2) { var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](7); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("mode", ctx_r2.mode)("nzOpen", ctx_r2.nzOpen)("@.disabled", ctx_r2.noAnimation == null ? null : ctx_r2.noAnimation.nzNoAnimation)("nzNoAnimation", ctx_r2.noAnimation == null ? null : ctx_r2.noAnimation.nzNoAnimation)("menuClass", ctx_r2.nzMenuClassName)("templateOutlet", _r5); } } function NzSubMenuComponent_ng_template_4_ng_template_0_Template(rf, ctx) { if (rf & 1) { var _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("subMenuMouseState", function NzSubMenuComponent_ng_template_4_ng_template_0_Template_div_subMenuMouseState_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r9); var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return ctx_r8.setMouseEnterState($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](7); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("theme", ctx_r7.theme)("mode", ctx_r7.mode)("nzOpen", ctx_r7.nzOpen)("position", ctx_r7.position)("nzDisabled", ctx_r7.nzDisabled)("isMenuInsideDropDown", ctx_r7.isMenuInsideDropDown)("templateOutlet", _r5)("menuClass", ctx_r7.nzMenuClassName)("@.disabled", ctx_r7.noAnimation == null ? null : ctx_r7.noAnimation.nzNoAnimation)("nzNoAnimation", ctx_r7.noAnimation == null ? null : ctx_r7.noAnimation.nzNoAnimation); } } function NzSubMenuComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) { var _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, NzSubMenuComponent_ng_template_4_ng_template_0_Template, 1, 10, "ng-template", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("positionChange", function NzSubMenuComponent_ng_template_4_Template_ng_template_positionChange_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r11); var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); return ctx_r10.onPositionChange($event); }); } if (rf & 2) { var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); var _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("cdkConnectedOverlayPositions", ctx_r4.overlayPositions)("cdkConnectedOverlayOrigin", _r0)("cdkConnectedOverlayWidth", ctx_r4.triggerWidth)("cdkConnectedOverlayOpen", ctx_r4.nzOpen)("cdkConnectedOverlayTransformOriginOn", ".ant-menu-submenu"); } } function NzSubMenuComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵprojection"](0, 1); } } var _c1 = [[["", "title", ""]], "*"]; var _c2 = ["[title]", "*"]; var _c3 = ["titleElement"]; var _c4 = ["nz-menu-group", ""]; function NzMenuGroupComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerEnd"](); } if (rf & 2) { var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](ctx_r1.nzTitle); } } function NzMenuGroupComponent_ng_content_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵprojection"](0, 1, ["*ngIf", "!nzTitle"]); } } var _c5 = ["*", [["", "title", ""]]]; var _c6 = ["*", "[title]"]; var _c7 = ["nz-submenu-title", ""]; function NzSubMenuTitleComponent_i_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "i", 4); } if (rf & 2) { var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("nzType", ctx_r0.nzIcon); } } function NzSubMenuTitleComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](1, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerEnd"](); } if (rf & 2) { var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](ctx_r1.nzTitle); } } function NzSubMenuTitleComponent_span_3_i_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "i", 8); } } function NzSubMenuTitleComponent_span_3_i_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "i", 9); } } function NzSubMenuTitleComponent_span_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, NzSubMenuTitleComponent_span_3_i_1_Template, 1, 0, "i", 6); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](2, NzSubMenuTitleComponent_span_3_i_2_Template, 1, 0, "i", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngSwitch", ctx_r2.dir); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngSwitchCase", "rtl"); } } function NzSubMenuTitleComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "i", 10); } } var _c8 = ["*"]; var _c9 = ["nz-submenu-inline-child", ""]; function NzSubmenuInlineChildComponent_ng_template_0_Template(rf, ctx) {} var _c10 = ["nz-submenu-none-inline-child", ""]; function NzSubmenuNoneInlineChildComponent_ng_template_1_Template(rf, ctx) {} var MenuService = /*#__PURE__*/function () { function MenuService() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, MenuService); /** all descendant menu click **/ this.descendantMenuItemClick$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["Subject"](); /** child menu item click **/ this.childMenuItemClick$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["Subject"](); this.theme$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["BehaviorSubject"]('light'); this.mode$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["BehaviorSubject"]('vertical'); this.inlineIndent$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["BehaviorSubject"](24); this.isChildSubMenuOpen$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["BehaviorSubject"](false); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(MenuService, [{ key: "onDescendantMenuItemClick", value: function onDescendantMenuItemClick(menu) { this.descendantMenuItemClick$.next(menu); } }, { key: "onChildMenuItemClick", value: function onChildMenuItemClick(menu) { this.childMenuItemClick$.next(menu); } }, { key: "setMode", value: function setMode(mode) { this.mode$.next(mode); } }, { key: "setTheme", value: function setTheme(theme) { this.theme$.next(theme); } }, { key: "setInlineIndent", value: function setInlineIndent(indent) { this.inlineIndent$.next(indent); } }]); return MenuService; }(); MenuService.ɵfac = function MenuService_Factory(t) { return new (t || MenuService)(); }; MenuService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineInjectable"]({ token: MenuService, factory: MenuService.ɵfac }); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzIsMenuInsideDropDownToken = new _angular_core__WEBPACK_IMPORTED_MODULE_6__["InjectionToken"]('NzIsInDropDownMenuToken'); var NzMenuServiceLocalToken = new _angular_core__WEBPACK_IMPORTED_MODULE_6__["InjectionToken"]('NzMenuServiceLocalToken'); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzSubmenuService = /*#__PURE__*/function () { function NzSubmenuService(nzHostSubmenuService, nzMenuService, isMenuInsideDropDown) { var _this = this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, NzSubmenuService); this.nzHostSubmenuService = nzHostSubmenuService; this.nzMenuService = nzMenuService; this.isMenuInsideDropDown = isMenuInsideDropDown; this.mode$ = this.nzMenuService.mode$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["map"])(function (mode) { if (mode === 'inline') { return 'inline'; /** if inside another submenu, set the mode to vertical **/ } else if (mode === 'vertical' || _this.nzHostSubmenuService) { return 'vertical'; } else { return 'horizontal'; } })); this.level = 1; this.isCurrentSubMenuOpen$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["BehaviorSubject"](false); this.isChildSubMenuOpen$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["BehaviorSubject"](false); /** submenu title & overlay mouse enter status **/ this.isMouseEnterTitleOrOverlay$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["Subject"](); this.childMenuItemClick$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["Subject"](); this.destroy$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["Subject"](); if (this.nzHostSubmenuService) { this.level = this.nzHostSubmenuService.level + 1; } /** close if menu item clicked **/ var isClosedByMenuItemClick = this.childMenuItemClick$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["mergeMap"])(function () { return _this.mode$; }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["filter"])(function (mode) { return mode !== 'inline' || _this.isMenuInsideDropDown; }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["mapTo"])(false)); var isCurrentSubmenuOpen$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_8__["merge"])(this.isMouseEnterTitleOrOverlay$, isClosedByMenuItemClick); /** combine the child submenu status with current submenu status to calculate host submenu open **/ var isSubMenuOpenWithDebounce$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_8__["combineLatest"])([this.isChildSubMenuOpen$, isCurrentSubmenuOpen$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["map"])(function (_ref) { var _ref2 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, 2), isChildSubMenuOpen = _ref2[0], isCurrentSubmenuOpen = _ref2[1]; return isChildSubMenuOpen || isCurrentSubmenuOpen; }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["auditTime"])(150), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["distinctUntilChanged"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)); isSubMenuOpenWithDebounce$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["distinctUntilChanged"])()).subscribe(function (data) { _this.setOpenStateWithoutDebounce(data); if (_this.nzHostSubmenuService) { /** set parent submenu's child submenu open status **/ _this.nzHostSubmenuService.isChildSubMenuOpen$.next(data); } else { _this.nzMenuService.isChildSubMenuOpen$.next(data); } }); } /** * menu item inside submenu clicked * @param menu */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(NzSubmenuService, [{ key: "onChildMenuItemClick", value: function onChildMenuItemClick(menu) { this.childMenuItemClick$.next(menu); } }, { key: "setOpenStateWithoutDebounce", value: function setOpenStateWithoutDebounce(value) { this.isCurrentSubMenuOpen$.next(value); } }, { key: "setMouseEnterTitleOrOverlayState", value: function setMouseEnterTitleOrOverlayState(value) { this.isMouseEnterTitleOrOverlay$.next(value); } }, { key: "ngOnDestroy", value: function ngOnDestroy() { this.destroy$.next(); this.destroy$.complete(); } }]); return NzSubmenuService; }(); NzSubmenuService.ɵfac = function NzSubmenuService_Factory(t) { return new (t || NzSubmenuService)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](NzSubmenuService, 12), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](MenuService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](NzIsMenuInsideDropDownToken)); }; NzSubmenuService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineInjectable"]({ token: NzSubmenuService, factory: NzSubmenuService.ɵfac }); NzSubmenuService.ctorParameters = function () { return [{ type: NzSubmenuService, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["SkipSelf"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: MenuService }, { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NzIsMenuInsideDropDownToken] }] }]; }; /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzMenuItemDirective = /*#__PURE__*/function () { function NzMenuItemDirective(nzMenuService, cdr, nzSubmenuService, isMenuInsideDropDown, directionality, routerLink, routerLinkWithHref, router) { var _this2 = this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, NzMenuItemDirective); this.nzMenuService = nzMenuService; this.cdr = cdr; this.nzSubmenuService = nzSubmenuService; this.isMenuInsideDropDown = isMenuInsideDropDown; this.directionality = directionality; this.routerLink = routerLink; this.routerLinkWithHref = routerLinkWithHref; this.router = router; this.destroy$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["Subject"](); this.level = this.nzSubmenuService ? this.nzSubmenuService.level + 1 : 1; this.selected$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["Subject"](); this.inlinePaddingLeft = null; this.dir = 'ltr'; this.nzDisabled = false; this.nzSelected = false; this.nzDanger = false; this.nzMatchRouterExact = false; this.nzMatchRouter = false; if (router) { this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["filter"])(function (e) { return e instanceof _angular_router__WEBPACK_IMPORTED_MODULE_10__["NavigationEnd"]; })).subscribe(function () { _this2.updateRouterActive(); }); } } /** clear all item selected status except this */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(NzMenuItemDirective, [{ key: "clickMenuItem", value: function clickMenuItem(e) { if (this.nzDisabled) { e.preventDefault(); e.stopPropagation(); } else { this.nzMenuService.onDescendantMenuItemClick(this); if (this.nzSubmenuService) { /** menu item inside the submenu **/ this.nzSubmenuService.onChildMenuItemClick(this); } else { /** menu item inside the root menu **/ this.nzMenuService.onChildMenuItemClick(this); } } } }, { key: "setSelectedState", value: function setSelectedState(value) { this.nzSelected = value; this.selected$.next(value); } }, { key: "updateRouterActive", value: function updateRouterActive() { var _this3 = this; if (!this.listOfRouterLink || !this.listOfRouterLinkWithHref || !this.router || !this.router.navigated || !this.nzMatchRouter) { return; } Promise.resolve().then(function () { var hasActiveLinks = _this3.hasActiveLinks(); if (_this3.nzSelected !== hasActiveLinks) { _this3.nzSelected = hasActiveLinks; _this3.setSelectedState(_this3.nzSelected); _this3.cdr.markForCheck(); } }); } }, { key: "hasActiveLinks", value: function hasActiveLinks() { var isActiveCheckFn = this.isLinkActive(this.router); return this.routerLink && isActiveCheckFn(this.routerLink) || this.routerLinkWithHref && isActiveCheckFn(this.routerLinkWithHref) || this.listOfRouterLink.some(isActiveCheckFn) || this.listOfRouterLinkWithHref.some(isActiveCheckFn); } }, { key: "isLinkActive", value: function isLinkActive(router) { var _this4 = this; return function (link) { return router.isActive(link.urlTree, _this4.nzMatchRouterExact); }; } }, { key: "ngOnInit", value: function ngOnInit() { var _this5 = this; var _a; /** store origin padding in padding */ Object(rxjs__WEBPACK_IMPORTED_MODULE_8__["combineLatest"])([this.nzMenuService.mode$, this.nzMenuService.inlineIndent$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (_ref3) { var _ref4 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref3, 2), mode = _ref4[0], inlineIndent = _ref4[1]; _this5.inlinePaddingLeft = mode === 'inline' ? _this5.level * inlineIndent : null; }); this.dir = this.directionality.value; (_a = this.directionality.change) === null || _a === void 0 ? void 0 : _a.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (direction) { _this5.dir = direction; }); } }, { key: "ngAfterContentInit", value: function ngAfterContentInit() { var _this6 = this; this.listOfRouterLink.changes.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function () { return _this6.updateRouterActive(); }); this.listOfRouterLinkWithHref.changes.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function () { return _this6.updateRouterActive(); }); this.updateRouterActive(); } }, { key: "ngOnChanges", value: function ngOnChanges(changes) { if (changes.nzSelected) { this.setSelectedState(this.nzSelected); } } }, { key: "ngOnDestroy", value: function ngOnDestroy() { this.destroy$.next(); this.destroy$.complete(); } }]); return NzMenuItemDirective; }(); NzMenuItemDirective.ɵfac = function NzMenuItemDirective_Factory(t) { return new (t || NzMenuItemDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](MenuService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](NzSubmenuService, 8), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](NzIsMenuInsideDropDownToken), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], 8), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterLink"], 8), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterLinkWithHref"], 8), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_10__["Router"], 8)); }; NzMenuItemDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineDirective"]({ type: NzMenuItemDirective, selectors: [["", "nz-menu-item", ""]], contentQueries: function NzMenuItemDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵcontentQuery"](dirIndex, _angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterLink"], true); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵcontentQuery"](dirIndex, _angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterLinkWithHref"], true); } if (rf & 2) { var _t; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵloadQuery"]()) && (ctx.listOfRouterLink = _t); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵloadQuery"]()) && (ctx.listOfRouterLinkWithHref = _t); } }, hostVars: 20, hostBindings: function NzMenuItemDirective_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function NzMenuItemDirective_click_HostBindingHandler($event) { return ctx.clickMenuItem($event); }); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵstyleProp"]("padding-left", ctx.dir === "rtl" ? null : ctx.nzPaddingLeft || ctx.inlinePaddingLeft, "px")("padding-right", ctx.dir === "rtl" ? ctx.nzPaddingLeft || ctx.inlinePaddingLeft : null, "px"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("ant-dropdown-menu-item", ctx.isMenuInsideDropDown)("ant-dropdown-menu-item-selected", ctx.isMenuInsideDropDown && ctx.nzSelected)("ant-dropdown-menu-item-danger", ctx.isMenuInsideDropDown && ctx.nzDanger)("ant-dropdown-menu-item-disabled", ctx.isMenuInsideDropDown && ctx.nzDisabled)("ant-menu-item", !ctx.isMenuInsideDropDown)("ant-menu-item-selected", !ctx.isMenuInsideDropDown && ctx.nzSelected)("ant-menu-item-danger", !ctx.isMenuInsideDropDown && ctx.nzDanger)("ant-menu-item-disabled", !ctx.isMenuInsideDropDown && ctx.nzDisabled); } }, inputs: { nzDisabled: "nzDisabled", nzSelected: "nzSelected", nzDanger: "nzDanger", nzMatchRouterExact: "nzMatchRouterExact", nzMatchRouter: "nzMatchRouter", nzPaddingLeft: "nzPaddingLeft" }, exportAs: ["nzMenuItem"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵNgOnChangesFeature"]] }); NzMenuItemDirective.ctorParameters = function () { return [{ type: MenuService }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectorRef"] }, { type: NzSubmenuService, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NzIsMenuInsideDropDownToken] }] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterLink"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterLinkWithHref"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_10__["Router"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }; NzMenuItemDirective.propDecorators = { nzPaddingLeft: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzDisabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzSelected: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzDanger: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzMatchRouterExact: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzMatchRouter: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], listOfRouterLink: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ContentChildren"], args: [_angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterLink"], { descendants: true }] }], listOfRouterLinkWithHref: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ContentChildren"], args: [_angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterLinkWithHref"], { descendants: true }] }] }; Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__decorate"])([Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_7__["InputBoolean"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__metadata"])("design:type", Object)], NzMenuItemDirective.prototype, "nzDisabled", void 0); Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__decorate"])([Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_7__["InputBoolean"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__metadata"])("design:type", Object)], NzMenuItemDirective.prototype, "nzSelected", void 0); Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__decorate"])([Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_7__["InputBoolean"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__metadata"])("design:type", Object)], NzMenuItemDirective.prototype, "nzDanger", void 0); Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__decorate"])([Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_7__["InputBoolean"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__metadata"])("design:type", Object)], NzMenuItemDirective.prototype, "nzMatchRouterExact", void 0); Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__decorate"])([Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_7__["InputBoolean"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__metadata"])("design:type", Object)], NzMenuItemDirective.prototype, "nzMatchRouter", void 0); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var listOfVerticalPositions = [ng_zorro_antd_core_overlay__WEBPACK_IMPORTED_MODULE_14__["POSITION_MAP"].rightTop, ng_zorro_antd_core_overlay__WEBPACK_IMPORTED_MODULE_14__["POSITION_MAP"].right, ng_zorro_antd_core_overlay__WEBPACK_IMPORTED_MODULE_14__["POSITION_MAP"].rightBottom, ng_zorro_antd_core_overlay__WEBPACK_IMPORTED_MODULE_14__["POSITION_MAP"].leftTop, ng_zorro_antd_core_overlay__WEBPACK_IMPORTED_MODULE_14__["POSITION_MAP"].left, ng_zorro_antd_core_overlay__WEBPACK_IMPORTED_MODULE_14__["POSITION_MAP"].leftBottom]; var listOfHorizontalPositions = [ng_zorro_antd_core_overlay__WEBPACK_IMPORTED_MODULE_14__["POSITION_MAP"].bottomLeft]; var NzSubMenuComponent = /*#__PURE__*/function () { function NzSubMenuComponent(nzMenuService, cdr, nzSubmenuService, platform, isMenuInsideDropDown, directionality, noAnimation) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, NzSubMenuComponent); this.nzMenuService = nzMenuService; this.cdr = cdr; this.nzSubmenuService = nzSubmenuService; this.platform = platform; this.isMenuInsideDropDown = isMenuInsideDropDown; this.directionality = directionality; this.noAnimation = noAnimation; this.nzMenuClassName = ''; this.nzPaddingLeft = null; this.nzTitle = null; this.nzIcon = null; this.nzOpen = false; this.nzDisabled = false; this.nzOpenChange = new _angular_core__WEBPACK_IMPORTED_MODULE_6__["EventEmitter"](); this.cdkOverlayOrigin = null; this.listOfNzSubMenuComponent = null; this.listOfNzMenuItemDirective = null; this.level = this.nzSubmenuService.level; this.destroy$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["Subject"](); this.position = 'right'; this.triggerWidth = null; this.theme = 'light'; this.mode = 'vertical'; this.inlinePaddingLeft = null; this.overlayPositions = listOfVerticalPositions; this.isSelected = false; this.isActive = false; this.dir = 'ltr'; } /** set the submenu host open status directly **/ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(NzSubMenuComponent, [{ key: "setOpenStateWithoutDebounce", value: function setOpenStateWithoutDebounce(open) { this.nzSubmenuService.setOpenStateWithoutDebounce(open); } }, { key: "toggleSubMenu", value: function toggleSubMenu() { this.setOpenStateWithoutDebounce(!this.nzOpen); } }, { key: "setMouseEnterState", value: function setMouseEnterState(value) { this.isActive = value; if (this.mode !== 'inline') { this.nzSubmenuService.setMouseEnterTitleOrOverlayState(value); } } }, { key: "setTriggerWidth", value: function setTriggerWidth() { if (this.mode === 'horizontal' && this.platform.isBrowser && this.cdkOverlayOrigin) { /** TODO: fast dom **/ this.triggerWidth = this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width; } } }, { key: "onPositionChange", value: function onPositionChange(position) { var placement = Object(ng_zorro_antd_core_overlay__WEBPACK_IMPORTED_MODULE_14__["getPlacementName"])(position); if (placement === 'rightTop' || placement === 'rightBottom' || placement === 'right') { this.position = 'right'; } else if (placement === 'leftTop' || placement === 'leftBottom' || placement === 'left') { this.position = 'left'; } this.cdr.markForCheck(); } }, { key: "ngOnInit", value: function ngOnInit() { var _this7 = this; var _a; /** submenu theme update **/ this.nzMenuService.theme$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (theme) { _this7.theme = theme; _this7.cdr.markForCheck(); }); /** submenu mode update **/ this.nzSubmenuService.mode$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (mode) { _this7.mode = mode; if (mode === 'horizontal') { _this7.overlayPositions = listOfHorizontalPositions; } else if (mode === 'vertical') { _this7.overlayPositions = listOfVerticalPositions; } _this7.cdr.markForCheck(); }); /** inlineIndent update **/ Object(rxjs__WEBPACK_IMPORTED_MODULE_8__["combineLatest"])([this.nzSubmenuService.mode$, this.nzMenuService.inlineIndent$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (_ref5) { var _ref6 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref5, 2), mode = _ref6[0], inlineIndent = _ref6[1]; _this7.inlinePaddingLeft = mode === 'inline' ? _this7.level * inlineIndent : null; _this7.cdr.markForCheck(); }); /** current submenu open status **/ this.nzSubmenuService.isCurrentSubMenuOpen$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (open) { _this7.isActive = open; if (open !== _this7.nzOpen) { _this7.setTriggerWidth(); _this7.nzOpen = open; _this7.nzOpenChange.emit(_this7.nzOpen); _this7.cdr.markForCheck(); } }); this.dir = this.directionality.value; (_a = this.directionality.change) === null || _a === void 0 ? void 0 : _a.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (direction) { _this7.dir = direction; _this7.cdr.markForCheck(); }); } }, { key: "ngAfterContentInit", value: function ngAfterContentInit() { var _this8 = this; this.setTriggerWidth(); var listOfNzMenuItemDirective = this.listOfNzMenuItemDirective; var changes = listOfNzMenuItemDirective.changes; var mergedObservable = rxjs__WEBPACK_IMPORTED_MODULE_8__["merge"].apply(void 0, [changes].concat(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(listOfNzMenuItemDirective.map(function (menu) { return menu.selected$; })))); changes.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["startWith"])(listOfNzMenuItemDirective), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["switchMap"])(function () { return mergedObservable; }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["startWith"])(true), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["map"])(function () { return listOfNzMenuItemDirective.some(function (e) { return e.nzSelected; }); }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (selected) { _this8.isSelected = selected; _this8.cdr.markForCheck(); }); } }, { key: "ngOnChanges", value: function ngOnChanges(changes) { var nzOpen = changes.nzOpen; if (nzOpen) { this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen); this.setTriggerWidth(); } } }, { key: "ngOnDestroy", value: function ngOnDestroy() { this.destroy$.next(); this.destroy$.complete(); } }]); return NzSubMenuComponent; }(); NzSubMenuComponent.ɵfac = function NzSubMenuComponent_Factory(t) { return new (t || NzSubMenuComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](MenuService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](NzSubmenuService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["Platform"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](NzIsMenuInsideDropDownToken), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], 8), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](ng_zorro_antd_core_no_animation__WEBPACK_IMPORTED_MODULE_13__["NzNoAnimationDirective"], 9)); }; NzSubMenuComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({ type: NzSubMenuComponent, selectors: [["", "nz-submenu", ""]], contentQueries: function NzSubMenuComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵcontentQuery"](dirIndex, NzSubMenuComponent, true); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵcontentQuery"](dirIndex, NzMenuItemDirective, true); } if (rf & 2) { var _t; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵloadQuery"]()) && (ctx.listOfNzSubMenuComponent = _t); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵloadQuery"]()) && (ctx.listOfNzMenuItemDirective = _t); } }, viewQuery: function NzSubMenuComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵstaticViewQuery"](_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__["CdkOverlayOrigin"], true, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"]); } if (rf & 2) { var _t; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵloadQuery"]()) && (ctx.cdkOverlayOrigin = _t.first); } }, hostVars: 34, hostBindings: function NzSubMenuComponent_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("ant-dropdown-menu-submenu", ctx.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled", ctx.isMenuInsideDropDown && ctx.nzDisabled)("ant-dropdown-menu-submenu-open", ctx.isMenuInsideDropDown && ctx.nzOpen)("ant-dropdown-menu-submenu-selected", ctx.isMenuInsideDropDown && ctx.isSelected)("ant-dropdown-menu-submenu-vertical", ctx.isMenuInsideDropDown && ctx.mode === "vertical")("ant-dropdown-menu-submenu-horizontal", ctx.isMenuInsideDropDown && ctx.mode === "horizontal")("ant-dropdown-menu-submenu-inline", ctx.isMenuInsideDropDown && ctx.mode === "inline")("ant-dropdown-menu-submenu-active", ctx.isMenuInsideDropDown && ctx.isActive)("ant-menu-submenu", !ctx.isMenuInsideDropDown)("ant-menu-submenu-disabled", !ctx.isMenuInsideDropDown && ctx.nzDisabled)("ant-menu-submenu-open", !ctx.isMenuInsideDropDown && ctx.nzOpen)("ant-menu-submenu-selected", !ctx.isMenuInsideDropDown && ctx.isSelected)("ant-menu-submenu-vertical", !ctx.isMenuInsideDropDown && ctx.mode === "vertical")("ant-menu-submenu-horizontal", !ctx.isMenuInsideDropDown && ctx.mode === "horizontal")("ant-menu-submenu-inline", !ctx.isMenuInsideDropDown && ctx.mode === "inline")("ant-menu-submenu-active", !ctx.isMenuInsideDropDown && ctx.isActive)("ant-menu-submenu-rtl", ctx.dir === "rtl"); } }, inputs: { nzMenuClassName: "nzMenuClassName", nzPaddingLeft: "nzPaddingLeft", nzTitle: "nzTitle", nzIcon: "nzIcon", nzOpen: "nzOpen", nzDisabled: "nzDisabled" }, outputs: { nzOpenChange: "nzOpenChange" }, exportAs: ["nzSubmenu"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵProvidersFeature"]([NzSubmenuService]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵNgOnChangesFeature"]], attrs: _c0, ngContentSelectors: _c2, decls: 8, vars: 9, consts: [["nz-submenu-title", "", "cdkOverlayOrigin", "", 3, "nzIcon", "nzTitle", "mode", "nzDisabled", "isMenuInsideDropDown", "paddingLeft", "subMenuMouseState", "toggleSubMenu"], ["origin", "cdkOverlayOrigin"], [4, "ngIf"], ["nz-submenu-inline-child", "", 3, "mode", "nzOpen", "nzNoAnimation", "menuClass", "templateOutlet", 4, "ngIf", "ngIfElse"], ["nonInlineTemplate", ""], ["subMenuTemplate", ""], ["nz-submenu-inline-child", "", 3, "mode", "nzOpen", "nzNoAnimation", "menuClass", "templateOutlet"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayPositions", "cdkConnectedOverlayOrigin", "cdkConnectedOverlayWidth", "cdkConnectedOverlayOpen", "cdkConnectedOverlayTransformOriginOn", "positionChange"], ["nz-submenu-none-inline-child", "", 3, "theme", "mode", "nzOpen", "position", "nzDisabled", "isMenuInsideDropDown", "templateOutlet", "menuClass", "nzNoAnimation", "subMenuMouseState"]], template: function NzSubMenuComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵprojectionDef"](_c1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 0, 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("subMenuMouseState", function NzSubMenuComponent_Template_div_subMenuMouseState_0_listener($event) { return ctx.setMouseEnterState($event); })("toggleSubMenu", function NzSubMenuComponent_Template_div_toggleSubMenu_0_listener() { return ctx.toggleSubMenu(); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](2, NzSubMenuComponent_ng_content_2_Template, 1, 0, "ng-content", 2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](3, NzSubMenuComponent_div_3_Template, 1, 6, "div", 3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](4, NzSubMenuComponent_ng_template_4_Template, 1, 5, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](6, NzSubMenuComponent_ng_template_6_Template, 1, 0, "ng-template", null, 5, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](5); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("nzIcon", ctx.nzIcon)("nzTitle", ctx.nzTitle)("mode", ctx.mode)("nzDisabled", ctx.nzDisabled)("isMenuInsideDropDown", ctx.isMenuInsideDropDown)("paddingLeft", ctx.nzPaddingLeft || ctx.inlinePaddingLeft); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx.nzTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", ctx.mode === "inline")("ngIfElse", _r3); } }, directives: function directives() { return [NzSubMenuTitleComponent, _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__["CdkOverlayOrigin"], _angular_common__WEBPACK_IMPORTED_MODULE_16__["NgIf"], NzSubmenuInlineChildComponent, ng_zorro_antd_core_no_animation__WEBPACK_IMPORTED_MODULE_13__["NzNoAnimationDirective"], _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__["CdkConnectedOverlay"], NzSubmenuNoneInlineChildComponent]; }, encapsulation: 2, changeDetection: 0 }); NzSubMenuComponent.ctorParameters = function () { return [{ type: MenuService }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectorRef"] }, { type: NzSubmenuService }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["Platform"] }, { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NzIsMenuInsideDropDownToken] }] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: ng_zorro_antd_core_no_animation__WEBPACK_IMPORTED_MODULE_13__["NzNoAnimationDirective"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Host"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }; NzSubMenuComponent.propDecorators = { nzMenuClassName: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzPaddingLeft: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzTitle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzIcon: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzOpen: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzDisabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzOpenChange: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Output"] }], cdkOverlayOrigin: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ViewChild"], args: [_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__["CdkOverlayOrigin"], { static: true, read: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"] }] }], listOfNzSubMenuComponent: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ContentChildren"], args: [NzSubMenuComponent, { descendants: true }] }], listOfNzMenuItemDirective: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ContentChildren"], args: [NzMenuItemDirective, { descendants: true }] }] }; Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__decorate"])([Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_7__["InputBoolean"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__metadata"])("design:type", Object)], NzSubMenuComponent.prototype, "nzOpen", void 0); Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__decorate"])([Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_7__["InputBoolean"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__metadata"])("design:type", Object)], NzSubMenuComponent.prototype, "nzDisabled", void 0); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ function MenuServiceFactory(serviceInsideDropDown, serviceOutsideDropDown) { return serviceInsideDropDown ? serviceInsideDropDown : serviceOutsideDropDown; } function MenuDropDownTokenFactory(isMenuInsideDropDownToken) { return isMenuInsideDropDownToken ? isMenuInsideDropDownToken : false; } var NzMenuDirective = /*#__PURE__*/function () { function NzMenuDirective(nzMenuService, isMenuInsideDropDown, cdr, directionality) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, NzMenuDirective); this.nzMenuService = nzMenuService; this.isMenuInsideDropDown = isMenuInsideDropDown; this.cdr = cdr; this.directionality = directionality; this.nzInlineIndent = 24; this.nzTheme = 'light'; this.nzMode = 'vertical'; this.nzInlineCollapsed = false; this.nzSelectable = !this.isMenuInsideDropDown; this.nzClick = new _angular_core__WEBPACK_IMPORTED_MODULE_6__["EventEmitter"](); this.actualMode = 'vertical'; this.dir = 'ltr'; this.inlineCollapsed$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["BehaviorSubject"](this.nzInlineCollapsed); this.mode$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["BehaviorSubject"](this.nzMode); this.destroy$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["Subject"](); this.listOfOpenedNzSubMenuComponent = []; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(NzMenuDirective, [{ key: "setInlineCollapsed", value: function setInlineCollapsed(inlineCollapsed) { this.nzInlineCollapsed = inlineCollapsed; this.inlineCollapsed$.next(inlineCollapsed); } }, { key: "updateInlineCollapse", value: function updateInlineCollapse() { if (this.listOfNzMenuItemDirective) { if (this.nzInlineCollapsed) { this.listOfOpenedNzSubMenuComponent = this.listOfNzSubMenuComponent.filter(function (submenu) { return submenu.nzOpen; }); this.listOfNzSubMenuComponent.forEach(function (submenu) { return submenu.setOpenStateWithoutDebounce(false); }); } else { this.listOfOpenedNzSubMenuComponent.forEach(function (submenu) { return submenu.setOpenStateWithoutDebounce(true); }); this.listOfOpenedNzSubMenuComponent = []; } } } }, { key: "ngOnInit", value: function ngOnInit() { var _this9 = this; var _a; Object(rxjs__WEBPACK_IMPORTED_MODULE_8__["combineLatest"])([this.inlineCollapsed$, this.mode$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (_ref7) { var _ref8 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref7, 2), inlineCollapsed = _ref8[0], mode = _ref8[1]; _this9.actualMode = inlineCollapsed ? 'vertical' : mode; _this9.nzMenuService.setMode(_this9.actualMode); _this9.cdr.markForCheck(); }); this.nzMenuService.descendantMenuItemClick$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (menu) { _this9.nzClick.emit(menu); if (_this9.nzSelectable && !menu.nzMatchRouter) { _this9.listOfNzMenuItemDirective.forEach(function (item) { return item.setSelectedState(item === menu); }); } }); this.dir = this.directionality.value; (_a = this.directionality.change) === null || _a === void 0 ? void 0 : _a.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (direction) { _this9.dir = direction; _this9.nzMenuService.setMode(_this9.actualMode); _this9.cdr.markForCheck(); }); } }, { key: "ngAfterContentInit", value: function ngAfterContentInit() { var _this10 = this; this.inlineCollapsed$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function () { _this10.updateInlineCollapse(); _this10.cdr.markForCheck(); }); } }, { key: "ngOnChanges", value: function ngOnChanges(changes) { var nzInlineCollapsed = changes.nzInlineCollapsed, nzInlineIndent = changes.nzInlineIndent, nzTheme = changes.nzTheme, nzMode = changes.nzMode; if (nzInlineCollapsed) { this.inlineCollapsed$.next(this.nzInlineCollapsed); } if (nzInlineIndent) { this.nzMenuService.setInlineIndent(this.nzInlineIndent); } if (nzTheme) { this.nzMenuService.setTheme(this.nzTheme); } if (nzMode) { this.mode$.next(this.nzMode); if (!changes.nzMode.isFirstChange() && this.listOfNzSubMenuComponent) { this.listOfNzSubMenuComponent.forEach(function (submenu) { return submenu.setOpenStateWithoutDebounce(false); }); } } } }, { key: "ngOnDestroy", value: function ngOnDestroy() { this.destroy$.next(); this.destroy$.complete(); } }]); return NzMenuDirective; }(); NzMenuDirective.ɵfac = function NzMenuDirective_Factory(t) { return new (t || NzMenuDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](MenuService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](NzIsMenuInsideDropDownToken), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], 8)); }; NzMenuDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineDirective"]({ type: NzMenuDirective, selectors: [["", "nz-menu", ""]], contentQueries: function NzMenuDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵcontentQuery"](dirIndex, NzMenuItemDirective, true); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵcontentQuery"](dirIndex, NzSubMenuComponent, true); } if (rf & 2) { var _t; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵloadQuery"]()) && (ctx.listOfNzMenuItemDirective = _t); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵloadQuery"]()) && (ctx.listOfNzSubMenuComponent = _t); } }, hostVars: 34, hostBindings: function NzMenuDirective_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("ant-dropdown-menu", ctx.isMenuInsideDropDown)("ant-dropdown-menu-root", ctx.isMenuInsideDropDown)("ant-dropdown-menu-light", ctx.isMenuInsideDropDown && ctx.nzTheme === "light")("ant-dropdown-menu-dark", ctx.isMenuInsideDropDown && ctx.nzTheme === "dark")("ant-dropdown-menu-vertical", ctx.isMenuInsideDropDown && ctx.actualMode === "vertical")("ant-dropdown-menu-horizontal", ctx.isMenuInsideDropDown && ctx.actualMode === "horizontal")("ant-dropdown-menu-inline", ctx.isMenuInsideDropDown && ctx.actualMode === "inline")("ant-dropdown-menu-inline-collapsed", ctx.isMenuInsideDropDown && ctx.nzInlineCollapsed)("ant-menu", !ctx.isMenuInsideDropDown)("ant-menu-root", !ctx.isMenuInsideDropDown)("ant-menu-light", !ctx.isMenuInsideDropDown && ctx.nzTheme === "light")("ant-menu-dark", !ctx.isMenuInsideDropDown && ctx.nzTheme === "dark")("ant-menu-vertical", !ctx.isMenuInsideDropDown && ctx.actualMode === "vertical")("ant-menu-horizontal", !ctx.isMenuInsideDropDown && ctx.actualMode === "horizontal")("ant-menu-inline", !ctx.isMenuInsideDropDown && ctx.actualMode === "inline")("ant-menu-inline-collapsed", !ctx.isMenuInsideDropDown && ctx.nzInlineCollapsed)("ant-menu-rtl", ctx.dir === "rtl"); } }, inputs: { nzInlineIndent: "nzInlineIndent", nzTheme: "nzTheme", nzMode: "nzMode", nzInlineCollapsed: "nzInlineCollapsed", nzSelectable: "nzSelectable" }, outputs: { nzClick: "nzClick" }, exportAs: ["nzMenu"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵProvidersFeature"]([{ provide: NzMenuServiceLocalToken, useClass: MenuService }, /** use the top level service **/ { provide: MenuService, useFactory: MenuServiceFactory, deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_6__["SkipSelf"](), new _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"](), MenuService], NzMenuServiceLocalToken] }, /** check if menu inside dropdown-menu component **/ { provide: NzIsMenuInsideDropDownToken, useFactory: MenuDropDownTokenFactory, deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_6__["SkipSelf"](), new _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"](), NzIsMenuInsideDropDownToken]] }]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵNgOnChangesFeature"]] }); NzMenuDirective.ctorParameters = function () { return [{ type: MenuService }, { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NzIsMenuInsideDropDownToken] }] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectorRef"] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }; NzMenuDirective.propDecorators = { listOfNzMenuItemDirective: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ContentChildren"], args: [NzMenuItemDirective, { descendants: true }] }], listOfNzSubMenuComponent: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ContentChildren"], args: [NzSubMenuComponent, { descendants: true }] }], nzInlineIndent: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzTheme: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzMode: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzInlineCollapsed: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzSelectable: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzClick: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Output"] }] }; Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__decorate"])([Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_7__["InputBoolean"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__metadata"])("design:type", Object)], NzMenuDirective.prototype, "nzInlineCollapsed", void 0); Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__decorate"])([Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_7__["InputBoolean"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__metadata"])("design:type", Object)], NzMenuDirective.prototype, "nzSelectable", void 0); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](MenuService, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Injectable"] }], function () { return []; }, null); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzSubmenuService, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Injectable"] }], function () { return [{ type: NzSubmenuService, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["SkipSelf"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: MenuService }, { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NzIsMenuInsideDropDownToken] }] }]; }, null); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzMenuItemDirective, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Directive"], args: [{ selector: '[nz-menu-item]', exportAs: 'nzMenuItem', host: { '[class.ant-dropdown-menu-item]': "isMenuInsideDropDown", '[class.ant-dropdown-menu-item-selected]': "isMenuInsideDropDown && nzSelected", '[class.ant-dropdown-menu-item-danger]': "isMenuInsideDropDown && nzDanger", '[class.ant-dropdown-menu-item-disabled]': "isMenuInsideDropDown && nzDisabled", '[class.ant-menu-item]': "!isMenuInsideDropDown", '[class.ant-menu-item-selected]': "!isMenuInsideDropDown && nzSelected", '[class.ant-menu-item-danger]': "!isMenuInsideDropDown && nzDanger", '[class.ant-menu-item-disabled]': "!isMenuInsideDropDown && nzDisabled", '[style.paddingLeft.px]': "dir === 'rtl' ? null : nzPaddingLeft || inlinePaddingLeft", '[style.paddingRight.px]': "dir === 'rtl' ? nzPaddingLeft || inlinePaddingLeft : null", '(click)': 'clickMenuItem($event)' } }] }], function () { return [{ type: MenuService }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectorRef"] }, { type: NzSubmenuService, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NzIsMenuInsideDropDownToken] }] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterLink"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterLinkWithHref"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_10__["Router"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }, { nzDisabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzSelected: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzDanger: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzMatchRouterExact: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzMatchRouter: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzPaddingLeft: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], listOfRouterLink: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ContentChildren"], args: [_angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterLink"], { descendants: true }] }], listOfRouterLinkWithHref: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ContentChildren"], args: [_angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterLinkWithHref"], { descendants: true }] }] }); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzSubMenuComponent, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Component"], args: [{ selector: '[nz-submenu]', exportAs: 'nzSubmenu', providers: [NzSubmenuService], encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ViewEncapsulation"].None, changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectionStrategy"].OnPush, preserveWhitespaces: false, template: "\n \n \n \n \n \n \n \n \n \n\n \n \n \n ", host: { '[class.ant-dropdown-menu-submenu]': "isMenuInsideDropDown", '[class.ant-dropdown-menu-submenu-disabled]': "isMenuInsideDropDown && nzDisabled", '[class.ant-dropdown-menu-submenu-open]': "isMenuInsideDropDown && nzOpen", '[class.ant-dropdown-menu-submenu-selected]': "isMenuInsideDropDown && isSelected", '[class.ant-dropdown-menu-submenu-vertical]': "isMenuInsideDropDown && mode === 'vertical'", '[class.ant-dropdown-menu-submenu-horizontal]': "isMenuInsideDropDown && mode === 'horizontal'", '[class.ant-dropdown-menu-submenu-inline]': "isMenuInsideDropDown && mode === 'inline'", '[class.ant-dropdown-menu-submenu-active]': "isMenuInsideDropDown && isActive", '[class.ant-menu-submenu]': "!isMenuInsideDropDown", '[class.ant-menu-submenu-disabled]': "!isMenuInsideDropDown && nzDisabled", '[class.ant-menu-submenu-open]': "!isMenuInsideDropDown && nzOpen", '[class.ant-menu-submenu-selected]': "!isMenuInsideDropDown && isSelected", '[class.ant-menu-submenu-vertical]': "!isMenuInsideDropDown && mode === 'vertical'", '[class.ant-menu-submenu-horizontal]': "!isMenuInsideDropDown && mode === 'horizontal'", '[class.ant-menu-submenu-inline]': "!isMenuInsideDropDown && mode === 'inline'", '[class.ant-menu-submenu-active]': "!isMenuInsideDropDown && isActive", '[class.ant-menu-submenu-rtl]': "dir === 'rtl'" } }] }], function () { return [{ type: MenuService }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectorRef"] }, { type: NzSubmenuService }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["Platform"] }, { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NzIsMenuInsideDropDownToken] }] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: ng_zorro_antd_core_no_animation__WEBPACK_IMPORTED_MODULE_13__["NzNoAnimationDirective"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Host"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }, { nzMenuClassName: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzPaddingLeft: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzTitle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzIcon: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzOpen: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzDisabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzOpenChange: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Output"] }], cdkOverlayOrigin: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ViewChild"], args: [_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__["CdkOverlayOrigin"], { static: true, read: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"] }] }], listOfNzSubMenuComponent: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ContentChildren"], args: [NzSubMenuComponent, { descendants: true }] }], listOfNzMenuItemDirective: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ContentChildren"], args: [NzMenuItemDirective, { descendants: true }] }] }); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzMenuDirective, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Directive"], args: [{ selector: '[nz-menu]', exportAs: 'nzMenu', providers: [{ provide: NzMenuServiceLocalToken, useClass: MenuService }, /** use the top level service **/ { provide: MenuService, useFactory: MenuServiceFactory, deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_6__["SkipSelf"](), new _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"](), MenuService], NzMenuServiceLocalToken] }, /** check if menu inside dropdown-menu component **/ { provide: NzIsMenuInsideDropDownToken, useFactory: MenuDropDownTokenFactory, deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_6__["SkipSelf"](), new _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"](), NzIsMenuInsideDropDownToken]] }], host: { '[class.ant-dropdown-menu]': "isMenuInsideDropDown", '[class.ant-dropdown-menu-root]': "isMenuInsideDropDown", '[class.ant-dropdown-menu-light]': "isMenuInsideDropDown && nzTheme === 'light'", '[class.ant-dropdown-menu-dark]': "isMenuInsideDropDown && nzTheme === 'dark'", '[class.ant-dropdown-menu-vertical]': "isMenuInsideDropDown && actualMode === 'vertical'", '[class.ant-dropdown-menu-horizontal]': "isMenuInsideDropDown && actualMode === 'horizontal'", '[class.ant-dropdown-menu-inline]': "isMenuInsideDropDown && actualMode === 'inline'", '[class.ant-dropdown-menu-inline-collapsed]': "isMenuInsideDropDown && nzInlineCollapsed", '[class.ant-menu]': "!isMenuInsideDropDown", '[class.ant-menu-root]': "!isMenuInsideDropDown", '[class.ant-menu-light]': "!isMenuInsideDropDown && nzTheme === 'light'", '[class.ant-menu-dark]': "!isMenuInsideDropDown && nzTheme === 'dark'", '[class.ant-menu-vertical]': "!isMenuInsideDropDown && actualMode === 'vertical'", '[class.ant-menu-horizontal]': "!isMenuInsideDropDown && actualMode === 'horizontal'", '[class.ant-menu-inline]': "!isMenuInsideDropDown && actualMode === 'inline'", '[class.ant-menu-inline-collapsed]': "!isMenuInsideDropDown && nzInlineCollapsed", '[class.ant-menu-rtl]': "dir === 'rtl'" } }] }], function () { return [{ type: MenuService }, { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NzIsMenuInsideDropDownToken] }] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectorRef"] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }, { nzInlineIndent: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzTheme: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzMode: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzInlineCollapsed: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzSelectable: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzClick: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Output"] }], listOfNzMenuItemDirective: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ContentChildren"], args: [NzMenuItemDirective, { descendants: true }] }], listOfNzSubMenuComponent: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ContentChildren"], args: [NzSubMenuComponent, { descendants: true }] }] }); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ function MenuGroupFactory(isMenuInsideDropDownToken) { return isMenuInsideDropDownToken ? isMenuInsideDropDownToken : false; } var NzMenuGroupComponent = /*#__PURE__*/function () { function NzMenuGroupComponent(elementRef, renderer, isMenuInsideDropDown) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, NzMenuGroupComponent); this.elementRef = elementRef; this.renderer = renderer; this.isMenuInsideDropDown = isMenuInsideDropDown; var className = this.isMenuInsideDropDown ? 'ant-dropdown-menu-item-group' : 'ant-menu-item-group'; this.renderer.addClass(elementRef.nativeElement, className); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(NzMenuGroupComponent, [{ key: "ngAfterViewInit", value: function ngAfterViewInit() { var ulElement = this.titleElement.nativeElement.nextElementSibling; if (ulElement) { /** add classname to ul **/ var className = this.isMenuInsideDropDown ? 'ant-dropdown-menu-item-group-list' : 'ant-menu-item-group-list'; this.renderer.addClass(ulElement, className); } } }]); return NzMenuGroupComponent; }(); NzMenuGroupComponent.ɵfac = function NzMenuGroupComponent_Factory(t) { return new (t || NzMenuGroupComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["Renderer2"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](NzIsMenuInsideDropDownToken)); }; NzMenuGroupComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({ type: NzMenuGroupComponent, selectors: [["", "nz-menu-group", ""]], viewQuery: function NzMenuGroupComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵviewQuery"](_c3, true); } if (rf & 2) { var _t; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵloadQuery"]()) && (ctx.titleElement = _t.first); } }, inputs: { nzTitle: "nzTitle" }, exportAs: ["nzMenuGroup"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵProvidersFeature"]([ /** check if menu inside dropdown-menu component **/ { provide: NzIsMenuInsideDropDownToken, useFactory: MenuGroupFactory, deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_6__["SkipSelf"](), new _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"](), NzIsMenuInsideDropDownToken]] }])], attrs: _c4, ngContentSelectors: _c6, decls: 5, vars: 6, consts: [["titleElement", ""], [4, "nzStringTemplateOutlet"], [4, "ngIf"]], template: function NzMenuGroupComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵprojectionDef"](_c5); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", null, 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](2, NzMenuGroupComponent_ng_container_2_Template, 2, 1, "ng-container", 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](3, NzMenuGroupComponent_ng_content_3_Template, 1, 0, "ng-content", 2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵprojection"](4); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("ant-menu-item-group-title", !ctx.isMenuInsideDropDown)("ant-dropdown-menu-item-group-title", ctx.isMenuInsideDropDown); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("nzStringTemplateOutlet", ctx.nzTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx.nzTitle); } }, directives: [ng_zorro_antd_core_outlet__WEBPACK_IMPORTED_MODULE_17__["NzStringTemplateOutletDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_16__["NgIf"]], encapsulation: 2, changeDetection: 0 }); NzMenuGroupComponent.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Renderer2"] }, { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NzIsMenuInsideDropDownToken] }] }]; }; NzMenuGroupComponent.propDecorators = { nzTitle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], titleElement: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ViewChild"], args: ['titleElement'] }] }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzMenuGroupComponent, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Component"], args: [{ selector: '[nz-menu-group]', exportAs: 'nzMenuGroup', changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectionStrategy"].OnPush, providers: [ /** check if menu inside dropdown-menu component **/ { provide: NzIsMenuInsideDropDownToken, useFactory: MenuGroupFactory, deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_6__["SkipSelf"](), new _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"](), NzIsMenuInsideDropDownToken]] }], encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ViewEncapsulation"].None, template: "\n \n {{ nzTitle }}\n \n \n \n ", preserveWhitespaces: false }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Renderer2"] }, { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NzIsMenuInsideDropDownToken] }] }]; }, { nzTitle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], titleElement: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ViewChild"], args: ['titleElement'] }] }); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzMenuDividerDirective = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(function NzMenuDividerDirective(elementRef, renderer) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, NzMenuDividerDirective); this.elementRef = elementRef; this.renderer = renderer; this.renderer.addClass(elementRef.nativeElement, 'ant-dropdown-menu-item-divider'); }); NzMenuDividerDirective.ɵfac = function NzMenuDividerDirective_Factory(t) { return new (t || NzMenuDividerDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["Renderer2"])); }; NzMenuDividerDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineDirective"]({ type: NzMenuDividerDirective, selectors: [["", "nz-menu-divider", ""]], exportAs: ["nzMenuDivider"] }); NzMenuDividerDirective.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Renderer2"] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzMenuDividerDirective, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Directive"], args: [{ selector: '[nz-menu-divider]', exportAs: 'nzMenuDivider' }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Renderer2"] }]; }, null); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzSubMenuTitleComponent = /*#__PURE__*/function () { function NzSubMenuTitleComponent(cdr, directionality) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, NzSubMenuTitleComponent); this.cdr = cdr; this.directionality = directionality; this.nzIcon = null; this.nzTitle = null; this.isMenuInsideDropDown = false; this.nzDisabled = false; this.paddingLeft = null; this.mode = 'vertical'; this.toggleSubMenu = new _angular_core__WEBPACK_IMPORTED_MODULE_6__["EventEmitter"](); this.subMenuMouseState = new _angular_core__WEBPACK_IMPORTED_MODULE_6__["EventEmitter"](); this.dir = 'ltr'; this.destroy$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["Subject"](); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(NzSubMenuTitleComponent, [{ key: "ngOnInit", value: function ngOnInit() { var _this11 = this; var _a; this.dir = this.directionality.value; (_a = this.directionality.change) === null || _a === void 0 ? void 0 : _a.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (direction) { _this11.dir = direction; _this11.cdr.detectChanges(); }); } }, { key: "ngOnDestroy", value: function ngOnDestroy() { this.destroy$.next(); this.destroy$.complete(); } }, { key: "setMouseState", value: function setMouseState(state) { if (!this.nzDisabled) { this.subMenuMouseState.next(state); } } }, { key: "clickTitle", value: function clickTitle() { if (this.mode === 'inline' && !this.nzDisabled) { this.toggleSubMenu.emit(); } } }]); return NzSubMenuTitleComponent; }(); NzSubMenuTitleComponent.ɵfac = function NzSubMenuTitleComponent_Factory(t) { return new (t || NzSubMenuTitleComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], 8)); }; NzSubMenuTitleComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({ type: NzSubMenuTitleComponent, selectors: [["", "nz-submenu-title", ""]], hostVars: 8, hostBindings: function NzSubMenuTitleComponent_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function NzSubMenuTitleComponent_click_HostBindingHandler() { return ctx.clickTitle(); })("mouseenter", function NzSubMenuTitleComponent_mouseenter_HostBindingHandler() { return ctx.setMouseState(true); })("mouseleave", function NzSubMenuTitleComponent_mouseleave_HostBindingHandler() { return ctx.setMouseState(false); }); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵstyleProp"]("padding-left", ctx.dir === "rtl" ? null : ctx.paddingLeft, "px")("padding-right", ctx.dir === "rtl" ? ctx.paddingLeft : null, "px"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("ant-dropdown-menu-submenu-title", ctx.isMenuInsideDropDown)("ant-menu-submenu-title", !ctx.isMenuInsideDropDown); } }, inputs: { nzIcon: "nzIcon", nzTitle: "nzTitle", isMenuInsideDropDown: "isMenuInsideDropDown", nzDisabled: "nzDisabled", paddingLeft: "paddingLeft", mode: "mode" }, outputs: { toggleSubMenu: "toggleSubMenu", subMenuMouseState: "subMenuMouseState" }, exportAs: ["nzSubmenuTitle"], attrs: _c7, ngContentSelectors: _c8, decls: 6, vars: 4, consts: [["nz-icon", "", 3, "nzType", 4, "ngIf"], [4, "nzStringTemplateOutlet"], ["class", "ant-dropdown-menu-submenu-expand-icon", 3, "ngSwitch", 4, "ngIf", "ngIfElse"], ["notDropdownTpl", ""], ["nz-icon", "", 3, "nzType"], [1, "ant-dropdown-menu-submenu-expand-icon", 3, "ngSwitch"], ["nz-icon", "", "nzType", "left", "class", "ant-dropdown-menu-submenu-arrow-icon", 4, "ngSwitchCase"], ["nz-icon", "", "nzType", "right", "class", "ant-dropdown-menu-submenu-arrow-icon", 4, "ngSwitchDefault"], ["nz-icon", "", "nzType", "left", 1, "ant-dropdown-menu-submenu-arrow-icon"], ["nz-icon", "", "nzType", "right", 1, "ant-dropdown-menu-submenu-arrow-icon"], [1, "ant-menu-submenu-arrow"]], template: function NzSubMenuTitleComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵprojectionDef"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, NzSubMenuTitleComponent_i_0_Template, 1, 1, "i", 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, NzSubMenuTitleComponent_ng_container_1_Template, 3, 1, "ng-container", 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵprojection"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](3, NzSubMenuTitleComponent_span_3_Template, 3, 2, "span", 2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](4, NzSubMenuTitleComponent_ng_template_4_Template, 1, 0, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](5); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", ctx.nzIcon); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("nzStringTemplateOutlet", ctx.nzTitle); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", ctx.isMenuInsideDropDown)("ngIfElse", _r3); } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_16__["NgIf"], ng_zorro_antd_core_outlet__WEBPACK_IMPORTED_MODULE_17__["NzStringTemplateOutletDirective"], ng_zorro_antd_icon__WEBPACK_IMPORTED_MODULE_18__["NzIconDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_16__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_16__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_16__["NgSwitchDefault"]], encapsulation: 2, changeDetection: 0 }); NzSubMenuTitleComponent.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectorRef"] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }; NzSubMenuTitleComponent.propDecorators = { nzIcon: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzTitle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], isMenuInsideDropDown: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzDisabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], paddingLeft: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], mode: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], toggleSubMenu: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Output"] }], subMenuMouseState: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Output"] }] }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzSubMenuTitleComponent, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Component"], args: [{ selector: '[nz-submenu-title]', exportAs: 'nzSubmenuTitle', encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ViewEncapsulation"].None, changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectionStrategy"].OnPush, template: "\n \n \n {{ nzTitle }}\n \n \n \n \n \n \n \n \n \n ", host: { '[class.ant-dropdown-menu-submenu-title]': 'isMenuInsideDropDown', '[class.ant-menu-submenu-title]': '!isMenuInsideDropDown', '[style.paddingLeft.px]': "dir === 'rtl' ? null : paddingLeft ", '[style.paddingRight.px]': "dir === 'rtl' ? paddingLeft : null", '(click)': 'clickTitle()', '(mouseenter)': 'setMouseState(true)', '(mouseleave)': 'setMouseState(false)' } }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectorRef"] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }, { nzIcon: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzTitle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], isMenuInsideDropDown: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzDisabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], paddingLeft: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], mode: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], toggleSubMenu: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Output"] }], subMenuMouseState: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Output"] }] }); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzSubmenuInlineChildComponent = /*#__PURE__*/function () { function NzSubmenuInlineChildComponent(elementRef, renderer, directionality) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, NzSubmenuInlineChildComponent); this.elementRef = elementRef; this.renderer = renderer; this.directionality = directionality; this.templateOutlet = null; this.menuClass = ''; this.mode = 'vertical'; this.nzOpen = false; this.listOfCacheClassName = []; this.expandState = 'collapsed'; this.dir = 'ltr'; this.destroy$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["Subject"](); // TODO: move to host after View Engine deprecation this.elementRef.nativeElement.classList.add('ant-menu', 'ant-menu-inline', 'ant-menu-sub'); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(NzSubmenuInlineChildComponent, [{ key: "calcMotionState", value: function calcMotionState() { if (this.nzOpen) { this.expandState = 'expanded'; } else { this.expandState = 'collapsed'; } } }, { key: "ngOnInit", value: function ngOnInit() { var _this12 = this; var _a; this.calcMotionState(); this.dir = this.directionality.value; (_a = this.directionality.change) === null || _a === void 0 ? void 0 : _a.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (direction) { _this12.dir = direction; }); } }, { key: "ngOnChanges", value: function ngOnChanges(changes) { var _this13 = this; var mode = changes.mode, nzOpen = changes.nzOpen, menuClass = changes.menuClass; if (mode || nzOpen) { this.calcMotionState(); } if (menuClass) { if (this.listOfCacheClassName.length) { this.listOfCacheClassName.filter(function (item) { return !!item; }).forEach(function (className) { _this13.renderer.removeClass(_this13.elementRef.nativeElement, className); }); } if (this.menuClass) { this.listOfCacheClassName = this.menuClass.split(' '); this.listOfCacheClassName.filter(function (item) { return !!item; }).forEach(function (className) { _this13.renderer.addClass(_this13.elementRef.nativeElement, className); }); } } } }, { key: "ngOnDestroy", value: function ngOnDestroy() { this.destroy$.next(); this.destroy$.complete(); } }]); return NzSubmenuInlineChildComponent; }(); NzSubmenuInlineChildComponent.ɵfac = function NzSubmenuInlineChildComponent_Factory(t) { return new (t || NzSubmenuInlineChildComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["Renderer2"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], 8)); }; NzSubmenuInlineChildComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({ type: NzSubmenuInlineChildComponent, selectors: [["", "nz-submenu-inline-child", ""]], hostVars: 3, hostBindings: function NzSubmenuInlineChildComponent_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵsyntheticHostProperty"]("@collapseMotion", ctx.expandState); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("ant-menu-rtl", ctx.dir === "rtl"); } }, inputs: { templateOutlet: "templateOutlet", menuClass: "menuClass", mode: "mode", nzOpen: "nzOpen" }, exportAs: ["nzSubmenuInlineChild"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵNgOnChangesFeature"]], attrs: _c9, decls: 1, vars: 1, consts: [[3, "ngTemplateOutlet"]], template: function NzSubmenuInlineChildComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, NzSubmenuInlineChildComponent_ng_template_0_Template, 0, 0, "ng-template", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngTemplateOutlet", ctx.templateOutlet); } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_16__["NgTemplateOutlet"]], encapsulation: 2, data: { animation: [ng_zorro_antd_core_animation__WEBPACK_IMPORTED_MODULE_15__["collapseMotion"]] }, changeDetection: 0 }); NzSubmenuInlineChildComponent.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Renderer2"] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }; NzSubmenuInlineChildComponent.propDecorators = { templateOutlet: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], menuClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], mode: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzOpen: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }] }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzSubmenuInlineChildComponent, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Component"], args: [{ selector: '[nz-submenu-inline-child]', animations: [ng_zorro_antd_core_animation__WEBPACK_IMPORTED_MODULE_15__["collapseMotion"]], exportAs: 'nzSubmenuInlineChild', encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ViewEncapsulation"].None, changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectionStrategy"].OnPush, template: "\n \n ", host: { '[class.ant-menu-rtl]': "dir === 'rtl'", '[@collapseMotion]': 'expandState' } }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Renderer2"] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }, { templateOutlet: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], menuClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], mode: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzOpen: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }] }); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzSubmenuNoneInlineChildComponent = /*#__PURE__*/function () { function NzSubmenuNoneInlineChildComponent(elementRef, directionality) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, NzSubmenuNoneInlineChildComponent); this.elementRef = elementRef; this.directionality = directionality; this.menuClass = ''; this.theme = 'light'; this.templateOutlet = null; this.isMenuInsideDropDown = false; this.mode = 'vertical'; this.position = 'right'; this.nzDisabled = false; this.nzOpen = false; this.subMenuMouseState = new _angular_core__WEBPACK_IMPORTED_MODULE_6__["EventEmitter"](); this.expandState = 'collapsed'; this.dir = 'ltr'; this.destroy$ = new rxjs__WEBPACK_IMPORTED_MODULE_8__["Subject"](); // TODO: move to host after View Engine deprecation this.elementRef.nativeElement.classList.add('ant-menu-submenu', 'ant-menu-submenu-popup'); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(NzSubmenuNoneInlineChildComponent, [{ key: "setMouseState", value: function setMouseState(state) { if (!this.nzDisabled) { this.subMenuMouseState.next(state); } } }, { key: "ngOnDestroy", value: function ngOnDestroy() { this.destroy$.next(); this.destroy$.complete(); } }, { key: "calcMotionState", value: function calcMotionState() { if (this.nzOpen) { if (this.mode === 'horizontal') { this.expandState = 'bottom'; } else if (this.mode === 'vertical') { this.expandState = 'active'; } } else { this.expandState = 'collapsed'; } } }, { key: "ngOnInit", value: function ngOnInit() { var _this14 = this; var _a; this.calcMotionState(); this.dir = this.directionality.value; (_a = this.directionality.change) === null || _a === void 0 ? void 0 : _a.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__["takeUntil"])(this.destroy$)).subscribe(function (direction) { _this14.dir = direction; }); } }, { key: "ngOnChanges", value: function ngOnChanges(changes) { var mode = changes.mode, nzOpen = changes.nzOpen; if (mode || nzOpen) { this.calcMotionState(); } } }]); return NzSubmenuNoneInlineChildComponent; }(); NzSubmenuNoneInlineChildComponent.ɵfac = function NzSubmenuNoneInlineChildComponent_Factory(t) { return new (t || NzSubmenuNoneInlineChildComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], 8)); }; NzSubmenuNoneInlineChildComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({ type: NzSubmenuNoneInlineChildComponent, selectors: [["", "nz-submenu-none-inline-child", ""]], hostVars: 14, hostBindings: function NzSubmenuNoneInlineChildComponent_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("mouseenter", function NzSubmenuNoneInlineChildComponent_mouseenter_HostBindingHandler() { return ctx.setMouseState(true); })("mouseleave", function NzSubmenuNoneInlineChildComponent_mouseleave_HostBindingHandler() { return ctx.setMouseState(false); }); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵsyntheticHostProperty"]("@slideMotion", ctx.expandState)("@zoomBigMotion", ctx.expandState); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("ant-menu-light", ctx.theme === "light")("ant-menu-dark", ctx.theme === "dark")("ant-menu-submenu-placement-bottom", ctx.mode === "horizontal")("ant-menu-submenu-placement-right", ctx.mode === "vertical" && ctx.position === "right")("ant-menu-submenu-placement-left", ctx.mode === "vertical" && ctx.position === "left")("ant-menu-submenu-rtl", ctx.dir === "rtl"); } }, inputs: { menuClass: "menuClass", theme: "theme", templateOutlet: "templateOutlet", isMenuInsideDropDown: "isMenuInsideDropDown", mode: "mode", position: "position", nzDisabled: "nzDisabled", nzOpen: "nzOpen" }, outputs: { subMenuMouseState: "subMenuMouseState" }, exportAs: ["nzSubmenuNoneInlineChild"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵNgOnChangesFeature"]], attrs: _c10, decls: 2, vars: 16, consts: [[3, "ngClass"], [3, "ngTemplateOutlet"]], template: function NzSubmenuNoneInlineChildComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, NzSubmenuNoneInlineChildComponent_ng_template_1_Template, 0, 0, "ng-template", 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("ant-dropdown-menu", ctx.isMenuInsideDropDown)("ant-menu", !ctx.isMenuInsideDropDown)("ant-dropdown-menu-vertical", ctx.isMenuInsideDropDown)("ant-menu-vertical", !ctx.isMenuInsideDropDown)("ant-dropdown-menu-sub", ctx.isMenuInsideDropDown)("ant-menu-sub", !ctx.isMenuInsideDropDown)("ant-menu-rtl", ctx.dir === "rtl"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngClass", ctx.menuClass); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngTemplateOutlet", ctx.templateOutlet); } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_16__["NgClass"], _angular_common__WEBPACK_IMPORTED_MODULE_16__["NgTemplateOutlet"]], encapsulation: 2, data: { animation: [ng_zorro_antd_core_animation__WEBPACK_IMPORTED_MODULE_15__["zoomBigMotion"], ng_zorro_antd_core_animation__WEBPACK_IMPORTED_MODULE_15__["slideMotion"]] }, changeDetection: 0 }); NzSubmenuNoneInlineChildComponent.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }; NzSubmenuNoneInlineChildComponent.propDecorators = { menuClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], theme: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], templateOutlet: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], isMenuInsideDropDown: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], mode: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], position: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzDisabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzOpen: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], subMenuMouseState: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Output"] }] }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzSubmenuNoneInlineChildComponent, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Component"], args: [{ selector: '[nz-submenu-none-inline-child]', exportAs: 'nzSubmenuNoneInlineChild', encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ViewEncapsulation"].None, animations: [ng_zorro_antd_core_animation__WEBPACK_IMPORTED_MODULE_15__["zoomBigMotion"], ng_zorro_antd_core_animation__WEBPACK_IMPORTED_MODULE_15__["slideMotion"]], changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ChangeDetectionStrategy"].OnPush, template: "\n \n \n \n ", host: { '[class.ant-menu-light]': "theme === 'light'", '[class.ant-menu-dark]': "theme === 'dark'", '[class.ant-menu-submenu-placement-bottom]': "mode === 'horizontal'", '[class.ant-menu-submenu-placement-right]': "mode === 'vertical' && position === 'right'", '[class.ant-menu-submenu-placement-left]': "mode === 'vertical' && position === 'left'", '[class.ant-menu-submenu-rtl]': 'dir ==="rtl"', '[@slideMotion]': 'expandState', '[@zoomBigMotion]': 'expandState', '(mouseenter)': 'setMouseState(true)', '(mouseleave)': 'setMouseState(false)' } }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }, { menuClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], theme: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], templateOutlet: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], isMenuInsideDropDown: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], mode: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], position: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzDisabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzOpen: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], subMenuMouseState: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Output"] }] }); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzMenuModule = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(function NzMenuModule() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, NzMenuModule); }); NzMenuModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineNgModule"]({ type: NzMenuModule }); NzMenuModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineInjector"]({ factory: function NzMenuModule_Factory(t) { return new (t || NzMenuModule)(); }, imports: [[_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["BidiModule"], _angular_common__WEBPACK_IMPORTED_MODULE_16__["CommonModule"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["PlatformModule"], _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__["OverlayModule"], ng_zorro_antd_icon__WEBPACK_IMPORTED_MODULE_18__["NzIconModule"], ng_zorro_antd_core_no_animation__WEBPACK_IMPORTED_MODULE_13__["NzNoAnimationModule"], ng_zorro_antd_core_outlet__WEBPACK_IMPORTED_MODULE_17__["NzOutletModule"]]] }); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵsetNgModuleScope"](NzMenuModule, { declarations: function declarations() { return [NzMenuDirective, NzMenuItemDirective, NzSubMenuComponent, NzMenuDividerDirective, NzMenuGroupComponent, NzSubMenuTitleComponent, NzSubmenuInlineChildComponent, NzSubmenuNoneInlineChildComponent]; }, imports: function imports() { return [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["BidiModule"], _angular_common__WEBPACK_IMPORTED_MODULE_16__["CommonModule"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["PlatformModule"], _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__["OverlayModule"], ng_zorro_antd_icon__WEBPACK_IMPORTED_MODULE_18__["NzIconModule"], ng_zorro_antd_core_no_animation__WEBPACK_IMPORTED_MODULE_13__["NzNoAnimationModule"], ng_zorro_antd_core_outlet__WEBPACK_IMPORTED_MODULE_17__["NzOutletModule"]]; }, exports: function exports() { return [NzMenuDirective, NzMenuItemDirective, NzSubMenuComponent, NzMenuDividerDirective, NzMenuGroupComponent]; } }); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzMenuModule, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["NgModule"], args: [{ imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__["BidiModule"], _angular_common__WEBPACK_IMPORTED_MODULE_16__["CommonModule"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["PlatformModule"], _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__["OverlayModule"], ng_zorro_antd_icon__WEBPACK_IMPORTED_MODULE_18__["NzIconModule"], ng_zorro_antd_core_no_animation__WEBPACK_IMPORTED_MODULE_13__["NzNoAnimationModule"], ng_zorro_antd_core_outlet__WEBPACK_IMPORTED_MODULE_17__["NzOutletModule"]], declarations: [NzMenuDirective, NzMenuItemDirective, NzSubMenuComponent, NzMenuDividerDirective, NzMenuGroupComponent, NzSubMenuTitleComponent, NzSubmenuInlineChildComponent, NzSubmenuNoneInlineChildComponent], exports: [NzMenuDirective, NzMenuItemDirective, NzSubMenuComponent, NzMenuDividerDirective, NzMenuGroupComponent] }] }], null, null); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ /** * Generated bundle index. Do not edit. */ /***/ }), /***/ "/Lp+": /*!**********************************************************************!*\ !*** ./node_modules/date-fns/esm/differenceInCalendarWeeks/index.js ***! \**********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return differenceInCalendarWeeks; }); /* harmony import */ var _startOfWeek_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../startOfWeek/index.js */ "aetl"); /* harmony import */ var _lib_getTimezoneOffsetInMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/getTimezoneOffsetInMilliseconds/index.js */ "JCDJ"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); var MILLISECONDS_IN_WEEK = 604800000; /** * @name differenceInCalendarWeeks * @category Week Helpers * @summary Get the number of calendar weeks between the given dates. * * @description * Get the number of calendar weeks between the given dates. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} dateLeft - the later date * @param {Date|Number} dateRight - the earlier date * @param {Object} [options] - an object with options. * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) * @returns {Number} the number of calendar weeks * @throws {TypeError} 2 arguments required * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 * * @example * // How many calendar weeks are between 5 July 2014 and 20 July 2014? * const result = differenceInCalendarWeeks( * new Date(2014, 6, 20), * new Date(2014, 6, 5) * ) * //=> 3 * * @example * // If the week starts on Monday, * // how many calendar weeks are between 5 July 2014 and 20 July 2014? * const result = differenceInCalendarWeeks( * new Date(2014, 6, 20), * new Date(2014, 6, 5), * { weekStartsOn: 1 } * ) * //=> 2 */ function differenceInCalendarWeeks(dirtyDateLeft, dirtyDateRight, dirtyOptions) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(2, arguments); var startOfWeekLeft = Object(_startOfWeek_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDateLeft, dirtyOptions); var startOfWeekRight = Object(_startOfWeek_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDateRight, dirtyOptions); var timestampLeft = startOfWeekLeft.getTime() - Object(_lib_getTimezoneOffsetInMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(startOfWeekLeft); var timestampRight = startOfWeekRight.getTime() - Object(_lib_getTimezoneOffsetInMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(startOfWeekRight); // Round the number of days to the nearest integer // because the number of milliseconds in a week is not constant // (e.g. it's different in the week of the daylight saving time clock shift) return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_WEEK); } /***/ }), /***/ "/Tr7": /*!***************************************************!*\ !*** ./node_modules/date-fns/esm/toDate/index.js ***! \***************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return toDate; }); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name toDate * @category Common Helpers * @summary Convert the given argument to an instance of Date. * * @description * Convert the given argument to an instance of Date. * * If the argument is an instance of Date, the function returns its clone. * * If the argument is a number, it is treated as a timestamp. * * If the argument is none of the above, the function returns Invalid Date. * * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`. * * @param {Date|Number} argument - the value to convert * @returns {Date} the parsed date in the local time zone * @throws {TypeError} 1 argument required * * @example * // Clone the date: * const result = toDate(new Date(2014, 1, 11, 11, 30, 30)) * //=> Tue Feb 11 2014 11:30:30 * * @example * // Convert the timestamp to date: * const result = toDate(1392098430000) * //=> Tue Feb 11 2014 11:30:30 */ function toDate(argument) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(1, arguments); var argStr = Object.prototype.toString.call(argument); // Clone the date if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') { // Prevent the date to lose the milliseconds when passed to new Date() in IE10 return new Date(argument.getTime()); } else if (typeof argument === 'number' || argStr === '[object Number]') { return new Date(argument); } else { if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') { // eslint-disable-next-line no-console console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"); // eslint-disable-next-line no-console console.warn(new Error().stack); } return new Date(NaN); } } /***/ }), /***/ "/d8p": /*!*****************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/repeat.js ***! \*****************************************************************/ /*! exports provided: repeat */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "repeat", function() { return repeat; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/get */ "ReuC"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf */ "foSv"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Subscriber */ "7o/Q"); /* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../observable/empty */ "EY2u"); function repeat() { var count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1; return function (source) { if (count === 0) { return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_7__["empty"])(); } else if (count < 0) { return source.lift(new RepeatOperator(-1, source)); } else { return source.lift(new RepeatOperator(count - 1, source)); } }; } var RepeatOperator = /*#__PURE__*/function () { function RepeatOperator(count, source) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__["default"])(this, RepeatOperator); this.count = count; this.source = source; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__["default"])(RepeatOperator, [{ key: "call", value: function call(subscriber, source) { return source.subscribe(new RepeatSubscriber(subscriber, this.count, this.source)); } }]); return RepeatOperator; }(); var RepeatSubscriber = /*#__PURE__*/function (_Subscriber) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__["default"])(RepeatSubscriber, _Subscriber); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__["default"])(RepeatSubscriber); function RepeatSubscriber(destination, count, source) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__["default"])(this, RepeatSubscriber); _this = _super.call(this, destination); _this.count = count; _this.source = source; return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__["default"])(RepeatSubscriber, [{ key: "complete", value: function complete() { if (!this.isStopped) { var source = this.source, count = this.count; if (count === 0) { return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_0__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_1__["default"])(RepeatSubscriber.prototype), "complete", this).call(this); } else if (count > -1) { this.count = count - 1; } source.subscribe(this._unsubscribeAndRecycle()); } } }]); return RepeatSubscriber; }(_Subscriber__WEBPACK_IMPORTED_MODULE_6__["Subscriber"]); /***/ }), /***/ "/h9T": /*!***********************************************************!*\ !*** ./node_modules/date-fns/esm/_lib/toInteger/index.js ***! \***********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return toInteger; }); function toInteger(dirtyNumber) { if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) { return NaN; } var number = Number(dirtyNumber); if (isNaN(number)) { return number; } return number < 0 ? Math.ceil(number) : Math.floor(number); } /***/ }), /***/ "/pik": /*!**********************************************************!*\ !*** ./node_modules/date-fns/esm/formatRFC3339/index.js ***! \**********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return formatRFC3339; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _isValid_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../isValid/index.js */ "Se/U"); /* harmony import */ var _lib_addLeadingZeros_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/addLeadingZeros/index.js */ "+7QN"); /* harmony import */ var _lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_lib/toInteger/index.js */ "/h9T"); /** * @name formatRFC3339 * @category Common Helpers * @summary Format the date according to the RFC 3339 standard (https://tools.ietf.org/html/rfc3339#section-5.6). * * @description * Return the formatted date string in RFC 3339 format. Options may be passed to control the parts and notations of the date. * * @param {Date|Number} date - the original date * @param {Object} [options] - an object with options. * @param {0|1|2|3} [options.fractionDigits=0] - number of digits after the decimal point after seconds * @returns {String} the formatted date string * @throws {TypeError} 1 argument required * @throws {RangeError} `date` must not be Invalid Date * @throws {RangeError} `options.fractionDigits` must be between 0 and 3 * * @example * // Represent 18 September 2019 in RFC 3339 format: * const result = formatRFC3339(new Date(2019, 8, 18, 19, 0, 52)) * //=> '2019-09-18T19:00:52Z' * * @example * // Represent 18 September 2019 in RFC 3339 format, 2 digits of second fraction: * const result = formatRFC3339(new Date(2019, 8, 18, 19, 0, 52, 234), { fractionDigits: 2 }) * //=> '2019-09-18T19:00:52.23Z' * * @example * // Represent 18 September 2019 in RFC 3339 format, 3 digits of second fraction * const result = formatRFC3339(new Date(2019, 8, 18, 19, 0, 52, 234), { fractionDigits: 3 }) * //=> '2019-09-18T19:00:52.234Z' */ function formatRFC3339(dirtyDate, dirtyOptions) { if (arguments.length < 1) { throw new TypeError("1 arguments required, but only ".concat(arguments.length, " present")); } var originalDate = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); if (!Object(_isValid_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(originalDate)) { throw new RangeError('Invalid time value'); } var _ref = dirtyOptions || {}, _ref$fractionDigits = _ref.fractionDigits, fractionDigits = _ref$fractionDigits === void 0 ? 0 : _ref$fractionDigits; // Test if fractionDigits is between 0 and 3 _and_ is not NaN if (!(fractionDigits >= 0 && fractionDigits <= 3)) { throw new RangeError('fractionDigits must be between 0 and 3 inclusively'); } var day = Object(_lib_addLeadingZeros_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(originalDate.getDate(), 2); var month = Object(_lib_addLeadingZeros_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(originalDate.getMonth() + 1, 2); var year = originalDate.getFullYear(); var hour = Object(_lib_addLeadingZeros_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(originalDate.getHours(), 2); var minute = Object(_lib_addLeadingZeros_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(originalDate.getMinutes(), 2); var second = Object(_lib_addLeadingZeros_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(originalDate.getSeconds(), 2); var fractionalSecond = ''; if (fractionDigits > 0) { var milliseconds = originalDate.getMilliseconds(); var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, fractionDigits - 3)); fractionalSecond = '.' + Object(_lib_addLeadingZeros_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(fractionalSeconds, fractionDigits); } var offset = ''; var tzOffset = originalDate.getTimezoneOffset(); if (tzOffset !== 0) { var absoluteOffset = Math.abs(tzOffset); var hourOffset = Object(_lib_addLeadingZeros_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(absoluteOffset / 60), 2); var minuteOffset = Object(_lib_addLeadingZeros_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(absoluteOffset % 60, 2); // If less than 0, the sign is +, because it is ahead of time. var sign = tzOffset < 0 ? '+' : '-'; offset = "".concat(sign).concat(hourOffset, ":").concat(minuteOffset); } else { offset = 'Z'; } return "".concat(year, "-").concat(month, "-").concat(day, "T").concat(hour, ":").concat(minute, ":").concat(second).concat(fractionalSecond).concat(offset); } /***/ }), /***/ "/pzQ": /*!*****************************************************!*\ !*** ./node_modules/date-fns/esm/isExists/index.js ***! \*****************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return isExists; }); /** * @name isExists * @category Common Helpers * @summary Is the given date exists? * * @description * Checks if the given arguments convert to an existing date. * * @param {Number} year of the date to check * @param {Number} month of the date to check * @param {Number} day of the date to check * @returns {Boolean} the date exists * @throws {TypeError} 3 arguments required * * @example * // For the valid date: * var result = isExists(2018, 0, 31) * //=> true * * @example * // For the invalid date: * var result = isExists(2018, 1, 31) * //=> false */ function isExists(year, month, day) { if (arguments.length < 3) { throw new TypeError('3 argument required, but only ' + arguments.length + ' present'); } var date = new Date(year, month, day); return date.getFullYear() === year && date.getMonth() === month && date.getDate() === day; } /***/ }), /***/ "/rh5": /*!**************************************************************!*\ !*** ./node_modules/date-fns/esm/eachDayOfInterval/index.js ***! \**************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return eachDayOfInterval; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name eachDayOfInterval * @category Interval Helpers * @summary Return the array of dates within the specified time interval. * * @description * Return the array of dates within the specified time interval. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * - The function was renamed from `eachDay` to `eachDayOfInterval`. * This change was made to mirror the use of the word "interval" in standard ISO 8601:2004 terminology: * * ``` * 2.1.3 * time interval * part of the time axis limited by two instants * ``` * * Also, this function now accepts an object with `start` and `end` properties * instead of two arguments as an interval. * This function now throws `RangeError` if the start of the interval is after its end * or if any date in the interval is `Invalid Date`. * * ```javascript * // Before v2.0.0 * * eachDay(new Date(2014, 0, 10), new Date(2014, 0, 20)) * * // v2.0.0 onward * * eachDayOfInterval( * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) } * ) * ``` * * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} * @param {Object} [options] - an object with options. * @param {Number} [options.step=1] - the step to increment by. The value should be more than 1. * @returns {Date[]} the array with starts of days from the day of the interval start to the day of the interval end * @throws {TypeError} 1 argument required * @throws {RangeError} `options.step` must be a number greater than 1 * @throws {RangeError} The start of an interval cannot be after its end * @throws {RangeError} Date in interval cannot be `Invalid Date` * * @example * // Each day between 6 October 2014 and 10 October 2014: * const result = eachDayOfInterval({ * start: new Date(2014, 9, 6), * end: new Date(2014, 9, 10) * }) * //=> [ * // Mon Oct 06 2014 00:00:00, * // Tue Oct 07 2014 00:00:00, * // Wed Oct 08 2014 00:00:00, * // Thu Oct 09 2014 00:00:00, * // Fri Oct 10 2014 00:00:00 * // ] */ function eachDayOfInterval(dirtyInterval, options) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); var interval = dirtyInterval || {}; var startDate = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(interval.start); var endDate = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(interval.end); var endTime = endDate.getTime(); // Throw an exception if start date is after end date or if any date is `Invalid Date` if (!(startDate.getTime() <= endTime)) { throw new RangeError('Invalid interval'); } var dates = []; var currentDate = startDate; currentDate.setHours(0, 0, 0, 0); var step = options && 'step' in options ? Number(options.step) : 1; if (step < 1 || isNaN(step)) throw new RangeError('`options.step` must be a number greater than 1'); while (currentDate.getTime() <= endTime) { dates.push(Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(currentDate)); currentDate.setDate(currentDate.getDate() + step); currentDate.setHours(0, 0, 0, 0); } return dates; } /***/ }), /***/ "/uUt": /*!*******************************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js ***! \*******************************************************************************/ /*! exports provided: distinctUntilChanged */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "distinctUntilChanged", function() { return distinctUntilChanged; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Subscriber */ "7o/Q"); function distinctUntilChanged(compare, keySelector) { return function (source) { return source.lift(new DistinctUntilChangedOperator(compare, keySelector)); }; } var DistinctUntilChangedOperator = /*#__PURE__*/function () { function DistinctUntilChangedOperator(compare, keySelector) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, DistinctUntilChangedOperator); this.compare = compare; this.keySelector = keySelector; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(DistinctUntilChangedOperator, [{ key: "call", value: function call(subscriber, source) { return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector)); } }]); return DistinctUntilChangedOperator; }(); var DistinctUntilChangedSubscriber = /*#__PURE__*/function (_Subscriber) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__["default"])(DistinctUntilChangedSubscriber, _Subscriber); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__["default"])(DistinctUntilChangedSubscriber); function DistinctUntilChangedSubscriber(destination, compare, keySelector) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, DistinctUntilChangedSubscriber); _this = _super.call(this, destination); _this.keySelector = keySelector; _this.hasKey = false; if (typeof compare === 'function') { _this.compare = compare; } return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(DistinctUntilChangedSubscriber, [{ key: "compare", value: function compare(x, y) { return x === y; } }, { key: "_next", value: function _next(value) { var key; try { var keySelector = this.keySelector; key = keySelector ? keySelector(value) : value; } catch (err) { return this.destination.error(err); } var result = false; if (this.hasKey) { try { var compare = this.compare; result = compare(this.key, key); } catch (err) { return this.destination.error(err); } } else { this.hasKey = true; } if (!result) { this.key = key; this.destination.next(value); } } }]); return DistinctUntilChangedSubscriber; }(_Subscriber__WEBPACK_IMPORTED_MODULE_4__["Subscriber"]); /***/ }), /***/ "0/gg": /*!*********************************************************!*\ !*** ./node_modules/date-fns/esm/startOfToday/index.js ***! \*********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return startOfToday; }); /* harmony import */ var _startOfDay_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../startOfDay/index.js */ "M34a"); /** * @name startOfToday * @category Day Helpers * @summary Return the start of today. * @pure false * * @description * Return the start of today. * * > ⚠️ Please note that this function is not present in the FP submodule as * > it uses `Date.now()` internally hence impure and can't be safely curried. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @returns {Date} the start of today * * @example * // If today is 6 October 2014: * var result = startOfToday() * //=> Mon Oct 6 2014 00:00:00 */ function startOfToday() { return Object(_startOfDay_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Date.now()); } /***/ }), /***/ "02Lk": /*!*******************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/distinct.js ***! \*******************************************************************/ /*! exports provided: distinct, DistinctSubscriber */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "distinct", function() { return distinct; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DistinctSubscriber", function() { return DistinctSubscriber; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized */ "JX7q"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../innerSubscribe */ "zx2A"); function distinct(keySelector, flushes) { return function (source) { return source.lift(new DistinctOperator(keySelector, flushes)); }; } var DistinctOperator = /*#__PURE__*/function () { function DistinctOperator(keySelector, flushes) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__["default"])(this, DistinctOperator); this.keySelector = keySelector; this.flushes = flushes; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__["default"])(DistinctOperator, [{ key: "call", value: function call(subscriber, source) { return source.subscribe(new DistinctSubscriber(subscriber, this.keySelector, this.flushes)); } }]); return DistinctOperator; }(); var DistinctSubscriber = /*#__PURE__*/function (_SimpleOuterSubscribe) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_1__["default"])(DistinctSubscriber, _SimpleOuterSubscribe); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_2__["default"])(DistinctSubscriber); function DistinctSubscriber(destination, keySelector, flushes) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__["default"])(this, DistinctSubscriber); _this = _super.call(this, destination); _this.keySelector = keySelector; _this.values = new Set(); if (flushes) { _this.add(Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_5__["innerSubscribe"])(flushes, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_5__["SimpleInnerSubscriber"](Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__["default"])(_this)))); } return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__["default"])(DistinctSubscriber, [{ key: "notifyNext", value: function notifyNext() { this.values.clear(); } }, { key: "notifyError", value: function notifyError(error) { this._error(error); } }, { key: "_next", value: function _next(value) { if (this.keySelector) { this._useKeySelector(value); } else { this._finalizeNext(value, value); } } }, { key: "_useKeySelector", value: function _useKeySelector(value) { var key; var destination = this.destination; try { key = this.keySelector(value); } catch (err) { destination.error(err); return; } this._finalizeNext(key, value); } }, { key: "_finalizeNext", value: function _finalizeNext(key, value) { var values = this.values; if (!values.has(key)) { values.add(key); this.destination.next(value); } } }]); return DistinctSubscriber; }(_innerSubscribe__WEBPACK_IMPORTED_MODULE_5__["SimpleOuterSubscriber"]); /***/ }), /***/ "04ZW": /*!****************************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js ***! \****************************************************************************/ /*! exports provided: fromEventPattern */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fromEventPattern", function() { return fromEventPattern; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/toConsumableArray */ "KQm4"); /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Observable */ "HDdC"); /* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArray */ "DH7j"); /* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isFunction */ "n6bG"); /* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../operators/map */ "lJxs"); function fromEventPattern(addHandler, removeHandler, resultSelector) { if (resultSelector) { return fromEventPattern(addHandler, removeHandler).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_4__["map"])(function (args) { return Object(_util_isArray__WEBPACK_IMPORTED_MODULE_2__["isArray"])(args) ? resultSelector.apply(void 0, Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(args)) : resultSelector(args); })); } return new _Observable__WEBPACK_IMPORTED_MODULE_1__["Observable"](function (subscriber) { var handler = function handler() { for (var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++) { e[_key] = arguments[_key]; } return subscriber.next(e.length === 1 ? e[0] : e); }; var retValue; try { retValue = addHandler(handler); } catch (err) { subscriber.error(err); return undefined; } if (!Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_3__["isFunction"])(removeHandler)) { return undefined; } return function () { return removeHandler(handler, retValue); }; }); } /***/ }), /***/ "05l1": /*!************************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/publishReplay.js ***! \************************************************************************/ /*! exports provided: publishReplay */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "publishReplay", function() { return publishReplay; }); /* harmony import */ var _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ReplaySubject */ "jtHE"); /* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./multicast */ "oB13"); function publishReplay(bufferSize, windowTime, selectorOrScheduler, scheduler) { if (selectorOrScheduler && typeof selectorOrScheduler !== 'function') { scheduler = selectorOrScheduler; } var selector = typeof selectorOrScheduler === 'function' ? selectorOrScheduler : undefined; var subject = new _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__["ReplaySubject"](bufferSize, windowTime, scheduler); return function (source) { return Object(_multicast__WEBPACK_IMPORTED_MODULE_1__["multicast"])(function () { return subject; }, selector)(source); }; } /***/ }), /***/ "08aW": /*!*****************************************************!*\ !*** ./node_modules/date-fns/esm/getHours/index.js ***! \*****************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return getHours; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name getHours * @category Hour Helpers * @summary Get the hours of the given date. * * @description * Get the hours of the given date. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the given date * @returns {Number} the hours * @throws {TypeError} 1 argument required * * @example * // Get the hours of 29 February 2012 11:45:00: * const result = getHours(new Date(2012, 1, 29, 11, 45)) * //=> 11 */ function getHours(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); var hours = date.getHours(); return hours; } /***/ }), /***/ "0EUg": /*!********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/concatAll.js ***! \********************************************************************/ /*! exports provided: concatAll */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "concatAll", function() { return concatAll; }); /* harmony import */ var _mergeAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeAll */ "bHdf"); function concatAll() { return Object(_mergeAll__WEBPACK_IMPORTED_MODULE_0__["mergeAll"])(1); } /***/ }), /***/ "0HXF": /*!*****************************************************************************!*\ !*** ./node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js ***! \*****************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var formatRelativeLocale = { lastWeek: "'last' eeee 'at' p", yesterday: "'yesterday at' p", today: "'today at' p", tomorrow: "'tomorrow at' p", nextWeek: "eeee 'at' p", other: 'P' }; var formatRelative = function formatRelative(token, _date, _baseDate, _options) { return formatRelativeLocale[token]; }; /* harmony default export */ __webpack_exports__["default"] = (formatRelative); /***/ }), /***/ "0LOL": /*!**********************************************************!*\ !*** ./node_modules/date-fns/esm/startOfMinute/index.js ***! \**********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return startOfMinute; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name startOfMinute * @category Minute Helpers * @summary Return the start of a minute for the given date. * * @description * Return the start of a minute for the given date. * The result will be in the local timezone. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the original date * @returns {Date} the start of a minute * @throws {TypeError} 1 argument required * * @example * // The start of a minute for 1 December 2014 22:15:45.400: * const result = startOfMinute(new Date(2014, 11, 1, 22, 15, 45, 400)) * //=> Mon Dec 01 2014 22:15:00 */ function startOfMinute(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); date.setSeconds(0, 0); return date; } /***/ }), /***/ "0Pi8": /*!******************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/endWith.js ***! \******************************************************************/ /*! exports provided: endWith */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "endWith", function() { return endWith; }); /* harmony import */ var _observable_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/concat */ "GyhO"); /* harmony import */ var _observable_of__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/of */ "LRne"); function endWith() { for (var _len = arguments.length, array = new Array(_len), _key = 0; _key < _len; _key++) { array[_key] = arguments[_key]; } return function (source) { return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_0__["concat"])(source, _observable_of__WEBPACK_IMPORTED_MODULE_1__["of"].apply(void 0, array)); }; } /***/ }), /***/ "0UaF": /*!*****************************************************************!*\ !*** ./node_modules/date-fns/esm/formatDistanceStrict/index.js ***! \*****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return formatDistanceStrict; }); /* harmony import */ var _lib_getTimezoneOffsetInMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/getTimezoneOffsetInMilliseconds/index.js */ "JCDJ"); /* harmony import */ var _compareAsc_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../compareAsc/index.js */ "JhOC"); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_cloneObject_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_lib/cloneObject/index.js */ "emD/"); /* harmony import */ var _locale_en_US_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../locale/en-US/index.js */ "iSMj"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); var MILLISECONDS_IN_MINUTE = 1000 * 60; var MINUTES_IN_DAY = 60 * 24; var MINUTES_IN_MONTH = MINUTES_IN_DAY * 30; var MINUTES_IN_YEAR = MINUTES_IN_DAY * 365; /** * @name formatDistanceStrict * @category Common Helpers * @summary Return the distance between the given dates in words. * * @description * Return the distance between the given dates in words, using strict units. * This is like `formatDistance`, but does not use helpers like 'almost', 'over', * 'less than' and the like. * * | Distance between dates | Result | * |------------------------|---------------------| * | 0 ... 59 secs | [0..59] seconds | * | 1 ... 59 mins | [1..59] minutes | * | 1 ... 23 hrs | [1..23] hours | * | 1 ... 29 days | [1..29] days | * | 1 ... 11 months | [1..11] months | * | 1 ... N years | [1..N] years | * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * - The function was renamed from `distanceInWordsStrict` to `formatDistanceStrict` * to make its name consistent with `format` and `formatRelative`. * * - The order of arguments is swapped to make the function * consistent with `differenceIn...` functions. * * ```javascript * // Before v2.0.0 * * distanceInWordsStrict( * new Date(2015, 0, 2), * new Date(2014, 6, 2) * ) //=> '6 months' * * // v2.0.0 onward * * formatDistanceStrict( * new Date(2014, 6, 2), * new Date(2015, 0, 2) * ) //=> '6 months' * ``` * * - `partialMethod` option is renamed to `roundingMethod`. * * ```javascript * // Before v2.0.0 * * distanceInWordsStrict( * new Date(1986, 3, 4, 10, 32, 0), * new Date(1986, 3, 4, 10, 33, 1), * { partialMethod: 'ceil' } * ) //=> '2 minutes' * * // v2.0.0 onward * * formatDistanceStrict( * new Date(1986, 3, 4, 10, 33, 1), * new Date(1986, 3, 4, 10, 32, 0), * { roundingMethod: 'ceil' } * ) //=> '2 minutes' * ``` * * - If `roundingMethod` is not specified, it now defaults to `round` instead of `floor`. * * - `unit` option now accepts one of the strings: * 'second', 'minute', 'hour', 'day', 'month' or 'year' instead of 's', 'm', 'h', 'd', 'M' or 'Y' * * ```javascript * // Before v2.0.0 * * distanceInWordsStrict( * new Date(1986, 3, 4, 10, 32, 0), * new Date(1986, 3, 4, 10, 33, 1), * { unit: 'm' } * ) * * // v2.0.0 onward * * formatDistanceStrict( * new Date(1986, 3, 4, 10, 33, 1), * new Date(1986, 3, 4, 10, 32, 0), * { unit: 'minute' } * ) * ``` * * @param {Date|Number} date - the date * @param {Date|Number} baseDate - the date to compare with * @param {Object} [options] - an object with options. * @param {Boolean} [options.addSuffix=false] - result indicates if the second date is earlier or later than the first * @param {'second'|'minute'|'hour'|'day'|'month'|'year'} [options.unit] - if specified, will force a unit * @param {'floor'|'ceil'|'round'} [options.roundingMethod='round'] - which way to round partial units * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} * @returns {String} the distance in words * @throws {TypeError} 2 arguments required * @throws {RangeError} `date` must not be Invalid Date * @throws {RangeError} `baseDate` must not be Invalid Date * @throws {RangeError} `options.roundingMethod` must be 'floor', 'ceil' or 'round' * @throws {RangeError} `options.unit` must be 'second', 'minute', 'hour', 'day', 'month' or 'year' * @throws {RangeError} `options.locale` must contain `formatDistance` property * * @example * // What is the distance between 2 July 2014 and 1 January 2015? * const result = formatDistanceStrict(new Date(2014, 6, 2), new Date(2015, 0, 2)) * //=> '6 months' * * @example * // What is the distance between 1 January 2015 00:00:15 * // and 1 January 2015 00:00:00? * const result = formatDistanceStrict( * new Date(2015, 0, 1, 0, 0, 15), * new Date(2015, 0, 1, 0, 0, 0) * ) * //=> '15 seconds' * * @example * // What is the distance from 1 January 2016 * // to 1 January 2015, with a suffix? * const result = formatDistanceStrict(new Date(2015, 0, 1), new Date(2016, 0, 1), { * addSuffix: true * }) * //=> '1 year ago' * * @example * // What is the distance from 1 January 2016 * // to 1 January 2015, in minutes? * const result = formatDistanceStrict(new Date(2016, 0, 1), new Date(2015, 0, 1), { * unit: 'minute' * }) * //=> '525600 minutes' * * @example * // What is the distance from 1 January 2015 * // to 28 January 2015, in months, rounded up? * const result = formatDistanceStrict(new Date(2015, 0, 28), new Date(2015, 0, 1), { * unit: 'month', * roundingMethod: 'ceil' * }) * //=> '1 month' * * @example * // What is the distance between 1 August 2016 and 1 January 2015 in Esperanto? * import { eoLocale } from 'date-fns/locale/eo' * const result = formatDistanceStrict(new Date(2016, 7, 1), new Date(2015, 0, 1), { * locale: eoLocale * }) * //=> '1 jaro' */ function formatDistanceStrict(dirtyDate, dirtyBaseDate) { var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])(2, arguments); var locale = options.locale || _locale_en_US_index_js__WEBPACK_IMPORTED_MODULE_4__["default"]; if (!locale.formatDistance) { throw new RangeError('locale must contain localize.formatDistance property'); } var comparison = Object(_compareAsc_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(dirtyDate, dirtyBaseDate); if (isNaN(comparison)) { throw new RangeError('Invalid time value'); } var localizeOptions = Object(_lib_cloneObject_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(options); localizeOptions.addSuffix = Boolean(options.addSuffix); localizeOptions.comparison = comparison; var dateLeft; var dateRight; if (comparison > 0) { dateLeft = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(dirtyBaseDate); dateRight = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(dirtyDate); } else { dateLeft = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(dirtyDate); dateRight = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(dirtyBaseDate); } var roundingMethod = options.roundingMethod == null ? 'round' : String(options.roundingMethod); var roundingMethodFn; if (roundingMethod === 'floor') { roundingMethodFn = Math.floor; } else if (roundingMethod === 'ceil') { roundingMethodFn = Math.ceil; } else if (roundingMethod === 'round') { roundingMethodFn = Math.round; } else { throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'"); } var milliseconds = dateRight.getTime() - dateLeft.getTime(); var minutes = milliseconds / MILLISECONDS_IN_MINUTE; var timezoneOffset = Object(_lib_getTimezoneOffsetInMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dateRight) - Object(_lib_getTimezoneOffsetInMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dateLeft); // Use DST-normalized difference in minutes for years, months and days; // use regular difference in minutes for hours, minutes and seconds. var dstNormalizedMinutes = (milliseconds - timezoneOffset) / MILLISECONDS_IN_MINUTE; var unit; if (options.unit == null) { if (minutes < 1) { unit = 'second'; } else if (minutes < 60) { unit = 'minute'; } else if (minutes < MINUTES_IN_DAY) { unit = 'hour'; } else if (dstNormalizedMinutes < MINUTES_IN_MONTH) { unit = 'day'; } else if (dstNormalizedMinutes < MINUTES_IN_YEAR) { unit = 'month'; } else { unit = 'year'; } } else { unit = String(options.unit); } // 0 up to 60 seconds if (unit === 'second') { var seconds = roundingMethodFn(milliseconds / 1000); return locale.formatDistance('xSeconds', seconds, localizeOptions); // 1 up to 60 mins } else if (unit === 'minute') { var roundedMinutes = roundingMethodFn(minutes); return locale.formatDistance('xMinutes', roundedMinutes, localizeOptions); // 1 up to 24 hours } else if (unit === 'hour') { var hours = roundingMethodFn(minutes / 60); return locale.formatDistance('xHours', hours, localizeOptions); // 1 up to 30 days } else if (unit === 'day') { var days = roundingMethodFn(dstNormalizedMinutes / MINUTES_IN_DAY); return locale.formatDistance('xDays', days, localizeOptions); // 1 up to 12 months } else if (unit === 'month') { var months = roundingMethodFn(dstNormalizedMinutes / MINUTES_IN_MONTH); return months === 12 && options.unit !== 'month' ? locale.formatDistance('xYears', 1, localizeOptions) : locale.formatDistance('xMonths', months, localizeOptions); // 1 year up to max Date } else if (unit === 'year') { var years = roundingMethodFn(dstNormalizedMinutes / MINUTES_IN_YEAR); return locale.formatDistance('xYears', years, localizeOptions); } throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'"); } /***/ }), /***/ "0Ug1": /*!**************************************************************!*\ !*** ./node_modules/date-fns/esm/differenceInWeeks/index.js ***! \**************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return differenceInWeeks; }); /* harmony import */ var _differenceInDays_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../differenceInDays/index.js */ "NoME"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /* harmony import */ var _lib_roundingMethods_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/roundingMethods/index.js */ "yayv"); /** * @name differenceInWeeks * @category Week Helpers * @summary Get the number of full weeks between the given dates. * * @description * Get the number of full weeks between two dates. Fractional weeks are * truncated towards zero by default. * * One "full week" is the distance between a local time in one day to the same * local time 7 days earlier or later. A full week can sometimes be less than * or more than 7*24 hours if a daylight savings change happens between two dates. * * To ignore DST and only measure exact 7*24-hour periods, use this instead: * `Math.floor(differenceInHours(dateLeft, dateRight)/(7*24))|0`. * * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} dateLeft - the later date * @param {Date|Number} dateRight - the earlier date * @param {Object} [options] - an object with options. * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) * @returns {Number} the number of full weeks * @throws {TypeError} 2 arguments required * * @example * // How many full weeks are between 5 July 2014 and 20 July 2014? * const result = differenceInWeeks(new Date(2014, 6, 20), new Date(2014, 6, 5)) * //=> 2 * * // How many full weeks are between * // 1 March 2020 0:00 and 6 June 2020 0:00 ? * // Note: because local time is used, the * // result will always be 8 weeks (54 days), * // even if DST starts and the period has * // only 54*24-1 hours. * const result = differenceInWeeks( * new Date(2020, 5, 1), * new Date(2020, 2, 6) * ) * //=> 8 */ function differenceInWeeks(dateLeft, dateRight, options) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(2, arguments); var diff = Object(_differenceInDays_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dateLeft, dateRight) / 7; return Object(_lib_roundingMethods_index_js__WEBPACK_IMPORTED_MODULE_2__["getRoundingMethod"])(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff); } /***/ }), /***/ "0YeR": /*!**************************************************************************!*\ !*** ./node_modules/ng-zorro-antd/fesm2015/ng-zorro-antd-core-config.js ***! \**************************************************************************/ /*! exports provided: NZ_CONFIG, NzConfigService, WithConfig, ɵ0 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NZ_CONFIG", function() { return NZ_CONFIG; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzConfigService", function() { return NzConfigService; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WithConfig", function() { return WithConfig; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵ0", function() { return ɵ0; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "8Y7J"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "qCKp"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "kU1M"); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ /** * User should provide an object implements this interface to set global configurations. */ var NZ_CONFIG = new _angular_core__WEBPACK_IMPORTED_MODULE_2__["InjectionToken"]('nz-config'); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var isDefined = function isDefined(value) { return value !== undefined; }; var ɵ0 = isDefined; var NzConfigService = /*#__PURE__*/function () { function NzConfigService(defaultConfig) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, NzConfigService); this.configUpdated$ = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"](); this.config = defaultConfig || {}; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(NzConfigService, [{ key: "getConfigForComponent", value: function getConfigForComponent(componentName) { return this.config[componentName]; } }, { key: "getConfigChangeEventForComponent", value: function getConfigChangeEventForComponent(componentName) { return this.configUpdated$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["filter"])(function (n) { return n === componentName; }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["mapTo"])(undefined)); } }, { key: "set", value: function set(componentName, value) { this.config[componentName] = Object.assign(Object.assign({}, this.config[componentName]), value); this.configUpdated$.next(componentName); } }]); return NzConfigService; }(); NzConfigService.ɵfac = function NzConfigService_Factory(t) { return new (t || NzConfigService)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](NZ_CONFIG, 8)); }; NzConfigService.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"])({ factory: function NzConfigService_Factory() { return new NzConfigService(Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"])(NZ_CONFIG, 8)); }, token: NzConfigService, providedIn: "root" }); NzConfigService.ctorParameters = function () { return [{ type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_2__["Optional"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_2__["Inject"], args: [NZ_CONFIG] }] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](NzConfigService, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_2__["Injectable"], args: [{ providedIn: 'root' }] }], function () { return [{ type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_2__["Optional"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_2__["Inject"], args: [NZ_CONFIG] }] }]; }, null); })(); // tslint:disable:no-invalid-this /** * This decorator is used to decorate properties. If a property is decorated, it would try to load default value from * config. */ // tslint:disable-next-line:typedef function WithConfig() { return function ConfigDecorator(target, propName, originalDescriptor) { var privatePropName = "$$__assignedValue__".concat(propName); Object.defineProperty(target, privatePropName, { configurable: true, writable: true, enumerable: false }); return { get: function get() { var originalValue = (originalDescriptor === null || originalDescriptor === void 0 ? void 0 : originalDescriptor.get) ? originalDescriptor.get.bind(this)() : this[privatePropName]; var assignedByUser = ((this.assignmentCount || {})[propName] || 0) > 1; if (assignedByUser && isDefined(originalValue)) { return originalValue; } var componentConfig = this.nzConfigService.getConfigForComponent(this._nzModuleName) || {}; var configValue = componentConfig[propName]; var ret = isDefined(configValue) ? configValue : originalValue; return ret; }, set: function set(value) { // If the value is assigned, we consider the newly assigned value as 'assigned by user'. this.assignmentCount = this.assignmentCount || {}; this.assignmentCount[propName] = (this.assignmentCount[propName] || 0) + 1; if (originalDescriptor === null || originalDescriptor === void 0 ? void 0 : originalDescriptor.set) { originalDescriptor.set.bind(this)(value); } else { this[privatePropName] = value; } }, configurable: true, enumerable: true }; }; } /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ /** * Generated bundle index. Do not edit. */ /***/ }), /***/ "0e33": /*!****************************************************************!*\ !*** ./node_modules/date-fns/esm/hoursToMilliseconds/index.js ***! \****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return hoursToMilliseconds; }); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /* harmony import */ var _constants_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants/index.js */ "w3qX"); /** * @name hoursToMilliseconds * @category Conversion Helpers * @summary Convert hours to milliseconds. * * @description * Convert a number of hours to a full number of milliseconds. * * @param {number} hours - number of hours to be converted * * @returns {number} the number of hours converted to milliseconds * @throws {TypeError} 1 argument required * * @example * // Convert 2 hours to milliseconds: * const result = hoursToMilliseconds(2) * //=> 7200000 */ function hoursToMilliseconds(hours) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(1, arguments); return Math.floor(hours * _constants_index_js__WEBPACK_IMPORTED_MODULE_1__["millisecondsInHour"]); } /***/ }), /***/ "0f5V": /*!***************************************************************!*\ !*** ./node_modules/date-fns/esm/startOfISOWeekYear/index.js ***! \***************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return startOfISOWeekYear; }); /* harmony import */ var _getISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../getISOWeekYear/index.js */ "BKKT"); /* harmony import */ var _startOfISOWeek_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../startOfISOWeek/index.js */ "1dmy"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name startOfISOWeekYear * @category ISO Week-Numbering Year Helpers * @summary Return the start of an ISO week-numbering year for the given date. * * @description * Return the start of an ISO week-numbering year, * which always starts 3 days before the year's first Thursday. * The result will be in the local timezone. * * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the original date * @returns {Date} the start of an ISO week-numbering year * @throws {TypeError} 1 argument required * * @example * // The start of an ISO week-numbering year for 2 July 2005: * const result = startOfISOWeekYear(new Date(2005, 6, 2)) * //=> Mon Jan 03 2005 00:00:00 */ function startOfISOWeekYear(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(1, arguments); var year = Object(_getISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); var fourthOfJanuary = new Date(0); fourthOfJanuary.setFullYear(year, 0, 4); fourthOfJanuary.setHours(0, 0, 0, 0); var date = Object(_startOfISOWeek_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(fourthOfJanuary); return date; } /***/ }), /***/ "128B": /*!*****************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/reduce.js ***! \*****************************************************************/ /*! exports provided: reduce */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "reduce", function() { return reduce; }); /* harmony import */ var _scan__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scan */ "Kqap"); /* harmony import */ var _takeLast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./takeLast */ "BFxc"); /* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultIfEmpty */ "xbPD"); /* harmony import */ var _util_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/pipe */ "mCNh"); function reduce(accumulator, seed) { if (arguments.length >= 2) { return function reduceOperatorFunctionWithSeed(source) { return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__["pipe"])(Object(_scan__WEBPACK_IMPORTED_MODULE_0__["scan"])(accumulator, seed), Object(_takeLast__WEBPACK_IMPORTED_MODULE_1__["takeLast"])(1), Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_2__["defaultIfEmpty"])(seed))(source); }; } return function reduceOperatorFunction(source) { return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__["pipe"])(Object(_scan__WEBPACK_IMPORTED_MODULE_0__["scan"])(function (acc, value, index) { return accumulator(acc, value, index + 1); }), Object(_takeLast__WEBPACK_IMPORTED_MODULE_1__["takeLast"])(1))(source); }; } /***/ }), /***/ "1G5W": /*!********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/takeUntil.js ***! \********************************************************************/ /*! exports provided: takeUntil */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "takeUntil", function() { return takeUntil; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../innerSubscribe */ "zx2A"); function takeUntil(notifier) { return function (source) { return source.lift(new TakeUntilOperator(notifier)); }; } var TakeUntilOperator = /*#__PURE__*/function () { function TakeUntilOperator(notifier) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, TakeUntilOperator); this.notifier = notifier; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(TakeUntilOperator, [{ key: "call", value: function call(subscriber, source) { var takeUntilSubscriber = new TakeUntilSubscriber(subscriber); var notifierSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_4__["innerSubscribe"])(this.notifier, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_4__["SimpleInnerSubscriber"](takeUntilSubscriber)); if (notifierSubscription && !takeUntilSubscriber.seenValue) { takeUntilSubscriber.add(notifierSubscription); return source.subscribe(takeUntilSubscriber); } return takeUntilSubscriber; } }]); return TakeUntilOperator; }(); var TakeUntilSubscriber = /*#__PURE__*/function (_SimpleOuterSubscribe) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__["default"])(TakeUntilSubscriber, _SimpleOuterSubscribe); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__["default"])(TakeUntilSubscriber); function TakeUntilSubscriber(destination) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, TakeUntilSubscriber); _this = _super.call(this, destination); _this.seenValue = false; return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(TakeUntilSubscriber, [{ key: "notifyNext", value: function notifyNext() { this.seenValue = true; this.complete(); } }, { key: "notifyComplete", value: function notifyComplete() {} }]); return TakeUntilSubscriber; }(_innerSubscribe__WEBPACK_IMPORTED_MODULE_4__["SimpleOuterSubscriber"]); /***/ }), /***/ "1O3W": /*!*******************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2015/overlay.js ***! \*******************************************************/ /*! exports provided: CdkScrollable, ScrollDispatcher, ViewportRuler, BlockScrollStrategy, CdkConnectedOverlay, CdkOverlayOrigin, CloseScrollStrategy, ConnectedOverlayPositionChange, ConnectedPositionStrategy, ConnectionPositionPair, FlexibleConnectedPositionStrategy, FullscreenOverlayContainer, GlobalPositionStrategy, NoopScrollStrategy, Overlay, OverlayConfig, OverlayContainer, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayPositionBuilder, OverlayRef, RepositionScrollStrategy, ScrollStrategyOptions, ScrollingVisibility, validateHorizontalPosition, validateVerticalPosition, ɵangular_material_src_cdk_overlay_overlay_a, ɵangular_material_src_cdk_overlay_overlay_b, ɵangular_material_src_cdk_overlay_overlay_c, ɵangular_material_src_cdk_overlay_overlay_d */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BlockScrollStrategy", function() { return BlockScrollStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CdkConnectedOverlay", function() { return CdkConnectedOverlay; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CdkOverlayOrigin", function() { return CdkOverlayOrigin; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CloseScrollStrategy", function() { return CloseScrollStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConnectedOverlayPositionChange", function() { return ConnectedOverlayPositionChange; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConnectedPositionStrategy", function() { return ConnectedPositionStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConnectionPositionPair", function() { return ConnectionPositionPair; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FlexibleConnectedPositionStrategy", function() { return FlexibleConnectedPositionStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FullscreenOverlayContainer", function() { return FullscreenOverlayContainer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GlobalPositionStrategy", function() { return GlobalPositionStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NoopScrollStrategy", function() { return NoopScrollStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Overlay", function() { return Overlay; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OverlayConfig", function() { return OverlayConfig; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OverlayContainer", function() { return OverlayContainer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OverlayKeyboardDispatcher", function() { return OverlayKeyboardDispatcher; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OverlayModule", function() { return OverlayModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OverlayOutsideClickDispatcher", function() { return OverlayOutsideClickDispatcher; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OverlayPositionBuilder", function() { return OverlayPositionBuilder; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OverlayRef", function() { return OverlayRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RepositionScrollStrategy", function() { return RepositionScrollStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScrollStrategyOptions", function() { return ScrollStrategyOptions; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScrollingVisibility", function() { return ScrollingVisibility; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "validateHorizontalPosition", function() { return validateHorizontalPosition; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "validateVerticalPosition", function() { return validateVerticalPosition; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_material_src_cdk_overlay_overlay_a", function() { return CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_material_src_cdk_overlay_overlay_b", function() { return CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_material_src_cdk_overlay_overlay_c", function() { return CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_material_src_cdk_overlay_overlay_d", function() { return BaseOverlayDispatcher; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray */ "ODXe"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper */ "uFwe"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/get */ "ReuC"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf */ "foSv"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/cdk/scrolling */ "7KAL"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ "8Y7J"); /* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/cdk/platform */ "SCoL"); /* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/cdk/bidi */ "9gLZ"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/common */ "SVse"); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CdkScrollable", function() { return _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["CdkScrollable"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ScrollDispatcher", function() { return _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ScrollDispatcher"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ViewportRuler", function() { return _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ViewportRuler"]; }); /* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/cdk/coercion */ "8LU1"); /* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/cdk/portal */ "1z/I"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! rxjs */ "qCKp"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! rxjs/operators */ "kU1M"); /* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/cdk/keycodes */ "Ht+U"); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var scrollBehaviorSupported = Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["supportsScrollBehavior"])(); /** * Strategy that will prevent the user from scrolling while the overlay is visible. */ var BlockScrollStrategy = /*#__PURE__*/function () { function BlockScrollStrategy(_viewportRuler, document) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, BlockScrollStrategy); this._viewportRuler = _viewportRuler; this._previousHTMLStyles = { top: '', left: '' }; this._isEnabled = false; this._document = document; } /** Attaches this scroll strategy to an overlay. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(BlockScrollStrategy, [{ key: "attach", value: function attach() {} /** Blocks page-level scroll while the attached overlay is open. */ }, { key: "enable", value: function enable() { if (this._canBeEnabled()) { var root = this._document.documentElement; this._previousScrollPosition = this._viewportRuler.getViewportScrollPosition(); // Cache the previous inline styles in case the user had set them. this._previousHTMLStyles.left = root.style.left || ''; this._previousHTMLStyles.top = root.style.top || ''; // Note: we're using the `html` node, instead of the `body`, because the `body` may // have the user agent margin, whereas the `html` is guaranteed not to have one. root.style.left = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(-this._previousScrollPosition.left); root.style.top = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(-this._previousScrollPosition.top); root.classList.add('cdk-global-scrollblock'); this._isEnabled = true; } } /** Unblocks page-level scroll while the attached overlay is open. */ }, { key: "disable", value: function disable() { if (this._isEnabled) { var html = this._document.documentElement; var body = this._document.body; var htmlStyle = html.style; var bodyStyle = body.style; var previousHtmlScrollBehavior = htmlStyle.scrollBehavior || ''; var previousBodyScrollBehavior = bodyStyle.scrollBehavior || ''; this._isEnabled = false; htmlStyle.left = this._previousHTMLStyles.left; htmlStyle.top = this._previousHTMLStyles.top; html.classList.remove('cdk-global-scrollblock'); // Disable user-defined smooth scrolling temporarily while we restore the scroll position. // See https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior // Note that we don't mutate the property if the browser doesn't support `scroll-behavior`, // because it can throw off feature detections in `supportsScrollBehavior` which // checks for `'scrollBehavior' in documentElement.style`. if (scrollBehaviorSupported) { htmlStyle.scrollBehavior = bodyStyle.scrollBehavior = 'auto'; } window.scroll(this._previousScrollPosition.left, this._previousScrollPosition.top); if (scrollBehaviorSupported) { htmlStyle.scrollBehavior = previousHtmlScrollBehavior; bodyStyle.scrollBehavior = previousBodyScrollBehavior; } } } }, { key: "_canBeEnabled", value: function _canBeEnabled() { // Since the scroll strategies can't be singletons, we have to use a global CSS class // (`cdk-global-scrollblock`) to make sure that we don't try to disable global // scrolling multiple times. var html = this._document.documentElement; if (html.classList.contains('cdk-global-scrollblock') || this._isEnabled) { return false; } var body = this._document.body; var viewport = this._viewportRuler.getViewportSize(); return body.scrollHeight > viewport.height || body.scrollWidth > viewport.width; } }]); return BlockScrollStrategy; }(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Returns an error to be thrown when attempting to attach an already-attached scroll strategy. */ function getMatScrollStrategyAlreadyAttachedError() { return Error("Scroll strategy has already been attached."); } /** * Strategy that will close the overlay as soon as the user starts scrolling. */ var CloseScrollStrategy = /*#__PURE__*/function () { function CloseScrollStrategy(_scrollDispatcher, _ngZone, _viewportRuler, _config) { var _this = this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, CloseScrollStrategy); this._scrollDispatcher = _scrollDispatcher; this._ngZone = _ngZone; this._viewportRuler = _viewportRuler; this._config = _config; this._scrollSubscription = null; /** Detaches the overlay ref and disables the scroll strategy. */ this._detach = function () { _this.disable(); if (_this._overlayRef.hasAttached()) { _this._ngZone.run(function () { return _this._overlayRef.detach(); }); } }; } /** Attaches this scroll strategy to an overlay. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(CloseScrollStrategy, [{ key: "attach", value: function attach(overlayRef) { if (this._overlayRef && (typeof ngDevMode === 'undefined' || ngDevMode)) { throw getMatScrollStrategyAlreadyAttachedError(); } this._overlayRef = overlayRef; } /** Enables the closing of the attached overlay on scroll. */ }, { key: "enable", value: function enable() { var _this2 = this; if (this._scrollSubscription) { return; } var stream = this._scrollDispatcher.scrolled(0); if (this._config && this._config.threshold && this._config.threshold > 1) { this._initialScrollPosition = this._viewportRuler.getViewportScrollPosition().top; this._scrollSubscription = stream.subscribe(function () { var scrollPosition = _this2._viewportRuler.getViewportScrollPosition().top; if (Math.abs(scrollPosition - _this2._initialScrollPosition) > _this2._config.threshold) { _this2._detach(); } else { _this2._overlayRef.updatePosition(); } }); } else { this._scrollSubscription = stream.subscribe(this._detach); } } /** Disables the closing the attached overlay on scroll. */ }, { key: "disable", value: function disable() { if (this._scrollSubscription) { this._scrollSubscription.unsubscribe(); this._scrollSubscription = null; } } }, { key: "detach", value: function detach() { this.disable(); this._overlayRef = null; } }]); return CloseScrollStrategy; }(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Scroll strategy that doesn't do anything. */ var NoopScrollStrategy = /*#__PURE__*/function () { function NoopScrollStrategy() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, NoopScrollStrategy); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(NoopScrollStrategy, [{ key: "enable", value: /** Does nothing, as this scroll strategy is a no-op. */ function enable() {} /** Does nothing, as this scroll strategy is a no-op. */ }, { key: "disable", value: function disable() {} /** Does nothing, as this scroll strategy is a no-op. */ }, { key: "attach", value: function attach() {} }]); return NoopScrollStrategy; }(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // TODO(jelbourn): move this to live with the rest of the scrolling code // TODO(jelbourn): someday replace this with IntersectionObservers /** * Gets whether an element is scrolled outside of view by any of its parent scrolling containers. * @param element Dimensions of the element (from getBoundingClientRect) * @param scrollContainers Dimensions of element's scrolling containers (from getBoundingClientRect) * @returns Whether the element is scrolled out of view * @docs-private */ function isElementScrolledOutsideView(element, scrollContainers) { return scrollContainers.some(function (containerBounds) { var outsideAbove = element.bottom < containerBounds.top; var outsideBelow = element.top > containerBounds.bottom; var outsideLeft = element.right < containerBounds.left; var outsideRight = element.left > containerBounds.right; return outsideAbove || outsideBelow || outsideLeft || outsideRight; }); } /** * Gets whether an element is clipped by any of its scrolling containers. * @param element Dimensions of the element (from getBoundingClientRect) * @param scrollContainers Dimensions of element's scrolling containers (from getBoundingClientRect) * @returns Whether the element is clipped * @docs-private */ function isElementClippedByScrolling(element, scrollContainers) { return scrollContainers.some(function (scrollContainerRect) { var clippedAbove = element.top < scrollContainerRect.top; var clippedBelow = element.bottom > scrollContainerRect.bottom; var clippedLeft = element.left < scrollContainerRect.left; var clippedRight = element.right > scrollContainerRect.right; return clippedAbove || clippedBelow || clippedLeft || clippedRight; }); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Strategy that will update the element position as the user is scrolling. */ var RepositionScrollStrategy = /*#__PURE__*/function () { function RepositionScrollStrategy(_scrollDispatcher, _viewportRuler, _ngZone, _config) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, RepositionScrollStrategy); this._scrollDispatcher = _scrollDispatcher; this._viewportRuler = _viewportRuler; this._ngZone = _ngZone; this._config = _config; this._scrollSubscription = null; } /** Attaches this scroll strategy to an overlay. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(RepositionScrollStrategy, [{ key: "attach", value: function attach(overlayRef) { if (this._overlayRef && (typeof ngDevMode === 'undefined' || ngDevMode)) { throw getMatScrollStrategyAlreadyAttachedError(); } this._overlayRef = overlayRef; } /** Enables repositioning of the attached overlay on scroll. */ }, { key: "enable", value: function enable() { var _this3 = this; if (!this._scrollSubscription) { var throttle = this._config ? this._config.scrollThrottle : 0; this._scrollSubscription = this._scrollDispatcher.scrolled(throttle).subscribe(function () { _this3._overlayRef.updatePosition(); // TODO(crisbeto): make `close` on by default once all components can handle it. if (_this3._config && _this3._config.autoClose) { var overlayRect = _this3._overlayRef.overlayElement.getBoundingClientRect(); var _this3$_viewportRuler = _this3._viewportRuler.getViewportSize(), width = _this3$_viewportRuler.width, height = _this3$_viewportRuler.height; // TODO(crisbeto): include all ancestor scroll containers here once // we have a way of exposing the trigger element to the scroll strategy. var parentRects = [{ width: width, height: height, bottom: height, right: width, top: 0, left: 0 }]; if (isElementScrolledOutsideView(overlayRect, parentRects)) { _this3.disable(); _this3._ngZone.run(function () { return _this3._overlayRef.detach(); }); } } }); } } /** Disables repositioning of the attached overlay on scroll. */ }, { key: "disable", value: function disable() { if (this._scrollSubscription) { this._scrollSubscription.unsubscribe(); this._scrollSubscription = null; } } }, { key: "detach", value: function detach() { this.disable(); this._overlayRef = null; } }]); return RepositionScrollStrategy; }(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Options for how an overlay will handle scrolling. * * Users can provide a custom value for `ScrollStrategyOptions` to replace the default * behaviors. This class primarily acts as a factory for ScrollStrategy instances. */ var ScrollStrategyOptions = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(function ScrollStrategyOptions(_scrollDispatcher, _viewportRuler, _ngZone, document) { var _this4 = this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, ScrollStrategyOptions); this._scrollDispatcher = _scrollDispatcher; this._viewportRuler = _viewportRuler; this._ngZone = _ngZone; /** Do nothing on scroll. */ this.noop = function () { return new NoopScrollStrategy(); }; /** * Close the overlay as soon as the user scrolls. * @param config Configuration to be used inside the scroll strategy. */ this.close = function (config) { return new CloseScrollStrategy(_this4._scrollDispatcher, _this4._ngZone, _this4._viewportRuler, config); }; /** Block scrolling. */ this.block = function () { return new BlockScrollStrategy(_this4._viewportRuler, _this4._document); }; /** * Update the overlay's position on scroll. * @param config Configuration to be used inside the scroll strategy. * Allows debouncing the reposition calls. */ this.reposition = function (config) { return new RepositionScrollStrategy(_this4._scrollDispatcher, _this4._viewportRuler, _this4._ngZone, config); }; this._document = document; }); ScrollStrategyOptions.ɵfac = function ScrollStrategyOptions_Factory(t) { return new (t || ScrollStrategyOptions)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ScrollDispatcher"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ViewportRuler"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"])); }; ScrollStrategyOptions.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"])({ factory: function ScrollStrategyOptions_Factory() { return new ScrollStrategyOptions(Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ScrollDispatcher"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ViewportRuler"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"])); }, token: ScrollStrategyOptions, providedIn: "root" }); ScrollStrategyOptions.ctorParameters = function () { return [{ type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ScrollDispatcher"] }, { type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ViewportRuler"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](ScrollStrategyOptions, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Injectable"], args: [{ providedIn: 'root' }] }], function () { return [{ type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ScrollDispatcher"] }, { type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ViewportRuler"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }]; }, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Initial configuration used when creating an overlay. */ var OverlayConfig = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(function OverlayConfig(config) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, OverlayConfig); /** Strategy to be used when handling scroll events while the overlay is open. */ this.scrollStrategy = new NoopScrollStrategy(); /** Custom class to add to the overlay pane. */ this.panelClass = ''; /** Whether the overlay has a backdrop. */ this.hasBackdrop = false; /** Custom class to add to the backdrop */ this.backdropClass = 'cdk-overlay-dark-backdrop'; /** * Whether the overlay should be disposed of when the user goes backwards/forwards in history. * Note that this usually doesn't include clicking on links (unless the user is using * the `HashLocationStrategy`). */ this.disposeOnNavigation = false; if (config) { // Use `Iterable` instead of `Array` because TypeScript, as of 3.6.3, // loses the array generic type in the `for of`. But we *also* have to use `Array` because // typescript won't iterate over an `Iterable` unless you compile with `--downlevelIteration` var configKeys = Object.keys(config); for (var _i = 0, _configKeys = configKeys; _i < _configKeys.length; _i++) { var key = _configKeys[_i]; if (config[key] !== undefined) { // TypeScript, as of version 3.5, sees the left-hand-side of this expression // as "I don't know *which* key this is, so the only valid value is the intersection // of all the posible values." In this case, that happens to be `undefined`. TypeScript // is not smart enough to see that the right-hand-side is actually an access of the same // exact type with the same exact key, meaning that the value type must be identical. // So we use `any` to work around this. this[key] = config[key]; } } } }); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** The points of the origin element and the overlay element to connect. */ var ConnectionPositionPair = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(function ConnectionPositionPair(origin, overlay, /** Offset along the X axis. */ offsetX, /** Offset along the Y axis. */ offsetY, /** Class(es) to be applied to the panel while this position is active. */ panelClass) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, ConnectionPositionPair); this.offsetX = offsetX; this.offsetY = offsetY; this.panelClass = panelClass; this.originX = origin.originX; this.originY = origin.originY; this.overlayX = overlay.overlayX; this.overlayY = overlay.overlayY; }); /** * Set of properties regarding the position of the origin and overlay relative to the viewport * with respect to the containing Scrollable elements. * * The overlay and origin are clipped if any part of their bounding client rectangle exceeds the * bounds of any one of the strategy's Scrollable's bounding client rectangle. * * The overlay and origin are outside view if there is no overlap between their bounding client * rectangle and any one of the strategy's Scrollable's bounding client rectangle. * * ----------- ----------- * | outside | | clipped | * | view | -------------------------- * | | | | | | * ---------- | ----------- | * -------------------------- | | * | | | Scrollable | * | | | | * | | -------------------------- * | Scrollable | * | | * -------------------------- * * @docs-private */ var ScrollingVisibility = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(function ScrollingVisibility() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, ScrollingVisibility); }); /** The change event emitted by the strategy when a fallback position is used. */ var ConnectedOverlayPositionChange = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(function ConnectedOverlayPositionChange( /** The position used as a result of this change. */ connectionPair, /** @docs-private */ scrollableViewProperties) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, ConnectedOverlayPositionChange); this.connectionPair = connectionPair; this.scrollableViewProperties = scrollableViewProperties; }); ConnectedOverlayPositionChange.ctorParameters = function () { return [{ type: ConnectionPositionPair }, { type: ScrollingVisibility, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }] }]; }; /** * Validates whether a vertical position property matches the expected values. * @param property Name of the property being validated. * @param value Value of the property being validated. * @docs-private */ function validateVerticalPosition(property, value) { if (value !== 'top' && value !== 'bottom' && value !== 'center') { throw Error("ConnectedPosition: Invalid ".concat(property, " \"").concat(value, "\". ") + "Expected \"top\", \"bottom\" or \"center\"."); } } /** * Validates whether a horizontal position property matches the expected values. * @param property Name of the property being validated. * @param value Value of the property being validated. * @docs-private */ function validateHorizontalPosition(property, value) { if (value !== 'start' && value !== 'end' && value !== 'center') { throw Error("ConnectedPosition: Invalid ".concat(property, " \"").concat(value, "\". ") + "Expected \"start\", \"end\" or \"center\"."); } } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Service for dispatching events that land on the body to appropriate overlay ref, * if any. It maintains a list of attached overlays to determine best suited overlay based * on event target and order of overlay opens. */ var BaseOverlayDispatcher = /*#__PURE__*/function () { function BaseOverlayDispatcher(document) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, BaseOverlayDispatcher); /** Currently attached overlays in the order they were attached. */ this._attachedOverlays = []; this._document = document; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(BaseOverlayDispatcher, [{ key: "ngOnDestroy", value: function ngOnDestroy() { this.detach(); } /** Add a new overlay to the list of attached overlay refs. */ }, { key: "add", value: function add(overlayRef) { // Ensure that we don't get the same overlay multiple times. this.remove(overlayRef); this._attachedOverlays.push(overlayRef); } /** Remove an overlay from the list of attached overlay refs. */ }, { key: "remove", value: function remove(overlayRef) { var index = this._attachedOverlays.indexOf(overlayRef); if (index > -1) { this._attachedOverlays.splice(index, 1); } // Remove the global listener once there are no more overlays. if (this._attachedOverlays.length === 0) { this.detach(); } } }]); return BaseOverlayDispatcher; }(); BaseOverlayDispatcher.ɵfac = function BaseOverlayDispatcher_Factory(t) { return new (t || BaseOverlayDispatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"])); }; BaseOverlayDispatcher.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"])({ factory: function BaseOverlayDispatcher_Factory() { return new BaseOverlayDispatcher(Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"])); }, token: BaseOverlayDispatcher, providedIn: "root" }); BaseOverlayDispatcher.ctorParameters = function () { return [{ type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](BaseOverlayDispatcher, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Injectable"], args: [{ providedIn: 'root' }] }], function () { return [{ type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }]; }, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Service for dispatching keyboard events that land on the body to appropriate overlay ref, * if any. It maintains a list of attached overlays to determine best suited overlay based * on event target and order of overlay opens. */ var OverlayKeyboardDispatcher = /*#__PURE__*/function (_BaseOverlayDispatche) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(OverlayKeyboardDispatcher, _BaseOverlayDispatche); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__["default"])(OverlayKeyboardDispatcher); function OverlayKeyboardDispatcher(document) { var _this5; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, OverlayKeyboardDispatcher); _this5 = _super.call(this, document); /** Keyboard event listener that will be attached to the body. */ _this5._keydownListener = function (event) { var overlays = _this5._attachedOverlays; for (var i = overlays.length - 1; i > -1; i--) { // Dispatch the keydown event to the top overlay which has subscribers to its keydown events. // We want to target the most recent overlay, rather than trying to match where the event came // from, because some components might open an overlay, but keep focus on a trigger element // (e.g. for select and autocomplete). We skip overlays without keydown event subscriptions, // because we don't want overlays that don't handle keyboard events to block the ones below // them that do. if (overlays[i]._keydownEvents.observers.length > 0) { overlays[i]._keydownEvents.next(event); break; } } }; return _this5; } /** Add a new overlay to the list of attached overlay refs. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(OverlayKeyboardDispatcher, [{ key: "add", value: function add(overlayRef) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(OverlayKeyboardDispatcher.prototype), "add", this).call(this, overlayRef); // Lazily start dispatcher once first overlay is added if (!this._isAttached) { this._document.body.addEventListener('keydown', this._keydownListener); this._isAttached = true; } } /** Detaches the global keyboard event listener. */ }, { key: "detach", value: function detach() { if (this._isAttached) { this._document.body.removeEventListener('keydown', this._keydownListener); this._isAttached = false; } } }]); return OverlayKeyboardDispatcher; }(BaseOverlayDispatcher); OverlayKeyboardDispatcher.ɵfac = function OverlayKeyboardDispatcher_Factory(t) { return new (t || OverlayKeyboardDispatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"])); }; OverlayKeyboardDispatcher.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"])({ factory: function OverlayKeyboardDispatcher_Factory() { return new OverlayKeyboardDispatcher(Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"])); }, token: OverlayKeyboardDispatcher, providedIn: "root" }); OverlayKeyboardDispatcher.ctorParameters = function () { return [{ type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](OverlayKeyboardDispatcher, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Injectable"], args: [{ providedIn: 'root' }] }], function () { return [{ type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }]; }, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Service for dispatching mouse click events that land on the body to appropriate overlay ref, * if any. It maintains a list of attached overlays to determine best suited overlay based * on event target and order of overlay opens. */ var OverlayOutsideClickDispatcher = /*#__PURE__*/function (_BaseOverlayDispatche2) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(OverlayOutsideClickDispatcher, _BaseOverlayDispatche2); var _super2 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__["default"])(OverlayOutsideClickDispatcher); function OverlayOutsideClickDispatcher(document, _platform) { var _this6; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, OverlayOutsideClickDispatcher); _this6 = _super2.call(this, document); _this6._platform = _platform; _this6._cursorStyleIsSet = false; /** Click event listener that will be attached to the body propagate phase. */ _this6._clickListener = function (event) { // Get the target through the `composedPath` if possible to account for shadow DOM. var target = event.composedPath ? event.composedPath()[0] : event.target; // We copy the array because the original may be modified asynchronously if the // outsidePointerEvents listener decides to detach overlays resulting in index errors inside // the for loop. var overlays = _this6._attachedOverlays.slice(); // Dispatch the mouse event to the top overlay which has subscribers to its mouse events. // We want to target all overlays for which the click could be considered as outside click. // As soon as we reach an overlay for which the click is not outside click we break off // the loop. for (var i = overlays.length - 1; i > -1; i--) { var overlayRef = overlays[i]; if (overlayRef._outsidePointerEvents.observers.length < 1 || !overlayRef.hasAttached()) { continue; } // If it's a click inside the overlay, just break - we should do nothing // If it's an outside click dispatch the mouse event, and proceed with the next overlay if (overlayRef.overlayElement.contains(target)) { break; } overlayRef._outsidePointerEvents.next(event); } }; return _this6; } /** Add a new overlay to the list of attached overlay refs. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(OverlayOutsideClickDispatcher, [{ key: "add", value: function add(overlayRef) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(OverlayOutsideClickDispatcher.prototype), "add", this).call(this, overlayRef); // Safari on iOS does not generate click events for non-interactive // elements. However, we want to receive a click for any element outside // the overlay. We can force a "clickable" state by setting // `cursor: pointer` on the document body. See: // https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event#Safari_Mobile // https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html if (!this._isAttached) { var body = this._document.body; body.addEventListener('click', this._clickListener, true); body.addEventListener('auxclick', this._clickListener, true); body.addEventListener('contextmenu', this._clickListener, true); // click event is not fired on iOS. To make element "clickable" we are // setting the cursor to pointer if (this._platform.IOS && !this._cursorStyleIsSet) { this._cursorOriginalValue = body.style.cursor; body.style.cursor = 'pointer'; this._cursorStyleIsSet = true; } this._isAttached = true; } } /** Detaches the global keyboard event listener. */ }, { key: "detach", value: function detach() { if (this._isAttached) { var body = this._document.body; body.removeEventListener('click', this._clickListener, true); body.removeEventListener('auxclick', this._clickListener, true); body.removeEventListener('contextmenu', this._clickListener, true); if (this._platform.IOS && this._cursorStyleIsSet) { body.style.cursor = this._cursorOriginalValue; this._cursorStyleIsSet = false; } this._isAttached = false; } } }]); return OverlayOutsideClickDispatcher; }(BaseOverlayDispatcher); OverlayOutsideClickDispatcher.ɵfac = function OverlayOutsideClickDispatcher_Factory(t) { return new (t || OverlayOutsideClickDispatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"])); }; OverlayOutsideClickDispatcher.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"])({ factory: function OverlayOutsideClickDispatcher_Factory() { return new OverlayOutsideClickDispatcher(Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"])); }, token: OverlayOutsideClickDispatcher, providedIn: "root" }); OverlayOutsideClickDispatcher.ctorParameters = function () { return [{ type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](OverlayOutsideClickDispatcher, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Injectable"], args: [{ providedIn: 'root' }] }], function () { return [{ type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"] }]; }, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Whether we're in a testing environment. * TODO(crisbeto): remove this once we have an overlay testing module. */ var isTestEnvironment = typeof window !== 'undefined' && !!window && !!(window.__karma__ || window.jasmine); /** Container inside which all overlays will render. */ var OverlayContainer = /*#__PURE__*/function () { function OverlayContainer(document, _platform) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, OverlayContainer); this._platform = _platform; this._document = document; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(OverlayContainer, [{ key: "ngOnDestroy", value: function ngOnDestroy() { var container = this._containerElement; if (container && container.parentNode) { container.parentNode.removeChild(container); } } /** * This method returns the overlay container element. It will lazily * create the element the first time it is called to facilitate using * the container in non-browser environments. * @returns the container element */ }, { key: "getContainerElement", value: function getContainerElement() { if (!this._containerElement) { this._createContainer(); } return this._containerElement; } /** * Create the overlay container element, which is simply a div * with the 'cdk-overlay-container' class on the document body. */ }, { key: "_createContainer", value: function _createContainer() { var containerClass = 'cdk-overlay-container'; if (this._platform.isBrowser || isTestEnvironment) { var oppositePlatformContainers = this._document.querySelectorAll(".".concat(containerClass, "[platform=\"server\"], ") + ".".concat(containerClass, "[platform=\"test\"]")); // Remove any old containers from the opposite platform. // This can happen when transitioning from the server to the client. for (var i = 0; i < oppositePlatformContainers.length; i++) { oppositePlatformContainers[i].parentNode.removeChild(oppositePlatformContainers[i]); } } var container = this._document.createElement('div'); container.classList.add(containerClass); // A long time ago we kept adding new overlay containers whenever a new app was instantiated, // but at some point we added logic which clears the duplicate ones in order to avoid leaks. // The new logic was a little too aggressive since it was breaking some legitimate use cases. // To mitigate the problem we made it so that only containers from a different platform are // cleared, but the side-effect was that people started depending on the overly-aggressive // logic to clean up their tests for them. Until we can introduce an overlay-specific testing // module which does the cleanup, we try to detect that we're in a test environment and we // always clear the container. See #17006. // TODO(crisbeto): remove the test environment check once we have an overlay testing module. if (isTestEnvironment) { container.setAttribute('platform', 'test'); } else if (!this._platform.isBrowser) { container.setAttribute('platform', 'server'); } this._document.body.appendChild(container); this._containerElement = container; } }]); return OverlayContainer; }(); OverlayContainer.ɵfac = function OverlayContainer_Factory(t) { return new (t || OverlayContainer)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"])); }; OverlayContainer.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"])({ factory: function OverlayContainer_Factory() { return new OverlayContainer(Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"])); }, token: OverlayContainer, providedIn: "root" }); OverlayContainer.ctorParameters = function () { return [{ type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](OverlayContainer, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Injectable"], args: [{ providedIn: 'root' }] }], function () { return [{ type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"] }]; }, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Reference to an overlay that has been created with the Overlay service. * Used to manipulate or dispose of said overlay. */ var OverlayRef = /*#__PURE__*/function () { function OverlayRef(_portalOutlet, _host, _pane, _config, _ngZone, _keyboardDispatcher, _document, _location, _outsideClickDispatcher) { var _this7 = this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, OverlayRef); this._portalOutlet = _portalOutlet; this._host = _host; this._pane = _pane; this._config = _config; this._ngZone = _ngZone; this._keyboardDispatcher = _keyboardDispatcher; this._document = _document; this._location = _location; this._outsideClickDispatcher = _outsideClickDispatcher; this._backdropElement = null; this._backdropClick = new rxjs__WEBPACK_IMPORTED_MODULE_15__["Subject"](); this._attachments = new rxjs__WEBPACK_IMPORTED_MODULE_15__["Subject"](); this._detachments = new rxjs__WEBPACK_IMPORTED_MODULE_15__["Subject"](); this._locationChanges = rxjs__WEBPACK_IMPORTED_MODULE_15__["Subscription"].EMPTY; this._backdropClickHandler = function (event) { return _this7._backdropClick.next(event); }; /** Stream of keydown events dispatched to this overlay. */ this._keydownEvents = new rxjs__WEBPACK_IMPORTED_MODULE_15__["Subject"](); /** Stream of mouse outside events dispatched to this overlay. */ this._outsidePointerEvents = new rxjs__WEBPACK_IMPORTED_MODULE_15__["Subject"](); if (_config.scrollStrategy) { this._scrollStrategy = _config.scrollStrategy; this._scrollStrategy.attach(this); } this._positionStrategy = _config.positionStrategy; } /** The overlay's HTML element */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(OverlayRef, [{ key: "overlayElement", get: function get() { return this._pane; } /** The overlay's backdrop HTML element. */ }, { key: "backdropElement", get: function get() { return this._backdropElement; } /** * Wrapper around the panel element. Can be used for advanced * positioning where a wrapper with specific styling is * required around the overlay pane. */ }, { key: "hostElement", get: function get() { return this._host; } /** * Attaches content, given via a Portal, to the overlay. * If the overlay is configured to have a backdrop, it will be created. * * @param portal Portal instance to which to attach the overlay. * @returns The portal attachment result. */ }, { key: "attach", value: function attach(portal) { var _this8 = this; var attachResult = this._portalOutlet.attach(portal); // Update the pane element with the given configuration. if (!this._host.parentElement && this._previousHostParent) { this._previousHostParent.appendChild(this._host); } if (this._positionStrategy) { this._positionStrategy.attach(this); } this._updateStackingOrder(); this._updateElementSize(); this._updateElementDirection(); if (this._scrollStrategy) { this._scrollStrategy.enable(); } // Update the position once the zone is stable so that the overlay will be fully rendered // before attempting to position it, as the position may depend on the size of the rendered // content. this._ngZone.onStable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__["take"])(1)).subscribe(function () { // The overlay could've been detached before the zone has stabilized. if (_this8.hasAttached()) { _this8.updatePosition(); } }); // Enable pointer events for the overlay pane element. this._togglePointerEvents(true); if (this._config.hasBackdrop) { this._attachBackdrop(); } if (this._config.panelClass) { this._toggleClasses(this._pane, this._config.panelClass, true); } // Only emit the `attachments` event once all other setup is done. this._attachments.next(); // Track this overlay by the keyboard dispatcher this._keyboardDispatcher.add(this); if (this._config.disposeOnNavigation) { this._locationChanges = this._location.subscribe(function () { return _this8.dispose(); }); } this._outsideClickDispatcher.add(this); return attachResult; } /** * Detaches an overlay from a portal. * @returns The portal detachment result. */ }, { key: "detach", value: function detach() { if (!this.hasAttached()) { return; } this.detachBackdrop(); // When the overlay is detached, the pane element should disable pointer events. // This is necessary because otherwise the pane element will cover the page and disable // pointer events therefore. Depends on the position strategy and the applied pane boundaries. this._togglePointerEvents(false); if (this._positionStrategy && this._positionStrategy.detach) { this._positionStrategy.detach(); } if (this._scrollStrategy) { this._scrollStrategy.disable(); } var detachmentResult = this._portalOutlet.detach(); // Only emit after everything is detached. this._detachments.next(); // Remove this overlay from keyboard dispatcher tracking. this._keyboardDispatcher.remove(this); // Keeping the host element in the DOM can cause scroll jank, because it still gets // rendered, even though it's transparent and unclickable which is why we remove it. this._detachContentWhenStable(); this._locationChanges.unsubscribe(); this._outsideClickDispatcher.remove(this); return detachmentResult; } /** Cleans up the overlay from the DOM. */ }, { key: "dispose", value: function dispose() { var isAttached = this.hasAttached(); if (this._positionStrategy) { this._positionStrategy.dispose(); } this._disposeScrollStrategy(); this.detachBackdrop(); this._locationChanges.unsubscribe(); this._keyboardDispatcher.remove(this); this._portalOutlet.dispose(); this._attachments.complete(); this._backdropClick.complete(); this._keydownEvents.complete(); this._outsidePointerEvents.complete(); this._outsideClickDispatcher.remove(this); if (this._host && this._host.parentNode) { this._host.parentNode.removeChild(this._host); this._host = null; } this._previousHostParent = this._pane = null; if (isAttached) { this._detachments.next(); } this._detachments.complete(); } /** Whether the overlay has attached content. */ }, { key: "hasAttached", value: function hasAttached() { return this._portalOutlet.hasAttached(); } /** Gets an observable that emits when the backdrop has been clicked. */ }, { key: "backdropClick", value: function backdropClick() { return this._backdropClick; } /** Gets an observable that emits when the overlay has been attached. */ }, { key: "attachments", value: function attachments() { return this._attachments; } /** Gets an observable that emits when the overlay has been detached. */ }, { key: "detachments", value: function detachments() { return this._detachments; } /** Gets an observable of keydown events targeted to this overlay. */ }, { key: "keydownEvents", value: function keydownEvents() { return this._keydownEvents; } /** Gets an observable of pointer events targeted outside this overlay. */ }, { key: "outsidePointerEvents", value: function outsidePointerEvents() { return this._outsidePointerEvents; } /** Gets the current overlay configuration, which is immutable. */ }, { key: "getConfig", value: function getConfig() { return this._config; } /** Updates the position of the overlay based on the position strategy. */ }, { key: "updatePosition", value: function updatePosition() { if (this._positionStrategy) { this._positionStrategy.apply(); } } /** Switches to a new position strategy and updates the overlay position. */ }, { key: "updatePositionStrategy", value: function updatePositionStrategy(strategy) { if (strategy === this._positionStrategy) { return; } if (this._positionStrategy) { this._positionStrategy.dispose(); } this._positionStrategy = strategy; if (this.hasAttached()) { strategy.attach(this); this.updatePosition(); } } /** Update the size properties of the overlay. */ }, { key: "updateSize", value: function updateSize(sizeConfig) { this._config = Object.assign(Object.assign({}, this._config), sizeConfig); this._updateElementSize(); } /** Sets the LTR/RTL direction for the overlay. */ }, { key: "setDirection", value: function setDirection(dir) { this._config = Object.assign(Object.assign({}, this._config), { direction: dir }); this._updateElementDirection(); } /** Add a CSS class or an array of classes to the overlay pane. */ }, { key: "addPanelClass", value: function addPanelClass(classes) { if (this._pane) { this._toggleClasses(this._pane, classes, true); } } /** Remove a CSS class or an array of classes from the overlay pane. */ }, { key: "removePanelClass", value: function removePanelClass(classes) { if (this._pane) { this._toggleClasses(this._pane, classes, false); } } /** * Returns the layout direction of the overlay panel. */ }, { key: "getDirection", value: function getDirection() { var direction = this._config.direction; if (!direction) { return 'ltr'; } return typeof direction === 'string' ? direction : direction.value; } /** Switches to a new scroll strategy. */ }, { key: "updateScrollStrategy", value: function updateScrollStrategy(strategy) { if (strategy === this._scrollStrategy) { return; } this._disposeScrollStrategy(); this._scrollStrategy = strategy; if (this.hasAttached()) { strategy.attach(this); strategy.enable(); } } /** Updates the text direction of the overlay panel. */ }, { key: "_updateElementDirection", value: function _updateElementDirection() { this._host.setAttribute('dir', this.getDirection()); } /** Updates the size of the overlay element based on the overlay config. */ }, { key: "_updateElementSize", value: function _updateElementSize() { if (!this._pane) { return; } var style = this._pane.style; style.width = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(this._config.width); style.height = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(this._config.height); style.minWidth = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(this._config.minWidth); style.minHeight = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(this._config.minHeight); style.maxWidth = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(this._config.maxWidth); style.maxHeight = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(this._config.maxHeight); } /** Toggles the pointer events for the overlay pane element. */ }, { key: "_togglePointerEvents", value: function _togglePointerEvents(enablePointer) { this._pane.style.pointerEvents = enablePointer ? '' : 'none'; } /** Attaches a backdrop for this overlay. */ }, { key: "_attachBackdrop", value: function _attachBackdrop() { var _this9 = this; var showingClass = 'cdk-overlay-backdrop-showing'; this._backdropElement = this._document.createElement('div'); this._backdropElement.classList.add('cdk-overlay-backdrop'); if (this._config.backdropClass) { this._toggleClasses(this._backdropElement, this._config.backdropClass, true); } // Insert the backdrop before the pane in the DOM order, // in order to handle stacked overlays properly. this._host.parentElement.insertBefore(this._backdropElement, this._host); // Forward backdrop clicks such that the consumer of the overlay can perform whatever // action desired when such a click occurs (usually closing the overlay). this._backdropElement.addEventListener('click', this._backdropClickHandler); // Add class to fade-in the backdrop after one frame. if (typeof requestAnimationFrame !== 'undefined') { this._ngZone.runOutsideAngular(function () { requestAnimationFrame(function () { if (_this9._backdropElement) { _this9._backdropElement.classList.add(showingClass); } }); }); } else { this._backdropElement.classList.add(showingClass); } } /** * Updates the stacking order of the element, moving it to the top if necessary. * This is required in cases where one overlay was detached, while another one, * that should be behind it, was destroyed. The next time both of them are opened, * the stacking will be wrong, because the detached element's pane will still be * in its original DOM position. */ }, { key: "_updateStackingOrder", value: function _updateStackingOrder() { if (this._host.nextSibling) { this._host.parentNode.appendChild(this._host); } } /** Detaches the backdrop (if any) associated with the overlay. */ }, { key: "detachBackdrop", value: function detachBackdrop() { var _this10 = this; var backdropToDetach = this._backdropElement; if (!backdropToDetach) { return; } var timeoutId; var finishDetach = function finishDetach() { // It may not be attached to anything in certain cases (e.g. unit tests). if (backdropToDetach) { backdropToDetach.removeEventListener('click', _this10._backdropClickHandler); backdropToDetach.removeEventListener('transitionend', finishDetach); if (backdropToDetach.parentNode) { backdropToDetach.parentNode.removeChild(backdropToDetach); } } // It is possible that a new portal has been attached to this overlay since we started // removing the backdrop. If that is the case, only clear the backdrop reference if it // is still the same instance that we started to remove. if (_this10._backdropElement == backdropToDetach) { _this10._backdropElement = null; } if (_this10._config.backdropClass) { _this10._toggleClasses(backdropToDetach, _this10._config.backdropClass, false); } clearTimeout(timeoutId); }; backdropToDetach.classList.remove('cdk-overlay-backdrop-showing'); this._ngZone.runOutsideAngular(function () { backdropToDetach.addEventListener('transitionend', finishDetach); }); // If the backdrop doesn't have a transition, the `transitionend` event won't fire. // In this case we make it unclickable and we try to remove it after a delay. backdropToDetach.style.pointerEvents = 'none'; // Run this outside the Angular zone because there's nothing that Angular cares about. // If it were to run inside the Angular zone, every test that used Overlay would have to be // either async or fakeAsync. timeoutId = this._ngZone.runOutsideAngular(function () { return setTimeout(finishDetach, 500); }); } /** Toggles a single CSS class or an array of classes on an element. */ }, { key: "_toggleClasses", value: function _toggleClasses(element, cssClasses, isAdd) { var classList = element.classList; Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceArray"])(cssClasses).forEach(function (cssClass) { // We can't do a spread here, because IE doesn't support setting multiple classes. // Also trying to add an empty string to a DOMTokenList will throw. if (cssClass) { isAdd ? classList.add(cssClass) : classList.remove(cssClass); } }); } /** Detaches the overlay content next time the zone stabilizes. */ }, { key: "_detachContentWhenStable", value: function _detachContentWhenStable() { var _this11 = this; // Normally we wouldn't have to explicitly run this outside the `NgZone`, however // if the consumer is using `zone-patch-rxjs`, the `Subscription.unsubscribe` call will // be patched to run inside the zone, which will throw us into an infinite loop. this._ngZone.runOutsideAngular(function () { // We can't remove the host here immediately, because the overlay pane's content // might still be animating. This stream helps us avoid interrupting the animation // by waiting for the pane to become empty. var subscription = _this11._ngZone.onStable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__["takeUntil"])(Object(rxjs__WEBPACK_IMPORTED_MODULE_15__["merge"])(_this11._attachments, _this11._detachments))).subscribe(function () { // Needs a couple of checks for the pane and host, because // they may have been removed by the time the zone stabilizes. if (!_this11._pane || !_this11._host || _this11._pane.children.length === 0) { if (_this11._pane && _this11._config.panelClass) { _this11._toggleClasses(_this11._pane, _this11._config.panelClass, false); } if (_this11._host && _this11._host.parentElement) { _this11._previousHostParent = _this11._host.parentElement; _this11._previousHostParent.removeChild(_this11._host); } subscription.unsubscribe(); } }); }); } /** Disposes of a scroll strategy. */ }, { key: "_disposeScrollStrategy", value: function _disposeScrollStrategy() { var scrollStrategy = this._scrollStrategy; if (scrollStrategy) { scrollStrategy.disable(); if (scrollStrategy.detach) { scrollStrategy.detach(); } } } }]); return OverlayRef; }(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // TODO: refactor clipping detection into a separate thing (part of scrolling module) // TODO: doesn't handle both flexible width and height when it has to scroll along both axis. /** Class to be added to the overlay bounding box. */ var boundingBoxClass = 'cdk-overlay-connected-position-bounding-box'; /** Regex used to split a string on its CSS units. */ var cssUnitPattern = /([A-Za-z%]+)$/; /** * A strategy for positioning overlays. Using this strategy, an overlay is given an * implicit position relative some origin element. The relative position is defined in terms of * a point on the origin element that is connected to a point on the overlay element. For example, * a basic dropdown is connecting the bottom-left corner of the origin to the top-left corner * of the overlay. */ var FlexibleConnectedPositionStrategy = /*#__PURE__*/function () { function FlexibleConnectedPositionStrategy(connectedTo, _viewportRuler, _document, _platform, _overlayContainer) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, FlexibleConnectedPositionStrategy); this._viewportRuler = _viewportRuler; this._document = _document; this._platform = _platform; this._overlayContainer = _overlayContainer; /** Last size used for the bounding box. Used to avoid resizing the overlay after open. */ this._lastBoundingBoxSize = { width: 0, height: 0 }; /** Whether the overlay was pushed in a previous positioning. */ this._isPushed = false; /** Whether the overlay can be pushed on-screen on the initial open. */ this._canPush = true; /** Whether the overlay can grow via flexible width/height after the initial open. */ this._growAfterOpen = false; /** Whether the overlay's width and height can be constrained to fit within the viewport. */ this._hasFlexibleDimensions = true; /** Whether the overlay position is locked. */ this._positionLocked = false; /** Amount of space that must be maintained between the overlay and the edge of the viewport. */ this._viewportMargin = 0; /** The Scrollable containers used to check scrollable view properties on position change. */ this._scrollables = []; /** Ordered list of preferred positions, from most to least desirable. */ this._preferredPositions = []; /** Subject that emits whenever the position changes. */ this._positionChanges = new rxjs__WEBPACK_IMPORTED_MODULE_15__["Subject"](); /** Subscription to viewport size changes. */ this._resizeSubscription = rxjs__WEBPACK_IMPORTED_MODULE_15__["Subscription"].EMPTY; /** Default offset for the overlay along the x axis. */ this._offsetX = 0; /** Default offset for the overlay along the y axis. */ this._offsetY = 0; /** Keeps track of the CSS classes that the position strategy has applied on the overlay panel. */ this._appliedPanelClasses = []; /** Observable sequence of position changes. */ this.positionChanges = this._positionChanges; this.setOrigin(connectedTo); } /** Ordered list of preferred positions, from most to least desirable. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(FlexibleConnectedPositionStrategy, [{ key: "positions", get: function get() { return this._preferredPositions; } /** Attaches this position strategy to an overlay. */ }, { key: "attach", value: function attach(overlayRef) { var _this12 = this; if (this._overlayRef && overlayRef !== this._overlayRef && (typeof ngDevMode === 'undefined' || ngDevMode)) { throw Error('This position strategy is already attached to an overlay'); } this._validatePositions(); overlayRef.hostElement.classList.add(boundingBoxClass); this._overlayRef = overlayRef; this._boundingBox = overlayRef.hostElement; this._pane = overlayRef.overlayElement; this._isDisposed = false; this._isInitialRender = true; this._lastPosition = null; this._resizeSubscription.unsubscribe(); this._resizeSubscription = this._viewportRuler.change().subscribe(function () { // When the window is resized, we want to trigger the next reposition as if it // was an initial render, in order for the strategy to pick a new optimal position, // otherwise position locking will cause it to stay at the old one. _this12._isInitialRender = true; _this12.apply(); }); } /** * Updates the position of the overlay element, using whichever preferred position relative * to the origin best fits on-screen. * * The selection of a position goes as follows: * - If any positions fit completely within the viewport as-is, * choose the first position that does so. * - If flexible dimensions are enabled and at least one satifies the given minimum width/height, * choose the position with the greatest available size modified by the positions' weight. * - If pushing is enabled, take the position that went off-screen the least and push it * on-screen. * - If none of the previous criteria were met, use the position that goes off-screen the least. * @docs-private */ }, { key: "apply", value: function apply() { // We shouldn't do anything if the strategy was disposed or we're on the server. if (this._isDisposed || !this._platform.isBrowser) { return; } // If the position has been applied already (e.g. when the overlay was opened) and the // consumer opted into locking in the position, re-use the old position, in order to // prevent the overlay from jumping around. if (!this._isInitialRender && this._positionLocked && this._lastPosition) { this.reapplyLastPosition(); return; } this._clearPanelClasses(); this._resetOverlayElementStyles(); this._resetBoundingBoxStyles(); // We need the bounding rects for the origin and the overlay to determine how to position // the overlay relative to the origin. // We use the viewport rect to determine whether a position would go off-screen. this._viewportRect = this._getNarrowedViewportRect(); this._originRect = this._getOriginRect(); this._overlayRect = this._pane.getBoundingClientRect(); var originRect = this._originRect; var overlayRect = this._overlayRect; var viewportRect = this._viewportRect; // Positions where the overlay will fit with flexible dimensions. var flexibleFits = []; // Fallback if none of the preferred positions fit within the viewport. var fallback; // Go through each of the preferred positions looking for a good fit. // If a good fit is found, it will be applied immediately. var _iterator = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_1__["default"])(this._preferredPositions), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var pos = _step.value; // Get the exact (x, y) coordinate for the point-of-origin on the origin element. var originPoint = this._getOriginPoint(originRect, pos); // From that point-of-origin, get the exact (x, y) coordinate for the top-left corner of the // overlay in this position. We use the top-left corner for calculations and later translate // this into an appropriate (top, left, bottom, right) style. var overlayPoint = this._getOverlayPoint(originPoint, overlayRect, pos); // Calculate how well the overlay would fit into the viewport with this point. var overlayFit = this._getOverlayFit(overlayPoint, overlayRect, viewportRect, pos); // If the overlay, without any further work, fits into the viewport, use this position. if (overlayFit.isCompletelyWithinViewport) { this._isPushed = false; this._applyPosition(pos, originPoint); return; } // If the overlay has flexible dimensions, we can use this position // so long as there's enough space for the minimum dimensions. if (this._canFitWithFlexibleDimensions(overlayFit, overlayPoint, viewportRect)) { // Save positions where the overlay will fit with flexible dimensions. We will use these // if none of the positions fit *without* flexible dimensions. flexibleFits.push({ position: pos, origin: originPoint, overlayRect: overlayRect, boundingBoxRect: this._calculateBoundingBoxRect(originPoint, pos) }); continue; } // If the current preferred position does not fit on the screen, remember the position // if it has more visible area on-screen than we've seen and move onto the next preferred // position. if (!fallback || fallback.overlayFit.visibleArea < overlayFit.visibleArea) { fallback = { overlayFit: overlayFit, overlayPoint: overlayPoint, originPoint: originPoint, position: pos, overlayRect: overlayRect }; } } // If there are any positions where the overlay would fit with flexible dimensions, choose the // one that has the greatest area available modified by the position's weight } catch (err) { _iterator.e(err); } finally { _iterator.f(); } if (flexibleFits.length) { var bestFit = null; var bestScore = -1; var _iterator2 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_1__["default"])(flexibleFits), _step2; try { for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { var fit = _step2.value; var score = fit.boundingBoxRect.width * fit.boundingBoxRect.height * (fit.position.weight || 1); if (score > bestScore) { bestScore = score; bestFit = fit; } } } catch (err) { _iterator2.e(err); } finally { _iterator2.f(); } this._isPushed = false; this._applyPosition(bestFit.position, bestFit.origin); return; } // When none of the preferred positions fit within the viewport, take the position // that went off-screen the least and attempt to push it on-screen. if (this._canPush) { // TODO(jelbourn): after pushing, the opening "direction" of the overlay might not make sense. this._isPushed = true; this._applyPosition(fallback.position, fallback.originPoint); return; } // All options for getting the overlay within the viewport have been exhausted, so go with the // position that went off-screen the least. this._applyPosition(fallback.position, fallback.originPoint); } }, { key: "detach", value: function detach() { this._clearPanelClasses(); this._lastPosition = null; this._previousPushAmount = null; this._resizeSubscription.unsubscribe(); } /** Cleanup after the element gets destroyed. */ }, { key: "dispose", value: function dispose() { if (this._isDisposed) { return; } // We can't use `_resetBoundingBoxStyles` here, because it resets // some properties to zero, rather than removing them. if (this._boundingBox) { extendStyles(this._boundingBox.style, { top: '', left: '', right: '', bottom: '', height: '', width: '', alignItems: '', justifyContent: '' }); } if (this._pane) { this._resetOverlayElementStyles(); } if (this._overlayRef) { this._overlayRef.hostElement.classList.remove(boundingBoxClass); } this.detach(); this._positionChanges.complete(); this._overlayRef = this._boundingBox = null; this._isDisposed = true; } /** * This re-aligns the overlay element with the trigger in its last calculated position, * even if a position higher in the "preferred positions" list would now fit. This * allows one to re-align the panel without changing the orientation of the panel. */ }, { key: "reapplyLastPosition", value: function reapplyLastPosition() { if (!this._isDisposed && (!this._platform || this._platform.isBrowser)) { this._originRect = this._getOriginRect(); this._overlayRect = this._pane.getBoundingClientRect(); this._viewportRect = this._getNarrowedViewportRect(); var lastPosition = this._lastPosition || this._preferredPositions[0]; var originPoint = this._getOriginPoint(this._originRect, lastPosition); this._applyPosition(lastPosition, originPoint); } } /** * Sets the list of Scrollable containers that host the origin element so that * on reposition we can evaluate if it or the overlay has been clipped or outside view. Every * Scrollable must be an ancestor element of the strategy's origin element. */ }, { key: "withScrollableContainers", value: function withScrollableContainers(scrollables) { this._scrollables = scrollables; return this; } /** * Adds new preferred positions. * @param positions List of positions options for this overlay. */ }, { key: "withPositions", value: function withPositions(positions) { this._preferredPositions = positions; // If the last calculated position object isn't part of the positions anymore, clear // it in order to avoid it being picked up if the consumer tries to re-apply. if (positions.indexOf(this._lastPosition) === -1) { this._lastPosition = null; } this._validatePositions(); return this; } /** * Sets a minimum distance the overlay may be positioned to the edge of the viewport. * @param margin Required margin between the overlay and the viewport edge in pixels. */ }, { key: "withViewportMargin", value: function withViewportMargin(margin) { this._viewportMargin = margin; return this; } /** Sets whether the overlay's width and height can be constrained to fit within the viewport. */ }, { key: "withFlexibleDimensions", value: function withFlexibleDimensions() { var flexibleDimensions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; this._hasFlexibleDimensions = flexibleDimensions; return this; } /** Sets whether the overlay can grow after the initial open via flexible width/height. */ }, { key: "withGrowAfterOpen", value: function withGrowAfterOpen() { var growAfterOpen = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; this._growAfterOpen = growAfterOpen; return this; } /** Sets whether the overlay can be pushed on-screen if none of the provided positions fit. */ }, { key: "withPush", value: function withPush() { var canPush = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; this._canPush = canPush; return this; } /** * Sets whether the overlay's position should be locked in after it is positioned * initially. When an overlay is locked in, it won't attempt to reposition itself * when the position is re-applied (e.g. when the user scrolls away). * @param isLocked Whether the overlay should locked in. */ }, { key: "withLockedPosition", value: function withLockedPosition() { var isLocked = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; this._positionLocked = isLocked; return this; } /** * Sets the origin, relative to which to position the overlay. * Using an element origin is useful for building components that need to be positioned * relatively to a trigger (e.g. dropdown menus or tooltips), whereas using a point can be * used for cases like contextual menus which open relative to the user's pointer. * @param origin Reference to the new origin. */ }, { key: "setOrigin", value: function setOrigin(origin) { this._origin = origin; return this; } /** * Sets the default offset for the overlay's connection point on the x-axis. * @param offset New offset in the X axis. */ }, { key: "withDefaultOffsetX", value: function withDefaultOffsetX(offset) { this._offsetX = offset; return this; } /** * Sets the default offset for the overlay's connection point on the y-axis. * @param offset New offset in the Y axis. */ }, { key: "withDefaultOffsetY", value: function withDefaultOffsetY(offset) { this._offsetY = offset; return this; } /** * Configures that the position strategy should set a `transform-origin` on some elements * inside the overlay, depending on the current position that is being applied. This is * useful for the cases where the origin of an animation can change depending on the * alignment of the overlay. * @param selector CSS selector that will be used to find the target * elements onto which to set the transform origin. */ }, { key: "withTransformOriginOn", value: function withTransformOriginOn(selector) { this._transformOriginSelector = selector; return this; } /** * Gets the (x, y) coordinate of a connection point on the origin based on a relative position. */ }, { key: "_getOriginPoint", value: function _getOriginPoint(originRect, pos) { var x; if (pos.originX == 'center') { // Note: when centering we should always use the `left` // offset, otherwise the position will be wrong in RTL. x = originRect.left + originRect.width / 2; } else { var startX = this._isRtl() ? originRect.right : originRect.left; var endX = this._isRtl() ? originRect.left : originRect.right; x = pos.originX == 'start' ? startX : endX; } var y; if (pos.originY == 'center') { y = originRect.top + originRect.height / 2; } else { y = pos.originY == 'top' ? originRect.top : originRect.bottom; } return { x: x, y: y }; } /** * Gets the (x, y) coordinate of the top-left corner of the overlay given a given position and * origin point to which the overlay should be connected. */ }, { key: "_getOverlayPoint", value: function _getOverlayPoint(originPoint, overlayRect, pos) { // Calculate the (overlayStartX, overlayStartY), the start of the // potential overlay position relative to the origin point. var overlayStartX; if (pos.overlayX == 'center') { overlayStartX = -overlayRect.width / 2; } else if (pos.overlayX === 'start') { overlayStartX = this._isRtl() ? -overlayRect.width : 0; } else { overlayStartX = this._isRtl() ? 0 : -overlayRect.width; } var overlayStartY; if (pos.overlayY == 'center') { overlayStartY = -overlayRect.height / 2; } else { overlayStartY = pos.overlayY == 'top' ? 0 : -overlayRect.height; } // The (x, y) coordinates of the overlay. return { x: originPoint.x + overlayStartX, y: originPoint.y + overlayStartY }; } /** Gets how well an overlay at the given point will fit within the viewport. */ }, { key: "_getOverlayFit", value: function _getOverlayFit(point, rawOverlayRect, viewport, position) { // Round the overlay rect when comparing against the // viewport, because the viewport is always rounded. var overlay = getRoundedBoundingClientRect(rawOverlayRect); var x = point.x, y = point.y; var offsetX = this._getOffset(position, 'x'); var offsetY = this._getOffset(position, 'y'); // Account for the offsets since they could push the overlay out of the viewport. if (offsetX) { x += offsetX; } if (offsetY) { y += offsetY; } // How much the overlay would overflow at this position, on each side. var leftOverflow = 0 - x; var rightOverflow = x + overlay.width - viewport.width; var topOverflow = 0 - y; var bottomOverflow = y + overlay.height - viewport.height; // Visible parts of the element on each axis. var visibleWidth = this._subtractOverflows(overlay.width, leftOverflow, rightOverflow); var visibleHeight = this._subtractOverflows(overlay.height, topOverflow, bottomOverflow); var visibleArea = visibleWidth * visibleHeight; return { visibleArea: visibleArea, isCompletelyWithinViewport: overlay.width * overlay.height === visibleArea, fitsInViewportVertically: visibleHeight === overlay.height, fitsInViewportHorizontally: visibleWidth == overlay.width }; } /** * Whether the overlay can fit within the viewport when it may resize either its width or height. * @param fit How well the overlay fits in the viewport at some position. * @param point The (x, y) coordinates of the overlat at some position. * @param viewport The geometry of the viewport. */ }, { key: "_canFitWithFlexibleDimensions", value: function _canFitWithFlexibleDimensions(fit, point, viewport) { if (this._hasFlexibleDimensions) { var availableHeight = viewport.bottom - point.y; var availableWidth = viewport.right - point.x; var minHeight = getPixelValue(this._overlayRef.getConfig().minHeight); var minWidth = getPixelValue(this._overlayRef.getConfig().minWidth); var verticalFit = fit.fitsInViewportVertically || minHeight != null && minHeight <= availableHeight; var horizontalFit = fit.fitsInViewportHorizontally || minWidth != null && minWidth <= availableWidth; return verticalFit && horizontalFit; } return false; } /** * Gets the point at which the overlay can be "pushed" on-screen. If the overlay is larger than * the viewport, the top-left corner will be pushed on-screen (with overflow occuring on the * right and bottom). * * @param start Starting point from which the overlay is pushed. * @param overlay Dimensions of the overlay. * @param scrollPosition Current viewport scroll position. * @returns The point at which to position the overlay after pushing. This is effectively a new * originPoint. */ }, { key: "_pushOverlayOnScreen", value: function _pushOverlayOnScreen(start, rawOverlayRect, scrollPosition) { // If the position is locked and we've pushed the overlay already, reuse the previous push // amount, rather than pushing it again. If we were to continue pushing, the element would // remain in the viewport, which goes against the expectations when position locking is enabled. if (this._previousPushAmount && this._positionLocked) { return { x: start.x + this._previousPushAmount.x, y: start.y + this._previousPushAmount.y }; } // Round the overlay rect when comparing against the // viewport, because the viewport is always rounded. var overlay = getRoundedBoundingClientRect(rawOverlayRect); var viewport = this._viewportRect; // Determine how much the overlay goes outside the viewport on each // side, which we'll use to decide which direction to push it. var overflowRight = Math.max(start.x + overlay.width - viewport.width, 0); var overflowBottom = Math.max(start.y + overlay.height - viewport.height, 0); var overflowTop = Math.max(viewport.top - scrollPosition.top - start.y, 0); var overflowLeft = Math.max(viewport.left - scrollPosition.left - start.x, 0); // Amount by which to push the overlay in each axis such that it remains on-screen. var pushX = 0; var pushY = 0; // If the overlay fits completely within the bounds of the viewport, push it from whichever // direction is goes off-screen. Otherwise, push the top-left corner such that its in the // viewport and allow for the trailing end of the overlay to go out of bounds. if (overlay.width <= viewport.width) { pushX = overflowLeft || -overflowRight; } else { pushX = start.x < this._viewportMargin ? viewport.left - scrollPosition.left - start.x : 0; } if (overlay.height <= viewport.height) { pushY = overflowTop || -overflowBottom; } else { pushY = start.y < this._viewportMargin ? viewport.top - scrollPosition.top - start.y : 0; } this._previousPushAmount = { x: pushX, y: pushY }; return { x: start.x + pushX, y: start.y + pushY }; } /** * Applies a computed position to the overlay and emits a position change. * @param position The position preference * @param originPoint The point on the origin element where the overlay is connected. */ }, { key: "_applyPosition", value: function _applyPosition(position, originPoint) { this._setTransformOrigin(position); this._setOverlayElementStyles(originPoint, position); this._setBoundingBoxStyles(originPoint, position); if (position.panelClass) { this._addPanelClasses(position.panelClass); } // Save the last connected position in case the position needs to be re-calculated. this._lastPosition = position; // Notify that the position has been changed along with its change properties. // We only emit if we've got any subscriptions, because the scroll visibility // calculcations can be somewhat expensive. if (this._positionChanges.observers.length) { var scrollableViewProperties = this._getScrollVisibility(); var changeEvent = new ConnectedOverlayPositionChange(position, scrollableViewProperties); this._positionChanges.next(changeEvent); } this._isInitialRender = false; } /** Sets the transform origin based on the configured selector and the passed-in position. */ }, { key: "_setTransformOrigin", value: function _setTransformOrigin(position) { if (!this._transformOriginSelector) { return; } var elements = this._boundingBox.querySelectorAll(this._transformOriginSelector); var xOrigin; var yOrigin = position.overlayY; if (position.overlayX === 'center') { xOrigin = 'center'; } else if (this._isRtl()) { xOrigin = position.overlayX === 'start' ? 'right' : 'left'; } else { xOrigin = position.overlayX === 'start' ? 'left' : 'right'; } for (var i = 0; i < elements.length; i++) { elements[i].style.transformOrigin = "".concat(xOrigin, " ").concat(yOrigin); } } /** * Gets the position and size of the overlay's sizing container. * * This method does no measuring and applies no styles so that we can cheaply compute the * bounds for all positions and choose the best fit based on these results. */ }, { key: "_calculateBoundingBoxRect", value: function _calculateBoundingBoxRect(origin, position) { var viewport = this._viewportRect; var isRtl = this._isRtl(); var height, top, bottom; if (position.overlayY === 'top') { // Overlay is opening "downward" and thus is bound by the bottom viewport edge. top = origin.y; height = viewport.height - top + this._viewportMargin; } else if (position.overlayY === 'bottom') { // Overlay is opening "upward" and thus is bound by the top viewport edge. We need to add // the viewport margin back in, because the viewport rect is narrowed down to remove the // margin, whereas the `origin` position is calculated based on its `ClientRect`. bottom = viewport.height - origin.y + this._viewportMargin * 2; height = viewport.height - bottom + this._viewportMargin; } else { // If neither top nor bottom, it means that the overlay is vertically centered on the // origin point. Note that we want the position relative to the viewport, rather than // the page, which is why we don't use something like `viewport.bottom - origin.y` and // `origin.y - viewport.top`. var smallestDistanceToViewportEdge = Math.min(viewport.bottom - origin.y + viewport.top, origin.y); var previousHeight = this._lastBoundingBoxSize.height; height = smallestDistanceToViewportEdge * 2; top = origin.y - smallestDistanceToViewportEdge; if (height > previousHeight && !this._isInitialRender && !this._growAfterOpen) { top = origin.y - previousHeight / 2; } } // The overlay is opening 'right-ward' (the content flows to the right). var isBoundedByRightViewportEdge = position.overlayX === 'start' && !isRtl || position.overlayX === 'end' && isRtl; // The overlay is opening 'left-ward' (the content flows to the left). var isBoundedByLeftViewportEdge = position.overlayX === 'end' && !isRtl || position.overlayX === 'start' && isRtl; var width, left, right; if (isBoundedByLeftViewportEdge) { right = viewport.width - origin.x + this._viewportMargin; width = origin.x - this._viewportMargin; } else if (isBoundedByRightViewportEdge) { left = origin.x; width = viewport.right - origin.x; } else { // If neither start nor end, it means that the overlay is horizontally centered on the // origin point. Note that we want the position relative to the viewport, rather than // the page, which is why we don't use something like `viewport.right - origin.x` and // `origin.x - viewport.left`. var _smallestDistanceToViewportEdge = Math.min(viewport.right - origin.x + viewport.left, origin.x); var previousWidth = this._lastBoundingBoxSize.width; width = _smallestDistanceToViewportEdge * 2; left = origin.x - _smallestDistanceToViewportEdge; if (width > previousWidth && !this._isInitialRender && !this._growAfterOpen) { left = origin.x - previousWidth / 2; } } return { top: top, left: left, bottom: bottom, right: right, width: width, height: height }; } /** * Sets the position and size of the overlay's sizing wrapper. The wrapper is positioned on the * origin's connection point and stetches to the bounds of the viewport. * * @param origin The point on the origin element where the overlay is connected. * @param position The position preference */ }, { key: "_setBoundingBoxStyles", value: function _setBoundingBoxStyles(origin, position) { var boundingBoxRect = this._calculateBoundingBoxRect(origin, position); // It's weird if the overlay *grows* while scrolling, so we take the last size into account // when applying a new size. if (!this._isInitialRender && !this._growAfterOpen) { boundingBoxRect.height = Math.min(boundingBoxRect.height, this._lastBoundingBoxSize.height); boundingBoxRect.width = Math.min(boundingBoxRect.width, this._lastBoundingBoxSize.width); } var styles = {}; if (this._hasExactPosition()) { styles.top = styles.left = '0'; styles.bottom = styles.right = styles.maxHeight = styles.maxWidth = ''; styles.width = styles.height = '100%'; } else { var maxHeight = this._overlayRef.getConfig().maxHeight; var maxWidth = this._overlayRef.getConfig().maxWidth; styles.height = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(boundingBoxRect.height); styles.top = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(boundingBoxRect.top); styles.bottom = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(boundingBoxRect.bottom); styles.width = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(boundingBoxRect.width); styles.left = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(boundingBoxRect.left); styles.right = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(boundingBoxRect.right); // Push the pane content towards the proper direction. if (position.overlayX === 'center') { styles.alignItems = 'center'; } else { styles.alignItems = position.overlayX === 'end' ? 'flex-end' : 'flex-start'; } if (position.overlayY === 'center') { styles.justifyContent = 'center'; } else { styles.justifyContent = position.overlayY === 'bottom' ? 'flex-end' : 'flex-start'; } if (maxHeight) { styles.maxHeight = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(maxHeight); } if (maxWidth) { styles.maxWidth = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(maxWidth); } } this._lastBoundingBoxSize = boundingBoxRect; extendStyles(this._boundingBox.style, styles); } /** Resets the styles for the bounding box so that a new positioning can be computed. */ }, { key: "_resetBoundingBoxStyles", value: function _resetBoundingBoxStyles() { extendStyles(this._boundingBox.style, { top: '0', left: '0', right: '0', bottom: '0', height: '', width: '', alignItems: '', justifyContent: '' }); } /** Resets the styles for the overlay pane so that a new positioning can be computed. */ }, { key: "_resetOverlayElementStyles", value: function _resetOverlayElementStyles() { extendStyles(this._pane.style, { top: '', left: '', bottom: '', right: '', position: '', transform: '' }); } /** Sets positioning styles to the overlay element. */ }, { key: "_setOverlayElementStyles", value: function _setOverlayElementStyles(originPoint, position) { var styles = {}; var hasExactPosition = this._hasExactPosition(); var hasFlexibleDimensions = this._hasFlexibleDimensions; var config = this._overlayRef.getConfig(); if (hasExactPosition) { var scrollPosition = this._viewportRuler.getViewportScrollPosition(); extendStyles(styles, this._getExactOverlayY(position, originPoint, scrollPosition)); extendStyles(styles, this._getExactOverlayX(position, originPoint, scrollPosition)); } else { styles.position = 'static'; } // Use a transform to apply the offsets. We do this because the `center` positions rely on // being in the normal flex flow and setting a `top` / `left` at all will completely throw // off the position. We also can't use margins, because they won't have an effect in some // cases where the element doesn't have anything to "push off of". Finally, this works // better both with flexible and non-flexible positioning. var transformString = ''; var offsetX = this._getOffset(position, 'x'); var offsetY = this._getOffset(position, 'y'); if (offsetX) { transformString += "translateX(".concat(offsetX, "px) "); } if (offsetY) { transformString += "translateY(".concat(offsetY, "px)"); } styles.transform = transformString.trim(); // If a maxWidth or maxHeight is specified on the overlay, we remove them. We do this because // we need these values to both be set to "100%" for the automatic flexible sizing to work. // The maxHeight and maxWidth are set on the boundingBox in order to enforce the constraint. // Note that this doesn't apply when we have an exact position, in which case we do want to // apply them because they'll be cleared from the bounding box. if (config.maxHeight) { if (hasExactPosition) { styles.maxHeight = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(config.maxHeight); } else if (hasFlexibleDimensions) { styles.maxHeight = ''; } } if (config.maxWidth) { if (hasExactPosition) { styles.maxWidth = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(config.maxWidth); } else if (hasFlexibleDimensions) { styles.maxWidth = ''; } } extendStyles(this._pane.style, styles); } /** Gets the exact top/bottom for the overlay when not using flexible sizing or when pushing. */ }, { key: "_getExactOverlayY", value: function _getExactOverlayY(position, originPoint, scrollPosition) { // Reset any existing styles. This is necessary in case the // preferred position has changed since the last `apply`. var styles = { top: '', bottom: '' }; var overlayPoint = this._getOverlayPoint(originPoint, this._overlayRect, position); if (this._isPushed) { overlayPoint = this._pushOverlayOnScreen(overlayPoint, this._overlayRect, scrollPosition); } var virtualKeyboardOffset = this._overlayContainer.getContainerElement().getBoundingClientRect().top; // Normally this would be zero, however when the overlay is attached to an input (e.g. in an // autocomplete), mobile browsers will shift everything in order to put the input in the middle // of the screen and to make space for the virtual keyboard. We need to account for this offset, // otherwise our positioning will be thrown off. overlayPoint.y -= virtualKeyboardOffset; // We want to set either `top` or `bottom` based on whether the overlay wants to appear // above or below the origin and the direction in which the element will expand. if (position.overlayY === 'bottom') { // When using `bottom`, we adjust the y position such that it is the distance // from the bottom of the viewport rather than the top. var documentHeight = this._document.documentElement.clientHeight; styles.bottom = "".concat(documentHeight - (overlayPoint.y + this._overlayRect.height), "px"); } else { styles.top = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(overlayPoint.y); } return styles; } /** Gets the exact left/right for the overlay when not using flexible sizing or when pushing. */ }, { key: "_getExactOverlayX", value: function _getExactOverlayX(position, originPoint, scrollPosition) { // Reset any existing styles. This is necessary in case the preferred position has // changed since the last `apply`. var styles = { left: '', right: '' }; var overlayPoint = this._getOverlayPoint(originPoint, this._overlayRect, position); if (this._isPushed) { overlayPoint = this._pushOverlayOnScreen(overlayPoint, this._overlayRect, scrollPosition); } // We want to set either `left` or `right` based on whether the overlay wants to appear "before" // or "after" the origin, which determines the direction in which the element will expand. // For the horizontal axis, the meaning of "before" and "after" change based on whether the // page is in RTL or LTR. var horizontalStyleProperty; if (this._isRtl()) { horizontalStyleProperty = position.overlayX === 'end' ? 'left' : 'right'; } else { horizontalStyleProperty = position.overlayX === 'end' ? 'right' : 'left'; } // When we're setting `right`, we adjust the x position such that it is the distance // from the right edge of the viewport rather than the left edge. if (horizontalStyleProperty === 'right') { var documentWidth = this._document.documentElement.clientWidth; styles.right = "".concat(documentWidth - (overlayPoint.x + this._overlayRect.width), "px"); } else { styles.left = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceCssPixelValue"])(overlayPoint.x); } return styles; } /** * Gets the view properties of the trigger and overlay, including whether they are clipped * or completely outside the view of any of the strategy's scrollables. */ }, { key: "_getScrollVisibility", value: function _getScrollVisibility() { // Note: needs fresh rects since the position could've changed. var originBounds = this._getOriginRect(); var overlayBounds = this._pane.getBoundingClientRect(); // TODO(jelbourn): instead of needing all of the client rects for these scrolling containers // every time, we should be able to use the scrollTop of the containers if the size of those // containers hasn't changed. var scrollContainerBounds = this._scrollables.map(function (scrollable) { return scrollable.getElementRef().nativeElement.getBoundingClientRect(); }); return { isOriginClipped: isElementClippedByScrolling(originBounds, scrollContainerBounds), isOriginOutsideView: isElementScrolledOutsideView(originBounds, scrollContainerBounds), isOverlayClipped: isElementClippedByScrolling(overlayBounds, scrollContainerBounds), isOverlayOutsideView: isElementScrolledOutsideView(overlayBounds, scrollContainerBounds) }; } /** Subtracts the amount that an element is overflowing on an axis from its length. */ }, { key: "_subtractOverflows", value: function _subtractOverflows(length) { for (var _len = arguments.length, overflows = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { overflows[_key - 1] = arguments[_key]; } return overflows.reduce(function (currentValue, currentOverflow) { return currentValue - Math.max(currentOverflow, 0); }, length); } /** Narrows the given viewport rect by the current _viewportMargin. */ }, { key: "_getNarrowedViewportRect", value: function _getNarrowedViewportRect() { // We recalculate the viewport rect here ourselves, rather than using the ViewportRuler, // because we want to use the `clientWidth` and `clientHeight` as the base. The difference // being that the client properties don't include the scrollbar, as opposed to `innerWidth` // and `innerHeight` that do. This is necessary, because the overlay container uses // 100% `width` and `height` which don't include the scrollbar either. var width = this._document.documentElement.clientWidth; var height = this._document.documentElement.clientHeight; var scrollPosition = this._viewportRuler.getViewportScrollPosition(); return { top: scrollPosition.top + this._viewportMargin, left: scrollPosition.left + this._viewportMargin, right: scrollPosition.left + width - this._viewportMargin, bottom: scrollPosition.top + height - this._viewportMargin, width: width - 2 * this._viewportMargin, height: height - 2 * this._viewportMargin }; } /** Whether the we're dealing with an RTL context */ }, { key: "_isRtl", value: function _isRtl() { return this._overlayRef.getDirection() === 'rtl'; } /** Determines whether the overlay uses exact or flexible positioning. */ }, { key: "_hasExactPosition", value: function _hasExactPosition() { return !this._hasFlexibleDimensions || this._isPushed; } /** Retrieves the offset of a position along the x or y axis. */ }, { key: "_getOffset", value: function _getOffset(position, axis) { if (axis === 'x') { // We don't do something like `position['offset' + axis]` in // order to avoid breking minifiers that rename properties. return position.offsetX == null ? this._offsetX : position.offsetX; } return position.offsetY == null ? this._offsetY : position.offsetY; } /** Validates that the current position match the expected values. */ }, { key: "_validatePositions", value: function _validatePositions() { if (typeof ngDevMode === 'undefined' || ngDevMode) { if (!this._preferredPositions.length) { throw Error('FlexibleConnectedPositionStrategy: At least one position is required.'); } // TODO(crisbeto): remove these once Angular's template type // checking is advanced enough to catch these cases. this._preferredPositions.forEach(function (pair) { validateHorizontalPosition('originX', pair.originX); validateVerticalPosition('originY', pair.originY); validateHorizontalPosition('overlayX', pair.overlayX); validateVerticalPosition('overlayY', pair.overlayY); }); } } /** Adds a single CSS class or an array of classes on the overlay panel. */ }, { key: "_addPanelClasses", value: function _addPanelClasses(cssClasses) { var _this13 = this; if (this._pane) { Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceArray"])(cssClasses).forEach(function (cssClass) { if (cssClass !== '' && _this13._appliedPanelClasses.indexOf(cssClass) === -1) { _this13._appliedPanelClasses.push(cssClass); _this13._pane.classList.add(cssClass); } }); } } /** Clears the classes that the position strategy has applied from the overlay panel. */ }, { key: "_clearPanelClasses", value: function _clearPanelClasses() { var _this14 = this; if (this._pane) { this._appliedPanelClasses.forEach(function (cssClass) { _this14._pane.classList.remove(cssClass); }); this._appliedPanelClasses = []; } } /** Returns the ClientRect of the current origin. */ }, { key: "_getOriginRect", value: function _getOriginRect() { var origin = this._origin; if (origin instanceof _angular_core__WEBPACK_IMPORTED_MODULE_9__["ElementRef"]) { return origin.nativeElement.getBoundingClientRect(); } // Check for Element so SVG elements are also supported. if (origin instanceof Element) { return origin.getBoundingClientRect(); } var width = origin.width || 0; var height = origin.height || 0; // If the origin is a point, return a client rect as if it was a 0x0 element at the point. return { top: origin.y, bottom: origin.y + height, left: origin.x, right: origin.x + width, height: height, width: width }; } }]); return FlexibleConnectedPositionStrategy; }(); /** Shallow-extends a stylesheet object with another stylesheet object. */ function extendStyles(destination, source) { for (var key in source) { if (source.hasOwnProperty(key)) { destination[key] = source[key]; } } return destination; } /** * Extracts the pixel value as a number from a value, if it's a number * or a CSS pixel string (e.g. `1337px`). Otherwise returns null. */ function getPixelValue(input) { if (typeof input !== 'number' && input != null) { var _input$split = input.split(cssUnitPattern), _input$split2 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_input$split, 2), value = _input$split2[0], units = _input$split2[1]; return !units || units === 'px' ? parseFloat(value) : null; } return input || null; } /** * Gets a version of an element's bounding `ClientRect` where all the values are rounded down to * the nearest pixel. This allows us to account for the cases where there may be sub-pixel * deviations in the `ClientRect` returned by the browser (e.g. when zoomed in with a percentage * size, see #21350). */ function getRoundedBoundingClientRect(clientRect) { return { top: Math.floor(clientRect.top), right: Math.floor(clientRect.right), bottom: Math.floor(clientRect.bottom), left: Math.floor(clientRect.left), width: Math.floor(clientRect.width), height: Math.floor(clientRect.height) }; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * A strategy for positioning overlays. Using this strategy, an overlay is given an * implicit position relative to some origin element. The relative position is defined in terms of * a point on the origin element that is connected to a point on the overlay element. For example, * a basic dropdown is connecting the bottom-left corner of the origin to the top-left corner * of the overlay. * @deprecated Use `FlexibleConnectedPositionStrategy` instead. * @breaking-change 8.0.0 */ var ConnectedPositionStrategy = /*#__PURE__*/function () { function ConnectedPositionStrategy(originPos, overlayPos, connectedTo, viewportRuler, document, platform, overlayContainer) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, ConnectedPositionStrategy); /** Ordered list of preferred positions, from most to least desirable. */ this._preferredPositions = []; // Since the `ConnectedPositionStrategy` is deprecated and we don't want to maintain // the extra logic, we create an instance of the positioning strategy that has some // defaults that make it behave as the old position strategy and to which we'll // proxy all of the API calls. this._positionStrategy = new FlexibleConnectedPositionStrategy(connectedTo, viewportRuler, document, platform, overlayContainer).withFlexibleDimensions(false).withPush(false).withViewportMargin(0); this.withFallbackPosition(originPos, overlayPos); this.onPositionChange = this._positionStrategy.positionChanges; } /** Ordered list of preferred positions, from most to least desirable. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(ConnectedPositionStrategy, [{ key: "positions", get: function get() { return this._preferredPositions; } /** Attach this position strategy to an overlay. */ }, { key: "attach", value: function attach(overlayRef) { this._overlayRef = overlayRef; this._positionStrategy.attach(overlayRef); if (this._direction) { overlayRef.setDirection(this._direction); this._direction = null; } } /** Disposes all resources used by the position strategy. */ }, { key: "dispose", value: function dispose() { this._positionStrategy.dispose(); } /** @docs-private */ }, { key: "detach", value: function detach() { this._positionStrategy.detach(); } /** * Updates the position of the overlay element, using whichever preferred position relative * to the origin fits on-screen. * @docs-private */ }, { key: "apply", value: function apply() { this._positionStrategy.apply(); } /** * Re-positions the overlay element with the trigger in its last calculated position, * even if a position higher in the "preferred positions" list would now fit. This * allows one to re-align the panel without changing the orientation of the panel. */ }, { key: "recalculateLastPosition", value: function recalculateLastPosition() { this._positionStrategy.reapplyLastPosition(); } /** * Sets the list of Scrollable containers that host the origin element so that * on reposition we can evaluate if it or the overlay has been clipped or outside view. Every * Scrollable must be an ancestor element of the strategy's origin element. */ }, { key: "withScrollableContainers", value: function withScrollableContainers(scrollables) { this._positionStrategy.withScrollableContainers(scrollables); } /** * Adds a new preferred fallback position. * @param originPos * @param overlayPos */ }, { key: "withFallbackPosition", value: function withFallbackPosition(originPos, overlayPos, offsetX, offsetY) { var position = new ConnectionPositionPair(originPos, overlayPos, offsetX, offsetY); this._preferredPositions.push(position); this._positionStrategy.withPositions(this._preferredPositions); return this; } /** * Sets the layout direction so the overlay's position can be adjusted to match. * @param dir New layout direction. */ }, { key: "withDirection", value: function withDirection(dir) { // Since the direction might be declared before the strategy is attached, // we save the value in a temporary property and we'll transfer it to the // overlay ref on attachment. if (this._overlayRef) { this._overlayRef.setDirection(dir); } else { this._direction = dir; } return this; } /** * Sets an offset for the overlay's connection point on the x-axis * @param offset New offset in the X axis. */ }, { key: "withOffsetX", value: function withOffsetX(offset) { this._positionStrategy.withDefaultOffsetX(offset); return this; } /** * Sets an offset for the overlay's connection point on the y-axis * @param offset New offset in the Y axis. */ }, { key: "withOffsetY", value: function withOffsetY(offset) { this._positionStrategy.withDefaultOffsetY(offset); return this; } /** * Sets whether the overlay's position should be locked in after it is positioned * initially. When an overlay is locked in, it won't attempt to reposition itself * when the position is re-applied (e.g. when the user scrolls away). * @param isLocked Whether the overlay should locked in. */ }, { key: "withLockedPosition", value: function withLockedPosition(isLocked) { this._positionStrategy.withLockedPosition(isLocked); return this; } /** * Overwrites the current set of positions with an array of new ones. * @param positions Position pairs to be set on the strategy. */ }, { key: "withPositions", value: function withPositions(positions) { this._preferredPositions = positions.slice(); this._positionStrategy.withPositions(this._preferredPositions); return this; } /** * Sets the origin element, relative to which to position the overlay. * @param origin Reference to the new origin element. */ }, { key: "setOrigin", value: function setOrigin(origin) { this._positionStrategy.setOrigin(origin); return this; } }]); return ConnectedPositionStrategy; }(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Class to be added to the overlay pane wrapper. */ var wrapperClass = 'cdk-global-overlay-wrapper'; /** * A strategy for positioning overlays. Using this strategy, an overlay is given an * explicit position relative to the browser's viewport. We use flexbox, instead of * transforms, in order to avoid issues with subpixel rendering which can cause the * element to become blurry. */ var GlobalPositionStrategy = /*#__PURE__*/function () { function GlobalPositionStrategy() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, GlobalPositionStrategy); this._cssPosition = 'static'; this._topOffset = ''; this._bottomOffset = ''; this._leftOffset = ''; this._rightOffset = ''; this._alignItems = ''; this._justifyContent = ''; this._width = ''; this._height = ''; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(GlobalPositionStrategy, [{ key: "attach", value: function attach(overlayRef) { var config = overlayRef.getConfig(); this._overlayRef = overlayRef; if (this._width && !config.width) { overlayRef.updateSize({ width: this._width }); } if (this._height && !config.height) { overlayRef.updateSize({ height: this._height }); } overlayRef.hostElement.classList.add(wrapperClass); this._isDisposed = false; } /** * Sets the top position of the overlay. Clears any previously set vertical position. * @param value New top offset. */ }, { key: "top", value: function top() { var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; this._bottomOffset = ''; this._topOffset = value; this._alignItems = 'flex-start'; return this; } /** * Sets the left position of the overlay. Clears any previously set horizontal position. * @param value New left offset. */ }, { key: "left", value: function left() { var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; this._rightOffset = ''; this._leftOffset = value; this._justifyContent = 'flex-start'; return this; } /** * Sets the bottom position of the overlay. Clears any previously set vertical position. * @param value New bottom offset. */ }, { key: "bottom", value: function bottom() { var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; this._topOffset = ''; this._bottomOffset = value; this._alignItems = 'flex-end'; return this; } /** * Sets the right position of the overlay. Clears any previously set horizontal position. * @param value New right offset. */ }, { key: "right", value: function right() { var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; this._leftOffset = ''; this._rightOffset = value; this._justifyContent = 'flex-end'; return this; } /** * Sets the overlay width and clears any previously set width. * @param value New width for the overlay * @deprecated Pass the `width` through the `OverlayConfig`. * @breaking-change 8.0.0 */ }, { key: "width", value: function width() { var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; if (this._overlayRef) { this._overlayRef.updateSize({ width: value }); } else { this._width = value; } return this; } /** * Sets the overlay height and clears any previously set height. * @param value New height for the overlay * @deprecated Pass the `height` through the `OverlayConfig`. * @breaking-change 8.0.0 */ }, { key: "height", value: function height() { var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; if (this._overlayRef) { this._overlayRef.updateSize({ height: value }); } else { this._height = value; } return this; } /** * Centers the overlay horizontally with an optional offset. * Clears any previously set horizontal position. * * @param offset Overlay offset from the horizontal center. */ }, { key: "centerHorizontally", value: function centerHorizontally() { var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; this.left(offset); this._justifyContent = 'center'; return this; } /** * Centers the overlay vertically with an optional offset. * Clears any previously set vertical position. * * @param offset Overlay offset from the vertical center. */ }, { key: "centerVertically", value: function centerVertically() { var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; this.top(offset); this._alignItems = 'center'; return this; } /** * Apply the position to the element. * @docs-private */ }, { key: "apply", value: function apply() { // Since the overlay ref applies the strategy asynchronously, it could // have been disposed before it ends up being applied. If that is the // case, we shouldn't do anything. if (!this._overlayRef || !this._overlayRef.hasAttached()) { return; } var styles = this._overlayRef.overlayElement.style; var parentStyles = this._overlayRef.hostElement.style; var config = this._overlayRef.getConfig(); var width = config.width, height = config.height, maxWidth = config.maxWidth, maxHeight = config.maxHeight; var shouldBeFlushHorizontally = (width === '100%' || width === '100vw') && (!maxWidth || maxWidth === '100%' || maxWidth === '100vw'); var shouldBeFlushVertically = (height === '100%' || height === '100vh') && (!maxHeight || maxHeight === '100%' || maxHeight === '100vh'); styles.position = this._cssPosition; styles.marginLeft = shouldBeFlushHorizontally ? '0' : this._leftOffset; styles.marginTop = shouldBeFlushVertically ? '0' : this._topOffset; styles.marginBottom = this._bottomOffset; styles.marginRight = this._rightOffset; if (shouldBeFlushHorizontally) { parentStyles.justifyContent = 'flex-start'; } else if (this._justifyContent === 'center') { parentStyles.justifyContent = 'center'; } else if (this._overlayRef.getConfig().direction === 'rtl') { // In RTL the browser will invert `flex-start` and `flex-end` automatically, but we // don't want that because our positioning is explicitly `left` and `right`, hence // why we do another inversion to ensure that the overlay stays in the same position. // TODO: reconsider this if we add `start` and `end` methods. if (this._justifyContent === 'flex-start') { parentStyles.justifyContent = 'flex-end'; } else if (this._justifyContent === 'flex-end') { parentStyles.justifyContent = 'flex-start'; } } else { parentStyles.justifyContent = this._justifyContent; } parentStyles.alignItems = shouldBeFlushVertically ? 'flex-start' : this._alignItems; } /** * Cleans up the DOM changes from the position strategy. * @docs-private */ }, { key: "dispose", value: function dispose() { if (this._isDisposed || !this._overlayRef) { return; } var styles = this._overlayRef.overlayElement.style; var parent = this._overlayRef.hostElement; var parentStyles = parent.style; parent.classList.remove(wrapperClass); parentStyles.justifyContent = parentStyles.alignItems = styles.marginTop = styles.marginBottom = styles.marginLeft = styles.marginRight = styles.position = ''; this._overlayRef = null; this._isDisposed = true; } }]); return GlobalPositionStrategy; }(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Builder for overlay position strategy. */ var OverlayPositionBuilder = /*#__PURE__*/function () { function OverlayPositionBuilder(_viewportRuler, _document, _platform, _overlayContainer) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, OverlayPositionBuilder); this._viewportRuler = _viewportRuler; this._document = _document; this._platform = _platform; this._overlayContainer = _overlayContainer; } /** * Creates a global position strategy. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(OverlayPositionBuilder, [{ key: "global", value: function global() { return new GlobalPositionStrategy(); } /** * Creates a relative position strategy. * @param elementRef * @param originPos * @param overlayPos * @deprecated Use `flexibleConnectedTo` instead. * @breaking-change 8.0.0 */ }, { key: "connectedTo", value: function connectedTo(elementRef, originPos, overlayPos) { return new ConnectedPositionStrategy(originPos, overlayPos, elementRef, this._viewportRuler, this._document, this._platform, this._overlayContainer); } /** * Creates a flexible position strategy. * @param origin Origin relative to which to position the overlay. */ }, { key: "flexibleConnectedTo", value: function flexibleConnectedTo(origin) { return new FlexibleConnectedPositionStrategy(origin, this._viewportRuler, this._document, this._platform, this._overlayContainer); } }]); return OverlayPositionBuilder; }(); OverlayPositionBuilder.ɵfac = function OverlayPositionBuilder_Factory(t) { return new (t || OverlayPositionBuilder)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ViewportRuler"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](OverlayContainer)); }; OverlayPositionBuilder.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"])({ factory: function OverlayPositionBuilder_Factory() { return new OverlayPositionBuilder(Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ViewportRuler"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(OverlayContainer)); }, token: OverlayPositionBuilder, providedIn: "root" }); OverlayPositionBuilder.ctorParameters = function () { return [{ type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ViewportRuler"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"] }, { type: OverlayContainer }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](OverlayPositionBuilder, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Injectable"], args: [{ providedIn: 'root' }] }], function () { return [{ type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ViewportRuler"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"] }, { type: OverlayContainer }]; }, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Next overlay unique ID. */ var nextUniqueId = 0; // Note that Overlay is *not* scoped to the app root because of the ComponentFactoryResolver // which needs to be different depending on where OverlayModule is imported. /** * Service to create Overlays. Overlays are dynamically added pieces of floating UI, meant to be * used as a low-level building block for other components. Dialogs, tooltips, menus, * selects, etc. can all be built using overlays. The service should primarily be used by authors * of re-usable components rather than developers building end-user applications. * * An overlay *is* a PortalOutlet, so any kind of Portal can be loaded into one. */ var Overlay = /*#__PURE__*/function () { function Overlay( /** Scrolling strategies that can be used when creating an overlay. */ scrollStrategies, _overlayContainer, _componentFactoryResolver, _positionBuilder, _keyboardDispatcher, _injector, _ngZone, _document, _directionality, _location, _outsideClickDispatcher) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, Overlay); this.scrollStrategies = scrollStrategies; this._overlayContainer = _overlayContainer; this._componentFactoryResolver = _componentFactoryResolver; this._positionBuilder = _positionBuilder; this._keyboardDispatcher = _keyboardDispatcher; this._injector = _injector; this._ngZone = _ngZone; this._document = _document; this._directionality = _directionality; this._location = _location; this._outsideClickDispatcher = _outsideClickDispatcher; } /** * Creates an overlay. * @param config Configuration applied to the overlay. * @returns Reference to the created overlay. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(Overlay, [{ key: "create", value: function create(config) { var host = this._createHostElement(); var pane = this._createPaneElement(host); var portalOutlet = this._createPortalOutlet(pane); var overlayConfig = new OverlayConfig(config); overlayConfig.direction = overlayConfig.direction || this._directionality.value; return new OverlayRef(portalOutlet, host, pane, overlayConfig, this._ngZone, this._keyboardDispatcher, this._document, this._location, this._outsideClickDispatcher); } /** * Gets a position builder that can be used, via fluent API, * to construct and configure a position strategy. * @returns An overlay position builder. */ }, { key: "position", value: function position() { return this._positionBuilder; } /** * Creates the DOM element for an overlay and appends it to the overlay container. * @returns Newly-created pane element */ }, { key: "_createPaneElement", value: function _createPaneElement(host) { var pane = this._document.createElement('div'); pane.id = "cdk-overlay-".concat(nextUniqueId++); pane.classList.add('cdk-overlay-pane'); host.appendChild(pane); return pane; } /** * Creates the host element that wraps around an overlay * and can be used for advanced positioning. * @returns Newly-create host element. */ }, { key: "_createHostElement", value: function _createHostElement() { var host = this._document.createElement('div'); this._overlayContainer.getContainerElement().appendChild(host); return host; } /** * Create a DomPortalOutlet into which the overlay content can be loaded. * @param pane The DOM element to turn into a portal outlet. * @returns A portal outlet for the given DOM element. */ }, { key: "_createPortalOutlet", value: function _createPortalOutlet(pane) { // We have to resolve the ApplicationRef later in order to allow people // to use overlay-based providers during app initialization. if (!this._appRef) { this._appRef = this._injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ApplicationRef"]); } return new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_14__["DomPortalOutlet"](pane, this._componentFactoryResolver, this._appRef, this._injector, this._document); } }]); return Overlay; }(); Overlay.ɵfac = function Overlay_Factory(t) { return new (t || Overlay)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](ScrollStrategyOptions), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](OverlayContainer), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ComponentFactoryResolver"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](OverlayPositionBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](OverlayKeyboardDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["Injector"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_11__["Directionality"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_12__["Location"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](OverlayOutsideClickDispatcher)); }; Overlay.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"]({ token: Overlay, factory: Overlay.ɵfac }); Overlay.ctorParameters = function () { return [{ type: ScrollStrategyOptions }, { type: OverlayContainer }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ComponentFactoryResolver"] }, { type: OverlayPositionBuilder }, { type: OverlayKeyboardDispatcher }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Injector"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_11__["Directionality"] }, { type: _angular_common__WEBPACK_IMPORTED_MODULE_12__["Location"] }, { type: OverlayOutsideClickDispatcher }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](Overlay, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Injectable"] }], function () { return [{ type: ScrollStrategyOptions }, { type: OverlayContainer }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ComponentFactoryResolver"] }, { type: OverlayPositionBuilder }, { type: OverlayKeyboardDispatcher }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Injector"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_11__["Directionality"] }, { type: _angular_common__WEBPACK_IMPORTED_MODULE_12__["Location"] }, { type: OverlayOutsideClickDispatcher }]; }, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Default set of positions for the overlay. Follows the behavior of a dropdown. */ var defaultPositionList = [{ originX: 'start', originY: 'bottom', overlayX: 'start', overlayY: 'top' }, { originX: 'start', originY: 'top', overlayX: 'start', overlayY: 'bottom' }, { originX: 'end', originY: 'top', overlayX: 'end', overlayY: 'bottom' }, { originX: 'end', originY: 'bottom', overlayX: 'end', overlayY: 'top' }]; /** Injection token that determines the scroll handling while the connected overlay is open. */ var CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_9__["InjectionToken"]('cdk-connected-overlay-scroll-strategy'); /** * Directive applied to an element to make it usable as an origin for an Overlay using a * ConnectedPositionStrategy. */ var CdkOverlayOrigin = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(function CdkOverlayOrigin( /** Reference to the element on which the directive is applied. */ elementRef) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, CdkOverlayOrigin); this.elementRef = elementRef; }); CdkOverlayOrigin.ɵfac = function CdkOverlayOrigin_Factory(t) { return new (t || CdkOverlayOrigin)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ElementRef"])); }; CdkOverlayOrigin.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineDirective"]({ type: CdkOverlayOrigin, selectors: [["", "cdk-overlay-origin", ""], ["", "overlay-origin", ""], ["", "cdkOverlayOrigin", ""]], exportAs: ["cdkOverlayOrigin"] }); CdkOverlayOrigin.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ElementRef"] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](CdkOverlayOrigin, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Directive"], args: [{ selector: '[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]', exportAs: 'cdkOverlayOrigin' }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ElementRef"] }]; }, null); })(); /** * Directive to facilitate declarative creation of an * Overlay using a FlexibleConnectedPositionStrategy. */ var CdkConnectedOverlay = /*#__PURE__*/function () { // TODO(jelbourn): inputs for size, scroll behavior, animation, etc. function CdkConnectedOverlay(_overlay, templateRef, viewContainerRef, scrollStrategyFactory, _dir) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, CdkConnectedOverlay); this._overlay = _overlay; this._dir = _dir; this._hasBackdrop = false; this._lockPosition = false; this._growAfterOpen = false; this._flexibleDimensions = false; this._push = false; this._backdropSubscription = rxjs__WEBPACK_IMPORTED_MODULE_15__["Subscription"].EMPTY; this._attachSubscription = rxjs__WEBPACK_IMPORTED_MODULE_15__["Subscription"].EMPTY; this._detachSubscription = rxjs__WEBPACK_IMPORTED_MODULE_15__["Subscription"].EMPTY; this._positionSubscription = rxjs__WEBPACK_IMPORTED_MODULE_15__["Subscription"].EMPTY; /** Margin between the overlay and the viewport edges. */ this.viewportMargin = 0; /** Whether the overlay is open. */ this.open = false; /** Whether the overlay can be closed by user interaction. */ this.disableClose = false; /** Event emitted when the backdrop is clicked. */ this.backdropClick = new _angular_core__WEBPACK_IMPORTED_MODULE_9__["EventEmitter"](); /** Event emitted when the position has changed. */ this.positionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_9__["EventEmitter"](); /** Event emitted when the overlay has been attached. */ this.attach = new _angular_core__WEBPACK_IMPORTED_MODULE_9__["EventEmitter"](); /** Event emitted when the overlay has been detached. */ this.detach = new _angular_core__WEBPACK_IMPORTED_MODULE_9__["EventEmitter"](); /** Emits when there are keyboard events that are targeted at the overlay. */ this.overlayKeydown = new _angular_core__WEBPACK_IMPORTED_MODULE_9__["EventEmitter"](); /** Emits when there are mouse outside click events that are targeted at the overlay. */ this.overlayOutsideClick = new _angular_core__WEBPACK_IMPORTED_MODULE_9__["EventEmitter"](); this._templatePortal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_14__["TemplatePortal"](templateRef, viewContainerRef); this._scrollStrategyFactory = scrollStrategyFactory; this.scrollStrategy = this._scrollStrategyFactory(); } /** The offset in pixels for the overlay connection point on the x-axis */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(CdkConnectedOverlay, [{ key: "offsetX", get: function get() { return this._offsetX; }, set: function set(offsetX) { this._offsetX = offsetX; if (this._position) { this._updatePositionStrategy(this._position); } } /** The offset in pixels for the overlay connection point on the y-axis */ }, { key: "offsetY", get: function get() { return this._offsetY; }, set: function set(offsetY) { this._offsetY = offsetY; if (this._position) { this._updatePositionStrategy(this._position); } } /** Whether or not the overlay should attach a backdrop. */ }, { key: "hasBackdrop", get: function get() { return this._hasBackdrop; }, set: function set(value) { this._hasBackdrop = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceBooleanProperty"])(value); } /** Whether or not the overlay should be locked when scrolling. */ }, { key: "lockPosition", get: function get() { return this._lockPosition; }, set: function set(value) { this._lockPosition = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceBooleanProperty"])(value); } /** Whether the overlay's width and height can be constrained to fit within the viewport. */ }, { key: "flexibleDimensions", get: function get() { return this._flexibleDimensions; }, set: function set(value) { this._flexibleDimensions = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceBooleanProperty"])(value); } /** Whether the overlay can grow after the initial open when flexible positioning is turned on. */ }, { key: "growAfterOpen", get: function get() { return this._growAfterOpen; }, set: function set(value) { this._growAfterOpen = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceBooleanProperty"])(value); } /** Whether the overlay can be pushed on-screen if none of the provided positions fit. */ }, { key: "push", get: function get() { return this._push; }, set: function set(value) { this._push = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_13__["coerceBooleanProperty"])(value); } /** The associated overlay reference. */ }, { key: "overlayRef", get: function get() { return this._overlayRef; } /** The element's layout direction. */ }, { key: "dir", get: function get() { return this._dir ? this._dir.value : 'ltr'; } }, { key: "ngOnDestroy", value: function ngOnDestroy() { this._attachSubscription.unsubscribe(); this._detachSubscription.unsubscribe(); this._backdropSubscription.unsubscribe(); this._positionSubscription.unsubscribe(); if (this._overlayRef) { this._overlayRef.dispose(); } } }, { key: "ngOnChanges", value: function ngOnChanges(changes) { if (this._position) { this._updatePositionStrategy(this._position); this._overlayRef.updateSize({ width: this.width, minWidth: this.minWidth, height: this.height, minHeight: this.minHeight }); if (changes['origin'] && this.open) { this._position.apply(); } } if (changes['open']) { this.open ? this._attachOverlay() : this._detachOverlay(); } } /** Creates an overlay */ }, { key: "_createOverlay", value: function _createOverlay() { var _this15 = this; if (!this.positions || !this.positions.length) { this.positions = defaultPositionList; } var overlayRef = this._overlayRef = this._overlay.create(this._buildConfig()); this._attachSubscription = overlayRef.attachments().subscribe(function () { return _this15.attach.emit(); }); this._detachSubscription = overlayRef.detachments().subscribe(function () { return _this15.detach.emit(); }); overlayRef.keydownEvents().subscribe(function (event) { _this15.overlayKeydown.next(event); if (event.keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_17__["ESCAPE"] && !_this15.disableClose && !Object(_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_17__["hasModifierKey"])(event)) { event.preventDefault(); _this15._detachOverlay(); } }); this._overlayRef.outsidePointerEvents().subscribe(function (event) { _this15.overlayOutsideClick.next(event); }); } /** Builds the overlay config based on the directive's inputs */ }, { key: "_buildConfig", value: function _buildConfig() { var positionStrategy = this._position = this.positionStrategy || this._createPositionStrategy(); var overlayConfig = new OverlayConfig({ direction: this._dir, positionStrategy: positionStrategy, scrollStrategy: this.scrollStrategy, hasBackdrop: this.hasBackdrop }); if (this.width || this.width === 0) { overlayConfig.width = this.width; } if (this.height || this.height === 0) { overlayConfig.height = this.height; } if (this.minWidth || this.minWidth === 0) { overlayConfig.minWidth = this.minWidth; } if (this.minHeight || this.minHeight === 0) { overlayConfig.minHeight = this.minHeight; } if (this.backdropClass) { overlayConfig.backdropClass = this.backdropClass; } if (this.panelClass) { overlayConfig.panelClass = this.panelClass; } return overlayConfig; } /** Updates the state of a position strategy, based on the values of the directive inputs. */ }, { key: "_updatePositionStrategy", value: function _updatePositionStrategy(positionStrategy) { var _this16 = this; var positions = this.positions.map(function (currentPosition) { return { originX: currentPosition.originX, originY: currentPosition.originY, overlayX: currentPosition.overlayX, overlayY: currentPosition.overlayY, offsetX: currentPosition.offsetX || _this16.offsetX, offsetY: currentPosition.offsetY || _this16.offsetY, panelClass: currentPosition.panelClass || undefined }; }); return positionStrategy.setOrigin(this.origin.elementRef).withPositions(positions).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector); } /** Returns the position strategy of the overlay to be set on the overlay config */ }, { key: "_createPositionStrategy", value: function _createPositionStrategy() { var strategy = this._overlay.position().flexibleConnectedTo(this.origin.elementRef); this._updatePositionStrategy(strategy); return strategy; } /** Attaches the overlay and subscribes to backdrop clicks if backdrop exists */ }, { key: "_attachOverlay", value: function _attachOverlay() { var _this17 = this; if (!this._overlayRef) { this._createOverlay(); } else { // Update the overlay size, in case the directive's inputs have changed this._overlayRef.getConfig().hasBackdrop = this.hasBackdrop; } if (!this._overlayRef.hasAttached()) { this._overlayRef.attach(this._templatePortal); } if (this.hasBackdrop) { this._backdropSubscription = this._overlayRef.backdropClick().subscribe(function (event) { _this17.backdropClick.emit(event); }); } else { this._backdropSubscription.unsubscribe(); } this._positionSubscription.unsubscribe(); // Only subscribe to `positionChanges` if requested, because putting // together all the information for it can be expensive. if (this.positionChange.observers.length > 0) { this._positionSubscription = this._position.positionChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__["takeWhile"])(function () { return _this17.positionChange.observers.length > 0; })).subscribe(function (position) { _this17.positionChange.emit(position); if (_this17.positionChange.observers.length === 0) { _this17._positionSubscription.unsubscribe(); } }); } } /** Detaches the overlay and unsubscribes to backdrop clicks if backdrop exists */ }, { key: "_detachOverlay", value: function _detachOverlay() { if (this._overlayRef) { this._overlayRef.detach(); } this._backdropSubscription.unsubscribe(); this._positionSubscription.unsubscribe(); } }]); return CdkConnectedOverlay; }(); CdkConnectedOverlay.ɵfac = function CdkConnectedOverlay_Factory(t) { return new (t || CdkConnectedOverlay)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](Overlay), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["TemplateRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ViewContainerRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_11__["Directionality"], 8)); }; CdkConnectedOverlay.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineDirective"]({ type: CdkConnectedOverlay, selectors: [["", "cdk-connected-overlay", ""], ["", "connected-overlay", ""], ["", "cdkConnectedOverlay", ""]], inputs: { viewportMargin: ["cdkConnectedOverlayViewportMargin", "viewportMargin"], open: ["cdkConnectedOverlayOpen", "open"], disableClose: ["cdkConnectedOverlayDisableClose", "disableClose"], scrollStrategy: ["cdkConnectedOverlayScrollStrategy", "scrollStrategy"], offsetX: ["cdkConnectedOverlayOffsetX", "offsetX"], offsetY: ["cdkConnectedOverlayOffsetY", "offsetY"], hasBackdrop: ["cdkConnectedOverlayHasBackdrop", "hasBackdrop"], lockPosition: ["cdkConnectedOverlayLockPosition", "lockPosition"], flexibleDimensions: ["cdkConnectedOverlayFlexibleDimensions", "flexibleDimensions"], growAfterOpen: ["cdkConnectedOverlayGrowAfterOpen", "growAfterOpen"], push: ["cdkConnectedOverlayPush", "push"], positions: ["cdkConnectedOverlayPositions", "positions"], origin: ["cdkConnectedOverlayOrigin", "origin"], positionStrategy: ["cdkConnectedOverlayPositionStrategy", "positionStrategy"], width: ["cdkConnectedOverlayWidth", "width"], height: ["cdkConnectedOverlayHeight", "height"], minWidth: ["cdkConnectedOverlayMinWidth", "minWidth"], minHeight: ["cdkConnectedOverlayMinHeight", "minHeight"], backdropClass: ["cdkConnectedOverlayBackdropClass", "backdropClass"], panelClass: ["cdkConnectedOverlayPanelClass", "panelClass"], transformOriginSelector: ["cdkConnectedOverlayTransformOriginOn", "transformOriginSelector"] }, outputs: { backdropClick: "backdropClick", positionChange: "positionChange", attach: "attach", detach: "detach", overlayKeydown: "overlayKeydown", overlayOutsideClick: "overlayOutsideClick" }, exportAs: ["cdkConnectedOverlay"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵNgOnChangesFeature"]] }); CdkConnectedOverlay.ctorParameters = function () { return [{ type: Overlay }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["TemplateRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ViewContainerRef"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY] }] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_11__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }] }]; }; CdkConnectedOverlay.propDecorators = { origin: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayOrigin'] }], positions: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayPositions'] }], positionStrategy: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayPositionStrategy'] }], offsetX: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayOffsetX'] }], offsetY: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayOffsetY'] }], width: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayWidth'] }], height: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayHeight'] }], minWidth: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayMinWidth'] }], minHeight: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayMinHeight'] }], backdropClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayBackdropClass'] }], panelClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayPanelClass'] }], viewportMargin: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayViewportMargin'] }], scrollStrategy: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayScrollStrategy'] }], open: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayOpen'] }], disableClose: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayDisableClose'] }], transformOriginSelector: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayTransformOriginOn'] }], hasBackdrop: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayHasBackdrop'] }], lockPosition: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayLockPosition'] }], flexibleDimensions: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayFlexibleDimensions'] }], growAfterOpen: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayGrowAfterOpen'] }], push: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayPush'] }], backdropClick: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], positionChange: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], attach: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], detach: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], overlayKeydown: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], overlayOutsideClick: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }] }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](CdkConnectedOverlay, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Directive"], args: [{ selector: '[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]', exportAs: 'cdkConnectedOverlay' }] }], function () { return [{ type: Overlay }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["TemplateRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ViewContainerRef"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY] }] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_11__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }] }]; }, { viewportMargin: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayViewportMargin'] }], open: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayOpen'] }], disableClose: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayDisableClose'] }], backdropClick: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], positionChange: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], attach: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], detach: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], overlayKeydown: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], overlayOutsideClick: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], scrollStrategy: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayScrollStrategy'] }], offsetX: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayOffsetX'] }], offsetY: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayOffsetY'] }], hasBackdrop: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayHasBackdrop'] }], lockPosition: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayLockPosition'] }], flexibleDimensions: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayFlexibleDimensions'] }], growAfterOpen: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayGrowAfterOpen'] }], push: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayPush'] }], positions: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayPositions'] }], origin: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayOrigin'] }], positionStrategy: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayPositionStrategy'] }], width: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayWidth'] }], height: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayHeight'] }], minWidth: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayMinWidth'] }], minHeight: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayMinHeight'] }], backdropClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayBackdropClass'] }], panelClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayPanelClass'] }], transformOriginSelector: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"], args: ['cdkConnectedOverlayTransformOriginOn'] }] }); })(); /** @docs-private */ function CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) { return function () { return overlay.scrollStrategies.reposition(); }; } /** @docs-private */ var CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER = { provide: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY, deps: [Overlay], useFactory: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY }; /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var OverlayModule = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(function OverlayModule() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, OverlayModule); }); OverlayModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineNgModule"]({ type: OverlayModule }); OverlayModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjector"]({ factory: function OverlayModule_Factory(t) { return new (t || OverlayModule)(); }, providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER], imports: [[_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_11__["BidiModule"], _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_14__["PortalModule"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ScrollingModule"]], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ScrollingModule"]] }); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsetNgModuleScope"](OverlayModule, { declarations: function declarations() { return [CdkConnectedOverlay, CdkOverlayOrigin]; }, imports: function imports() { return [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_11__["BidiModule"], _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_14__["PortalModule"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ScrollingModule"]]; }, exports: function exports() { return [CdkConnectedOverlay, CdkOverlayOrigin, _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ScrollingModule"]]; } }); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](OverlayModule, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgModule"], args: [{ imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_11__["BidiModule"], _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_14__["PortalModule"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ScrollingModule"]], exports: [CdkConnectedOverlay, CdkOverlayOrigin, _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_8__["ScrollingModule"]], declarations: [CdkConnectedOverlay, CdkOverlayOrigin], providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER] }] }], null, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Alternative to OverlayContainer that supports correct displaying of overlay elements in * Fullscreen mode * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen * * Should be provided in the root component. */ var FullscreenOverlayContainer = /*#__PURE__*/function (_OverlayContainer) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(FullscreenOverlayContainer, _OverlayContainer); var _super3 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__["default"])(FullscreenOverlayContainer); function FullscreenOverlayContainer(_document, platform) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, FullscreenOverlayContainer); return _super3.call(this, _document, platform); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(FullscreenOverlayContainer, [{ key: "ngOnDestroy", value: function ngOnDestroy() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(FullscreenOverlayContainer.prototype), "ngOnDestroy", this).call(this); if (this._fullScreenEventName && this._fullScreenListener) { this._document.removeEventListener(this._fullScreenEventName, this._fullScreenListener); } } }, { key: "_createContainer", value: function _createContainer() { var _this18 = this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(FullscreenOverlayContainer.prototype), "_createContainer", this).call(this); this._adjustParentForFullscreenChange(); this._addFullscreenChangeListener(function () { return _this18._adjustParentForFullscreenChange(); }); } }, { key: "_adjustParentForFullscreenChange", value: function _adjustParentForFullscreenChange() { if (!this._containerElement) { return; } var fullscreenElement = this.getFullscreenElement(); var parent = fullscreenElement || this._document.body; parent.appendChild(this._containerElement); } }, { key: "_addFullscreenChangeListener", value: function _addFullscreenChangeListener(fn) { var eventName = this._getEventName(); if (eventName) { if (this._fullScreenListener) { this._document.removeEventListener(eventName, this._fullScreenListener); } this._document.addEventListener(eventName, fn); this._fullScreenListener = fn; } } }, { key: "_getEventName", value: function _getEventName() { if (!this._fullScreenEventName) { var _document = this._document; if (_document.fullscreenEnabled) { this._fullScreenEventName = 'fullscreenchange'; } else if (_document.webkitFullscreenEnabled) { this._fullScreenEventName = 'webkitfullscreenchange'; } else if (_document.mozFullScreenEnabled) { this._fullScreenEventName = 'mozfullscreenchange'; } else if (_document.msFullscreenEnabled) { this._fullScreenEventName = 'MSFullscreenChange'; } } return this._fullScreenEventName; } /** * When the page is put into fullscreen mode, a specific element is specified. * Only that element and its children are visible when in fullscreen mode. */ }, { key: "getFullscreenElement", value: function getFullscreenElement() { var _document = this._document; return _document.fullscreenElement || _document.webkitFullscreenElement || _document.mozFullScreenElement || _document.msFullscreenElement || null; } }]); return FullscreenOverlayContainer; }(OverlayContainer); FullscreenOverlayContainer.ɵfac = function FullscreenOverlayContainer_Factory(t) { return new (t || FullscreenOverlayContainer)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"])); }; FullscreenOverlayContainer.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"])({ factory: function FullscreenOverlayContainer_Factory() { return new FullscreenOverlayContainer(Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"])); }, token: FullscreenOverlayContainer, providedIn: "root" }); FullscreenOverlayContainer.ctorParameters = function () { return [{ type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](FullscreenOverlayContainer, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Injectable"], args: [{ providedIn: 'root' }] }], function () { return [{ type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["DOCUMENT"]] }] }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_10__["Platform"] }]; }, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Generated bundle index. Do not edit. */ /***/ }), /***/ "1OyB": /*!*******************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***! \*******************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _classCallCheck; }); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } /***/ }), /***/ "1PZI": /*!********************************************************!*\ !*** ./node_modules/date-fns/esm/isYesterday/index.js ***! \********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return isYesterday; }); /* harmony import */ var _isSameDay_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../isSameDay/index.js */ "G6Tw"); /* harmony import */ var _subDays_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../subDays/index.js */ "Xep9"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name isYesterday * @category Day Helpers * @summary Is the given date yesterday? * @pure false * * @description * Is the given date yesterday? * * > ⚠️ Please note that this function is not present in the FP submodule as * > it uses `Date.now()` internally hence impure and can't be safely curried. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the date to check * @returns {Boolean} the date is yesterday * @throws {TypeError} 1 argument required * * @example * // If today is 6 October 2014, is 5 October 14:00:00 yesterday? * var result = isYesterday(new Date(2014, 9, 5, 14, 0)) * //=> true */ function isYesterday(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(1, arguments); return Object(_isSameDay_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate, Object(_subDays_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(Date.now(), 1)); } /***/ }), /***/ "1Ykd": /*!*********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/sampleTime.js ***! \*********************************************************************/ /*! exports provided: sampleTime */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sampleTime", function() { return sampleTime; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized */ "JX7q"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Subscriber */ "7o/Q"); /* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../scheduler/async */ "D0XW"); function sampleTime(period) { var scheduler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _scheduler_async__WEBPACK_IMPORTED_MODULE_6__["async"]; return function (source) { return source.lift(new SampleTimeOperator(period, scheduler)); }; } var SampleTimeOperator = /*#__PURE__*/function () { function SampleTimeOperator(period, scheduler) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__["default"])(this, SampleTimeOperator); this.period = period; this.scheduler = scheduler; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__["default"])(SampleTimeOperator, [{ key: "call", value: function call(subscriber, source) { return source.subscribe(new SampleTimeSubscriber(subscriber, this.period, this.scheduler)); } }]); return SampleTimeOperator; }(); var SampleTimeSubscriber = /*#__PURE__*/function (_Subscriber) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_1__["default"])(SampleTimeSubscriber, _Subscriber); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_2__["default"])(SampleTimeSubscriber); function SampleTimeSubscriber(destination, period, scheduler) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__["default"])(this, SampleTimeSubscriber); _this = _super.call(this, destination); _this.period = period; _this.scheduler = scheduler; _this.hasValue = false; _this.add(scheduler.schedule(dispatchNotification, period, { subscriber: Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__["default"])(_this), period: period })); return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__["default"])(SampleTimeSubscriber, [{ key: "_next", value: function _next(value) { this.lastValue = value; this.hasValue = true; } }, { key: "notifyNext", value: function notifyNext() { if (this.hasValue) { this.hasValue = false; this.destination.next(this.lastValue); } } }]); return SampleTimeSubscriber; }(_Subscriber__WEBPACK_IMPORTED_MODULE_5__["Subscriber"]); function dispatchNotification(state) { var subscriber = state.subscriber, period = state.period; subscriber.notifyNext(); this.schedule(state, period); } /***/ }), /***/ "1dmy": /*!***********************************************************!*\ !*** ./node_modules/date-fns/esm/startOfISOWeek/index.js ***! \***********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return startOfISOWeek; }); /* harmony import */ var _startOfWeek_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../startOfWeek/index.js */ "aetl"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name startOfISOWeek * @category ISO Week Helpers * @summary Return the start of an ISO week for the given date. * * @description * Return the start of an ISO week for the given date. * The result will be in the local timezone. * * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the original date * @returns {Date} the start of an ISO week * @throws {TypeError} 1 argument required * * @example * // The start of an ISO week for 2 September 2014 11:55:00: * var result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0)) * //=> Mon Sep 01 2014 00:00:00 */ function startOfISOWeek(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); return Object(_startOfWeek_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate, { weekStartsOn: 1 }); } /***/ }), /***/ "1izz": /*!*****************************************************************************!*\ !*** ./node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js ***! \*****************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var formatDistanceLocale = { lessThanXSeconds: { one: 'less than a second', other: 'less than {{count}} seconds' }, xSeconds: { one: '1 second', other: '{{count}} seconds' }, halfAMinute: 'half a minute', lessThanXMinutes: { one: 'less than a minute', other: 'less than {{count}} minutes' }, xMinutes: { one: '1 minute', other: '{{count}} minutes' }, aboutXHours: { one: 'about 1 hour', other: 'about {{count}} hours' }, xHours: { one: '1 hour', other: '{{count}} hours' }, xDays: { one: '1 day', other: '{{count}} days' }, aboutXWeeks: { one: 'about 1 week', other: 'about {{count}} weeks' }, xWeeks: { one: '1 week', other: '{{count}} weeks' }, aboutXMonths: { one: 'about 1 month', other: 'about {{count}} months' }, xMonths: { one: '1 month', other: '{{count}} months' }, aboutXYears: { one: 'about 1 year', other: 'about {{count}} years' }, xYears: { one: '1 year', other: '{{count}} years' }, overXYears: { one: 'over 1 year', other: 'over {{count}} years' }, almostXYears: { one: 'almost 1 year', other: 'almost {{count}} years' } }; var formatDistance = function formatDistance(token, count, options) { var result; var tokenValue = formatDistanceLocale[token]; if (typeof tokenValue === 'string') { result = tokenValue; } else if (count === 1) { result = tokenValue.one; } else { result = tokenValue.other.replace('{{count}}', count.toString()); } if (options !== null && options !== void 0 && options.addSuffix) { if (options.comparison && options.comparison > 0) { return 'in ' + result; } else { return result + ' ago'; } } return result; }; /* harmony default export */ __webpack_exports__["default"] = (formatDistance); /***/ }), /***/ "1uah": /*!***************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/observable/zip.js ***! \***************************************************************/ /*! exports provided: zip, ZipOperator, ZipSubscriber */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zip", function() { return zip; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ZipOperator", function() { return ZipOperator; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ZipSubscriber", function() { return ZipSubscriber; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fromArray */ "yCtX"); /* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/isArray */ "DH7j"); /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Subscriber */ "7o/Q"); /* harmony import */ var _internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../internal/symbol/iterator */ "Lhse"); /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../innerSubscribe */ "zx2A"); function zip() { for (var _len = arguments.length, observables = new Array(_len), _key = 0; _key < _len; _key++) { observables[_key] = arguments[_key]; } var resultSelector = observables[observables.length - 1]; if (typeof resultSelector === 'function') { observables.pop(); } return Object(_fromArray__WEBPACK_IMPORTED_MODULE_4__["fromArray"])(observables, undefined).lift(new ZipOperator(resultSelector)); } var ZipOperator = /*#__PURE__*/function () { function ZipOperator(resultSelector) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, ZipOperator); this.resultSelector = resultSelector; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(ZipOperator, [{ key: "call", value: function call(subscriber, source) { return source.subscribe(new ZipSubscriber(subscriber, this.resultSelector)); } }]); return ZipOperator; }(); var ZipSubscriber = /*#__PURE__*/function (_Subscriber) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__["default"])(ZipSubscriber, _Subscriber); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__["default"])(ZipSubscriber); function ZipSubscriber(destination, resultSelector) { var _this; var values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Object.create(null); Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, ZipSubscriber); _this = _super.call(this, destination); _this.resultSelector = resultSelector; _this.iterators = []; _this.active = 0; _this.resultSelector = typeof resultSelector === 'function' ? resultSelector : undefined; return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(ZipSubscriber, [{ key: "_next", value: function _next(value) { var iterators = this.iterators; if (Object(_util_isArray__WEBPACK_IMPORTED_MODULE_5__["isArray"])(value)) { iterators.push(new StaticArrayIterator(value)); } else if (typeof value[_internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_7__["iterator"]] === 'function') { iterators.push(new StaticIterator(value[_internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_7__["iterator"]]())); } else { iterators.push(new ZipBufferIterator(this.destination, this, value)); } } }, { key: "_complete", value: function _complete() { var iterators = this.iterators; var len = iterators.length; this.unsubscribe(); if (len === 0) { this.destination.complete(); return; } this.active = len; for (var i = 0; i < len; i++) { var iterator = iterators[i]; if (iterator.stillUnsubscribed) { var destination = this.destination; destination.add(iterator.subscribe()); } else { this.active--; } } } }, { key: "notifyInactive", value: function notifyInactive() { this.active--; if (this.active === 0) { this.destination.complete(); } } }, { key: "checkIterators", value: function checkIterators() { var iterators = this.iterators; var len = iterators.length; var destination = this.destination; for (var i = 0; i < len; i++) { var iterator = iterators[i]; if (typeof iterator.hasValue === 'function' && !iterator.hasValue()) { return; } } var shouldComplete = false; var args = []; for (var _i = 0; _i < len; _i++) { var _iterator = iterators[_i]; var result = _iterator.next(); if (_iterator.hasCompleted()) { shouldComplete = true; } if (result.done) { destination.complete(); return; } args.push(result.value); } if (this.resultSelector) { this._tryresultSelector(args); } else { destination.next(args); } if (shouldComplete) { destination.complete(); } } }, { key: "_tryresultSelector", value: function _tryresultSelector(args) { var result; try { result = this.resultSelector.apply(this, args); } catch (err) { this.destination.error(err); return; } this.destination.next(result); } }]); return ZipSubscriber; }(_Subscriber__WEBPACK_IMPORTED_MODULE_6__["Subscriber"]); var StaticIterator = /*#__PURE__*/function () { function StaticIterator(iterator) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, StaticIterator); this.iterator = iterator; this.nextResult = iterator.next(); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(StaticIterator, [{ key: "hasValue", value: function hasValue() { return true; } }, { key: "next", value: function next() { var result = this.nextResult; this.nextResult = this.iterator.next(); return result; } }, { key: "hasCompleted", value: function hasCompleted() { var nextResult = this.nextResult; return Boolean(nextResult && nextResult.done); } }]); return StaticIterator; }(); var StaticArrayIterator = /*#__PURE__*/function () { function StaticArrayIterator(array) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, StaticArrayIterator); this.array = array; this.index = 0; this.length = 0; this.length = array.length; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(StaticArrayIterator, [{ key: _internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_7__["iterator"], value: function value() { return this; } }, { key: "next", value: function next(value) { var i = this.index++; var array = this.array; return i < this.length ? { value: array[i], done: false } : { value: null, done: true }; } }, { key: "hasValue", value: function hasValue() { return this.array.length > this.index; } }, { key: "hasCompleted", value: function hasCompleted() { return this.array.length === this.index; } }]); return StaticArrayIterator; }(); var ZipBufferIterator = /*#__PURE__*/function (_SimpleOuterSubscribe) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__["default"])(ZipBufferIterator, _SimpleOuterSubscribe); var _super2 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__["default"])(ZipBufferIterator); function ZipBufferIterator(destination, parent, observable) { var _this2; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, ZipBufferIterator); _this2 = _super2.call(this, destination); _this2.parent = parent; _this2.observable = observable; _this2.stillUnsubscribed = true; _this2.buffer = []; _this2.isComplete = false; return _this2; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(ZipBufferIterator, [{ key: _internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_7__["iterator"], value: function value() { return this; } }, { key: "next", value: function next() { var buffer = this.buffer; if (buffer.length === 0 && this.isComplete) { return { value: null, done: true }; } else { return { value: buffer.shift(), done: false }; } } }, { key: "hasValue", value: function hasValue() { return this.buffer.length > 0; } }, { key: "hasCompleted", value: function hasCompleted() { return this.buffer.length === 0 && this.isComplete; } }, { key: "notifyComplete", value: function notifyComplete() { if (this.buffer.length > 0) { this.isComplete = true; this.parent.notifyInactive(); } else { this.destination.complete(); } } }, { key: "notifyNext", value: function notifyNext(innerValue) { this.buffer.push(innerValue); this.parent.checkIterators(); } }, { key: "subscribe", value: function subscribe() { return Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_8__["innerSubscribe"])(this.observable, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_8__["SimpleInnerSubscriber"](this)); } }]); return ZipBufferIterator; }(_innerSubscribe__WEBPACK_IMPORTED_MODULE_8__["SimpleOuterSubscriber"]); /***/ }), /***/ "1unF": /*!********************************************************!*\ !*** ./node_modules/date-fns/esm/startOfYear/index.js ***! \********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return startOfYear; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name startOfYear * @category Year Helpers * @summary Return the start of a year for the given date. * * @description * Return the start of a year for the given date. * The result will be in the local timezone. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the original date * @returns {Date} the start of a year * @throws {TypeError} 1 argument required * * @example * // The start of a year for 2 September 2014 11:55:00: * const result = startOfYear(new Date(2014, 8, 2, 11, 55, 00)) * //=> Wed Jan 01 2014 00:00:00 */ function startOfYear(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); var cleanDate = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); var date = new Date(0); date.setFullYear(cleanDate.getFullYear(), 0, 1); date.setHours(0, 0, 0, 0); return date; } /***/ }), /***/ "1vjI": /*!****************************************************************!*\ !*** ./node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js ***! \****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return startOfUTCWeek; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../toDate/index.js */ "/Tr7"); /* harmony import */ var _requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../requiredArgs/index.js */ "jIYg"); /* harmony import */ var _toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../toInteger/index.js */ "/h9T"); // This function will be a part of public API when UTC function will be implemented. // See issue: https://github.com/date-fns/date-fns/issues/376 function startOfUTCWeek(dirtyDate, dirtyOptions) { Object(_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); var options = dirtyOptions || {}; var locale = options.locale; var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn; var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : Object(_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(localeWeekStartsOn); var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : Object(_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); } var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); var day = date.getUTCDay(); var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn; date.setUTCDate(date.getUTCDate() - diff); date.setUTCHours(0, 0, 0, 0); return date; } /***/ }), /***/ "1z/I": /*!******************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2015/portal.js ***! \******************************************************/ /*! exports provided: BasePortalHost, BasePortalOutlet, CdkPortal, CdkPortalOutlet, ComponentPortal, DomPortal, DomPortalHost, DomPortalOutlet, Portal, PortalHostDirective, PortalInjector, PortalModule, TemplatePortal, TemplatePortalDirective */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BasePortalHost", function() { return BasePortalHost; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BasePortalOutlet", function() { return BasePortalOutlet; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CdkPortal", function() { return CdkPortal; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CdkPortalOutlet", function() { return CdkPortalOutlet; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComponentPortal", function() { return ComponentPortal; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomPortal", function() { return DomPortal; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomPortalHost", function() { return DomPortalHost; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomPortalOutlet", function() { return DomPortalOutlet; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Portal", function() { return Portal; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PortalHostDirective", function() { return PortalHostDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PortalInjector", function() { return PortalInjector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PortalModule", function() { return PortalModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TemplatePortal", function() { return TemplatePortal; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TemplatePortalDirective", function() { return TemplatePortalDirective; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized */ "JX7q"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/get */ "ReuC"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf */ "foSv"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ "8Y7J"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ "SVse"); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Throws an exception when attempting to attach a null portal to a host. * @docs-private */ function throwNullPortalError() { throw Error('Must provide a portal to attach'); } /** * Throws an exception when attempting to attach a portal to a host that is already attached. * @docs-private */ function throwPortalAlreadyAttachedError() { throw Error('Host already has a portal attached'); } /** * Throws an exception when attempting to attach a portal to an already-disposed host. * @docs-private */ function throwPortalOutletAlreadyDisposedError() { throw Error('This PortalOutlet has already been disposed'); } /** * Throws an exception when attempting to attach an unknown portal type. * @docs-private */ function throwUnknownPortalTypeError() { throw Error('Attempting to attach an unknown Portal type. BasePortalOutlet accepts either ' + 'a ComponentPortal or a TemplatePortal.'); } /** * Throws an exception when attempting to attach a portal to a null host. * @docs-private */ function throwNullPortalOutletError() { throw Error('Attempting to attach a portal to a null PortalOutlet'); } /** * Throws an exception when attempting to detach a portal that is not attached. * @docs-private */ function throwNoPortalAttachedError() { throw Error('Attempting to detach a portal that is not attached to a host'); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * A `Portal` is something that you want to render somewhere else. * It can be attach to / detached from a `PortalOutlet`. */ var Portal = /*#__PURE__*/function () { function Portal() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, Portal); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(Portal, [{ key: "attach", value: /** Attach this portal to a host. */ function attach(host) { if (typeof ngDevMode === 'undefined' || ngDevMode) { if (host == null) { throwNullPortalOutletError(); } if (host.hasAttached()) { throwPortalAlreadyAttachedError(); } } this._attachedHost = host; return host.attach(this); } /** Detach this portal from its host */ }, { key: "detach", value: function detach() { var host = this._attachedHost; if (host != null) { this._attachedHost = null; host.detach(); } else if (typeof ngDevMode === 'undefined' || ngDevMode) { throwNoPortalAttachedError(); } } /** Whether this portal is attached to a host. */ }, { key: "isAttached", get: function get() { return this._attachedHost != null; } /** * Sets the PortalOutlet reference without performing `attach()`. This is used directly by * the PortalOutlet when it is performing an `attach()` or `detach()`. */ }, { key: "setAttachedHost", value: function setAttachedHost(host) { this._attachedHost = host; } }]); return Portal; }(); /** * A `ComponentPortal` is a portal that instantiates some Component upon attachment. */ var ComponentPortal = /*#__PURE__*/function (_Portal) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(ComponentPortal, _Portal); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(ComponentPortal); function ComponentPortal(component, viewContainerRef, injector, componentFactoryResolver) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, ComponentPortal); _this = _super.call(this); _this.component = component; _this.viewContainerRef = viewContainerRef; _this.injector = injector; _this.componentFactoryResolver = componentFactoryResolver; return _this; } return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(ComponentPortal); }(Portal); /** * A `TemplatePortal` is a portal that represents some embedded template (TemplateRef). */ var TemplatePortal = /*#__PURE__*/function (_Portal2) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(TemplatePortal, _Portal2); var _super2 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(TemplatePortal); function TemplatePortal(template, viewContainerRef, context) { var _this2; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, TemplatePortal); _this2 = _super2.call(this); _this2.templateRef = template; _this2.viewContainerRef = viewContainerRef; _this2.context = context; return _this2; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(TemplatePortal, [{ key: "origin", get: function get() { return this.templateRef.elementRef; } /** * Attach the portal to the provided `PortalOutlet`. * When a context is provided it will override the `context` property of the `TemplatePortal` * instance. */ }, { key: "attach", value: function attach(host) { var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.context; this.context = context; return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(TemplatePortal.prototype), "attach", this).call(this, host); } }, { key: "detach", value: function detach() { this.context = undefined; return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(TemplatePortal.prototype), "detach", this).call(this); } }]); return TemplatePortal; }(Portal); /** * A `DomPortal` is a portal whose DOM element will be taken from its current position * in the DOM and moved into a portal outlet, when it is attached. On detach, the content * will be restored to its original position. */ var DomPortal = /*#__PURE__*/function (_Portal3) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(DomPortal, _Portal3); var _super3 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(DomPortal); function DomPortal(element) { var _this3; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, DomPortal); _this3 = _super3.call(this); _this3.element = element instanceof _angular_core__WEBPACK_IMPORTED_MODULE_7__["ElementRef"] ? element.nativeElement : element; return _this3; } return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(DomPortal); }(Portal); /** * Partial implementation of PortalOutlet that handles attaching * ComponentPortal and TemplatePortal. */ var BasePortalOutlet = /*#__PURE__*/function () { function BasePortalOutlet() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, BasePortalOutlet); /** Whether this host has already been permanently disposed. */ this._isDisposed = false; // @breaking-change 10.0.0 `attachDomPortal` to become a required abstract method. this.attachDomPortal = null; } /** Whether this host has an attached portal. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(BasePortalOutlet, [{ key: "hasAttached", value: function hasAttached() { return !!this._attachedPortal; } /** Attaches a portal. */ }, { key: "attach", value: function attach(portal) { if (typeof ngDevMode === 'undefined' || ngDevMode) { if (!portal) { throwNullPortalError(); } if (this.hasAttached()) { throwPortalAlreadyAttachedError(); } if (this._isDisposed) { throwPortalOutletAlreadyDisposedError(); } } if (portal instanceof ComponentPortal) { this._attachedPortal = portal; return this.attachComponentPortal(portal); } else if (portal instanceof TemplatePortal) { this._attachedPortal = portal; return this.attachTemplatePortal(portal); // @breaking-change 10.0.0 remove null check for `this.attachDomPortal`. } else if (this.attachDomPortal && portal instanceof DomPortal) { this._attachedPortal = portal; return this.attachDomPortal(portal); } if (typeof ngDevMode === 'undefined' || ngDevMode) { throwUnknownPortalTypeError(); } } /** Detaches a previously attached portal. */ }, { key: "detach", value: function detach() { if (this._attachedPortal) { this._attachedPortal.setAttachedHost(null); this._attachedPortal = null; } this._invokeDisposeFn(); } /** Permanently dispose of this portal host. */ }, { key: "dispose", value: function dispose() { if (this.hasAttached()) { this.detach(); } this._invokeDisposeFn(); this._isDisposed = true; } /** @docs-private */ }, { key: "setDisposeFn", value: function setDisposeFn(fn) { this._disposeFn = fn; } }, { key: "_invokeDisposeFn", value: function _invokeDisposeFn() { if (this._disposeFn) { this._disposeFn(); this._disposeFn = null; } } }]); return BasePortalOutlet; }(); /** * @deprecated Use `BasePortalOutlet` instead. * @breaking-change 9.0.0 */ var BasePortalHost = /*#__PURE__*/function (_BasePortalOutlet) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(BasePortalHost, _BasePortalOutlet); var _super4 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(BasePortalHost); function BasePortalHost() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, BasePortalHost); return _super4.apply(this, arguments); } return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(BasePortalHost); }(BasePortalOutlet); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * A PortalOutlet for attaching portals to an arbitrary DOM element outside of the Angular * application context. */ var DomPortalOutlet = /*#__PURE__*/function (_BasePortalOutlet2) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(DomPortalOutlet, _BasePortalOutlet2); var _super5 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(DomPortalOutlet); function DomPortalOutlet( /** Element into which the content is projected. */ outletElement, _componentFactoryResolver, _appRef, _defaultInjector, /** * @deprecated `_document` Parameter to be made required. * @breaking-change 10.0.0 */ _document) { var _thisSuper, _this4; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, DomPortalOutlet); _this4 = _super5.call(this); _this4.outletElement = outletElement; _this4._componentFactoryResolver = _componentFactoryResolver; _this4._appRef = _appRef; _this4._defaultInjector = _defaultInjector; /** * Attaches a DOM portal by transferring its content into the outlet. * @param portal Portal to be attached. * @deprecated To be turned into a method. * @breaking-change 10.0.0 */ _this4.attachDomPortal = function (portal) { // @breaking-change 10.0.0 Remove check and error once the // `_document` constructor parameter is required. if (!_this4._document && (typeof ngDevMode === 'undefined' || ngDevMode)) { throw Error('Cannot attach DOM portal without _document constructor parameter'); } var element = portal.element; if (!element.parentNode && (typeof ngDevMode === 'undefined' || ngDevMode)) { throw Error('DOM portal content must be attached to a parent node.'); } // Anchor used to save the element's previous position so // that we can restore it when the portal is detached. var anchorNode = _this4._document.createComment('dom-portal'); element.parentNode.insertBefore(anchorNode, element); _this4.outletElement.appendChild(element); _this4._attachedPortal = portal; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])((_thisSuper = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__["default"])(_this4), Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(DomPortalOutlet.prototype)), "setDisposeFn", _thisSuper).call(_thisSuper, function () { // We can't use `replaceWith` here because IE doesn't support it. if (anchorNode.parentNode) { anchorNode.parentNode.replaceChild(element, anchorNode); } }); }; _this4._document = _document; return _this4; } /** * Attach the given ComponentPortal to DOM element using the ComponentFactoryResolver. * @param portal Portal to be attached * @returns Reference to the created component. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(DomPortalOutlet, [{ key: "attachComponentPortal", value: function attachComponentPortal(portal) { var _this5 = this; var resolver = portal.componentFactoryResolver || this._componentFactoryResolver; var componentFactory = resolver.resolveComponentFactory(portal.component); var componentRef; // If the portal specifies a ViewContainerRef, we will use that as the attachment point // for the component (in terms of Angular's component tree, not rendering). // When the ViewContainerRef is missing, we use the factory to create the component directly // and then manually attach the view to the application. if (portal.viewContainerRef) { componentRef = portal.viewContainerRef.createComponent(componentFactory, portal.viewContainerRef.length, portal.injector || portal.viewContainerRef.injector); this.setDisposeFn(function () { return componentRef.destroy(); }); } else { componentRef = componentFactory.create(portal.injector || this._defaultInjector); this._appRef.attachView(componentRef.hostView); this.setDisposeFn(function () { _this5._appRef.detachView(componentRef.hostView); componentRef.destroy(); }); } // At this point the component has been instantiated, so we move it to the location in the DOM // where we want it to be rendered. this.outletElement.appendChild(this._getComponentRootNode(componentRef)); this._attachedPortal = portal; return componentRef; } /** * Attaches a template portal to the DOM as an embedded view. * @param portal Portal to be attached. * @returns Reference to the created embedded view. */ }, { key: "attachTemplatePortal", value: function attachTemplatePortal(portal) { var _this6 = this; var viewContainer = portal.viewContainerRef; var viewRef = viewContainer.createEmbeddedView(portal.templateRef, portal.context); // The method `createEmbeddedView` will add the view as a child of the viewContainer. // But for the DomPortalOutlet the view can be added everywhere in the DOM // (e.g Overlay Container) To move the view to the specified host element. We just // re-append the existing root nodes. viewRef.rootNodes.forEach(function (rootNode) { return _this6.outletElement.appendChild(rootNode); }); // Note that we want to detect changes after the nodes have been moved so that // any directives inside the portal that are looking at the DOM inside a lifecycle // hook won't be invoked too early. viewRef.detectChanges(); this.setDisposeFn(function () { var index = viewContainer.indexOf(viewRef); if (index !== -1) { viewContainer.remove(index); } }); this._attachedPortal = portal; // TODO(jelbourn): Return locals from view. return viewRef; } /** * Clears out a portal from the DOM. */ }, { key: "dispose", value: function dispose() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(DomPortalOutlet.prototype), "dispose", this).call(this); if (this.outletElement.parentNode != null) { this.outletElement.parentNode.removeChild(this.outletElement); } } /** Gets the root HTMLElement for an instantiated component. */ }, { key: "_getComponentRootNode", value: function _getComponentRootNode(componentRef) { return componentRef.hostView.rootNodes[0]; } }]); return DomPortalOutlet; }(BasePortalOutlet); /** * @deprecated Use `DomPortalOutlet` instead. * @breaking-change 9.0.0 */ var DomPortalHost = /*#__PURE__*/function (_DomPortalOutlet) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(DomPortalHost, _DomPortalOutlet); var _super6 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(DomPortalHost); function DomPortalHost() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, DomPortalHost); return _super6.apply(this, arguments); } return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(DomPortalHost); }(DomPortalOutlet); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal, * the directive instance itself can be attached to a host, enabling declarative use of portals. */ var CdkPortal = /*#__PURE__*/function (_TemplatePortal) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(CdkPortal, _TemplatePortal); var _super7 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(CdkPortal); function CdkPortal(templateRef, viewContainerRef) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, CdkPortal); return _super7.call(this, templateRef, viewContainerRef); } return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(CdkPortal); }(TemplatePortal); CdkPortal.ɵfac = function CdkPortal_Factory(t) { return new (t || CdkPortal)(_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_7__["TemplateRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_7__["ViewContainerRef"])); }; CdkPortal.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineDirective"]({ type: CdkPortal, selectors: [["", "cdkPortal", ""]], exportAs: ["cdkPortal"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵInheritDefinitionFeature"]] }); CdkPortal.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["TemplateRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["ViewContainerRef"] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵsetClassMetadata"](CdkPortal, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Directive"], args: [{ selector: '[cdkPortal]', exportAs: 'cdkPortal' }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["TemplateRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["ViewContainerRef"] }]; }, null); })(); /** * @deprecated Use `CdkPortal` instead. * @breaking-change 9.0.0 */ var TemplatePortalDirective = /*#__PURE__*/function (_CdkPortal) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(TemplatePortalDirective, _CdkPortal); var _super8 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(TemplatePortalDirective); function TemplatePortalDirective() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, TemplatePortalDirective); return _super8.apply(this, arguments); } return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(TemplatePortalDirective); }(CdkPortal); TemplatePortalDirective.ɵfac = function TemplatePortalDirective_Factory(t) { return ɵTemplatePortalDirective_BaseFactory(t || TemplatePortalDirective); }; TemplatePortalDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineDirective"]({ type: TemplatePortalDirective, selectors: [["", "cdk-portal", ""], ["", "portal", ""]], exportAs: ["cdkPortal"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵProvidersFeature"]([{ provide: CdkPortal, useExisting: TemplatePortalDirective }]), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵInheritDefinitionFeature"]] }); var ɵTemplatePortalDirective_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetInheritedFactory"](TemplatePortalDirective); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵsetClassMetadata"](TemplatePortalDirective, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Directive"], args: [{ selector: '[cdk-portal], [portal]', exportAs: 'cdkPortal', providers: [{ provide: CdkPortal, useExisting: TemplatePortalDirective }] }] }], null, null); })(); /** * Directive version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals can be * directly attached to it, enabling declarative use. * * Usage: * `` */ var CdkPortalOutlet = /*#__PURE__*/function (_BasePortalOutlet3) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(CdkPortalOutlet, _BasePortalOutlet3); var _super9 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(CdkPortalOutlet); function CdkPortalOutlet(_componentFactoryResolver, _viewContainerRef, /** * @deprecated `_document` parameter to be made required. * @breaking-change 9.0.0 */ _document) { var _thisSuper2, _this7; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, CdkPortalOutlet); _this7 = _super9.call(this); _this7._componentFactoryResolver = _componentFactoryResolver; _this7._viewContainerRef = _viewContainerRef; /** Whether the portal component is initialized. */ _this7._isInitialized = false; /** Emits when a portal is attached to the outlet. */ _this7.attached = new _angular_core__WEBPACK_IMPORTED_MODULE_7__["EventEmitter"](); /** * Attaches the given DomPortal to this PortalHost by moving all of the portal content into it. * @param portal Portal to be attached. * @deprecated To be turned into a method. * @breaking-change 10.0.0 */ _this7.attachDomPortal = function (portal) { // @breaking-change 9.0.0 Remove check and error once the // `_document` constructor parameter is required. if (!_this7._document && (typeof ngDevMode === 'undefined' || ngDevMode)) { throw Error('Cannot attach DOM portal without _document constructor parameter'); } var element = portal.element; if (!element.parentNode && (typeof ngDevMode === 'undefined' || ngDevMode)) { throw Error('DOM portal content must be attached to a parent node.'); } // Anchor used to save the element's previous position so // that we can restore it when the portal is detached. var anchorNode = _this7._document.createComment('dom-portal'); portal.setAttachedHost(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__["default"])(_this7)); element.parentNode.insertBefore(anchorNode, element); _this7._getRootNode().appendChild(element); _this7._attachedPortal = portal; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])((_thisSuper2 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__["default"])(_this7), Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(CdkPortalOutlet.prototype)), "setDisposeFn", _thisSuper2).call(_thisSuper2, function () { if (anchorNode.parentNode) { anchorNode.parentNode.replaceChild(element, anchorNode); } }); }; _this7._document = _document; return _this7; } /** Portal associated with the Portal outlet. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(CdkPortalOutlet, [{ key: "portal", get: function get() { return this._attachedPortal; }, set: function set(portal) { // Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have // run. This handles the cases where the user might do something like `
` // and attach a portal programmatically in the parent component. When Angular does the first CD // round, it will fire the setter with empty string, causing the user's content to be cleared. if (this.hasAttached() && !portal && !this._isInitialized) { return; } if (this.hasAttached()) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(CdkPortalOutlet.prototype), "detach", this).call(this); } if (portal) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(CdkPortalOutlet.prototype), "attach", this).call(this, portal); } this._attachedPortal = portal; } /** Component or view reference that is attached to the portal. */ }, { key: "attachedRef", get: function get() { return this._attachedRef; } }, { key: "ngOnInit", value: function ngOnInit() { this._isInitialized = true; } }, { key: "ngOnDestroy", value: function ngOnDestroy() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(CdkPortalOutlet.prototype), "dispose", this).call(this); this._attachedPortal = null; this._attachedRef = null; } /** * Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver. * * @param portal Portal to be attached to the portal outlet. * @returns Reference to the created component. */ }, { key: "attachComponentPortal", value: function attachComponentPortal(portal) { portal.setAttachedHost(this); // If the portal specifies an origin, use that as the logical location of the component // in the application tree. Otherwise use the location of this PortalOutlet. var viewContainerRef = portal.viewContainerRef != null ? portal.viewContainerRef : this._viewContainerRef; var resolver = portal.componentFactoryResolver || this._componentFactoryResolver; var componentFactory = resolver.resolveComponentFactory(portal.component); var ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector); // If we're using a view container that's different from the injected one (e.g. when the portal // specifies its own) we need to move the component into the outlet, otherwise it'll be rendered // inside of the alternate view container. if (viewContainerRef !== this._viewContainerRef) { this._getRootNode().appendChild(ref.hostView.rootNodes[0]); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(CdkPortalOutlet.prototype), "setDisposeFn", this).call(this, function () { return ref.destroy(); }); this._attachedPortal = portal; this._attachedRef = ref; this.attached.emit(ref); return ref; } /** * Attach the given TemplatePortal to this PortalHost as an embedded View. * @param portal Portal to be attached. * @returns Reference to the created embedded view. */ }, { key: "attachTemplatePortal", value: function attachTemplatePortal(portal) { var _this8 = this; portal.setAttachedHost(this); var viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context); Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(CdkPortalOutlet.prototype), "setDisposeFn", this).call(this, function () { return _this8._viewContainerRef.clear(); }); this._attachedPortal = portal; this._attachedRef = viewRef; this.attached.emit(viewRef); return viewRef; } /** Gets the root node of the portal outlet. */ }, { key: "_getRootNode", value: function _getRootNode() { var nativeElement = this._viewContainerRef.element.nativeElement; // The directive could be set on a template which will result in a comment // node being the root. Use the comment's parent node if that is the case. return nativeElement.nodeType === nativeElement.ELEMENT_NODE ? nativeElement : nativeElement.parentNode; } }]); return CdkPortalOutlet; }(BasePortalOutlet); CdkPortalOutlet.ɵfac = function CdkPortalOutlet_Factory(t) { return new (t || CdkPortalOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_7__["ComponentFactoryResolver"]), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_7__["ViewContainerRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_8__["DOCUMENT"])); }; CdkPortalOutlet.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineDirective"]({ type: CdkPortalOutlet, selectors: [["", "cdkPortalOutlet", ""]], inputs: { portal: ["cdkPortalOutlet", "portal"] }, outputs: { attached: "attached" }, exportAs: ["cdkPortalOutlet"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵInheritDefinitionFeature"]] }); CdkPortalOutlet.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["ComponentFactoryResolver"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["ViewContainerRef"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["DOCUMENT"]] }] }]; }; CdkPortalOutlet.propDecorators = { attached: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Output"] }] }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵsetClassMetadata"](CdkPortalOutlet, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Directive"], args: [{ selector: '[cdkPortalOutlet]', exportAs: 'cdkPortalOutlet', inputs: ['portal: cdkPortalOutlet'] }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["ComponentFactoryResolver"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["ViewContainerRef"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["DOCUMENT"]] }] }]; }, { attached: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Output"] }] }); })(); /** * @deprecated Use `CdkPortalOutlet` instead. * @breaking-change 9.0.0 */ var PortalHostDirective = /*#__PURE__*/function (_CdkPortalOutlet) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(PortalHostDirective, _CdkPortalOutlet); var _super10 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(PortalHostDirective); function PortalHostDirective() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, PortalHostDirective); return _super10.apply(this, arguments); } return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(PortalHostDirective); }(CdkPortalOutlet); PortalHostDirective.ɵfac = function PortalHostDirective_Factory(t) { return ɵPortalHostDirective_BaseFactory(t || PortalHostDirective); }; PortalHostDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineDirective"]({ type: PortalHostDirective, selectors: [["", "cdkPortalHost", ""], ["", "portalHost", ""]], inputs: { portal: ["cdkPortalHost", "portal"] }, exportAs: ["cdkPortalHost"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵProvidersFeature"]([{ provide: CdkPortalOutlet, useExisting: PortalHostDirective }]), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵInheritDefinitionFeature"]] }); var ɵPortalHostDirective_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetInheritedFactory"](PortalHostDirective); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵsetClassMetadata"](PortalHostDirective, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Directive"], args: [{ selector: '[cdkPortalHost], [portalHost]', exportAs: 'cdkPortalHost', inputs: ['portal: cdkPortalHost'], providers: [{ provide: CdkPortalOutlet, useExisting: PortalHostDirective }] }] }], null, null); })(); var PortalModule = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(function PortalModule() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, PortalModule); }); PortalModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineNgModule"]({ type: PortalModule }); PortalModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjector"]({ factory: function PortalModule_Factory(t) { return new (t || PortalModule)(); } }); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵsetNgModuleScope"](PortalModule, { declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective], exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective] }); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵsetClassMetadata"](PortalModule, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["NgModule"], args: [{ exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective], declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective] }] }], null, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Custom injector to be used when providing custom * injection tokens to components inside a portal. * @docs-private * @deprecated Use `Injector.create` instead. * @breaking-change 11.0.0 */ var PortalInjector = /*#__PURE__*/function () { function PortalInjector(_parentInjector, _customTokens) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, PortalInjector); this._parentInjector = _parentInjector; this._customTokens = _customTokens; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(PortalInjector, [{ key: "get", value: function get(token, notFoundValue) { var value = this._customTokens.get(token); if (typeof value !== 'undefined') { return value; } return this._parentInjector.get(token, notFoundValue); } }]); return PortalInjector; }(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Generated bundle index. Do not edit. */ /***/ }), /***/ "25BE": /*!********************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***! \********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _iterableToArray; }); function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); } /***/ }), /***/ "26Ho": /*!********************************************************************!*\ !*** ./node_modules/date-fns/esm/areIntervalsOverlapping/index.js ***! \********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return areIntervalsOverlapping; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name areIntervalsOverlapping * @category Interval Helpers * @summary Is the given time interval overlapping with another time interval? * * @description * Is the given time interval overlapping with another time interval? Adjacent intervals do not count as overlapping. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * - The function was renamed from `areRangesOverlapping` to `areIntervalsOverlapping`. * This change was made to mirror the use of the word "interval" in standard ISO 8601:2004 terminology: * * ``` * 2.1.3 * time interval * part of the time axis limited by two instants * ``` * * Also, this function now accepts an object with `start` and `end` properties * instead of two arguments as an interval. * This function now throws `RangeError` if the start of the interval is after its end * or if any date in the interval is `Invalid Date`. * * ```javascript * // Before v2.0.0 * * areRangesOverlapping( * new Date(2014, 0, 10), new Date(2014, 0, 20), * new Date(2014, 0, 17), new Date(2014, 0, 21) * ) * * // v2.0.0 onward * * areIntervalsOverlapping( * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, * { start: new Date(2014, 0, 17), end: new Date(2014, 0, 21) } * ) * ``` * * @param {Interval} intervalLeft - the first interval to compare. See [Interval]{@link https://date-fns.org/docs/Interval} * @param {Interval} intervalRight - the second interval to compare. See [Interval]{@link https://date-fns.org/docs/Interval} * @param {Object} [options] - the object with options * @param {Boolean} [options.inclusive=false] - whether the comparison is inclusive or not * @returns {Boolean} whether the time intervals are overlapping * @throws {TypeError} 2 arguments required * @throws {RangeError} The start of an interval cannot be after its end * @throws {RangeError} Date in interval cannot be `Invalid Date` * * @example * // For overlapping time intervals: * areIntervalsOverlapping( * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, * { start: new Date(2014, 0, 17), end: new Date(2014, 0, 21) } * ) * //=> true * * @example * // For non-overlapping time intervals: * areIntervalsOverlapping( * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, * { start: new Date(2014, 0, 21), end: new Date(2014, 0, 22) } * ) * //=> false * * @example * // For adjacent time intervals: * areIntervalsOverlapping( * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, * { start: new Date(2014, 0, 20), end: new Date(2014, 0, 30) } * ) * //=> false * * @example * // Using the inclusive option: * areIntervalsOverlapping( * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, * { start: new Date(2014, 0, 20), end: new Date(2014, 0, 24) } * ) * //=> false * areIntervalsOverlapping( * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, * { start: new Date(2014, 0, 20), end: new Date(2014, 0, 24) }, * { inclusive: true } * ) * //=> true */ function areIntervalsOverlapping(dirtyIntervalLeft, dirtyIntervalRight) { var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : { inclusive: false }; Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(2, arguments); var intervalLeft = dirtyIntervalLeft || {}; var intervalRight = dirtyIntervalRight || {}; var leftStartTime = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(intervalLeft.start).getTime(); var leftEndTime = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(intervalLeft.end).getTime(); var rightStartTime = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(intervalRight.start).getTime(); var rightEndTime = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(intervalRight.end).getTime(); // Throw an exception if start date is after end date or if any date is `Invalid Date` if (!(leftStartTime <= leftEndTime && rightStartTime <= rightEndTime)) { throw new RangeError('Invalid interval'); } if (options.inclusive) { return leftStartTime <= rightEndTime && rightStartTime <= leftEndTime; } return leftStartTime < rightEndTime && rightStartTime < leftEndTime; } /***/ }), /***/ "2AQE": /*!***************************************************************!*\ !*** ./node_modules/date-fns/esm/eachWeekendOfMonth/index.js ***! \***************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return eachWeekendOfMonth; }); /* harmony import */ var _eachWeekendOfInterval_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../eachWeekendOfInterval/index.js */ "YdWM"); /* harmony import */ var _startOfMonth_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../startOfMonth/index.js */ "9ig3"); /* harmony import */ var _endOfMonth_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../endOfMonth/index.js */ "jKzE"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name eachWeekendOfMonth * @category Month Helpers * @summary List all the Saturdays and Sundays in the given month. * * @description * Get all the Saturdays and Sundays in the given month. * * @param {Date|Number} date - the given month * @returns {Date[]} an array containing all the Saturdays and Sundays * @throws {TypeError} 1 argument required * @throws {RangeError} The passed date is invalid * * @example * // Lists all Saturdays and Sundays in the given month * const result = eachWeekendOfMonth(new Date(2022, 1, 1)) * //=> [ * // Sat Feb 05 2022 00:00:00, * // Sun Feb 06 2022 00:00:00, * // Sat Feb 12 2022 00:00:00, * // Sun Feb 13 2022 00:00:00, * // Sat Feb 19 2022 00:00:00, * // Sun Feb 20 2022 00:00:00, * // Sat Feb 26 2022 00:00:00, * // Sun Feb 27 2022 00:00:00 * // ] */ function eachWeekendOfMonth(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(1, arguments); var startDate = Object(_startOfMonth_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(dirtyDate); if (isNaN(startDate.getTime())) throw new RangeError('The passed date is invalid'); var endDate = Object(_endOfMonth_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(dirtyDate); return Object(_eachWeekendOfInterval_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({ start: startDate, end: endDate }); } /***/ }), /***/ "2QA8": /*!********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js ***! \********************************************************************/ /*! exports provided: rxSubscriber, $$rxSubscriber */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rxSubscriber", function() { return rxSubscriber; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "$$rxSubscriber", function() { return $$rxSubscriber; }); var rxSubscriber = function () { return typeof Symbol === 'function' ? Symbol('rxSubscriber') : '@@rxSubscriber_' + Math.random(); }(); var $$rxSubscriber = rxSubscriber; /***/ }), /***/ "2QGa": /*!*********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/observable/partition.js ***! \*********************************************************************/ /*! exports provided: partition */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "partition", function() { return partition; }); /* harmony import */ var _util_not__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/not */ "F97/"); /* harmony import */ var _util_subscribeTo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeTo */ "SeVD"); /* harmony import */ var _operators_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/filter */ "pLZG"); /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Observable */ "HDdC"); function partition(source, predicate, thisArg) { return [Object(_operators_filter__WEBPACK_IMPORTED_MODULE_2__["filter"])(predicate, thisArg)(new _Observable__WEBPACK_IMPORTED_MODULE_3__["Observable"](Object(_util_subscribeTo__WEBPACK_IMPORTED_MODULE_1__["subscribeTo"])(source))), Object(_operators_filter__WEBPACK_IMPORTED_MODULE_2__["filter"])(Object(_util_not__WEBPACK_IMPORTED_MODULE_0__["not"])(predicate, thisArg))(new _Observable__WEBPACK_IMPORTED_MODULE_3__["Observable"](Object(_util_subscribeTo__WEBPACK_IMPORTED_MODULE_1__["subscribeTo"])(source)))]; } /***/ }), /***/ "2Vo4": /*!****************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js ***! \****************************************************************/ /*! exports provided: BehaviorSubject */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BehaviorSubject", function() { return BehaviorSubject; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/get */ "ReuC"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf */ "foSv"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Subject */ "XNiG"); /* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ "9ppp"); var BehaviorSubject = /*#__PURE__*/function (_Subject) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(BehaviorSubject, _Subject); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__["default"])(BehaviorSubject); function BehaviorSubject(_value) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, BehaviorSubject); _this = _super.call(this); _this._value = _value; return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(BehaviorSubject, [{ key: "value", get: function get() { return this.getValue(); } }, { key: "_subscribe", value: function _subscribe(subscriber) { var subscription = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(BehaviorSubject.prototype), "_subscribe", this).call(this, subscriber); if (subscription && !subscription.closed) { subscriber.next(this._value); } return subscription; } }, { key: "getValue", value: function getValue() { if (this.hasError) { throw this.thrownError; } else if (this.closed) { throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_7__["ObjectUnsubscribedError"](); } else { return this._value; } } }, { key: "next", value: function next(value) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(BehaviorSubject.prototype), "next", this).call(this, this._value = value); } }]); return BehaviorSubject; }(_Subject__WEBPACK_IMPORTED_MODULE_6__["Subject"]); /***/ }), /***/ "2WcH": /*!*****************************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js ***! \*****************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _isNativeReflectConstruct; }); function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } /***/ }), /***/ "2fFW": /*!*******************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/config.js ***! \*******************************************************/ /*! exports provided: config */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "config", function() { return config; }); var _enable_super_gross_mode_that_will_cause_bad_things = false; var config = { Promise: undefined, set useDeprecatedSynchronousErrorHandling(value) { if (value) { var error = new Error(); console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n' + error.stack); } else if (_enable_super_gross_mode_that_will_cause_bad_things) { console.log('RxJS: Back to a better error behavior. Thank you. <3'); } _enable_super_gross_mode_that_will_cause_bad_things = value; }, get useDeprecatedSynchronousErrorHandling() { return _enable_super_gross_mode_that_will_cause_bad_things; } }; /***/ }), /***/ "2qKf": /*!************************************************************************!*\ !*** ./node_modules/ng-zorro-antd/fesm2015/ng-zorro-antd-core-time.js ***! \************************************************************************/ /*! exports provided: CandyDate, cloneDate, normalizeRangeValue, timeUnits, wrongSortOrder, ɵNgTimeParser */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CandyDate", function() { return CandyDate; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cloneDate", function() { return cloneDate; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "normalizeRangeValue", function() { return normalizeRangeValue; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "timeUnits", function() { return timeUnits; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wrongSortOrder", function() { return wrongSortOrder; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNgTimeParser", function() { return NgTimeParser; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray */ "ODXe"); /* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! date-fns */ "b/SL"); /* harmony import */ var ng_zorro_antd_core_logger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ng-zorro-antd/core/logger */ "Tzg8"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "SVse"); /* harmony import */ var ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ng-zorro-antd/core/util */ "pvHd"); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ function wrongSortOrder(rangeValue) { var _rangeValue = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(rangeValue, 2), start = _rangeValue[0], end = _rangeValue[1]; return !!start && !!end && end.isBeforeDay(start); } function normalizeRangeValue(value, hasTimePicker) { var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'month'; var activePart = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'left'; var _value = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(value, 2), start = _value[0], end = _value[1]; var newStart = start || new CandyDate(); var newEnd = end || (hasTimePicker ? newStart : newStart.add(1, type)); if (start && !end) { newStart = start; newEnd = hasTimePicker ? start : start.add(1, type); } else if (!start && end) { newStart = hasTimePicker ? end : end.add(-1, type); newEnd = end; } else if (start && end && !hasTimePicker) { if (start.isSame(end, type)) { newEnd = newStart.add(1, type); } else { if (activePart === 'left') { newEnd = newStart.add(1, type); } else { newStart = newEnd.add(-1, type); } } } return [newStart, newEnd]; } function cloneDate(value) { if (Array.isArray(value)) { return value.map(function (v) { return v instanceof CandyDate ? v.clone() : null; }); } else { return value instanceof CandyDate ? value.clone() : null; } } /** * Wrapping kind APIs for date operating and unify * NOTE: every new API return new CandyDate object without side effects to the former Date object * NOTE: most APIs are based on local time other than customized locale id (this needs tobe support in future) * TODO: support format() against to angular's core API */ var CandyDate = /*#__PURE__*/function () { // locale: string; // Custom specified locale ID function CandyDate(date) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, CandyDate); if (date) { if (date instanceof Date) { this.nativeDate = date; } else if (typeof date === 'string' || typeof date === 'number') { Object(ng_zorro_antd_core_logger__WEBPACK_IMPORTED_MODULE_4__["warn"])('The string type is not recommended for date-picker, use "Date" type'); this.nativeDate = new Date(date); } else { throw new Error('The input date type is not supported ("Date" is now recommended)'); } } else { this.nativeDate = new Date(); } } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(CandyDate, [{ key: "calendarStart", value: function calendarStart(options) { return new CandyDate(Object(date_fns__WEBPACK_IMPORTED_MODULE_3__["startOfWeek"])(Object(date_fns__WEBPACK_IMPORTED_MODULE_3__["startOfMonth"])(this.nativeDate), options)); } // --------------------------------------------------------------------- // | Native shortcuts // -----------------------------------------------------------------------------\ }, { key: "getYear", value: function getYear() { return this.nativeDate.getFullYear(); } }, { key: "getMonth", value: function getMonth() { return this.nativeDate.getMonth(); } }, { key: "getDay", value: function getDay() { return this.nativeDate.getDay(); } }, { key: "getTime", value: function getTime() { return this.nativeDate.getTime(); } }, { key: "getDate", value: function getDate() { return this.nativeDate.getDate(); } }, { key: "getHours", value: function getHours() { return this.nativeDate.getHours(); } }, { key: "getMinutes", value: function getMinutes() { return this.nativeDate.getMinutes(); } }, { key: "getSeconds", value: function getSeconds() { return this.nativeDate.getSeconds(); } }, { key: "getMilliseconds", value: function getMilliseconds() { return this.nativeDate.getMilliseconds(); } // --------------------------------------------------------------------- // | New implementing APIs // --------------------------------------------------------------------- }, { key: "clone", value: function clone() { return new CandyDate(new Date(this.nativeDate)); } }, { key: "setHms", value: function setHms(hour, minute, second) { var newDate = new Date(this.nativeDate.setHours(hour, minute, second)); return new CandyDate(newDate); } }, { key: "setYear", value: function setYear(year) { return new CandyDate(Object(date_fns__WEBPACK_IMPORTED_MODULE_3__["setYear"])(this.nativeDate, year)); } }, { key: "addYears", value: function addYears(amount) { return new CandyDate(Object(date_fns__WEBPACK_IMPORTED_MODULE_3__["addYears"])(this.nativeDate, amount)); } // NOTE: month starts from 0 // NOTE: Don't use the native API for month manipulation as it not restrict the date when it overflows, eg. (new Date('2018-7-31')).setMonth(1) will be date of 2018-3-03 instead of 2018-2-28 }, { key: "setMonth", value: function setMonth(month) { return new CandyDate(Object(date_fns__WEBPACK_IMPORTED_MODULE_3__["setMonth"])(this.nativeDate, month)); } }, { key: "addMonths", value: function addMonths(amount) { return new CandyDate(Object(date_fns__WEBPACK_IMPORTED_MODULE_3__["addMonths"])(this.nativeDate, amount)); } }, { key: "setDay", value: function setDay(day, options) { return new CandyDate(Object(date_fns__WEBPACK_IMPORTED_MODULE_3__["setDay"])(this.nativeDate, day, options)); } }, { key: "setDate", value: function setDate(amount) { var date = new Date(this.nativeDate); date.setDate(amount); return new CandyDate(date); } }, { key: "addDays", value: function addDays(amount) { return this.setDate(this.getDate() + amount); } }, { key: "add", value: function add(amount, mode) { switch (mode) { case 'decade': return this.addYears(amount * 10); case 'year': return this.addYears(amount); case 'month': return this.addMonths(amount); default: return this.addMonths(amount); } } }, { key: "isSame", value: function isSame(date) { var grain = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'day'; var fn; switch (grain) { case 'decade': fn = function fn(pre, next) { return Math.abs(pre.getFullYear() - next.getFullYear()) < 11; }; break; case 'year': fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["isSameYear"]; break; case 'month': fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["isSameMonth"]; break; case 'day': fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["isSameDay"]; break; case 'hour': fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["isSameHour"]; break; case 'minute': fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["isSameMinute"]; break; case 'second': fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["isSameSecond"]; break; default: fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["isSameDay"]; break; } return fn(this.nativeDate, this.toNativeDate(date)); } }, { key: "isSameYear", value: function isSameYear(date) { return this.isSame(date, 'year'); } }, { key: "isSameMonth", value: function isSameMonth(date) { return this.isSame(date, 'month'); } }, { key: "isSameDay", value: function isSameDay(date) { return this.isSame(date, 'day'); } }, { key: "isSameHour", value: function isSameHour(date) { return this.isSame(date, 'hour'); } }, { key: "isSameMinute", value: function isSameMinute(date) { return this.isSame(date, 'minute'); } }, { key: "isSameSecond", value: function isSameSecond(date) { return this.isSame(date, 'second'); } }, { key: "isBefore", value: function isBefore(date) { var grain = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'day'; if (date === null) { return false; } var fn; switch (grain) { case 'year': fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["differenceInCalendarYears"]; break; case 'month': fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["differenceInCalendarMonths"]; break; case 'day': fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["differenceInCalendarDays"]; break; case 'hour': fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["differenceInHours"]; break; case 'minute': fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["differenceInMinutes"]; break; case 'second': fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["differenceInSeconds"]; break; default: fn = date_fns__WEBPACK_IMPORTED_MODULE_3__["differenceInCalendarDays"]; break; } return fn(this.nativeDate, this.toNativeDate(date)) < 0; } }, { key: "isBeforeYear", value: function isBeforeYear(date) { return this.isBefore(date, 'year'); } }, { key: "isBeforeMonth", value: function isBeforeMonth(date) { return this.isBefore(date, 'month'); } }, { key: "isBeforeDay", value: function isBeforeDay(date) { return this.isBefore(date, 'day'); } // Equal to today accurate to "day" }, { key: "isToday", value: function isToday() { return Object(date_fns__WEBPACK_IMPORTED_MODULE_3__["isToday"])(this.nativeDate); } }, { key: "isValid", value: function isValid() { return Object(date_fns__WEBPACK_IMPORTED_MODULE_3__["isValid"])(this.nativeDate); } }, { key: "isFirstDayOfMonth", value: function isFirstDayOfMonth() { return Object(date_fns__WEBPACK_IMPORTED_MODULE_3__["isFirstDayOfMonth"])(this.nativeDate); } }, { key: "isLastDayOfMonth", value: function isLastDayOfMonth() { return Object(date_fns__WEBPACK_IMPORTED_MODULE_3__["isLastDayOfMonth"])(this.nativeDate); } }, { key: "toNativeDate", value: function toNativeDate(date) { return date instanceof CandyDate ? date.nativeDate : date; } }]); return CandyDate; }(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var timeUnits = [['Y', 1000 * 60 * 60 * 24 * 365], ['M', 1000 * 60 * 60 * 24 * 30], ['D', 1000 * 60 * 60 * 24], ['H', 1000 * 60 * 60], ['m', 1000 * 60], ['s', 1000], ['S', 1] // million seconds ]; /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NgTimeParser = /*#__PURE__*/function () { function NgTimeParser(format, localeId) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, NgTimeParser); this.format = format; this.localeId = localeId; this.regex = null; this.matchMap = { hour: null, minute: null, second: null, periodNarrow: null, periodWide: null, periodAbbreviated: null }; this.genRegexp(); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(NgTimeParser, [{ key: "toDate", value: function toDate(str) { var result = this.getTimeResult(str); var time = new Date(); if (Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_6__["isNotNil"])(result === null || result === void 0 ? void 0 : result.hour)) { time.setHours(result.hour); } if (Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_6__["isNotNil"])(result === null || result === void 0 ? void 0 : result.minute)) { time.setMinutes(result.minute); } if (Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_6__["isNotNil"])(result === null || result === void 0 ? void 0 : result.second)) { time.setSeconds(result.second); } if ((result === null || result === void 0 ? void 0 : result.period) === 1 && time.getHours() < 12) { time.setHours(time.getHours() + 12); } return time; } }, { key: "getTimeResult", value: function getTimeResult(str) { var match = this.regex.exec(str); var period = null; if (match) { if (Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_6__["isNotNil"])(this.matchMap.periodNarrow)) { period = Object(_angular_common__WEBPACK_IMPORTED_MODULE_5__["getLocaleDayPeriods"])(this.localeId, _angular_common__WEBPACK_IMPORTED_MODULE_5__["FormStyle"].Format, _angular_common__WEBPACK_IMPORTED_MODULE_5__["TranslationWidth"].Narrow).indexOf(match[this.matchMap.periodNarrow + 1]); } if (Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_6__["isNotNil"])(this.matchMap.periodWide)) { period = Object(_angular_common__WEBPACK_IMPORTED_MODULE_5__["getLocaleDayPeriods"])(this.localeId, _angular_common__WEBPACK_IMPORTED_MODULE_5__["FormStyle"].Format, _angular_common__WEBPACK_IMPORTED_MODULE_5__["TranslationWidth"].Wide).indexOf(match[this.matchMap.periodWide + 1]); } if (Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_6__["isNotNil"])(this.matchMap.periodAbbreviated)) { period = Object(_angular_common__WEBPACK_IMPORTED_MODULE_5__["getLocaleDayPeriods"])(this.localeId, _angular_common__WEBPACK_IMPORTED_MODULE_5__["FormStyle"].Format, _angular_common__WEBPACK_IMPORTED_MODULE_5__["TranslationWidth"].Abbreviated).indexOf(match[this.matchMap.periodAbbreviated + 1]); } return { hour: Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_6__["isNotNil"])(this.matchMap.hour) ? Number.parseInt(match[this.matchMap.hour + 1], 10) : null, minute: Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_6__["isNotNil"])(this.matchMap.minute) ? Number.parseInt(match[this.matchMap.minute + 1], 10) : null, second: Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_6__["isNotNil"])(this.matchMap.second) ? Number.parseInt(match[this.matchMap.second + 1], 10) : null, period: period }; } else { return null; } } }, { key: "genRegexp", value: function genRegexp() { var _this = this; var regexStr = this.format.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$&'); var hourRegex = /h{1,2}/i; var minuteRegex = /m{1,2}/; var secondRegex = /s{1,2}/; var periodNarrow = /aaaaa/; var periodWide = /aaaa/; var periodAbbreviated = /a{1,3}/; var hourMatch = hourRegex.exec(this.format); var minuteMatch = minuteRegex.exec(this.format); var secondMatch = secondRegex.exec(this.format); var periodNarrowMatch = periodNarrow.exec(this.format); var periodWideMatch = null; var periodAbbreviatedMatch = null; if (!periodNarrowMatch) { periodWideMatch = periodWide.exec(this.format); } if (!periodWideMatch && !periodNarrowMatch) { periodAbbreviatedMatch = periodAbbreviated.exec(this.format); } var matchs = [hourMatch, minuteMatch, secondMatch, periodNarrowMatch, periodWideMatch, periodAbbreviatedMatch].filter(function (m) { return !!m; }).sort(function (a, b) { return a.index - b.index; }); matchs.forEach(function (match, index) { switch (match) { case hourMatch: _this.matchMap.hour = index; regexStr = regexStr.replace(hourRegex, '(\\d{1,2})'); break; case minuteMatch: _this.matchMap.minute = index; regexStr = regexStr.replace(minuteRegex, '(\\d{1,2})'); break; case secondMatch: _this.matchMap.second = index; regexStr = regexStr.replace(secondRegex, '(\\d{1,2})'); break; case periodNarrowMatch: _this.matchMap.periodNarrow = index; var periodsNarrow = Object(_angular_common__WEBPACK_IMPORTED_MODULE_5__["getLocaleDayPeriods"])(_this.localeId, _angular_common__WEBPACK_IMPORTED_MODULE_5__["FormStyle"].Format, _angular_common__WEBPACK_IMPORTED_MODULE_5__["TranslationWidth"].Narrow).join('|'); regexStr = regexStr.replace(periodNarrow, "(".concat(periodsNarrow, ")")); break; case periodWideMatch: _this.matchMap.periodWide = index; var periodsWide = Object(_angular_common__WEBPACK_IMPORTED_MODULE_5__["getLocaleDayPeriods"])(_this.localeId, _angular_common__WEBPACK_IMPORTED_MODULE_5__["FormStyle"].Format, _angular_common__WEBPACK_IMPORTED_MODULE_5__["TranslationWidth"].Wide).join('|'); regexStr = regexStr.replace(periodWide, "(".concat(periodsWide, ")")); break; case periodAbbreviatedMatch: _this.matchMap.periodAbbreviated = index; var periodsAbbreviated = Object(_angular_common__WEBPACK_IMPORTED_MODULE_5__["getLocaleDayPeriods"])(_this.localeId, _angular_common__WEBPACK_IMPORTED_MODULE_5__["FormStyle"].Format, _angular_common__WEBPACK_IMPORTED_MODULE_5__["TranslationWidth"].Abbreviated).join('|'); regexStr = regexStr.replace(periodAbbreviated, "(".concat(periodsAbbreviated, ")")); break; } }); this.regex = new RegExp(regexStr); } }]); return NgTimeParser; }(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ /** * Generated bundle index. Do not edit. */ /***/ }), /***/ "2ugm": /*!*************************************************************!*\ !*** ./node_modules/date-fns/esm/monthsToQuarters/index.js ***! \*************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return monthsToQuarters; }); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /* harmony import */ var _constants_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants/index.js */ "w3qX"); /** * @name monthsToQuarters * @category Conversion Helpers * @summary Convert number of months to quarters. * * @description * Convert a number of months to a full number of quarters. * * @param {number} months - number of months to be converted. * * @returns {number} the number of months converted in quarters * @throws {TypeError} 1 argument required * * @example * // Convert 6 months to quarters: * const result = monthsToQuarters(6) * //=> 2 * * @example * // It uses floor rounding: * const result = monthsToQuarters(7) * //=> 2 */ function monthsToQuarters(months) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(1, arguments); var quarters = months / _constants_index_js__WEBPACK_IMPORTED_MODULE_1__["monthsInQuarter"]; return Math.floor(quarters); } /***/ }), /***/ "3+Em": /*!*******************************************************!*\ !*** ./node_modules/date-fns/esm/isThisWeek/index.js ***! \*******************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return isThisWeek; }); /* harmony import */ var _isSameWeek_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../isSameWeek/index.js */ "JO1+"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name isThisWeek * @category Week Helpers * @summary Is the given date in the same week as the current date? * @pure false * * @description * Is the given date in the same week as the current date? * * > ⚠️ Please note that this function is not present in the FP submodule as * > it uses `Date.now()` internally hence impure and can't be safely curried. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the date to check * @param {Object} [options] - the object with options * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) * @returns {Boolean} the date is in this week * @throws {TypeError} 1 argument required * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 * * @example * // If today is 25 September 2014, is 21 September 2014 in this week? * var result = isThisWeek(new Date(2014, 8, 21)) * //=> true * * @example * // If today is 25 September 2014 and week starts with Monday * // is 21 September 2014 in this week? * var result = isThisWeek(new Date(2014, 8, 21), { weekStartsOn: 1 }) * //=> false */ function isThisWeek(dirtyDate, options) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); return Object(_isSameWeek_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate, Date.now(), options); } /***/ }), /***/ "32Ea": /*!********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/skipWhile.js ***! \********************************************************************/ /*! exports provided: skipWhile */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "skipWhile", function() { return skipWhile; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Subscriber */ "7o/Q"); function skipWhile(predicate) { return function (source) { return source.lift(new SkipWhileOperator(predicate)); }; } var SkipWhileOperator = /*#__PURE__*/function () { function SkipWhileOperator(predicate) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, SkipWhileOperator); this.predicate = predicate; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(SkipWhileOperator, [{ key: "call", value: function call(subscriber, source) { return source.subscribe(new SkipWhileSubscriber(subscriber, this.predicate)); } }]); return SkipWhileOperator; }(); var SkipWhileSubscriber = /*#__PURE__*/function (_Subscriber) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__["default"])(SkipWhileSubscriber, _Subscriber); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__["default"])(SkipWhileSubscriber); function SkipWhileSubscriber(destination, predicate) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, SkipWhileSubscriber); _this = _super.call(this, destination); _this.predicate = predicate; _this.skipping = true; _this.index = 0; return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(SkipWhileSubscriber, [{ key: "_next", value: function _next(value) { var destination = this.destination; if (this.skipping) { this.tryCallPredicate(value); } if (!this.skipping) { destination.next(value); } } }, { key: "tryCallPredicate", value: function tryCallPredicate(value) { try { var result = this.predicate(value, this.index++); this.skipping = Boolean(result); } catch (err) { this.destination.error(err); } } }]); return SkipWhileSubscriber; }(_Subscriber__WEBPACK_IMPORTED_MODULE_4__["Subscriber"]); /***/ }), /***/ "3E0/": /*!****************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/delay.js ***! \****************************************************************/ /*! exports provided: delay */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "delay", function() { return delay; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../scheduler/async */ "D0XW"); /* harmony import */ var _util_isDate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/isDate */ "mlxB"); /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Subscriber */ "7o/Q"); /* harmony import */ var _Notification__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Notification */ "WMd4"); function delay(delay) { var scheduler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _scheduler_async__WEBPACK_IMPORTED_MODULE_4__["async"]; var absoluteDelay = Object(_util_isDate__WEBPACK_IMPORTED_MODULE_5__["isDate"])(delay); var delayFor = absoluteDelay ? +delay - scheduler.now() : Math.abs(delay); return function (source) { return source.lift(new DelayOperator(delayFor, scheduler)); }; } var DelayOperator = /*#__PURE__*/function () { function DelayOperator(delay, scheduler) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, DelayOperator); this.delay = delay; this.scheduler = scheduler; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(DelayOperator, [{ key: "call", value: function call(subscriber, source) { return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler)); } }]); return DelayOperator; }(); var DelaySubscriber = /*#__PURE__*/function (_Subscriber) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__["default"])(DelaySubscriber, _Subscriber); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__["default"])(DelaySubscriber); function DelaySubscriber(destination, delay, scheduler) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, DelaySubscriber); _this = _super.call(this, destination); _this.delay = delay; _this.scheduler = scheduler; _this.queue = []; _this.active = false; _this.errored = false; return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(DelaySubscriber, [{ key: "_schedule", value: function _schedule(scheduler) { this.active = true; var destination = this.destination; destination.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, { source: this, destination: this.destination, scheduler: scheduler })); } }, { key: "scheduleNotification", value: function scheduleNotification(notification) { if (this.errored === true) { return; } var scheduler = this.scheduler; var message = new DelayMessage(scheduler.now() + this.delay, notification); this.queue.push(message); if (this.active === false) { this._schedule(scheduler); } } }, { key: "_next", value: function _next(value) { this.scheduleNotification(_Notification__WEBPACK_IMPORTED_MODULE_7__["Notification"].createNext(value)); } }, { key: "_error", value: function _error(err) { this.errored = true; this.queue = []; this.destination.error(err); this.unsubscribe(); } }, { key: "_complete", value: function _complete() { this.scheduleNotification(_Notification__WEBPACK_IMPORTED_MODULE_7__["Notification"].createComplete()); this.unsubscribe(); } }], [{ key: "dispatch", value: function dispatch(state) { var source = state.source; var queue = source.queue; var scheduler = state.scheduler; var destination = state.destination; while (queue.length > 0 && queue[0].time - scheduler.now() <= 0) { queue.shift().notification.observe(destination); } if (queue.length > 0) { var _delay = Math.max(0, queue[0].time - scheduler.now()); this.schedule(state, _delay); } else { this.unsubscribe(); source.active = false; } } }]); return DelaySubscriber; }(_Subscriber__WEBPACK_IMPORTED_MODULE_6__["Subscriber"]); var DelayMessage = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(function DelayMessage(time, notification) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, DelayMessage); this.time = time; this.notification = notification; }); /***/ }), /***/ "3N8a": /*!**********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js ***! \**********************************************************************/ /*! exports provided: AsyncAction */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AsyncAction", function() { return AsyncAction; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Action */ "7ve7"); var AsyncAction = /*#__PURE__*/function (_Action) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__["default"])(AsyncAction, _Action); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__["default"])(AsyncAction); function AsyncAction(scheduler, work) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, AsyncAction); _this = _super.call(this, scheduler, work); _this.scheduler = scheduler; _this.work = work; _this.pending = false; return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(AsyncAction, [{ key: "schedule", value: function schedule(state) { var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; if (this.closed) { return this; } this.state = state; var id = this.id; var scheduler = this.scheduler; if (id != null) { this.id = this.recycleAsyncId(scheduler, id, delay); } this.pending = true; this.delay = delay; this.id = this.id || this.requestAsyncId(scheduler, this.id, delay); return this; } }, { key: "requestAsyncId", value: function requestAsyncId(scheduler, id) { var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; return setInterval(scheduler.flush.bind(scheduler, this), delay); } }, { key: "recycleAsyncId", value: function recycleAsyncId(scheduler, id) { var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; if (delay !== null && this.delay === delay && this.pending === false) { return id; } clearInterval(id); return undefined; } }, { key: "execute", value: function execute(state, delay) { if (this.closed) { return new Error('executing a cancelled action'); } this.pending = false; var error = this._execute(state, delay); if (error) { return error; } else if (this.pending === false && this.id != null) { this.id = this.recycleAsyncId(this.scheduler, this.id, null); } } }, { key: "_execute", value: function _execute(state, delay) { var errored = false; var errorValue = undefined; try { this.work(state); } catch (e) { errored = true; errorValue = !!e && e || new Error(e); } if (errored) { this.unsubscribe(); return errorValue; } } }, { key: "_unsubscribe", value: function _unsubscribe() { var id = this.id; var scheduler = this.scheduler; var actions = scheduler.actions; var index = actions.indexOf(this); this.work = null; this.state = null; this.pending = false; this.scheduler = null; if (index !== -1) { actions.splice(index, 1); } if (id != null) { this.id = this.recycleAsyncId(scheduler, id, null); } this.delay = null; } }]); return AsyncAction; }(_Action__WEBPACK_IMPORTED_MODULE_4__["Action"]); /***/ }), /***/ "3REe": /*!*****************************************************************!*\ !*** ./node_modules/date-fns/esm/_lib/protectedTokens/index.js ***! \*****************************************************************/ /*! exports provided: isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isProtectedDayOfYearToken", function() { return isProtectedDayOfYearToken; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isProtectedWeekYearToken", function() { return isProtectedWeekYearToken; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "throwProtectedError", function() { return throwProtectedError; }); var protectedDayOfYearTokens = ['D', 'DD']; var protectedWeekYearTokens = ['YY', 'YYYY']; function isProtectedDayOfYearToken(token) { return protectedDayOfYearTokens.indexOf(token) !== -1; } function isProtectedWeekYearToken(token) { return protectedWeekYearTokens.indexOf(token) !== -1; } function throwProtectedError(token, format, input) { if (token === 'YYYY') { throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(format, "`) for formatting years to the input `").concat(input, "`; see: https://git.io/fxCyr")); } else if (token === 'YY') { throw new RangeError("Use `yy` instead of `YY` (in `".concat(format, "`) for formatting years to the input `").concat(input, "`; see: https://git.io/fxCyr")); } else if (token === 'D') { throw new RangeError("Use `d` instead of `D` (in `".concat(format, "`) for formatting days of the month to the input `").concat(input, "`; see: https://git.io/fxCyr")); } else if (token === 'DD') { throw new RangeError("Use `dd` instead of `DD` (in `".concat(format, "`) for formatting days of the month to the input `").concat(input, "`; see: https://git.io/fxCyr")); } } /***/ }), /***/ "3UWI": /*!********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/auditTime.js ***! \********************************************************************/ /*! exports provided: auditTime */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "auditTime", function() { return auditTime; }); /* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ "D0XW"); /* harmony import */ var _audit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./audit */ "tnsW"); /* harmony import */ var _observable_timer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/timer */ "PqYM"); function auditTime(duration) { var scheduler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _scheduler_async__WEBPACK_IMPORTED_MODULE_0__["async"]; return Object(_audit__WEBPACK_IMPORTED_MODULE_1__["audit"])(function () { return Object(_observable_timer__WEBPACK_IMPORTED_MODULE_2__["timer"])(duration, scheduler); }); } /***/ }), /***/ "3g9J": /*!*******************************************************!*\ !*** ./node_modules/date-fns/esm/getMinutes/index.js ***! \*******************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return getMinutes; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name getMinutes * @category Minute Helpers * @summary Get the minutes of the given date. * * @description * Get the minutes of the given date. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the given date * @returns {Number} the minutes * @throws {TypeError} 1 argument required * * @example * // Get the minutes of 29 February 2012 11:45:05: * const result = getMinutes(new Date(2012, 1, 29, 11, 45, 5)) * //=> 45 */ function getMinutes(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); var minutes = date.getMinutes(); return minutes; } /***/ }), /***/ "3nag": /*!*************************************************************************!*\ !*** ./node_modules/date-fns/esm/differenceInCalendarQuarters/index.js ***! \*************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return differenceInCalendarQuarters; }); /* harmony import */ var _getQuarter_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../getQuarter/index.js */ "SFWn"); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name differenceInCalendarQuarters * @category Quarter Helpers * @summary Get the number of calendar quarters between the given dates. * * @description * Get the number of calendar quarters between the given dates. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} dateLeft - the later date * @param {Date|Number} dateRight - the earlier date * @returns {Number} the number of calendar quarters * @throws {TypeError} 2 arguments required * * @example * // How many calendar quarters are between 31 December 2013 and 2 July 2014? * var result = differenceInCalendarQuarters( * new Date(2014, 6, 2), * new Date(2013, 11, 31) * ) * //=> 3 */ function differenceInCalendarQuarters(dirtyDateLeft, dirtyDateRight) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(2, arguments); var dateLeft = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(dirtyDateLeft); var dateRight = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(dirtyDateRight); var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear(); var quarterDiff = Object(_getQuarter_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dateLeft) - Object(_getQuarter_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dateRight); return yearDiff * 4 + quarterDiff; } /***/ }), /***/ "3zlk": /*!*****************************************************************************!*\ !*** ./node_modules/date-fns/esm/differenceInCalendarISOWeekYears/index.js ***! \*****************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return differenceInCalendarISOWeekYears; }); /* harmony import */ var _getISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../getISOWeekYear/index.js */ "BKKT"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name differenceInCalendarISOWeekYears * @category ISO Week-Numbering Year Helpers * @summary Get the number of calendar ISO week-numbering years between the given dates. * * @description * Get the number of calendar ISO week-numbering years between the given dates. * * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * - The function was renamed from `differenceInCalendarISOYears` to `differenceInCalendarISOWeekYears`. * "ISO week year" is short for [ISO week-numbering year](https://en.wikipedia.org/wiki/ISO_week_date). * This change makes the name consistent with * locale-dependent week-numbering year helpers, e.g., `addWeekYears`. * * @param {Date|Number} dateLeft - the later date * @param {Date|Number} dateRight - the earlier date * @returns {Number} the number of calendar ISO week-numbering years * @throws {TypeError} 2 arguments required * * @example * // How many calendar ISO week-numbering years are 1 January 2010 and 1 January 2012? * const result = differenceInCalendarISOWeekYears( * new Date(2012, 0, 1), * new Date(2010, 0, 1) * ) * //=> 2 */ function differenceInCalendarISOWeekYears(dirtyDateLeft, dirtyDateRight) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(2, arguments); return Object(_getISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDateLeft) - Object(_getISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDateRight); } /***/ }), /***/ "4+6U": /*!*****************************************************!*\ !*** ./node_modules/date-fns/esm/parseISO/index.js ***! \*****************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return parseISO; }); /* harmony import */ var _constants_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants/index.js */ "w3qX"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /* harmony import */ var _lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/toInteger/index.js */ "/h9T"); /** * @name parseISO * @category Common Helpers * @summary Parse ISO string * * @description * Parse the given string in ISO 8601 format and return an instance of Date. * * Function accepts complete ISO 8601 formats as well as partial implementations. * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601 * * If the argument isn't a string, the function cannot parse the string or * the values are invalid, it returns Invalid Date. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * - The previous `parse` implementation was renamed to `parseISO`. * * ```javascript * // Before v2.0.0 * parse('2016-01-01') * * // v2.0.0 onward * parseISO('2016-01-01') * ``` * * - `parseISO` now validates separate date and time values in ISO-8601 strings * and returns `Invalid Date` if the date is invalid. * * ```javascript * parseISO('2018-13-32') * //=> Invalid Date * ``` * * - `parseISO` now doesn't fall back to `new Date` constructor * if it fails to parse a string argument. Instead, it returns `Invalid Date`. * * @param {String} argument - the value to convert * @param {Object} [options] - an object with options. * @param {0|1|2} [options.additionalDigits=2] - the additional number of digits in the extended year format * @returns {Date} the parsed date in the local time zone * @throws {TypeError} 1 argument required * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 * * @example * // Convert string '2014-02-11T11:30:30' to date: * const result = parseISO('2014-02-11T11:30:30') * //=> Tue Feb 11 2014 11:30:30 * * @example * // Convert string '+02014101' to date, * // if the additional number of digits in the extended year format is 1: * const result = parseISO('+02014101', { additionalDigits: 1 }) * //=> Fri Apr 11 2014 00:00:00 */ function parseISO(argument, dirtyOptions) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); var options = dirtyOptions || {}; var additionalDigits = options.additionalDigits == null ? 2 : Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(options.additionalDigits); if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) { throw new RangeError('additionalDigits must be 0, 1 or 2'); } if (!(typeof argument === 'string' || Object.prototype.toString.call(argument) === '[object String]')) { return new Date(NaN); } var dateStrings = splitDateString(argument); var date; if (dateStrings.date) { var parseYearResult = parseYear(dateStrings.date, additionalDigits); date = parseDate(parseYearResult.restDateString, parseYearResult.year); } if (!date || isNaN(date.getTime())) { return new Date(NaN); } var timestamp = date.getTime(); var time = 0; var offset; if (dateStrings.time) { time = parseTime(dateStrings.time); if (isNaN(time)) { return new Date(NaN); } } if (dateStrings.timezone) { offset = parseTimezone(dateStrings.timezone); if (isNaN(offset)) { return new Date(NaN); } } else { var dirtyDate = new Date(timestamp + time); // js parsed string assuming it's in UTC timezone // but we need it to be parsed in our timezone // so we use utc values to build date in our timezone. // Year values from 0 to 99 map to the years 1900 to 1999 // so set year explicitly with setFullYear. var result = new Date(0); result.setFullYear(dirtyDate.getUTCFullYear(), dirtyDate.getUTCMonth(), dirtyDate.getUTCDate()); result.setHours(dirtyDate.getUTCHours(), dirtyDate.getUTCMinutes(), dirtyDate.getUTCSeconds(), dirtyDate.getUTCMilliseconds()); return result; } return new Date(timestamp + time + offset); } var patterns = { dateTimeDelimiter: /[T ]/, timeZoneDelimiter: /[Z ]/i, timezone: /([Z+-].*)$/ }; var dateRegex = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/; var timeRegex = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/; var timezoneRegex = /^([+-])(\d{2})(?::?(\d{2}))?$/; function splitDateString(dateString) { var dateStrings = {}; var array = dateString.split(patterns.dateTimeDelimiter); var timeString; // The regex match should only return at maximum two array elements. // [date], [time], or [date, time]. if (array.length > 2) { return dateStrings; } if (/:/.test(array[0])) { timeString = array[0]; } else { dateStrings.date = array[0]; timeString = array[1]; if (patterns.timeZoneDelimiter.test(dateStrings.date)) { dateStrings.date = dateString.split(patterns.timeZoneDelimiter)[0]; timeString = dateString.substr(dateStrings.date.length, dateString.length); } } if (timeString) { var token = patterns.timezone.exec(timeString); if (token) { dateStrings.time = timeString.replace(token[1], ''); dateStrings.timezone = token[1]; } else { dateStrings.time = timeString; } } return dateStrings; } function parseYear(dateString, additionalDigits) { var regex = new RegExp('^(?:(\\d{4}|[+-]\\d{' + (4 + additionalDigits) + '})|(\\d{2}|[+-]\\d{' + (2 + additionalDigits) + '})$)'); var captures = dateString.match(regex); // Invalid ISO-formatted year if (!captures) return { year: NaN, restDateString: '' }; var year = captures[1] ? parseInt(captures[1]) : null; var century = captures[2] ? parseInt(captures[2]) : null; // either year or century is null, not both return { year: century === null ? year : century * 100, restDateString: dateString.slice((captures[1] || captures[2]).length) }; } function parseDate(dateString, year) { // Invalid ISO-formatted year if (year === null) return new Date(NaN); var captures = dateString.match(dateRegex); // Invalid ISO-formatted string if (!captures) return new Date(NaN); var isWeekDate = !!captures[4]; var dayOfYear = parseDateUnit(captures[1]); var month = parseDateUnit(captures[2]) - 1; var day = parseDateUnit(captures[3]); var week = parseDateUnit(captures[4]); var dayOfWeek = parseDateUnit(captures[5]) - 1; if (isWeekDate) { if (!validateWeekDate(year, week, dayOfWeek)) { return new Date(NaN); } return dayOfISOWeekYear(year, week, dayOfWeek); } else { var date = new Date(0); if (!validateDate(year, month, day) || !validateDayOfYearDate(year, dayOfYear)) { return new Date(NaN); } date.setUTCFullYear(year, month, Math.max(dayOfYear, day)); return date; } } function parseDateUnit(value) { return value ? parseInt(value) : 1; } function parseTime(timeString) { var captures = timeString.match(timeRegex); if (!captures) return NaN; // Invalid ISO-formatted time var hours = parseTimeUnit(captures[1]); var minutes = parseTimeUnit(captures[2]); var seconds = parseTimeUnit(captures[3]); if (!validateTime(hours, minutes, seconds)) { return NaN; } return hours * _constants_index_js__WEBPACK_IMPORTED_MODULE_0__["millisecondsInHour"] + minutes * _constants_index_js__WEBPACK_IMPORTED_MODULE_0__["millisecondsInMinute"] + seconds * 1000; } function parseTimeUnit(value) { return value && parseFloat(value.replace(',', '.')) || 0; } function parseTimezone(timezoneString) { if (timezoneString === 'Z') return 0; var captures = timezoneString.match(timezoneRegex); if (!captures) return 0; var sign = captures[1] === '+' ? -1 : 1; var hours = parseInt(captures[2]); var minutes = captures[3] && parseInt(captures[3]) || 0; if (!validateTimezone(hours, minutes)) { return NaN; } return sign * (hours * _constants_index_js__WEBPACK_IMPORTED_MODULE_0__["millisecondsInHour"] + minutes * _constants_index_js__WEBPACK_IMPORTED_MODULE_0__["millisecondsInMinute"]); } function dayOfISOWeekYear(isoWeekYear, week, day) { var date = new Date(0); date.setUTCFullYear(isoWeekYear, 0, 4); var fourthOfJanuaryDay = date.getUTCDay() || 7; var diff = (week - 1) * 7 + day + 1 - fourthOfJanuaryDay; date.setUTCDate(date.getUTCDate() + diff); return date; } // Validation functions // February is null to handle the leap year (using ||) var daysInMonths = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; function isLeapYearIndex(year) { return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0; } function validateDate(year, month, date) { return month >= 0 && month <= 11 && date >= 1 && date <= (daysInMonths[month] || (isLeapYearIndex(year) ? 29 : 28)); } function validateDayOfYearDate(year, dayOfYear) { return dayOfYear >= 1 && dayOfYear <= (isLeapYearIndex(year) ? 366 : 365); } function validateWeekDate(_year, week, day) { return week >= 1 && week <= 53 && day >= 0 && day <= 6; } function validateTime(hours, minutes, seconds) { if (hours === 24) { return minutes === 0 && seconds === 0; } return seconds >= 0 && seconds < 60 && minutes >= 0 && minutes < 60 && hours >= 0 && hours < 25; } function validateTimezone(_hours, minutes) { return minutes >= 0 && minutes <= 59; } /***/ }), /***/ "47za": /*!********************************************************!*\ !*** ./node_modules/date-fns/esm/previousDay/index.js ***! \********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return previousDay; }); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /* harmony import */ var _getDay_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../getDay/index.js */ "GobQ"); /* harmony import */ var _subDays_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../subDays/index.js */ "Xep9"); /** * @name previousDay * @category Weekday Helpers * @summary When is the previous day of the week? * * @description * When is the previous day of the week? 0-6 the day of the week, 0 represents Sunday. * * @param {Date | number} date - the date to check * @param {number} day - day of the week * @returns {Date} - the date is the previous day of week * @throws {TypeError} - 2 arguments required * * @example * // When is the previous Monday before Mar, 20, 2020? * const result = previousDay(new Date(2020, 2, 20), 1) * //=> Mon Mar 16 2020 00:00:00 * * @example * // When is the previous Tuesday before Mar, 21, 2020? * const result = previousDay(new Date(2020, 2, 21), 2) * //=> Tue Mar 17 2020 00:00:00 */ function previousDay(date, day) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(2, arguments); var delta = Object(_getDay_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(date) - day; if (delta <= 0) delta += 7; return Object(_subDays_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(date, delta); } /***/ }), /***/ "4A3s": /*!*************************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js ***! \*************************************************************************/ /*! exports provided: ignoreElements */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ignoreElements", function() { return ignoreElements; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Subscriber */ "7o/Q"); function ignoreElements() { return function ignoreElementsOperatorFunction(source) { return source.lift(new IgnoreElementsOperator()); }; } var IgnoreElementsOperator = /*#__PURE__*/function () { function IgnoreElementsOperator() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, IgnoreElementsOperator); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(IgnoreElementsOperator, [{ key: "call", value: function call(subscriber, source) { return source.subscribe(new IgnoreElementsSubscriber(subscriber)); } }]); return IgnoreElementsOperator; }(); var IgnoreElementsSubscriber = /*#__PURE__*/function (_Subscriber) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__["default"])(IgnoreElementsSubscriber, _Subscriber); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__["default"])(IgnoreElementsSubscriber); function IgnoreElementsSubscriber() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, IgnoreElementsSubscriber); return _super.apply(this, arguments); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(IgnoreElementsSubscriber, [{ key: "_next", value: function _next(unused) {} }]); return IgnoreElementsSubscriber; }(_Subscriber__WEBPACK_IMPORTED_MODULE_4__["Subscriber"]); /***/ }), /***/ "4G8O": /*!************************************************************!*\ !*** ./node_modules/date-fns/esm/getMilliseconds/index.js ***! \************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return getMilliseconds; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name getMilliseconds * @category Millisecond Helpers * @summary Get the milliseconds of the given date. * * @description * Get the milliseconds of the given date. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the given date * @returns {Number} the milliseconds * @throws {TypeError} 1 argument required * * @example * // Get the milliseconds of 29 February 2012 11:45:05.123: * const result = getMilliseconds(new Date(2012, 1, 29, 11, 45, 5, 123)) * //=> 123 */ function getMilliseconds(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); var milliseconds = date.getMilliseconds(); return milliseconds; } /***/ }), /***/ "4I5i": /*!*****************************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js ***! \*****************************************************************************/ /*! exports provided: ArgumentOutOfRangeError */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ArgumentOutOfRangeError", function() { return ArgumentOutOfRangeError; }); var ArgumentOutOfRangeErrorImpl = function () { function ArgumentOutOfRangeErrorImpl() { Error.call(this); this.message = 'argument out of range'; this.name = 'ArgumentOutOfRangeError'; return this; } ArgumentOutOfRangeErrorImpl.prototype = Object.create(Error.prototype); return ArgumentOutOfRangeErrorImpl; }(); var ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl; /***/ }), /***/ "4O5X": /*!****************************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js ***! \****************************************************************************/ /*! exports provided: bindNodeCallback */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bindNodeCallback", function() { return bindNodeCallback; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/toConsumableArray */ "KQm4"); /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Observable */ "HDdC"); /* harmony import */ var _AsyncSubject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../AsyncSubject */ "NHP+"); /* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../operators/map */ "lJxs"); /* harmony import */ var _util_canReportError__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/canReportError */ "8Qeq"); /* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/isScheduler */ "z+Ro"); /* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/isArray */ "DH7j"); function bindNodeCallback(callbackFunc, resultSelector, scheduler) { if (resultSelector) { if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_5__["isScheduler"])(resultSelector)) { scheduler = resultSelector; } else { return function () { return bindNodeCallback(callbackFunc, scheduler).apply(void 0, arguments).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_3__["map"])(function (args) { return Object(_util_isArray__WEBPACK_IMPORTED_MODULE_6__["isArray"])(args) ? resultSelector.apply(void 0, Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(args)) : resultSelector(args); })); }; } } return function () { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } var params = { subject: undefined, args: args, callbackFunc: callbackFunc, scheduler: scheduler, context: this }; return new _Observable__WEBPACK_IMPORTED_MODULE_1__["Observable"](function (subscriber) { var context = params.context; var subject = params.subject; if (!scheduler) { if (!subject) { subject = params.subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_2__["AsyncSubject"](); var handler = function handler() { for (var _len2 = arguments.length, innerArgs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { innerArgs[_key2] = arguments[_key2]; } var err = innerArgs.shift(); if (err) { subject.error(err); return; } subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs); subject.complete(); }; try { callbackFunc.apply(context, [].concat(args, [handler])); } catch (err) { if (Object(_util_canReportError__WEBPACK_IMPORTED_MODULE_4__["canReportError"])(subject)) { subject.error(err); } else { console.warn(err); } } } return subject.subscribe(subscriber); } else { return scheduler.schedule(dispatch, 0, { params: params, subscriber: subscriber, context: context }); } }); }; } function dispatch(state) { var _this = this; var params = state.params, subscriber = state.subscriber, context = state.context; var callbackFunc = params.callbackFunc, args = params.args, scheduler = params.scheduler; var subject = params.subject; if (!subject) { subject = params.subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_2__["AsyncSubject"](); var handler = function handler() { for (var _len3 = arguments.length, innerArgs = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { innerArgs[_key3] = arguments[_key3]; } var err = innerArgs.shift(); if (err) { _this.add(scheduler.schedule(dispatchError, 0, { err: err, subject: subject })); } else { var value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs; _this.add(scheduler.schedule(dispatchNext, 0, { value: value, subject: subject })); } }; try { callbackFunc.apply(context, [].concat(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(args), [handler])); } catch (err) { this.add(scheduler.schedule(dispatchError, 0, { err: err, subject: subject })); } } this.add(subject.subscribe(subscriber)); } function dispatchNext(arg) { var value = arg.value, subject = arg.subject; subject.next(value); subject.complete(); } function dispatchError(arg) { var err = arg.err, subject = arg.subject; subject.error(err); } /***/ }), /***/ "4Ukw": /*!**************************************************************!*\ !*** ./node_modules/date-fns/esm/formatISODuration/index.js ***! \**************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return formatISODuration; }); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name formatISODuration * @category Common Helpers * @summary Format a duration object according as ISO 8601 duration string * * @description * Format a duration object according to the ISO 8601 duration standard (https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm) * * @param {Duration} duration - the duration to format * * @returns {String} The ISO 8601 duration string * @throws {TypeError} Requires 1 argument * @throws {Error} Argument must be an object * * @example * // Format the given duration as ISO 8601 string * const result = formatISODuration({ * years: 39, * months: 2, * days: 20, * hours: 7, * minutes: 5, * seconds: 0 * }) * //=> 'P39Y2M20DT0H0M0S' */ function formatISODuration(duration) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(1, arguments); if (typeof duration !== 'object') throw new Error('Duration must be an object'); var _duration$years = duration.years, years = _duration$years === void 0 ? 0 : _duration$years, _duration$months = duration.months, months = _duration$months === void 0 ? 0 : _duration$months, _duration$days = duration.days, days = _duration$days === void 0 ? 0 : _duration$days, _duration$hours = duration.hours, hours = _duration$hours === void 0 ? 0 : _duration$hours, _duration$minutes = duration.minutes, minutes = _duration$minutes === void 0 ? 0 : _duration$minutes, _duration$seconds = duration.seconds, seconds = _duration$seconds === void 0 ? 0 : _duration$seconds; return "P".concat(years, "Y").concat(months, "M").concat(days, "DT").concat(hours, "H").concat(minutes, "M").concat(seconds, "S"); } /***/ }), /***/ "4bjS": /*!*******************************************************!*\ !*** ./node_modules/date-fns/esm/setMinutes/index.js ***! \*******************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return setMinutes; }); /* harmony import */ var _lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/toInteger/index.js */ "/h9T"); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name setMinutes * @category Minute Helpers * @summary Set the minutes to the given date. * * @description * Set the minutes to the given date. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the date to be changed * @param {Number} minutes - the minutes of the new date * @returns {Date} the new date with the minutes set * @throws {TypeError} 2 arguments required * * @example * // Set 45 minutes to 1 September 2014 11:30:40: * const result = setMinutes(new Date(2014, 8, 1, 11, 30, 40), 45) * //=> Mon Sep 01 2014 11:45:40 */ function setMinutes(dirtyDate, dirtyMinutes) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(2, arguments); var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(dirtyDate); var minutes = Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyMinutes); date.setMinutes(minutes); return date; } /***/ }), /***/ "4f8F": /*!***************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/race.js ***! \***************************************************************/ /*! exports provided: race */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "race", function() { return race; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/toConsumableArray */ "KQm4"); /* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ "DH7j"); /* harmony import */ var _observable_race__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/race */ "Nv8m"); function race() { for (var _len = arguments.length, observables = new Array(_len), _key = 0; _key < _len; _key++) { observables[_key] = arguments[_key]; } return function raceOperatorFunction(source) { if (observables.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__["isArray"])(observables[0])) { observables = observables[0]; } return source.lift.call(_observable_race__WEBPACK_IMPORTED_MODULE_2__["race"].apply(void 0, [source].concat(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(observables)))); }; } /***/ }), /***/ "4hIw": /*!***********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/timeInterval.js ***! \***********************************************************************/ /*! exports provided: timeInterval, TimeInterval */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "timeInterval", function() { return timeInterval; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TimeInterval", function() { return TimeInterval; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/async */ "D0XW"); /* harmony import */ var _scan__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./scan */ "Kqap"); /* harmony import */ var _observable_defer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../observable/defer */ "NXyV"); /* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./map */ "lJxs"); function timeInterval() { var scheduler = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _scheduler_async__WEBPACK_IMPORTED_MODULE_2__["async"]; return function (source) { return Object(_observable_defer__WEBPACK_IMPORTED_MODULE_4__["defer"])(function () { return source.pipe(Object(_scan__WEBPACK_IMPORTED_MODULE_3__["scan"])(function (_ref, value) { var current = _ref.current; return { value: value, current: scheduler.now(), last: current }; }, { current: scheduler.now(), value: undefined, last: undefined }), Object(_map__WEBPACK_IMPORTED_MODULE_5__["map"])(function (_ref2) { var current = _ref2.current, last = _ref2.last, value = _ref2.value; return new TimeInterval(value, current - last); })); }); }; } var TimeInterval = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__["default"])(function TimeInterval(value, interval) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, TimeInterval); this.value = value; this.interval = interval; }); /***/ }), /***/ "4jLh": /*!****************************************************************!*\ !*** ./node_modules/date-fns/esm/eachMonthOfInterval/index.js ***! \****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return eachMonthOfInterval; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name eachMonthOfInterval * @category Interval Helpers * @summary Return the array of months within the specified time interval. * * @description * Return the array of months within the specified time interval. * * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} * @returns {Date[]} the array with starts of months from the month of the interval start to the month of the interval end * @throws {TypeError} 1 argument required * @throws {RangeError} The start of an interval cannot be after its end * @throws {RangeError} Date in interval cannot be `Invalid Date` * * @example * // Each month between 6 February 2014 and 10 August 2014: * var result = eachMonthOfInterval({ * start: new Date(2014, 1, 6), * end: new Date(2014, 7, 10) * }) * //=> [ * // Sat Feb 01 2014 00:00:00, * // Sat Mar 01 2014 00:00:00, * // Tue Apr 01 2014 00:00:00, * // Thu May 01 2014 00:00:00, * // Sun Jun 01 2014 00:00:00, * // Tue Jul 01 2014 00:00:00, * // Fri Aug 01 2014 00:00:00 * // ] */ function eachMonthOfInterval(dirtyInterval) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); var interval = dirtyInterval || {}; var startDate = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(interval.start); var endDate = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(interval.end); var endTime = endDate.getTime(); var dates = []; // Throw an exception if start date is after end date or if any date is `Invalid Date` if (!(startDate.getTime() <= endTime)) { throw new RangeError('Invalid interval'); } var currentDate = startDate; currentDate.setHours(0, 0, 0, 0); currentDate.setDate(1); while (currentDate.getTime() <= endTime) { dates.push(Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(currentDate)); currentDate.setMonth(currentDate.getMonth() + 1); } return dates; } /***/ }), /***/ "4yVj": /*!**************************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/scheduled/schedulePromise.js ***! \**************************************************************************/ /*! exports provided: schedulePromise */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "schedulePromise", function() { return schedulePromise; }); /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ "HDdC"); /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ "quSY"); function schedulePromise(input, scheduler) { return new _Observable__WEBPACK_IMPORTED_MODULE_0__["Observable"](function (subscriber) { var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__["Subscription"](); sub.add(scheduler.schedule(function () { return input.then(function (value) { sub.add(scheduler.schedule(function () { subscriber.next(value); sub.add(scheduler.schedule(function () { return subscriber.complete(); })); })); }, function (err) { sub.add(scheduler.schedule(function () { return subscriber.error(err); })); }); })); return sub; }); } /***/ }), /***/ "5+tZ": /*!*******************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js ***! \*******************************************************************/ /*! exports provided: mergeMap, MergeMapOperator, MergeMapSubscriber, flatMap */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mergeMap", function() { return mergeMap; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MergeMapOperator", function() { return MergeMapOperator; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MergeMapSubscriber", function() { return MergeMapSubscriber; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "flatMap", function() { return flatMap; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./map */ "lJxs"); /* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../observable/from */ "Cfvw"); /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../innerSubscribe */ "zx2A"); function mergeMap(project, resultSelector) { var concurrent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Number.POSITIVE_INFINITY; if (typeof resultSelector === 'function') { return function (source) { return source.pipe(mergeMap(function (a, i) { return Object(_observable_from__WEBPACK_IMPORTED_MODULE_5__["from"])(project(a, i)).pipe(Object(_map__WEBPACK_IMPORTED_MODULE_4__["map"])(function (b, ii) { return resultSelector(a, b, i, ii); })); }, concurrent)); }; } else if (typeof resultSelector === 'number') { concurrent = resultSelector; } return function (source) { return source.lift(new MergeMapOperator(project, concurrent)); }; } var MergeMapOperator = /*#__PURE__*/function () { function MergeMapOperator(project) { var concurrent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Number.POSITIVE_INFINITY; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, MergeMapOperator); this.project = project; this.concurrent = concurrent; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(MergeMapOperator, [{ key: "call", value: function call(observer, source) { return source.subscribe(new MergeMapSubscriber(observer, this.project, this.concurrent)); } }]); return MergeMapOperator; }(); var MergeMapSubscriber = /*#__PURE__*/function (_SimpleOuterSubscribe) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__["default"])(MergeMapSubscriber, _SimpleOuterSubscribe); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__["default"])(MergeMapSubscriber); function MergeMapSubscriber(destination, project) { var _this; var concurrent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Number.POSITIVE_INFINITY; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, MergeMapSubscriber); _this = _super.call(this, destination); _this.project = project; _this.concurrent = concurrent; _this.hasCompleted = false; _this.buffer = []; _this.active = 0; _this.index = 0; return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(MergeMapSubscriber, [{ key: "_next", value: function _next(value) { if (this.active < this.concurrent) { this._tryNext(value); } else { this.buffer.push(value); } } }, { key: "_tryNext", value: function _tryNext(value) { var result; var index = this.index++; try { result = this.project(value, index); } catch (err) { this.destination.error(err); return; } this.active++; this._innerSub(result); } }, { key: "_innerSub", value: function _innerSub(ish) { var innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_6__["SimpleInnerSubscriber"](this); var destination = this.destination; destination.add(innerSubscriber); var innerSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_6__["innerSubscribe"])(ish, innerSubscriber); if (innerSubscription !== innerSubscriber) { destination.add(innerSubscription); } } }, { key: "_complete", value: function _complete() { this.hasCompleted = true; if (this.active === 0 && this.buffer.length === 0) { this.destination.complete(); } this.unsubscribe(); } }, { key: "notifyNext", value: function notifyNext(innerValue) { this.destination.next(innerValue); } }, { key: "notifyComplete", value: function notifyComplete() { var buffer = this.buffer; this.active--; if (buffer.length > 0) { this._next(buffer.shift()); } else if (this.active === 0 && this.hasCompleted) { this.destination.complete(); } } }]); return MergeMapSubscriber; }(_innerSubscribe__WEBPACK_IMPORTED_MODULE_6__["SimpleOuterSubscriber"]); var flatMap = mergeMap; /***/ }), /***/ "51Bx": /*!********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeScan.js ***! \********************************************************************/ /*! exports provided: mergeScan, MergeScanOperator, MergeScanSubscriber */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mergeScan", function() { return mergeScan; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MergeScanOperator", function() { return MergeScanOperator; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MergeScanSubscriber", function() { return MergeScanSubscriber; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../innerSubscribe */ "zx2A"); function mergeScan(accumulator, seed) { var concurrent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Number.POSITIVE_INFINITY; return function (source) { return source.lift(new MergeScanOperator(accumulator, seed, concurrent)); }; } var MergeScanOperator = /*#__PURE__*/function () { function MergeScanOperator(accumulator, seed, concurrent) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, MergeScanOperator); this.accumulator = accumulator; this.seed = seed; this.concurrent = concurrent; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(MergeScanOperator, [{ key: "call", value: function call(subscriber, source) { return source.subscribe(new MergeScanSubscriber(subscriber, this.accumulator, this.seed, this.concurrent)); } }]); return MergeScanOperator; }(); var MergeScanSubscriber = /*#__PURE__*/function (_SimpleOuterSubscribe) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__["default"])(MergeScanSubscriber, _SimpleOuterSubscribe); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__["default"])(MergeScanSubscriber); function MergeScanSubscriber(destination, accumulator, acc, concurrent) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, MergeScanSubscriber); _this = _super.call(this, destination); _this.accumulator = accumulator; _this.acc = acc; _this.concurrent = concurrent; _this.hasValue = false; _this.hasCompleted = false; _this.buffer = []; _this.active = 0; _this.index = 0; return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(MergeScanSubscriber, [{ key: "_next", value: function _next(value) { if (this.active < this.concurrent) { var index = this.index++; var destination = this.destination; var ish; try { var accumulator = this.accumulator; ish = accumulator(this.acc, value, index); } catch (e) { return destination.error(e); } this.active++; this._innerSub(ish); } else { this.buffer.push(value); } } }, { key: "_innerSub", value: function _innerSub(ish) { var innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_4__["SimpleInnerSubscriber"](this); var destination = this.destination; destination.add(innerSubscriber); var innerSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_4__["innerSubscribe"])(ish, innerSubscriber); if (innerSubscription !== innerSubscriber) { destination.add(innerSubscription); } } }, { key: "_complete", value: function _complete() { this.hasCompleted = true; if (this.active === 0 && this.buffer.length === 0) { if (this.hasValue === false) { this.destination.next(this.acc); } this.destination.complete(); } this.unsubscribe(); } }, { key: "notifyNext", value: function notifyNext(innerValue) { var destination = this.destination; this.acc = innerValue; this.hasValue = true; destination.next(innerValue); } }, { key: "notifyComplete", value: function notifyComplete() { var buffer = this.buffer; this.active--; if (buffer.length > 0) { this._next(buffer.shift()); } else if (this.active === 0 && this.hasCompleted) { if (this.hasValue === false) { this.destination.next(this.acc); } this.destination.complete(); } } }]); return MergeScanSubscriber; }(_innerSubscribe__WEBPACK_IMPORTED_MODULE_4__["SimpleOuterSubscriber"]); /***/ }), /***/ "51Dv": /*!****************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js ***! \****************************************************************/ /*! exports provided: InnerSubscriber */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InnerSubscriber", function() { return InnerSubscriber; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Subscriber */ "7o/Q"); var InnerSubscriber = /*#__PURE__*/function (_Subscriber) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__["default"])(InnerSubscriber, _Subscriber); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__["default"])(InnerSubscriber); function InnerSubscriber(parent, outerValue, outerIndex) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, InnerSubscriber); _this = _super.call(this); _this.parent = parent; _this.outerValue = outerValue; _this.outerIndex = outerIndex; _this.index = 0; return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(InnerSubscriber, [{ key: "_next", value: function _next(value) { this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this); } }, { key: "_error", value: function _error(error) { this.parent.notifyError(error, this); this.unsubscribe(); } }, { key: "_complete", value: function _complete() { this.parent.notifyComplete(this); this.unsubscribe(); } }]); return InnerSubscriber; }(_Subscriber__WEBPACK_IMPORTED_MODULE_4__["Subscriber"]); /***/ }), /***/ "55Mi": /*!********************************************************!*\ !*** ./node_modules/date-fns/esm/nextTuesday/index.js ***! \********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return nextTuesday; }); /* harmony import */ var _nextDay_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../nextDay/index.js */ "CEZs"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name nextTuesday * @category Weekday Helpers * @summary When is the next Tuesday? * * @description * When is the next Tuesday? * * @param {Date | number} date - the date to start counting from * @returns {Date} the next Tuesday * @throws {TypeError} 1 argument required * * @example * // When is the next Tuesday after Mar, 22, 2020? * const result = nextTuesday(new Date(2020, 2, 22)) * //=> Tue Mar 24 2020 00:00:00 */ function nextTuesday(date) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); return Object(_nextDay_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(date, 2); } /***/ }), /***/ "5A4h": /*!*********************************************************************!*\ !*** ./node_modules/ng-zorro-antd/fesm2015/ng-zorro-antd-result.js ***! \*********************************************************************/ /*! exports provided: NzResultComponent, NzResultContentDirective, NzResultExtraDirective, NzResultIconDirective, NzResultModule, NzResultSubtitleDirective, NzResultTitleDirective, ɵNzResultNotFoundComponent, ɵNzResultServerErrorComponent, ɵNzResultUnauthorizedComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzResultComponent", function() { return NzResultComponent; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzResultContentDirective", function() { return NzResultContentDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzResultExtraDirective", function() { return NzResultExtraDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzResultIconDirective", function() { return NzResultIconDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzResultModule", function() { return NzResultModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzResultSubtitleDirective", function() { return NzResultSubtitleDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzResultTitleDirective", function() { return NzResultTitleDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNzResultNotFoundComponent", function() { return NzResultNotFoundComponent; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNzResultServerErrorComponent", function() { return NzResultServerErrorComponent; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNzResultUnauthorizedComponent", function() { return NzResultUnauthorizedComponent; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/bidi */ "9gLZ"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "SVse"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ "8Y7J"); /* harmony import */ var ng_zorro_antd_core_outlet__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ng-zorro-antd/core/outlet */ "PgQK"); /* harmony import */ var ng_zorro_antd_icon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ng-zorro-antd/icon */ "66zS"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ "qCKp"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ "kU1M"); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ function NzResultComponent_ng_container_1_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](1, "i", 6); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerEnd"](); } if (rf & 2) { var icon_r12 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("nzType", icon_r12); } } function NzResultComponent_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](1, NzResultComponent_ng_container_1_ng_container_1_ng_container_1_Template, 2, 1, "ng-container", 5); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerEnd"](); } if (rf & 2) { var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("nzStringTemplateOutlet", ctx_r9.icon); } } function NzResultComponent_ng_container_1_ng_content_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵprojection"](0, 1, ["*ngIf", "!icon"]); } } function NzResultComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](1, NzResultComponent_ng_container_1_ng_container_1_Template, 2, 1, "ng-container", 2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](2, NzResultComponent_ng_container_1_ng_content_2_Template, 1, 0, "ng-content", 2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerEnd"](); } if (rf & 2) { var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx_r0.icon); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", !ctx_r0.icon); } } function NzResultComponent_ng_container_2_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); } if (rf & 2) { var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtextInterpolate1"](" ", ctx_r13.nzTitle, " "); } } function NzResultComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](1, NzResultComponent_ng_container_2_div_1_Template, 2, 1, "div", 7); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerEnd"](); } if (rf & 2) { var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("nzStringTemplateOutlet", ctx_r1.nzTitle); } } function NzResultComponent_ng_content_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵprojection"](0, 2, ["*ngIf", "!nzTitle"]); } } function NzResultComponent_ng_container_4_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); } if (rf & 2) { var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtextInterpolate1"](" ", ctx_r14.nzSubTitle, " "); } } function NzResultComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](1, NzResultComponent_ng_container_4_div_1_Template, 2, 1, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerEnd"](); } if (rf & 2) { var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("nzStringTemplateOutlet", ctx_r3.nzSubTitle); } } function NzResultComponent_ng_content_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵprojection"](0, 3, ["*ngIf", "!nzSubTitle"]); } } function NzResultComponent_div_7_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerEnd"](); } if (rf & 2) { var ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtextInterpolate1"](" ", ctx_r15.nzExtra, " "); } } function NzResultComponent_div_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](1, NzResultComponent_div_7_ng_container_1_Template, 2, 1, "ng-container", 5); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); } if (rf & 2) { var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("nzStringTemplateOutlet", ctx_r5.nzExtra); } } function NzResultComponent_ng_content_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵprojection"](0, 4, ["*ngIf", "!nzExtra"]); } } function NzResultComponent_ng_template_9_nz_result_not_found_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](0, "nz-result-not-found"); } } function NzResultComponent_ng_template_9_nz_result_server_error_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](0, "nz-result-server-error"); } } function NzResultComponent_ng_template_9_nz_result_unauthorized_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](0, "nz-result-unauthorized"); } } function NzResultComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerStart"](0, 12); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](1, NzResultComponent_ng_template_9_nz_result_not_found_1_Template, 1, 0, "nz-result-not-found", 13); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](2, NzResultComponent_ng_template_9_nz_result_server_error_2_Template, 1, 0, "nz-result-server-error", 13); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](3, NzResultComponent_ng_template_9_nz_result_unauthorized_3_Template, 1, 0, "nz-result-unauthorized", 13); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerEnd"](); } if (rf & 2) { var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngSwitch", ctx_r8.nzStatus); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngSwitchCase", "404"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngSwitchCase", "500"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngSwitchCase", "403"); } } var _c0 = [[["nz-result-content"], ["", "nz-result-content", ""]], [["", "nz-result-icon", ""]], [["div", "nz-result-title", ""]], [["div", "nz-result-subtitle", ""]], [["div", "nz-result-extra", ""]]]; var _c1 = ["nz-result-content, [nz-result-content]", "[nz-result-icon]", "div[nz-result-title]", "div[nz-result-subtitle]", "div[nz-result-extra]"]; var NzResultTitleDirective = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__["default"])(function NzResultTitleDirective() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzResultTitleDirective); }); NzResultTitleDirective.ɵfac = function NzResultTitleDirective_Factory(t) { return new (t || NzResultTitleDirective)(); }; NzResultTitleDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ type: NzResultTitleDirective, selectors: [["div", "nz-result-title", ""]], hostAttrs: [1, "ant-result-title"], exportAs: ["nzResultTitle"] }); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](NzResultTitleDirective, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Directive"], args: [{ selector: 'div[nz-result-title]', exportAs: 'nzResultTitle', host: { class: 'ant-result-title' } }] }], null, null); })(); var NzResultSubtitleDirective = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__["default"])(function NzResultSubtitleDirective() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzResultSubtitleDirective); }); NzResultSubtitleDirective.ɵfac = function NzResultSubtitleDirective_Factory(t) { return new (t || NzResultSubtitleDirective)(); }; NzResultSubtitleDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ type: NzResultSubtitleDirective, selectors: [["div", "nz-result-subtitle", ""]], hostAttrs: [1, "ant-result-subtitle"], exportAs: ["nzResultSubtitle"] }); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](NzResultSubtitleDirective, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Directive"], args: [{ selector: 'div[nz-result-subtitle]', exportAs: 'nzResultSubtitle', host: { class: 'ant-result-subtitle' } }] }], null, null); })(); var NzResultIconDirective = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__["default"])(function NzResultIconDirective() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzResultIconDirective); }); NzResultIconDirective.ɵfac = function NzResultIconDirective_Factory(t) { return new (t || NzResultIconDirective)(); }; NzResultIconDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ type: NzResultIconDirective, selectors: [["i", "nz-result-icon", ""], ["div", "nz-result-icon", ""]], exportAs: ["nzResultIcon"] }); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](NzResultIconDirective, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Directive"], args: [{ selector: 'i[nz-result-icon], div[nz-result-icon]', exportAs: 'nzResultIcon' }] }], null, null); })(); var NzResultContentDirective = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__["default"])(function NzResultContentDirective() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzResultContentDirective); }); NzResultContentDirective.ɵfac = function NzResultContentDirective_Factory(t) { return new (t || NzResultContentDirective)(); }; NzResultContentDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ type: NzResultContentDirective, selectors: [["div", "nz-result-content", ""]], hostAttrs: [1, "ant-result-content"], exportAs: ["nzResultContent"] }); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](NzResultContentDirective, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Directive"], args: [{ selector: 'div[nz-result-content]', exportAs: 'nzResultContent', host: { class: 'ant-result-content' } }] }], null, null); })(); var NzResultExtraDirective = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__["default"])(function NzResultExtraDirective() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzResultExtraDirective); }); NzResultExtraDirective.ɵfac = function NzResultExtraDirective_Factory(t) { return new (t || NzResultExtraDirective)(); }; NzResultExtraDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ type: NzResultExtraDirective, selectors: [["div", "nz-result-extra", ""]], hostAttrs: [1, "ant-result-extra"], exportAs: ["nzResultExtra"] }); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](NzResultExtraDirective, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Directive"], args: [{ selector: 'div[nz-result-extra]', exportAs: 'nzResultExtra', host: { class: 'ant-result-extra' } }] }], null, null); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var IconMap = { success: 'check-circle', error: 'close-circle', info: 'exclamation-circle', warning: 'warning' }; var ExceptionStatus = ['404', '500', '403']; var NzResultComponent = /*#__PURE__*/function () { function NzResultComponent(elementRef, cdr, directionality) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzResultComponent); this.elementRef = elementRef; this.cdr = cdr; this.directionality = directionality; this.nzStatus = 'info'; this.isException = false; this.dir = 'ltr'; this.destroy$ = new rxjs__WEBPACK_IMPORTED_MODULE_7__["Subject"](); // TODO: move to host after View Engine deprecation this.elementRef.nativeElement.classList.add('ant-result'); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__["default"])(NzResultComponent, [{ key: "ngOnInit", value: function ngOnInit() { var _this = this; var _a; (_a = this.directionality.change) === null || _a === void 0 ? void 0 : _a.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_8__["takeUntil"])(this.destroy$)).subscribe(function (direction) { _this.dir = direction; _this.cdr.detectChanges(); }); this.dir = this.directionality.value; } }, { key: "ngOnChanges", value: function ngOnChanges() { this.setStatusIcon(); } }, { key: "ngOnDestroy", value: function ngOnDestroy() { this.destroy$.next(); this.destroy$.complete(); } }, { key: "setStatusIcon", value: function setStatusIcon() { var icon = this.nzIcon; this.isException = ExceptionStatus.indexOf(this.nzStatus) !== -1; this.icon = icon ? typeof icon === 'string' ? IconMap[icon] || icon : icon : this.isException ? undefined : IconMap[this.nzStatus]; } }]); return NzResultComponent; }(); NzResultComponent.ɵfac = function NzResultComponent_Factory(t) { return new (t || NzResultComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__["Directionality"], 8)); }; NzResultComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineComponent"]({ type: NzResultComponent, selectors: [["nz-result"]], hostVars: 10, hostBindings: function NzResultComponent_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵclassProp"]("ant-result-success", ctx.nzStatus === "success")("ant-result-error", ctx.nzStatus === "error")("ant-result-info", ctx.nzStatus === "info")("ant-result-warning", ctx.nzStatus === "warning")("ant-result-rtl", ctx.dir === "rtl"); } }, inputs: { nzStatus: "nzStatus", nzIcon: "nzIcon", nzTitle: "nzTitle", nzSubTitle: "nzSubTitle", nzExtra: "nzExtra" }, exportAs: ["nzResult"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵNgOnChangesFeature"]], ngContentSelectors: _c1, decls: 11, vars: 8, consts: [[1, "ant-result-icon"], [4, "ngIf", "ngIfElse"], [4, "ngIf"], ["class", "ant-result-extra", 4, "ngIf"], ["exceptionTpl", ""], [4, "nzStringTemplateOutlet"], ["nz-icon", "", "nzTheme", "fill", 3, "nzType"], ["class", "ant-result-title", 4, "nzStringTemplateOutlet"], [1, "ant-result-title"], ["class", "ant-result-subtitle", 4, "nzStringTemplateOutlet"], [1, "ant-result-subtitle"], [1, "ant-result-extra"], [3, "ngSwitch"], [4, "ngSwitchCase"]], template: function NzResultComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵprojectionDef"](_c0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](1, NzResultComponent_ng_container_1_Template, 3, 2, "ng-container", 1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](2, NzResultComponent_ng_container_2_Template, 2, 1, "ng-container", 2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](3, NzResultComponent_ng_content_3_Template, 1, 0, "ng-content", 2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](4, NzResultComponent_ng_container_4_Template, 2, 1, "ng-container", 2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](5, NzResultComponent_ng_content_5_Template, 1, 0, "ng-content", 2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵprojection"](6); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](7, NzResultComponent_div_7_Template, 2, 1, "div", 3); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](8, NzResultComponent_ng_content_8_Template, 1, 0, "ng-content", 2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](9, NzResultComponent_ng_template_9_Template, 4, 4, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { var _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵreference"](10); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", !ctx.isException)("ngIfElse", _r7); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx.nzTitle); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", !ctx.nzTitle); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx.nzSubTitle); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", !ctx.nzSubTitle); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx.nzExtra); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", !ctx.nzExtra); } }, directives: function directives() { return [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], ng_zorro_antd_core_outlet__WEBPACK_IMPORTED_MODULE_5__["NzStringTemplateOutletDirective"], ng_zorro_antd_icon__WEBPACK_IMPORTED_MODULE_6__["NzIconDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], NzResultNotFoundComponent, NzResultServerErrorComponent, NzResultUnauthorizedComponent]; }, encapsulation: 2, changeDetection: 0 }); NzResultComponent.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["ChangeDetectorRef"] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Optional"] }] }]; }; NzResultComponent.propDecorators = { nzIcon: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Input"] }], nzTitle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Input"] }], nzStatus: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Input"] }], nzSubTitle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Input"] }], nzExtra: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Input"] }] }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](NzResultComponent, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Component"], args: [{ changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_4__["ChangeDetectionStrategy"].OnPush, encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_4__["ViewEncapsulation"].None, selector: 'nz-result', exportAs: 'nzResult', template: "\n
\n \n \n \n \n \n \n \n \n
\n \n
\n {{ nzTitle }}\n
\n
\n \n \n
\n {{ nzSubTitle }}\n
\n
\n \n \n
\n \n {{ nzExtra }}\n \n
\n \n\n \n \n \n \n \n \n \n ", host: { '[class.ant-result-success]': "nzStatus === 'success'", '[class.ant-result-error]': "nzStatus === 'error'", '[class.ant-result-info]': "nzStatus === 'info'", '[class.ant-result-warning]': "nzStatus === 'warning'", '[class.ant-result-rtl]': "dir === 'rtl'" } }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["ChangeDetectorRef"] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Optional"] }] }]; }, { nzStatus: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Input"] }], nzIcon: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Input"] }], nzTitle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Input"] }], nzSubTitle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Input"] }], nzExtra: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Input"] }] }); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzResultNotFoundComponent = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__["default"])(function NzResultNotFoundComponent() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzResultNotFoundComponent); }); NzResultNotFoundComponent.ɵfac = function NzResultNotFoundComponent_Factory(t) { return new (t || NzResultNotFoundComponent)(); }; NzResultNotFoundComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineComponent"]({ type: NzResultNotFoundComponent, selectors: [["nz-result-not-found"]], exportAs: ["nzResultNotFound"], decls: 62, vars: 0, consts: [["width", "252", "height", "294"], ["d", "M0 .387h251.772v251.772H0z"], ["fill", "none", "fillRule", "evenodd"], ["transform", "translate(0 .012)"], ["fill", "#fff"], ["d", "M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321", "fill", "#E4EBF7", "mask", "url(#b)"], ["d", "M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66", "fill", "#FFF"], ["d", "M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788", "stroke", "#FFF", "strokeWidth", "2"], ["d", "M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175", "fill", "#FFF"], ["d", "M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932", "fill", "#FFF"], ["d", "M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011", "par", "", "stroke", "#FFF", "strokeWidth", "2"], ["d", "M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382", "fill", "#FFF"], ["d", "M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z", "stroke", "#FFF", "strokeWidth", "2"], ["stroke", "#FFF", "strokeWidth", "2", "d", "M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"], ["d", "M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742", "fill", "#FFF"], ["d", "M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48", "fill", "#1890FF"], ["d", "M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894", "fill", "#FFF"], ["d", "M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88", "fill", "#FFB594"], ["d", "M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624", "fill", "#FFC6A0"], ["d", "M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682", "fill", "#FFF"], ["d", "M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573", "fill", "#CBD1D1"], ["d", "M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z", "fill", "#2B0849"], ["d", "M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558", "fill", "#A4AABA"], ["d", "M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z", "fill", "#CBD1D1"], ["d", "M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062", "fill", "#2B0849"], ["d", "M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15", "fill", "#A4AABA"], ["d", "M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165", "fill", "#7BB2F9"], ["d", "M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883", "stroke", "#648BD8", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M107.275 222.1s2.773-1.11 6.102-3.884", "stroke", "#648BD8", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31", "stroke", "#648BD8", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038", "fill", "#192064"], ["d", "M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81", "fill", "#FFF"], ["d", "M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642", "fill", "#192064"], ["d", "M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146", "stroke", "#648BD8", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268", "fill", "#FFC6A0"], ["d", "M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456", "fill", "#FFC6A0"], ["d", "M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z", "fill", "#520038"], ["d", "M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254", "fill", "#552950"], ["stroke", "#DB836E", "strokeWidth", "1.118", "strokeLinecap", "round", "strokeLinejoin", "round", "d", "M110.13 74.84l-.896 1.61-.298 4.357h-2.228"], ["d", "M110.846 74.481s1.79-.716 2.506.537", "stroke", "#5C2552", "strokeWidth", "1.118", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67", "stroke", "#DB836E", "strokeWidth", "1.118", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M103.287 72.93s1.83 1.113 4.137.954", "stroke", "#5C2552", "strokeWidth", "1.118", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639", "stroke", "#DB836E", "strokeWidth", "1.118", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206", "stroke", "#E4EBF7", "strokeWidth", "1.101", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M129.405 122.865s-5.272 7.403-9.422 10.768", "stroke", "#E4EBF7", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M119.306 107.329s.452 4.366-2.127 32.062", "stroke", "#E4EBF7", "strokeWidth", "1.101", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01", "fill", "#F2D7AD"], ["d", "M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92", "fill", "#F4D19D"], ["d", "M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z", "fill", "#F2D7AD"], ["fill", "#CC9B6E", "d", "M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"], ["d", "M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83", "fill", "#F4D19D"], ["fill", "#CC9B6E", "d", "M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"], ["fill", "#CC9B6E", "d", "M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"], ["d", "M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238", "fill", "#FFC6A0"], ["d", "M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044", "stroke", "#DB836E", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617", "stroke", "#DB836E", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754", "stroke", "#DB836E", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647", "fill", "#5BA02E"], ["d", "M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647", "fill", "#92C110"], ["d", "M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187", "fill", "#F2D7AD"], ["d", "M88.979 89.48s7.776 5.384 16.6 2.842", "stroke", "#E4EBF7", "strokeWidth", "1.101", "strokeLinecap", "round", "strokeLinejoin", "round"]], template: function NzResultNotFoundComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "svg", 0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](1, "defs"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](2, "path", 1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](3, "g", 2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](4, "g", 3); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](5, "mask", 4); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](6, "path", 5); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](7, "path", 6); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](8, "path", 7); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](9, "path", 8); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](10, "path", 9); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](11, "path", 10); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](12, "path", 11); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](13, "path", 12); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](14, "path", 13); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](15, "path", 14); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](16, "path", 15); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](17, "path", 16); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](18, "path", 17); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](19, "path", 18); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](20, "path", 19); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](21, "path", 20); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](22, "path", 21); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](23, "path", 22); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](24, "path", 23); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](25, "path", 24); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](26, "path", 25); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](27, "path", 26); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](28, "path", 27); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](29, "path", 28); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](30, "path", 29); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](31, "path", 30); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](32, "path", 31); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](33, "path", 32); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](34, "path", 33); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](35, "path", 34); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](36, "path", 35); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](37, "path", 36); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](38, "path", 37); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](39, "path", 38); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](40, "path", 39); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](41, "path", 40); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](42, "path", 41); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](43, "path", 42); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](44, "path", 43); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](45, "path", 44); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](46, "path", 45); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](47, "path", 46); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](48, "path", 47); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](49, "path", 48); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](50, "path", 49); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](51, "path", 50); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](52, "path", 51); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](53, "path", 52); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](54, "path", 53); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](55, "path", 54); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](56, "path", 55); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](57, "path", 56); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](58, "path", 57); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](59, "path", 58); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](60, "path", 59); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](61, "path", 60); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); } }, encapsulation: 2, changeDetection: 0 }); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](NzResultNotFoundComponent, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Component"], args: [{ changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_4__["ChangeDetectionStrategy"].OnPush, encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_4__["ViewEncapsulation"].None, selector: 'nz-result-not-found', exportAs: 'nzResultNotFound', template: "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n " }] }], null, null); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzResultServerErrorComponent = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__["default"])(function NzResultServerErrorComponent() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzResultServerErrorComponent); }); NzResultServerErrorComponent.ɵfac = function NzResultServerErrorComponent_Factory(t) { return new (t || NzResultServerErrorComponent)(); }; NzResultServerErrorComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineComponent"]({ type: NzResultServerErrorComponent, selectors: [["nz-result-server-error"]], exportAs: ["nzResultServerError"], decls: 69, vars: 0, consts: [["width", "254", "height", "294"], ["d", "M0 .335h253.49v253.49H0z"], ["d", "M0 293.665h253.49V.401H0z"], ["fill", "none", "fillRule", "evenodd"], ["transform", "translate(0 .067)"], ["fill", "#fff"], ["d", "M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134", "fill", "#E4EBF7", "mask", "url(#b)"], ["d", "M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671", "fill", "#FFF"], ["d", "M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861", "stroke", "#FFF", "strokeWidth", "2"], ["d", "M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238", "fill", "#FFF"], ["d", "M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775", "fill", "#FFF"], ["d", "M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68", "fill", "#FF603B"], ["d", "M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733", "fill", "#FFF"], ["d", "M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487", "fill", "#FFB594"], ["d", "M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235", "fill", "#FFF"], ["d", "M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246", "fill", "#FFB594"], ["d", "M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508", "fill", "#FFC6A0"], ["d", "M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z", "fill", "#520038"], ["d", "M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26", "fill", "#552950"], ["stroke", "#DB836E", "strokeWidth", "1.063", "strokeLinecap", "round", "strokeLinejoin", "round", "d", "M99.206 73.644l-.9 1.62-.3 4.38h-2.24"], ["d", "M99.926 73.284s1.8-.72 2.52.54", "stroke", "#5C2552", "strokeWidth", "1.117", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68", "stroke", "#DB836E", "strokeWidth", "1.117", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M92.326 71.724s1.84 1.12 4.16.96", "stroke", "#5C2552", "strokeWidth", "1.117", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954", "stroke", "#DB836E", "strokeWidth", "1.063", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044", "stroke", "#E4EBF7", "strokeWidth", "1.136", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583", "fill", "#FFF"], ["d", "M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75", "fill", "#FFC6A0"], ["d", "M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713", "fill", "#FFC6A0"], ["d", "M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51", "stroke", "#E4EBF7", "strokeWidth", "1.085", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16", "fill", "#FFC6A0"], ["d", "M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575", "fill", "#FFF"], ["d", "M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47", "fill", "#CBD1D1"], ["d", "M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z", "fill", "#2B0849"], ["d", "M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671", "fill", "#A4AABA"], ["d", "M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z", "fill", "#CBD1D1"], ["d", "M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162", "fill", "#2B0849"], ["d", "M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156", "fill", "#A4AABA"], ["d", "M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69", "fill", "#7BB2F9"], ["d", "M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034", "stroke", "#648BD8", "strokeWidth", "1.085", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M96.973 219.373s2.882-1.153 6.34-4.034", "stroke", "#648BD8", "strokeWidth", "1.032", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07", "stroke", "#648BD8", "strokeWidth", "1.085", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62", "fill", "#192064"], ["d", "M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843", "fill", "#FFF"], ["d", "M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668", "fill", "#192064"], ["d", "M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513", "stroke", "#648BD8", "strokeWidth", "1.085", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72", "stroke", "#E4EBF7", "strokeWidth", "1.085", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69", "fill", "#FFC6A0"], ["d", "M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593", "stroke", "#DB836E", "strokeWidth", ".774", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762", "stroke", "#E59788", "strokeWidth", ".774", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594", "fill", "#FFC6A0"], ["d", "M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12", "stroke", "#E59788", "strokeWidth", ".774", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M109.278 112.533s3.38-3.613 7.575-4.662", "stroke", "#E4EBF7", "strokeWidth", "1.085", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M107.375 123.006s9.697-2.745 11.445-.88", "stroke", "#E59788", "strokeWidth", ".774", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955", "stroke", "#BFCDDD", "strokeWidth", "2", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01", "fill", "#A3B4C6"], ["d", "M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813", "fill", "#A3B4C6"], ["fill", "#A3B4C6", "mask", "url(#d)", "d", "M154.098 190.096h70.513v-84.617h-70.513z"], ["d", "M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208", "fill", "#BFCDDD", "mask", "url(#d)"], ["d", "M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802", "fill", "#FFF", "mask", "url(#d)"], ["d", "M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209", "fill", "#BFCDDD", "mask", "url(#d)"], ["d", "M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751", "stroke", "#7C90A5", "strokeWidth", "1.124", "strokeLinecap", "round", "strokeLinejoin", "round", "mask", "url(#d)"], ["d", "M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802", "fill", "#FFF", "mask", "url(#d)"], ["d", "M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407", "fill", "#BFCDDD", "mask", "url(#d)"], ["d", "M177.259 207.217v11.52M201.05 207.217v11.52", "stroke", "#A3B4C6", "strokeWidth", "1.124", "strokeLinecap", "round", "strokeLinejoin", "round", "mask", "url(#d)"], ["d", "M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422", "fill", "#5BA02E", "mask", "url(#d)"], ["d", "M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423", "fill", "#92C110", "mask", "url(#d)"], ["d", "M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209", "fill", "#F2D7AD", "mask", "url(#d)"]], template: function NzResultServerErrorComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "svg", 0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](1, "defs"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](2, "path", 1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](3, "path", 2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](4, "g", 3); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](5, "g", 4); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](6, "mask", 5); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](7, "path", 6); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](8, "path", 7); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](9, "path", 8); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](10, "path", 9); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](11, "path", 10); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](12, "path", 11); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](13, "path", 12); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](14, "path", 13); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](15, "path", 14); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](16, "path", 15); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](17, "path", 16); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](18, "path", 17); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](19, "path", 18); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](20, "path", 19); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](21, "path", 20); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](22, "path", 21); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](23, "path", 22); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](24, "path", 23); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](25, "path", 24); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](26, "path", 25); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](27, "path", 26); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](28, "path", 27); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](29, "path", 28); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](30, "path", 29); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](31, "path", 30); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](32, "path", 31); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](33, "path", 32); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](34, "path", 33); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](35, "path", 34); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](36, "path", 35); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](37, "path", 36); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](38, "path", 37); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](39, "path", 38); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](40, "path", 39); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](41, "path", 40); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](42, "path", 41); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](43, "path", 42); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](44, "path", 43); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](45, "path", 44); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](46, "path", 45); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](47, "path", 46); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](48, "path", 47); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](49, "path", 48); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](50, "path", 49); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](51, "path", 50); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](52, "path", 51); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](53, "path", 52); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](54, "path", 53); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](55, "path", 54); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](56, "path", 55); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](57, "mask", 5); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](58, "path", 56); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](59, "path", 57); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](60, "path", 58); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](61, "path", 59); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](62, "path", 60); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](63, "path", 61); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](64, "path", 62); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](65, "path", 63); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](66, "path", 64); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](67, "path", 65); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](68, "path", 66); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); } }, encapsulation: 2, changeDetection: 0 }); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](NzResultServerErrorComponent, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Component"], args: [{ changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_4__["ChangeDetectionStrategy"].OnPush, encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_4__["ViewEncapsulation"].None, selector: 'nz-result-server-error', exportAs: 'nzResultServerError', template: "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n " }] }], null, null); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzResultUnauthorizedComponent = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__["default"])(function NzResultUnauthorizedComponent() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzResultUnauthorizedComponent); }); NzResultUnauthorizedComponent.ɵfac = function NzResultUnauthorizedComponent_Factory(t) { return new (t || NzResultUnauthorizedComponent)(); }; NzResultUnauthorizedComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineComponent"]({ type: NzResultUnauthorizedComponent, selectors: [["nz-result-unauthorized"]], exportAs: ["nzResultUnauthorized"], decls: 56, vars: 0, consts: [["width", "251", "height", "294"], ["fill", "none", "fillRule", "evenodd"], ["d", "M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023", "fill", "#E4EBF7"], ["d", "M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65", "fill", "#FFF"], ["d", "M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73", "stroke", "#FFF", "strokeWidth", "2"], ["d", "M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126", "fill", "#FFF"], ["d", "M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873", "fill", "#FFF"], ["d", "M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36", "stroke", "#FFF", "strokeWidth", "2"], ["d", "M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375", "fill", "#FFF"], ["d", "M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z", "stroke", "#FFF", "strokeWidth", "2"], ["stroke", "#FFF", "strokeWidth", "2", "d", "M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"], ["d", "M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321", "fill", "#A26EF4"], ["d", "M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734", "fill", "#FFF"], ["d", "M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717", "fill", "#FFF"], ["d", "M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61", "fill", "#5BA02E"], ["d", "M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611", "fill", "#92C110"], ["d", "M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17", "fill", "#F2D7AD"], ["d", "M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085", "fill", "#FFF"], ["d", "M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233", "fill", "#FFC6A0"], ["d", "M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367", "fill", "#FFB594"], ["d", "M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95", "fill", "#FFC6A0"], ["d", "M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929", "fill", "#FFF"], ["d", "M78.18 94.656s.911 7.41-4.914 13.078", "stroke", "#E4EBF7", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437", "stroke", "#E4EBF7", "strokeWidth", ".932", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z", "fill", "#FFC6A0"], ["d", "M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91", "fill", "#FFB594"], ["d", "M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103", "fill", "#5C2552"], ["d", "M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145", "fill", "#FFC6A0"], ["stroke", "#DB836E", "strokeWidth", "1.145", "strokeLinecap", "round", "strokeLinejoin", "round", "d", "M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"], ["d", "M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32", "fill", "#552950"], ["d", "M91.132 86.786s5.269 4.957 12.679 2.327", "stroke", "#DB836E", "strokeWidth", "1.145", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25", "fill", "#DB836E"], ["d", "M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073", "stroke", "#5C2552", "strokeWidth", "1.526", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254", "stroke", "#DB836E", "strokeWidth", "1.145", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008", "stroke", "#E4EBF7", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M66.508 86.763s-1.598 8.83-6.697 14.078", "stroke", "#E4EBF7", "strokeWidth", "1.114", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M128.31 87.934s3.013 4.121 4.06 11.785", "stroke", "#E4EBF7", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M64.09 84.816s-6.03 9.912-13.607 9.903", "stroke", "#DB836E", "strokeWidth", ".795", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73", "fill", "#FFC6A0"], ["d", "M130.532 85.488s4.588 5.757 11.619 6.214", "stroke", "#DB836E", "strokeWidth", ".75", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M121.708 105.73s-.393 8.564-1.34 13.612", "stroke", "#E4EBF7", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M115.784 161.512s-3.57-1.488-2.678-7.14", "stroke", "#648BD8", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68", "fill", "#CBD1D1"], ["d", "M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z", "fill", "#2B0849"], ["d", "M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62", "fill", "#A4AABA"], ["d", "M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z", "fill", "#CBD1D1"], ["d", "M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078", "fill", "#2B0849"], ["d", "M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15", "fill", "#A4AABA"], ["d", "M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954", "fill", "#7BB2F9"], ["d", "M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862", "stroke", "#648BD8", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M108.459 220.905s2.759-1.104 6.07-3.863", "stroke", "#648BD8", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238", "stroke", "#648BD8", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"], ["d", "M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017", "fill", "#192064"], ["d", "M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806", "fill", "#FFF"], ["d", "M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64", "fill", "#192064"], ["d", "M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956", "stroke", "#648BD8", "strokeWidth", "1.051", "strokeLinecap", "round", "strokeLinejoin", "round"]], template: function NzResultUnauthorizedComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "svg", 0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](1, "g", 1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](2, "path", 2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](3, "path", 3); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](4, "path", 4); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](5, "path", 5); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](6, "path", 6); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](7, "path", 7); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](8, "path", 8); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](9, "path", 9); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](10, "path", 10); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](11, "path", 11); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](12, "path", 12); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](13, "path", 13); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](14, "path", 14); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](15, "path", 15); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](16, "path", 16); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](17, "path", 17); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](18, "path", 18); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](19, "path", 19); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](20, "path", 20); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](21, "path", 21); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](22, "path", 22); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](23, "path", 23); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](24, "path", 24); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](25, "path", 25); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](26, "path", 26); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](27, "path", 27); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](28, "path", 28); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](29, "path", 29); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](30, "path", 30); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](31, "path", 31); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](32, "path", 32); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](33, "path", 33); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](34, "path", 34); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](35, "path", 35); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](36, "path", 36); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](37, "path", 37); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](38, "path", 38); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](39, "path", 39); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](40, "path", 40); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](41, "path", 41); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](42, "path", 42); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](43, "path", 43); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](44, "path", 44); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](45, "path", 45); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](46, "path", 46); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](47, "path", 47); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](48, "path", 48); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](49, "path", 49); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](50, "path", 50); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](51, "path", 51); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](52, "path", 52); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](53, "path", 53); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](54, "path", 54); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](55, "path", 55); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); } }, encapsulation: 2, changeDetection: 0 }); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](NzResultUnauthorizedComponent, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Component"], args: [{ changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_4__["ChangeDetectionStrategy"].OnPush, encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_4__["ViewEncapsulation"].None, selector: 'nz-result-unauthorized', exportAs: 'nzResultUnauthorized', template: "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n " }] }], null, null); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var partial = [NzResultNotFoundComponent, NzResultServerErrorComponent, NzResultUnauthorizedComponent]; var cellDirectives = [NzResultContentDirective, NzResultExtraDirective, NzResultIconDirective, NzResultSubtitleDirective, NzResultTitleDirective]; var NzResultModule = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_0__["default"])(function NzResultModule() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzResultModule); }); NzResultModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ type: NzResultModule }); NzResultModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({ factory: function NzResultModule_Factory(t) { return new (t || NzResultModule)(); }, imports: [[_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__["BidiModule"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["CommonModule"], ng_zorro_antd_core_outlet__WEBPACK_IMPORTED_MODULE_5__["NzOutletModule"], ng_zorro_antd_icon__WEBPACK_IMPORTED_MODULE_6__["NzIconModule"]]] }); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](NzResultModule, { declarations: function declarations() { return [NzResultComponent, NzResultContentDirective, NzResultExtraDirective, NzResultIconDirective, NzResultSubtitleDirective, NzResultTitleDirective, NzResultNotFoundComponent, NzResultServerErrorComponent, NzResultUnauthorizedComponent]; }, imports: function imports() { return [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__["BidiModule"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["CommonModule"], ng_zorro_antd_core_outlet__WEBPACK_IMPORTED_MODULE_5__["NzOutletModule"], ng_zorro_antd_icon__WEBPACK_IMPORTED_MODULE_6__["NzIconModule"]]; }, exports: function exports() { return [NzResultComponent, NzResultContentDirective, NzResultExtraDirective, NzResultIconDirective, NzResultSubtitleDirective, NzResultTitleDirective]; } }); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](NzResultModule, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["NgModule"], args: [{ imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__["BidiModule"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["CommonModule"], ng_zorro_antd_core_outlet__WEBPACK_IMPORTED_MODULE_5__["NzOutletModule"], ng_zorro_antd_icon__WEBPACK_IMPORTED_MODULE_6__["NzIconModule"]], declarations: [NzResultComponent].concat(cellDirectives, partial), exports: [NzResultComponent].concat(cellDirectives) }] }], null, null); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ /** * Generated bundle index. Do not edit. */ /***/ }), /***/ "5B2Y": /*!*****************************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleObservable.js ***! \*****************************************************************************/ /*! exports provided: scheduleObservable */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "scheduleObservable", function() { return scheduleObservable; }); /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ "HDdC"); /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ "quSY"); /* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../symbol/observable */ "kJWO"); function scheduleObservable(input, scheduler) { return new _Observable__WEBPACK_IMPORTED_MODULE_0__["Observable"](function (subscriber) { var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__["Subscription"](); sub.add(scheduler.schedule(function () { var observable = input[_symbol_observable__WEBPACK_IMPORTED_MODULE_2__["observable"]](); sub.add(observable.subscribe({ next: function next(value) { sub.add(scheduler.schedule(function () { return subscriber.next(value); })); }, error: function error(err) { sub.add(scheduler.schedule(function () { return subscriber.error(err); })); }, complete: function complete() { sub.add(scheduler.schedule(function () { return subscriber.complete(); })); } })); })); return sub; }); } /***/ }), /***/ "5FpM": /*!**************************************************************!*\ !*** ./node_modules/date-fns/esm/getISOWeeksInYear/index.js ***! \**************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return getISOWeeksInYear; }); /* harmony import */ var _startOfISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../startOfISOWeekYear/index.js */ "0f5V"); /* harmony import */ var _addWeeks_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../addWeeks/index.js */ "r4sE"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); var MILLISECONDS_IN_WEEK = 604800000; /** * @name getISOWeeksInYear * @category ISO Week-Numbering Year Helpers * @summary Get the number of weeks in an ISO week-numbering year of the given date. * * @description * Get the number of weeks in an ISO week-numbering year of the given date. * * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the given date * @returns {Number} the number of ISO weeks in a year * @throws {TypeError} 1 argument required * * @example * // How many weeks are in ISO week-numbering year 2015? * const result = getISOWeeksInYear(new Date(2015, 1, 11)) * //=> 53 */ function getISOWeeksInYear(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(1, arguments); var thisYear = Object(_startOfISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); var nextYear = Object(_startOfISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Object(_addWeeks_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(thisYear, 60)); var diff = nextYear.valueOf() - thisYear.valueOf(); // Round the number of weeks to the nearest integer // because the number of milliseconds in a week is not constant // (e.g. it's different in the week of the daylight saving time clock shift) return Math.round(diff / MILLISECONDS_IN_WEEK); } /***/ }), /***/ "5QHy": /*!*************************************************************!*\ !*** ./node_modules/date-fns/esm/minutesToSeconds/index.js ***! \*************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return minutesToSeconds; }); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /* harmony import */ var _constants_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants/index.js */ "w3qX"); /** * @name minutesToSeconds * @category Conversion Helpers * @summary Convert minutes to seconds. * * @description * Convert a number of minutes to a full number of seconds. * * @param { number } minutes - number of minutes to be converted * * @returns {number} the number of minutes converted in seconds * @throws {TypeError} 1 argument required * * @example * // Convert 2 minutes to seconds * const result = minutesToSeconds(2) * //=> 120 */ function minutesToSeconds(minutes) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(1, arguments); return Math.floor(minutes * _constants_index_js__WEBPACK_IMPORTED_MODULE_1__["secondsInMinute"]); } /***/ }), /***/ "5Stn": /*!**************************************************!*\ !*** ./node_modules/date-fns/esm/clamp/index.js ***! \**************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return clamp; }); /* harmony import */ var _max_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../max/index.js */ "TnmX"); /* harmony import */ var _min_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../min/index.js */ "edZA"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name clamp * @category Interval Helpers * @summary Return a date bounded by the start and the end of the given interval * * @description * Clamps a date to the lower bound with the start of the interval and the upper * bound with the end of the interval. * * - When the date is less than the start of the interval, the start is returned. * - When the date is greater than the end of the interval, the end is returned. * - Otherwise the date is returned. * * @example * // What is Mar, 21, 2021 bounded to an interval starting at Mar, 22, 2021 and ending at Apr, 01, 2021 * const result = clamp(new Date(2021, 2, 21), { * start: new Date(2021, 2, 22), * end: new Date(2021, 3, 1), * }) * //=> Mon Mar 22 2021 00:00:00 * * @param {Date | Number} date - the date to be bounded * @param {Interval} interval - the interval to bound to * @returns {Date} the date bounded by the start and the end of the interval * @throws {TypeError} 2 arguments required */ function clamp(date, _ref) { var start = _ref.start, end = _ref.end; Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(2, arguments); return Object(_min_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])([Object(_max_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])([date, start]), end]); } /***/ }), /***/ "5WZr": /*!********************************************************!*\ !*** ./node_modules/date-fns/esm/weeksToDays/index.js ***! \********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return weeksToDays; }); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /* harmony import */ var _constants_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants/index.js */ "w3qX"); /** * @name weeksToDays * @category Conversion Helpers * @summary Convert weeks to days. * * @description * Convert a number of weeks to a full number of days. * * @param {number} weeks - number of weeks to be converted * * @returns {number} the number of weeks converted in days * @throws {TypeError} 1 argument required * * @example * // Convert 2 weeks into days * const result = weeksToDays(2) * //=> 14 */ function weeksToDays(weeks) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(1, arguments); return Math.floor(weeks * _constants_index_js__WEBPACK_IMPORTED_MODULE_1__["daysInWeek"]); } /***/ }), /***/ "5cON": /*!********************************************************!*\ !*** ./node_modules/date-fns/esm/isWednesday/index.js ***! \********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return isWednesday; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name isWednesday * @category Weekday Helpers * @summary Is the given date Wednesday? * * @description * Is the given date Wednesday? * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the date to check * @returns {Boolean} the date is Wednesday * @throws {TypeError} 1 argument required * * @example * // Is 24 September 2014 Wednesday? * const result = isWednesday(new Date(2014, 8, 24)) * //=> true */ function isWednesday(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); return Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate).getDay() === 3; } /***/ }), /***/ "5wMr": /*!****************************************************!*\ !*** ./node_modules/date-fns/esm/getTime/index.js ***! \****************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return getTime; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name getTime * @category Timestamp Helpers * @summary Get the milliseconds timestamp of the given date. * * @description * Get the milliseconds timestamp of the given date. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the given date * @returns {Number} the timestamp * @throws {TypeError} 1 argument required * * @example * // Get the timestamp of 29 February 2012 11:45:05.123: * const result = getTime(new Date(2012, 1, 29, 11, 45, 5, 123)) * //=> 1330515905123 */ function getTime(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); var timestamp = date.getTime(); return timestamp; } /***/ }), /***/ "5yfJ": /*!*****************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/observable/never.js ***! \*****************************************************************/ /*! exports provided: NEVER, never */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NEVER", function() { return NEVER; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "never", function() { return never; }); /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ "HDdC"); /* harmony import */ var _util_noop__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/noop */ "KqfI"); var NEVER = new _Observable__WEBPACK_IMPORTED_MODULE_0__["Observable"](_util_noop__WEBPACK_IMPORTED_MODULE_1__["noop"]); function never() { return NEVER; } /***/ }), /***/ "66zS": /*!*******************************************************************!*\ !*** ./node_modules/ng-zorro-antd/fesm2015/ng-zorro-antd-icon.js ***! \*******************************************************************/ /*! exports provided: DEFAULT_TWOTONE_COLOR, NZ_ICONS, NZ_ICONS_PATCH, NZ_ICONS_USED_BY_ZORRO, NZ_ICON_DEFAULT_TWOTONE_COLOR, NzIconDirective, NzIconModule, NzIconPatchService, NzIconService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DEFAULT_TWOTONE_COLOR", function() { return DEFAULT_TWOTONE_COLOR; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NZ_ICONS", function() { return NZ_ICONS; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NZ_ICONS_PATCH", function() { return NZ_ICONS_PATCH; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NZ_ICONS_USED_BY_ZORRO", function() { return NZ_ICONS_USED_BY_ZORRO; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NZ_ICON_DEFAULT_TWOTONE_COLOR", function() { return NZ_ICON_DEFAULT_TWOTONE_COLOR; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzIconDirective", function() { return NzIconDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzIconModule", function() { return NzIconModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzIconPatchService", function() { return NzIconPatchService; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NzIconService", function() { return NzIconService; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/toConsumableArray */ "KQm4"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/cdk/platform */ "SCoL"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ "8Y7J"); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! tslib */ "mrSG"); /* harmony import */ var _ant_design_icons_angular__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ant-design/icons-angular */ "zItT"); /* harmony import */ var ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ng-zorro-antd/core/util */ "pvHd"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/common */ "SVse"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common/http */ "IheW"); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/platform-browser */ "cUpR"); /* harmony import */ var ng_zorro_antd_core_config__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ng-zorro-antd/core/config */ "0YeR"); /* harmony import */ var ng_zorro_antd_core_logger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ng-zorro-antd/core/logger */ "Tzg8"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! rxjs */ "qCKp"); /* harmony import */ var _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ant-design/icons-angular/icons */ "D4Yc"); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NZ_ICONS_USED_BY_ZORRO = [_ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["BarsOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["CalendarOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["CaretUpFill"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["CaretUpOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["CaretDownFill"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["CaretDownOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["CheckCircleFill"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["CheckCircleOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["CheckOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["ClockCircleOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["CloseCircleOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["CloseCircleFill"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["CloseOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["CopyOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["DoubleLeftOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["DoubleRightOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["DownOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["EditOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["EllipsisOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["ExclamationCircleFill"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["ExclamationCircleOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["EyeOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["FileFill"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["FileOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["FilterFill"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["InfoCircleFill"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["InfoCircleOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["LeftOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["LoadingOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["PaperClipOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["QuestionCircleOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["RightOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["RotateRightOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["RotateLeftOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["StarFill"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["SearchOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["StarFill"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["UploadOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["VerticalAlignTopOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["UpOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["SwapRightOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["ZoomInOutline"], _ant_design_icons_angular_icons__WEBPACK_IMPORTED_MODULE_16__["ZoomOutOutline"]]; /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NZ_ICONS = new _angular_core__WEBPACK_IMPORTED_MODULE_6__["InjectionToken"]('nz_icons'); var NZ_ICON_DEFAULT_TWOTONE_COLOR = new _angular_core__WEBPACK_IMPORTED_MODULE_6__["InjectionToken"]('nz_icon_default_twotone_color'); var DEFAULT_TWOTONE_COLOR = '#1890ff'; /** * It should be a global singleton, otherwise registered icons could not be found. */ var NzIconService = /*#__PURE__*/function (_IconService) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(NzIconService, _IconService); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(NzIconService); function NzIconService(rendererFactory, sanitizer, nzConfigService, handler, _document, icons) { var _this2; var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzIconService); _this = _super.call(this, rendererFactory, handler, _document, sanitizer); _this.nzConfigService = nzConfigService; _this.configUpdated$ = new rxjs__WEBPACK_IMPORTED_MODULE_15__["Subject"](); _this.iconfontCache = new Set(); _this.onConfigChange(); (_this2 = _this).addIcon.apply(_this2, NZ_ICONS_USED_BY_ZORRO.concat(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(icons || []))); _this.configDefaultTwotoneColor(); _this.configDefaultTheme(); return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(NzIconService, [{ key: "normalizeSvgElement", value: function normalizeSvgElement(svg) { if (!svg.getAttribute('viewBox')) { this._renderer.setAttribute(svg, 'viewBox', '0 0 1024 1024'); } if (!svg.getAttribute('width') || !svg.getAttribute('height')) { this._renderer.setAttribute(svg, 'width', '1em'); this._renderer.setAttribute(svg, 'height', '1em'); } if (!svg.getAttribute('fill')) { this._renderer.setAttribute(svg, 'fill', 'currentColor'); } } }, { key: "fetchFromIconfont", value: function fetchFromIconfont(opt) { var scriptUrl = opt.scriptUrl; if (this._document && !this.iconfontCache.has(scriptUrl)) { var script = this._renderer.createElement('script'); this._renderer.setAttribute(script, 'src', scriptUrl); this._renderer.setAttribute(script, 'data-namespace', scriptUrl.replace(/^(https?|http):/g, '')); this._renderer.appendChild(this._document.body, script); this.iconfontCache.add(scriptUrl); } } }, { key: "createIconfontIcon", value: function createIconfontIcon(type) { return this._createSVGElementFromString("")); } }, { key: "onConfigChange", value: function onConfigChange() { var _this3 = this; this.nzConfigService.getConfigChangeEventForComponent('icon').subscribe(function () { _this3.configDefaultTwotoneColor(); _this3.configDefaultTheme(); _this3.configUpdated$.next(); }); } }, { key: "configDefaultTheme", value: function configDefaultTheme() { var iconConfig = this.getConfig(); this.defaultTheme = iconConfig.nzTheme || 'outline'; } }, { key: "configDefaultTwotoneColor", value: function configDefaultTwotoneColor() { var iconConfig = this.getConfig(); var defaultTwotoneColor = iconConfig.nzTwotoneColor || DEFAULT_TWOTONE_COLOR; var primaryColor = DEFAULT_TWOTONE_COLOR; if (defaultTwotoneColor) { if (defaultTwotoneColor.startsWith('#')) { primaryColor = defaultTwotoneColor; } else { Object(ng_zorro_antd_core_logger__WEBPACK_IMPORTED_MODULE_14__["warn"])('Twotone color must be a hex color!'); } } this.twoToneColor = { primaryColor: primaryColor }; } }, { key: "getConfig", value: function getConfig() { return this.nzConfigService.getConfigForComponent('icon') || {}; } }]); return NzIconService; }(_ant_design_icons_angular__WEBPACK_IMPORTED_MODULE_8__["IconService"]); NzIconService.ɵfac = function NzIconService_Factory(t) { return new (t || NzIconService)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["RendererFactory2"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_12__["DomSanitizer"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](ng_zorro_antd_core_config__WEBPACK_IMPORTED_MODULE_13__["NzConfigService"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_11__["HttpBackend"], 8), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_10__["DOCUMENT"], 8), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](NZ_ICONS, 8)); }; NzIconService.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineInjectable"])({ factory: function NzIconService_Factory() { return new NzIconService(Object(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"])(_angular_core__WEBPACK_IMPORTED_MODULE_6__["RendererFactory2"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"])(_angular_platform_browser__WEBPACK_IMPORTED_MODULE_12__["DomSanitizer"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"])(ng_zorro_antd_core_config__WEBPACK_IMPORTED_MODULE_13__["NzConfigService"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"])(_angular_common_http__WEBPACK_IMPORTED_MODULE_11__["HttpBackend"], 8), Object(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_10__["DOCUMENT"], 8), Object(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"])(NZ_ICONS, 8)); }, token: NzIconService, providedIn: "root" }); NzIconService.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["RendererFactory2"] }, { type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_12__["DomSanitizer"] }, { type: ng_zorro_antd_core_config__WEBPACK_IMPORTED_MODULE_13__["NzConfigService"] }, { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_11__["HttpBackend"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_10__["DOCUMENT"]] }] }, { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NZ_ICONS] }] }]; }; var NZ_ICONS_PATCH = new _angular_core__WEBPACK_IMPORTED_MODULE_6__["InjectionToken"]('nz_icons_patch'); var NzIconPatchService = /*#__PURE__*/function () { function NzIconPatchService(extraIcons, rootIconService) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzIconPatchService); this.extraIcons = extraIcons; this.rootIconService = rootIconService; this.patched = false; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(NzIconPatchService, [{ key: "doPatch", value: function doPatch() { var _this4 = this; if (this.patched) { return; } this.extraIcons.forEach(function (iconDefinition) { return _this4.rootIconService.addIcon(iconDefinition); }); this.patched = true; } }]); return NzIconPatchService; }(); NzIconPatchService.ɵfac = function NzIconPatchService_Factory(t) { return new (t || NzIconPatchService)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](NZ_ICONS_PATCH, 2), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](NzIconService)); }; NzIconPatchService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineInjectable"]({ token: NzIconPatchService, factory: NzIconPatchService.ɵfac }); NzIconPatchService.ctorParameters = function () { return [{ type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Self"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NZ_ICONS_PATCH] }] }, { type: NzIconService }]; }; /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzIconDirective = /*#__PURE__*/function (_IconDirective) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(NzIconDirective, _IconDirective); var _super2 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(NzIconDirective); function NzIconDirective(elementRef, iconService, renderer, iconPatch) { var _this5; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzIconDirective); _this5 = _super2.call(this, iconService, elementRef, renderer); _this5.iconService = iconService; _this5.renderer = renderer; _this5.cacheClassName = null; _this5.nzRotate = 0; _this5.spin = false; if (iconPatch) { iconPatch.doPatch(); } _this5.el = elementRef.nativeElement; return _this5; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(NzIconDirective, [{ key: "nzSpin", set: function set(value) { this.spin = value; } }, { key: "nzType", set: function set(value) { this.type = value; } }, { key: "nzTheme", set: function set(value) { this.theme = value; } }, { key: "nzTwotoneColor", set: function set(value) { this.twoToneColor = value; } }, { key: "nzIconfont", set: function set(value) { this.iconfont = value; } }, { key: "ngOnChanges", value: function ngOnChanges(changes) { var nzType = changes.nzType, nzTwotoneColor = changes.nzTwotoneColor, nzSpin = changes.nzSpin, nzTheme = changes.nzTheme, nzRotate = changes.nzRotate; if (nzType || nzTwotoneColor || nzSpin || nzTheme) { this.changeIcon2(); } else if (nzRotate) { this.handleRotate(this.el.firstChild); } else { this._setSVGElement(this.iconService.createIconfontIcon("#".concat(this.iconfont))); } } }, { key: "ngOnInit", value: function ngOnInit() { this.renderer.setAttribute(this.el, 'class', "anticon ".concat(this.el.className).trim()); } /** * If custom content is provided, try to normalize SVG elements. */ }, { key: "ngAfterContentChecked", value: function ngAfterContentChecked() { if (!this.type) { var children = this.el.children; var length = children.length; if (!this.type && children.length) { while (length--) { var child = children[length]; if (child.tagName.toLowerCase() === 'svg') { this.iconService.normalizeSvgElement(child); } } } } } /** * Replacement of `changeIcon` for more modifications. */ }, { key: "changeIcon2", value: function changeIcon2() { var _this6 = this; this.setClassName(); this._changeIcon().then(function (svgOrRemove) { if (svgOrRemove) { _this6.setSVGData(svgOrRemove); _this6.handleSpin(svgOrRemove); _this6.handleRotate(svgOrRemove); } }); } }, { key: "handleSpin", value: function handleSpin(svg) { if (this.spin || this.type === 'loading') { this.renderer.addClass(svg, 'anticon-spin'); } else { this.renderer.removeClass(svg, 'anticon-spin'); } } }, { key: "handleRotate", value: function handleRotate(svg) { if (this.nzRotate) { this.renderer.setAttribute(svg, 'style', "transform: rotate(".concat(this.nzRotate, "deg)")); } else { this.renderer.removeAttribute(svg, 'style'); } } }, { key: "setClassName", value: function setClassName() { if (this.cacheClassName) { this.renderer.removeClass(this.el, this.cacheClassName); } this.cacheClassName = "anticon-".concat(this.type); this.renderer.addClass(this.el, this.cacheClassName); } }, { key: "setSVGData", value: function setSVGData(svg) { this.renderer.setAttribute(svg, 'data-icon', this.type); this.renderer.setAttribute(svg, 'aria-hidden', 'true'); } }]); return NzIconDirective; }(_ant_design_icons_angular__WEBPACK_IMPORTED_MODULE_8__["IconDirective"]); NzIconDirective.ɵfac = function NzIconDirective_Factory(t) { return new (t || NzIconDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](NzIconService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["Renderer2"]), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](NzIconPatchService, 8)); }; NzIconDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineDirective"]({ type: NzIconDirective, selectors: [["", "nz-icon", ""]], hostVars: 2, hostBindings: function NzIconDirective_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("anticon", true); } }, inputs: { nzRotate: "nzRotate", nzSpin: "nzSpin", nzType: "nzType", nzTheme: "nzTheme", nzTwotoneColor: "nzTwotoneColor", nzIconfont: "nzIconfont" }, exportAs: ["nzIcon"], features: [_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵNgOnChangesFeature"]] }); NzIconDirective.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"] }, { type: NzIconService }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Renderer2"] }, { type: NzIconPatchService, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }; NzIconDirective.propDecorators = { nzSpin: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzRotate: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzType: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzTheme: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzTwotoneColor: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzIconfont: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }] }; Object(tslib__WEBPACK_IMPORTED_MODULE_7__["__decorate"])([Object(ng_zorro_antd_core_util__WEBPACK_IMPORTED_MODULE_9__["InputBoolean"])(), Object(tslib__WEBPACK_IMPORTED_MODULE_7__["__metadata"])("design:type", Boolean), Object(tslib__WEBPACK_IMPORTED_MODULE_7__["__metadata"])("design:paramtypes", [Boolean])], NzIconDirective.prototype, "nzSpin", null); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzIconService, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Injectable"], args: [{ providedIn: 'root' }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["RendererFactory2"] }, { type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_12__["DomSanitizer"] }, { type: ng_zorro_antd_core_config__WEBPACK_IMPORTED_MODULE_13__["NzConfigService"] }, { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_11__["HttpBackend"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_10__["DOCUMENT"]] }] }, { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NZ_ICONS] }] }]; }, null); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzIconPatchService, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Injectable"] }], function () { return [{ type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Self"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Inject"], args: [NZ_ICONS_PATCH] }] }, { type: NzIconService }]; }, null); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzIconDirective, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Directive"], args: [{ selector: '[nz-icon]', exportAs: 'nzIcon', host: { '[class.anticon]': 'true' } }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["ElementRef"] }, { type: NzIconService }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Renderer2"] }, { type: NzIconPatchService, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Optional"] }] }]; }, { nzRotate: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzSpin: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzType: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzTheme: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzTwotoneColor: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }], nzIconfont: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["Input"] }] }); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ var NzIconModule = /*#__PURE__*/function () { function NzIconModule() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, NzIconModule); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(NzIconModule, null, [{ key: "forRoot", value: function forRoot(icons) { return { ngModule: NzIconModule, providers: [{ provide: NZ_ICONS, useValue: icons }] }; } }, { key: "forChild", value: function forChild(icons) { return { ngModule: NzIconModule, providers: [NzIconPatchService, { provide: NZ_ICONS_PATCH, useValue: icons }] }; } }]); return NzIconModule; }(); NzIconModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineNgModule"]({ type: NzIconModule }); NzIconModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineInjector"]({ factory: function NzIconModule_Factory(t) { return new (t || NzIconModule)(); }, imports: [[_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__["PlatformModule"]]] }); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵsetNgModuleScope"](NzIconModule, { declarations: function declarations() { return [NzIconDirective]; }, imports: function imports() { return [_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__["PlatformModule"]]; }, exports: function exports() { return [NzIconDirective]; } }); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵsetClassMetadata"](NzIconModule, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__["NgModule"], args: [{ exports: [NzIconDirective], declarations: [NzIconDirective], imports: [_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__["PlatformModule"]] }] }], null, null); })(); /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ /** * Generated bundle index. Do not edit. */ /***/ }), /***/ "6En+": /*!*********************************************************!*\ !*** ./node_modules/date-fns/esm/setDayOfYear/index.js ***! \*********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return setDayOfYear; }); /* harmony import */ var _lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/toInteger/index.js */ "/h9T"); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name setDayOfYear * @category Day Helpers * @summary Set the day of the year to the given date. * * @description * Set the day of the year to the given date. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the date to be changed * @param {Number} dayOfYear - the day of the year of the new date * @returns {Date} the new date with the day of the year set * @throws {TypeError} 2 arguments required * * @example * // Set the 2nd day of the year to 2 July 2014: * var result = setDayOfYear(new Date(2014, 6, 2), 2) * //=> Thu Jan 02 2014 00:00:00 */ function setDayOfYear(dirtyDate, dirtyDayOfYear) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(2, arguments); var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(dirtyDate); var dayOfYear = Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDayOfYear); date.setMonth(0); date.setDate(dayOfYear); return date; } /***/ }), /***/ "6NQC": /*!****************************************************!*\ !*** ./node_modules/date-fns/esm/setYear/index.js ***! \****************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return setYear; }); /* harmony import */ var _lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/toInteger/index.js */ "/h9T"); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name setYear * @category Year Helpers * @summary Set the year to the given date. * * @description * Set the year to the given date. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the date to be changed * @param {Number} year - the year of the new date * @returns {Date} the new date with the year set * @throws {TypeError} 2 arguments required * * @example * // Set year 2013 to 1 September 2014: * const result = setYear(new Date(2014, 8, 1), 2013) * //=> Sun Sep 01 2013 00:00:00 */ function setYear(dirtyDate, dirtyYear) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(2, arguments); var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(dirtyDate); var year = Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyYear); // Check if date is Invalid Date because Date.prototype.setFullYear ignores the value of Invalid Date if (isNaN(date.getTime())) { return new Date(NaN); } date.setFullYear(year); return date; } /***/ }), /***/ "6eBy": /*!*******************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/debounce.js ***! \*******************************************************************/ /*! exports provided: debounce */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "debounce", function() { return debounce; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/get */ "ReuC"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf */ "foSv"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../innerSubscribe */ "zx2A"); function debounce(durationSelector) { return function (source) { return source.lift(new DebounceOperator(durationSelector)); }; } var DebounceOperator = /*#__PURE__*/function () { function DebounceOperator(durationSelector) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__["default"])(this, DebounceOperator); this.durationSelector = durationSelector; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__["default"])(DebounceOperator, [{ key: "call", value: function call(subscriber, source) { return source.subscribe(new DebounceSubscriber(subscriber, this.durationSelector)); } }]); return DebounceOperator; }(); var DebounceSubscriber = /*#__PURE__*/function (_SimpleOuterSubscribe) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__["default"])(DebounceSubscriber, _SimpleOuterSubscribe); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__["default"])(DebounceSubscriber); function DebounceSubscriber(destination, durationSelector) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__["default"])(this, DebounceSubscriber); _this = _super.call(this, destination); _this.durationSelector = durationSelector; _this.hasValue = false; return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__["default"])(DebounceSubscriber, [{ key: "_next", value: function _next(value) { try { var result = this.durationSelector.call(this, value); if (result) { this._tryNext(value, result); } } catch (err) { this.destination.error(err); } } }, { key: "_complete", value: function _complete() { this.emitValue(); this.destination.complete(); } }, { key: "_tryNext", value: function _tryNext(value, duration) { var subscription = this.durationSubscription; this.value = value; this.hasValue = true; if (subscription) { subscription.unsubscribe(); this.remove(subscription); } subscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_6__["innerSubscribe"])(duration, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_6__["SimpleInnerSubscriber"](this)); if (subscription && !subscription.closed) { this.add(this.durationSubscription = subscription); } } }, { key: "notifyNext", value: function notifyNext() { this.emitValue(); } }, { key: "notifyComplete", value: function notifyComplete() { this.emitValue(); } }, { key: "emitValue", value: function emitValue() { if (this.hasValue) { var value = this.value; var subscription = this.durationSubscription; if (subscription) { this.durationSubscription = undefined; subscription.unsubscribe(); this.remove(subscription); } this.value = undefined; this.hasValue = false; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_0__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_1__["default"])(DebounceSubscriber.prototype), "_next", this).call(this, value); } } }]); return DebounceSubscriber; }(_innerSubscribe__WEBPACK_IMPORTED_MODULE_6__["SimpleOuterSubscriber"]); /***/ }), /***/ "6iME": /*!*****************************************************************!*\ !*** ./node_modules/date-fns/esm/eachMinuteOfInterval/index.js ***! \*****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return eachMinuteOfInterval; }); /* harmony import */ var _addMinutes_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../addMinutes/index.js */ "IYaI"); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _startOfMinute_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../startOfMinute/index.js */ "0LOL"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name eachMinuteOfInterval * @category Interval Helpers * @summary Return the array of minutes within the specified time interval. * * @description * Returns the array of minutes within the specified time interval. * * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} * @param {Object} [options] - an object with options. * @param {Number} [options.step=1] - the step to increment by. The starts of minutes from the hour of the interval start to the hour of the interval end * @throws {TypeError} 1 argument requie value should be more than 1. * @returns {Date[]} the array withred * @throws {RangeError} `options.step` must be a number equal or greater than 1 * @throws {RangeError} The start of an interval cannot be after its end * @throws {RangeError} Date in interval cannot be `Invalid Date` * * @example * // Each minute between 14 October 2020, 13:00 and 14 October 2020, 13:03 * const result = eachMinuteOfInterval({ * start: new Date(2014, 9, 14, 13), * end: new Date(2014, 9, 14, 13, 3) * }) * //=> [ * // Wed Oct 14 2014 13:00:00, * // Wed Oct 14 2014 13:01:00, * // Wed Oct 14 2014 13:02:00, * // Wed Oct 14 2014 13:03:00 * // ] */ function eachMinuteOfInterval(interval, options) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(1, arguments); var startDate = Object(_startOfMinute_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(interval.start)); var endDate = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(interval.end); var startTime = startDate.getTime(); var endTime = endDate.getTime(); if (startTime >= endTime) { throw new RangeError('Invalid interval'); } var dates = []; var currentDate = startDate; var step = options && 'step' in options ? Number(options.step) : 1; if (step < 1 || isNaN(step)) throw new RangeError('`options.step` must be a number equal or greater than 1'); while (currentDate.getTime() <= endTime) { dates.push(Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(currentDate)); currentDate = Object(_addMinutes_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(currentDate, step); } return dates; } /***/ }), /***/ "6wME": /*!**********************************************************!*\ !*** ./node_modules/date-fns/esm/startOfDecade/index.js ***! \**********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return startOfDecade; }); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name startOfDecade * @category Decade Helpers * @summary Return the start of a decade for the given date. * * @description * Return the start of a decade for the given date. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the original date * @returns {Date} the start of a decade * @throws {TypeError} 1 argument required * * @example * // The start of a decade for 21 October 2015 00:00:00: * const result = startOfDecade(new Date(2015, 9, 21, 00, 00, 00)) * //=> Jan 01 2010 00:00:00 */ function startOfDecade(dirtyDate) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate); var year = date.getFullYear(); var decade = Math.floor(year / 10) * 10; date.setFullYear(decade, 0, 1); date.setHours(0, 0, 0, 0); return date; } /***/ }), /***/ "7+OI": /*!******************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/util/isObservable.js ***! \******************************************************************/ /*! exports provided: isObservable */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isObservable", function() { return isObservable; }); /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ "HDdC"); function isObservable(obj) { return !!obj && (obj instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__["Observable"] || typeof obj.lift === 'function' && typeof obj.subscribe === 'function'); } /***/ }), /***/ "76r+": /*!*******************************************************!*\ !*** ./node_modules/date-fns/esm/intlFormat/index.js ***! \*******************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return intlFormat; }); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name intlFormat * @category Common Helpers * @summary Format the date with Intl.DateTimeFormat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat). * * @description * Return the formatted date string in the given format. * The method uses [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) inside. * formatOptions are the same as [`Intl.DateTimeFormat` options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options) * * > ⚠️ Please note that before Node version 13.0.0, only the locale data for en-US is available by default. * * @param {Date|Number} argument - the original date. * @param {Object} [formatOptions] - an object with options. * @param {'lookup'|'best fit'} [formatOptions.localeMatcher='best fit'] - locale selection algorithm. * @param {'narrow'|'short'|'long'} [formatOptions.weekday] - representation the days of the week. * @param {'narrow'|'short'|'long'} [formatOptions.era] - representation of eras. * @param {'numeric'|'2-digit'} [formatOptions.year] - representation of years. * @param {'numeric'|'2-digit'|'narrow'|'short'|'long'} [formatOptions.month='numeric'] - representation of month. * @param {'numeric'|'2-digit'} [formatOptions.day='numeric'] - representation of day. * @param {'numeric'|'2-digit'} [formatOptions.hour='numeric'] - representation of hours. * @param {'numeric'|'2-digit'} [formatOptions.minute] - representation of minutes. * @param {'numeric'|'2-digit'} [formatOptions.second] - representation of seconds. * @param {'short'|'long'} [formatOptions.timeZoneName] - representation of names of time zones. * @param {'basic'|'best fit'} [formatOptions.formatMatcher='best fit'] - format selection algorithm. * @param {Boolean} [formatOptions.hour12] - determines whether to use 12-hour time format. * @param {String} [formatOptions.timeZone] - the time zone to use. * @param {Object} [localeOptions] - an object with locale. * @param {String|String[]} [localeOptions.locale] - the locale code * @returns {String} the formatted date string. * @throws {TypeError} 1 argument required. * @throws {RangeError} `date` must not be Invalid Date * * @example * // Represent 10 October 2019 in German. * // Convert the date with format's options and locale's options. * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { * weekday: 'long', * year: 'numeric', * month: 'long', * day: 'numeric', * }, { * locale: 'de-DE', * }) * //=> Freitag, 4. Oktober 2019 * * @example * // Represent 10 October 2019. * // Convert the date with format's options. * const result = intlFormat.default(new Date(2019, 9, 4, 12, 30, 13, 456), { * year: 'numeric', * month: 'numeric', * day: 'numeric', * hour: 'numeric', * }) * //=> 10/4/2019, 12 PM * * @example * // Represent 10 October 2019 in Korean. * // Convert the date with locale's options. * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { * locale: 'ko-KR', * }) * //=> 2019. 10. 4. * * @example * // Represent 10 October 2019 in middle-endian format: * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456)) * //=> 10/4/2019 */ function intlFormat(date, formatOrLocale, localeOptions) { var _localeOptions; Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(1, arguments); var formatOptions; if (isFormatOptions(formatOrLocale)) { formatOptions = formatOrLocale; } else { localeOptions = formatOrLocale; } return new Intl.DateTimeFormat((_localeOptions = localeOptions) === null || _localeOptions === void 0 ? void 0 : _localeOptions.locale, formatOptions).format(date); } function isFormatOptions(opts) { return opts !== undefined && !('locale' in opts); } /***/ }), /***/ "7DTD": /*!***********************************************************!*\ !*** ./node_modules/date-fns/esm/setISOWeekYear/index.js ***! \***********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return setISOWeekYear; }); /* harmony import */ var _lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/toInteger/index.js */ "/h9T"); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _startOfISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../startOfISOWeekYear/index.js */ "0f5V"); /* harmony import */ var _differenceInCalendarDays_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../differenceInCalendarDays/index.js */ "gXqy"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name setISOWeekYear * @category ISO Week-Numbering Year Helpers * @summary Set the ISO week-numbering year to the given date. * * @description * Set the ISO week-numbering year to the given date, * saving the week number and the weekday number. * * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * - The function was renamed from `setISOYear` to `setISOWeekYear`. * "ISO week year" is short for [ISO week-numbering year](https://en.wikipedia.org/wiki/ISO_week_date). * This change makes the name consistent with * locale-dependent week-numbering year helpers, e.g., `setWeekYear`. * * @param {Date|Number} date - the date to be changed * @param {Number} isoWeekYear - the ISO week-numbering year of the new date * @returns {Date} the new date with the ISO week-numbering year set * @throws {TypeError} 2 arguments required * * @example * // Set ISO week-numbering year 2007 to 29 December 2008: * const result = setISOWeekYear(new Date(2008, 11, 29), 2007) * //=> Mon Jan 01 2007 00:00:00 */ function setISOWeekYear(dirtyDate, dirtyISOWeekYear) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(2, arguments); var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(dirtyDate); var isoWeekYear = Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyISOWeekYear); var diff = Object(_differenceInCalendarDays_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(date, Object(_startOfISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(date)); var fourthOfJanuary = new Date(0); fourthOfJanuary.setFullYear(isoWeekYear, 0, 4); fourthOfJanuary.setHours(0, 0, 0, 0); date = Object(_startOfISOWeekYear_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(fourthOfJanuary); date.setDate(date.getDate() + diff); return date; } /***/ }), /***/ "7HRe": /*!********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduled.js ***! \********************************************************************/ /*! exports provided: scheduled */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "scheduled", function() { return scheduled; }); /* harmony import */ var _scheduleObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scheduleObservable */ "5B2Y"); /* harmony import */ var _schedulePromise__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./schedulePromise */ "4yVj"); /* harmony import */ var _scheduleArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./scheduleArray */ "jZKg"); /* harmony import */ var _scheduleIterable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./scheduleIterable */ "MBAA"); /* harmony import */ var _util_isInteropObservable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isInteropObservable */ "QIAL"); /* harmony import */ var _util_isPromise__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/isPromise */ "c2HN"); /* harmony import */ var _util_isArrayLike__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/isArrayLike */ "I55L"); /* harmony import */ var _util_isIterable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../util/isIterable */ "CMyj"); function scheduled(input, scheduler) { if (input != null) { if (Object(_util_isInteropObservable__WEBPACK_IMPORTED_MODULE_4__["isInteropObservable"])(input)) { return Object(_scheduleObservable__WEBPACK_IMPORTED_MODULE_0__["scheduleObservable"])(input, scheduler); } else if (Object(_util_isPromise__WEBPACK_IMPORTED_MODULE_5__["isPromise"])(input)) { return Object(_schedulePromise__WEBPACK_IMPORTED_MODULE_1__["schedulePromise"])(input, scheduler); } else if (Object(_util_isArrayLike__WEBPACK_IMPORTED_MODULE_6__["isArrayLike"])(input)) { return Object(_scheduleArray__WEBPACK_IMPORTED_MODULE_2__["scheduleArray"])(input, scheduler); } else if (Object(_util_isIterable__WEBPACK_IMPORTED_MODULE_7__["isIterable"])(input) || typeof input === 'string') { return Object(_scheduleIterable__WEBPACK_IMPORTED_MODULE_3__["scheduleIterable"])(input, scheduler); } } throw new TypeError((input !== null && typeof input || input) + ' is not observable'); } /***/ }), /***/ "7Hc7": /*!***************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/scheduler/asap.js ***! \***************************************************************/ /*! exports provided: asapScheduler, asap */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "asapScheduler", function() { return asapScheduler; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "asap", function() { return asap; }); /* harmony import */ var _AsapAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsapAction */ "Pz8W"); /* harmony import */ var _AsapScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsapScheduler */ "RUbi"); var asapScheduler = new _AsapScheduler__WEBPACK_IMPORTED_MODULE_1__["AsapScheduler"](_AsapAction__WEBPACK_IMPORTED_MODULE_0__["AsapAction"]); var asap = asapScheduler; /***/ }), /***/ "7KAL": /*!*********************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2015/scrolling.js ***! \*********************************************************/ /*! exports provided: CdkFixedSizeVirtualScroll, CdkScrollable, CdkScrollableModule, CdkVirtualForOf, CdkVirtualScrollViewport, DEFAULT_RESIZE_TIME, DEFAULT_SCROLL_TIME, FixedSizeVirtualScrollStrategy, ScrollDispatcher, ScrollingModule, VIRTUAL_SCROLL_STRATEGY, ViewportRuler, _fixedSizeVirtualScrollStrategyFactory */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CdkFixedSizeVirtualScroll", function() { return CdkFixedSizeVirtualScroll; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CdkScrollable", function() { return CdkScrollable; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CdkScrollableModule", function() { return CdkScrollableModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CdkVirtualForOf", function() { return CdkVirtualForOf; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CdkVirtualScrollViewport", function() { return CdkVirtualScrollViewport; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DEFAULT_RESIZE_TIME", function() { return DEFAULT_RESIZE_TIME; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DEFAULT_SCROLL_TIME", function() { return DEFAULT_SCROLL_TIME; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FixedSizeVirtualScrollStrategy", function() { return FixedSizeVirtualScrollStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScrollDispatcher", function() { return ScrollDispatcher; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScrollingModule", function() { return ScrollingModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VIRTUAL_SCROLL_STRATEGY", function() { return VIRTUAL_SCROLL_STRATEGY; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewportRuler", function() { return ViewportRuler; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_fixedSizeVirtualScrollStrategyFactory", function() { return _fixedSizeVirtualScrollStrategyFactory; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray */ "ODXe"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper */ "uFwe"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/get */ "ReuC"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf */ "foSv"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/cdk/coercion */ "8LU1"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ "8Y7J"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs */ "qCKp"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs/operators */ "kU1M"); /* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/cdk/platform */ "SCoL"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/common */ "SVse"); /* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/cdk/bidi */ "9gLZ"); /* harmony import */ var _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/cdk/collections */ "CtHx"); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** The injection token used to specify the virtual scrolling strategy. */ var _c0 = ["contentWrapper"]; var _c1 = ["*"]; var VIRTUAL_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_9__["InjectionToken"]('VIRTUAL_SCROLL_STRATEGY'); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Virtual scrolling strategy for lists with items of known fixed size. */ var FixedSizeVirtualScrollStrategy = /*#__PURE__*/function () { /** * @param itemSize The size of the items in the virtually scrolling list. * @param minBufferPx The minimum amount of buffer (in pixels) before needing to render more * @param maxBufferPx The amount of buffer (in pixels) to render when rendering more. */ function FixedSizeVirtualScrollStrategy(itemSize, minBufferPx, maxBufferPx) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, FixedSizeVirtualScrollStrategy); this._scrolledIndexChange = new rxjs__WEBPACK_IMPORTED_MODULE_10__["Subject"](); /** @docs-private Implemented as part of VirtualScrollStrategy. */ this.scrolledIndexChange = this._scrolledIndexChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["distinctUntilChanged"])()); /** The attached viewport. */ this._viewport = null; this._itemSize = itemSize; this._minBufferPx = minBufferPx; this._maxBufferPx = maxBufferPx; } /** * Attaches this scroll strategy to a viewport. * @param viewport The viewport to attach this strategy to. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(FixedSizeVirtualScrollStrategy, [{ key: "attach", value: function attach(viewport) { this._viewport = viewport; this._updateTotalContentSize(); this._updateRenderedRange(); } /** Detaches this scroll strategy from the currently attached viewport. */ }, { key: "detach", value: function detach() { this._scrolledIndexChange.complete(); this._viewport = null; } /** * Update the item size and buffer size. * @param itemSize The size of the items in the virtually scrolling list. * @param minBufferPx The minimum amount of buffer (in pixels) before needing to render more * @param maxBufferPx The amount of buffer (in pixels) to render when rendering more. */ }, { key: "updateItemAndBufferSize", value: function updateItemAndBufferSize(itemSize, minBufferPx, maxBufferPx) { if (maxBufferPx < minBufferPx && (typeof ngDevMode === 'undefined' || ngDevMode)) { throw Error('CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx'); } this._itemSize = itemSize; this._minBufferPx = minBufferPx; this._maxBufferPx = maxBufferPx; this._updateTotalContentSize(); this._updateRenderedRange(); } /** @docs-private Implemented as part of VirtualScrollStrategy. */ }, { key: "onContentScrolled", value: function onContentScrolled() { this._updateRenderedRange(); } /** @docs-private Implemented as part of VirtualScrollStrategy. */ }, { key: "onDataLengthChanged", value: function onDataLengthChanged() { this._updateTotalContentSize(); this._updateRenderedRange(); } /** @docs-private Implemented as part of VirtualScrollStrategy. */ }, { key: "onContentRendered", value: function onContentRendered() {} /** @docs-private Implemented as part of VirtualScrollStrategy. */ }, { key: "onRenderedOffsetChanged", value: function onRenderedOffsetChanged() {} /** * Scroll to the offset for the given index. * @param index The index of the element to scroll to. * @param behavior The ScrollBehavior to use when scrolling. */ }, { key: "scrollToIndex", value: function scrollToIndex(index, behavior) { if (this._viewport) { this._viewport.scrollToOffset(index * this._itemSize, behavior); } } /** Update the viewport's total content size. */ }, { key: "_updateTotalContentSize", value: function _updateTotalContentSize() { if (!this._viewport) { return; } this._viewport.setTotalContentSize(this._viewport.getDataLength() * this._itemSize); } /** Update the viewport's rendered range. */ }, { key: "_updateRenderedRange", value: function _updateRenderedRange() { if (!this._viewport) { return; } var renderedRange = this._viewport.getRenderedRange(); var newRange = { start: renderedRange.start, end: renderedRange.end }; var viewportSize = this._viewport.getViewportSize(); var dataLength = this._viewport.getDataLength(); var scrollOffset = this._viewport.measureScrollOffset(); // Prevent NaN as result when dividing by zero. var firstVisibleIndex = this._itemSize > 0 ? scrollOffset / this._itemSize : 0; // If user scrolls to the bottom of the list and data changes to a smaller list if (newRange.end > dataLength) { // We have to recalculate the first visible index based on new data length and viewport size. var maxVisibleItems = Math.ceil(viewportSize / this._itemSize); var newVisibleIndex = Math.max(0, Math.min(firstVisibleIndex, dataLength - maxVisibleItems)); // If first visible index changed we must update scroll offset to handle start/end buffers // Current range must also be adjusted to cover the new position (bottom of new list). if (firstVisibleIndex != newVisibleIndex) { firstVisibleIndex = newVisibleIndex; scrollOffset = newVisibleIndex * this._itemSize; newRange.start = Math.floor(firstVisibleIndex); } newRange.end = Math.max(0, Math.min(dataLength, newRange.start + maxVisibleItems)); } var startBuffer = scrollOffset - newRange.start * this._itemSize; if (startBuffer < this._minBufferPx && newRange.start != 0) { var expandStart = Math.ceil((this._maxBufferPx - startBuffer) / this._itemSize); newRange.start = Math.max(0, newRange.start - expandStart); newRange.end = Math.min(dataLength, Math.ceil(firstVisibleIndex + (viewportSize + this._minBufferPx) / this._itemSize)); } else { var endBuffer = newRange.end * this._itemSize - (scrollOffset + viewportSize); if (endBuffer < this._minBufferPx && newRange.end != dataLength) { var expandEnd = Math.ceil((this._maxBufferPx - endBuffer) / this._itemSize); if (expandEnd > 0) { newRange.end = Math.min(dataLength, newRange.end + expandEnd); newRange.start = Math.max(0, Math.floor(firstVisibleIndex - this._minBufferPx / this._itemSize)); } } } this._viewport.setRenderedRange(newRange); this._viewport.setRenderedContentOffset(this._itemSize * newRange.start); this._scrolledIndexChange.next(Math.floor(firstVisibleIndex)); } }]); return FixedSizeVirtualScrollStrategy; }(); /** * Provider factory for `FixedSizeVirtualScrollStrategy` that simply extracts the already created * `FixedSizeVirtualScrollStrategy` from the given directive. * @param fixedSizeDir The instance of `CdkFixedSizeVirtualScroll` to extract the * `FixedSizeVirtualScrollStrategy` from. */ function _fixedSizeVirtualScrollStrategyFactory(fixedSizeDir) { return fixedSizeDir._scrollStrategy; } /** A virtual scroll strategy that supports fixed-size items. */ var CdkFixedSizeVirtualScroll = /*#__PURE__*/function () { function CdkFixedSizeVirtualScroll() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, CdkFixedSizeVirtualScroll); this._itemSize = 20; this._minBufferPx = 100; this._maxBufferPx = 200; /** The scroll strategy used by this directive. */ this._scrollStrategy = new FixedSizeVirtualScrollStrategy(this.itemSize, this.minBufferPx, this.maxBufferPx); } /** The size of the items in the list (in pixels). */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(CdkFixedSizeVirtualScroll, [{ key: "itemSize", get: function get() { return this._itemSize; }, set: function set(value) { this._itemSize = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_8__["coerceNumberProperty"])(value); } /** * The minimum amount of buffer rendered beyond the viewport (in pixels). * If the amount of buffer dips below this number, more items will be rendered. Defaults to 100px. */ }, { key: "minBufferPx", get: function get() { return this._minBufferPx; }, set: function set(value) { this._minBufferPx = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_8__["coerceNumberProperty"])(value); } /** * The number of pixels worth of buffer to render for when rendering new items. Defaults to 200px. */ }, { key: "maxBufferPx", get: function get() { return this._maxBufferPx; }, set: function set(value) { this._maxBufferPx = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_8__["coerceNumberProperty"])(value); } }, { key: "ngOnChanges", value: function ngOnChanges() { this._scrollStrategy.updateItemAndBufferSize(this.itemSize, this.minBufferPx, this.maxBufferPx); } }]); return CdkFixedSizeVirtualScroll; }(); CdkFixedSizeVirtualScroll.ɵfac = function CdkFixedSizeVirtualScroll_Factory(t) { return new (t || CdkFixedSizeVirtualScroll)(); }; CdkFixedSizeVirtualScroll.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineDirective"]({ type: CdkFixedSizeVirtualScroll, selectors: [["cdk-virtual-scroll-viewport", "itemSize", ""]], inputs: { itemSize: "itemSize", minBufferPx: "minBufferPx", maxBufferPx: "maxBufferPx" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵProvidersFeature"]([{ provide: VIRTUAL_SCROLL_STRATEGY, useFactory: _fixedSizeVirtualScrollStrategyFactory, deps: [Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["forwardRef"])(function () { return CdkFixedSizeVirtualScroll; })] }]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵNgOnChangesFeature"]] }); CdkFixedSizeVirtualScroll.propDecorators = { itemSize: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }], minBufferPx: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }], maxBufferPx: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }] }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](CdkFixedSizeVirtualScroll, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Directive"], args: [{ selector: 'cdk-virtual-scroll-viewport[itemSize]', providers: [{ provide: VIRTUAL_SCROLL_STRATEGY, useFactory: _fixedSizeVirtualScrollStrategyFactory, deps: [Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["forwardRef"])(function () { return CdkFixedSizeVirtualScroll; })] }] }] }], function () { return []; }, { itemSize: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }], minBufferPx: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }], maxBufferPx: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }] }); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Time in ms to throttle the scrolling events by default. */ var DEFAULT_SCROLL_TIME = 20; /** * Service contained all registered Scrollable references and emits an event when any one of the * Scrollable references emit a scrolled event. */ var ScrollDispatcher = /*#__PURE__*/function () { function ScrollDispatcher(_ngZone, _platform, document) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, ScrollDispatcher); this._ngZone = _ngZone; this._platform = _platform; /** Subject for notifying that a registered scrollable reference element has been scrolled. */ this._scrolled = new rxjs__WEBPACK_IMPORTED_MODULE_10__["Subject"](); /** Keeps track of the global `scroll` and `resize` subscriptions. */ this._globalSubscription = null; /** Keeps track of the amount of subscriptions to `scrolled`. Used for cleaning up afterwards. */ this._scrolledCount = 0; /** * Map of all the scrollable references that are registered with the service and their * scroll event subscriptions. */ this.scrollContainers = new Map(); this._document = document; } /** * Registers a scrollable instance with the service and listens for its scrolled events. When the * scrollable is scrolled, the service emits the event to its scrolled observable. * @param scrollable Scrollable instance to be registered. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(ScrollDispatcher, [{ key: "register", value: function register(scrollable) { var _this = this; if (!this.scrollContainers.has(scrollable)) { this.scrollContainers.set(scrollable, scrollable.elementScrolled().subscribe(function () { return _this._scrolled.next(scrollable); })); } } /** * Deregisters a Scrollable reference and unsubscribes from its scroll event observable. * @param scrollable Scrollable instance to be deregistered. */ }, { key: "deregister", value: function deregister(scrollable) { var scrollableReference = this.scrollContainers.get(scrollable); if (scrollableReference) { scrollableReference.unsubscribe(); this.scrollContainers.delete(scrollable); } } /** * Returns an observable that emits an event whenever any of the registered Scrollable * references (or window, document, or body) fire a scrolled event. Can provide a time in ms * to override the default "throttle" time. * * **Note:** in order to avoid hitting change detection for every scroll event, * all of the events emitted from this stream will be run outside the Angular zone. * If you need to update any data bindings as a result of a scroll event, you have * to run the callback using `NgZone.run`. */ }, { key: "scrolled", value: function scrolled() { var _this2 = this; var auditTimeInMs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_SCROLL_TIME; if (!this._platform.isBrowser) { return Object(rxjs__WEBPACK_IMPORTED_MODULE_10__["of"])(); } return new rxjs__WEBPACK_IMPORTED_MODULE_10__["Observable"](function (observer) { if (!_this2._globalSubscription) { _this2._addGlobalListener(); } // In the case of a 0ms delay, use an observable without auditTime // since it does add a perceptible delay in processing overhead. var subscription = auditTimeInMs > 0 ? _this2._scrolled.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["auditTime"])(auditTimeInMs)).subscribe(observer) : _this2._scrolled.subscribe(observer); _this2._scrolledCount++; return function () { subscription.unsubscribe(); _this2._scrolledCount--; if (!_this2._scrolledCount) { _this2._removeGlobalListener(); } }; }); } }, { key: "ngOnDestroy", value: function ngOnDestroy() { var _this3 = this; this._removeGlobalListener(); this.scrollContainers.forEach(function (_, container) { return _this3.deregister(container); }); this._scrolled.complete(); } /** * Returns an observable that emits whenever any of the * scrollable ancestors of an element are scrolled. * @param elementOrElementRef Element whose ancestors to listen for. * @param auditTimeInMs Time to throttle the scroll events. */ }, { key: "ancestorScrolled", value: function ancestorScrolled(elementOrElementRef, auditTimeInMs) { var ancestors = this.getAncestorScrollContainers(elementOrElementRef); return this.scrolled(auditTimeInMs).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["filter"])(function (target) { return !target || ancestors.indexOf(target) > -1; })); } /** Returns all registered Scrollables that contain the provided element. */ }, { key: "getAncestorScrollContainers", value: function getAncestorScrollContainers(elementOrElementRef) { var _this4 = this; var scrollingContainers = []; this.scrollContainers.forEach(function (_subscription, scrollable) { if (_this4._scrollableContainsElement(scrollable, elementOrElementRef)) { scrollingContainers.push(scrollable); } }); return scrollingContainers; } /** Use defaultView of injected document if available or fallback to global window reference */ }, { key: "_getWindow", value: function _getWindow() { return this._document.defaultView || window; } /** Returns true if the element is contained within the provided Scrollable. */ }, { key: "_scrollableContainsElement", value: function _scrollableContainsElement(scrollable, elementOrElementRef) { var element = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_8__["coerceElement"])(elementOrElementRef); var scrollableElement = scrollable.getElementRef().nativeElement; // Traverse through the element parents until we reach null, checking if any of the elements // are the scrollable's element. do { if (element == scrollableElement) { return true; } } while (element = element.parentElement); return false; } /** Sets up the global scroll listeners. */ }, { key: "_addGlobalListener", value: function _addGlobalListener() { var _this5 = this; this._globalSubscription = this._ngZone.runOutsideAngular(function () { var window = _this5._getWindow(); return Object(rxjs__WEBPACK_IMPORTED_MODULE_10__["fromEvent"])(window.document, 'scroll').subscribe(function () { return _this5._scrolled.next(); }); }); } /** Cleans up the global scroll listener. */ }, { key: "_removeGlobalListener", value: function _removeGlobalListener() { if (this._globalSubscription) { this._globalSubscription.unsubscribe(); this._globalSubscription = null; } } }]); return ScrollDispatcher; }(); ScrollDispatcher.ɵfac = function ScrollDispatcher_Factory(t) { return new (t || ScrollDispatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["Platform"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_13__["DOCUMENT"], 8)); }; ScrollDispatcher.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"])({ factory: function ScrollDispatcher_Factory() { return new ScrollDispatcher(Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["Platform"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_13__["DOCUMENT"], 8)); }, token: ScrollDispatcher, providedIn: "root" }); ScrollDispatcher.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["Platform"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_13__["DOCUMENT"]] }] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](ScrollDispatcher, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Injectable"], args: [{ providedIn: 'root' }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["Platform"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_13__["DOCUMENT"]] }] }]; }, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Sends an event when the directive's element is scrolled. Registers itself with the * ScrollDispatcher service to include itself as part of its collection of scrolling events that it * can be listened to through the service. */ var CdkScrollable = /*#__PURE__*/function () { function CdkScrollable(elementRef, scrollDispatcher, ngZone, dir) { var _this6 = this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, CdkScrollable); this.elementRef = elementRef; this.scrollDispatcher = scrollDispatcher; this.ngZone = ngZone; this.dir = dir; this._destroyed = new rxjs__WEBPACK_IMPORTED_MODULE_10__["Subject"](); this._elementScrolled = new rxjs__WEBPACK_IMPORTED_MODULE_10__["Observable"](function (observer) { return _this6.ngZone.runOutsideAngular(function () { return Object(rxjs__WEBPACK_IMPORTED_MODULE_10__["fromEvent"])(_this6.elementRef.nativeElement, 'scroll').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["takeUntil"])(_this6._destroyed)).subscribe(observer); }); }); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(CdkScrollable, [{ key: "ngOnInit", value: function ngOnInit() { this.scrollDispatcher.register(this); } }, { key: "ngOnDestroy", value: function ngOnDestroy() { this.scrollDispatcher.deregister(this); this._destroyed.next(); this._destroyed.complete(); } /** Returns observable that emits when a scroll event is fired on the host element. */ }, { key: "elementScrolled", value: function elementScrolled() { return this._elementScrolled; } /** Gets the ElementRef for the viewport. */ }, { key: "getElementRef", value: function getElementRef() { return this.elementRef; } /** * Scrolls to the specified offsets. This is a normalized version of the browser's native scrollTo * method, since browsers are not consistent about what scrollLeft means in RTL. For this method * left and right always refer to the left and right side of the scrolling container irrespective * of the layout direction. start and end refer to left and right in an LTR context and vice-versa * in an RTL context. * @param options specified the offsets to scroll to. */ }, { key: "scrollTo", value: function scrollTo(options) { var el = this.elementRef.nativeElement; var isRtl = this.dir && this.dir.value == 'rtl'; // Rewrite start & end offsets as right or left offsets. if (options.left == null) { options.left = isRtl ? options.end : options.start; } if (options.right == null) { options.right = isRtl ? options.start : options.end; } // Rewrite the bottom offset as a top offset. if (options.bottom != null) { options.top = el.scrollHeight - el.clientHeight - options.bottom; } // Rewrite the right offset as a left offset. if (isRtl && Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["getRtlScrollAxisType"])() != 0 /* NORMAL */ ) { if (options.left != null) { options.right = el.scrollWidth - el.clientWidth - options.left; } if (Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["getRtlScrollAxisType"])() == 2 /* INVERTED */ ) { options.left = options.right; } else if (Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["getRtlScrollAxisType"])() == 1 /* NEGATED */ ) { options.left = options.right ? -options.right : options.right; } } else { if (options.right != null) { options.left = el.scrollWidth - el.clientWidth - options.right; } } this._applyScrollToOptions(options); } }, { key: "_applyScrollToOptions", value: function _applyScrollToOptions(options) { var el = this.elementRef.nativeElement; if (Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["supportsScrollBehavior"])()) { el.scrollTo(options); } else { if (options.top != null) { el.scrollTop = options.top; } if (options.left != null) { el.scrollLeft = options.left; } } } /** * Measures the scroll offset relative to the specified edge of the viewport. This method can be * used instead of directly checking scrollLeft or scrollTop, since browsers are not consistent * about what scrollLeft means in RTL. The values returned by this method are normalized such that * left and right always refer to the left and right side of the scrolling container irrespective * of the layout direction. start and end refer to left and right in an LTR context and vice-versa * in an RTL context. * @param from The edge to measure from. */ }, { key: "measureScrollOffset", value: function measureScrollOffset(from) { var LEFT = 'left'; var RIGHT = 'right'; var el = this.elementRef.nativeElement; if (from == 'top') { return el.scrollTop; } if (from == 'bottom') { return el.scrollHeight - el.clientHeight - el.scrollTop; } // Rewrite start & end as left or right offsets. var isRtl = this.dir && this.dir.value == 'rtl'; if (from == 'start') { from = isRtl ? RIGHT : LEFT; } else if (from == 'end') { from = isRtl ? LEFT : RIGHT; } if (isRtl && Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["getRtlScrollAxisType"])() == 2 /* INVERTED */ ) { // For INVERTED, scrollLeft is (scrollWidth - clientWidth) when scrolled all the way left and // 0 when scrolled all the way right. if (from == LEFT) { return el.scrollWidth - el.clientWidth - el.scrollLeft; } else { return el.scrollLeft; } } else if (isRtl && Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["getRtlScrollAxisType"])() == 1 /* NEGATED */ ) { // For NEGATED, scrollLeft is -(scrollWidth - clientWidth) when scrolled all the way left and // 0 when scrolled all the way right. if (from == LEFT) { return el.scrollLeft + el.scrollWidth - el.clientWidth; } else { return -el.scrollLeft; } } else { // For NORMAL, as well as non-RTL contexts, scrollLeft is 0 when scrolled all the way left and // (scrollWidth - clientWidth) when scrolled all the way right. if (from == LEFT) { return el.scrollLeft; } else { return el.scrollWidth - el.clientWidth - el.scrollLeft; } } } }]); return CdkScrollable; }(); CdkScrollable.ɵfac = function CdkScrollable_Factory(t) { return new (t || CdkScrollable)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__["Directionality"], 8)); }; CdkScrollable.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineDirective"]({ type: CdkScrollable, selectors: [["", "cdk-scrollable", ""], ["", "cdkScrollable", ""]] }); CdkScrollable.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ElementRef"] }, { type: ScrollDispatcher }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](CdkScrollable, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Directive"], args: [{ selector: '[cdk-scrollable], [cdkScrollable]' }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ElementRef"] }, { type: ScrollDispatcher }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }] }]; }, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Time in ms to throttle the resize events by default. */ var DEFAULT_RESIZE_TIME = 20; /** * Simple utility for getting the bounds of the browser viewport. * @docs-private */ var ViewportRuler = /*#__PURE__*/function () { function ViewportRuler(_platform, ngZone, document) { var _this7 = this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, ViewportRuler); this._platform = _platform; /** Stream of viewport change events. */ this._change = new rxjs__WEBPACK_IMPORTED_MODULE_10__["Subject"](); /** Event listener that will be used to handle the viewport change events. */ this._changeListener = function (event) { _this7._change.next(event); }; this._document = document; ngZone.runOutsideAngular(function () { if (_platform.isBrowser) { var _window = _this7._getWindow(); // Note that bind the events ourselves, rather than going through something like RxJS's // `fromEvent` so that we can ensure that they're bound outside of the NgZone. _window.addEventListener('resize', _this7._changeListener); _window.addEventListener('orientationchange', _this7._changeListener); } // We don't need to keep track of the subscription, // because we complete the `change` stream on destroy. _this7.change().subscribe(function () { return _this7._updateViewportSize(); }); }); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(ViewportRuler, [{ key: "ngOnDestroy", value: function ngOnDestroy() { if (this._platform.isBrowser) { var _window2 = this._getWindow(); _window2.removeEventListener('resize', this._changeListener); _window2.removeEventListener('orientationchange', this._changeListener); } this._change.complete(); } /** Returns the viewport's width and height. */ }, { key: "getViewportSize", value: function getViewportSize() { if (!this._viewportSize) { this._updateViewportSize(); } var output = { width: this._viewportSize.width, height: this._viewportSize.height }; // If we're not on a browser, don't cache the size since it'll be mocked out anyway. if (!this._platform.isBrowser) { this._viewportSize = null; } return output; } /** Gets a ClientRect for the viewport's bounds. */ }, { key: "getViewportRect", value: function getViewportRect() { // Use the document element's bounding rect rather than the window scroll properties // (e.g. pageYOffset, scrollY) due to in issue in Chrome and IE where window scroll // properties and client coordinates (boundingClientRect, clientX/Y, etc.) are in different // conceptual viewports. Under most circumstances these viewports are equivalent, but they // can disagree when the page is pinch-zoomed (on devices that support touch). // See https://bugs.chromium.org/p/chromium/issues/detail?id=489206#c4 // We use the documentElement instead of the body because, by default (without a css reset) // browsers typically give the document body an 8px margin, which is not included in // getBoundingClientRect(). var scrollPosition = this.getViewportScrollPosition(); var _this$getViewportSize = this.getViewportSize(), width = _this$getViewportSize.width, height = _this$getViewportSize.height; return { top: scrollPosition.top, left: scrollPosition.left, bottom: scrollPosition.top + height, right: scrollPosition.left + width, height: height, width: width }; } /** Gets the (top, left) scroll position of the viewport. */ }, { key: "getViewportScrollPosition", value: function getViewportScrollPosition() { // While we can get a reference to the fake document // during SSR, it doesn't have getBoundingClientRect. if (!this._platform.isBrowser) { return { top: 0, left: 0 }; } // The top-left-corner of the viewport is determined by the scroll position of the document // body, normally just (scrollLeft, scrollTop). However, Chrome and Firefox disagree about // whether `document.body` or `document.documentElement` is the scrolled element, so reading // `scrollTop` and `scrollLeft` is inconsistent. However, using the bounding rect of // `document.documentElement` works consistently, where the `top` and `left` values will // equal negative the scroll position. var document = this._document; var window = this._getWindow(); var documentElement = document.documentElement; var documentRect = documentElement.getBoundingClientRect(); var top = -documentRect.top || document.body.scrollTop || window.scrollY || documentElement.scrollTop || 0; var left = -documentRect.left || document.body.scrollLeft || window.scrollX || documentElement.scrollLeft || 0; return { top: top, left: left }; } /** * Returns a stream that emits whenever the size of the viewport changes. * @param throttleTime Time in milliseconds to throttle the stream. */ }, { key: "change", value: function change() { var throttleTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_RESIZE_TIME; return throttleTime > 0 ? this._change.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["auditTime"])(throttleTime)) : this._change; } /** Use defaultView of injected document if available or fallback to global window reference */ }, { key: "_getWindow", value: function _getWindow() { return this._document.defaultView || window; } /** Updates the cached viewport size. */ }, { key: "_updateViewportSize", value: function _updateViewportSize() { var window = this._getWindow(); this._viewportSize = this._platform.isBrowser ? { width: window.innerWidth, height: window.innerHeight } : { width: 0, height: 0 }; } }]); return ViewportRuler; }(); ViewportRuler.ɵfac = function ViewportRuler_Factory(t) { return new (t || ViewportRuler)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["Platform"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_13__["DOCUMENT"], 8)); }; ViewportRuler.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"])({ factory: function ViewportRuler_Factory() { return new ViewportRuler(Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["Platform"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_13__["DOCUMENT"], 8)); }, token: ViewportRuler, providedIn: "root" }); ViewportRuler.ctorParameters = function () { return [{ type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["Platform"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_13__["DOCUMENT"]] }] }]; }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](ViewportRuler, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Injectable"], args: [{ providedIn: 'root' }] }], function () { return [{ type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["Platform"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_13__["DOCUMENT"]] }] }]; }, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Checks if the given ranges are equal. */ function rangesEqual(r1, r2) { return r1.start == r2.start && r1.end == r2.end; } /** * Scheduler to be used for scroll events. Needs to fall back to * something that doesn't rely on requestAnimationFrame on environments * that don't support it (e.g. server-side rendering). */ var SCROLL_SCHEDULER = typeof requestAnimationFrame !== 'undefined' ? rxjs__WEBPACK_IMPORTED_MODULE_10__["animationFrameScheduler"] : rxjs__WEBPACK_IMPORTED_MODULE_10__["asapScheduler"]; /** A viewport that virtualizes its scrolling with the help of `CdkVirtualForOf`. */ var CdkVirtualScrollViewport = /*#__PURE__*/function (_CdkScrollable) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(CdkVirtualScrollViewport, _CdkScrollable); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_5__["default"])(CdkVirtualScrollViewport); function CdkVirtualScrollViewport(elementRef, _changeDetectorRef, ngZone, _scrollStrategy, dir, scrollDispatcher, viewportRuler) { var _this8; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, CdkVirtualScrollViewport); _this8 = _super.call(this, elementRef, scrollDispatcher, ngZone, dir); _this8.elementRef = elementRef; _this8._changeDetectorRef = _changeDetectorRef; _this8._scrollStrategy = _scrollStrategy; /** Emits when the viewport is detached from a CdkVirtualForOf. */ _this8._detachedSubject = new rxjs__WEBPACK_IMPORTED_MODULE_10__["Subject"](); /** Emits when the rendered range changes. */ _this8._renderedRangeSubject = new rxjs__WEBPACK_IMPORTED_MODULE_10__["Subject"](); _this8._orientation = 'vertical'; // Note: we don't use the typical EventEmitter here because we need to subscribe to the scroll // strategy lazily (i.e. only if the user is actually listening to the events). We do this because // depending on how the strategy calculates the scrolled index, it may come at a cost to // performance. /** Emits when the index of the first element visible in the viewport changes. */ _this8.scrolledIndexChange = new rxjs__WEBPACK_IMPORTED_MODULE_10__["Observable"](function (observer) { return _this8._scrollStrategy.scrolledIndexChange.subscribe(function (index) { return Promise.resolve().then(function () { return _this8.ngZone.run(function () { return observer.next(index); }); }); }); }); /** A stream that emits whenever the rendered range changes. */ _this8.renderedRangeStream = _this8._renderedRangeSubject; /** * The total size of all content (in pixels), including content that is not currently rendered. */ _this8._totalContentSize = 0; /** A string representing the `style.width` property value to be used for the spacer element. */ _this8._totalContentWidth = ''; /** A string representing the `style.height` property value to be used for the spacer element. */ _this8._totalContentHeight = ''; /** The currently rendered range of indices. */ _this8._renderedRange = { start: 0, end: 0 }; /** The length of the data bound to this viewport (in number of items). */ _this8._dataLength = 0; /** The size of the viewport (in pixels). */ _this8._viewportSize = 0; /** The last rendered content offset that was set. */ _this8._renderedContentOffset = 0; /** * Whether the last rendered content offset was to the end of the content (and therefore needs to * be rewritten as an offset to the start of the content). */ _this8._renderedContentOffsetNeedsRewrite = false; /** Whether there is a pending change detection cycle. */ _this8._isChangeDetectionPending = false; /** A list of functions to run after the next change detection cycle. */ _this8._runAfterChangeDetection = []; /** Subscription to changes in the viewport size. */ _this8._viewportChanges = rxjs__WEBPACK_IMPORTED_MODULE_10__["Subscription"].EMPTY; if (!_scrollStrategy && (typeof ngDevMode === 'undefined' || ngDevMode)) { throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.'); } _this8._viewportChanges = viewportRuler.change().subscribe(function () { _this8.checkViewportSize(); }); return _this8; } /** The direction the viewport scrolls. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(CdkVirtualScrollViewport, [{ key: "orientation", get: function get() { return this._orientation; }, set: function set(orientation) { if (this._orientation !== orientation) { this._orientation = orientation; this._calculateSpacerSize(); } } }, { key: "ngOnInit", value: function ngOnInit() { var _this9 = this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(CdkVirtualScrollViewport.prototype), "ngOnInit", this).call(this); // It's still too early to measure the viewport at this point. Deferring with a promise allows // the Viewport to be rendered with the correct size before we measure. We run this outside the // zone to avoid causing more change detection cycles. We handle the change detection loop // ourselves instead. this.ngZone.runOutsideAngular(function () { return Promise.resolve().then(function () { _this9._measureViewportSize(); _this9._scrollStrategy.attach(_this9); _this9.elementScrolled().pipe( // Start off with a fake scroll event so we properly detect our initial position. Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["startWith"])(null), // Collect multiple events into one until the next animation frame. This way if // there are multiple scroll events in the same frame we only need to recheck // our layout once. Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["auditTime"])(0, SCROLL_SCHEDULER)).subscribe(function () { return _this9._scrollStrategy.onContentScrolled(); }); _this9._markChangeDetectionNeeded(); }); }); } }, { key: "ngOnDestroy", value: function ngOnDestroy() { this.detach(); this._scrollStrategy.detach(); // Complete all subjects this._renderedRangeSubject.complete(); this._detachedSubject.complete(); this._viewportChanges.unsubscribe(); Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(CdkVirtualScrollViewport.prototype), "ngOnDestroy", this).call(this); } /** Attaches a `CdkVirtualScrollRepeater` to this viewport. */ }, { key: "attach", value: function attach(forOf) { var _this10 = this; if (this._forOf && (typeof ngDevMode === 'undefined' || ngDevMode)) { throw Error('CdkVirtualScrollViewport is already attached.'); } // Subscribe to the data stream of the CdkVirtualForOf to keep track of when the data length // changes. Run outside the zone to avoid triggering change detection, since we're managing the // change detection loop ourselves. this.ngZone.runOutsideAngular(function () { _this10._forOf = forOf; _this10._forOf.dataStream.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["takeUntil"])(_this10._detachedSubject)).subscribe(function (data) { var newLength = data.length; if (newLength !== _this10._dataLength) { _this10._dataLength = newLength; _this10._scrollStrategy.onDataLengthChanged(); } _this10._doChangeDetection(); }); }); } /** Detaches the current `CdkVirtualForOf`. */ }, { key: "detach", value: function detach() { this._forOf = null; this._detachedSubject.next(); } /** Gets the length of the data bound to this viewport (in number of items). */ }, { key: "getDataLength", value: function getDataLength() { return this._dataLength; } /** Gets the size of the viewport (in pixels). */ }, { key: "getViewportSize", value: function getViewportSize() { return this._viewportSize; } // TODO(mmalerba): This is technically out of sync with what's really rendered until a render // cycle happens. I'm being careful to only call it after the render cycle is complete and before // setting it to something else, but its error prone and should probably be split into // `pendingRange` and `renderedRange`, the latter reflecting whats actually in the DOM. /** Get the current rendered range of items. */ }, { key: "getRenderedRange", value: function getRenderedRange() { return this._renderedRange; } /** * Sets the total size of all content (in pixels), including content that is not currently * rendered. */ }, { key: "setTotalContentSize", value: function setTotalContentSize(size) { if (this._totalContentSize !== size) { this._totalContentSize = size; this._calculateSpacerSize(); this._markChangeDetectionNeeded(); } } /** Sets the currently rendered range of indices. */ }, { key: "setRenderedRange", value: function setRenderedRange(range) { var _this11 = this; if (!rangesEqual(this._renderedRange, range)) { this._renderedRangeSubject.next(this._renderedRange = range); this._markChangeDetectionNeeded(function () { return _this11._scrollStrategy.onContentRendered(); }); } } /** * Gets the offset from the start of the viewport to the start of the rendered data (in pixels). */ }, { key: "getOffsetToRenderedContentStart", value: function getOffsetToRenderedContentStart() { return this._renderedContentOffsetNeedsRewrite ? null : this._renderedContentOffset; } /** * Sets the offset from the start of the viewport to either the start or end of the rendered data * (in pixels). */ }, { key: "setRenderedContentOffset", value: function setRenderedContentOffset(offset) { var _this12 = this; var to = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'to-start'; // For a horizontal viewport in a right-to-left language we need to translate along the x-axis // in the negative direction. var isRtl = this.dir && this.dir.value == 'rtl'; var isHorizontal = this.orientation == 'horizontal'; var axis = isHorizontal ? 'X' : 'Y'; var axisDirection = isHorizontal && isRtl ? -1 : 1; var transform = "translate".concat(axis, "(").concat(Number(axisDirection * offset), "px)"); this._renderedContentOffset = offset; if (to === 'to-end') { transform += " translate".concat(axis, "(-100%)"); // The viewport should rewrite this as a `to-start` offset on the next render cycle. Otherwise // elements will appear to expand in the wrong direction (e.g. `mat-expansion-panel` would // expand upward). this._renderedContentOffsetNeedsRewrite = true; } if (this._renderedContentTransform != transform) { // We know this value is safe because we parse `offset` with `Number()` before passing it // into the string. this._renderedContentTransform = transform; this._markChangeDetectionNeeded(function () { if (_this12._renderedContentOffsetNeedsRewrite) { _this12._renderedContentOffset -= _this12.measureRenderedContentSize(); _this12._renderedContentOffsetNeedsRewrite = false; _this12.setRenderedContentOffset(_this12._renderedContentOffset); } else { _this12._scrollStrategy.onRenderedOffsetChanged(); } }); } } /** * Scrolls to the given offset from the start of the viewport. Please note that this is not always * the same as setting `scrollTop` or `scrollLeft`. In a horizontal viewport with right-to-left * direction, this would be the equivalent of setting a fictional `scrollRight` property. * @param offset The offset to scroll to. * @param behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`. */ }, { key: "scrollToOffset", value: function scrollToOffset(offset) { var behavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'auto'; var options = { behavior: behavior }; if (this.orientation === 'horizontal') { options.start = offset; } else { options.top = offset; } this.scrollTo(options); } /** * Scrolls to the offset for the given index. * @param index The index of the element to scroll to. * @param behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`. */ }, { key: "scrollToIndex", value: function scrollToIndex(index) { var behavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'auto'; this._scrollStrategy.scrollToIndex(index, behavior); } /** * Gets the current scroll offset from the start of the viewport (in pixels). * @param from The edge to measure the offset from. Defaults to 'top' in vertical mode and 'start' * in horizontal mode. */ }, { key: "measureScrollOffset", value: function measureScrollOffset(from) { return from ? Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(CdkVirtualScrollViewport.prototype), "measureScrollOffset", this).call(this, from) : Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(CdkVirtualScrollViewport.prototype), "measureScrollOffset", this).call(this, this.orientation === 'horizontal' ? 'start' : 'top'); } /** Measure the combined size of all of the rendered items. */ }, { key: "measureRenderedContentSize", value: function measureRenderedContentSize() { var contentEl = this._contentWrapper.nativeElement; return this.orientation === 'horizontal' ? contentEl.offsetWidth : contentEl.offsetHeight; } /** * Measure the total combined size of the given range. Throws if the range includes items that are * not rendered. */ }, { key: "measureRangeSize", value: function measureRangeSize(range) { if (!this._forOf) { return 0; } return this._forOf.measureRangeSize(range, this.orientation); } /** Update the viewport dimensions and re-render. */ }, { key: "checkViewportSize", value: function checkViewportSize() { // TODO: Cleanup later when add logic for handling content resize this._measureViewportSize(); this._scrollStrategy.onDataLengthChanged(); } /** Measure the viewport size. */ }, { key: "_measureViewportSize", value: function _measureViewportSize() { var viewportEl = this.elementRef.nativeElement; this._viewportSize = this.orientation === 'horizontal' ? viewportEl.clientWidth : viewportEl.clientHeight; } /** Queue up change detection to run. */ }, { key: "_markChangeDetectionNeeded", value: function _markChangeDetectionNeeded(runAfter) { var _this13 = this; if (runAfter) { this._runAfterChangeDetection.push(runAfter); } // Use a Promise to batch together calls to `_doChangeDetection`. This way if we set a bunch of // properties sequentially we only have to run `_doChangeDetection` once at the end. if (!this._isChangeDetectionPending) { this._isChangeDetectionPending = true; this.ngZone.runOutsideAngular(function () { return Promise.resolve().then(function () { _this13._doChangeDetection(); }); }); } } /** Run change detection. */ }, { key: "_doChangeDetection", value: function _doChangeDetection() { var _this14 = this; this._isChangeDetectionPending = false; // Apply the content transform. The transform can't be set via an Angular binding because // bypassSecurityTrustStyle is banned in Google. However the value is safe, it's composed of // string literals, a variable that can only be 'X' or 'Y', and user input that is run through // the `Number` function first to coerce it to a numeric value. this._contentWrapper.nativeElement.style.transform = this._renderedContentTransform; // Apply changes to Angular bindings. Note: We must call `markForCheck` to run change detection // from the root, since the repeated items are content projected in. Calling `detectChanges` // instead does not properly check the projected content. this.ngZone.run(function () { return _this14._changeDetectorRef.markForCheck(); }); var runAfterChangeDetection = this._runAfterChangeDetection; this._runAfterChangeDetection = []; var _iterator = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_1__["default"])(runAfterChangeDetection), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var fn = _step.value; fn(); } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } } /** Calculates the `style.width` and `style.height` for the spacer element. */ }, { key: "_calculateSpacerSize", value: function _calculateSpacerSize() { this._totalContentHeight = this.orientation === 'horizontal' ? '' : "".concat(this._totalContentSize, "px"); this._totalContentWidth = this.orientation === 'horizontal' ? "".concat(this._totalContentSize, "px") : ''; } }]); return CdkVirtualScrollViewport; }(CdkScrollable); CdkVirtualScrollViewport.ɵfac = function CdkVirtualScrollViewport_Factory(t) { return new (t || CdkVirtualScrollViewport)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](VIRTUAL_SCROLL_STRATEGY, 8), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__["Directionality"], 8), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](ViewportRuler)); }; CdkVirtualScrollViewport.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineComponent"]({ type: CdkVirtualScrollViewport, selectors: [["cdk-virtual-scroll-viewport"]], viewQuery: function CdkVirtualScrollViewport_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵstaticViewQuery"](_c0, true); } if (rf & 2) { var _t; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵloadQuery"]()) && (ctx._contentWrapper = _t.first); } }, hostAttrs: [1, "cdk-virtual-scroll-viewport"], hostVars: 4, hostBindings: function CdkVirtualScrollViewport_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("cdk-virtual-scroll-orientation-horizontal", ctx.orientation === "horizontal")("cdk-virtual-scroll-orientation-vertical", ctx.orientation !== "horizontal"); } }, inputs: { orientation: "orientation" }, outputs: { scrolledIndexChange: "scrolledIndexChange" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵProvidersFeature"]([{ provide: CdkScrollable, useExisting: CdkVirtualScrollViewport }]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵInheritDefinitionFeature"]], ngContentSelectors: _c1, decls: 4, vars: 4, consts: [[1, "cdk-virtual-scroll-content-wrapper"], ["contentWrapper", ""], [1, "cdk-virtual-scroll-spacer"]], template: function CdkVirtualScrollViewport_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵprojectionDef"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 0, 1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵprojection"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](3, "div", 2); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵstyleProp"]("width", ctx._totalContentWidth)("height", ctx._totalContentHeight); } }, styles: ["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"], encapsulation: 2, changeDetection: 0 }); CdkVirtualScrollViewport.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ChangeDetectorRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [VIRTUAL_SCROLL_STRATEGY] }] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }] }, { type: ScrollDispatcher }, { type: ViewportRuler }]; }; CdkVirtualScrollViewport.propDecorators = { orientation: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }], scrolledIndexChange: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], _contentWrapper: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ViewChild"], args: ['contentWrapper', { static: true }] }] }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](CdkVirtualScrollViewport, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Component"], args: [{ selector: 'cdk-virtual-scroll-viewport', template: "\n
\n \n
\n\n
\n", host: { 'class': 'cdk-virtual-scroll-viewport', '[class.cdk-virtual-scroll-orientation-horizontal]': 'orientation === "horizontal"', '[class.cdk-virtual-scroll-orientation-vertical]': 'orientation !== "horizontal"' }, encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ViewEncapsulation"].None, changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ChangeDetectionStrategy"].OnPush, providers: [{ provide: CdkScrollable, useExisting: CdkVirtualScrollViewport }], styles: ["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"] }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ChangeDetectorRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [VIRTUAL_SCROLL_STRATEGY] }] }, { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__["Directionality"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Optional"] }] }, { type: ScrollDispatcher }, { type: ViewportRuler }]; }, { scrolledIndexChange: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Output"] }], orientation: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }], _contentWrapper: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ViewChild"], args: ['contentWrapper', { static: true }] }] }); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Helper to extract the offset of a DOM Node in a certain direction. */ function getOffset(orientation, direction, node) { var el = node; if (!el.getBoundingClientRect) { return 0; } var rect = el.getBoundingClientRect(); if (orientation === 'horizontal') { return direction === 'start' ? rect.left : rect.right; } return direction === 'start' ? rect.top : rect.bottom; } /** * A directive similar to `ngForOf` to be used for rendering data inside a virtual scrolling * container. */ var CdkVirtualForOf = /*#__PURE__*/function () { function CdkVirtualForOf( /** The view container to add items to. */ _viewContainerRef, /** The template to use when stamping out new items. */ _template, /** The set of available differs. */ _differs, /** The strategy used to render items in the virtual scroll viewport. */ _viewRepeater, /** The virtual scrolling viewport that these items are being rendered in. */ _viewport, ngZone) { var _this15 = this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, CdkVirtualForOf); this._viewContainerRef = _viewContainerRef; this._template = _template; this._differs = _differs; this._viewRepeater = _viewRepeater; this._viewport = _viewport; /** Emits when the rendered view of the data changes. */ this.viewChange = new rxjs__WEBPACK_IMPORTED_MODULE_10__["Subject"](); /** Subject that emits when a new DataSource instance is given. */ this._dataSourceChanges = new rxjs__WEBPACK_IMPORTED_MODULE_10__["Subject"](); /** Emits whenever the data in the current DataSource changes. */ this.dataStream = this._dataSourceChanges.pipe( // Start off with null `DataSource`. Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["startWith"])(null), // Bundle up the previous and current data sources so we can work with both. Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["pairwise"])(), // Use `_changeDataSource` to disconnect from the previous data source and connect to the // new one, passing back a stream of data changes which we run through `switchMap` to give // us a data stream that emits the latest data from whatever the current `DataSource` is. Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["switchMap"])(function (_ref) { var _ref2 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_ref, 2), prev = _ref2[0], cur = _ref2[1]; return _this15._changeDataSource(prev, cur); }), // Replay the last emitted data when someone subscribes. Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["shareReplay"])(1)); /** The differ used to calculate changes to the data. */ this._differ = null; /** Whether the rendered data should be updated during the next ngDoCheck cycle. */ this._needsUpdate = false; this._destroyed = new rxjs__WEBPACK_IMPORTED_MODULE_10__["Subject"](); this.dataStream.subscribe(function (data) { _this15._data = data; _this15._onRenderedDataChange(); }); this._viewport.renderedRangeStream.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["takeUntil"])(this._destroyed)).subscribe(function (range) { _this15._renderedRange = range; ngZone.run(function () { return _this15.viewChange.next(_this15._renderedRange); }); _this15._onRenderedDataChange(); }); this._viewport.attach(this); } /** The DataSource to display. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(CdkVirtualForOf, [{ key: "cdkVirtualForOf", get: function get() { return this._cdkVirtualForOf; }, set: function set(value) { this._cdkVirtualForOf = value; if (Object(_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_15__["isDataSource"])(value)) { this._dataSourceChanges.next(value); } else { // If value is an an NgIterable, convert it to an array. this._dataSourceChanges.next(new _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_15__["ArrayDataSource"](Object(rxjs__WEBPACK_IMPORTED_MODULE_10__["isObservable"])(value) ? value : Array.from(value || []))); } } /** * The `TrackByFunction` to use for tracking changes. The `TrackByFunction` takes the index and * the item and produces a value to be used as the item's identity when tracking changes. */ }, { key: "cdkVirtualForTrackBy", get: function get() { return this._cdkVirtualForTrackBy; }, set: function set(fn) { var _this16 = this; this._needsUpdate = true; this._cdkVirtualForTrackBy = fn ? function (index, item) { return fn(index + (_this16._renderedRange ? _this16._renderedRange.start : 0), item); } : undefined; } /** The template used to stamp out new elements. */ }, { key: "cdkVirtualForTemplate", set: function set(value) { if (value) { this._needsUpdate = true; this._template = value; } } /** * The size of the cache used to store templates that are not being used for re-use later. * Setting the cache size to `0` will disable caching. Defaults to 20 templates. */ }, { key: "cdkVirtualForTemplateCacheSize", get: function get() { return this._viewRepeater.viewCacheSize; }, set: function set(size) { this._viewRepeater.viewCacheSize = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_8__["coerceNumberProperty"])(size); } /** * Measures the combined size (width for horizontal orientation, height for vertical) of all items * in the specified range. Throws an error if the range includes items that are not currently * rendered. */ }, { key: "measureRangeSize", value: function measureRangeSize(range, orientation) { if (range.start >= range.end) { return 0; } if ((range.start < this._renderedRange.start || range.end > this._renderedRange.end) && (typeof ngDevMode === 'undefined' || ngDevMode)) { throw Error("Error: attempted to measure an item that isn't rendered."); } // The index into the list of rendered views for the first item in the range. var renderedStartIndex = range.start - this._renderedRange.start; // The length of the range we're measuring. var rangeLen = range.end - range.start; // Loop over all the views, find the first and land node and compute the size by subtracting // the top of the first node from the bottom of the last one. var firstNode; var lastNode; // Find the first node by starting from the beginning and going forwards. for (var i = 0; i < rangeLen; i++) { var view = this._viewContainerRef.get(i + renderedStartIndex); if (view && view.rootNodes.length) { firstNode = lastNode = view.rootNodes[0]; break; } } // Find the last node by starting from the end and going backwards. for (var _i = rangeLen - 1; _i > -1; _i--) { var _view = this._viewContainerRef.get(_i + renderedStartIndex); if (_view && _view.rootNodes.length) { lastNode = _view.rootNodes[_view.rootNodes.length - 1]; break; } } return firstNode && lastNode ? getOffset(orientation, 'end', lastNode) - getOffset(orientation, 'start', firstNode) : 0; } }, { key: "ngDoCheck", value: function ngDoCheck() { if (this._differ && this._needsUpdate) { // TODO(mmalerba): We should differentiate needs update due to scrolling and a new portion of // this list being rendered (can use simpler algorithm) vs needs update due to data actually // changing (need to do this diff). var changes = this._differ.diff(this._renderedItems); if (!changes) { this._updateContext(); } else { this._applyChanges(changes); } this._needsUpdate = false; } } }, { key: "ngOnDestroy", value: function ngOnDestroy() { this._viewport.detach(); this._dataSourceChanges.next(undefined); this._dataSourceChanges.complete(); this.viewChange.complete(); this._destroyed.next(); this._destroyed.complete(); this._viewRepeater.detach(); } /** React to scroll state changes in the viewport. */ }, { key: "_onRenderedDataChange", value: function _onRenderedDataChange() { var _this17 = this; if (!this._renderedRange) { return; } this._renderedItems = this._data.slice(this._renderedRange.start, this._renderedRange.end); if (!this._differ) { // Use a wrapper function for the `trackBy` so any new values are // picked up automatically without having to recreate the differ. this._differ = this._differs.find(this._renderedItems).create(function (index, item) { return _this17.cdkVirtualForTrackBy ? _this17.cdkVirtualForTrackBy(index, item) : item; }); } this._needsUpdate = true; } /** Swap out one `DataSource` for another. */ }, { key: "_changeDataSource", value: function _changeDataSource(oldDs, newDs) { if (oldDs) { oldDs.disconnect(this); } this._needsUpdate = true; return newDs ? newDs.connect(this) : Object(rxjs__WEBPACK_IMPORTED_MODULE_10__["of"])(); } /** Update the `CdkVirtualForOfContext` for all views. */ }, { key: "_updateContext", value: function _updateContext() { var count = this._data.length; var i = this._viewContainerRef.length; while (i--) { var view = this._viewContainerRef.get(i); view.context.index = this._renderedRange.start + i; view.context.count = count; this._updateComputedContextProperties(view.context); view.detectChanges(); } } /** Apply changes to the DOM. */ }, { key: "_applyChanges", value: function _applyChanges(changes) { var _this18 = this; this._viewRepeater.applyChanges(changes, this._viewContainerRef, function (record, _adjustedPreviousIndex, currentIndex) { return _this18._getEmbeddedViewArgs(record, currentIndex); }, function (record) { return record.item; }); // Update $implicit for any items that had an identity change. changes.forEachIdentityChange(function (record) { var view = _this18._viewContainerRef.get(record.currentIndex); view.context.$implicit = record.item; }); // Update the context variables on all items. var count = this._data.length; var i = this._viewContainerRef.length; while (i--) { var view = this._viewContainerRef.get(i); view.context.index = this._renderedRange.start + i; view.context.count = count; this._updateComputedContextProperties(view.context); } } /** Update the computed properties on the `CdkVirtualForOfContext`. */ }, { key: "_updateComputedContextProperties", value: function _updateComputedContextProperties(context) { context.first = context.index === 0; context.last = context.index === context.count - 1; context.even = context.index % 2 === 0; context.odd = !context.even; } }, { key: "_getEmbeddedViewArgs", value: function _getEmbeddedViewArgs(record, index) { // Note that it's important that we insert the item directly at the proper index, // rather than inserting it and the moving it in place, because if there's a directive // on the same node that injects the `ViewContainerRef`, Angular will insert another // comment node which can throw off the move when it's being repeated for all items. return { templateRef: this._template, context: { $implicit: record.item, // It's guaranteed that the iterable is not "undefined" or "null" because we only // generate views for elements if the "cdkVirtualForOf" iterable has elements. cdkVirtualForOf: this._cdkVirtualForOf, index: -1, count: -1, first: false, last: false, odd: false, even: false }, index: index }; } }]); return CdkVirtualForOf; }(); CdkVirtualForOf.ɵfac = function CdkVirtualForOf_Factory(t) { return new (t || CdkVirtualForOf)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ViewContainerRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["TemplateRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["IterableDiffers"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_15__["_VIEW_REPEATER_STRATEGY"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](CdkVirtualScrollViewport, 4), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"])); }; CdkVirtualForOf.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineDirective"]({ type: CdkVirtualForOf, selectors: [["", "cdkVirtualFor", "", "cdkVirtualForOf", ""]], inputs: { cdkVirtualForOf: "cdkVirtualForOf", cdkVirtualForTrackBy: "cdkVirtualForTrackBy", cdkVirtualForTemplate: "cdkVirtualForTemplate", cdkVirtualForTemplateCacheSize: "cdkVirtualForTemplateCacheSize" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵProvidersFeature"]([{ provide: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_15__["_VIEW_REPEATER_STRATEGY"], useClass: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_15__["_RecycleViewRepeaterStrategy"] }])] }); CdkVirtualForOf.ctorParameters = function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ViewContainerRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["TemplateRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["IterableDiffers"] }, { type: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_15__["_RecycleViewRepeaterStrategy"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_15__["_VIEW_REPEATER_STRATEGY"]] }] }, { type: CdkVirtualScrollViewport, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["SkipSelf"] }] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }]; }; CdkVirtualForOf.propDecorators = { cdkVirtualForOf: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }], cdkVirtualForTrackBy: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }], cdkVirtualForTemplate: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }], cdkVirtualForTemplateCacheSize: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }] }; /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](CdkVirtualForOf, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Directive"], args: [{ selector: '[cdkVirtualFor][cdkVirtualForOf]', providers: [{ provide: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_15__["_VIEW_REPEATER_STRATEGY"], useClass: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_15__["_RecycleViewRepeaterStrategy"] }] }] }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["ViewContainerRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["TemplateRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["IterableDiffers"] }, { type: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_15__["_RecycleViewRepeaterStrategy"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Inject"], args: [_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_15__["_VIEW_REPEATER_STRATEGY"]] }] }, { type: CdkVirtualScrollViewport, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["SkipSelf"] }] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgZone"] }]; }, { cdkVirtualForOf: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }], cdkVirtualForTrackBy: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }], cdkVirtualForTemplate: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }], cdkVirtualForTemplateCacheSize: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["Input"] }] }); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var CdkScrollableModule = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(function CdkScrollableModule() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, CdkScrollableModule); }); CdkScrollableModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineNgModule"]({ type: CdkScrollableModule }); CdkScrollableModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjector"]({ factory: function CdkScrollableModule_Factory(t) { return new (t || CdkScrollableModule)(); } }); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsetNgModuleScope"](CdkScrollableModule, { declarations: [CdkScrollable], exports: [CdkScrollable] }); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](CdkScrollableModule, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgModule"], args: [{ exports: [CdkScrollable], declarations: [CdkScrollable] }] }], null, null); })(); /** * @docs-primary-export */ var ScrollingModule = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_7__["default"])(function ScrollingModule() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__["default"])(this, ScrollingModule); }); ScrollingModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineNgModule"]({ type: ScrollingModule }); ScrollingModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjector"]({ factory: function ScrollingModule_Factory(t) { return new (t || ScrollingModule)(); }, imports: [[_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__["BidiModule"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["PlatformModule"], CdkScrollableModule], _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__["BidiModule"], CdkScrollableModule] }); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsetNgModuleScope"](ScrollingModule, { declarations: function declarations() { return [CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport]; }, imports: function imports() { return [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__["BidiModule"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["PlatformModule"], CdkScrollableModule]; }, exports: function exports() { return [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__["BidiModule"], CdkScrollableModule, CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport]; } }); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵsetClassMetadata"](ScrollingModule, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__["NgModule"], args: [{ imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__["BidiModule"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__["PlatformModule"], CdkScrollableModule], exports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_14__["BidiModule"], CdkScrollableModule, CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport], declarations: [CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport] }] }], null, null); })(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Generated bundle index. Do not edit. */ /***/ }), /***/ "7LAz": /*!************************************************************!*\ !*** ./node_modules/date-fns/esm/yearsToQuarters/index.js ***! \************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return yearsToQuarters; }); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /* harmony import */ var _constants_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants/index.js */ "w3qX"); /** * @name yearsToQuarters * @category Conversion Helpers * @summary Convert years to quarters. * * @description * Convert a number of years to a full number of quarters. * * @param {number} years - number of years to be converted * * @returns {number} the number of years converted in quarters * @throws {TypeError} 1 argument required * * @example * // Convert 2 years to quarters * const result = yearsToQuarters(2) * //=> 8 */ function yearsToQuarters(years) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(1, arguments); return Math.floor(years * _constants_index_js__WEBPACK_IMPORTED_MODULE_1__["quartersInYear"]); } /***/ }), /***/ "7T1G": /*!*******************************************************!*\ !*** ./node_modules/date-fns/esm/nextSunday/index.js ***! \*******************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return nextSunday; }); /* harmony import */ var _nextDay_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../nextDay/index.js */ "CEZs"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name nextSunday * @category Weekday Helpers * @summary When is the next Sunday? * * @description * When is the next Sunday? * * @param {Date | number} date - the date to start counting from * @returns {Date} the next Sunday * @throws {TypeError} 1 argument required * * @example * // When is the next Sunday after Mar, 22, 2020? * const result = nextSunday(new Date(2020, 2, 22)) * //=> Sun Mar 29 2020 00:00:00 */ function nextSunday(date) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); return Object(_nextDay_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(date, 0); } /***/ }), /***/ "7XAQ": /*!******************************************************************!*\ !*** ./node_modules/date-fns/esm/minutesToMilliseconds/index.js ***! \******************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return minutesToMilliseconds; }); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /* harmony import */ var _constants_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants/index.js */ "w3qX"); /** * @name minutesToMilliseconds * @category Conversion Helpers * @summary Convert minutes to milliseconds. * * @description * Convert a number of minutes to a full number of milliseconds. * * @param {number} minutes - number of minutes to be converted * * @returns {number} the number of minutes converted in milliseconds * @throws {TypeError} 1 argument required * * @example * // Convert 2 minutes to milliseconds * const result = minutesToMilliseconds(2) * //=> 120000 */ function minutesToMilliseconds(minutes) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(1, arguments); return Math.floor(minutes * _constants_index_js__WEBPACK_IMPORTED_MODULE_1__["millisecondsInMinute"]); } /***/ }), /***/ "7gZZ": /*!********************************************************!*\ !*** ./node_modules/date-fns/esm/getWeekYear/index.js ***! \********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return getWeekYear; }); /* harmony import */ var _startOfWeek_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../startOfWeek/index.js */ "aetl"); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/toInteger/index.js */ "/h9T"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name getWeekYear * @category Week-Numbering Year Helpers * @summary Get the local week-numbering year of the given date. * * @description * Get the local week-numbering year of the given date. * The exact calculation depends on the values of * `options.weekStartsOn` (which is the index of the first day of the week) * and `options.firstWeekContainsDate` (which is the day of January, which is always in * the first week of the week-numbering year) * * Week numbering: https://en.wikipedia.org/wiki/Week#Week_numbering * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * @param {Date|Number} date - the given date * @param {Object} [options] - an object with options. * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year * @returns {Number} the local week-numbering year * @throws {TypeError} 1 argument required * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 * * @example * // Which week numbering year is 26 December 2004 with the default settings? * const result = getWeekYear(new Date(2004, 11, 26)) * //=> 2005 * * @example * // Which week numbering year is 26 December 2004 if week starts on Saturday? * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 }) * //=> 2004 * * @example * // Which week numbering year is 26 December 2004 if the first week contains 4 January? * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 }) * //=> 2004 */ function getWeekYear(dirtyDate, options) { var _options$locale, _options$locale$optio; Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(1, arguments); var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(dirtyDate); var year = date.getFullYear(); var localeFirstWeekContainsDate = options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate; var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(localeFirstWeekContainsDate); var firstWeekContainsDate = (options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) == null ? defaultFirstWeekContainsDate : Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) { throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively'); } var firstWeekOfNextYear = new Date(0); firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate); firstWeekOfNextYear.setHours(0, 0, 0, 0); var startOfNextYear = Object(_startOfWeek_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(firstWeekOfNextYear, options); var firstWeekOfThisYear = new Date(0); firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate); firstWeekOfThisYear.setHours(0, 0, 0, 0); var startOfThisYear = Object(_startOfWeek_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(firstWeekOfThisYear, options); if (date.getTime() >= startOfNextYear.getTime()) { return year + 1; } else if (date.getTime() >= startOfThisYear.getTime()) { return year; } else { return year - 1; } } /***/ }), /***/ "7o/Q": /*!***********************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/Subscriber.js ***! \***********************************************************/ /*! exports provided: Subscriber, SafeSubscriber */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Subscriber", function() { return Subscriber; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SafeSubscriber", function() { return SafeSubscriber; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized */ "JX7q"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/get */ "ReuC"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf */ "foSv"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./util/isFunction */ "n6bG"); /* harmony import */ var _Observer__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Observer */ "gRHU"); /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Subscription */ "quSY"); /* harmony import */ var _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internal/symbol/rxSubscriber */ "2QA8"); /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./config */ "2fFW"); /* harmony import */ var _util_hostReportError__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./util/hostReportError */ "NJ4a"); var Subscriber = /*#__PURE__*/function (_Subscription) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(Subscriber, _Subscription); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_6__["default"])(Subscriber); function Subscriber(destinationOrNext, error, complete) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, Subscriber); _this = _super.call(this); _this.syncErrorValue = null; _this.syncErrorThrown = false; _this.syncErrorThrowable = false; _this.isStopped = false; switch (arguments.length) { case 0: _this.destination = _Observer__WEBPACK_IMPORTED_MODULE_8__["empty"]; break; case 1: if (!destinationOrNext) { _this.destination = _Observer__WEBPACK_IMPORTED_MODULE_8__["empty"]; break; } if (typeof destinationOrNext === 'object') { if (destinationOrNext instanceof Subscriber) { _this.syncErrorThrowable = destinationOrNext.syncErrorThrowable; _this.destination = destinationOrNext; destinationOrNext.add(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__["default"])(_this)); } else { _this.syncErrorThrowable = true; _this.destination = new SafeSubscriber(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__["default"])(_this), destinationOrNext); } break; } default: _this.syncErrorThrowable = true; _this.destination = new SafeSubscriber(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__["default"])(_this), destinationOrNext, error, complete); break; } return _this; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(Subscriber, [{ key: _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_10__["rxSubscriber"], value: function value() { return this; } }, { key: "next", value: function next(value) { if (!this.isStopped) { this._next(value); } } }, { key: "error", value: function error(err) { if (!this.isStopped) { this.isStopped = true; this._error(err); } } }, { key: "complete", value: function complete() { if (!this.isStopped) { this.isStopped = true; this._complete(); } } }, { key: "unsubscribe", value: function unsubscribe() { if (this.closed) { return; } this.isStopped = true; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_3__["default"])(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(Subscriber.prototype), "unsubscribe", this).call(this); } }, { key: "_next", value: function _next(value) { this.destination.next(value); } }, { key: "_error", value: function _error(err) { this.destination.error(err); this.unsubscribe(); } }, { key: "_complete", value: function _complete() { this.destination.complete(); this.unsubscribe(); } }, { key: "_unsubscribeAndRecycle", value: function _unsubscribeAndRecycle() { var _parentOrParents = this._parentOrParents; this._parentOrParents = null; this.unsubscribe(); this.closed = false; this.isStopped = false; this._parentOrParents = _parentOrParents; return this; } }], [{ key: "create", value: function create(next, error, complete) { var subscriber = new Subscriber(next, error, complete); subscriber.syncErrorThrowable = false; return subscriber; } }]); return Subscriber; }(_Subscription__WEBPACK_IMPORTED_MODULE_9__["Subscription"]); var SafeSubscriber = /*#__PURE__*/function (_Subscriber) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(SafeSubscriber, _Subscriber); var _super2 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_6__["default"])(SafeSubscriber); function SafeSubscriber(_parentSubscriber, observerOrNext, error, complete) { var _this2; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, SafeSubscriber); _this2 = _super2.call(this); _this2._parentSubscriber = _parentSubscriber; var next; var context = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__["default"])(_this2); if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_7__["isFunction"])(observerOrNext)) { next = observerOrNext; } else if (observerOrNext) { next = observerOrNext.next; error = observerOrNext.error; complete = observerOrNext.complete; if (observerOrNext !== _Observer__WEBPACK_IMPORTED_MODULE_8__["empty"]) { context = Object.create(observerOrNext); if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_7__["isFunction"])(context.unsubscribe)) { _this2.add(context.unsubscribe.bind(context)); } context.unsubscribe = _this2.unsubscribe.bind(Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__["default"])(_this2)); } } _this2._context = context; _this2._next = next; _this2._error = error; _this2._complete = complete; return _this2; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(SafeSubscriber, [{ key: "next", value: function next(value) { if (!this.isStopped && this._next) { var _parentSubscriber = this._parentSubscriber; if (!_config__WEBPACK_IMPORTED_MODULE_11__["config"].useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) { this.__tryOrUnsub(this._next, value); } else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) { this.unsubscribe(); } } } }, { key: "error", value: function error(err) { if (!this.isStopped) { var _parentSubscriber = this._parentSubscriber; var useDeprecatedSynchronousErrorHandling = _config__WEBPACK_IMPORTED_MODULE_11__["config"].useDeprecatedSynchronousErrorHandling; if (this._error) { if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) { this.__tryOrUnsub(this._error, err); this.unsubscribe(); } else { this.__tryOrSetError(_parentSubscriber, this._error, err); this.unsubscribe(); } } else if (!_parentSubscriber.syncErrorThrowable) { this.unsubscribe(); if (useDeprecatedSynchronousErrorHandling) { throw err; } Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_12__["hostReportError"])(err); } else { if (useDeprecatedSynchronousErrorHandling) { _parentSubscriber.syncErrorValue = err; _parentSubscriber.syncErrorThrown = true; } else { Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_12__["hostReportError"])(err); } this.unsubscribe(); } } } }, { key: "complete", value: function complete() { var _this3 = this; if (!this.isStopped) { var _parentSubscriber = this._parentSubscriber; if (this._complete) { var wrappedComplete = function wrappedComplete() { return _this3._complete.call(_this3._context); }; if (!_config__WEBPACK_IMPORTED_MODULE_11__["config"].useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) { this.__tryOrUnsub(wrappedComplete); this.unsubscribe(); } else { this.__tryOrSetError(_parentSubscriber, wrappedComplete); this.unsubscribe(); } } else { this.unsubscribe(); } } } }, { key: "__tryOrUnsub", value: function __tryOrUnsub(fn, value) { try { fn.call(this._context, value); } catch (err) { this.unsubscribe(); if (_config__WEBPACK_IMPORTED_MODULE_11__["config"].useDeprecatedSynchronousErrorHandling) { throw err; } else { Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_12__["hostReportError"])(err); } } } }, { key: "__tryOrSetError", value: function __tryOrSetError(parent, fn, value) { if (!_config__WEBPACK_IMPORTED_MODULE_11__["config"].useDeprecatedSynchronousErrorHandling) { throw new Error('bad call'); } try { fn.call(this._context, value); } catch (err) { if (_config__WEBPACK_IMPORTED_MODULE_11__["config"].useDeprecatedSynchronousErrorHandling) { parent.syncErrorValue = err; parent.syncErrorThrown = true; return true; } else { Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_12__["hostReportError"])(err); return true; } } return false; } }, { key: "_unsubscribe", value: function _unsubscribe() { var _parentSubscriber = this._parentSubscriber; this._context = null; this._parentSubscriber = null; _parentSubscriber.unsubscribe(); } }]); return SafeSubscriber; }(Subscriber); /***/ }), /***/ "7ve7": /*!*****************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/scheduler/Action.js ***! \*****************************************************************/ /*! exports provided: Action */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Action", function() { return Action; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Subscription */ "quSY"); var Action = /*#__PURE__*/function (_Subscription) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__["default"])(Action, _Subscription); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__["default"])(Action); function Action(scheduler, work) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, Action); return _super.call(this); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(Action, [{ key: "schedule", value: function schedule(state) { var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; return this; } }]); return Action; }(_Subscription__WEBPACK_IMPORTED_MODULE_4__["Subscription"]); /***/ }), /***/ "7wYy": /*!************************************************!*\ !*** ./node_modules/date-fns/esm/sub/index.js ***! \************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return sub; }); /* harmony import */ var _subDays_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../subDays/index.js */ "Xep9"); /* harmony import */ var _subMonths_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../subMonths/index.js */ "phiu"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /* harmony import */ var _lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_lib/toInteger/index.js */ "/h9T"); /** * @name sub * @category Common Helpers * @summary Subtract the specified years, months, weeks, days, hours, minutes and seconds from the given date. * * @description * Subtract the specified years, months, weeks, days, hours, minutes and seconds from the given date. * * @param {Date|Number} date - the date to be changed * @param {Duration} duration - the object with years, months, weeks, days, hours, minutes and seconds to be subtracted * * | Key | Description | * |---------|------------------------------------| * | years | Amount of years to be subtracted | * | months | Amount of months to be subtracted | * | weeks | Amount of weeks to be subtracted | * | days | Amount of days to be subtracted | * | hours | Amount of hours to be subtracted | * | minutes | Amount of minutes to be subtracted | * | seconds | Amount of seconds to be subtracted | * * All values default to 0 * * @returns {Date} the new date with the seconds subtracted * @throws {TypeError} 2 arguments required * * @example * // Subtract the following duration from 15 June 2017 15:29:20 * const result = sub(new Date(2017, 5, 15, 15, 29, 20), { * years: 2, * months: 9, * weeks: 1, * days: 7, * hours: 5, * minutes: 9, * seconds: 30 * }) * //=> Mon Sep 1 2014 10:19:50 */ function sub(date, duration) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(2, arguments); if (!duration || typeof duration !== 'object') return new Date(NaN); var years = duration.years ? Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(duration.years) : 0; var months = duration.months ? Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(duration.months) : 0; var weeks = duration.weeks ? Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(duration.weeks) : 0; var days = duration.days ? Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(duration.days) : 0; var hours = duration.hours ? Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(duration.hours) : 0; var minutes = duration.minutes ? Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(duration.minutes) : 0; var seconds = duration.seconds ? Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(duration.seconds) : 0; // Subtract years and months var dateWithoutMonths = Object(_subMonths_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(date, months + years * 12); // Subtract weeks and days var dateWithoutDays = Object(_subDays_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dateWithoutMonths, days + weeks * 7); // Subtract hours, minutes and seconds var minutestoSub = minutes + hours * 60; var secondstoSub = seconds + minutestoSub * 60; var mstoSub = secondstoSub * 1000; var finalDate = new Date(dateWithoutDays.getTime() - mstoSub); return finalDate; } /***/ }), /***/ "7wxJ": /*!*********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/operators/combineAll.js ***! \*********************************************************************/ /*! exports provided: combineAll */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "combineAll", function() { return combineAll; }); /* harmony import */ var _observable_combineLatest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/combineLatest */ "itXk"); function combineAll(project) { return function (source) { return source.lift(new _observable_combineLatest__WEBPACK_IMPORTED_MODULE_0__["CombineLatestOperator"](project)); }; } /***/ }), /***/ "7xvl": /*!****************************************************************!*\ !*** ./node_modules/date-fns/esm/formatDistanceToNow/index.js ***! \****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return formatDistanceToNow; }); /* harmony import */ var _formatDistance_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../formatDistance/index.js */ "FVam"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /** * @name formatDistanceToNow * @category Common Helpers * @summary Return the distance between the given date and now in words. * @pure false * * @description * Return the distance between the given date and now in words. * * | Distance to now | Result | * |-------------------------------------------------------------------|---------------------| * | 0 ... 30 secs | less than a minute | * | 30 secs ... 1 min 30 secs | 1 minute | * | 1 min 30 secs ... 44 mins 30 secs | [2..44] minutes | * | 44 mins ... 30 secs ... 89 mins 30 secs | about 1 hour | * | 89 mins 30 secs ... 23 hrs 59 mins 30 secs | about [2..24] hours | * | 23 hrs 59 mins 30 secs ... 41 hrs 59 mins 30 secs | 1 day | * | 41 hrs 59 mins 30 secs ... 29 days 23 hrs 59 mins 30 secs | [2..30] days | * | 29 days 23 hrs 59 mins 30 secs ... 44 days 23 hrs 59 mins 30 secs | about 1 month | * | 44 days 23 hrs 59 mins 30 secs ... 59 days 23 hrs 59 mins 30 secs | about 2 months | * | 59 days 23 hrs 59 mins 30 secs ... 1 yr | [2..12] months | * | 1 yr ... 1 yr 3 months | about 1 year | * | 1 yr 3 months ... 1 yr 9 month s | over 1 year | * | 1 yr 9 months ... 2 yrs | almost 2 years | * | N yrs ... N yrs 3 months | about N years | * | N yrs 3 months ... N yrs 9 months | over N years | * | N yrs 9 months ... N+1 yrs | almost N+1 years | * * With `options.includeSeconds == true`: * | Distance to now | Result | * |---------------------|----------------------| * | 0 secs ... 5 secs | less than 5 seconds | * | 5 secs ... 10 secs | less than 10 seconds | * | 10 secs ... 20 secs | less than 20 seconds | * | 20 secs ... 40 secs | half a minute | * | 40 secs ... 60 secs | less than a minute | * | 60 secs ... 90 secs | 1 minute | * * > ⚠️ Please note that this function is not present in the FP submodule as * > it uses `Date.now()` internally hence impure and can't be safely curried. * * ### v2.0.0 breaking changes: * * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes). * * - The function was renamed from `distanceInWordsToNow ` to `formatDistanceToNow` * to make its name consistent with `format` and `formatRelative`. * * ```javascript * // Before v2.0.0 * * distanceInWordsToNow(new Date(2014, 6, 2), { addSuffix: true }) * //=> 'in 6 months' * * // v2.0.0 onward * * formatDistanceToNow(new Date(2014, 6, 2), { addSuffix: true }) * //=> 'in 6 months' * ``` * * @param {Date|Number} date - the given date * @param {Object} [options] - the object with options * @param {Boolean} [options.includeSeconds=false] - distances less than a minute are more detailed * @param {Boolean} [options.addSuffix=false] - result specifies if now is earlier or later than the passed date * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} * @returns {String} the distance in words * @throws {TypeError} 1 argument required * @throws {RangeError} `date` must not be Invalid Date * @throws {RangeError} `options.locale` must contain `formatDistance` property * * @example * // If today is 1 January 2015, what is the distance to 2 July 2014? * var result = formatDistanceToNow( * new Date(2014, 6, 2) * ) * //=> '6 months' * * @example * // If now is 1 January 2015 00:00:00, * // what is the distance to 1 January 2015 00:00:15, including seconds? * var result = formatDistanceToNow( * new Date(2015, 0, 1, 0, 0, 15), * {includeSeconds: true} * ) * //=> 'less than 20 seconds' * * @example * // If today is 1 January 2015, * // what is the distance to 1 January 2016, with a suffix? * var result = formatDistanceToNow( * new Date(2016, 0, 1), * {addSuffix: true} * ) * //=> 'in about 1 year' * * @example * // If today is 1 January 2015, * // what is the distance to 1 August 2016 in Esperanto? * var eoLocale = require('date-fns/locale/eo') * var result = formatDistanceToNow( * new Date(2016, 7, 1), * {locale: eoLocale} * ) * //=> 'pli ol 1 jaro' */ function formatDistanceToNow(dirtyDate, dirtyOptions) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(1, arguments); return Object(_formatDistance_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dirtyDate, Date.now(), dirtyOptions); } /***/ }), /***/ "83R2": /*!************************************************************!*\ !*** ./node_modules/date-fns/esm/addBusinessDays/index.js ***! \************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return addBusinessDays; }); /* harmony import */ var _isWeekend_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../isWeekend/index.js */ "gLRL"); /* harmony import */ var _toDate_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../toDate/index.js */ "/Tr7"); /* harmony import */ var _lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_lib/toInteger/index.js */ "/h9T"); /* harmony import */ var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_lib/requiredArgs/index.js */ "jIYg"); /* harmony import */ var _isSunday_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../isSunday/index.js */ "hW07"); /* harmony import */ var _isSaturday_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../isSaturday/index.js */ "GxZL"); /** * @name addBusinessDays * @category Day Helpers * @summary Add the specified number of business days (mon - fri) to the given date. * * @description * Add the specified number of business days (mon - fri) to the given date, ignoring weekends. * * @param {Date|Number} date - the date to be changed * @param {Number} amount - the amount of business days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. * @returns {Date} the new date with the business days added * @throws {TypeError} 2 arguments required * * @example * // Add 10 business days to 1 September 2014: * const result = addBusinessDays(new Date(2014, 8, 1), 10) * //=> Mon Sep 15 2014 00:00:00 (skipped weekend days) */ function addBusinessDays(dirtyDate, dirtyAmount) { Object(_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(2, arguments); var date = Object(_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(dirtyDate); var startedOnWeekend = Object(_isWeekend_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(date); var amount = Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(dirtyAmount); if (isNaN(amount)) return new Date(NaN); var hours = date.getHours(); var sign = amount < 0 ? -1 : 1; var fullWeeks = Object(_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(amount / 5); date.setDate(date.getDate() + fullWeeks * 7); // Get remaining days not part of a full week var restDays = Math.abs(amount % 5); // Loops over remaining days while (restDays > 0) { date.setDate(date.getDate() + sign); if (!Object(_isWeekend_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(date)) restDays -= 1; } // If the date is a weekend day and we reduce a dividable of // 5 from it, we land on a weekend date. // To counter this, we add days accordingly to land on the next business day if (startedOnWeekend && Object(_isWeekend_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(date) && amount !== 0) { // If we're reducing days, we want to add days until we land on a weekday // If we're adding days we want to reduce days until we land on a weekday if (Object(_isSaturday_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])(date)) date.setDate(date.getDate() + (sign < 0 ? 2 : -1)); if (Object(_isSunday_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(date)) date.setDate(date.getDate() + (sign < 0 ? 1 : -2)); } // Restore hours to avoid DST lag date.setHours(hours); return date; } /***/ }), /***/ "8LU1": /*!********************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2015/coercion.js ***! \********************************************************/ /*! exports provided: _isNumberValue, coerceArray, coerceBooleanProperty, coerceCssPixelValue, coerceElement, coerceNumberProperty, coerceStringArray */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_isNumberValue", function() { return _isNumberValue; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "coerceArray", function() { return coerceArray; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "coerceBooleanProperty", function() { return coerceBooleanProperty; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "coerceCssPixelValue", function() { return coerceCssPixelValue; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "coerceElement", function() { return coerceElement; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "coerceNumberProperty", function() { return coerceNumberProperty; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "coerceStringArray", function() { return coerceStringArray; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper */ "uFwe"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "8Y7J"); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Coerces a data-bound value (typically a string) to a boolean. */ function coerceBooleanProperty(value) { return value != null && "".concat(value) !== 'false'; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function coerceNumberProperty(value) { var fallbackValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; return _isNumberValue(value) ? Number(value) : fallbackValue; } /** * Whether the provided value is considered a number. * @docs-private */ function _isNumberValue(value) { // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string, // and other non-number values as NaN, where Number just uses 0) but it considers the string // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN. return !isNaN(parseFloat(value)) && !isNaN(Number(value)); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function coerceArray(value) { return Array.isArray(value) ? value : [value]; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Coerces a value to a CSS pixel value. */ function coerceCssPixelValue(value) { if (value == null) { return ''; } return typeof value === 'string' ? value : "".concat(value, "px"); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Coerces an ElementRef or an Element into an element. * Useful for APIs that can accept either a ref or the native element itself. */ function coerceElement(elementOrRef) { return elementOrRef instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"] ? elementOrRef.nativeElement : elementOrRef; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Coerces a value to an array of trimmed non-empty strings. * Any input that is not an array, `null` or `undefined` will be turned into a string * via `toString()` and subsequently split with the given separator. * `null` and `undefined` will result in an empty array. * This results in the following outcomes: * - `null` -> `[]` * - `[null]` -> `["null"]` * - `["a", "b ", " "]` -> `["a", "b"]` * - `[1, [2, 3]]` -> `["1", "2,3"]` * - `[{ a: 0 }]` -> `["[object Object]"]` * - `{ a: 0 }` -> `["[object", "Object]"]` * * Useful for defining CSS classes or table columns. * @param value the value to coerce into an array of strings * @param separator split-separator if value isn't an array */ function coerceStringArray(value) { var separator = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : /\s+/; var result = []; if (value != null) { var sourceValues = Array.isArray(value) ? value : "".concat(value).split(separator); var _iterator = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_0__["default"])(sourceValues), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var sourceValue = _step.value; var trimmedString = "".concat(sourceValue).trim(); if (trimmedString) { result.push(trimmedString); } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } } return result; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /***/ }), /***/ "8Qeq": /*!********************************************************************!*\ !*** ./node_modules/rxjs/_esm2015/internal/util/canReportError.js ***! \********************************************************************/ /*! exports provided: canReportError */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "canReportError", function() { return canReportError; }); /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ "7o/Q"); function canReportError(observer) { while (observer) { var _observer = observer, closed = _observer.closed, destination = _observer.destination, isStopped = _observer.isStopped; if (closed || isStopped) { return false; } else if (destination && destination instanceof _Subscriber__WEBPACK_IMPORTED_MODULE_0__["Subscriber"]) { observer = destination; } else { observer = null; } } return true; } /***/ }), /***/ "8ULh": /*!************************************************************!*\ !*** ./node_modules/@ctrl/tinycolor/dist/module/random.js ***! \************************************************************/ /*! exports provided: random, bounds */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "random", function() { return random; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bounds", function() { return bounds; }); /* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index */ "VJFB"); // randomColor by David Merfield under the CC0 license // https://github.com/davidmerfield/randomColor/ function random(options) { if (options === void 0) { options = {}; } // Check if we need to generate multiple colors if (options.count !== undefined && options.count !== null) { var totalColors = options.count; var colors = []; options.count = undefined; while (totalColors > colors.length) { // Since we're generating multiple colors, // incremement the seed. Otherwise we'd just // generate the same color each time... options.count = null; if (options.seed) { options.seed += 1; } colors.push(random(options)); } options.count = totalColors; return colors; } // First we pick a hue (H) var h = pickHue(options.hue, options.seed); // Then use H to determine saturation (S) var s = pickSaturation(h, options); // Then use S and H to determine brightness (B). var v = pickBrightness(h, s, options); var res = { h: h, s: s, v: v }; if (options.alpha !== undefined) { res.a = options.alpha; } // Then we return the HSB color in the desired format return new _index__WEBPACK_IMPORTED_MODULE_0__["TinyColor"](res); } function pickHue(hue, seed) { var hueRange = getHueRange(hue); var res = randomWithin(hueRange, seed); // Instead of storing red as two seperate ranges, // we group them, using negative numbers if (res < 0) { res = 360 + res; } return res; } function pickSaturation(hue, options) { if (options.hue === 'monochrome') { return 0; } if (options.luminosity === 'random') { return randomWithin([0, 100], options.seed); } var saturationRange = getColorInfo(hue).saturationRange; var sMin = saturationRange[0]; var sMax = saturationRange[1]; switch (options.luminosity) { case 'bright': sMin = 55; break; case 'dark': sMin = sMax - 10; break; case 'light': sMax = 55; break; default: break; } return randomWithin([sMin, sMax], options.seed); } function pickBrightness(H, S, options) { var bMin = getMinimumBrightness(H, S); var bMax = 100; switch (options.luminosity) { case 'dark': bMax = bMin + 20; break; case 'light': bMin = (bMax + bMin) / 2; break; case 'random': bMin = 0; bMax = 100; break; default: break; } return randomWithin([bMin, bMax], options.seed); } function getMinimumBrightness(H, S) { var lowerBounds = getColorInfo(H).lowerBounds; for (var i = 0; i < lowerBounds.length - 1; i++) { var s1 = lowerBounds[i][0]; var v1 = lowerBounds[i][1]; var s2 = lowerBounds[i + 1][0]; var v2 = lowerBounds[i + 1][1]; if (S >= s1 && S <= s2) { var m = (v2 - v1) / (s2 - s1); var b = v1 - m * s1; return m * S + b; } } return 0; } function getHueRange(colorInput) { var num = parseInt(colorInput, 10); if (!Number.isNaN(num) && num < 360 && num > 0) { return [num, num]; } if (typeof colorInput === 'string') { var namedColor = bounds.find(function (n) { return n.name === colorInput; }); if (namedColor) { var color = defineColor(namedColor); if (color.hueRange) { return color.hueRange; } } var parsed = new _index__WEBPACK_IMPORTED_MODULE_0__["TinyColor"](colorInput); if (parsed.isValid) { var hue = parsed.toHsv().h; return [hue, hue]; } } return [0, 360]; } function getColorInfo(hue) { // Maps red colors to make picking hue easier if (hue >= 334 && hue <= 360) { hue -= 360; } for (var _i = 0, bounds_1 = bounds; _i < bounds_1.length; _i++) { var bound = bounds_1[_i]; var color = defineColor(bound); if (color.hueRange && hue >= color.hueRange[0] && hue <= color.hueRange[1]) { return color; } } throw Error('Color not found'); } function randomWithin(range, seed) { if (seed === undefined) { return Math.floor(range[0] + Math.random() * (range[1] + 1 - range[0])); } // Seeded random algorithm from http://indiegamr.com/generate-repeatable-random-numbers-in-js/ var max = range[1] || 1; var min = range[0] || 0; seed = (seed * 9301 + 49297) % 233280; var rnd = seed / 233280.0; return Math.floor(min + rnd * (max - min)); } function defineColor(bound) { var sMin = bound.lowerBounds[0][0]; var sMax = bound.lowerBounds[bound.lowerBounds.length - 1][0]; var bMin = bound.lowerBounds[bound.lowerBounds.length - 1][1]; var bMax = bound.lowerBounds[0][1]; return { name: bound.name, hueRange: bound.hueRange, lowerBounds: bound.lowerBounds, saturationRange: [sMin, sMax], brightnessRange: [bMin, bMax] }; } /** * @hidden */ var bounds = [{ name: 'monochrome', hueRange: null, lowerBounds: [[0, 0], [100, 0]] }, { name: 'red', hueRange: [-26, 18], lowerBounds: [[20, 100], [30, 92], [40, 89], [50, 85], [60, 78], [70, 70], [80, 60], [90, 55], [100, 50]] }, { name: 'orange', hueRange: [19, 46], lowerBounds: [[20, 100], [30, 93], [40, 88], [50, 86], [60, 85], [70, 70], [100, 70]] }, { name: 'yellow', hueRange: [47, 62], lowerBounds: [[25, 100], [40, 94], [50, 89], [60, 86], [70, 84], [80, 82], [90, 80], [100, 75]] }, { name: 'green', hueRange: [63, 178], lowerBounds: [[30, 100], [40, 90], [50, 85], [60, 81], [70, 74], [80, 64], [90, 50], [100, 40]] }, { name: 'blue', hueRange: [179, 257], lowerBounds: [[20, 100], [30, 86], [40, 80], [50, 74], [60, 60], [70, 52], [80, 44], [90, 39], [100, 35]] }, { name: 'purple', hueRange: [258, 282], lowerBounds: [[20, 100], [30, 87], [40, 79], [50, 70], [60, 65], [70, 59], [80, 52], [90, 45], [100, 42]] }, { name: 'pink', hueRange: [283, 334], lowerBounds: [[20, 100], [30, 90], [40, 86], [60, 84], [80, 80], [90, 75], [100, 73]] }]; /***/ }), /***/ "8Y7J": /*!*****************************************************!*\ !*** ./node_modules/@angular/core/fesm2015/core.js ***! \*****************************************************/ /*! exports provided: ANALYZE_FOR_ENTRY_COMPONENTS, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory, ComponentFactoryResolver, ComponentRef, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DebugElement, DebugEventListener, DebugNode, DefaultIterableDiffer, Directive, ElementRef, EmbeddedViewRef, ErrorHandler, EventEmitter, Host, HostBinding, HostListener, INJECTOR, Inject, InjectFlags, Injectable, InjectionToken, Injector, Input, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModule, NgModuleFactory, NgModuleFactoryLoader, NgModuleRef, NgProbeToken, NgZone, Optional, Output, PACKAGE_ROOT_URL, PLATFORM_ID, PLATFORM_INITIALIZER, Pipe, PlatformRef, Query, QueryList, ReflectiveInjector, ReflectiveKey, Renderer2, RendererFactory2, RendererStyleFlags2, ResolvedReflectiveFactory, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, SystemJsNgModuleLoader, SystemJsNgModuleLoaderConfig, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation, ViewRef, WrappedValue, asNativeElements, assertPlatform, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getPlatform, inject, isDevMode, platformCore, resolveForwardRef, setTestabilityGetter, ɵ0, ɵALLOW_MULTIPLE_PLATFORMS, ɵAPP_ID_RANDOM_PROVIDER, ɵCREATE_ATTRIBUTE_DECORATOR__POST_R3__, ɵChangeDetectorStatus, ɵCodegenComponentFactoryResolver, ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__, ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__, ɵCompiler_compileModuleAsync__POST_R3__, ɵCompiler_compileModuleSync__POST_R3__, ɵComponentFactory, ɵConsole, ɵDEFAULT_LOCALE_ID, ɵEMPTY_ARRAY, ɵEMPTY_MAP, ɵINJECTOR_IMPL__POST_R3__, ɵINJECTOR_SCOPE, ɵLifecycleHooksFeature, ɵLocaleDataIndex, ɵNG_COMP_DEF, ɵNG_DIR_DEF, ɵNG_ELEMENT_ID, ɵNG_INJ_DEF, ɵNG_MOD_DEF, ɵNG_PIPE_DEF, ɵNG_PROV_DEF, ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, ɵNO_CHANGE, ɵNgModuleFactory, ɵNoopNgZone, ɵReflectionCapabilities, ɵRender3ComponentFactory, ɵRender3ComponentRef, ɵRender3NgModuleRef, ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__, ɵSWITCH_COMPILE_COMPONENT__POST_R3__, ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__, ɵSWITCH_COMPILE_INJECTABLE__POST_R3__, ɵSWITCH_COMPILE_NGMODULE__POST_R3__, ɵSWITCH_COMPILE_PIPE__POST_R3__, ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__, ɵSWITCH_IVY_ENABLED__POST_R3__, ɵSWITCH_RENDERER2_FACTORY__POST_R3__, ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__, ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__, ɵ_sanitizeHtml, ɵ_sanitizeUrl, ɵallowSanitizationBypassAndThrow, ɵand, ɵangular_packages_core_core_a, ɵangular_packages_core_core_b, ɵangular_packages_core_core_ba, ɵangular_packages_core_core_bb, ɵangular_packages_core_core_bc, ɵangular_packages_core_core_bd, ɵangular_packages_core_core_be, ɵangular_packages_core_core_bf, ɵangular_packages_core_core_bg, ɵangular_packages_core_core_bi, ɵangular_packages_core_core_bj, ɵangular_packages_core_core_bk, ɵangular_packages_core_core_bl, ɵangular_packages_core_core_bm, ɵangular_packages_core_core_bn, ɵangular_packages_core_core_bo, ɵangular_packages_core_core_bp, ɵangular_packages_core_core_bq, ɵangular_packages_core_core_br, ɵangular_packages_core_core_bs, ɵangular_packages_core_core_bu, ɵangular_packages_core_core_bw, ɵangular_packages_core_core_bx, ɵangular_packages_core_core_by, ɵangular_packages_core_core_bz, ɵangular_packages_core_core_c, ɵangular_packages_core_core_ca, ɵangular_packages_core_core_d, ɵangular_packages_core_core_e, ɵangular_packages_core_core_f, ɵangular_packages_core_core_g, ɵangular_packages_core_core_h, ɵangular_packages_core_core_i, ɵangular_packages_core_core_j, ɵangular_packages_core_core_k, ɵangular_packages_core_core_l, ɵangular_packages_core_core_m, ɵangular_packages_core_core_n, ɵangular_packages_core_core_o, ɵangular_packages_core_core_p, ɵangular_packages_core_core_q, ɵangular_packages_core_core_r, ɵangular_packages_core_core_s, ɵangular_packages_core_core_t, ɵangular_packages_core_core_u, ɵangular_packages_core_core_v, ɵangular_packages_core_core_w, ɵangular_packages_core_core_x, ɵangular_packages_core_core_y, ɵangular_packages_core_core_z, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustResourceUrl, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustUrl, ɵccf, ɵclearOverrides, ɵclearResolutionOfComponentResourcesQueue, ɵcmf, ɵcompileComponent, ɵcompileDirective, ɵcompileNgModule, ɵcompileNgModuleDefs, ɵcompileNgModuleFactory__POST_R3__, ɵcompilePipe, ɵcreateInjector, ɵcrt, ɵdefaultIterableDiffers, ɵdefaultKeyValueDiffers, ɵdetectChanges, ɵdevModeEqual, ɵdid, ɵeld, ɵfindLocaleData, ɵflushModuleScopingQueueAsMuchAsPossible, ɵgetComponentViewDefinitionFactory, ɵgetDebugNodeR2, ɵgetDebugNode__POST_R3__, ɵgetDirectives, ɵgetHostElement, ɵgetInjectableDef, ɵgetLContext, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, ɵgetModuleFactory__POST_R3__, ɵgetSanitizationBypassType, ɵglobal, ɵinitServicesIfNeeded, ɵinlineInterpolate, ɵinterpolate, ɵisBoundToModule__POST_R3__, ɵisDefaultChangeDetectionStrategy, ɵisListLikeIterable, ɵisObservable, ɵisPromise, ɵivyEnabled, ɵmakeDecorator, ɵmarkDirty, ɵmod, ɵmpd, ɵncd, ɵnoSideEffects, ɵnov, ɵoverrideComponentView, ɵoverrideProvider, ɵpad, ɵpatchComponentDefWithScope, ɵpid, ɵpod, ɵppd, ɵprd, ɵpublishDefaultGlobalUtils, ɵpublishGlobalUtil, ɵqud, ɵregisterLocaleData, ɵregisterModuleFactory, ɵregisterNgModuleType, ɵrenderComponent, ɵresetCompiledComponents, ɵresetJitOptions, ɵresolveComponentResources, ɵsetClassMetadata, ɵsetCurrentInjector, ɵsetDocument, ɵsetLocaleId, ɵstore, ɵstringify, ɵted, ɵtransitiveScopesFor, ɵunregisterLocaleData, ɵunv, ɵunwrapSafeValue, ɵvid, ɵwhenRendered, ɵɵCopyDefinitionFeature, ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵadvance, ɵɵattribute, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, ɵɵattributeInterpolate4, ɵɵattributeInterpolate5, ɵɵattributeInterpolate6, ɵɵattributeInterpolate7, ɵɵattributeInterpolate8, ɵɵattributeInterpolateV, ɵɵclassMap, ɵɵclassMapInterpolate1, ɵɵclassMapInterpolate2, ɵɵclassMapInterpolate3, ɵɵclassMapInterpolate4, ɵɵclassMapInterpolate5, ɵɵclassMapInterpolate6, ɵɵclassMapInterpolate7, ɵɵclassMapInterpolate8, ɵɵclassMapInterpolateV, ɵɵclassProp, ɵɵcontentQuery, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetCurrentView, ɵɵgetFactoryOf, ɵɵgetInheritedFactory, ɵɵhostProperty, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵinjectPipeChangeDetectorRef, ɵɵinvalidFactory, ɵɵinvalidFactoryDep, ɵɵlistener, ɵɵloadQuery, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵnextContext, ɵɵpipe, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵprojection, ɵɵprojectionDef, ɵɵproperty, ɵɵpropertyInterpolate, ɵɵpropertyInterpolate1, ɵɵpropertyInterpolate2, ɵɵpropertyInterpolate3, ɵɵpropertyInterpolate4, ɵɵpropertyInterpolate5, ɵɵpropertyInterpolate6, ɵɵpropertyInterpolate7, ɵɵpropertyInterpolate8, ɵɵpropertyInterpolateV, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵqueryRefresh, ɵɵreference, ɵɵresolveBody, ɵɵresolveDocument, ɵɵresolveWindow, ɵɵrestoreView, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl, ɵɵsanitizeUrlOrResourceUrl, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵstaticContentQuery, ɵɵstaticViewQuery, ɵɵstyleMap, ɵɵstyleMapInterpolate1, ɵɵstyleMapInterpolate2, ɵɵstyleMapInterpolate3, ɵɵstyleMapInterpolate4, ɵɵstyleMapInterpolate5, ɵɵstyleMapInterpolate6, ɵɵstyleMapInterpolate7, ɵɵstyleMapInterpolate8, ɵɵstyleMapInterpolateV, ɵɵstyleProp, ɵɵstylePropInterpolate1, ɵɵstylePropInterpolate2, ɵɵstylePropInterpolate3, ɵɵstylePropInterpolate4, ɵɵstylePropInterpolate5, ɵɵstylePropInterpolate6, ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵtrustConstantScript, ɵɵviewQuery */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ANALYZE_FOR_ENTRY_COMPONENTS", function() { return ANALYZE_FOR_ENTRY_COMPONENTS; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "APP_BOOTSTRAP_LISTENER", function() { return APP_BOOTSTRAP_LISTENER; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "APP_ID", function() { return APP_ID; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "APP_INITIALIZER", function() { return APP_INITIALIZER; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ApplicationInitStatus", function() { return ApplicationInitStatus; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ApplicationModule", function() { return ApplicationModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ApplicationRef", function() { return ApplicationRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Attribute", function() { return Attribute; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "COMPILER_OPTIONS", function() { return COMPILER_OPTIONS; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CUSTOM_ELEMENTS_SCHEMA", function() { return CUSTOM_ELEMENTS_SCHEMA; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChangeDetectionStrategy", function() { return ChangeDetectionStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChangeDetectorRef", function() { return ChangeDetectorRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Compiler", function() { return Compiler; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompilerFactory", function() { return CompilerFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Component", function() { return Component; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComponentFactory", function() { return ComponentFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComponentFactoryResolver", function() { return ComponentFactoryResolver; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComponentRef", function() { return ComponentRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ContentChild", function() { return ContentChild; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ContentChildren", function() { return ContentChildren; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DEFAULT_CURRENCY_CODE", function() { return DEFAULT_CURRENCY_CODE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DebugElement", function() { return DebugElement; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DebugEventListener", function() { return DebugEventListener; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DebugNode", function() { return DebugNode; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DefaultIterableDiffer", function() { return DefaultIterableDiffer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Directive", function() { return Directive; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ElementRef", function() { return ElementRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmbeddedViewRef", function() { return EmbeddedViewRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ErrorHandler", function() { return ErrorHandler; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EventEmitter", function() { return EventEmitter; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Host", function() { return Host; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HostBinding", function() { return HostBinding; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HostListener", function() { return HostListener; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "INJECTOR", function() { return INJECTOR$1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Inject", function() { return Inject; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InjectFlags", function() { return InjectFlags; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Injectable", function() { return Injectable; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InjectionToken", function() { return InjectionToken; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Injector", function() { return Injector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Input", function() { return Input; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IterableDiffers", function() { return IterableDiffers; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "KeyValueDiffers", function() { return KeyValueDiffers; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LOCALE_ID", function() { return LOCALE_ID$1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MissingTranslationStrategy", function() { return MissingTranslationStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ModuleWithComponentFactories", function() { return ModuleWithComponentFactories; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NO_ERRORS_SCHEMA", function() { return NO_ERRORS_SCHEMA; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NgModule", function() { return NgModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NgModuleFactory", function() { return NgModuleFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NgModuleFactoryLoader", function() { return NgModuleFactoryLoader; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NgModuleRef", function() { return NgModuleRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NgProbeToken", function() { return NgProbeToken; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NgZone", function() { return NgZone; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Optional", function() { return Optional; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Output", function() { return Output; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PACKAGE_ROOT_URL", function() { return PACKAGE_ROOT_URL; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PLATFORM_ID", function() { return PLATFORM_ID; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PLATFORM_INITIALIZER", function() { return PLATFORM_INITIALIZER; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pipe", function() { return Pipe; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PlatformRef", function() { return PlatformRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Query", function() { return Query; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QueryList", function() { return QueryList; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReflectiveInjector", function() { return ReflectiveInjector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReflectiveKey", function() { return ReflectiveKey; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Renderer2", function() { return Renderer2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RendererFactory2", function() { return RendererFactory2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RendererStyleFlags2", function() { return RendererStyleFlags2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResolvedReflectiveFactory", function() { return ResolvedReflectiveFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sanitizer", function() { return Sanitizer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SecurityContext", function() { return SecurityContext; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Self", function() { return Self; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SimpleChange", function() { return SimpleChange; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SkipSelf", function() { return SkipSelf; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SystemJsNgModuleLoader", function() { return SystemJsNgModuleLoader; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SystemJsNgModuleLoaderConfig", function() { return SystemJsNgModuleLoaderConfig; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TRANSLATIONS", function() { return TRANSLATIONS; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TRANSLATIONS_FORMAT", function() { return TRANSLATIONS_FORMAT; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TemplateRef", function() { return TemplateRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Testability", function() { return Testability; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestabilityRegistry", function() { return TestabilityRegistry; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Type", function() { return Type; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VERSION", function() { return VERSION; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Version", function() { return Version; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewChild", function() { return ViewChild; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewChildren", function() { return ViewChildren; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewContainerRef", function() { return ViewContainerRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewEncapsulation", function() { return ViewEncapsulation; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewRef", function() { return ViewRef$1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WrappedValue", function() { return WrappedValue; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "asNativeElements", function() { return asNativeElements; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "assertPlatform", function() { return assertPlatform; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPlatform", function() { return createPlatform; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPlatformFactory", function() { return createPlatformFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "defineInjectable", function() { return defineInjectable; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "destroyPlatform", function() { return destroyPlatform; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "enableProdMode", function() { return enableProdMode; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "forwardRef", function() { return forwardRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDebugNode", function() { return getDebugNode$1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getModuleFactory", function() { return getModuleFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getPlatform", function() { return getPlatform; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "inject", function() { return inject; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isDevMode", function() { return isDevMode; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "platformCore", function() { return platformCore; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "resolveForwardRef", function() { return resolveForwardRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTestabilityGetter", function() { return setTestabilityGetter; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵ0", function() { return ɵ0$2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵALLOW_MULTIPLE_PLATFORMS", function() { return ALLOW_MULTIPLE_PLATFORMS; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵAPP_ID_RANDOM_PROVIDER", function() { return APP_ID_RANDOM_PROVIDER; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵCREATE_ATTRIBUTE_DECORATOR__POST_R3__", function() { return CREATE_ATTRIBUTE_DECORATOR__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵChangeDetectorStatus", function() { return ChangeDetectorStatus; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵCodegenComponentFactoryResolver", function() { return CodegenComponentFactoryResolver; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__", function() { return Compiler_compileModuleAndAllComponentsAsync__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__", function() { return Compiler_compileModuleAndAllComponentsSync__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵCompiler_compileModuleAsync__POST_R3__", function() { return Compiler_compileModuleAsync__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵCompiler_compileModuleSync__POST_R3__", function() { return Compiler_compileModuleSync__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵComponentFactory", function() { return ComponentFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵConsole", function() { return Console; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵDEFAULT_LOCALE_ID", function() { return DEFAULT_LOCALE_ID; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵEMPTY_ARRAY", function() { return EMPTY_ARRAY$4; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵEMPTY_MAP", function() { return EMPTY_MAP; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵINJECTOR_IMPL__POST_R3__", function() { return INJECTOR_IMPL__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵINJECTOR_SCOPE", function() { return INJECTOR_SCOPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵLifecycleHooksFeature", function() { return LifecycleHooksFeature; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵLocaleDataIndex", function() { return LocaleDataIndex; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNG_COMP_DEF", function() { return NG_COMP_DEF; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNG_DIR_DEF", function() { return NG_DIR_DEF; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNG_ELEMENT_ID", function() { return NG_ELEMENT_ID; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNG_INJ_DEF", function() { return NG_INJ_DEF; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNG_MOD_DEF", function() { return NG_MOD_DEF; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNG_PIPE_DEF", function() { return NG_PIPE_DEF; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNG_PROV_DEF", function() { return NG_PROV_DEF; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR", function() { return NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNO_CHANGE", function() { return NO_CHANGE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNgModuleFactory", function() { return NgModuleFactory$1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵNoopNgZone", function() { return NoopNgZone; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵReflectionCapabilities", function() { return ReflectionCapabilities; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵRender3ComponentFactory", function() { return ComponentFactory$1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵRender3ComponentRef", function() { return ComponentRef$1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵRender3NgModuleRef", function() { return NgModuleRef$1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__", function() { return SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵSWITCH_COMPILE_COMPONENT__POST_R3__", function() { return SWITCH_COMPILE_COMPONENT__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__", function() { return SWITCH_COMPILE_DIRECTIVE__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵSWITCH_COMPILE_INJECTABLE__POST_R3__", function() { return SWITCH_COMPILE_INJECTABLE__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵSWITCH_COMPILE_NGMODULE__POST_R3__", function() { return SWITCH_COMPILE_NGMODULE__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵSWITCH_COMPILE_PIPE__POST_R3__", function() { return SWITCH_COMPILE_PIPE__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__", function() { return SWITCH_ELEMENT_REF_FACTORY__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵSWITCH_IVY_ENABLED__POST_R3__", function() { return SWITCH_IVY_ENABLED__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵSWITCH_RENDERER2_FACTORY__POST_R3__", function() { return SWITCH_RENDERER2_FACTORY__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__", function() { return SWITCH_TEMPLATE_REF_FACTORY__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__", function() { return SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵ_sanitizeHtml", function() { return _sanitizeHtml; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵ_sanitizeUrl", function() { return _sanitizeUrl; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵallowSanitizationBypassAndThrow", function() { return allowSanitizationBypassAndThrow; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵand", function() { return anchorDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_a", function() { return isForwardRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_b", function() { return injectInjectorOnly; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_ba", function() { return DebugContext; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bb", function() { return NgOnChangesFeatureImpl; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bc", function() { return SCHEDULER; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bd", function() { return injectAttributeImpl; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_be", function() { return getLView; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bf", function() { return getBindingRoot; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bg", function() { return nextContextImpl; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bi", function() { return pureFunction1Internal; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bj", function() { return pureFunction2Internal; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bk", function() { return pureFunction3Internal; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bl", function() { return pureFunction4Internal; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bm", function() { return pureFunctionVInternal; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bn", function() { return getUrlSanitizer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bo", function() { return makePropDecorator; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bp", function() { return makeParamDecorator; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bq", function() { return getClosureSafeProperty; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_br", function() { return NullInjector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bs", function() { return getInjectImplementation; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bu", function() { return getNativeByTNode; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bw", function() { return getRootContext; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bx", function() { return i18nPostprocess; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_by", function() { return trustedHTMLFromString; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_bz", function() { return trustedScriptURLFromString; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_c", function() { return ReflectiveInjector_; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_ca", function() { return trustedScriptFromString; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_d", function() { return ReflectiveDependency; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_e", function() { return resolveReflectiveProviders; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_f", function() { return _appIdRandomProviderFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_g", function() { return injectRenderer2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_h", function() { return injectElementRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_i", function() { return createElementRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_j", function() { return getModuleFactory__PRE_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_k", function() { return injectTemplateRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_l", function() { return createTemplateRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_m", function() { return injectViewContainerRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_n", function() { return DebugNode__PRE_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_o", function() { return DebugElement__PRE_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_p", function() { return getDebugNodeR2__PRE_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_q", function() { return injectChangeDetectorRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_r", function() { return DefaultIterableDifferFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_s", function() { return DefaultKeyValueDifferFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_t", function() { return _iterableDiffersFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_u", function() { return _keyValueDiffersFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_v", function() { return _localeFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_w", function() { return APPLICATION_MODULE_PROVIDERS; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_x", function() { return zoneSchedulerFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_y", function() { return USD_CURRENCY_CODE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵangular_packages_core_core_z", function() { return _def; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵbypassSanitizationTrustHtml", function() { return bypassSanitizationTrustHtml; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵbypassSanitizationTrustResourceUrl", function() { return bypassSanitizationTrustResourceUrl; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵbypassSanitizationTrustScript", function() { return bypassSanitizationTrustScript; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵbypassSanitizationTrustStyle", function() { return bypassSanitizationTrustStyle; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵbypassSanitizationTrustUrl", function() { return bypassSanitizationTrustUrl; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵccf", function() { return createComponentFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵclearOverrides", function() { return clearOverrides; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵclearResolutionOfComponentResourcesQueue", function() { return clearResolutionOfComponentResourcesQueue; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵcmf", function() { return createNgModuleFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵcompileComponent", function() { return compileComponent; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵcompileDirective", function() { return compileDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵcompileNgModule", function() { return compileNgModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵcompileNgModuleDefs", function() { return compileNgModuleDefs; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵcompileNgModuleFactory__POST_R3__", function() { return compileNgModuleFactory__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵcompilePipe", function() { return compilePipe; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵcreateInjector", function() { return createInjector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵcrt", function() { return createRendererType2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵdefaultIterableDiffers", function() { return defaultIterableDiffers; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵdefaultKeyValueDiffers", function() { return defaultKeyValueDiffers; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵdetectChanges", function() { return detectChanges; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵdevModeEqual", function() { return devModeEqual; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵdid", function() { return directiveDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵeld", function() { return elementDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵfindLocaleData", function() { return findLocaleData; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵflushModuleScopingQueueAsMuchAsPossible", function() { return flushModuleScopingQueueAsMuchAsPossible; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵgetComponentViewDefinitionFactory", function() { return getComponentViewDefinitionFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵgetDebugNodeR2", function() { return getDebugNodeR2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵgetDebugNode__POST_R3__", function() { return getDebugNode__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵgetDirectives", function() { return getDirectives; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵgetHostElement", function() { return getHostElement; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵgetInjectableDef", function() { return getInjectableDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵgetLContext", function() { return getLContext; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵgetLocaleCurrencyCode", function() { return getLocaleCurrencyCode; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵgetLocalePluralCase", function() { return getLocalePluralCase; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵgetModuleFactory__POST_R3__", function() { return getModuleFactory__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵgetSanitizationBypassType", function() { return getSanitizationBypassType; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵglobal", function() { return _global; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵinitServicesIfNeeded", function() { return initServicesIfNeeded; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵinlineInterpolate", function() { return inlineInterpolate; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵinterpolate", function() { return interpolate; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵisBoundToModule__POST_R3__", function() { return isBoundToModule__POST_R3__; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵisDefaultChangeDetectionStrategy", function() { return isDefaultChangeDetectionStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵisListLikeIterable", function() { return isListLikeIterable; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵisObservable", function() { return isObservable; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵisPromise", function() { return isPromise; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵivyEnabled", function() { return ivyEnabled; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵmakeDecorator", function() { return makeDecorator; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵmarkDirty", function() { return markDirty; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵmod", function() { return moduleDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵmpd", function() { return moduleProvideDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵncd", function() { return ngContentDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵnoSideEffects", function() { return noSideEffects; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵnov", function() { return nodeValue; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵoverrideComponentView", function() { return overrideComponentView; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵoverrideProvider", function() { return overrideProvider; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵpad", function() { return pureArrayDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵpatchComponentDefWithScope", function() { return patchComponentDefWithScope; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵpid", function() { return pipeDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵpod", function() { return pureObjectDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵppd", function() { return purePipeDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵprd", function() { return providerDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵpublishDefaultGlobalUtils", function() { return publishDefaultGlobalUtils; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵpublishGlobalUtil", function() { return publishGlobalUtil; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵqud", function() { return queryDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵregisterLocaleData", function() { return registerLocaleData; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵregisterModuleFactory", function() { return registerModuleFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵregisterNgModuleType", function() { return registerNgModuleType; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵrenderComponent", function() { return renderComponent$1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵresetCompiledComponents", function() { return resetCompiledComponents; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵresetJitOptions", function() { return resetJitOptions; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵresolveComponentResources", function() { return resolveComponentResources; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵsetClassMetadata", function() { return setClassMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵsetCurrentInjector", function() { return setCurrentInjector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵsetDocument", function() { return setDocument; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵsetLocaleId", function() { return setLocaleId; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵstore", function() { return store; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵstringify", function() { return stringify; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵted", function() { return textDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵtransitiveScopesFor", function() { return transitiveScopesFor; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵunregisterLocaleData", function() { return unregisterAllLocaleData; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵunv", function() { return unwrapValue; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵunwrapSafeValue", function() { return unwrapSafeValue; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵvid", function() { return viewDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵwhenRendered", function() { return whenRendered; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵCopyDefinitionFeature", function() { return ɵɵCopyDefinitionFeature; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵInheritDefinitionFeature", function() { return ɵɵInheritDefinitionFeature; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵNgOnChangesFeature", function() { return ɵɵNgOnChangesFeature; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵProvidersFeature", function() { return ɵɵProvidersFeature; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵadvance", function() { return ɵɵadvance; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵattribute", function() { return ɵɵattribute; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵattributeInterpolate1", function() { return ɵɵattributeInterpolate1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵattributeInterpolate2", function() { return ɵɵattributeInterpolate2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵattributeInterpolate3", function() { return ɵɵattributeInterpolate3; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵattributeInterpolate4", function() { return ɵɵattributeInterpolate4; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵattributeInterpolate5", function() { return ɵɵattributeInterpolate5; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵattributeInterpolate6", function() { return ɵɵattributeInterpolate6; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵattributeInterpolate7", function() { return ɵɵattributeInterpolate7; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵattributeInterpolate8", function() { return ɵɵattributeInterpolate8; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵattributeInterpolateV", function() { return ɵɵattributeInterpolateV; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵclassMap", function() { return ɵɵclassMap; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵclassMapInterpolate1", function() { return ɵɵclassMapInterpolate1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵclassMapInterpolate2", function() { return ɵɵclassMapInterpolate2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵclassMapInterpolate3", function() { return ɵɵclassMapInterpolate3; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵclassMapInterpolate4", function() { return ɵɵclassMapInterpolate4; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵclassMapInterpolate5", function() { return ɵɵclassMapInterpolate5; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵclassMapInterpolate6", function() { return ɵɵclassMapInterpolate6; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵclassMapInterpolate7", function() { return ɵɵclassMapInterpolate7; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵclassMapInterpolate8", function() { return ɵɵclassMapInterpolate8; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵclassMapInterpolateV", function() { return ɵɵclassMapInterpolateV; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵclassProp", function() { return ɵɵclassProp; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵcontentQuery", function() { return ɵɵcontentQuery; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵdefineComponent", function() { return ɵɵdefineComponent; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵdefineDirective", function() { return ɵɵdefineDirective; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵdefineInjectable", function() { return ɵɵdefineInjectable; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵdefineInjector", function() { return ɵɵdefineInjector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵdefineNgModule", function() { return ɵɵdefineNgModule; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵdefinePipe", function() { return ɵɵdefinePipe; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵdirectiveInject", function() { return ɵɵdirectiveInject; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵdisableBindings", function() { return ɵɵdisableBindings; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵelement", function() { return ɵɵelement; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵelementContainer", function() { return ɵɵelementContainer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵelementContainerEnd", function() { return ɵɵelementContainerEnd; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵelementContainerStart", function() { return ɵɵelementContainerStart; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵelementEnd", function() { return ɵɵelementEnd; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵelementStart", function() { return ɵɵelementStart; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵenableBindings", function() { return ɵɵenableBindings; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵgetCurrentView", function() { return ɵɵgetCurrentView; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵgetFactoryOf", function() { return ɵɵgetFactoryOf; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵgetInheritedFactory", function() { return ɵɵgetInheritedFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵhostProperty", function() { return ɵɵhostProperty; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵi18n", function() { return ɵɵi18n; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵi18nApply", function() { return ɵɵi18nApply; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵi18nAttributes", function() { return ɵɵi18nAttributes; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵi18nEnd", function() { return ɵɵi18nEnd; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵi18nExp", function() { return ɵɵi18nExp; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵi18nPostprocess", function() { return ɵɵi18nPostprocess; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵi18nStart", function() { return ɵɵi18nStart; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵinject", function() { return ɵɵinject; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵinjectAttribute", function() { return ɵɵinjectAttribute; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵinjectPipeChangeDetectorRef", function() { return ɵɵinjectPipeChangeDetectorRef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵinvalidFactory", function() { return ɵɵinvalidFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵinvalidFactoryDep", function() { return ɵɵinvalidFactoryDep; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵlistener", function() { return ɵɵlistener; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵloadQuery", function() { return ɵɵloadQuery; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵnamespaceHTML", function() { return ɵɵnamespaceHTML; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵnamespaceMathML", function() { return ɵɵnamespaceMathML; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵnamespaceSVG", function() { return ɵɵnamespaceSVG; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵnextContext", function() { return ɵɵnextContext; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpipe", function() { return ɵɵpipe; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpipeBind1", function() { return ɵɵpipeBind1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpipeBind2", function() { return ɵɵpipeBind2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpipeBind3", function() { return ɵɵpipeBind3; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpipeBind4", function() { return ɵɵpipeBind4; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpipeBindV", function() { return ɵɵpipeBindV; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵprojection", function() { return ɵɵprojection; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵprojectionDef", function() { return ɵɵprojectionDef; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵproperty", function() { return ɵɵproperty; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpropertyInterpolate", function() { return ɵɵpropertyInterpolate; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpropertyInterpolate1", function() { return ɵɵpropertyInterpolate1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpropertyInterpolate2", function() { return ɵɵpropertyInterpolate2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpropertyInterpolate3", function() { return ɵɵpropertyInterpolate3; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpropertyInterpolate4", function() { return ɵɵpropertyInterpolate4; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpropertyInterpolate5", function() { return ɵɵpropertyInterpolate5; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpropertyInterpolate6", function() { return ɵɵpropertyInterpolate6; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpropertyInterpolate7", function() { return ɵɵpropertyInterpolate7; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpropertyInterpolate8", function() { return ɵɵpropertyInterpolate8; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpropertyInterpolateV", function() { return ɵɵpropertyInterpolateV; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpureFunction0", function() { return ɵɵpureFunction0; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpureFunction1", function() { return ɵɵpureFunction1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpureFunction2", function() { return ɵɵpureFunction2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpureFunction3", function() { return ɵɵpureFunction3; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpureFunction4", function() { return ɵɵpureFunction4; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpureFunction5", function() { return ɵɵpureFunction5; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpureFunction6", function() { return ɵɵpureFunction6; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpureFunction7", function() { return ɵɵpureFunction7; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpureFunction8", function() { return ɵɵpureFunction8; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵpureFunctionV", function() { return ɵɵpureFunctionV; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵqueryRefresh", function() { return ɵɵqueryRefresh; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵreference", function() { return ɵɵreference; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵresolveBody", function() { return ɵɵresolveBody; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵresolveDocument", function() { return ɵɵresolveDocument; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵresolveWindow", function() { return ɵɵresolveWindow; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵrestoreView", function() { return ɵɵrestoreView; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵsanitizeHtml", function() { return ɵɵsanitizeHtml; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵsanitizeResourceUrl", function() { return ɵɵsanitizeResourceUrl; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵsanitizeScript", function() { return ɵɵsanitizeScript; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵsanitizeStyle", function() { return ɵɵsanitizeStyle; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵsanitizeUrl", function() { return ɵɵsanitizeUrl; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵsanitizeUrlOrResourceUrl", function() { return ɵɵsanitizeUrlOrResourceUrl; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵsetComponentScope", function() { return ɵɵsetComponentScope; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵsetNgModuleScope", function() { return ɵɵsetNgModuleScope; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstaticContentQuery", function() { return ɵɵstaticContentQuery; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstaticViewQuery", function() { return ɵɵstaticViewQuery; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstyleMap", function() { return ɵɵstyleMap; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstyleMapInterpolate1", function() { return ɵɵstyleMapInterpolate1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstyleMapInterpolate2", function() { return ɵɵstyleMapInterpolate2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstyleMapInterpolate3", function() { return ɵɵstyleMapInterpolate3; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstyleMapInterpolate4", function() { return ɵɵstyleMapInterpolate4; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstyleMapInterpolate5", function() { return ɵɵstyleMapInterpolate5; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstyleMapInterpolate6", function() { return ɵɵstyleMapInterpolate6; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstyleMapInterpolate7", function() { return ɵɵstyleMapInterpolate7; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstyleMapInterpolate8", function() { return ɵɵstyleMapInterpolate8; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstyleMapInterpolateV", function() { return ɵɵstyleMapInterpolateV; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstyleProp", function() { return ɵɵstyleProp; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstylePropInterpolate1", function() { return ɵɵstylePropInterpolate1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstylePropInterpolate2", function() { return ɵɵstylePropInterpolate2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstylePropInterpolate3", function() { return ɵɵstylePropInterpolate3; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstylePropInterpolate4", function() { return ɵɵstylePropInterpolate4; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstylePropInterpolate5", function() { return ɵɵstylePropInterpolate5; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstylePropInterpolate6", function() { return ɵɵstylePropInterpolate6; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstylePropInterpolate7", function() { return ɵɵstylePropInterpolate7; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstylePropInterpolate8", function() { return ɵɵstylePropInterpolate8; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵstylePropInterpolateV", function() { return ɵɵstylePropInterpolateV; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵsyntheticHostListener", function() { return ɵɵsyntheticHostListener; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵsyntheticHostProperty", function() { return ɵɵsyntheticHostProperty; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtemplate", function() { return ɵɵtemplate; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtemplateRefExtractor", function() { return ɵɵtemplateRefExtractor; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtext", function() { return ɵɵtext; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtextInterpolate", function() { return ɵɵtextInterpolate; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtextInterpolate1", function() { return ɵɵtextInterpolate1; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtextInterpolate2", function() { return ɵɵtextInterpolate2; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtextInterpolate3", function() { return ɵɵtextInterpolate3; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtextInterpolate4", function() { return ɵɵtextInterpolate4; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtextInterpolate5", function() { return ɵɵtextInterpolate5; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtextInterpolate6", function() { return ɵɵtextInterpolate6; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtextInterpolate7", function() { return ɵɵtextInterpolate7; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtextInterpolate8", function() { return ɵɵtextInterpolate8; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtextInterpolateV", function() { return ɵɵtextInterpolateV; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtrustConstantHtml", function() { return ɵɵtrustConstantHtml; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtrustConstantResourceUrl", function() { return ɵɵtrustConstantResourceUrl; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵtrustConstantScript", function() { return ɵɵtrustConstantScript; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ɵɵviewQuery", function() { return ɵɵviewQuery; }); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/get */ "ReuC"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf */ "foSv"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized */ "JX7q"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray */ "ODXe"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ "rePB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/toArray */ "T5bk"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper */ "uFwe"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/toConsumableArray */ "KQm4"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_construct__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/construct */ "RHh3"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); /* harmony import */ var E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/wrapNativeSuper */ "kHIg"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! rxjs */ "qCKp"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! rxjs/operators */ "kU1M"); /** * @license Angular v11.0.9 * (c) 2010-2020 Google LLC. https://angular.io/ * License: MIT */ /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function getClosureSafeProperty(objWithPropertyToExtract) { for (var key in objWithPropertyToExtract) { if (objWithPropertyToExtract[key] === getClosureSafeProperty) { return key; } } throw Error('Could not find renamed property on target object.'); } /** * Sets properties on a target object from a source object, but only if * the property doesn't already exist on the target object. * @param target The target to set properties on * @param source The source of the property keys and values to set */ function fillProperties(target, source) { for (var key in source) { if (source.hasOwnProperty(key) && !target.hasOwnProperty(key)) { target[key] = source[key]; } } } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function stringify(token) { if (typeof token === 'string') { return token; } if (Array.isArray(token)) { return '[' + token.map(stringify).join(', ') + ']'; } if (token == null) { return '' + token; } if (token.overriddenName) { return "".concat(token.overriddenName); } if (token.name) { return "".concat(token.name); } var res = token.toString(); if (res == null) { return '' + res; } var newLineIndex = res.indexOf('\n'); return newLineIndex === -1 ? res : res.substring(0, newLineIndex); } /** * Concatenates two strings with separator, allocating new strings only when necessary. * * @param before before string. * @param separator separator string. * @param after after string. * @returns concatenated string. */ function concatStringsWithSpace(before, after) { return before == null || before === '' ? after === null ? '' : after : after == null || after === '' ? before : before + ' ' + after; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var __forward_ref__ = getClosureSafeProperty({ __forward_ref__: getClosureSafeProperty }); /** * Allows to refer to references which are not yet defined. * * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of * DI is declared, but not yet defined. It is also used when the `token` which we use when creating * a query is not yet defined. * * @usageNotes * ### Example * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'} * @publicApi */ function forwardRef(forwardRefFn) { forwardRefFn.__forward_ref__ = forwardRef; forwardRefFn.toString = function () { return stringify(this()); }; return forwardRefFn; } /** * Lazily retrieves the reference value from a forwardRef. * * Acts as the identity function when given a non-forward-ref value. * * @usageNotes * ### Example * * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'} * * @see `forwardRef` * @publicApi */ function resolveForwardRef(type) { return isForwardRef(type) ? type() : type; } /** Checks whether a function is wrapped by a `forwardRef`. */ function isForwardRef(fn) { return typeof fn === 'function' && fn.hasOwnProperty(__forward_ref__) && fn.__forward_ref__ === forwardRef; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function assertNumber(actual, msg) { if (!(typeof actual === 'number')) { throwError(msg, typeof actual, 'number', '==='); } } function assertNumberInRange(actual, minInclusive, maxInclusive) { assertNumber(actual, 'Expected a number'); assertLessThanOrEqual(actual, maxInclusive, 'Expected number to be less than or equal to'); assertGreaterThanOrEqual(actual, minInclusive, 'Expected number to be greater than or equal to'); } function assertString(actual, msg) { if (!(typeof actual === 'string')) { throwError(msg, actual === null ? 'null' : typeof actual, 'string', '==='); } } function assertFunction(actual, msg) { if (!(typeof actual === 'function')) { throwError(msg, actual === null ? 'null' : typeof actual, 'function', '==='); } } function assertEqual(actual, expected, msg) { if (!(actual == expected)) { throwError(msg, actual, expected, '=='); } } function assertNotEqual(actual, expected, msg) { if (!(actual != expected)) { throwError(msg, actual, expected, '!='); } } function assertSame(actual, expected, msg) { if (!(actual === expected)) { throwError(msg, actual, expected, '==='); } } function assertNotSame(actual, expected, msg) { if (!(actual !== expected)) { throwError(msg, actual, expected, '!=='); } } function assertLessThan(actual, expected, msg) { if (!(actual < expected)) { throwError(msg, actual, expected, '<'); } } function assertLessThanOrEqual(actual, expected, msg) { if (!(actual <= expected)) { throwError(msg, actual, expected, '<='); } } function assertGreaterThan(actual, expected, msg) { if (!(actual > expected)) { throwError(msg, actual, expected, '>'); } } function assertGreaterThanOrEqual(actual, expected, msg) { if (!(actual >= expected)) { throwError(msg, actual, expected, '>='); } } function assertNotDefined(actual, msg) { if (actual != null) { throwError(msg, actual, null, '=='); } } function assertDefined(actual, msg) { if (actual == null) { throwError(msg, actual, null, '!='); } } function throwError(msg, actual, expected, comparison) { throw new Error("ASSERTION ERROR: ".concat(msg) + (comparison == null ? '' : " [Expected=> ".concat(expected, " ").concat(comparison, " ").concat(actual, " <=Actual]"))); } function assertDomNode(node) { // If we're in a worker, `Node` will not be defined. if (!(typeof Node !== 'undefined' && node instanceof Node) && !(typeof node === 'object' && node != null && node.constructor.name === 'WebWorkerRenderNode')) { throwError("The provided value must be an instance of a DOM Node but got ".concat(stringify(node))); } } function assertIndexInRange(arr, index) { assertDefined(arr, 'Array must be defined.'); var maxLen = arr.length; if (index < 0 || index >= maxLen) { throwError("Index expected to be less than ".concat(maxLen, " but got ").concat(index)); } } function assertOneOf(value) { for (var _len = arguments.length, validValues = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { validValues[_key - 1] = arguments[_key]; } if (validValues.indexOf(value) !== -1) return true; throwError("Expected value to be one of ".concat(JSON.stringify(validValues), " but was ").concat(JSON.stringify(value), ".")); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Construct an `InjectableDef` which defines how a token will be constructed by the DI system, and * in which injectors (if any) it will be available. * * This should be assigned to a static `ɵprov` field on a type, which will then be an * `InjectableType`. * * Options: * * `providedIn` determines which injectors will include the injectable, by either associating it * with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be * provided in the `'root'` injector, which will be the application-level injector in most apps. * * `factory` gives the zero argument function which will create an instance of the injectable. * The factory can call `inject` to access the `Injector` and request injection of dependencies. * * @codeGenApi * @publicApi This instruction has been emitted by ViewEngine for some time and is deployed to npm. */ function ɵɵdefineInjectable(opts) { return { token: opts.token, providedIn: opts.providedIn || null, factory: opts.factory, value: undefined }; } /** * @deprecated in v8, delete after v10. This API should be used only by generated code, and that * code should now use ɵɵdefineInjectable instead. * @publicApi */ var defineInjectable = ɵɵdefineInjectable; /** * Construct an `InjectorDef` which configures an injector. * * This should be assigned to a static injector def (`ɵinj`) field on a type, which will then be an * `InjectorType`. * * Options: * * * `factory`: an `InjectorType` is an instantiable type, so a zero argument `factory` function to * create the type must be provided. If that factory function needs to inject arguments, it can * use the `inject` function. * * `providers`: an optional array of providers to add to the injector. Each provider must * either have a factory or point to a type which has a `ɵprov` static property (the * type must be an `InjectableType`). * * `imports`: an optional array of imports of other `InjectorType`s or `InjectorTypeWithModule`s * whose providers will also be added to the injector. Locally provided types will override * providers from imports. * * @codeGenApi */ function ɵɵdefineInjector(options) { return { factory: options.factory, providers: options.providers || [], imports: options.imports || [] }; } /** * Read the injectable def (`ɵprov`) for `type` in a way which is immune to accidentally reading * inherited value. * * @param type A type which may have its own (non-inherited) `ɵprov`. */ function getInjectableDef(type) { return getOwnDefinition(type, NG_PROV_DEF) || getOwnDefinition(type, NG_INJECTABLE_DEF); } /** * Return definition only if it is defined directly on `type` and is not inherited from a base * class of `type`. */ function getOwnDefinition(type, field) { return type.hasOwnProperty(field) ? type[field] : null; } /** * Read the injectable def (`ɵprov`) for `type` or read the `ɵprov` from one of its ancestors. * * @param type A type which may have `ɵprov`, via inheritance. * * @deprecated Will be removed in a future version of Angular, where an error will occur in the * scenario if we find the `ɵprov` on an ancestor only. */ function getInheritedInjectableDef(type) { var def = type && (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF]); if (def) { var typeName = getTypeName(type); // TODO(FW-1307): Re-add ngDevMode when closure can handle it // ngDevMode && console.warn("DEPRECATED: DI is instantiating a token \"".concat(typeName, "\" that inherits its @Injectable decorator but does not provide one itself.\n") + "This will become an error in a future version of Angular. Please add @Injectable() to the \"".concat(typeName, "\" class.")); return def; } else { return null; } } /** Gets the name of a type, accounting for some cross-browser differences. */ function getTypeName(type) { // `Function.prototype.name` behaves differently between IE and other browsers. In most browsers // it'll always return the name of the function itself, no matter how many other functions it // inherits from. On IE the function doesn't have its own `name` property, but it takes it from // the lowest level in the prototype chain. E.g. if we have `class Foo extends Parent` most // browsers will evaluate `Foo.name` to `Foo` while IE will return `Parent`. We work around // the issue by converting the function to a string and parsing its name out that way via a regex. if (type.hasOwnProperty('name')) { return type.name; } var match = ('' + type).match(/^function\s*([^\s(]+)/); return match === null ? '' : match[1]; } /** * Read the injector def type in a way which is immune to accidentally reading inherited value. * * @param type type which may have an injector def (`ɵinj`) */ function getInjectorDef(type) { return type && (type.hasOwnProperty(NG_INJ_DEF) || type.hasOwnProperty(NG_INJECTOR_DEF)) ? type[NG_INJ_DEF] : null; } var NG_PROV_DEF = getClosureSafeProperty({ ɵprov: getClosureSafeProperty }); var NG_INJ_DEF = getClosureSafeProperty({ ɵinj: getClosureSafeProperty }); // We need to keep these around so we can read off old defs if new defs are unavailable var NG_INJECTABLE_DEF = getClosureSafeProperty({ ngInjectableDef: getClosureSafeProperty }); var NG_INJECTOR_DEF = getClosureSafeProperty({ ngInjectorDef: getClosureSafeProperty }); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Injection flags for DI. * * @publicApi */ var InjectFlags; (function (InjectFlags) { // TODO(alxhub): make this 'const' when ngc no longer writes exports of it into ngfactory files. /** Check self and check parent injector if needed */ InjectFlags[InjectFlags["Default"] = 0] = "Default"; /** * Specifies that an injector should retrieve a dependency from any injector until reaching the * host element of the current component. (Only used with Element Injector) */ InjectFlags[InjectFlags["Host"] = 1] = "Host"; /** Don't ascend to ancestors of the node requesting injection. */ InjectFlags[InjectFlags["Self"] = 2] = "Self"; /** Skip the node that is requesting injection. */ InjectFlags[InjectFlags["SkipSelf"] = 4] = "SkipSelf"; /** Inject `defaultValue` instead if token not found. */ InjectFlags[InjectFlags["Optional"] = 8] = "Optional"; })(InjectFlags || (InjectFlags = {})); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Current implementation of inject. * * By default, it is `injectInjectorOnly`, which makes it `Injector`-only aware. It can be changed * to `directiveInject`, which brings in the `NodeInjector` system of ivy. It is designed this * way for two reasons: * 1. `Injector` should not depend on ivy logic. * 2. To maintain tree shake-ability we don't want to bring in unnecessary code. */ var _injectImplementation; function getInjectImplementation() { return _injectImplementation; } /** * Sets the current inject implementation. */ function setInjectImplementation(impl) { var previous = _injectImplementation; _injectImplementation = impl; return previous; } /** * Injects `root` tokens in limp mode. * * If no injector exists, we can still inject tree-shakable providers which have `providedIn` set to * `"root"`. This is known as the limp mode injection. In such case the value is stored in the * `InjectableDef`. */ function injectRootLimpMode(token, notFoundValue, flags) { var injectableDef = getInjectableDef(token); if (injectableDef && injectableDef.providedIn == 'root') { return injectableDef.value === undefined ? injectableDef.value = injectableDef.factory() : injectableDef.value; } if (flags & InjectFlags.Optional) return null; if (notFoundValue !== undefined) return notFoundValue; throw new Error("Injector: NOT_FOUND [".concat(stringify(token), "]")); } /** * Assert that `_injectImplementation` is not `fn`. * * This is useful, to prevent infinite recursion. * * @param fn Function which it should not equal to */ function assertInjectImplementationNotEqual(fn) { ngDevMode && assertNotEqual(_injectImplementation, fn, 'Calling ɵɵinject would cause infinite recursion'); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Convince closure compiler that the wrapped function has no side-effects. * * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to * allow us to execute a function but have closure compiler mark the call as no-side-effects. * It is important that the return value for the `noSideEffects` function be assigned * to something which is retained otherwise the call to `noSideEffects` will be removed by closure * compiler. */ function noSideEffects(fn) { return { toString: fn }.toString(); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * The strategy that the default change detector uses to detect changes. * When set, takes effect the next time change detection is triggered. * * @see {@link ChangeDetectorRef#usage-notes Change detection usage} * * @publicApi */ var ChangeDetectionStrategy; (function (ChangeDetectionStrategy) { /** * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated * until reactivated by setting the strategy to `Default` (`CheckAlways`). * Change detection can still be explicitly invoked. * This strategy applies to all child directives and cannot be overridden. */ ChangeDetectionStrategy[ChangeDetectionStrategy["OnPush"] = 0] = "OnPush"; /** * Use the default `CheckAlways` strategy, in which change detection is automatic until * explicitly deactivated. */ ChangeDetectionStrategy[ChangeDetectionStrategy["Default"] = 1] = "Default"; })(ChangeDetectionStrategy || (ChangeDetectionStrategy = {})); /** * Defines the possible states of the default change detector. * @see `ChangeDetectorRef` */ var ChangeDetectorStatus; (function (ChangeDetectorStatus) { /** * A state in which, after calling `detectChanges()`, the change detector * state becomes `Checked`, and must be explicitly invoked or reactivated. */ ChangeDetectorStatus[ChangeDetectorStatus["CheckOnce"] = 0] = "CheckOnce"; /** * A state in which change detection is skipped until the change detector mode * becomes `CheckOnce`. */ ChangeDetectorStatus[ChangeDetectorStatus["Checked"] = 1] = "Checked"; /** * A state in which change detection continues automatically until explicitly * deactivated. */ ChangeDetectorStatus[ChangeDetectorStatus["CheckAlways"] = 2] = "CheckAlways"; /** * A state in which a change detector sub tree is not a part of the main tree and * should be skipped. */ ChangeDetectorStatus[ChangeDetectorStatus["Detached"] = 3] = "Detached"; /** * Indicates that the change detector encountered an error checking a binding * or calling a directive lifecycle method and is now in an inconsistent state. Change * detectors in this state do not detect changes. */ ChangeDetectorStatus[ChangeDetectorStatus["Errored"] = 4] = "Errored"; /** * Indicates that the change detector has been destroyed. */ ChangeDetectorStatus[ChangeDetectorStatus["Destroyed"] = 5] = "Destroyed"; })(ChangeDetectorStatus || (ChangeDetectorStatus = {})); /** * Reports whether a given strategy is currently the default for change detection. * @param changeDetectionStrategy The strategy to check. * @returns True if the given strategy is the current default, false otherwise. * @see `ChangeDetectorStatus` * @see `ChangeDetectorRef` */ function isDefaultChangeDetectionStrategy(changeDetectionStrategy) { return changeDetectionStrategy == null || changeDetectionStrategy === ChangeDetectionStrategy.Default; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Defines template and style encapsulation options available for Component's {@link Component}. * * See {@link Component#encapsulation encapsulation}. * * @usageNotes * ### Example * * {@example core/ts/metadata/encapsulation.ts region='longform'} * * @publicApi */ var ViewEncapsulation; (function (ViewEncapsulation) { /** * Emulate `Native` scoping of styles by adding an attribute containing surrogate id to the Host * Element and pre-processing the style rules provided via {@link Component#styles styles} or * {@link Component#styleUrls styleUrls}, and adding the new Host Element attribute to all * selectors. * * This is the default option. */ ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated"; // Historically the 1 value was for `Native` encapsulation which has been removed as of v11. /** * Don't provide any template or style encapsulation. */ ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None"; /** * Use Shadow DOM to encapsulate styles. * * For the DOM this means using modern [Shadow * DOM](https://w3c.github.io/webcomponents/spec/shadow/) and * creating a ShadowRoot for Component's Host Element. */ ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom"; })(ViewEncapsulation || (ViewEncapsulation = {})); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var __globalThis = typeof globalThis !== 'undefined' && globalThis; var __window = typeof window !== 'undefined' && window; var __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope && self; var __global = typeof global !== 'undefined' && global; // Always use __globalThis if available, which is the spec-defined global variable across all // environments, then fallback to __global first, because in Node tests both __global and // __window may be defined and _global should be __global in that case. var _global = __globalThis || __global || __window || __self; /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function ngDevModeResetPerfCounters() { var locationString = typeof location !== 'undefined' ? location.toString() : ''; var newCounters = { namedConstructors: locationString.indexOf('ngDevMode=namedConstructors') != -1, firstCreatePass: 0, tNode: 0, tView: 0, rendererCreateTextNode: 0, rendererSetText: 0, rendererCreateElement: 0, rendererAddEventListener: 0, rendererSetAttribute: 0, rendererRemoveAttribute: 0, rendererSetProperty: 0, rendererSetClassName: 0, rendererAddClass: 0, rendererRemoveClass: 0, rendererSetStyle: 0, rendererRemoveStyle: 0, rendererDestroy: 0, rendererDestroyNode: 0, rendererMoveNode: 0, rendererRemoveNode: 0, rendererAppendChild: 0, rendererInsertBefore: 0, rendererCreateComment: 0 }; // Make sure to refer to ngDevMode as ['ngDevMode'] for closure. var allowNgDevModeTrue = locationString.indexOf('ngDevMode=false') === -1; _global['ngDevMode'] = allowNgDevModeTrue && newCounters; return newCounters; } /** * This function checks to see if the `ngDevMode` has been set. If yes, * then we honor it, otherwise we default to dev mode with additional checks. * * The idea is that unless we are doing production build where we explicitly * set `ngDevMode == false` we should be helping the developer by providing * as much early warning and errors as possible. * * `ɵɵdefineComponent` is guaranteed to have been called before any component template functions * (and thus Ivy instructions), so a single initialization there is sufficient to ensure ngDevMode * is defined for the entire instruction set. * * When checking `ngDevMode` on toplevel, always init it before referencing it * (e.g. `((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode())`), otherwise you can * get a `ReferenceError` like in https://github.com/angular/angular/issues/31595. * * Details on possible values for `ngDevMode` can be found on its docstring. * * NOTE: * - changes to the `ngDevMode` name must be synced with `compiler-cli/src/tooling.ts`. */ function initNgDevMode() { // The below checks are to ensure that calling `initNgDevMode` multiple times does not // reset the counters. // If the `ngDevMode` is not an object, then it means we have not created the perf counters // yet. if (typeof ngDevMode === 'undefined' || ngDevMode) { if (typeof ngDevMode !== 'object') { ngDevModeResetPerfCounters(); } return typeof ngDevMode !== 'undefined' && !!ngDevMode; } return false; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * This file contains reuseable "empty" symbols that can be used as default return values * in different parts of the rendering code. Because the same symbols are returned, this * allows for identity checks against these values to be consistently used by the framework * code. */ var EMPTY_OBJ = {}; var EMPTY_ARRAY = []; // freezing the values prevents any code from accidentally inserting new values in if ((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode()) { // These property accesses can be ignored because ngDevMode will be set to false // when optimizing code and the whole if statement will be dropped. // tslint:disable-next-line:no-toplevel-property-access Object.freeze(EMPTY_OBJ); // tslint:disable-next-line:no-toplevel-property-access Object.freeze(EMPTY_ARRAY); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var NG_COMP_DEF = getClosureSafeProperty({ ɵcmp: getClosureSafeProperty }); var NG_DIR_DEF = getClosureSafeProperty({ ɵdir: getClosureSafeProperty }); var NG_PIPE_DEF = getClosureSafeProperty({ ɵpipe: getClosureSafeProperty }); var NG_MOD_DEF = getClosureSafeProperty({ ɵmod: getClosureSafeProperty }); var NG_LOC_ID_DEF = getClosureSafeProperty({ ɵloc: getClosureSafeProperty }); var NG_FACTORY_DEF = getClosureSafeProperty({ ɵfac: getClosureSafeProperty }); /** * If a directive is diPublic, bloomAdd sets a property on the type with this constant as * the key and the directive's unique ID as the value. This allows us to map directives to their * bloom filter bit for DI. */ // TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified. var NG_ELEMENT_ID = getClosureSafeProperty({ __NG_ELEMENT_ID__: getClosureSafeProperty }); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var _renderCompCount = 0; /** * Create a component definition object. * * * # Example * ``` * class MyDirective { * // Generated by Angular Template Compiler * // [Symbol] syntax will not be supported by TypeScript until v2.7 * static ɵcmp = defineComponent({ * ... * }); * } * ``` * @codeGenApi */ function ɵɵdefineComponent(componentDefinition) { return noSideEffects(function () { // Initialize ngDevMode. This must be the first statement in ɵɵdefineComponent. // See the `initNgDevMode` docstring for more information. (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode(); var type = componentDefinition.type; var typePrototype = type.prototype; var declaredInputs = {}; var def = { type: type, providersResolver: null, decls: componentDefinition.decls, vars: componentDefinition.vars, factory: null, template: componentDefinition.template || null, consts: componentDefinition.consts || null, ngContentSelectors: componentDefinition.ngContentSelectors, hostBindings: componentDefinition.hostBindings || null, hostVars: componentDefinition.hostVars || 0, hostAttrs: componentDefinition.hostAttrs || null, contentQueries: componentDefinition.contentQueries || null, declaredInputs: declaredInputs, inputs: null, outputs: null, exportAs: componentDefinition.exportAs || null, onPush: componentDefinition.changeDetection === ChangeDetectionStrategy.OnPush, directiveDefs: null, pipeDefs: null, selectors: componentDefinition.selectors || EMPTY_ARRAY, viewQuery: componentDefinition.viewQuery || null, features: componentDefinition.features || null, data: componentDefinition.data || {}, // TODO(misko): convert ViewEncapsulation into const enum so that it can be used // directly in the next line. Also `None` should be 0 not 2. encapsulation: componentDefinition.encapsulation || ViewEncapsulation.Emulated, id: 'c', styles: componentDefinition.styles || EMPTY_ARRAY, _: null, setInput: null, schemas: componentDefinition.schemas || null, tView: null }; var directiveTypes = componentDefinition.directives; var feature = componentDefinition.features; var pipeTypes = componentDefinition.pipes; def.id += _renderCompCount++; def.inputs = invertObject(componentDefinition.inputs, declaredInputs), def.outputs = invertObject(componentDefinition.outputs), feature && feature.forEach(function (fn) { return fn(def); }); def.directiveDefs = directiveTypes ? function () { return (typeof directiveTypes === 'function' ? directiveTypes() : directiveTypes).map(extractDirectiveDef); } : null; def.pipeDefs = pipeTypes ? function () { return (typeof pipeTypes === 'function' ? pipeTypes() : pipeTypes).map(extractPipeDef); } : null; return def; }); } /** * Generated next to NgModules to monkey-patch directive and pipe references onto a component's * definition, when generating a direct reference in the component file would otherwise create an * import cycle. * * See [this explanation](https://hackmd.io/Odw80D0pR6yfsOjg_7XCJg?view) for more details. * * @codeGenApi */ function ɵɵsetComponentScope(type, directives, pipes) { var def = type.ɵcmp; def.directiveDefs = function () { return directives.map(extractDirectiveDef); }; def.pipeDefs = function () { return pipes.map(extractPipeDef); }; } function extractDirectiveDef(type) { var def = getComponentDef(type) || getDirectiveDef(type); if (ngDevMode && !def) { throw new Error("'".concat(type.name, "' is neither 'ComponentType' or 'DirectiveType'.")); } return def; } function extractPipeDef(type) { var def = getPipeDef(type); if (ngDevMode && !def) { throw new Error("'".concat(type.name, "' is not a 'PipeType'.")); } return def; } var autoRegisterModuleById = {}; /** * @codeGenApi */ function ɵɵdefineNgModule(def) { var res = { type: def.type, bootstrap: def.bootstrap || EMPTY_ARRAY, declarations: def.declarations || EMPTY_ARRAY, imports: def.imports || EMPTY_ARRAY, exports: def.exports || EMPTY_ARRAY, transitiveCompileScopes: null, schemas: def.schemas || null, id: def.id || null }; if (def.id != null) { noSideEffects(function () { autoRegisterModuleById[def.id] = def.type; }); } return res; } /** * Adds the module metadata that is necessary to compute the module's transitive scope to an * existing module definition. * * Scope metadata of modules is not used in production builds, so calls to this function can be * marked pure to tree-shake it from the bundle, allowing for all referenced declarations * to become eligible for tree-shaking as well. * * @codeGenApi */ function ɵɵsetNgModuleScope(type, scope) { return noSideEffects(function () { var ngModuleDef = getNgModuleDef(type, true); ngModuleDef.declarations = scope.declarations || EMPTY_ARRAY; ngModuleDef.imports = scope.imports || EMPTY_ARRAY; ngModuleDef.exports = scope.exports || EMPTY_ARRAY; }); } /** * Inverts an inputs or outputs lookup such that the keys, which were the * minified keys, are part of the values, and the values are parsed so that * the publicName of the property is the new key * * e.g. for * * ``` * class Comp { * @Input() * propName1: string; * * @Input('publicName2') * declaredPropName2: number; * } * ``` * * will be serialized as * * ``` * { * propName1: 'propName1', * declaredPropName2: ['publicName2', 'declaredPropName2'], * } * ``` * * which is than translated by the minifier as: * * ``` * { * minifiedPropName1: 'propName1', * minifiedPropName2: ['publicName2', 'declaredPropName2'], * } * ``` * * becomes: (public name => minifiedName) * * ``` * { * 'propName1': 'minifiedPropName1', * 'publicName2': 'minifiedPropName2', * } * ``` * * Optionally the function can take `secondary` which will result in: (public name => declared name) * * ``` * { * 'propName1': 'propName1', * 'publicName2': 'declaredPropName2', * } * ``` * */ function invertObject(obj, secondary) { if (obj == null) return EMPTY_OBJ; var newLookup = {}; for (var minifiedKey in obj) { if (obj.hasOwnProperty(minifiedKey)) { var publicName = obj[minifiedKey]; var declaredName = publicName; if (Array.isArray(publicName)) { declaredName = publicName[1]; publicName = publicName[0]; } newLookup[publicName] = minifiedKey; if (secondary) { secondary[publicName] = declaredName; } } } return newLookup; } /** * Create a directive definition object. * * # Example * ```ts * class MyDirective { * // Generated by Angular Template Compiler * // [Symbol] syntax will not be supported by TypeScript until v2.7 * static ɵdir = ɵɵdefineDirective({ * ... * }); * } * ``` * * @codeGenApi */ var ɵɵdefineDirective = ɵɵdefineComponent; /** * Create a pipe definition object. * * # Example * ``` * class MyPipe implements PipeTransform { * // Generated by Angular Template Compiler * static ɵpipe = definePipe({ * ... * }); * } * ``` * @param pipeDef Pipe definition generated by the compiler * * @codeGenApi */ function ɵɵdefinePipe(pipeDef) { return { type: pipeDef.type, name: pipeDef.name, factory: null, pure: pipeDef.pure !== false, onDestroy: pipeDef.type.prototype.ngOnDestroy || null }; } /** * The following getter methods retrieve the definition from the type. Currently the retrieval * honors inheritance, but in the future we may change the rule to require that definitions are * explicit. This would require some sort of migration strategy. */ function getComponentDef(type) { return type[NG_COMP_DEF] || null; } function getDirectiveDef(type) { return type[NG_DIR_DEF] || null; } function getPipeDef(type) { return type[NG_PIPE_DEF] || null; } function getNgModuleDef(type, throwNotFound) { var ngModuleDef = type[NG_MOD_DEF] || null; if (!ngModuleDef && throwNotFound === true) { throw new Error("Type ".concat(stringify(type), " does not have '\u0275mod' property.")); } return ngModuleDef; } function getNgLocaleIdDef(type) { return type[NG_LOC_ID_DEF] || null; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // Below are constants for LView indices to help us look up LView members // without having to remember the specific indices. // Uglify will inline these when minifying so there shouldn't be a cost. var HOST = 0; var TVIEW = 1; var FLAGS = 2; var PARENT = 3; var NEXT = 4; var TRANSPLANTED_VIEWS_TO_REFRESH = 5; var T_HOST = 6; var CLEANUP = 7; var CONTEXT = 8; var INJECTOR = 9; var RENDERER_FACTORY = 10; var RENDERER = 11; var SANITIZER = 12; var CHILD_HEAD = 13; var CHILD_TAIL = 14; // FIXME(misko): Investigate if the three declarations aren't all same thing. var DECLARATION_VIEW = 15; var DECLARATION_COMPONENT_VIEW = 16; var DECLARATION_LCONTAINER = 17; var PREORDER_HOOK_FLAGS = 18; var QUERIES = 19; /** * Size of LView's header. Necessary to adjust for it when setting slots. * * IMPORTANT: `HEADER_OFFSET` should only be referred to the in the `ɵɵ*` instructions to translate * instruction index into `LView` index. All other indexes should be in the `LView` index space and * there should be no need to refer to `HEADER_OFFSET` anywhere else. */ var HEADER_OFFSET = 20; /** * Converts `TViewType` into human readable text. * Make sure this matches with `TViewType` */ var TViewTypeAsString = ['Root', 'Component', 'Embedded']; // Note: This hack is necessary so we don't erroneously get a circular dependency // failure based on types. var unusedValueExportToPlacateAjd = 1; /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Special location which allows easy identification of type. If we have an array which was * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is * `LContainer`. */ var TYPE = 1; /** * Below are constants for LContainer indices to help us look up LContainer members * without having to remember the specific indices. * Uglify will inline these when minifying so there shouldn't be a cost. */ /** * Flag to signify that this `LContainer` may have transplanted views which need to be change * detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`. * * This flag, once set, is never unset for the `LContainer`. This means that when unset we can skip * a lot of work in `refreshEmbeddedViews`. But when set we still need to verify * that the `MOVED_VIEWS` are transplanted and on-push. */ var HAS_TRANSPLANTED_VIEWS = 2; // PARENT, NEXT, TRANSPLANTED_VIEWS_TO_REFRESH are indices 3, 4, and 5 // As we already have these constants in LView, we don't need to re-create them. // T_HOST is index 6 // We already have this constants in LView, we don't need to re-create it. var NATIVE = 7; var VIEW_REFS = 8; var MOVED_VIEWS = 9; /** * Size of LContainer's header. Represents the index after which all views in the * container will be inserted. We need to keep a record of current views so we know * which views are already in the DOM (and don't need to be re-added) and so we can * remove views from the DOM when they are no longer required. */ var CONTAINER_HEADER_OFFSET = 10; // Note: This hack is necessary so we don't erroneously get a circular dependency // failure based on types. var unusedValueExportToPlacateAjd$1 = 1; /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * True if `value` is `LView`. * @param value wrapped value of `RNode`, `LView`, `LContainer` */ function isLView(value) { return Array.isArray(value) && typeof value[TYPE] === 'object'; } /** * True if `value` is `LContainer`. * @param value wrapped value of `RNode`, `LView`, `LContainer` */ function isLContainer(value) { return Array.isArray(value) && value[TYPE] === true; } function isContentQueryHost(tNode) { return (tNode.flags & 8 /* hasContentQuery */ ) !== 0; } function isComponentHost(tNode) { return (tNode.flags & 2 /* isComponentHost */ ) === 2 /* isComponentHost */ ; } function isDirectiveHost(tNode) { return (tNode.flags & 1 /* isDirectiveHost */ ) === 1 /* isDirectiveHost */ ; } function isComponentDef(def) { return def.template !== null; } function isRootView(target) { return (target[FLAGS] & 512 /* IsRoot */ ) !== 0; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // [Assert functions do not constraint type when they are guarded by a truthy // expression.](https://github.com/microsoft/TypeScript/issues/37295) function assertTNodeForLView(tNode, lView) { assertTNodeForTView(tNode, lView[TVIEW]); } function assertTNodeForTView(tNode, tView) { assertTNode(tNode); tNode.hasOwnProperty('tView_') && assertEqual(tNode.tView_, tView, 'This TNode does not belong to this TView.'); } function assertTNode(tNode) { assertDefined(tNode, 'TNode must be defined'); if (!(tNode && typeof tNode === 'object' && tNode.hasOwnProperty('directiveStylingLast'))) { throwError('Not of type TNode, got: ' + tNode); } } function assertTIcu(tIcu) { assertDefined(tIcu, 'Expected TIcu to be defined'); if (!(typeof tIcu.currentCaseLViewIndex === 'number')) { throwError('Object is not of TIcu type.'); } } function assertComponentType(actual) { var msg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'Type passed in is not ComponentType, it does not have \'ɵcmp\' property.'; if (!getComponentDef(actual)) { throwError(msg); } } function assertNgModuleType(actual) { var msg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'Type passed in is not NgModuleType, it does not have \'ɵmod\' property.'; if (!getNgModuleDef(actual)) { throwError(msg); } } function assertCurrentTNodeIsParent(isParent) { assertEqual(isParent, true, 'currentTNode should be a parent'); } function assertHasParent(tNode) { assertDefined(tNode, 'currentTNode should exist!'); assertDefined(tNode.parent, 'currentTNode should have a parent'); } function assertDataNext(lView, index, arr) { if (arr == null) arr = lView; assertEqual(arr.length, index, "index ".concat(index, " expected to be at the end of arr (length ").concat(arr.length, ")")); } function assertLContainer(value) { assertDefined(value, 'LContainer must be defined'); assertEqual(isLContainer(value), true, 'Expecting LContainer'); } function assertLViewOrUndefined(value) { value && assertEqual(isLView(value), true, 'Expecting LView or undefined or null'); } function assertLView(value) { assertDefined(value, 'LView must be defined'); assertEqual(isLView(value), true, 'Expecting LView'); } function assertFirstCreatePass(tView, errMessage) { assertEqual(tView.firstCreatePass, true, errMessage || 'Should only be called in first create pass.'); } function assertFirstUpdatePass(tView, errMessage) { assertEqual(tView.firstUpdatePass, true, errMessage || 'Should only be called in first update pass.'); } /** * This is a basic sanity check that an object is probably a directive def. DirectiveDef is * an interface, so we can't do a direct instanceof check. */ function assertDirectiveDef(obj) { if (obj.type === undefined || obj.selectors == undefined || obj.inputs === undefined) { throwError("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape."); } } function assertIndexInDeclRange(lView, index) { var tView = lView[1]; assertBetween(HEADER_OFFSET, tView.bindingStartIndex, index); } function assertIndexInVarsRange(lView, index) { var tView = lView[1]; assertBetween(tView.bindingStartIndex, tView.expandoStartIndex, index); } function assertIndexInExpandoRange(lView, index) { var tView = lView[1]; assertBetween(tView.expandoStartIndex, lView.length, index); } function assertBetween(lower, upper, index) { if (!(lower <= index && index < upper)) { throwError("Index out of range (expecting ".concat(lower, " <= ").concat(index, " < ").concat(upper, ")")); } } /** * This is a basic sanity check that the `injectorIndex` seems to point to what looks like a * NodeInjector data structure. * * @param lView `LView` which should be checked. * @param injectorIndex index into the `LView` where the `NodeInjector` is expected. */ function assertNodeInjector(lView, injectorIndex) { assertIndexInExpandoRange(lView, injectorIndex); assertIndexInExpandoRange(lView, injectorIndex + 8 /* PARENT */ ); assertNumber(lView[injectorIndex + 0], 'injectorIndex should point to a bloom filter'); assertNumber(lView[injectorIndex + 1], 'injectorIndex should point to a bloom filter'); assertNumber(lView[injectorIndex + 2], 'injectorIndex should point to a bloom filter'); assertNumber(lView[injectorIndex + 3], 'injectorIndex should point to a bloom filter'); assertNumber(lView[injectorIndex + 4], 'injectorIndex should point to a bloom filter'); assertNumber(lView[injectorIndex + 5], 'injectorIndex should point to a bloom filter'); assertNumber(lView[injectorIndex + 6], 'injectorIndex should point to a bloom filter'); assertNumber(lView[injectorIndex + 7], 'injectorIndex should point to a bloom filter'); assertNumber(lView[injectorIndex + 8 /* PARENT */ ], 'injectorIndex should point to parent injector'); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function getFactoryDef(type, throwNotFound) { var hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF); if (!hasFactoryDef && throwNotFound === true && ngDevMode) { throw new Error("Type ".concat(stringify(type), " does not have '\u0275fac' property.")); } return hasFactoryDef ? type[NG_FACTORY_DEF] : null; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var RuntimeError = /*#__PURE__*/function (_Error) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_11__["default"])(RuntimeError, _Error); var _super = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_12__["default"])(RuntimeError); function RuntimeError(code, message) { var _this; Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, RuntimeError); _this = _super.call(this, formatRuntimeError(code, message)); _this.code = code; return _this; } return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(RuntimeError); }( /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_13__["default"])(Error)); /** Called to format a runtime error */ function formatRuntimeError(code, message) { var fullCode = code ? "NG0".concat(code, ": ") : ''; return "".concat(fullCode).concat(message); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Used for stringify render output in Ivy. * Important! This function is very performance-sensitive and we should * be extra careful not to introduce megamorphic reads in it. * Check `core/test/render3/perf/render_stringify` for benchmarks and alternate implementations. */ function renderStringify(value) { if (typeof value === 'string') return value; if (value == null) return ''; // Use `String` so that it invokes the `toString` method of the value. Note that this // appears to be faster than calling `value.toString` (see `render_stringify` benchmark). return String(value); } /** * Used to stringify a value so that it can be displayed in an error message. * Important! This function contains a megamorphic read and should only be * used for error messages. */ function stringifyForError(value) { if (typeof value === 'function') return value.name || value.toString(); if (typeof value === 'object' && value != null && typeof value.type === 'function') { return value.type.name || value.type.toString(); } return renderStringify(value); } /** Called when directives inject each other (creating a circular dependency) */ function throwCyclicDependencyError(token, path) { var depPath = path ? ". Dependency path: ".concat(path.join(' > '), " > ").concat(token) : ''; throw new RuntimeError("200" /* CYCLIC_DI_DEPENDENCY */ , "Circular dependency in DI detected for ".concat(token).concat(depPath)); } function throwMixedMultiProviderError() { throw new Error("Cannot mix multi providers and regular providers"); } function throwInvalidProviderError(ngModuleType, providers, provider) { var ngModuleDetail = ''; if (ngModuleType && providers) { var providerDetail = providers.map(function (v) { return v == provider ? '?' + provider + '?' : '...'; }); ngModuleDetail = " - only instances of Provider and Type are allowed, got: [".concat(providerDetail.join(', '), "]"); } throw new Error("Invalid provider for the NgModule '".concat(stringify(ngModuleType), "'") + ngModuleDetail); } /** Throws an error when a token is not found in DI. */ function throwProviderNotFoundError(token, injectorName) { var injectorDetails = injectorName ? " in ".concat(injectorName) : ''; throw new RuntimeError("201" /* PROVIDER_NOT_FOUND */ , "No provider for ".concat(stringifyForError(token), " found").concat(injectorDetails)); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Represents a basic change from a previous to a new value for a single * property on a directive instance. Passed as a value in a * {@link SimpleChanges} object to the `ngOnChanges` hook. * * @see `OnChanges` * * @publicApi */ var SimpleChange = /*#__PURE__*/function () { function SimpleChange(previousValue, currentValue, firstChange) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, SimpleChange); this.previousValue = previousValue; this.currentValue = currentValue; this.firstChange = firstChange; } /** * Check whether the new value is the first value assigned. */ Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(SimpleChange, [{ key: "isFirstChange", value: function isFirstChange() { return this.firstChange; } }]); return SimpleChange; }(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * The NgOnChangesFeature decorates a component with support for the ngOnChanges * lifecycle hook, so it should be included in any component that implements * that hook. * * If the component or directive uses inheritance, the NgOnChangesFeature MUST * be included as a feature AFTER {@link InheritDefinitionFeature}, otherwise * inherited properties will not be propagated to the ngOnChanges lifecycle * hook. * * Example usage: * * ``` * static ɵcmp = defineComponent({ * ... * inputs: {name: 'publicName'}, * features: [NgOnChangesFeature] * }); * ``` * * @codeGenApi */ function ɵɵNgOnChangesFeature() { return NgOnChangesFeatureImpl; } function NgOnChangesFeatureImpl(definition) { if (definition.type.prototype.ngOnChanges) { definition.setInput = ngOnChangesSetInput; } return rememberChangeHistoryAndInvokeOnChangesHook; } // This option ensures that the ngOnChanges lifecycle hook will be inherited // from superclasses (in InheritDefinitionFeature). /** @nocollapse */ // tslint:disable-next-line:no-toplevel-property-access ɵɵNgOnChangesFeature.ngInherit = true; /** * This is a synthetic lifecycle hook which gets inserted into `TView.preOrderHooks` to simulate * `ngOnChanges`. * * The hook reads the `NgSimpleChangesStore` data from the component instance and if changes are * found it invokes `ngOnChanges` on the component instance. * * @param this Component instance. Because this function gets inserted into `TView.preOrderHooks`, * it is guaranteed to be called with component instance. */ function rememberChangeHistoryAndInvokeOnChangesHook() { var simpleChangesStore = getSimpleChangesStore(this); var current = simpleChangesStore === null || simpleChangesStore === void 0 ? void 0 : simpleChangesStore.current; if (current) { var previous = simpleChangesStore.previous; if (previous === EMPTY_OBJ) { simpleChangesStore.previous = current; } else { // New changes are copied to the previous store, so that we don't lose history for inputs // which were not changed this time for (var key in current) { previous[key] = current[key]; } } simpleChangesStore.current = null; this.ngOnChanges(current); } } function ngOnChangesSetInput(instance, value, publicName, privateName) { var simpleChangesStore = getSimpleChangesStore(instance) || setSimpleChangesStore(instance, { previous: EMPTY_OBJ, current: null }); var current = simpleChangesStore.current || (simpleChangesStore.current = {}); var previous = simpleChangesStore.previous; var declaredName = this.declaredInputs[publicName]; var previousChange = previous[declaredName]; current[declaredName] = new SimpleChange(previousChange && previousChange.currentValue, value, previous === EMPTY_OBJ); instance[privateName] = value; } var SIMPLE_CHANGES_STORE = '__ngSimpleChanges__'; function getSimpleChangesStore(instance) { return instance[SIMPLE_CHANGES_STORE] || null; } function setSimpleChangesStore(instance, store) { return instance[SIMPLE_CHANGES_STORE] = store; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var SVG_NAMESPACE = 'http://www.w3.org/2000/svg'; var MATH_ML_NAMESPACE = 'http://www.w3.org/1998/MathML/'; /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * This property will be monkey-patched on elements, components and directives */ var MONKEY_PATCH_KEY_NAME = '__ngContext__'; /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Most of the use of `document` in Angular is from within the DI system so it is possible to simply * inject the `DOCUMENT` token and are done. * * Ivy is special because it does not rely upon the DI and must get hold of the document some other * way. * * The solution is to define `getDocument()` and `setDocument()` top-level functions for ivy. * Wherever ivy needs the global document, it calls `getDocument()` instead. * * When running ivy outside of a browser environment, it is necessary to call `setDocument()` to * tell ivy what the global `document` is. * * Angular does this for us in each of the standard platforms (`Browser`, `Server`, and `WebWorker`) * by calling `setDocument()` when providing the `DOCUMENT` token. */ var DOCUMENT = undefined; /** * Tell ivy what the `document` is for this platform. * * It is only necessary to call this if the current platform is not a browser. * * @param document The object representing the global `document` in this environment. */ function setDocument(document) { DOCUMENT = document; } /** * Access the object that represents the `document` for this platform. * * Ivy calls this whenever it needs to access the `document` object. * For example to create the renderer or to do sanitization. */ function getDocument() { if (DOCUMENT !== undefined) { return DOCUMENT; } else if (typeof document !== 'undefined') { return document; } // No "document" can be found. This should only happen if we are running ivy outside Angular and // the current platform is not a browser. Since this is not a supported scenario at the moment // this should not happen in Angular apps. // Once we support running ivy outside of Angular we will need to publish `setDocument()` as a // public API. Meanwhile we just return `undefined` and let the application fail. return undefined; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // TODO: cleanup once the code is merged in angular/angular var RendererStyleFlags3; (function (RendererStyleFlags3) { RendererStyleFlags3[RendererStyleFlags3["Important"] = 1] = "Important"; RendererStyleFlags3[RendererStyleFlags3["DashCase"] = 2] = "DashCase"; })(RendererStyleFlags3 || (RendererStyleFlags3 = {})); /** Returns whether the `renderer` is a `ProceduralRenderer3` */ function isProceduralRenderer(renderer) { return !!renderer.listen; } var ɵ0 = function ɵ0(hostElement, rendererType) { return getDocument(); }; var domRendererFactory3 = { createRenderer: ɵ0 }; // Note: This hack is necessary so we don't erroneously get a circular dependency // failure based on types. var unusedValueExportToPlacateAjd$2 = 1; /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`) * in same location in `LView`. This is because we don't want to pre-allocate space for it * because the storage is sparse. This file contains utilities for dealing with such data types. * * How do we know what is stored at a given location in `LView`. * - `Array.isArray(value) === false` => `RNode` (The normal storage value) * - `Array.isArray(value) === true` => then the `value[0]` represents the wrapped value. * - `typeof value[TYPE] === 'object'` => `LView` * - This happens when we have a component at a given location * - `typeof value[TYPE] === true` => `LContainer` * - This happens when we have `LContainer` binding at a given location. * * * NOTE: it is assumed that `Array.isArray` and `typeof` operations are very efficient. */ /** * Returns `RNode`. * @param value wrapped value of `RNode`, `LView`, `LContainer` */ function unwrapRNode(value) { while (Array.isArray(value)) { value = value[HOST]; } return value; } /** * Returns `LView` or `null` if not found. * @param value wrapped value of `RNode`, `LView`, `LContainer` */ function unwrapLView(value) { while (Array.isArray(value)) { // This check is same as `isLView()` but we don't call at as we don't want to call // `Array.isArray()` twice and give JITer more work for inlining. if (typeof value[TYPE] === 'object') return value; value = value[HOST]; } return null; } /** * Returns `LContainer` or `null` if not found. * @param value wrapped value of `RNode`, `LView`, `LContainer` */ function unwrapLContainer(value) { while (Array.isArray(value)) { // This check is same as `isLContainer()` but we don't call at as we don't want to call // `Array.isArray()` twice and give JITer more work for inlining. if (value[TYPE] === true) return value; value = value[HOST]; } return null; } /** * Retrieves an element value from the provided `viewData`, by unwrapping * from any containers, component views, or style contexts. */ function getNativeByIndex(index, lView) { ngDevMode && assertIndexInRange(lView, index); ngDevMode && assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Expected to be past HEADER_OFFSET'); return unwrapRNode(lView[index]); } /** * Retrieve an `RNode` for a given `TNode` and `LView`. * * This function guarantees in dev mode to retrieve a non-null `RNode`. * * @param tNode * @param lView */ function getNativeByTNode(tNode, lView) { ngDevMode && assertTNodeForLView(tNode, lView); ngDevMode && assertIndexInRange(lView, tNode.index); var node = unwrapRNode(lView[tNode.index]); ngDevMode && !isProceduralRenderer(lView[RENDERER]) && assertDomNode(node); return node; } /** * Retrieve an `RNode` or `null` for a given `TNode` and `LView`. * * Some `TNode`s don't have associated `RNode`s. For example `Projection` * * @param tNode * @param lView */ function getNativeByTNodeOrNull(tNode, lView) { var index = tNode === null ? -1 : tNode.index; if (index !== -1) { ngDevMode && assertTNodeForLView(tNode, lView); var node = unwrapRNode(lView[index]); ngDevMode && node !== null && !isProceduralRenderer(lView[RENDERER]) && assertDomNode(node); return node; } return null; } // fixme(misko): The return Type should be `TNode|null` function getTNode(tView, index) { ngDevMode && assertGreaterThan(index, -1, 'wrong index for TNode'); ngDevMode && assertLessThan(index, tView.data.length, 'wrong index for TNode'); var tNode = tView.data[index]; ngDevMode && tNode !== null && assertTNode(tNode); return tNode; } /** Retrieves a value from any `LView` or `TData`. */ function load(view, index) { ngDevMode && assertIndexInRange(view, index); return view[index]; } function getComponentLViewByIndex(nodeIndex, hostView) { // Could be an LView or an LContainer. If LContainer, unwrap to find LView. ngDevMode && assertIndexInRange(hostView, nodeIndex); var slotValue = hostView[nodeIndex]; var lView = isLView(slotValue) ? slotValue : slotValue[HOST]; return lView; } /** * Returns the monkey-patch value data present on the target (which could be * a component, directive or a DOM node). */ function readPatchedData(target) { ngDevMode && assertDefined(target, 'Target expected'); return target[MONKEY_PATCH_KEY_NAME] || null; } function readPatchedLView(target) { var value = readPatchedData(target); if (value) { return Array.isArray(value) ? value : value.lView; } return null; } /** Checks whether a given view is in creation mode */ function isCreationMode(view) { return (view[FLAGS] & 4 /* CreationMode */ ) === 4 /* CreationMode */ ; } /** * Returns a boolean for whether the view is attached to the change detection tree. * * Note: This determines whether a view should be checked, not whether it's inserted * into a container. For that, you'll want `viewAttachedToContainer` below. */ function viewAttachedToChangeDetector(view) { return (view[FLAGS] & 128 /* Attached */ ) === 128 /* Attached */ ; } /** Returns a boolean for whether the view is attached to a container. */ function viewAttachedToContainer(view) { return isLContainer(view[PARENT]); } function getConstant(consts, index) { if (index === null || index === undefined) return null; ngDevMode && assertIndexInRange(consts, index); return consts[index]; } /** * Resets the pre-order hook flags of the view. * @param lView the LView on which the flags are reset */ function resetPreOrderHookFlags(lView) { lView[PREORDER_HOOK_FLAGS] = 0; } /** * Updates the `TRANSPLANTED_VIEWS_TO_REFRESH` counter on the `LContainer` as well as the parents * whose * 1. counter goes from 0 to 1, indicating that there is a new child that has a view to refresh * or * 2. counter goes from 1 to 0, indicating there are no more descendant views to refresh */ function updateTransplantedViewCount(lContainer, amount) { lContainer[TRANSPLANTED_VIEWS_TO_REFRESH] += amount; var viewOrContainer = lContainer; var parent = lContainer[PARENT]; while (parent !== null && (amount === 1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 1 || amount === -1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 0)) { parent[TRANSPLANTED_VIEWS_TO_REFRESH] += amount; viewOrContainer = parent; parent = parent[PARENT]; } } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var instructionState = { lFrame: createLFrame(null), bindingsEnabled: true, isInCheckNoChangesMode: false }; /** * Returns true if the instruction state stack is empty. * * Intended to be called from tests only (tree shaken otherwise). */ function specOnlyIsInstructionStateEmpty() { return instructionState.lFrame.parent === null; } function getElementDepthCount() { return instructionState.lFrame.elementDepthCount; } function increaseElementDepthCount() { instructionState.lFrame.elementDepthCount++; } function decreaseElementDepthCount() { instructionState.lFrame.elementDepthCount--; } function getBindingsEnabled() { return instructionState.bindingsEnabled; } /** * Enables directive matching on elements. * * * Example: * ``` * * Should match component / directive. * *
* * * Should not match component / directive because we are in ngNonBindable. * * *
* ``` * * @codeGenApi */ function ɵɵenableBindings() { instructionState.bindingsEnabled = true; } /** * Disables directive matching on element. * * * Example: * ``` * * Should match component / directive. * *
* * * Should not match component / directive because we are in ngNonBindable. * * *
* ``` * * @codeGenApi */ function ɵɵdisableBindings() { instructionState.bindingsEnabled = false; } /** * Return the current `LView`. */ function getLView() { return instructionState.lFrame.lView; } /** * Return the current `TView`. */ function getTView() { return instructionState.lFrame.tView; } /** * Restores `contextViewData` to the given OpaqueViewState instance. * * Used in conjunction with the getCurrentView() instruction to save a snapshot * of the current view and restore it when listeners are invoked. This allows * walking the declaration view tree in listeners to get vars from parent views. * * @param viewToRestore The OpaqueViewState instance to restore. * * @codeGenApi */ function ɵɵrestoreView(viewToRestore) { instructionState.lFrame.contextLView = viewToRestore; } function getCurrentTNode() { var currentTNode = getCurrentTNodePlaceholderOk(); while (currentTNode !== null && currentTNode.type === 64 /* Placeholder */ ) { currentTNode = currentTNode.parent; } return currentTNode; } function getCurrentTNodePlaceholderOk() { return instructionState.lFrame.currentTNode; } function getCurrentParentTNode() { var lFrame = instructionState.lFrame; var currentTNode = lFrame.currentTNode; return lFrame.isParent ? currentTNode : currentTNode.parent; } function setCurrentTNode(tNode, isParent) { ngDevMode && tNode && assertTNodeForTView(tNode, instructionState.lFrame.tView); var lFrame = instructionState.lFrame; lFrame.currentTNode = tNode; lFrame.isParent = isParent; } function isCurrentTNodeParent() { return instructionState.lFrame.isParent; } function setCurrentTNodeAsNotParent() { instructionState.lFrame.isParent = false; } function setCurrentTNodeAsParent() { instructionState.lFrame.isParent = true; } function getContextLView() { return instructionState.lFrame.contextLView; } function isInCheckNoChangesMode() { // TODO(misko): remove this from the LView since it is ngDevMode=true mode only. return instructionState.isInCheckNoChangesMode; } function setIsInCheckNoChangesMode(mode) { instructionState.isInCheckNoChangesMode = mode; } // top level variables should not be exported for performance reasons (PERF_NOTES.md) function getBindingRoot() { var lFrame = instructionState.lFrame; var index = lFrame.bindingRootIndex; if (index === -1) { index = lFrame.bindingRootIndex = lFrame.tView.bindingStartIndex; } return index; } function getBindingIndex() { return instructionState.lFrame.bindingIndex; } function setBindingIndex(value) { return instructionState.lFrame.bindingIndex = value; } function nextBindingIndex() { return instructionState.lFrame.bindingIndex++; } function incrementBindingIndex(count) { var lFrame = instructionState.lFrame; var index = lFrame.bindingIndex; lFrame.bindingIndex = lFrame.bindingIndex + count; return index; } function isInI18nBlock() { return instructionState.lFrame.inI18n; } function setInI18nBlock(isInI18nBlock) { instructionState.lFrame.inI18n = isInI18nBlock; } /** * Set a new binding root index so that host template functions can execute. * * Bindings inside the host template are 0 index. But because we don't know ahead of time * how many host bindings we have we can't pre-compute them. For this reason they are all * 0 index and we just shift the root so that they match next available location in the LView. * * @param bindingRootIndex Root index for `hostBindings` * @param currentDirectiveIndex `TData[currentDirectiveIndex]` will point to the current directive * whose `hostBindings` are being processed. */ function setBindingRootForHostBindings(bindingRootIndex, currentDirectiveIndex) { var lFrame = instructionState.lFrame; lFrame.bindingIndex = lFrame.bindingRootIndex = bindingRootIndex; setCurrentDirectiveIndex(currentDirectiveIndex); } /** * When host binding is executing this points to the directive index. * `TView.data[getCurrentDirectiveIndex()]` is `DirectiveDef` * `LView[getCurrentDirectiveIndex()]` is directive instance. */ function getCurrentDirectiveIndex() { return instructionState.lFrame.currentDirectiveIndex; } /** * Sets an index of a directive whose `hostBindings` are being processed. * * @param currentDirectiveIndex `TData` index where current directive instance can be found. */ function setCurrentDirectiveIndex(currentDirectiveIndex) { instructionState.lFrame.currentDirectiveIndex = currentDirectiveIndex; } /** * Retrieve the current `DirectiveDef` which is active when `hostBindings` instruction is being * executed. * * @param tData Current `TData` where the `DirectiveDef` will be looked up at. */ function getCurrentDirectiveDef(tData) { var currentDirectiveIndex = instructionState.lFrame.currentDirectiveIndex; return currentDirectiveIndex === -1 ? null : tData[currentDirectiveIndex]; } function getCurrentQueryIndex() { return instructionState.lFrame.currentQueryIndex; } function setCurrentQueryIndex(value) { instructionState.lFrame.currentQueryIndex = value; } /** * Returns a `TNode` of the location where the current `LView` is declared at. * * @param lView an `LView` that we want to find parent `TNode` for. */ function getDeclarationTNode(lView) { var tView = lView[TVIEW]; // Return the declaration parent for embedded views if (tView.type === 2 /* Embedded */ ) { ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.'); return tView.declTNode; } // Components don't have `TView.declTNode` because each instance of component could be // inserted in different location, hence `TView.declTNode` is meaningless. // Falling back to `T_HOST` in case we cross component boundary. if (tView.type === 1 /* Component */ ) { return lView[T_HOST]; } // Remaining TNode type is `TViewType.Root` which doesn't have a parent TNode. return null; } /** * This is a light weight version of the `enterView` which is needed by the DI system. * * @param lView `LView` location of the DI context. * @param tNode `TNode` for DI context * @param flags DI context flags. if `SkipSelf` flag is set than we walk up the declaration * tree from `tNode` until we find parent declared `TElementNode`. * @returns `true` if we have successfully entered DI associated with `tNode` (or with declared * `TNode` if `flags` has `SkipSelf`). Failing to enter DI implies that no associated * `NodeInjector` can be found and we should instead use `ModuleInjector`. * - If `true` than this call must be fallowed by `leaveDI` * - If `false` than this call failed and we should NOT call `leaveDI` */ function enterDI(lView, tNode, flags) { ngDevMode && assertLViewOrUndefined(lView); if (flags & InjectFlags.SkipSelf) { ngDevMode && assertTNodeForTView(tNode, lView[TVIEW]); var parentTNode = tNode; var parentLView = lView; while (true) { ngDevMode && assertDefined(parentTNode, 'Parent TNode should be defined'); parentTNode = parentTNode.parent; if (parentTNode === null && !(flags & InjectFlags.Host)) { parentTNode = getDeclarationTNode(parentLView); if (parentTNode === null) break; // In this case, a parent exists and is definitely an element. So it will definitely // have an existing lView as the declaration view, which is why we can assume it's defined. ngDevMode && assertDefined(parentLView, 'Parent LView should be defined'); parentLView = parentLView[DECLARATION_VIEW]; // In Ivy there are Comment nodes that correspond to ngIf and NgFor embedded directives // We want to skip those and look only at Elements and ElementContainers to ensure // we're looking at true parent nodes, and not content or other types. if (parentTNode.type & (2 /* Element */ | 8 /* ElementContainer */ )) { break; } } else { break; } } if (parentTNode === null) { // If we failed to find a parent TNode this means that we should use module injector. return false; } else { tNode = parentTNode; lView = parentLView; } } ngDevMode && assertTNodeForLView(tNode, lView); var lFrame = instructionState.lFrame = allocLFrame(); lFrame.currentTNode = tNode; lFrame.lView = lView; return true; } /** * Swap the current lView with a new lView. * * For performance reasons we store the lView in the top level of the module. * This way we minimize the number of properties to read. Whenever a new view * is entered we have to store the lView for later, and when the view is * exited the state has to be restored * * @param newView New lView to become active * @returns the previously active lView; */ function enterView(newView) { ngDevMode && assertNotEqual(newView[0], newView[1], '????'); ngDevMode && assertLViewOrUndefined(newView); var newLFrame = allocLFrame(); if (ngDevMode) { assertEqual(newLFrame.isParent, true, 'Expected clean LFrame'); assertEqual(newLFrame.lView, null, 'Expected clean LFrame'); assertEqual(newLFrame.tView, null, 'Expected clean LFrame'); assertEqual(newLFrame.selectedIndex, -1, 'Expected clean LFrame'); assertEqual(newLFrame.elementDepthCount, 0, 'Expected clean LFrame'); assertEqual(newLFrame.currentDirectiveIndex, -1, 'Expected clean LFrame'); assertEqual(newLFrame.currentNamespace, null, 'Expected clean LFrame'); assertEqual(newLFrame.bindingRootIndex, -1, 'Expected clean LFrame'); assertEqual(newLFrame.currentQueryIndex, 0, 'Expected clean LFrame'); } var tView = newView[TVIEW]; instructionState.lFrame = newLFrame; ngDevMode && tView.firstChild && assertTNodeForTView(tView.firstChild, tView); newLFrame.currentTNode = tView.firstChild; newLFrame.lView = newView; newLFrame.tView = tView; newLFrame.contextLView = newView; newLFrame.bindingIndex = tView.bindingStartIndex; newLFrame.inI18n = false; } /** * Allocates next free LFrame. This function tries to reuse the `LFrame`s to lower memory pressure. */ function allocLFrame() { var currentLFrame = instructionState.lFrame; var childLFrame = currentLFrame === null ? null : currentLFrame.child; var newLFrame = childLFrame === null ? createLFrame(currentLFrame) : childLFrame; return newLFrame; } function createLFrame(parent) { var lFrame = { currentTNode: null, isParent: true, lView: null, tView: null, selectedIndex: -1, contextLView: null, elementDepthCount: 0, currentNamespace: null, currentDirectiveIndex: -1, bindingRootIndex: -1, bindingIndex: -1, currentQueryIndex: 0, parent: parent, child: null, inI18n: false }; parent !== null && (parent.child = lFrame); // link the new LFrame for reuse. return lFrame; } /** * A lightweight version of leave which is used with DI. * * This function only resets `currentTNode` and `LView` as those are the only properties * used with DI (`enterDI()`). * * NOTE: This function is reexported as `leaveDI`. However `leaveDI` has return type of `void` where * as `leaveViewLight` has `LFrame`. This is so that `leaveViewLight` can be used in `leaveView`. */ function leaveViewLight() { var oldLFrame = instructionState.lFrame; instructionState.lFrame = oldLFrame.parent; oldLFrame.currentTNode = null; oldLFrame.lView = null; return oldLFrame; } /** * This is a lightweight version of the `leaveView` which is needed by the DI system. * * NOTE: this function is an alias so that we can change the type of the function to have `void` * return type. */ var leaveDI = leaveViewLight; /** * Leave the current `LView` * * This pops the `LFrame` with the associated `LView` from the stack. * * IMPORTANT: We must zero out the `LFrame` values here otherwise they will be retained. This is * because for performance reasons we don't release `LFrame` but rather keep it for next use. */ function leaveView() { var oldLFrame = leaveViewLight(); oldLFrame.isParent = true; oldLFrame.tView = null; oldLFrame.selectedIndex = -1; oldLFrame.contextLView = null; oldLFrame.elementDepthCount = 0; oldLFrame.currentDirectiveIndex = -1; oldLFrame.currentNamespace = null; oldLFrame.bindingRootIndex = -1; oldLFrame.bindingIndex = -1; oldLFrame.currentQueryIndex = 0; } function nextContextImpl(level) { var contextLView = instructionState.lFrame.contextLView = walkUpViews(level, instructionState.lFrame.contextLView); return contextLView[CONTEXT]; } function walkUpViews(nestingLevel, currentView) { while (nestingLevel > 0) { ngDevMode && assertDefined(currentView[DECLARATION_VIEW], 'Declaration view should be defined if nesting level is greater than 0.'); currentView = currentView[DECLARATION_VIEW]; nestingLevel--; } return currentView; } /** * Gets the currently selected element index. * * Used with {@link property} instruction (and more in the future) to identify the index in the * current `LView` to act on. */ function getSelectedIndex() { return instructionState.lFrame.selectedIndex; } /** * Sets the most recent index passed to {@link select} * * Used with {@link property} instruction (and more in the future) to identify the index in the * current `LView` to act on. * * (Note that if an "exit function" was set earlier (via `setElementExitFn()`) then that will be * run if and when the provided `index` value is different from the current selected index value.) */ function setSelectedIndex(index) { ngDevMode && index !== -1 && assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Index must be past HEADER_OFFSET (or -1).'); ngDevMode && assertLessThan(index, instructionState.lFrame.lView.length, 'Can\'t set index passed end of LView'); instructionState.lFrame.selectedIndex = index; } /** * Gets the `tNode` that represents currently selected element. */ function getSelectedTNode() { var lFrame = instructionState.lFrame; return getTNode(lFrame.tView, lFrame.selectedIndex); } /** * Sets the namespace used to create elements to `'http://www.w3.org/2000/svg'` in global state. * * @codeGenApi */ function ɵɵnamespaceSVG() { instructionState.lFrame.currentNamespace = SVG_NAMESPACE; } /** * Sets the namespace used to create elements to `'http://www.w3.org/1998/MathML/'` in global state. * * @codeGenApi */ function ɵɵnamespaceMathML() { instructionState.lFrame.currentNamespace = MATH_ML_NAMESPACE; } /** * Sets the namespace used to create elements to `null`, which forces element creation to use * `createElement` rather than `createElementNS`. * * @codeGenApi */ function ɵɵnamespaceHTML() { namespaceHTMLInternal(); } /** * Sets the namespace used to create elements to `null`, which forces element creation to use * `createElement` rather than `createElementNS`. */ function namespaceHTMLInternal() { instructionState.lFrame.currentNamespace = null; } function getNamespace() { return instructionState.lFrame.currentNamespace; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`. * * Must be run *only* on the first template pass. * * Sets up the pre-order hooks on the provided `tView`, * see {@link HookData} for details about the data structure. * * @param directiveIndex The index of the directive in LView * @param directiveDef The definition containing the hooks to setup in tView * @param tView The current TView */ function registerPreOrderHooks(directiveIndex, directiveDef, tView) { ngDevMode && assertFirstCreatePass(tView); var _directiveDef$type$pr = directiveDef.type.prototype, ngOnChanges = _directiveDef$type$pr.ngOnChanges, ngOnInit = _directiveDef$type$pr.ngOnInit, ngDoCheck = _directiveDef$type$pr.ngDoCheck; if (ngOnChanges) { var wrappedOnChanges = NgOnChangesFeatureImpl(directiveDef); (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, wrappedOnChanges); (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, wrappedOnChanges); } if (ngOnInit) { (tView.preOrderHooks || (tView.preOrderHooks = [])).push(0 - directiveIndex, ngOnInit); } if (ngDoCheck) { (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, ngDoCheck); (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, ngDoCheck); } } /** * * Loops through the directives on the provided `tNode` and queues hooks to be * run that are not initialization hooks. * * Should be executed during `elementEnd()` and similar to * preserve hook execution order. Content, view, and destroy hooks for projected * components and directives must be called *before* their hosts. * * Sets up the content, view, and destroy hooks on the provided `tView`, * see {@link HookData} for details about the data structure. * * NOTE: This does not set up `onChanges`, `onInit` or `doCheck`, those are set up * separately at `elementStart`. * * @param tView The current TView * @param tNode The TNode whose directives are to be searched for hooks to queue */ function registerPostOrderHooks(tView, tNode) { ngDevMode && assertFirstCreatePass(tView); // It's necessary to loop through the directives at elementEnd() (rather than processing in // directiveCreate) so we can preserve the current hook order. Content, view, and destroy // hooks for projected components and directives must be called *before* their hosts. for (var i = tNode.directiveStart, end = tNode.directiveEnd; i < end; i++) { var _directiveDef = tView.data[i]; ngDevMode && assertDefined(_directiveDef, 'Expecting DirectiveDef'); var lifecycleHooks = _directiveDef.type.prototype; var ngAfterContentInit = lifecycleHooks.ngAfterContentInit, ngAfterContentChecked = lifecycleHooks.ngAfterContentChecked, ngAfterViewInit = lifecycleHooks.ngAfterViewInit, ngAfterViewChecked = lifecycleHooks.ngAfterViewChecked, ngOnDestroy = lifecycleHooks.ngOnDestroy; if (ngAfterContentInit) { (tView.contentHooks || (tView.contentHooks = [])).push(-i, ngAfterContentInit); } if (ngAfterContentChecked) { (tView.contentHooks || (tView.contentHooks = [])).push(i, ngAfterContentChecked); (tView.contentCheckHooks || (tView.contentCheckHooks = [])).push(i, ngAfterContentChecked); } if (ngAfterViewInit) { (tView.viewHooks || (tView.viewHooks = [])).push(-i, ngAfterViewInit); } if (ngAfterViewChecked) { (tView.viewHooks || (tView.viewHooks = [])).push(i, ngAfterViewChecked); (tView.viewCheckHooks || (tView.viewCheckHooks = [])).push(i, ngAfterViewChecked); } if (ngOnDestroy != null) { (tView.destroyHooks || (tView.destroyHooks = [])).push(i, ngOnDestroy); } } } /** * Executing hooks requires complex logic as we need to deal with 2 constraints. * * 1. Init hooks (ngOnInit, ngAfterContentInit, ngAfterViewInit) must all be executed once and only * once, across many change detection cycles. This must be true even if some hooks throw, or if * some recursively trigger a change detection cycle. * To solve that, it is required to track the state of the execution of these init hooks. * This is done by storing and maintaining flags in the view: the {@link InitPhaseState}, * and the index within that phase. They can be seen as a cursor in the following structure: * [[onInit1, onInit2], [afterContentInit1], [afterViewInit1, afterViewInit2, afterViewInit3]] * They are are stored as flags in LView[FLAGS]. * * 2. Pre-order hooks can be executed in batches, because of the select instruction. * To be able to pause and resume their execution, we also need some state about the hook's array * that is being processed: * - the index of the next hook to be executed * - the number of init hooks already found in the processed part of the array * They are are stored as flags in LView[PREORDER_HOOK_FLAGS]. */ /** * Executes pre-order check hooks ( OnChanges, DoChanges) given a view where all the init hooks were * executed once. This is a light version of executeInitAndCheckPreOrderHooks where we can skip read * / write of the init-hooks related flags. * @param lView The LView where hooks are defined * @param hooks Hooks to be run * @param nodeIndex 3 cases depending on the value: * - undefined: all hooks from the array should be executed (post-order case) * - null: execute hooks only from the saved index until the end of the array (pre-order case, when * flushing the remaining hooks) * - number: execute hooks only from the saved index until that node index exclusive (pre-order * case, when executing select(number)) */ function executeCheckHooks(lView, hooks, nodeIndex) { callHooks(lView, hooks, 3 /* InitPhaseCompleted */ , nodeIndex); } /** * Executes post-order init and check hooks (one of AfterContentInit, AfterContentChecked, * AfterViewInit, AfterViewChecked) given a view where there are pending init hooks to be executed. * @param lView The LView where hooks are defined * @param hooks Hooks to be run * @param initPhase A phase for which hooks should be run * @param nodeIndex 3 cases depending on the value: * - undefined: all hooks from the array should be executed (post-order case) * - null: execute hooks only from the saved index until the end of the array (pre-order case, when * flushing the remaining hooks) * - number: execute hooks only from the saved index until that node index exclusive (pre-order * case, when executing select(number)) */ function executeInitAndCheckHooks(lView, hooks, initPhase, nodeIndex) { ngDevMode && assertNotEqual(initPhase, 3 /* InitPhaseCompleted */ , 'Init pre-order hooks should not be called more than once'); if ((lView[FLAGS] & 3 /* InitPhaseStateMask */ ) === initPhase) { callHooks(lView, hooks, initPhase, nodeIndex); } } function incrementInitPhaseFlags(lView, initPhase) { ngDevMode && assertNotEqual(initPhase, 3 /* InitPhaseCompleted */ , 'Init hooks phase should not be incremented after all init hooks have been run.'); var flags = lView[FLAGS]; if ((flags & 3 /* InitPhaseStateMask */ ) === initPhase) { flags &= 2047 /* IndexWithinInitPhaseReset */ ; flags += 1 /* InitPhaseStateIncrementer */ ; lView[FLAGS] = flags; } } /** * Calls lifecycle hooks with their contexts, skipping init hooks if it's not * the first LView pass * * @param currentView The current view * @param arr The array in which the hooks are found * @param initPhaseState the current state of the init phase * @param currentNodeIndex 3 cases depending on the value: * - undefined: all hooks from the array should be executed (post-order case) * - null: execute hooks only from the saved index until the end of the array (pre-order case, when * flushing the remaining hooks) * - number: execute hooks only from the saved index until that node index exclusive (pre-order * case, when executing select(number)) */ function callHooks(currentView, arr, initPhase, currentNodeIndex) { ngDevMode && assertEqual(isInCheckNoChangesMode(), false, 'Hooks should never be run when in check no changes mode.'); var startIndex = currentNodeIndex !== undefined ? currentView[PREORDER_HOOK_FLAGS] & 65535 /* IndexOfTheNextPreOrderHookMaskMask */ : 0; var nodeIndexLimit = currentNodeIndex != null ? currentNodeIndex : -1; var max = arr.length - 1; // Stop the loop at length - 1, because we look for the hook at i + 1 var lastNodeIndexFound = 0; for (var i = startIndex; i < max; i++) { var hook = arr[i + 1]; if (typeof hook === 'number') { lastNodeIndexFound = arr[i]; if (currentNodeIndex != null && lastNodeIndexFound >= currentNodeIndex) { break; } } else { var isInitHook = arr[i] < 0; if (isInitHook) currentView[PREORDER_HOOK_FLAGS] += 65536 /* NumberOfInitHooksCalledIncrementer */ ; if (lastNodeIndexFound < nodeIndexLimit || nodeIndexLimit == -1) { callHook(currentView, initPhase, arr, i); currentView[PREORDER_HOOK_FLAGS] = (currentView[PREORDER_HOOK_FLAGS] & 4294901760 /* NumberOfInitHooksCalledMask */ ) + i + 2; } i++; } } } /** * Execute one hook against the current `LView`. * * @param currentView The current view * @param initPhaseState the current state of the init phase * @param arr The array in which the hooks are found * @param i The current index within the hook data array */ function callHook(currentView, initPhase, arr, i) { var isInitHook = arr[i] < 0; var hook = arr[i + 1]; var directiveIndex = isInitHook ? -arr[i] : arr[i]; var directive = currentView[directiveIndex]; if (isInitHook) { var indexWithintInitPhase = currentView[FLAGS] >> 11 /* IndexWithinInitPhaseShift */ ; // The init phase state must be always checked here as it may have been recursively updated. if (indexWithintInitPhase < currentView[PREORDER_HOOK_FLAGS] >> 16 /* NumberOfInitHooksCalledShift */ && (currentView[FLAGS] & 3 /* InitPhaseStateMask */ ) === initPhase) { currentView[FLAGS] += 2048 /* IndexWithinInitPhaseIncrementer */ ; hook.call(directive); } } else { hook.call(directive); } } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var NO_PARENT_INJECTOR = -1; /** * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in * `TView.data`. This allows us to store information about the current node's tokens (which * can be shared in `TView`) as well as the tokens of its ancestor nodes (which cannot be * shared, so they live in `LView`). * * Each of these slots (aside from the last slot) contains a bloom filter. This bloom filter * determines whether a directive is available on the associated node or not. This prevents us * from searching the directives array at this level unless it's probable the directive is in it. * * See: https://en.wikipedia.org/wiki/Bloom_filter for more about bloom filters. * * Because all injectors have been flattened into `LView` and `TViewData`, they cannot typed * using interfaces as they were previously. The start index of each `LInjector` and `TInjector` * will differ based on where it is flattened into the main array, so it's not possible to know * the indices ahead of time and save their types here. The interfaces are still included here * for documentation purposes. * * export interface LInjector extends Array { * * // Cumulative bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE) * [0]: number; * * // Cumulative bloom for directive IDs 32-63 * [1]: number; * * // Cumulative bloom for directive IDs 64-95 * [2]: number; * * // Cumulative bloom for directive IDs 96-127 * [3]: number; * * // Cumulative bloom for directive IDs 128-159 * [4]: number; * * // Cumulative bloom for directive IDs 160 - 191 * [5]: number; * * // Cumulative bloom for directive IDs 192 - 223 * [6]: number; * * // Cumulative bloom for directive IDs 224 - 255 * [7]: number; * * // We need to store a reference to the injector's parent so DI can keep looking up * // the injector tree until it finds the dependency it's looking for. * [PARENT_INJECTOR]: number; * } * * export interface TInjector extends Array { * * // Shared node bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE) * [0]: number; * * // Shared node bloom for directive IDs 32-63 * [1]: number; * * // Shared node bloom for directive IDs 64-95 * [2]: number; * * // Shared node bloom for directive IDs 96-127 * [3]: number; * * // Shared node bloom for directive IDs 128-159 * [4]: number; * * // Shared node bloom for directive IDs 160 - 191 * [5]: number; * * // Shared node bloom for directive IDs 192 - 223 * [6]: number; * * // Shared node bloom for directive IDs 224 - 255 * [7]: number; * * // Necessary to find directive indices for a particular node. * [TNODE]: TElementNode|TElementContainerNode|TContainerNode; * } */ /** * Factory for creating instances of injectors in the NodeInjector. * * This factory is complicated by the fact that it can resolve `multi` factories as well. * * NOTE: Some of the fields are optional which means that this class has two hidden classes. * - One without `multi` support (most common) * - One with `multi` values, (rare). * * Since VMs can cache up to 4 inline hidden classes this is OK. * * - Single factory: Only `resolving` and `factory` is defined. * - `providers` factory: `componentProviders` is a number and `index = -1`. * - `viewProviders` factory: `componentProviders` is a number and `index` points to `providers`. */ var NodeInjectorFactory = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(function NodeInjectorFactory( /** * Factory to invoke in order to create a new instance. */ factory, /** * Set to `true` if the token is declared in `viewProviders` (or if it is component). */ isViewProvider, injectImplementation) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, NodeInjectorFactory); this.factory = factory; /** * Marker set to true during factory invocation to see if we get into recursive loop. * Recursive loop causes an error to be displayed. */ this.resolving = false; ngDevMode && assertDefined(factory, 'Factory not specified'); ngDevMode && assertEqual(typeof factory, 'function', 'Expected factory function.'); this.canSeeViewProviders = isViewProvider; this.injectImpl = injectImplementation; }); function isFactory(obj) { return obj instanceof NodeInjectorFactory; } // Note: This hack is necessary so we don't erroneously get a circular dependency // failure based on types. var unusedValueExportToPlacateAjd$3 = 1; /** * Converts `TNodeType` into human readable text. * Make sure this matches with `TNodeType` */ function toTNodeTypeAsString(tNodeType) { var text = ''; tNodeType & 1 /* Text */ && (text += '|Text'); tNodeType & 2 /* Element */ && (text += '|Element'); tNodeType & 4 /* Container */ && (text += '|Container'); tNodeType & 8 /* ElementContainer */ && (text += '|ElementContainer'); tNodeType & 16 /* Projection */ && (text += '|Projection'); tNodeType & 32 /* Icu */ && (text += '|IcuContainer'); tNodeType & 64 /* Placeholder */ && (text += '|Placeholder'); return text.length > 0 ? text.substring(1) : text; } // Note: This hack is necessary so we don't erroneously get a circular dependency // failure based on types. var unusedValueExportToPlacateAjd$4 = 1; /** * Returns `true` if the `TNode` has a directive which has `@Input()` for `class` binding. * * ``` *
* ``` * and * ``` * @Directive({ * }) * class MyDirective { * @Input() * class: string; * } * ``` * * In the above case it is necessary to write the reconciled styling information into the * directive's input. * * @param tNode */ function hasClassInput(tNode) { return (tNode.flags & 16 /* hasClassInput */ ) !== 0; } /** * Returns `true` if the `TNode` has a directive which has `@Input()` for `style` binding. * * ``` *
* ``` * and * ``` * @Directive({ * }) * class MyDirective { * @Input() * class: string; * } * ``` * * In the above case it is necessary to write the reconciled styling information into the * directive's input. * * @param tNode */ function hasStyleInput(tNode) { return (tNode.flags & 32 /* hasStyleInput */ ) !== 0; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function assertTNodeType(tNode, expectedTypes, message) { assertDefined(tNode, 'should be called with a TNode'); if ((tNode.type & expectedTypes) === 0) { throwError(message || "Expected [".concat(toTNodeTypeAsString(expectedTypes), "] but got ").concat(toTNodeTypeAsString(tNode.type), ".")); } } function assertPureTNodeType(type) { if (!(type === 2 /* Element */ || // type === 1 /* Text */ || // type === 4 /* Container */ || // type === 8 /* ElementContainer */ || // type === 32 /* Icu */ || // type === 16 /* Projection */ || // type === 64 /* Placeholder */ )) { throwError("Expected TNodeType to have only a single type selected, but got ".concat(toTNodeTypeAsString(type), ".")); } } /** * Assigns all attribute values to the provided element via the inferred renderer. * * This function accepts two forms of attribute entries: * * default: (key, value): * attrs = [key1, value1, key2, value2] * * namespaced: (NAMESPACE_MARKER, uri, name, value) * attrs = [NAMESPACE_MARKER, uri, name, value, NAMESPACE_MARKER, uri, name, value] * * The `attrs` array can contain a mix of both the default and namespaced entries. * The "default" values are set without a marker, but if the function comes across * a marker value then it will attempt to set a namespaced value. If the marker is * not of a namespaced value then the function will quit and return the index value * where it stopped during the iteration of the attrs array. * * See [AttributeMarker] to understand what the namespace marker value is. * * Note that this instruction does not support assigning style and class values to * an element. See `elementStart` and `elementHostAttrs` to learn how styling values * are applied to an element. * @param renderer The renderer to be used * @param native The element that the attributes will be assigned to * @param attrs The attribute array of values that will be assigned to the element * @returns the index value that was last accessed in the attributes array */ function setUpAttributes(renderer, native, attrs) { var isProc = isProceduralRenderer(renderer); var i = 0; while (i < attrs.length) { var value = attrs[i]; if (typeof value === 'number') { // only namespaces are supported. Other value types (such as style/class // entries) are not supported in this function. if (value !== 0 /* NamespaceURI */ ) { break; } // we just landed on the marker value ... therefore // we should skip to the next entry i++; var namespaceURI = attrs[i++]; var attrName = attrs[i++]; var attrVal = attrs[i++]; ngDevMode && ngDevMode.rendererSetAttribute++; isProc ? renderer.setAttribute(native, attrName, attrVal, namespaceURI) : native.setAttributeNS(namespaceURI, attrName, attrVal); } else { // attrName is string; var _attrName = value; var _attrVal = attrs[++i]; // Standard attributes ngDevMode && ngDevMode.rendererSetAttribute++; if (isAnimationProp(_attrName)) { if (isProc) { renderer.setProperty(native, _attrName, _attrVal); } } else { isProc ? renderer.setAttribute(native, _attrName, _attrVal) : native.setAttribute(_attrName, _attrVal); } i++; } } // another piece of code may iterate over the same attributes array. Therefore // it may be helpful to return the exact spot where the attributes array exited // whether by running into an unsupported marker or if all the static values were // iterated over. return i; } /** * Test whether the given value is a marker that indicates that the following * attribute values in a `TAttributes` array are only the names of attributes, * and not name-value pairs. * @param marker The attribute marker to test. * @returns true if the marker is a "name-only" marker (e.g. `Bindings`, `Template` or `I18n`). */ function isNameOnlyAttributeMarker(marker) { return marker === 3 /* Bindings */ || marker === 4 /* Template */ || marker === 6 /* I18n */ ; } function isAnimationProp(name) { // Perf note: accessing charCodeAt to check for the first character of a string is faster as // compared to accessing a character at index 0 (ex. name[0]). The main reason for this is that // charCodeAt doesn't allocate memory to return a substring. return name.charCodeAt(0) === 64 /* AT_SIGN */ ; } /** * Merges `src` `TAttributes` into `dst` `TAttributes` removing any duplicates in the process. * * This merge function keeps the order of attrs same. * * @param dst Location of where the merged `TAttributes` should end up. * @param src `TAttributes` which should be appended to `dst` */ function mergeHostAttrs(dst, src) { if (src === null || src.length === 0) {// do nothing } else if (dst === null || dst.length === 0) { // We have source, but dst is empty, just make a copy. dst = src.slice(); } else { var srcMarker = -1 /* ImplicitAttributes */ ; for (var i = 0; i < src.length; i++) { var item = src[i]; if (typeof item === 'number') { srcMarker = item; } else { if (srcMarker === 0 /* NamespaceURI */ ) {// Case where we need to consume `key1`, `key2`, `value` items. } else if (srcMarker === -1 /* ImplicitAttributes */ || srcMarker === 2 /* Styles */ ) { // Case where we have to consume `key1` and `value` only. mergeHostAttribute(dst, srcMarker, item, null, src[++i]); } else { // Case where we have to consume `key1` only. mergeHostAttribute(dst, srcMarker, item, null, null); } } } } return dst; } /** * Append `key`/`value` to existing `TAttributes` taking region marker and duplicates into account. * * @param dst `TAttributes` to append to. * @param marker Region where the `key`/`value` should be added. * @param key1 Key to add to `TAttributes` * @param key2 Key to add to `TAttributes` (in case of `AttributeMarker.NamespaceURI`) * @param value Value to add or to overwrite to `TAttributes` Only used if `marker` is not Class. */ function mergeHostAttribute(dst, marker, key1, key2, value) { var i = 0; // Assume that new markers will be inserted at the end. var markerInsertPosition = dst.length; // scan until correct type. if (marker === -1 /* ImplicitAttributes */ ) { markerInsertPosition = -1; } else { while (i < dst.length) { var dstValue = dst[i++]; if (typeof dstValue === 'number') { if (dstValue === marker) { markerInsertPosition = -1; break; } else if (dstValue > marker) { // We need to save this as we want the markers to be inserted in specific order. markerInsertPosition = i - 1; break; } } } } // search until you find place of insertion while (i < dst.length) { var item = dst[i]; if (typeof item === 'number') { // since `i` started as the index after the marker, we did not find it if we are at the next // marker break; } else if (item === key1) { // We already have same token if (key2 === null) { if (value !== null) { dst[i + 1] = value; } return; } else if (key2 === dst[i + 1]) { dst[i + 2] = value; return; } } // Increment counter. i++; if (key2 !== null) i++; if (value !== null) i++; } // insert at location. if (markerInsertPosition !== -1) { dst.splice(markerInsertPosition, 0, marker); i = markerInsertPosition + 1; } dst.splice(i++, 0, key1); if (key2 !== null) { dst.splice(i++, 0, key2); } if (value !== null) { dst.splice(i++, 0, value); } } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /// Parent Injector Utils /////////////////////////////////////////////////////////////// function hasParentInjector(parentLocation) { return parentLocation !== NO_PARENT_INJECTOR; } function getParentInjectorIndex(parentLocation) { ngDevMode && assertNumber(parentLocation, 'Number expected'); ngDevMode && assertNotEqual(parentLocation, -1, 'Not a valid state.'); var parentInjectorIndex = parentLocation & 32767 /* InjectorIndexMask */ ; ngDevMode && assertGreaterThan(parentInjectorIndex, HEADER_OFFSET, 'Parent injector must be pointing past HEADER_OFFSET.'); return parentLocation & 32767 /* InjectorIndexMask */ ; } function getParentInjectorViewOffset(parentLocation) { return parentLocation >> 16 /* ViewOffsetShift */ ; } /** * Unwraps a parent injector location number to find the view offset from the current injector, * then walks up the declaration view tree until the view is found that contains the parent * injector. * * @param location The location of the parent injector, which contains the view offset * @param startView The LView instance from which to start walking up the view tree * @returns The LView instance that contains the parent injector */ function getParentInjectorView(location, startView) { var viewOffset = getParentInjectorViewOffset(location); var parentView = startView; // For most cases, the parent injector can be found on the host node (e.g. for component // or container), but we must keep the loop here to support the rarer case of deeply nested // tags or inline views, where the parent injector might live many views // above the child injector. while (viewOffset > 0) { parentView = parentView[DECLARATION_VIEW]; viewOffset--; } return parentView; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Defines if the call to `inject` should include `viewProviders` in its resolution. * * This is set to true when we try to instantiate a component. This value is reset in * `getNodeInjectable` to a value which matches the declaration location of the token about to be * instantiated. This is done so that if we are injecting a token which was declared outside of * `viewProviders` we don't accidentally pull `viewProviders` in. * * Example: * * ``` * @Injectable() * class MyService { * constructor(public value: String) {} * } * * @Component({ * providers: [ * MyService, * {provide: String, value: 'providers' } * ] * viewProviders: [ * {provide: String, value: 'viewProviders'} * ] * }) * class MyComponent { * constructor(myService: MyService, value: String) { * // We expect that Component can see into `viewProviders`. * expect(value).toEqual('viewProviders'); * // `MyService` was not declared in `viewProviders` hence it can't see it. * expect(myService.value).toEqual('providers'); * } * } * * ``` */ var includeViewProviders = true; function setIncludeViewProviders(v) { var oldValue = includeViewProviders; includeViewProviders = v; return oldValue; } /** * The number of slots in each bloom filter (used by DI). The larger this number, the fewer * directives that will share slots, and thus, the fewer false positives when checking for * the existence of a directive. */ var BLOOM_SIZE = 256; var BLOOM_MASK = BLOOM_SIZE - 1; /** Counter used to generate unique IDs for directives. */ var nextNgElementId = 0; /** * Registers this directive as present in its node's injector by flipping the directive's * corresponding bit in the injector's bloom filter. * * @param injectorIndex The index of the node injector where this token should be registered * @param tView The TView for the injector's bloom filters * @param type The directive token to register */ function bloomAdd(injectorIndex, tView, type) { ngDevMode && assertEqual(tView.firstCreatePass, true, 'expected firstCreatePass to be true'); var id; if (typeof type === 'string') { id = type.charCodeAt(0) || 0; } else if (type.hasOwnProperty(NG_ELEMENT_ID)) { id = type[NG_ELEMENT_ID]; } // Set a unique ID on the directive type, so if something tries to inject the directive, // we can easily retrieve the ID and hash it into the bloom bit that should be checked. if (id == null) { id = type[NG_ELEMENT_ID] = nextNgElementId++; } // We only have BLOOM_SIZE (256) slots in our bloom filter (8 buckets * 32 bits each), // so all unique IDs must be modulo-ed into a number from 0 - 255 to fit into the filter. var bloomBit = id & BLOOM_MASK; // Create a mask that targets the specific bit associated with the directive. // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding // to bit positions 0 - 31 in a 32 bit integer. var mask = 1 << bloomBit; // Use the raw bloomBit number to determine which bloom filter bucket we should check // e.g: bf0 = [0 - 31], bf1 = [32 - 63], bf2 = [64 - 95], bf3 = [96 - 127], etc var b7 = bloomBit & 0x80; var b6 = bloomBit & 0x40; var b5 = bloomBit & 0x20; var tData = tView.data; if (b7) { b6 ? b5 ? tData[injectorIndex + 7] |= mask : tData[injectorIndex + 6] |= mask : b5 ? tData[injectorIndex + 5] |= mask : tData[injectorIndex + 4] |= mask; } else { b6 ? b5 ? tData[injectorIndex + 3] |= mask : tData[injectorIndex + 2] |= mask : b5 ? tData[injectorIndex + 1] |= mask : tData[injectorIndex] |= mask; } } /** * Creates (or gets an existing) injector for a given element or container. * * @param tNode for which an injector should be retrieved / created. * @param lView View where the node is stored * @returns Node injector */ function getOrCreateNodeInjectorForNode(tNode, lView) { var existingInjectorIndex = getInjectorIndex(tNode, lView); if (existingInjectorIndex !== -1) { return existingInjectorIndex; } var tView = lView[TVIEW]; if (tView.firstCreatePass) { tNode.injectorIndex = lView.length; insertBloom(tView.data, tNode); // foundation for node bloom insertBloom(lView, null); // foundation for cumulative bloom insertBloom(tView.blueprint, null); } var parentLoc = getParentInjectorLocation(tNode, lView); var injectorIndex = tNode.injectorIndex; // If a parent injector can't be found, its location is set to -1. // In that case, we don't need to set up a cumulative bloom if (hasParentInjector(parentLoc)) { var parentIndex = getParentInjectorIndex(parentLoc); var parentLView = getParentInjectorView(parentLoc, lView); var parentData = parentLView[TVIEW].data; // Creates a cumulative bloom filter that merges the parent's bloom filter // and its own cumulative bloom (which contains tokens for all ancestors) for (var i = 0; i < 8 /* BLOOM_SIZE */ ; i++) { lView[injectorIndex + i] = parentLView[parentIndex + i] | parentData[parentIndex + i]; } } lView[injectorIndex + 8 /* PARENT */ ] = parentLoc; return injectorIndex; } function insertBloom(arr, footer) { arr.push(0, 0, 0, 0, 0, 0, 0, 0, footer); } function getInjectorIndex(tNode, lView) { if (tNode.injectorIndex === -1 || // If the injector index is the same as its parent's injector index, then the index has been // copied down from the parent node. No injector has been created yet on this node. tNode.parent && tNode.parent.injectorIndex === tNode.injectorIndex || // After the first template pass, the injector index might exist but the parent values // might not have been calculated yet for this instance lView[tNode.injectorIndex + 8 /* PARENT */ ] === null) { return -1; } else { ngDevMode && assertIndexInRange(lView, tNode.injectorIndex); return tNode.injectorIndex; } } /** * Finds the index of the parent injector, with a view offset if applicable. Used to set the * parent injector initially. * * @returns Returns a number that is the combination of the number of LViews that we have to go up * to find the LView containing the parent inject AND the index of the injector within that LView. */ function getParentInjectorLocation(tNode, lView) { if (tNode.parent && tNode.parent.injectorIndex !== -1) { // If we have a parent `TNode` and there is an injector associated with it we are done, because // the parent injector is within the current `LView`. return tNode.parent.injectorIndex; // ViewOffset is 0 } // When parent injector location is computed it may be outside of the current view. (ie it could // be pointing to a declared parent location). This variable stores number of declaration parents // we need to walk up in order to find the parent injector location. var declarationViewOffset = 0; var parentTNode = null; var lViewCursor = lView; // The parent injector is not in the current `LView`. We will have to walk the declared parent // `LView` hierarchy and look for it. If we walk of the top, that means that there is no parent // `NodeInjector`. while (lViewCursor !== null) { // First determine the `parentTNode` location. The parent pointer differs based on `TView.type`. var tView = lViewCursor[TVIEW]; var tViewType = tView.type; if (tViewType === 2 /* Embedded */ ) { ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.'); parentTNode = tView.declTNode; } else if (tViewType === 1 /* Component */ ) { // Components don't have `TView.declTNode` because each instance of component could be // inserted in different location, hence `TView.declTNode` is meaningless. parentTNode = lViewCursor[T_HOST]; } else { ngDevMode && assertEqual(tView.type, 0 /* Root */ , 'Root type expected'); parentTNode = null; } if (parentTNode === null) { // If we have no parent, than we are done. return NO_PARENT_INJECTOR; } ngDevMode && parentTNode && assertTNodeForLView(parentTNode, lViewCursor[DECLARATION_VIEW]); // Every iteration of the loop requires that we go to the declared parent. declarationViewOffset++; lViewCursor = lViewCursor[DECLARATION_VIEW]; if (parentTNode.injectorIndex !== -1) { // We found a NodeInjector which points to something. return parentTNode.injectorIndex | declarationViewOffset << 16 /* ViewOffsetShift */ ; } } return NO_PARENT_INJECTOR; } /** * Makes a type or an injection token public to the DI system by adding it to an * injector's bloom filter. * * @param di The node injector in which a directive will be added * @param token The type or the injection token to be made public */ function diPublicInInjector(injectorIndex, tView, token) { bloomAdd(injectorIndex, tView, token); } /** * Inject static attribute value into directive constructor. * * This method is used with `factory` functions which are generated as part of * `defineDirective` or `defineComponent`. The method retrieves the static value * of an attribute. (Dynamic attributes are not supported since they are not resolved * at the time of injection and can change over time.) * * # Example * Given: * ``` * @Component(...) * class MyComponent { * constructor(@Attribute('title') title: string) { ... } * } * ``` * When instantiated with * ``` * * ``` * * Then factory method generated is: * ``` * MyComponent.ɵcmp = defineComponent({ * factory: () => new MyComponent(injectAttribute('title')) * ... * }) * ``` * * @publicApi */ function injectAttributeImpl(tNode, attrNameToInject) { ngDevMode && assertTNodeType(tNode, 12 /* AnyContainer */ | 3 /* AnyRNode */ ); ngDevMode && assertDefined(tNode, 'expecting tNode'); if (attrNameToInject === 'class') { return tNode.classes; } if (attrNameToInject === 'style') { return tNode.styles; } var attrs = tNode.attrs; if (attrs) { var attrsLength = attrs.length; var i = 0; while (i < attrsLength) { var value = attrs[i]; // If we hit a `Bindings` or `Template` marker then we are done. if (isNameOnlyAttributeMarker(value)) break; // Skip namespaced attributes if (value === 0 /* NamespaceURI */ ) { // we skip the next two values // as namespaced attributes looks like // [..., AttributeMarker.NamespaceURI, 'http://someuri.com/test', 'test:exist', // 'existValue', ...] i = i + 2; } else if (typeof value === 'number') { // Skip to the first value of the marked attribute. i++; while (i < attrsLength && typeof attrs[i] === 'string') { i++; } } else if (value === attrNameToInject) { return attrs[i + 1]; } else { i = i + 2; } } } return null; } function notFoundValueOrThrow(notFoundValue, token, flags) { if (flags & InjectFlags.Optional) { return notFoundValue; } else { throwProviderNotFoundError(token, 'NodeInjector'); } } /** * Returns the value associated to the given token from the ModuleInjector or throws exception * * @param lView The `LView` that contains the `tNode` * @param token The token to look for * @param flags Injection flags * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional` * @returns the value from the injector or throws an exception */ function lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue) { if (flags & InjectFlags.Optional && notFoundValue === undefined) { // This must be set or the NullInjector will throw for optional deps notFoundValue = null; } if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) { var moduleInjector = lView[INJECTOR]; // switch to `injectInjectorOnly` implementation for module injector, since module injector // should not have access to Component/Directive DI scope (that may happen through // `directiveInject` implementation) var previousInjectImplementation = setInjectImplementation(undefined); try { if (moduleInjector) { return moduleInjector.get(token, notFoundValue, flags & InjectFlags.Optional); } else { return injectRootLimpMode(token, notFoundValue, flags & InjectFlags.Optional); } } finally { setInjectImplementation(previousInjectImplementation); } } return notFoundValueOrThrow(notFoundValue, token, flags); } /** * Returns the value associated to the given token from the NodeInjectors => ModuleInjector. * * Look for the injector providing the token by walking up the node injector tree and then * the module injector tree. * * This function patches `token` with `__NG_ELEMENT_ID__` which contains the id for the bloom * filter. `-1` is reserved for injecting `Injector` (implemented by `NodeInjector`) * * @param tNode The Node where the search for the injector should start * @param lView The `LView` that contains the `tNode` * @param token The token to look for * @param flags Injection flags * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional` * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided */ function getOrCreateInjectable(tNode, lView, token) { var flags = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : InjectFlags.Default; var notFoundValue = arguments.length > 4 ? arguments[4] : undefined; if (tNode !== null) { var bloomHash = bloomHashBitOrFactory(token); // If the ID stored here is a function, this is a special object like ElementRef or TemplateRef // so just call the factory function to create it. if (typeof bloomHash === 'function') { if (!enterDI(lView, tNode, flags)) { // Failed to enter DI, try module injector instead. If a token is injected with the @Host // flag, the module injector is not searched for that token in Ivy. return flags & InjectFlags.Host ? notFoundValueOrThrow(notFoundValue, token, flags) : lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue); } try { var value = bloomHash(); if (value == null && !(flags & InjectFlags.Optional)) { throwProviderNotFoundError(token); } else { return value; } } finally { leaveDI(); } } else if (typeof bloomHash === 'number') { // A reference to the previous injector TView that was found while climbing the element // injector tree. This is used to know if viewProviders can be accessed on the current // injector. var previousTView = null; var injectorIndex = getInjectorIndex(tNode, lView); var parentLocation = NO_PARENT_INJECTOR; var hostTElementNode = flags & InjectFlags.Host ? lView[DECLARATION_COMPONENT_VIEW][T_HOST] : null; // If we should skip this injector, or if there is no injector on this node, start by // searching the parent injector. if (injectorIndex === -1 || flags & InjectFlags.SkipSelf) { parentLocation = injectorIndex === -1 ? getParentInjectorLocation(tNode, lView) : lView[injectorIndex + 8 /* PARENT */ ]; if (parentLocation === NO_PARENT_INJECTOR || !shouldSearchParent(flags, false)) { injectorIndex = -1; } else { previousTView = lView[TVIEW]; injectorIndex = getParentInjectorIndex(parentLocation); lView = getParentInjectorView(parentLocation, lView); } } // Traverse up the injector tree until we find a potential match or until we know there // *isn't* a match. while (injectorIndex !== -1) { ngDevMode && assertNodeInjector(lView, injectorIndex); // Check the current injector. If it matches, see if it contains token. var tView = lView[TVIEW]; ngDevMode && assertTNodeForLView(tView.data[injectorIndex + 8 /* TNODE */ ], lView); if (bloomHasToken(bloomHash, injectorIndex, tView.data)) { // At this point, we have an injector which *may* contain the token, so we step through // the providers and directives associated with the injector's corresponding node to get // the instance. var instance = searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode); if (instance !== NOT_FOUND) { return instance; } } parentLocation = lView[injectorIndex + 8 /* PARENT */ ]; if (parentLocation !== NO_PARENT_INJECTOR && shouldSearchParent(flags, lView[TVIEW].data[injectorIndex + 8 /* TNODE */ ] === hostTElementNode) && bloomHasToken(bloomHash, injectorIndex, lView)) { // The def wasn't found anywhere on this node, so it was a false positive. // Traverse up the tree and continue searching. previousTView = tView; injectorIndex = getParentInjectorIndex(parentLocation); lView = getParentInjectorView(parentLocation, lView); } else { // If we should not search parent OR If the ancestor bloom filter value does not have the // bit corresponding to the directive we can give up on traversing up to find the specific // injector. injectorIndex = -1; } } } } return lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue); } var NOT_FOUND = {}; function createNodeInjector() { return new NodeInjector(getCurrentTNode(), getLView()); } function searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) { var currentTView = lView[TVIEW]; var tNode = currentTView.data[injectorIndex + 8 /* TNODE */ ]; // First, we need to determine if view providers can be accessed by the starting element. // There are two possibilities var canAccessViewProviders = previousTView == null ? // 1) This is the first invocation `previousTView == null` which means that we are at the // `TNode` of where injector is starting to look. In such a case the only time we are allowed // to look into the ViewProviders is if: // - we are on a component // - AND the injector set `includeViewProviders` to true (implying that the token can see // ViewProviders because it is the Component or a Service which itself was declared in // ViewProviders) isComponentHost(tNode) && includeViewProviders : // 2) `previousTView != null` which means that we are now walking across the parent nodes. // In such a case we are only allowed to look into the ViewProviders if: // - We just crossed from child View to Parent View `previousTView != currentTView` // - AND the parent TNode is an Element. // This means that we just came from the Component's View and therefore are allowed to see // into the ViewProviders. previousTView != currentTView && (tNode.type & 3 /* AnyRNode */ ) !== 0; // This special case happens when there is a @host on the inject and when we are searching // on the host element node. var isHostSpecialCase = flags & InjectFlags.Host && hostTElementNode === tNode; var injectableIdx = locateDirectiveOrProvider(tNode, currentTView, token, canAccessViewProviders, isHostSpecialCase); if (injectableIdx !== null) { return getNodeInjectable(lView, currentTView, injectableIdx, tNode); } else { return NOT_FOUND; } } /** * Searches for the given token among the node's directives and providers. * * @param tNode TNode on which directives are present. * @param tView The tView we are currently processing * @param token Provider token or type of a directive to look for. * @param canAccessViewProviders Whether view providers should be considered. * @param isHostSpecialCase Whether the host special case applies. * @returns Index of a found directive or provider, or null when none found. */ function locateDirectiveOrProvider(tNode, tView, token, canAccessViewProviders, isHostSpecialCase) { var nodeProviderIndexes = tNode.providerIndexes; var tInjectables = tView.data; var injectablesStart = nodeProviderIndexes & 1048575 /* ProvidersStartIndexMask */ ; var directivesStart = tNode.directiveStart; var directiveEnd = tNode.directiveEnd; var cptViewProvidersCount = nodeProviderIndexes >> 20 /* CptViewProvidersCountShift */ ; var startingIndex = canAccessViewProviders ? injectablesStart : injectablesStart + cptViewProvidersCount; // When the host special case applies, only the viewProviders and the component are visible var endIndex = isHostSpecialCase ? injectablesStart + cptViewProvidersCount : directiveEnd; for (var i = startingIndex; i < endIndex; i++) { var providerTokenOrDef = tInjectables[i]; if (i < directivesStart && token === providerTokenOrDef || i >= directivesStart && providerTokenOrDef.type === token) { return i; } } if (isHostSpecialCase) { var dirDef = tInjectables[directivesStart]; if (dirDef && isComponentDef(dirDef) && dirDef.type === token) { return directivesStart; } } return null; } /** * Retrieve or instantiate the injectable from the `LView` at particular `index`. * * This function checks to see if the value has already been instantiated and if so returns the * cached `injectable`. Otherwise if it detects that the value is still a factory it * instantiates the `injectable` and caches the value. */ function getNodeInjectable(lView, tView, index, tNode) { var value = lView[index]; var tData = tView.data; if (isFactory(value)) { var factory = value; if (factory.resolving) { throwCyclicDependencyError(stringifyForError(tData[index])); } var previousIncludeViewProviders = setIncludeViewProviders(factory.canSeeViewProviders); factory.resolving = true; var previousInjectImplementation = factory.injectImpl ? setInjectImplementation(factory.injectImpl) : null; var success = enterDI(lView, tNode, InjectFlags.Default); ngDevMode && assertEqual(success, true, 'Because flags do not contain \`SkipSelf\' we expect this to always succeed.'); try { value = lView[index] = factory.factory(undefined, tData, lView, tNode); // This code path is hit for both directives and providers. // For perf reasons, we want to avoid searching for hooks on providers. // It does no harm to try (the hooks just won't exist), but the extra // checks are unnecessary and this is a hot path. So we check to see // if the index of the dependency is in the directive range for this // tNode. If it's not, we know it's a provider and skip hook registration. if (tView.firstCreatePass && index >= tNode.directiveStart) { ngDevMode && assertDirectiveDef(tData[index]); registerPreOrderHooks(index, tData[index], tView); } } finally { previousInjectImplementation !== null && setInjectImplementation(previousInjectImplementation); setIncludeViewProviders(previousIncludeViewProviders); factory.resolving = false; leaveDI(); } } return value; } /** * Returns the bit in an injector's bloom filter that should be used to determine whether or not * the directive might be provided by the injector. * * When a directive is public, it is added to the bloom filter and given a unique ID that can be * retrieved on the Type. When the directive isn't public or the token is not a directive `null` * is returned as the node injector can not possibly provide that token. * * @param token the injection token * @returns the matching bit to check in the bloom filter or `null` if the token is not known. * When the returned value is negative then it represents special values such as `Injector`. */ function bloomHashBitOrFactory(token) { ngDevMode && assertDefined(token, 'token must be defined'); if (typeof token === 'string') { return token.charCodeAt(0) || 0; } var tokenId = // First check with `hasOwnProperty` so we don't get an inherited ID. token.hasOwnProperty(NG_ELEMENT_ID) ? token[NG_ELEMENT_ID] : undefined; // Negative token IDs are used for special objects such as `Injector` if (typeof tokenId === 'number') { if (tokenId >= 0) { return tokenId & BLOOM_MASK; } else { ngDevMode && assertEqual(tokenId, -1 /* Injector */ , 'Expecting to get Special Injector Id'); return createNodeInjector; } } else { return tokenId; } } function bloomHasToken(bloomHash, injectorIndex, injectorView) { // Create a mask that targets the specific bit associated with the directive we're looking for. // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding // to bit positions 0 - 31 in a 32 bit integer. var mask = 1 << bloomHash; var b7 = bloomHash & 0x80; var b6 = bloomHash & 0x40; var b5 = bloomHash & 0x20; // Our bloom filter size is 256 bits, which is eight 32-bit bloom filter buckets: // bf0 = [0 - 31], bf1 = [32 - 63], bf2 = [64 - 95], bf3 = [96 - 127], etc. // Get the bloom filter value from the appropriate bucket based on the directive's bloomBit. var value; if (b7) { value = b6 ? b5 ? injectorView[injectorIndex + 7] : injectorView[injectorIndex + 6] : b5 ? injectorView[injectorIndex + 5] : injectorView[injectorIndex + 4]; } else { value = b6 ? b5 ? injectorView[injectorIndex + 3] : injectorView[injectorIndex + 2] : b5 ? injectorView[injectorIndex + 1] : injectorView[injectorIndex]; } // If the bloom filter value has the bit corresponding to the directive's bloomBit flipped on, // this injector is a potential match. return !!(value & mask); } /** Returns true if flags prevent parent injector from being searched for tokens */ function shouldSearchParent(flags, isFirstHostTNode) { return !(flags & InjectFlags.Self) && !(flags & InjectFlags.Host && isFirstHostTNode); } var NodeInjector = /*#__PURE__*/function () { function NodeInjector(_tNode, _lView) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, NodeInjector); this._tNode = _tNode; this._lView = _lView; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(NodeInjector, [{ key: "get", value: function get(token, notFoundValue) { return getOrCreateInjectable(this._tNode, this._lView, token, undefined, notFoundValue); } }]); return NodeInjector; }(); /** * @codeGenApi */ function ɵɵgetFactoryOf(type) { var typeAny = type; if (isForwardRef(type)) { return function () { var factory = ɵɵgetFactoryOf(resolveForwardRef(typeAny)); return factory ? factory() : null; }; } var factory = getFactoryDef(typeAny); if (factory === null) { var injectorDef = getInjectorDef(typeAny); factory = injectorDef && injectorDef.factory; } return factory || null; } /** * @codeGenApi */ function ɵɵgetInheritedFactory(type) { return noSideEffects(function () { var ownConstructor = type.prototype.constructor; var ownFactory = ownConstructor[NG_FACTORY_DEF] || ɵɵgetFactoryOf(ownConstructor); var objectPrototype = Object.prototype; var parent = Object.getPrototypeOf(type.prototype).constructor; // Go up the prototype until we hit `Object`. while (parent && parent !== objectPrototype) { var factory = parent[NG_FACTORY_DEF] || ɵɵgetFactoryOf(parent); // If we hit something that has a factory and the factory isn't the same as the type, // we've found the inherited factory. Note the check that the factory isn't the type's // own factory is redundant in most cases, but if the user has custom decorators on the // class, this lookup will start one level down in the prototype chain, causing us to // find the own factory first and potentially triggering an infinite loop downstream. if (factory && factory !== ownFactory) { return factory; } parent = Object.getPrototypeOf(parent); } // There is no factory defined. Either this was improper usage of inheritance // (no Angular decorator on the superclass) or there is no constructor at all // in the inheritance chain. Since the two cases cannot be distinguished, the // latter has to be assumed. return function (t) { return new t(); }; }); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Facade for the attribute injection from DI. * * @codeGenApi */ function ɵɵinjectAttribute(attrNameToInject) { return injectAttributeImpl(getCurrentTNode(), attrNameToInject); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var ANNOTATIONS = '__annotations__'; var PARAMETERS = '__parameters__'; var PROP_METADATA = '__prop__metadata__'; /** * @suppress {globalThis} */ function makeDecorator(name, props, parentClass, additionalProcessing, typeFn) { return noSideEffects(function () { var metaCtor = makeMetadataCtor(props); function DecoratorFactory() { for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { args[_key2] = arguments[_key2]; } if (this instanceof DecoratorFactory) { metaCtor.call.apply(metaCtor, [this].concat(args)); return this; } var annotationInstance = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_construct__WEBPACK_IMPORTED_MODULE_8__["default"])(DecoratorFactory, args); return function TypeDecorator(cls) { if (typeFn) typeFn.apply(void 0, [cls].concat(args)); // Use of Object.defineProperty is important since it creates non-enumerable property which // prevents the property is copied during subclassing. var annotations = cls.hasOwnProperty(ANNOTATIONS) ? cls[ANNOTATIONS] : Object.defineProperty(cls, ANNOTATIONS, { value: [] })[ANNOTATIONS]; annotations.push(annotationInstance); if (additionalProcessing) additionalProcessing(cls); return cls; }; } if (parentClass) { DecoratorFactory.prototype = Object.create(parentClass.prototype); } DecoratorFactory.prototype.ngMetadataName = name; DecoratorFactory.annotationCls = DecoratorFactory; return DecoratorFactory; }); } function makeMetadataCtor(props) { return function ctor() { if (props) { var values = props.apply(void 0, arguments); for (var propName in values) { this[propName] = values[propName]; } } }; } function makeParamDecorator(name, props, parentClass) { return noSideEffects(function () { var metaCtor = makeMetadataCtor(props); function ParamDecoratorFactory() { for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { args[_key3] = arguments[_key3]; } if (this instanceof ParamDecoratorFactory) { metaCtor.apply(this, args); return this; } var annotationInstance = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_construct__WEBPACK_IMPORTED_MODULE_8__["default"])(ParamDecoratorFactory, args); ParamDecorator.annotation = annotationInstance; return ParamDecorator; function ParamDecorator(cls, unusedKey, index) { // Use of Object.defineProperty is important since it creates non-enumerable property which // prevents the property is copied during subclassing. var parameters = cls.hasOwnProperty(PARAMETERS) ? cls[PARAMETERS] : Object.defineProperty(cls, PARAMETERS, { value: [] })[PARAMETERS]; // there might be gaps if some in between parameters do not have annotations. // we pad with nulls. while (parameters.length <= index) { parameters.push(null); } (parameters[index] = parameters[index] || []).push(annotationInstance); return cls; } } if (parentClass) { ParamDecoratorFactory.prototype = Object.create(parentClass.prototype); } ParamDecoratorFactory.prototype.ngMetadataName = name; ParamDecoratorFactory.annotationCls = ParamDecoratorFactory; return ParamDecoratorFactory; }); } function makePropDecorator(name, props, parentClass, additionalProcessing) { return noSideEffects(function () { var metaCtor = makeMetadataCtor(props); function PropDecoratorFactory() { for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { args[_key4] = arguments[_key4]; } if (this instanceof PropDecoratorFactory) { metaCtor.apply(this, args); return this; } var decoratorInstance = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_construct__WEBPACK_IMPORTED_MODULE_8__["default"])(PropDecoratorFactory, args); function PropDecorator(target, name) { var constructor = target.constructor; // Use of Object.defineProperty is important because it creates a non-enumerable property // which prevents the property from being copied during subclassing. var meta = constructor.hasOwnProperty(PROP_METADATA) ? constructor[PROP_METADATA] : Object.defineProperty(constructor, PROP_METADATA, { value: {} })[PROP_METADATA]; meta[name] = meta.hasOwnProperty(name) && meta[name] || []; meta[name].unshift(decoratorInstance); if (additionalProcessing) additionalProcessing.apply(void 0, [target, name].concat(args)); } return PropDecorator; } if (parentClass) { PropDecoratorFactory.prototype = Object.create(parentClass.prototype); } PropDecoratorFactory.prototype.ngMetadataName = name; PropDecoratorFactory.annotationCls = PropDecoratorFactory; return PropDecoratorFactory; }); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function CREATE_ATTRIBUTE_DECORATOR__PRE_R3__() { return makeParamDecorator('Attribute', function (attributeName) { return { attributeName: attributeName }; }); } function CREATE_ATTRIBUTE_DECORATOR__POST_R3__() { return makeParamDecorator('Attribute', function (attributeName) { return { attributeName: attributeName, __NG_ELEMENT_ID__: function __NG_ELEMENT_ID__() { return ɵɵinjectAttribute(attributeName); } }; }); } var CREATE_ATTRIBUTE_DECORATOR_IMPL = CREATE_ATTRIBUTE_DECORATOR__POST_R3__; /** * Attribute decorator and metadata. * * @Annotation * @publicApi */ var Attribute = CREATE_ATTRIBUTE_DECORATOR_IMPL(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Creates a token that can be used in a DI Provider. * * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a * runtime representation) such as when injecting an interface, callable type, array or * parameterized type. * * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by * the `Injector`. This provides additional level of type safety. * * ``` * interface MyInterface {...} * var myInterface = injector.get(new InjectionToken('SomeToken')); * // myInterface is inferred to be MyInterface. * ``` * * When creating an `InjectionToken`, you can optionally specify a factory function which returns * (possibly by creating) a default value of the parameterized type `T`. This sets up the * `InjectionToken` using this factory as a provider as if it was defined explicitly in the * application's root injector. If the factory function, which takes zero arguments, needs to inject * dependencies, it can do so using the `inject` function. See below for an example. * * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which * overrides the above behavior and marks the token as belonging to a particular `@NgModule`. As * mentioned above, `'root'` is the default value for `providedIn`. * * @usageNotes * ### Basic Example * * ### Plain InjectionToken * * {@example core/di/ts/injector_spec.ts region='InjectionToken'} * * ### Tree-shakable InjectionToken * * {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'} * * * @publicApi */ var InjectionToken = /*#__PURE__*/function () { function InjectionToken(_desc, options) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, InjectionToken); this._desc = _desc; /** @internal */ this.ngMetadataName = 'InjectionToken'; this.ɵprov = undefined; if (typeof options == 'number') { (typeof ngDevMode === 'undefined' || ngDevMode) && assertLessThan(options, 0, 'Only negative numbers are supported here'); // This is a special hack to assign __NG_ELEMENT_ID__ to this instance. // See `InjectorMarkers` this.__NG_ELEMENT_ID__ = options; } else if (options !== undefined) { this.ɵprov = ɵɵdefineInjectable({ token: this, providedIn: options.providedIn || 'root', factory: options.factory }); } } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(InjectionToken, [{ key: "toString", value: function toString() { return "InjectionToken ".concat(this._desc); } }]); return InjectionToken; }(); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * A DI token that you can use to create a virtual [provider](guide/glossary#provider) * that will populate the `entryComponents` field of components and NgModules * based on its `useValue` property value. * All components that are referenced in the `useValue` value (either directly * or in a nested array or map) are added to the `entryComponents` property. * * @usageNotes * * The following example shows how the router can populate the `entryComponents` * field of an NgModule based on a router configuration that refers * to components. * * ```typescript * // helper function inside the router * function provideRoutes(routes) { * return [ * {provide: ROUTES, useValue: routes}, * {provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: routes, multi: true} * ]; * } * * // user code * let routes = [ * {path: '/root', component: RootComp}, * {path: '/teams', component: TeamsComp} * ]; * * @NgModule({ * providers: [provideRoutes(routes)] * }) * class ModuleWithRoutes {} * ``` * * @publicApi * @deprecated Since 9.0.0. With Ivy, this property is no longer necessary. */ var ANALYZE_FOR_ENTRY_COMPONENTS = new InjectionToken('AnalyzeForEntryComponents'); /** * Base class for query metadata. * * @see `ContentChildren`. * @see `ContentChild`. * @see `ViewChildren`. * @see `ViewChild`. * * @publicApi */ var Query = /*#__PURE__*/Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(function Query() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, Query); }); var ɵ0$1 = function ɵ0$1(selector) { var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; return Object.assign({ selector: selector, first: false, isViewQuery: false, descendants: false }, data); }; /** * ContentChildren decorator and metadata. * * * @Annotation * @publicApi */ var ContentChildren = makePropDecorator('ContentChildren', ɵ0$1, Query); var ɵ1 = function ɵ1(selector) { var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; return Object.assign({ selector: selector, first: true, isViewQuery: false, descendants: true }, data); }; /** * ContentChild decorator and metadata. * * * @Annotation * * @publicApi */ var ContentChild = makePropDecorator('ContentChild', ɵ1, Query); var ɵ2 = function ɵ2(selector) { var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; return Object.assign({ selector: selector, first: false, isViewQuery: true, descendants: true }, data); }; /** * ViewChildren decorator and metadata. * * @Annotation * @publicApi */ var ViewChildren = makePropDecorator('ViewChildren', ɵ2, Query); var ɵ3 = function ɵ3(selector, data) { return Object.assign({ selector: selector, first: true, isViewQuery: true, descendants: true }, data); }; /** * ViewChild decorator and metadata. * * @Annotation * @publicApi */ var ViewChild = makePropDecorator('ViewChild', ɵ3, Query); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var R3ResolvedDependencyType; (function (R3ResolvedDependencyType) { R3ResolvedDependencyType[R3ResolvedDependencyType["Token"] = 0] = "Token"; R3ResolvedDependencyType[R3ResolvedDependencyType["Attribute"] = 1] = "Attribute"; R3ResolvedDependencyType[R3ResolvedDependencyType["ChangeDetectorRef"] = 2] = "ChangeDetectorRef"; R3ResolvedDependencyType[R3ResolvedDependencyType["Invalid"] = 3] = "Invalid"; })(R3ResolvedDependencyType || (R3ResolvedDependencyType = {})); var R3FactoryTarget; (function (R3FactoryTarget) { R3FactoryTarget[R3FactoryTarget["Directive"] = 0] = "Directive"; R3FactoryTarget[R3FactoryTarget["Component"] = 1] = "Component"; R3FactoryTarget[R3FactoryTarget["Injectable"] = 2] = "Injectable"; R3FactoryTarget[R3FactoryTarget["Pipe"] = 3] = "Pipe"; R3FactoryTarget[R3FactoryTarget["NgModule"] = 4] = "NgModule"; })(R3FactoryTarget || (R3FactoryTarget = {})); var ViewEncapsulation$1; (function (ViewEncapsulation) { ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated"; // Historically the 1 value was for `Native` encapsulation which has been removed as of v11. ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None"; ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom"; })(ViewEncapsulation$1 || (ViewEncapsulation$1 = {})); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function getCompilerFacade() { var globalNg = _global['ng']; if (!globalNg || !globalNg.ɵcompilerFacade) { throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n" + " - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n" + " - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n" + " - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping."); } return globalNg.ɵcompilerFacade; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @description * * Represents a type that a Component or other object is instances of. * * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is represented by * the `MyCustomComponent` constructor function. * * @publicApi */ var Type = Function; function isType(v) { return typeof v === 'function'; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Equivalent to ES6 spread, add each item to an array. * * @param items The items to add * @param arr The array to which you want to add the items */ function addAllToArray(items, arr) { for (var i = 0; i < items.length; i++) { arr.push(items[i]); } } /** * Flattens an array. */ function flatten(list, dst) { if (dst === undefined) dst = list; for (var i = 0; i < list.length; i++) { var item = list[i]; if (Array.isArray(item)) { // we need to inline it. if (dst === list) { // Our assumption that the list was already flat was wrong and // we need to clone flat since we need to write to it. dst = list.slice(0, i); } flatten(item, dst); } else if (dst !== list) { dst.push(item); } } return dst; } function deepForEach(input, fn) { input.forEach(function (value) { return Array.isArray(value) ? deepForEach(value, fn) : fn(value); }); } function addToArray(arr, index, value) { // perf: array.push is faster than array.splice! if (index >= arr.length) { arr.push(value); } else { arr.splice(index, 0, value); } } function removeFromArray(arr, index) { // perf: array.pop is faster than array.splice! if (index >= arr.length - 1) { return arr.pop(); } else { return arr.splice(index, 1)[0]; } } function newArray(size, value) { var list = []; for (var i = 0; i < size; i++) { list.push(value); } return list; } /** * Remove item from array (Same as `Array.splice()` but faster.) * * `Array.splice()` is not as fast because it has to allocate an array for the elements which were * removed. This causes memory pressure and slows down code when most of the time we don't * care about the deleted items array. * * https://jsperf.com/fast-array-splice (About 20x faster) * * @param array Array to splice * @param index Index of element in array to remove. * @param count Number of items to remove. */ function arraySplice(array, index, count) { var length = array.length - count; while (index < length) { array[index] = array[index + count]; index++; } while (count--) { array.pop(); // shrink the array } } /** * Same as `Array.splice(index, 0, value)` but faster. * * `Array.splice()` is not fast because it has to allocate an array for the elements which were * removed. This causes memory pressure and slows down code when most of the time we don't * care about the deleted items array. * * @param array Array to splice. * @param index Index in array where the `value` should be added. * @param value Value to add to array. */ function arrayInsert(array, index, value) { ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\'t insert past array end.'); var end = array.length; while (end > index) { var previousEnd = end - 1; array[end] = array[previousEnd]; end = previousEnd; } array[index] = value; } /** * Same as `Array.splice2(index, 0, value1, value2)` but faster. * * `Array.splice()` is not fast because it has to allocate an array for the elements which were * removed. This causes memory pressure and slows down code when most of the time we don't * care about the deleted items array. * * @param array Array to splice. * @param index Index in array where the `value` should be added. * @param value1 Value to add to array. * @param value2 Value to add to array. */ function arrayInsert2(array, index, value1, value2) { ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\'t insert past array end.'); var end = array.length; if (end == index) { // inserting at the end. array.push(value1, value2); } else if (end === 1) { // corner case when we have less items in array than we have items to insert. array.push(value2, array[0]); array[0] = value1; } else { end--; array.push(array[end - 1], array[end]); while (end > index) { var previousEnd = end - 2; array[end] = array[previousEnd]; end--; } array[index] = value1; array[index + 1] = value2; } } /** * Insert a `value` into an `array` so that the array remains sorted. * * NOTE: * - Duplicates are not allowed, and are ignored. * - This uses binary search algorithm for fast inserts. * * @param array A sorted array to insert into. * @param value The value to insert. * @returns index of the inserted value. */ function arrayInsertSorted(array, value) { var index = arrayIndexOfSorted(array, value); if (index < 0) { // if we did not find it insert it. index = ~index; arrayInsert(array, index, value); } return index; } /** * Remove `value` from a sorted `array`. * * NOTE: * - This uses binary search algorithm for fast removals. * * @param array A sorted array to remove from. * @param value The value to remove. * @returns index of the removed value. * - positive index if value found and removed. * - negative index if value not found. (`~index` to get the value where it should have been * inserted) */ function arrayRemoveSorted(array, value) { var index = arrayIndexOfSorted(array, value); if (index >= 0) { arraySplice(array, index, 1); } return index; } /** * Get an index of an `value` in a sorted `array`. * * NOTE: * - This uses binary search algorithm for fast removals. * * @param array A sorted array to binary search. * @param value The value to look for. * @returns index of the value. * - positive index if value found. * - negative index if value not found. (`~index` to get the value where it should have been * located) */ function arrayIndexOfSorted(array, value) { return _arrayIndexOfSorted(array, value, 0); } /** * Set a `value` for a `key`. * * @param keyValueArray to modify. * @param key The key to locate or create. * @param value The value to set for a `key`. * @returns index (always even) of where the value vas set. */ function keyValueArraySet(keyValueArray, key, value) { var index = keyValueArrayIndexOf(keyValueArray, key); if (index >= 0) { // if we found it set it. keyValueArray[index | 1] = value; } else { index = ~index; arrayInsert2(keyValueArray, index, key, value); } return index; } /** * Retrieve a `value` for a `key` (on `undefined` if not found.) * * @param keyValueArray to search. * @param key The key to locate. * @return The `value` stored at the `key` location or `undefined if not found. */ function keyValueArrayGet(keyValueArray, key) { var index = keyValueArrayIndexOf(keyValueArray, key); if (index >= 0) { // if we found it retrieve it. return keyValueArray[index | 1]; } return undefined; } /** * Retrieve a `key` index value in the array or `-1` if not found. * * @param keyValueArray to search. * @param key The key to locate. * @returns index of where the key is (or should have been.) * - positive (even) index if key found. * - negative index if key not found. (`~index` (even) to get the index where it should have * been inserted.) */ function keyValueArrayIndexOf(keyValueArray, key) { return _arrayIndexOfSorted(keyValueArray, key, 1); } /** * Delete a `key` (and `value`) from the `KeyValueArray`. * * @param keyValueArray to modify. * @param key The key to locate or delete (if exist). * @returns index of where the key was (or should have been.) * - positive (even) index if key found and deleted. * - negative index if key not found. (`~index` (even) to get the index where it should have * been.) */ function keyValueArrayDelete(keyValueArray, key) { var index = keyValueArrayIndexOf(keyValueArray, key); if (index >= 0) { // if we found it remove it. arraySplice(keyValueArray, index, 2); } return index; } /** * INTERNAL: Get an index of an `value` in a sorted `array` by grouping search by `shift`. * * NOTE: * - This uses binary search algorithm for fast removals. * * @param array A sorted array to binary search. * @param value The value to look for. * @param shift grouping shift. * - `0` means look at every location * - `1` means only look at every other (even) location (the odd locations are to be ignored as * they are values.) * @returns index of the value. * - positive index if value found. * - negative index if value not found. (`~index` to get the value where it should have been * inserted) */ function _arrayIndexOfSorted(array, value, shift) { ngDevMode && assertEqual(Array.isArray(array), true, 'Expecting an array'); var start = 0; var end = array.length >> shift; while (end !== start) { var middle = start + (end - start >> 1); // find the middle. var current = array[middle << shift]; if (value === current) { return middle << shift; } else if (current > value) { end = middle; } else { start = middle + 1; // We already searched middle so make it non-inclusive by adding 1 } } return ~(end << shift); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /* * ######################### * Attention: These Regular expressions have to hold even if the code is minified! * ########################## */ /** * Regular expression that detects pass-through constructors for ES5 output. This Regex * intends to capture the common delegation pattern emitted by TypeScript and Babel. Also * it intends to capture the pattern where existing constructors have been downleveled from * ES2015 to ES5 using TypeScript w/ downlevel iteration. e.g. * * ``` * function MyClass() { * var _this = _super.apply(this, arguments) || this; * ``` * * ``` * function MyClass() { * var _this = _super.apply(this, __spread(arguments)) || this; * ``` * * More details can be found in: https://github.com/angular/angular/issues/38453. */ var ES5_DELEGATE_CTOR = /^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|[^()]+\(arguments\))\)/; /** Regular expression that detects ES2015 classes which extend from other classes. */ var ES2015_INHERITED_CLASS = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/; /** * Regular expression that detects ES2015 classes which extend from other classes and * have an explicit constructor defined. */ var ES2015_INHERITED_CLASS_WITH_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/; /** * Regular expression that detects ES2015 classes which extend from other classes * and inherit a constructor. */ var ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/; /** * Determine whether a stringified type is a class which delegates its constructor * to its parent. * * This is not trivial since compiled code can actually contain a constructor function * even if the original source code did not. For instance, when the child class contains * an initialized instance property. */ function isDelegateCtor(typeStr) { return ES5_DELEGATE_CTOR.test(typeStr) || ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR.test(typeStr) || ES2015_INHERITED_CLASS.test(typeStr) && !ES2015_INHERITED_CLASS_WITH_CTOR.test(typeStr); } var ReflectionCapabilities = /*#__PURE__*/function () { function ReflectionCapabilities(reflect) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, ReflectionCapabilities); this._reflect = reflect || _global['Reflect']; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(ReflectionCapabilities, [{ key: "isReflectionEnabled", value: function isReflectionEnabled() { return true; } }, { key: "factory", value: function factory(t) { return function () { for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) { args[_key5] = arguments[_key5]; } return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_construct__WEBPACK_IMPORTED_MODULE_8__["default"])(t, args); }; } /** @internal */ }, { key: "_zipTypesAndAnnotations", value: function _zipTypesAndAnnotations(paramTypes, paramAnnotations) { var result; if (typeof paramTypes === 'undefined') { result = newArray(paramAnnotations.length); } else { result = newArray(paramTypes.length); } for (var i = 0; i < result.length; i++) { // TS outputs Object for parameters without types, while Traceur omits // the annotations. For now we preserve the Traceur behavior to aid // migration, but this can be revisited. if (typeof paramTypes === 'undefined') { result[i] = []; } else if (paramTypes[i] && paramTypes[i] != Object) { result[i] = [paramTypes[i]]; } else { result[i] = []; } if (paramAnnotations && paramAnnotations[i] != null) { result[i] = result[i].concat(paramAnnotations[i]); } } return result; } }, { key: "_ownParameters", value: function _ownParameters(type, parentCtor) { var typeStr = type.toString(); // If we have no decorators, we only have function.length as metadata. // In that case, to detect whether a child class declared an own constructor or not, // we need to look inside of that constructor to check whether it is // just calling the parent. // This also helps to work around for https://github.com/Microsoft/TypeScript/issues/12439 // that sets 'design:paramtypes' to [] // if a class inherits from another class but has no ctor declared itself. if (isDelegateCtor(typeStr)) { return null; } // Prefer the direct API. if (type.parameters && type.parameters !== parentCtor.parameters) { return type.parameters; } // API of tsickle for lowering decorators to properties on the class. var tsickleCtorParams = type.ctorParameters; if (tsickleCtorParams && tsickleCtorParams !== parentCtor.ctorParameters) { // Newer tsickle uses a function closure // Retain the non-function case for compatibility with older tsickle var ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams; var _paramTypes = ctorParameters.map(function (ctorParam) { return ctorParam && ctorParam.type; }); var _paramAnnotations = ctorParameters.map(function (ctorParam) { return ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators); }); return this._zipTypesAndAnnotations(_paramTypes, _paramAnnotations); } // API for metadata created by invoking the decorators. var paramAnnotations = type.hasOwnProperty(PARAMETERS) && type[PARAMETERS]; var paramTypes = this._reflect && this._reflect.getOwnMetadata && this._reflect.getOwnMetadata('design:paramtypes', type); if (paramTypes || paramAnnotations) { return this._zipTypesAndAnnotations(paramTypes, paramAnnotations); } // If a class has no decorators, at least create metadata // based on function.length. // Note: We know that this is a real constructor as we checked // the content of the constructor above. return newArray(type.length); } }, { key: "parameters", value: function parameters(type) { // Note: only report metadata if we have at least one class decorator // to stay in sync with the static reflector. if (!isType(type)) { return []; } var parentCtor = getParentCtor(type); var parameters = this._ownParameters(type, parentCtor); if (!parameters && parentCtor !== Object) { parameters = this.parameters(parentCtor); } return parameters || []; } }, { key: "_ownAnnotations", value: function _ownAnnotations(typeOrFunc, parentCtor) { // Prefer the direct API. if (typeOrFunc.annotations && typeOrFunc.annotations !== parentCtor.annotations) { var annotations = typeOrFunc.annotations; if (typeof annotations === 'function' && annotations.annotations) { annotations = annotations.annotations; } return annotations; } // API of tsickle for lowering decorators to properties on the class. if (typeOrFunc.decorators && typeOrFunc.decorators !== parentCtor.decorators) { return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators); } // API for metadata created by invoking the decorators. if (typeOrFunc.hasOwnProperty(ANNOTATIONS)) { return typeOrFunc[ANNOTATIONS]; } return null; } }, { key: "annotations", value: function annotations(typeOrFunc) { if (!isType(typeOrFunc)) { return []; } var parentCtor = getParentCtor(typeOrFunc); var ownAnnotations = this._ownAnnotations(typeOrFunc, parentCtor) || []; var parentAnnotations = parentCtor !== Object ? this.annotations(parentCtor) : []; return parentAnnotations.concat(ownAnnotations); } }, { key: "_ownPropMetadata", value: function _ownPropMetadata(typeOrFunc, parentCtor) { // Prefer the direct API. if (typeOrFunc.propMetadata && typeOrFunc.propMetadata !== parentCtor.propMetadata) { var propMetadata = typeOrFunc.propMetadata; if (typeof propMetadata === 'function' && propMetadata.propMetadata) { propMetadata = propMetadata.propMetadata; } return propMetadata; } // API of tsickle for lowering decorators to properties on the class. if (typeOrFunc.propDecorators && typeOrFunc.propDecorators !== parentCtor.propDecorators) { var propDecorators = typeOrFunc.propDecorators; var _propMetadata = {}; Object.keys(propDecorators).forEach(function (prop) { _propMetadata[prop] = convertTsickleDecoratorIntoMetadata(propDecorators[prop]); }); return _propMetadata; } // API for metadata created by invoking the decorators. if (typeOrFunc.hasOwnProperty(PROP_METADATA)) { return typeOrFunc[PROP_METADATA]; } return null; } }, { key: "propMetadata", value: function propMetadata(typeOrFunc) { if (!isType(typeOrFunc)) { return {}; } var parentCtor = getParentCtor(typeOrFunc); var propMetadata = {}; if (parentCtor !== Object) { var parentPropMetadata = this.propMetadata(parentCtor); Object.keys(parentPropMetadata).forEach(function (propName) { propMetadata[propName] = parentPropMetadata[propName]; }); } var ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor); if (ownPropMetadata) { Object.keys(ownPropMetadata).forEach(function (propName) { var decorators = []; if (propMetadata.hasOwnProperty(propName)) { decorators.push.apply(decorators, Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__["default"])(propMetadata[propName])); } decorators.push.apply(decorators, Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__["default"])(ownPropMetadata[propName])); propMetadata[propName] = decorators; }); } return propMetadata; } }, { key: "ownPropMetadata", value: function ownPropMetadata(typeOrFunc) { if (!isType(typeOrFunc)) { return {}; } return this._ownPropMetadata(typeOrFunc, getParentCtor(typeOrFunc)) || {}; } }, { key: "hasLifecycleHook", value: function hasLifecycleHook(type, lcProperty) { return type instanceof Type && lcProperty in type.prototype; } }, { key: "guards", value: function guards(type) { return {}; } }, { key: "getter", value: function getter(name) { return new Function('o', 'return o.' + name + ';'); } }, { key: "setter", value: function setter(name) { return new Function('o', 'v', 'return o.' + name + ' = v;'); } }, { key: "method", value: function method(name) { var functionBody = "if (!o.".concat(name, ") throw new Error('\"").concat(name, "\" is undefined');\n return o.").concat(name, ".apply(o, args);"); return new Function('o', 'args', functionBody); } // There is not a concept of import uri in Js, but this is useful in developing Dart applications. }, { key: "importUri", value: function importUri(type) { // StaticSymbol if (typeof type === 'object' && type['filePath']) { return type['filePath']; } // Runtime type return "./".concat(stringify(type)); } }, { key: "resourceUri", value: function resourceUri(type) { return "./".concat(stringify(type)); } }, { key: "resolveIdentifier", value: function resolveIdentifier(name, moduleUrl, members, runtime) { return runtime; } }, { key: "resolveEnum", value: function resolveEnum(enumIdentifier, name) { return enumIdentifier[name]; } }]); return ReflectionCapabilities; }(); function convertTsickleDecoratorIntoMetadata(decoratorInvocations) { if (!decoratorInvocations) { return []; } return decoratorInvocations.map(function (decoratorInvocation) { var decoratorType = decoratorInvocation.type; var annotationCls = decoratorType.annotationCls; var annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : []; return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_construct__WEBPACK_IMPORTED_MODULE_8__["default"])(annotationCls, Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__["default"])(annotationArgs)); }); } function getParentCtor(ctor) { var parentProto = ctor.prototype ? Object.getPrototypeOf(ctor.prototype) : null; var parentCtor = parentProto ? parentProto.constructor : null; // Note: We always use `Object` as the null value // to simplify checking later on. return parentCtor || Object; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var ɵ0$2 = function ɵ0$2(token) { return { token: token }; }; /** * Inject decorator and metadata. * * @Annotation * @publicApi */ var Inject = makeParamDecorator('Inject', ɵ0$2); /** * Optional decorator and metadata. * * @Annotation * @publicApi */ var Optional = makeParamDecorator('Optional'); /** * Self decorator and metadata. * * @Annotation * @publicApi */ var Self = makeParamDecorator('Self'); /** * `SkipSelf` decorator and metadata. * * @Annotation * @publicApi */ var SkipSelf = makeParamDecorator('SkipSelf'); /** * Host decorator and metadata. * * @Annotation * @publicApi */ var Host = makeParamDecorator('Host'); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var _reflect = null; function getReflect() { return _reflect = _reflect || new ReflectionCapabilities(); } function reflectDependencies(type) { return convertDependencies(getReflect().parameters(type)); } function convertDependencies(deps) { var compiler = getCompilerFacade(); return deps.map(function (dep) { return reflectDependency(compiler, dep); }); } function reflectDependency(compiler, dep) { var meta = { token: null, host: false, optional: false, resolved: compiler.R3ResolvedDependencyType.Token, self: false, skipSelf: false }; function setTokenAndResolvedType(token) { meta.resolved = compiler.R3ResolvedDependencyType.Token; meta.token = token; } if (Array.isArray(dep) && dep.length > 0) { for (var j = 0; j < dep.length; j++) { var param = dep[j]; if (param === undefined) { // param may be undefined if type of dep is not set by ngtsc continue; } var proto = Object.getPrototypeOf(param); if (param instanceof Optional || proto.ngMetadataName === 'Optional') { meta.optional = true; } else if (param instanceof SkipSelf || proto.ngMetadataName === 'SkipSelf') { meta.skipSelf = true; } else if (param instanceof Self || proto.ngMetadataName === 'Self') { meta.self = true; } else if (param instanceof Host || proto.ngMetadataName === 'Host') { meta.host = true; } else if (param instanceof Inject) { meta.token = param.token; } else if (param instanceof Attribute) { if (param.attributeName === undefined) { throw new Error("Attribute name must be defined."); } meta.token = param.attributeName; meta.resolved = compiler.R3ResolvedDependencyType.Attribute; } else if (param.__ChangeDetectorRef__ === true) { meta.token = param; meta.resolved = compiler.R3ResolvedDependencyType.ChangeDetectorRef; } else { setTokenAndResolvedType(param); } } } else if (dep === undefined || Array.isArray(dep) && dep.length === 0) { meta.token = undefined; meta.resolved = R3ResolvedDependencyType.Invalid; } else { setTokenAndResolvedType(dep); } return meta; } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Used to resolve resource URLs on `@Component` when used with JIT compilation. * * Example: * ``` * @Component({ * selector: 'my-comp', * templateUrl: 'my-comp.html', // This requires asynchronous resolution * }) * class MyComponent{ * } * * // Calling `renderComponent` will fail because `renderComponent` is a synchronous process * // and `MyComponent`'s `@Component.templateUrl` needs to be resolved asynchronously. * * // Calling `resolveComponentResources()` will resolve `@Component.templateUrl` into * // `@Component.template`, which allows `renderComponent` to proceed in a synchronous manner. * * // Use browser's `fetch()` function as the default resource resolution strategy. * resolveComponentResources(fetch).then(() => { * // After resolution all URLs have been converted into `template` strings. * renderComponent(MyComponent); * }); * * ``` * * NOTE: In AOT the resolution happens during compilation, and so there should be no need * to call this method outside JIT mode. * * @param resourceResolver a function which is responsible for returning a `Promise` to the * contents of the resolved URL. Browser's `fetch()` method is a good default implementation. */ function resolveComponentResources(resourceResolver) { // Store all promises which are fetching the resources. var componentResolved = []; // Cache so that we don't fetch the same resource more than once. var urlMap = new Map(); function cachedResourceResolve(url) { var promise = urlMap.get(url); if (!promise) { var resp = resourceResolver(url); urlMap.set(url, promise = resp.then(unwrapResponse)); } return promise; } componentResourceResolutionQueue.forEach(function (component, type) { var promises = []; if (component.templateUrl) { promises.push(cachedResourceResolve(component.templateUrl).then(function (template) { component.template = template; })); } var styleUrls = component.styleUrls; var styles = component.styles || (component.styles = []); var styleOffset = component.styles.length; styleUrls && styleUrls.forEach(function (styleUrl, index) { styles.push(''); // pre-allocate array. promises.push(cachedResourceResolve(styleUrl).then(function (style) { styles[styleOffset + index] = style; styleUrls.splice(styleUrls.indexOf(styleUrl), 1); if (styleUrls.length == 0) { component.styleUrls = undefined; } })); }); var fullyResolved = Promise.all(promises).then(function () { return componentDefResolved(type); }); componentResolved.push(fullyResolved); }); clearResolutionOfComponentResourcesQueue(); return Promise.all(componentResolved).then(function () { return undefined; }); } var componentResourceResolutionQueue = new Map(); // Track when existing ɵcmp for a Type is waiting on resources. var componentDefPendingResolution = new Set(); function maybeQueueResolutionOfComponentResources(type, metadata) { if (componentNeedsResolution(metadata)) { componentResourceResolutionQueue.set(type, metadata); componentDefPendingResolution.add(type); } } function isComponentDefPendingResolution(type) { return componentDefPendingResolution.has(type); } function componentNeedsResolution(component) { return !!(component.templateUrl && !component.hasOwnProperty('template') || component.styleUrls && component.styleUrls.length); } function clearResolutionOfComponentResourcesQueue() { var old = componentResourceResolutionQueue; componentResourceResolutionQueue = new Map(); return old; } function restoreComponentResolutionQueue(queue) { componentDefPendingResolution.clear(); queue.forEach(function (_, type) { return componentDefPendingResolution.add(type); }); componentResourceResolutionQueue = queue; } function isComponentResourceResolutionQueueEmpty() { return componentResourceResolutionQueue.size === 0; } function unwrapResponse(response) { return typeof response == 'string' ? response : response.text(); } function componentDefResolved(type) { componentDefPendingResolution.delete(type); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var _THROW_IF_NOT_FOUND = {}; var THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND; var NG_TEMP_TOKEN_PATH = 'ngTempTokenPath'; var NG_TOKEN_PATH = 'ngTokenPath'; var NEW_LINE = /\n/gm; var NO_NEW_LINE = 'ɵ'; var SOURCE = '__source'; var ɵ0$3 = getClosureSafeProperty; var USE_VALUE = getClosureSafeProperty({ provide: String, useValue: ɵ0$3 }); /** * Current injector value used by `inject`. * - `undefined`: it is an error to call `inject` * - `null`: `inject` can be called but there is no injector (limp-mode). * - Injector instance: Use the injector for resolution. */ var _currentInjector = undefined; function setCurrentInjector(injector) { var former = _currentInjector; _currentInjector = injector; return former; } function injectInjectorOnly(token) { var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : InjectFlags.Default; if (_currentInjector === undefined) { throw new Error("inject() must be called from an injection context"); } else if (_currentInjector === null) { return injectRootLimpMode(token, undefined, flags); } else { return _currentInjector.get(token, flags & InjectFlags.Optional ? null : undefined, flags); } } function ɵɵinject(token) { var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : InjectFlags.Default; return (getInjectImplementation() || injectInjectorOnly)(resolveForwardRef(token), flags); } /** * Throws an error indicating that a factory function could not be generated by the compiler for a * particular class. * * This instruction allows the actual error message to be optimized away when ngDevMode is turned * off, saving bytes of generated code while still providing a good experience in dev mode. * * The name of the class is not mentioned here, but will be in the generated factory function name * and thus in the stack trace. * * @codeGenApi */ function ɵɵinvalidFactoryDep(index) { var msg = ngDevMode ? "This constructor is not compatible with Angular Dependency Injection because its dependency at index ".concat(index, " of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ").concat(index, " is correct and 2) the correct Angular decorators are defined for this class and its ancestors.") : 'invalid'; throw new Error(msg); } /** * Injects a token from the currently active injector. * * Must be used in the context of a factory function such as one defined for an * `InjectionToken`. Throws an error if not called from such a context. * * Within such a factory function, using this function to request injection of a dependency * is faster and more type-safe than providing an additional array of dependencies * (as has been common with `useFactory` providers). * * @param token The injection token for the dependency to be injected. * @param flags Optional flags that control how injection is executed. * The flags correspond to injection strategies that can be specified with * parameter decorators `@Host`, `@Self`, `@SkipSef`, and `@Optional`. * @returns True if injection is successful, null otherwise. * * @usageNotes * * ### Example * * {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'} * * @publicApi */ var inject = ɵɵinject; function injectArgs(types) { var args = []; for (var i = 0; i < types.length; i++) { var arg = resolveForwardRef(types[i]); if (Array.isArray(arg)) { if (arg.length === 0) { throw new Error('Arguments array must have arguments.'); } var type = undefined; var flags = InjectFlags.Default; for (var j = 0; j < arg.length; j++) { var meta = arg[j]; if (meta instanceof Optional || meta.ngMetadataName === 'Optional' || meta === Optional) { flags |= InjectFlags.Optional; } else if (meta instanceof SkipSelf || meta.ngMetadataName === 'SkipSelf' || meta === SkipSelf) { flags |= InjectFlags.SkipSelf; } else if (meta instanceof Self || meta.ngMetadataName === 'Self' || meta === Self) { flags |= InjectFlags.Self; } else if (meta instanceof Host || meta.ngMetadataName === 'Host' || meta === Host) { flags |= InjectFlags.Host; } else if (meta instanceof Inject || meta === Inject) { type = meta.token; } else { type = meta; } } args.push(ɵɵinject(type, flags)); } else { args.push(ɵɵinject(arg)); } } return args; } function catchInjectorError(e, token, injectorErrorName, source) { var tokenPath = e[NG_TEMP_TOKEN_PATH]; if (token[SOURCE]) { tokenPath.unshift(token[SOURCE]); } e.message = formatError('\n' + e.message, tokenPath, injectorErrorName, source); e[NG_TOKEN_PATH] = tokenPath; e[NG_TEMP_TOKEN_PATH] = null; throw e; } function formatError(text, obj, injectorErrorName) { var source = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null; text = text && text.charAt(0) === '\n' && text.charAt(1) == NO_NEW_LINE ? text.substr(2) : text; var context = stringify(obj); if (Array.isArray(obj)) { context = obj.map(stringify).join(' -> '); } else if (typeof obj === 'object') { var parts = []; for (var key in obj) { if (obj.hasOwnProperty(key)) { var value = obj[key]; parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value))); } } context = "{".concat(parts.join(', '), "}"); } return "".concat(injectorErrorName).concat(source ? '(' + source + ')' : '', "[").concat(context, "]: ").concat(text.replace(NEW_LINE, '\n ')); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * The Trusted Types policy, or null if Trusted Types are not * enabled/supported, or undefined if the policy has not been created yet. */ var policy; /** * Returns the Trusted Types policy, or null if Trusted Types are not * enabled/supported. The first call to this function will create the policy. */ function getPolicy() { if (policy === undefined) { policy = null; if (_global.trustedTypes) { try { policy = _global.trustedTypes.createPolicy('angular', { createHTML: function createHTML(s) { return s; }, createScript: function createScript(s) { return s; }, createScriptURL: function createScriptURL(s) { return s; } }); } catch (_a) {// trustedTypes.createPolicy throws if called with a name that is // already registered, even in report-only mode. Until the API changes, // catch the error not to break the applications functionally. In such // cases, the code will fall back to using strings. } } } return policy; } /** * Unsafely promote a string to a TrustedHTML, falling back to strings when * Trusted Types are not available. * @security This is a security-sensitive function; any use of this function * must go through security review. In particular, it must be assured that the * provided string will never cause an XSS vulnerability if used in a context * that will be interpreted as HTML by a browser, e.g. when assigning to * element.innerHTML. */ function trustedHTMLFromString(html) { var _a; return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createHTML(html)) || html; } /** * Unsafely promote a string to a TrustedScript, falling back to strings when * Trusted Types are not available. * @security In particular, it must be assured that the provided string will * never cause an XSS vulnerability if used in a context that will be * interpreted and executed as a script by a browser, e.g. when calling eval. */ function trustedScriptFromString(script) { var _a; return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScript(script)) || script; } /** * Unsafely promote a string to a TrustedScriptURL, falling back to strings * when Trusted Types are not available. * @security This is a security-sensitive function; any use of this function * must go through security review. In particular, it must be assured that the * provided string will never cause an XSS vulnerability if used in a context * that will cause a browser to load and execute a resource, e.g. when * assigning to script.src. */ function trustedScriptURLFromString(url) { var _a; return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScriptURL(url)) || url; } /** * Unsafely call the Function constructor with the given string arguments. It * is only available in development mode, and should be stripped out of * production code. * @security This is a security-sensitive function; any use of this function * must go through security review. In particular, it must be assured that it * is only called from development code, as use in production code can lead to * XSS vulnerabilities. */ function newTrustedFunctionForDev() { if (typeof ngDevMode === 'undefined') { throw new Error('newTrustedFunctionForDev should never be called in production'); } for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) { args[_key6] = arguments[_key6]; } if (!_global.trustedTypes) { // In environments that don't support Trusted Types, fall back to the most // straightforward implementation: return Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_construct__WEBPACK_IMPORTED_MODULE_8__["default"])(Function, args); } // Chrome currently does not support passing TrustedScript to the Function // constructor. The following implements the workaround proposed on the page // below, where the Chromium bug is also referenced: // https://github.com/w3c/webappsec-trusted-types/wiki/Trusted-Types-for-function-constructor var fnArgs = args.slice(0, -1).join(','); var fnBody = args.pop().toString(); var body = "(function anonymous(".concat(fnArgs, "\n) { ").concat(fnBody, "\n})"); // Using eval directly confuses the compiler and prevents this module from // being stripped out of JS binaries even if not used. The global['eval'] // indirection fixes that. var fn = _global['eval'](trustedScriptFromString(body)); // To completely mimic the behavior of calling "new Function", two more // things need to happen: // 1. Stringifying the resulting function should return its source code fn.toString = function () { return body; }; // 2. When calling the resulting function, `this` should refer to `global` return fn.bind(_global); // When Trusted Types support in Function constructors is widely available, // the implementation of this function can be simplified to: // return new Function(...args.map(a => trustedScriptFromString(a))); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var SafeValueImpl = /*#__PURE__*/function () { function SafeValueImpl(changingThisBreaksApplicationSecurity) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, SafeValueImpl); this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(SafeValueImpl, [{ key: "toString", value: function toString() { return "SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity) + " (see https://g.co/ng/security#xss)"; } }]); return SafeValueImpl; }(); var SafeHtmlImpl = /*#__PURE__*/function (_SafeValueImpl) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_11__["default"])(SafeHtmlImpl, _SafeValueImpl); var _super2 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_12__["default"])(SafeHtmlImpl); function SafeHtmlImpl() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, SafeHtmlImpl); return _super2.apply(this, arguments); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(SafeHtmlImpl, [{ key: "getTypeName", value: function getTypeName() { return "HTML" /* Html */ ; } }]); return SafeHtmlImpl; }(SafeValueImpl); var SafeStyleImpl = /*#__PURE__*/function (_SafeValueImpl2) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_11__["default"])(SafeStyleImpl, _SafeValueImpl2); var _super3 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_12__["default"])(SafeStyleImpl); function SafeStyleImpl() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, SafeStyleImpl); return _super3.apply(this, arguments); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(SafeStyleImpl, [{ key: "getTypeName", value: function getTypeName() { return "Style" /* Style */ ; } }]); return SafeStyleImpl; }(SafeValueImpl); var SafeScriptImpl = /*#__PURE__*/function (_SafeValueImpl3) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_11__["default"])(SafeScriptImpl, _SafeValueImpl3); var _super4 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_12__["default"])(SafeScriptImpl); function SafeScriptImpl() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, SafeScriptImpl); return _super4.apply(this, arguments); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(SafeScriptImpl, [{ key: "getTypeName", value: function getTypeName() { return "Script" /* Script */ ; } }]); return SafeScriptImpl; }(SafeValueImpl); var SafeUrlImpl = /*#__PURE__*/function (_SafeValueImpl4) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_11__["default"])(SafeUrlImpl, _SafeValueImpl4); var _super5 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_12__["default"])(SafeUrlImpl); function SafeUrlImpl() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, SafeUrlImpl); return _super5.apply(this, arguments); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(SafeUrlImpl, [{ key: "getTypeName", value: function getTypeName() { return "URL" /* Url */ ; } }]); return SafeUrlImpl; }(SafeValueImpl); var SafeResourceUrlImpl = /*#__PURE__*/function (_SafeValueImpl5) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_11__["default"])(SafeResourceUrlImpl, _SafeValueImpl5); var _super6 = Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_12__["default"])(SafeResourceUrlImpl); function SafeResourceUrlImpl() { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, SafeResourceUrlImpl); return _super6.apply(this, arguments); } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(SafeResourceUrlImpl, [{ key: "getTypeName", value: function getTypeName() { return "ResourceURL" /* ResourceUrl */ ; } }]); return SafeResourceUrlImpl; }(SafeValueImpl); function unwrapSafeValue(value) { return value instanceof SafeValueImpl ? value.changingThisBreaksApplicationSecurity : value; } function allowSanitizationBypassAndThrow(value, type) { var actualType = getSanitizationBypassType(value); if (actualType != null && actualType !== type) { // Allow ResourceURLs in URL contexts, they are strictly more trusted. if (actualType === "ResourceURL" /* ResourceUrl */ && type === "URL" /* Url */ ) return true; throw new Error("Required a safe ".concat(type, ", got a ").concat(actualType, " (see https://g.co/ng/security#xss)")); } return actualType === type; } function getSanitizationBypassType(value) { return value instanceof SafeValueImpl && value.getTypeName() || null; } /** * Mark `html` string as trusted. * * This function wraps the trusted string in `String` and brands it in a way which makes it * recognizable to {@link htmlSanitizer} to be trusted implicitly. * * @param trustedHtml `html` string which needs to be implicitly trusted. * @returns a `html` which has been branded to be implicitly trusted. */ function bypassSanitizationTrustHtml(trustedHtml) { return new SafeHtmlImpl(trustedHtml); } /** * Mark `style` string as trusted. * * This function wraps the trusted string in `String` and brands it in a way which makes it * recognizable to {@link styleSanitizer} to be trusted implicitly. * * @param trustedStyle `style` string which needs to be implicitly trusted. * @returns a `style` hich has been branded to be implicitly trusted. */ function bypassSanitizationTrustStyle(trustedStyle) { return new SafeStyleImpl(trustedStyle); } /** * Mark `script` string as trusted. * * This function wraps the trusted string in `String` and brands it in a way which makes it * recognizable to {@link scriptSanitizer} to be trusted implicitly. * * @param trustedScript `script` string which needs to be implicitly trusted. * @returns a `script` which has been branded to be implicitly trusted. */ function bypassSanitizationTrustScript(trustedScript) { return new SafeScriptImpl(trustedScript); } /** * Mark `url` string as trusted. * * This function wraps the trusted string in `String` and brands it in a way which makes it * recognizable to {@link urlSanitizer} to be trusted implicitly. * * @param trustedUrl `url` string which needs to be implicitly trusted. * @returns a `url` which has been branded to be implicitly trusted. */ function bypassSanitizationTrustUrl(trustedUrl) { return new SafeUrlImpl(trustedUrl); } /** * Mark `url` string as trusted. * * This function wraps the trusted string in `String` and brands it in a way which makes it * recognizable to {@link resourceUrlSanitizer} to be trusted implicitly. * * @param trustedResourceUrl `url` string which needs to be implicitly trusted. * @returns a `url` which has been branded to be implicitly trusted. */ function bypassSanitizationTrustResourceUrl(trustedResourceUrl) { return new SafeResourceUrlImpl(trustedResourceUrl); } /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * This helper is used to get hold of an inert tree of DOM elements containing dirty HTML * that needs sanitizing. * Depending upon browser support we use one of two strategies for doing this. * Default: DOMParser strategy * Fallback: InertDocument strategy */ function getInertBodyHelper(defaultDoc) { var inertDocumentHelper = new InertDocumentHelper(defaultDoc); return isDOMParserAvailable() ? new DOMParserHelper(inertDocumentHelper) : inertDocumentHelper; } /** * Uses DOMParser to create and fill an inert body element. * This is the default strategy used in browsers that support it. */ var DOMParserHelper = /*#__PURE__*/function () { function DOMParserHelper(inertDocumentHelper) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, DOMParserHelper); this.inertDocumentHelper = inertDocumentHelper; } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(DOMParserHelper, [{ key: "getInertBodyElement", value: function getInertBodyElement(html) { // We add these extra elements to ensure that the rest of the content is parsed as expected // e.g. leading whitespace is maintained and tags like `` do not get hoisted to the // `` tag. Note that the `` tag is closed implicitly to prevent unclosed tags // in `html` from consuming the otherwise explicit `` tag. html = '' + html; try { var body = new window.DOMParser().parseFromString(trustedHTMLFromString(html), 'text/html').body; if (body === null) { // In some browsers (e.g. Mozilla/5.0 iPad AppleWebKit Mobile) the `body` property only // becomes available in the following tick of the JS engine. In that case we fall back to // the `inertDocumentHelper` instead. return this.inertDocumentHelper.getInertBodyElement(html); } body.removeChild(body.firstChild); return body; } catch (_a) { return null; } } }]); return DOMParserHelper; }(); /** * Use an HTML5 `template` element, if supported, or an inert body element created via * `createHtmlDocument` to create and fill an inert DOM element. * This is the fallback strategy if the browser does not support DOMParser. */ var InertDocumentHelper = /*#__PURE__*/function () { function InertDocumentHelper(defaultDoc) { Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_10__["default"])(this, InertDocumentHelper); this.defaultDoc = defaultDoc; this.inertDocument = this.defaultDoc.implementation.createHTMLDocument('sanitization-inert'); if (this.inertDocument.body == null) { // usually there should be only one body element in the document, but IE doesn't have any, so // we need to create one. var inertHtml = this.inertDocument.createElement('html'); this.inertDocument.appendChild(inertHtml); var inertBodyElement = this.inertDocument.createElement('body'); inertHtml.appendChild(inertBodyElement); } } Object(E_source_repos_mortgage_tech_src_EncompassLoConnect_r51_customtool_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_9__["default"])(InertDocumentHelper, [{ key: "getInertBodyElement", value: function getInertBodyElement(html) { // Prefer using